1
0

rocketchip: avoid using the nearly defunct GlobalAddrMap

This commit is contained in:
Wesley W. Terpstra 2016-10-29 00:25:58 -07:00
parent 688e1bffdf
commit 4de1822470

View File

@ -30,7 +30,7 @@ class TestHarness(q: Parameters) extends Module {
int := Bool(false)
if (dut.io.mem_axi.nonEmpty) {
val memSize = p(GlobalAddrMap)("mem").size
val memSize = p(ExtMemSize)
require(memSize % dut.io.mem_axi.size == 0)
for (axi <- dut.io.mem_axi) {
val mem = Module(new SimAXIMem(memSize / dut.io.mem_axi.size))