don't use secondary external address map; collapse submap instead

This commit is contained in:
Howard Mao committed 2016-08-09 22:29:38 -07:00
1 parent 2645f74af2
commit f95d319162
5 files changed
+26 -18

No files matched your search

+2 -4
View File
@@ -69,10 +69,8 @@ class WithComparator extends Config(
case BuildGroundTest =>
(p: Parameters) => Module(new ComparatorCore()(p))
case ComparatorKey => ComparatorParameters(
targets = Seq(
site(GlobalAddrMap)("mem"),
site(ExtAddrMap)("testram"))
.map(entry => entry.start.longValue),
targets = Seq("mem", "io:ext:testram").map(name =>
site(GlobalAddrMap)(name).start.longValue),
width = 8,
operations = 1000,
atomics = site(UseAtomics),