1
0

Merge pull request #257 from ucb-bar/fix-non-contiguous-mmio-region-routing

Fix routing in non-contiguous MMIO regions
This commit is contained in:
Yunsup Lee 2016-09-08 00:03:11 -07:00 committed by GitHub
commit 8536a2a47d

View File

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