File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/scala/xiangshan/frontend Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -666,11 +666,10 @@ class NewIFU(implicit p: Parameters) extends XSModule
666666 checkFlushWb.bits.jalTarget := wb_check_result.fixedTarget(ParallelPriorityEncoder (VecInit (wb_pd.zip(wb_instr_valid).map{case (pd, v) => v && pd.isJal })))
667667 checkFlushWb.bits.instrRange := wb_instr_range.asTypeOf(Vec (PredictWidth , Bool ()))
668668
669- toFtq.pdWb := Mux (f3_req_is_mmio, mmioFlushWb , checkFlushWb )
669+ toFtq.pdWb := Mux (wb_valid, checkFlushWb , mmioFlushWb )
670670
671671 wb_redirect := checkFlushWb.bits.misOffset.valid && wb_valid
672672
673-
674673 /* write back flush type*/
675674 val checkFaultType = wb_check_result.faultType
676675 val checkJalFault = wb_valid && checkFaultType.map(_.isjalFault).reduce(_|| _)
You can’t perform that action at this time.
0 commit comments