Skip to content

Commit

Permalink
area(StoreUnit): source from StoreMisalignBuffer don't need store uop…
Browse files Browse the repository at this point in the history
….imm(32bits), because can use vaddr directly
  • Loading branch information
jin120811 committed Sep 18, 2024
1 parent d334441 commit c70c89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/mem/pipeline/StoreUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c70c89a

Please sign in to comment.