Litex cluster add DMA sel feature
This commit is contained in:
parent
15bda15bc9
commit
cc423cbe49
|
@ -38,8 +38,9 @@ class VexRiscvLitexSmpCluster(p : VexRiscvLitexSmpClusterParameter) extends VexR
|
||||||
val dataWidth = p.cluster.cpuConfigs.head.find(classOf[DBusCachedPlugin]).get.config.memDataWidth
|
val dataWidth = p.cluster.cpuConfigs.head.find(classOf[DBusCachedPlugin]).get.config.memDataWidth
|
||||||
bridge.config.load(WishboneConfig(
|
bridge.config.load(WishboneConfig(
|
||||||
addressWidth = 32 - log2Up(dataWidth / 8),
|
addressWidth = 32 - log2Up(dataWidth / 8),
|
||||||
dataWidth = p.cluster.cpuConfigs.head.find(classOf[DBusCachedPlugin]).get.config.memDataWidth,
|
dataWidth = dataWidth,
|
||||||
useSTALL = true
|
useSTALL = true,
|
||||||
|
selWidth = dataWidth/8
|
||||||
))
|
))
|
||||||
interconnect.addConnection(bridge.bmb, dBusCoherent.bmb)
|
interconnect.addConnection(bridge.bmb, dBusCoherent.bmb)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue