fix TraceGen and Nasti -> TL converter
This commit is contained in:
parent
c924ec2a22
commit
f79a3285fb
@ -1 +1 @@
|
|||||||
Subproject commit 2da3e8b4d7a5c6e37253a91b1ee58a318451bde6
|
Subproject commit aa254ad51f9ccac3943a5e40068bab9a858a1be0
|
@ -1 +1 @@
|
|||||||
Subproject commit d39a2045c6ab975f8ae52d08861f19573400bd2a
|
Subproject commit 4c04c27df802ae94c7a54ac24ab792dac9651b99
|
@ -97,6 +97,18 @@ class WithMemtest extends Config(
|
|||||||
case _ => throw new CDEMatchError
|
case _ => throw new CDEMatchError
|
||||||
})
|
})
|
||||||
|
|
||||||
|
class WithNCachedGenerators(n: Int) extends Config(
|
||||||
|
(pname, site, here) => pname match {
|
||||||
|
case GroundTestCachedClients => n
|
||||||
|
case _ => throw new CDEMatchError
|
||||||
|
})
|
||||||
|
|
||||||
|
class WithNUncachedGenerators(n: Int) extends Config(
|
||||||
|
(pname, site, here) => pname match {
|
||||||
|
case GroundTestUncachedClients => n
|
||||||
|
case _ => throw new CDEMatchError
|
||||||
|
})
|
||||||
|
|
||||||
class WithCacheFillTest extends Config(
|
class WithCacheFillTest extends Config(
|
||||||
(pname, site, here) => pname match {
|
(pname, site, here) => pname match {
|
||||||
case GroundTestUncachedClients => 1
|
case GroundTestUncachedClients => 1
|
||||||
@ -191,44 +203,20 @@ class WithTraceGen extends Config(
|
|||||||
case _ => throw new CDEMatchError
|
case _ => throw new CDEMatchError
|
||||||
})
|
})
|
||||||
|
|
||||||
|
class GroundTestConfig extends Config(new WithGroundTest ++ new BaseConfig)
|
||||||
|
|
||||||
class ComparatorConfig extends Config(new WithComparator ++ new GroundTestConfig)
|
class ComparatorConfig extends Config(new WithComparator ++ new GroundTestConfig)
|
||||||
class ComparatorL2Config extends Config(
|
class ComparatorL2Config extends Config(
|
||||||
new WithAtomics ++ new WithPrefetches ++
|
new WithAtomics ++ new WithPrefetches ++
|
||||||
new WithL2Cache ++ new ComparatorConfig)
|
new WithL2Cache ++ new ComparatorConfig)
|
||||||
class ComparatorBufferlessConfig extends Config(
|
class ComparatorBufferlessConfig extends Config(
|
||||||
new WithBufferlessBroadcastHub ++ new ComparatorConfig)
|
new WithBufferlessBroadcastHub ++ new ComparatorConfig)
|
||||||
class GroundTestConfig extends Config(new WithGroundTest ++ new BaseConfig)
|
|
||||||
class MemtestConfig extends Config(new WithMemtest ++ new GroundTestConfig)
|
class MemtestConfig extends Config(new WithMemtest ++ new GroundTestConfig)
|
||||||
class MemtestL2Config extends Config(
|
class MemtestL2Config extends Config(
|
||||||
new WithMemtest ++ new WithL2Cache ++ new GroundTestConfig)
|
new WithMemtest ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
class MemtestBufferlessConfig extends Config(
|
class MemtestBufferlessConfig extends Config(
|
||||||
new WithMemtest ++ new WithBufferlessBroadcastHub ++ new GroundTestConfig)
|
new WithMemtest ++ new WithBufferlessBroadcastHub ++ new GroundTestConfig)
|
||||||
class CacheFillTestConfig extends Config(
|
|
||||||
new WithCacheFillTest ++ new WithPLRU ++ new WithL2Cache ++ new GroundTestConfig)
|
|
||||||
class BroadcastRegressionTestConfig extends Config(
|
|
||||||
new WithBroadcastRegressionTest ++ new GroundTestConfig)
|
|
||||||
class BufferlessRegressionTestConfig extends Config(
|
|
||||||
new WithBufferlessBroadcastHub ++ new BroadcastRegressionTestConfig)
|
|
||||||
class CacheRegressionTestConfig extends Config(
|
|
||||||
new WithCacheRegressionTest ++ new WithL2Cache ++ new GroundTestConfig)
|
|
||||||
class DmaTestConfig extends Config(new WithDmaTest ++ new WithL2Cache ++ new GroundTestConfig)
|
|
||||||
class DmaStreamTestConfig extends Config(new WithDmaStreamTest ++ new WithStreamLoopback ++ new WithL2Cache ++ new GroundTestConfig)
|
|
||||||
class NastiConverterTestConfig extends Config(new WithNastiConverterTest ++ new GroundTestConfig)
|
|
||||||
class UnitTestConfig extends Config(new WithUnitTest ++ new GroundTestConfig)
|
|
||||||
class TraceGenConfig extends Config(new WithNCores(2) ++ new WithL2Cache ++ new WithTraceGen ++ new GroundTestConfig)
|
|
||||||
|
|
||||||
class WithNCachedGenerators(n: Int) extends Config(
|
|
||||||
(pname, site, here) => pname match {
|
|
||||||
case GroundTestCachedClients => n
|
|
||||||
case _ => throw new CDEMatchError
|
|
||||||
})
|
|
||||||
|
|
||||||
class WithNUncachedGenerators(n: Int) extends Config(
|
|
||||||
(pname, site, here) => pname match {
|
|
||||||
case GroundTestUncachedClients => n
|
|
||||||
case _ => throw new CDEMatchError
|
|
||||||
})
|
|
||||||
|
|
||||||
// Test ALL the things
|
// Test ALL the things
|
||||||
class FancyMemtestConfig extends Config(
|
class FancyMemtestConfig extends Config(
|
||||||
new WithNCachedGenerators(1) ++ new WithNUncachedGenerators(2) ++
|
new WithNCachedGenerators(1) ++ new WithNUncachedGenerators(2) ++
|
||||||
@ -236,6 +224,29 @@ class FancyMemtestConfig extends Config(
|
|||||||
new WithNMemoryChannels(2) ++ new WithNBanksPerMemChannel(4) ++
|
new WithNMemoryChannels(2) ++ new WithNBanksPerMemChannel(4) ++
|
||||||
new WithSplitL2Metadata ++ new WithL2Cache ++ new GroundTestConfig)
|
new WithSplitL2Metadata ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class CacheFillTestConfig extends Config(
|
||||||
|
new WithCacheFillTest ++ new WithPLRU ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class BroadcastRegressionTestConfig extends Config(
|
||||||
|
new WithBroadcastRegressionTest ++ new GroundTestConfig)
|
||||||
|
class BufferlessRegressionTestConfig extends Config(
|
||||||
|
new WithBufferlessBroadcastHub ++ new BroadcastRegressionTestConfig)
|
||||||
|
class CacheRegressionTestConfig extends Config(
|
||||||
|
new WithCacheRegressionTest ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class DmaTestConfig extends Config(new WithDmaTest ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
class DmaStreamTestConfig extends Config(new WithDmaStreamTest ++ new WithStreamLoopback ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
class NastiConverterTestConfig extends Config(new WithNastiConverterTest ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class UnitTestConfig extends Config(new WithUnitTest ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class TraceGenConfig extends Config(
|
||||||
|
new WithNCores(2) ++ new WithTraceGen ++ new GroundTestConfig)
|
||||||
|
class TraceGenBufferlessConfig extends Config(
|
||||||
|
new WithBufferlessBroadcastHub ++ new TraceGenConfig)
|
||||||
|
class TraceGenL2Config extends Config(
|
||||||
|
new WithL2Cache ++ new TraceGenConfig)
|
||||||
|
|
||||||
class MIF128BitComparatorConfig extends Config(
|
class MIF128BitComparatorConfig extends Config(
|
||||||
new WithMIFDataBits(128) ++ new ComparatorConfig)
|
new WithMIFDataBits(128) ++ new ComparatorConfig)
|
||||||
class MIF128BitMemtestConfig extends Config(
|
class MIF128BitMemtestConfig extends Config(
|
||||||
|
2
uncore
2
uncore
@ -1 +1 @@
|
|||||||
Subproject commit aef8a2a474c346e764b07ca3c42fd08c2b961a4e
|
Subproject commit d5d1e649cf7e45b8d5dba5cde89c4afa77b78757
|
Loading…
Reference in New Issue
Block a user