1
0
Fork 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
1 changed files with 4 additions and 0 deletions

View File

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