Fix Bmb datacache bridge
This commit is contained in:
parent
f6f94ad7c1
commit
206c7ca638
|
@ -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.opcode := (cmd.wr ? B(Bmb.Cmd.Opcode.WRITE) | B(Bmb.Cmd.Opcode.READ))
|
||||||
bus.cmd.address := cmd.address.resized
|
bus.cmd.address := cmd.address.resized
|
||||||
bus.cmd.data := cmd.data
|
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
|
bus.cmd.mask := cmd.mask
|
||||||
|
|
||||||
cmd.ready := bus.cmd.ready
|
cmd.ready := bus.cmd.ready
|
||||||
|
|
Loading…
Reference in New Issue