config: when modifying Parameters, subordinate lookups use top
This commit is contained in:
@ -123,7 +123,7 @@ class WithAtomics extends Config(
|
||||
|
||||
class WithPrefetches extends Config(
|
||||
(pname, site, here, up) => pname match {
|
||||
case ComparatorKey => up(ComparatorKey).copy(prefetches = true)
|
||||
case ComparatorKey => up(ComparatorKey, site).copy(prefetches = true)
|
||||
case _ => throw new CDEMatchError
|
||||
})
|
||||
|
||||
@ -202,6 +202,6 @@ class WithTraceGen extends Config(
|
||||
}.flatten
|
||||
}
|
||||
case UseAtomics => true
|
||||
case CacheName("L1D") => up(CacheName("L1D")).copy(nSets = 16, nWays = 1)
|
||||
case CacheName("L1D") => up(CacheName("L1D"), site).copy(nSets = 16, nWays = 1)
|
||||
case _ => throw new CDEMatchError
|
||||
})
|
||||
|
Reference in New Issue
Block a user