coreplex: TileLink2 l1tol2 memory channels
This commit is contained in:
@ -155,6 +155,7 @@ class BaseCoreplexConfig extends Config (
|
||||
case BootROMFile => "./bootrom/bootrom.img"
|
||||
case NTiles => 1
|
||||
case NBanksPerMemoryChannel => Knob("NBANKS_PER_MEM_CHANNEL")
|
||||
case NTrackersPerBank => Knob("NTRACKERS_PER_BANK")
|
||||
case BankIdLSB => 0
|
||||
case CacheBlockBytes => Dump("CACHE_BLOCK_BYTES", 64)
|
||||
case CacheBlockOffsetBits => log2Up(here(CacheBlockBytes))
|
||||
@ -163,6 +164,7 @@ class BaseCoreplexConfig extends Config (
|
||||
}},
|
||||
knobValues = {
|
||||
case "NBANKS_PER_MEM_CHANNEL" => 1
|
||||
case "NTRACKERS_PER_BANK" => 4
|
||||
case "L1D_MSHRS" => 2
|
||||
case "L1D_SETS" => 64
|
||||
case "L1D_WAYS" => 4
|
||||
@ -183,6 +185,12 @@ class WithNBanksPerMemChannel(n: Int) extends Config(
|
||||
case _ => throw new CDEMatchError
|
||||
})
|
||||
|
||||
class WithNTrackersPerBank(n: Int) extends Config(
|
||||
knobValues = {
|
||||
case "NTRACKERS_PER_BANK" => n
|
||||
case _ => throw new CDEMatchError
|
||||
})
|
||||
|
||||
class WithDataScratchpad(n: Int) extends Config(
|
||||
(pname,site,here) => pname match {
|
||||
case DataScratchpadSize => n
|
||||
|
Reference in New Issue
Block a user