diff --git a/src/main/scala/coreplex/Configs.scala b/src/main/scala/coreplex/Configs.scala index 2594cdf6..8d8d87ad 100644 --- a/src/main/scala/coreplex/Configs.scala +++ b/src/main/scala/coreplex/Configs.scala @@ -189,7 +189,7 @@ class BaseCoreplexConfig extends Config ( case TLKey("MMIO_Outermost") => site(TLKey("L2toMMIO")).copy(dataBeats = site(MIFDataBeats)) case BootROMFile => "./bootrom/bootrom.img" - case NTiles => Knob("NTILES") + case NTiles => 1 case NBanksPerMemoryChannel => Knob("NBANKS_PER_MEM_CHANNEL") case BankIdLSB => 0 case CacheBlockBytes => Dump("CACHE_BLOCK_BYTES", 64) @@ -224,7 +224,6 @@ class BaseCoreplexConfig extends Config ( case _ => throw new CDEMatchError }}, knobValues = { - case "NTILES" => 1 case "NBANKS_PER_MEM_CHANNEL" => 1 case "L1D_MSHRS" => 2 case "L1D_SETS" => 64 @@ -236,7 +235,9 @@ class BaseCoreplexConfig extends Config ( ) class WithNCores(n: Int) extends Config( - knobValues = { case"NTILES" => n; case _ => throw new CDEMatchError }) + (pname,site,here) => pname match { + case NTiles => n + }) class WithNBanksPerMemChannel(n: Int) extends Config( knobValues = {