From a27ce03951b028f204767ed389a0e8305108c6e2 Mon Sep 17 00:00:00 2001 From: qinjun-li Date: Mon, 3 Jun 2024 11:00:44 +0800 Subject: [PATCH] [rtl] The index unit needs to give feedback to the last set of offsets. --- t1/src/lsu/LSU.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t1/src/lsu/LSU.scala b/t1/src/lsu/LSU.scala index 62b36e8d43..722a0456eb 100644 --- a/t1/src/lsu/LSU.scala +++ b/t1/src/lsu/LSU.scala @@ -450,7 +450,8 @@ class LSU(param: LSUParameter) extends Module { lsuMaskGroupChange := unitVec.map( m => Mux(m.status.changeMaskGroup, indexToOH(m.status.instructionIndex, param.chainingSize), 0.U) ).reduce(_ | _) - lsuOffsetRequest := otherUnit.status.offsetGroupEnd + lsuOffsetRequest := otherUnit.status.offsetGroupEnd | otherUnit.status.last | + (otherUnit.status.idle && offsetReadResult.map(_.valid).reduce(_ | _)) loadUnit.writeReadyForLsu := writeReadyForLsu storeUnit.vrfReadyToStore := vrfReadyToStore