Configs: add a parameter to control the memory subsystem interface

This commit is contained in:
Wesley W. Terpstra authored and Andrew Waterman committed 2016-06-06 21:35:43 -07:00
1 parent 2ddada1732
commit 2086c0d603
2 files changed
+10

No files matched your search

+1
View File
@@ -296,6 +296,7 @@ class BaseConfig extends Config (
case TLKey("MMIO_Outermost") => site(TLKey("L2toMMIO")).copy(dataBeats = site(MIFDataBeats))
case NTiles => Knob("NTILES")
case NMemoryChannels => Dump("N_MEM_CHANNELS", 1)
case TMemoryChannels => BusType.AXI
case NBanksPerMemoryChannel => Knob("NBANKS_PER_MEM_CHANNEL")
case NOutstandingMemReqsPerChannel => site(NBanksPerMemoryChannel)*(site(NAcquireTransactors)+2)
case BankIdLSB => 0