litex smp cluster now use OO decoder

This commit is contained in:
Dolu1990 2020-05-02 23:44:58 +02:00
parent f0745eb0d9
commit 93b386e16e
1 changed files with 8 additions and 9 deletions

View File

@ -274,19 +274,18 @@ case class VexRiscvLitexSmpCluster(p : VexRiscvLitexSmpClusterParameter,
cluster.io.timerInterrupts <> B(clint.harts.map(_.timerInterrupt)) cluster.io.timerInterrupts <> B(clint.harts.map(_.timerInterrupt))
cluster.io.softwareInterrupts <> B(clint.harts.map(_.softwareInterrupt)) cluster.io.softwareInterrupts <> B(clint.harts.map(_.softwareInterrupt))
//TODO val dBusDecoder = BmbDecoderOutOfOrder(
// val dBusDecoder = BmbDecoderOutOfOrder(
// p = cluster.io.dMem.p,
// mappings = Seq(DefaultMapping, p.liteDramMapping),
// capabilities = Seq(cluster.io.dMem.p, cluster.io.dMem.p),
// pendingRspTransactionMax = 32
// )
val dBusDecoder = BmbDecoder(
p = cluster.io.dMem.p, p = cluster.io.dMem.p,
mappings = Seq(DefaultMapping, p.liteDramMapping), mappings = Seq(DefaultMapping, p.liteDramMapping),
capabilities = Seq(cluster.io.dMem.p, cluster.io.dMem.p), capabilities = Seq(cluster.io.dMem.p, cluster.io.dMem.p),
pendingMax = 31 pendingRspTransactionMax = 32
) )
// val dBusDecoder = BmbDecoderOut(
// p = cluster.io.dMem.p,
// mappings = Seq(DefaultMapping, p.liteDramMapping),
// capabilities = Seq(cluster.io.dMem.p, cluster.io.dMem.p),
// pendingMax = 31
// )
dBusDecoder.io.input << cluster.io.dMem.pipelined(cmdValid = true, cmdReady = true, rspValid = true) dBusDecoder.io.input << cluster.io.dMem.pipelined(cmdValid = true, cmdReady = true, rspValid = true)
val dMemBridge = io.dMem.fromBmb(dBusDecoder.io.outputs(1), wdataFifoSize = 32, rdataFifoSize = 32) val dMemBridge = io.dMem.fromBmb(dBusDecoder.io.outputs(1), wdataFifoSize = 32, rdataFifoSize = 32)