diff --git a/src/main/scala/xiangshan/mem/pipeline/LoadUnit.scala b/src/main/scala/xiangshan/mem/pipeline/LoadUnit.scala index 10105f04a027d77fe9f6ee87a13e8db3de51895a..1d4e47cff675b3bee2de12015aa8f3637a0a1918 100644 --- a/src/main/scala/xiangshan/mem/pipeline/LoadUnit.scala +++ b/src/main/scala/xiangshan/mem/pipeline/LoadUnit.scala @@ -584,9 +584,9 @@ class LoadUnit(implicit p: Parameters) extends XSModule with HasLoadHelper with // If replay is reported at load_s1, inst will be canceled (will not enter load_s2), // in that case: // * replay should not be reported twice - assert(!(RegNext(RegNext(io.feedbackFast.valid)) && io.feedbackSlow.valid)) + assert(!(RegNext(io.feedbackFast.valid) && io.feedbackSlow.valid)) // * io.fastUop.valid should not be reported - assert(!RegNext(io.feedbackFast.valid && io.fastUop.valid)) + assert(!RegNext(io.feedbackFast.valid && RegNext(io.fastUop.valid))) // pre-calcuate sqIdx mask in s0, then send it to lsq in s1 for forwarding val sqIdxMaskReg = RegNext(UIntToMask(load_s0.io.in.bits.uop.sqIdx.value, StoreQueueSize))