Skip to content

Commit

Permalink
[rtl] Narrow writes require a real address.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li authored and FanShupei committed Nov 26, 2024
1 parent 336d0ad commit 03ba384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/lsu/SimpleAccessUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ class SimpleAccessUnit(param: MSHRParam) extends Module with LSUPublic {
memReadRequest.valid := s1Valid && sourceFree && !lsuRequestReg.instructionInformation.isStore

memWriteRequest.valid := s1Valid && sourceFree && lsuRequestReg.instructionInformation.isStore
memWriteRequest.bits.address := (s1Reg.address >> addressOffSetForDataPath) << addressOffSetForDataPath
memWriteRequest.bits.address := s1Reg.address
memWriteRequest.bits.size := dataEEW
memWriteRequest.bits.data := storeData
memWriteRequest.bits.mask := storeMask
Expand Down

0 comments on commit 03ba384

Please sign in to comment.