From 832d5585172f46416afbd7fa80e19298eb6cd45a Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Mon, 26 Aug 2019 15:56:51 -0700 Subject: [PATCH] Update FireChip reference to boom configs --- generators/example/src/main/scala/Configs.scala | 2 +- generators/firechip/src/main/scala/TargetConfigs.scala | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/generators/example/src/main/scala/Configs.scala b/generators/example/src/main/scala/Configs.scala index 5004e6ee..ede2701b 100644 --- a/generators/example/src/main/scala/Configs.scala +++ b/generators/example/src/main/scala/Configs.scala @@ -13,7 +13,7 @@ class RocketConfig extends Config( new WithBootROM ++ // use default bootrom new freechips.rocketchip.subsystem.WithInclusiveCache ++ // use Sifive L2 cache new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // single rocket-core - new freechips.rocketchip.system.BaseConfig) // "base" rocketchip system (implicitly creates Rocket cores) + new freechips.rocketchip.system.BaseConfig) // "base" rocketchip system class HwachaRocketConfig extends Config( new WithTop ++ diff --git a/generators/firechip/src/main/scala/TargetConfigs.scala b/generators/firechip/src/main/scala/TargetConfigs.scala index 3795784b..85c82753 100644 --- a/generators/firechip/src/main/scala/TargetConfigs.scala +++ b/generators/firechip/src/main/scala/TargetConfigs.scala @@ -136,8 +136,10 @@ class FireSimBoomConfig extends Config( new WithBlockDevice ++ new WithBoomL2TLBs(1024) ++ new WithoutClockGating ++ - // Using a small config because it has 64-bit system bus, and compiles quickly - new boom.common.SmallBoomConfig) + new boom.common.WithLargeBooms ++ + new boom.common.WithNBoomCores(1) ++ + new freechips.rocketchip.system.BaseConfig +) // A safer implementation than the one in BOOM in that it // duplicates whatever BOOMTileKey.head is present N times. This prevents