Fix a couple errors due to changes somehow merged over from the rich_predicted_state branch.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user