1
0

get rid of NastiTopInterconnect

This commit is contained in:
Howard Mao 2015-10-26 14:14:53 -07:00
parent 5440d6c2ae
commit 096dbb3c2d

View File

@ -556,20 +556,3 @@ class NastiRecursiveInterconnect(
} }
} }
} }
class NastiTopInterconnect(val nMasters: Int, val nSlaves: Int, addrMap: AddrMap)
(implicit p: Parameters) extends NastiInterconnect {
val temp = Module(new NastiRecursiveInterconnect(nMasters, nSlaves, addrMap))
temp.io.masters.zip(io.masters).foreach { case (t, i) =>
t.ar <> i.ar
t.aw <> i.aw
// this queue is necessary to break up the aw - w dependence
// introduced by the TileLink -> Nasti converter
t.w <> Queue(i.w)
i.b <> t.b
i.r <> t.r
}
//temp.io.masters <> io.masters
io.slaves <> temp.io.slaves
}