add memtest config for testing memory channel mux
This commit is contained in:
parent
5a74a9b1e7
commit
4f06a5ff6b
@ -219,7 +219,7 @@ class DefaultConfig extends Config (
|
|||||||
dataBits = site(CacheBlockBytes)*8)
|
dataBits = site(CacheBlockBytes)*8)
|
||||||
case TLKey("Outermost") => site(TLKey("L2toMC")).copy(
|
case TLKey("Outermost") => site(TLKey("L2toMC")).copy(
|
||||||
maxClientXacts = site(NAcquireTransactors) + 2,
|
maxClientXacts = site(NAcquireTransactors) + 2,
|
||||||
maxClientsPerPort = site(NBanksPerMemoryChannel),
|
maxClientsPerPort = site(MaxBanksPerMemoryChannel),
|
||||||
dataBeats = site(MIFDataBeats))
|
dataBeats = site(MIFDataBeats))
|
||||||
case TLKey("L2toMMIO") => {
|
case TLKey("L2toMMIO") => {
|
||||||
val addrMap = new AddrHashMap(site(GlobalAddrMap), site(MMIOBase))
|
val addrMap = new AddrHashMap(site(GlobalAddrMap), site(MMIOBase))
|
||||||
|
@ -144,3 +144,7 @@ class TraceGenConfig extends Config(new With2Cores ++ new WithL2Cache ++ new Wit
|
|||||||
class FancyMemtestConfig extends Config(
|
class FancyMemtestConfig extends Config(
|
||||||
new With2Cores ++ new With2MemoryChannels ++ new With2BanksPerMemChannel ++
|
new With2Cores ++ new With2MemoryChannels ++ new With2BanksPerMemChannel ++
|
||||||
new WithMemtest ++ new WithL2Cache ++ new GroundTestConfig)
|
new WithMemtest ++ new WithL2Cache ++ new GroundTestConfig)
|
||||||
|
|
||||||
|
class MemoryMuxMemtestConfig extends Config(
|
||||||
|
new With2MemoryChannels ++ new WithOneOrMaxChannels ++
|
||||||
|
new WithMemtest ++ new GroundTestConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user