Fix a couple errors due to changes somehow merged over from the rich_predicted_state branch.

This commit is contained in:
Jonathan Woodruff
2020-11-09 11:14:11 +00:00
parent 69c697daf7
commit 0289bfe17d
2 changed files with 2 additions and 2 deletions

View File

@@ -1319,7 +1319,7 @@ module mkCore#(CoreId coreId)(Core);
l2Tlb.updateVMInfo(vmI, vmD);
let startpc = csrf.dpc_read;
fetchStage.redirect (PredState{pc: cast(startpc)});
fetchStage.redirect (cast(startpc));
renameStage.debug_resume;
commitStage.debug_resume;

View File

@@ -747,7 +747,7 @@ module mkCommitStage#(CommitInput inIfc)(CommitStage);
? 4
: 1));
csrf.dcsr_cause_write (dcsr_cause);
csrf.dpc_write (cast(trap.ps.pc));
csrf.dpc_write (cast(trap.pc));
// Tell fetch stage to wait for redirect
// Note: rule doCommitTrap_flush may have done this already; redundant call is ok.