don't use splat and bug out if too many address map entries
This commit is contained in:
parent
46fc9744e2
commit
b47f8fbc41
@ -39,7 +39,7 @@ class BaseConfig extends Config (
|
||||
lazy val globalAddrMap = {
|
||||
val memBase = 0x80000000L
|
||||
val memSize = 0x10000000L
|
||||
val io = AddrMap((AddrMapEntry("int", internalIOAddrMap) +: site(ExtMMIOPorts).entries):_*)
|
||||
val io = new AddrMap(AddrMapEntry("int", internalIOAddrMap) +: site(ExtMMIOPorts).entries)
|
||||
val addrMap = AddrMap(
|
||||
AddrMapEntry("io", io),
|
||||
AddrMapEntry("mem", MemRange(memBase, memSize, MemAttr(AddrMapProt.RWX, true))))
|
||||
|
@ -251,7 +251,7 @@ class Uncore(implicit val p: Parameters) extends Module
|
||||
} else if (mmio_tl_start <= i && i < mmio_tl_end) {
|
||||
TopUtils.connectTilelink(io.mmio_tl(i-mmio_tl_start), ports(i))
|
||||
} else {
|
||||
TopUtils.connectTilelinkNasti(Module(new NastiErrorSlave).io, ports(i))
|
||||
require(false, "Unconnected external MMIO port")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user