Skip to content

Commit

Permalink
fix(LoadUnit): s3_mmio_req use RegNext instead of RegEnable
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4e committed Jan 7, 2025
1 parent 8dd642f commit 4bb61ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/mem/pipeline/LoadUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ class LoadUnit(implicit p: Parameters) extends XSModule
val s3_vec_alignedType = RegEnable(s2_out.alignedType, s2_fire)
val s3_vec_mBIndex = RegEnable(s2_out.mbIndex, s2_fire)
val s3_frm_mabuf = s3_in.isFrmMisAlignBuf
val s3_mmio_req = RegEnable(s2_mmio_req, s2_mmio_req.valid)
val s3_mmio_req = RegNext(s2_mmio_req)
val s3_pdest = RegEnable(Mux(s2_valid, s2_out.uop.pdest, s2_mmio_req.bits.uop.pdest), s2_fire)
val s3_data_select = RegEnable(s2_data_select, 0.U(s2_data_select.getWidth.W), s2_fire)
val s3_data_select_by_offset = RegEnable(s2_data_select_by_offset, 0.U.asTypeOf(s2_data_select_by_offset), s2_fire)
Expand Down

0 comments on commit 4bb61ab

Please sign in to comment.