1
0

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:
Yunsup Lee 2016-09-07 19:28:12 -07:00
parent 7a6f155b2a
commit e35e7b2ee3

View File

@ -153,4 +153,8 @@ class AddrMap(
}
new AddrMapProt().fromBits(protForRegion.reduce(_|_))
}
override def containsAddress(x: UInt) = {
flatten.map(_.region.containsAddress(x)).reduce(_||_)
}
}