make MultiChannel routing more performant
This commit is contained in:
parent
ea8ba49805
commit
379d43d5f4
@ -233,8 +233,12 @@ class OuterMemorySystem(implicit val p: Parameters) extends Module with HasTopLe
|
|||||||
println(f"\t$name%s $base%x - ${base + size - 1}%x")
|
println(f"\t$name%s $base%x - ${base + size - 1}%x")
|
||||||
}
|
}
|
||||||
|
|
||||||
val interconnect = Module(new NastiRecursiveInterconnect(
|
val interconnect = if (nMemChannels == 1)
|
||||||
nMasters, nSlaves, addrMap)(p))
|
Module(new NastiRecursiveInterconnect(
|
||||||
|
nMasters, nSlaves, addrMap))
|
||||||
|
else
|
||||||
|
Module(new NastiPerformanceInterconnect(
|
||||||
|
nBanksPerMemChannel, nMemChannels, 1, nSlaves - nMemChannels, addrMap))
|
||||||
|
|
||||||
for ((bank, i) <- managerEndpoints.zipWithIndex) {
|
for ((bank, i) <- managerEndpoints.zipWithIndex) {
|
||||||
val unwrap = Module(new ClientTileLinkIOUnwrapper()(outerTLParams))
|
val unwrap = Module(new ClientTileLinkIOUnwrapper()(outerTLParams))
|
||||||
|
Loading…
Reference in New Issue
Block a user