groundtest: ComparatorConfig lives again
This commit is contained in:
parent
92e233d596
commit
8a0ecdaaad
@ -85,7 +85,7 @@ class WithGroundTest extends Config(
|
|||||||
maxClientXacts = ((site(DCacheKey).nMSHRs + 1) +:
|
maxClientXacts = ((site(DCacheKey).nMSHRs + 1) +:
|
||||||
site(GroundTestKey).map(_.maxXacts))
|
site(GroundTestKey).map(_.maxXacts))
|
||||||
.reduce(max(_, _)),
|
.reduce(max(_, _)),
|
||||||
maxClientsPerPort = 1,
|
maxClientsPerPort = site(GroundTestKey).map(_.uncached).sum,
|
||||||
maxManagerXacts = site(NAcquireTransactors) + 2,
|
maxManagerXacts = site(NAcquireTransactors) + 2,
|
||||||
dataBeats = dataBeats,
|
dataBeats = dataBeats,
|
||||||
dataBits = site(CacheBlockBytes)*8)
|
dataBits = site(CacheBlockBytes)*8)
|
||||||
@ -106,8 +106,7 @@ class WithComparator extends Config(
|
|||||||
case BuildGroundTest =>
|
case BuildGroundTest =>
|
||||||
(p: Parameters) => Module(new ComparatorCore()(p))
|
(p: Parameters) => Module(new ComparatorCore()(p))
|
||||||
case ComparatorKey => ComparatorParameters(
|
case ComparatorKey => ComparatorParameters(
|
||||||
targets = Seq("mem", "TL2:testram").map(name =>
|
targets = Seq(site(ExtMemBase), testRamAddr),
|
||||||
site(GlobalAddrMap)(name).start.longValue),
|
|
||||||
width = 8,
|
width = 8,
|
||||||
operations = 1000,
|
operations = 1000,
|
||||||
atomics = site(UseAtomics),
|
atomics = site(UseAtomics),
|
||||||
|
Loading…
Reference in New Issue
Block a user