diff --git a/src/main/scala/xiangshan/mem/pipeline/StoreUnit.scala b/src/main/scala/xiangshan/mem/pipeline/StoreUnit.scala index c866dcefbf..53b25e66fc 100644 --- a/src/main/scala/xiangshan/mem/pipeline/StoreUnit.scala +++ b/src/main/scala/xiangshan/mem/pipeline/StoreUnit.scala @@ -125,7 +125,7 @@ class StoreUnit(implicit p: Parameters) extends XSModule val s0_mBIndex = s0_vecstin.mBIndex // generate addr - val s0_saddr = s0_stin.src(0) + SignExt(s0_uop.imm(11,0), VAddrBits) + val s0_saddr = s0_stin.src(0) + SignExt(s0_stin.uop.imm(11,0), VAddrBits) val s0_vaddr = Mux( s0_use_flow_ma, io.misalign_stin.bits.vaddr,