Fix routing in non-contiguous MMIO regions
This is a temporary fix, which can generate more hardware than necessary, but this is OK for now, since this code will soon be replaced with tilelink2 code.
This commit is contained in:
parent
7a6f155b2a
commit
e35e7b2ee3
@ -153,4 +153,8 @@ class AddrMap(
|
|||||||
}
|
}
|
||||||
new AddrMapProt().fromBits(protForRegion.reduce(_|_))
|
new AddrMapProt().fromBits(protForRegion.reduce(_|_))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override def containsAddress(x: UInt) = {
|
||||||
|
flatten.map(_.region.containsAddress(x)).reduce(_||_)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user