From 3c973d429a176f1a39e1161a595de03d85d135ce Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Wed, 22 Jun 2016 16:08:27 -0700 Subject: [PATCH] rename SmallConfig to WithSmallCores --- src/main/scala/Configs.scala | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/scala/Configs.scala b/src/main/scala/Configs.scala index fb053c8f..73234af0 100644 --- a/src/main/scala/Configs.scala +++ b/src/main/scala/Configs.scala @@ -427,7 +427,7 @@ class WithAHB extends Config( class DefaultFPGAConfig extends Config(new FPGAConfig ++ new BaseConfig) -class SmallConfig extends Config ( +class WithSmallCores extends Config ( topDefinitions = { (pname,site,here) => pname match { case UseFPU => false case FastMulDiv => false @@ -448,11 +448,9 @@ class SmallConfig extends Config ( } ) -class DefaultFPGASmallConfig extends Config(new SmallConfig ++ new DefaultFPGAConfig) - -class DefaultRV32Config extends Config(new SmallConfig ++ new WithRV32 ++ new BaseConfig) - -class ExampleSmallConfig extends Config(new SmallConfig ++ new BaseConfig) +class DefaultFPGASmallConfig extends Config(new WithSmallCores ++ new DefaultFPGAConfig) +class DefaultSmallConfig extends Config(new WithSmallCores ++ new BaseConfig) +class DefaultRV32Config extends Config(new WithRV32 ++ new DefaultSmallConfig) class DualBankConfig extends Config( new WithNBanksPerMemChannel(2) ++ new BaseConfig)