mirror of
https://github.com/SpinalHDL/VexRiscv.git
synced 2025-04-24 05:57:07 -04:00
Fix Bmb datacache bridge
This commit is contained in:
parent
f6f94ad7c1
commit
206c7ca638
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ case class DataCacheMemBus(p : DataCacheConfig) extends Bundle with IMasterSlave
|
|||
bus.cmd.opcode := (cmd.wr ? B(Bmb.Cmd.Opcode.WRITE) | B(Bmb.Cmd.Opcode.READ))
|
||||
bus.cmd.address := cmd.address.resized
|
||||
bus.cmd.data := cmd.data
|
||||
bus.cmd.length := cmd.length << 2 //TODO better sub word access
|
||||
bus.cmd.length := (cmd.length << 2) | 3 //TODO better sub word access
|
||||
bus.cmd.mask := cmd.mask
|
||||
|
||||
cmd.ready := bus.cmd.ready
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue