1
0
Fork 0

fix I$ miss replay bug

This commit is contained in:
Andrew Waterman 2012-01-21 20:42:13 -08:00
parent 31c56228e2
commit d59bddfbf1
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ class rocketCtrl extends Component
io.dpath.wen_btb := !ex_btb_match && br_jr_taken;
io.dpath.clr_btb := ex_reg_btb_hit && !br_jr_taken || id_reg_icmiss;
io.imem.req_val := take_pc_wb || !mem_reg_replay && !ex_reg_replay && (take_pc_ex || !id_reg_icmiss)
io.imem.req_val := take_pc_wb || !mem_reg_replay && !ex_reg_replay && (take_pc_ex || !id_reg_replay)
// stall for RAW/WAW hazards on loads, AMOs, and mul/div in execute stage.
val ex_mem_cmd_load =