Fix InstructionCache Bmb bridge

This commit is contained in:
Charles Papon 2019-05-22 19:03:26 +02:00
parent 9b49638654
commit f6f94ad7c1
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ case class InstructionCacheMemBus(p : InstructionCacheConfig) extends Bundle wit
bus.cmd.arbitrationFrom(cmd)
bus.cmd.opcode := Bmb.Cmd.Opcode.READ
bus.cmd.address := cmd.address.resized
bus.cmd.length := (1 << p.bytePerLine) - 1
bus.cmd.length := p.bytePerLine - 1
bus.cmd.last := True
rsp.valid := bus.rsp.valid
rsp.data := bus.rsp.data