diff --git a/src/main/scala/top/Configs.scala b/src/main/scala/top/Configs.scala index cfdfc48389..9a16eb0f5e 100644 --- a/src/main/scala/top/Configs.scala +++ b/src/main/scala/top/Configs.scala @@ -426,12 +426,28 @@ class KunminghuV2Config(n: Int = 1) extends Config( ++ new DefaultConfig(n) ) +class KunminghuV2MinimalConfig(n: Int = 1) extends Config( + new WithCHI + ++ new Config((site, here, up) => { + case SoCParamsKey => up(SoCParamsKey).copy(L3CacheParamsOpt = None) // There will be no L3 + }) + ++ new WithNKBL2(128, inclusive = true, banks = 1, tp = false) + ++ new WithNKBL1D(32, ways = 4) + ++ new MinimalConfig(n) +) + class XSNoCTopConfig(n: Int = 1) extends Config( (new KunminghuV2Config(n)).alter((site, here, up) => { case SoCParamsKey => up(SoCParamsKey).copy(UseXSNoCTop = true) }) ) +class XSNoCTopMinimalConfig(n: Int = 1) extends Config( + (new KunminghuV2MinimalConfig(n)).alter((site, here, up) => { + case SoCParamsKey => up(SoCParamsKey).copy(UseXSNoCTop = true) + }) +) + class FpgaDefaultConfig(n: Int = 1) extends Config( (new WithNKBL3(3 * 1024, inclusive = false, banks = 1, ways = 6) ++ new WithNKBL2(2 * 512, inclusive = true, banks = 4)