add top that directly tests the TL -> AXI converters

This commit is contained in:
Howard Mao committed 2016-07-11 18:11:00 -07:00
1 parent b47f8fbc41
commit f03ffb32a0
2 files changed
+72

No files matched your search

+20
View File
@@ -253,3 +253,23 @@ class WithPCIeMockupTest extends Config(
})
class PCIeMockupTestConfig extends Config(
new WithPCIeMockupTest ++ new GroundTestConfig)
class WithDirectMemtest extends Config(
(pname, site, here) => {
val nGens = 8
pname match {
case GroundTestId => 0
case GroundTestKey => Seq(GroundTestTileSettings(uncached = nGens))
case GeneratorKey => GeneratorParameters(
maxRequests = 1024,
startAddress = 0)
// Kind of a Hack
case NAcquireTransactors => nGens - 2
case MIFTagBits => Dump("MIF_TAG_BITS", 2)
case NBanksPerMemoryChannel => nGens
case _ => throw new CDEMatchError
}
})
class DirectMemtestConfig extends Config(
new WithDirectMemtest ++ new GroundTestConfig)