first attempt at heter. port
This commit is contained in:
@@ -106,10 +106,28 @@ class BlockDeviceModelBoomConfig extends Config(
|
||||
new WithBlockDeviceModelBoomTop ++
|
||||
new BaseBoomConfig)
|
||||
|
||||
/**
|
||||
* Slightly different looking configs since we need to override
|
||||
* the `WithNBoomCores` with the DefaultBoomConfig params
|
||||
*/
|
||||
class DualCoreBoomConfig extends Config(
|
||||
// Core gets tacked onto existing list
|
||||
new WithNormalBoomTop ++
|
||||
new WithBootROM ++
|
||||
new boom.common.WithRVC ++
|
||||
new boom.common.DefaultBoomConfig ++
|
||||
new boom.system.WithNBoomCores(2) ++
|
||||
new DefaultBoomConfig)
|
||||
new freechips.rocketchip.subsystem.WithoutTLMonitors ++
|
||||
new freechips.rocketchip.system.BaseConfig)
|
||||
|
||||
class DualCoreSmallBoomConfig extends Config(
|
||||
new WithNormalBoomTop ++
|
||||
new WithBootROM ++
|
||||
new boom.common.WithRVC ++
|
||||
new boom.common.WithSmallBooms ++
|
||||
new boom.common.DefaultBoomConfig ++
|
||||
new boom.system.WithNBoomCores(2) ++
|
||||
new freechips.rocketchip.subsystem.WithoutTLMonitors ++
|
||||
new freechips.rocketchip.system.BaseConfig)
|
||||
|
||||
class RV32BoomConfig extends Config(
|
||||
new WithBootROM ++
|
||||
@@ -119,3 +137,101 @@ class GPIOBoomConfig extends Config(
|
||||
new WithGPIO ++
|
||||
new WithGPIOBoomTop ++
|
||||
new BaseBoomConfig)
|
||||
|
||||
// ---------------------
|
||||
// BOOM + Rocket Configs
|
||||
// ---------------------
|
||||
|
||||
//class BaseRocketConfig extends Config(
|
||||
// new WithBootROM ++
|
||||
// new freechips.rocketchip.system.DefaultConfig)
|
||||
//
|
||||
//class DefaultRocketConfig extends Config(
|
||||
// new WithNormalRocketTop ++
|
||||
// new BaseRocketConfig)
|
||||
//
|
||||
//class BaseConfig extends Config(
|
||||
// new WithDefaultMemPort() ++
|
||||
// new WithDefaultMMIOPort() ++
|
||||
// new WithDefaultSlavePort() ++
|
||||
// new WithTimebase(BigInt(1000000)) ++ // 1 MHz
|
||||
// new WithDTS("freechips,rocketchip-unknown", Nil) ++
|
||||
// new WithNExtTopInterrupts(2) ++
|
||||
// new BaseSubsystemConfig()
|
||||
//)
|
||||
//
|
||||
//class DefaultConfig extends Config(new WithNBigCores(1) ++ new BaseConfig)
|
||||
//
|
||||
////boom
|
||||
// new WithRVC ++
|
||||
// new DefaultBoomConfig ++
|
||||
// new WithNBoomCores(1) ++
|
||||
// new WithoutTLMonitors ++
|
||||
// new freechips.rocketchip.system.BaseConfig)
|
||||
|
||||
class BaseBoomAndRocketConfig extends Config(
|
||||
new WithBootROM ++
|
||||
new boom.common.WithRVC ++
|
||||
new boom.common.DefaultBoomConfig ++
|
||||
new boom.system.WithNBoomCores(1) ++
|
||||
new freechips.rocketchip.subsystem.WithoutTLMonitors ++
|
||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||
new freechips.rocketchip.system.BaseConfig)
|
||||
|
||||
//class BaseBoomAndRocketConfig extends Config(
|
||||
// new WithBootROM ++
|
||||
// new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||
// new boom.system.BoomConfig)
|
||||
|
||||
class SmallBaseBoomAndRocketConfig extends Config(
|
||||
new WithBootROM ++
|
||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||
new boom.system.SmallBoomConfig)
|
||||
|
||||
class DefaultBoomAndRocketConfig extends Config(
|
||||
new WithNormalBoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
class SmallDefaultBoomAndRocketConfig extends Config(
|
||||
new WithNormalBoomAndRocketTop ++
|
||||
new SmallBaseBoomAndRocketConfig)
|
||||
|
||||
class HwachaBoomAndRocketConfig extends Config(
|
||||
new hwacha.DefaultHwachaConfig ++
|
||||
new DefaultBoomAndRocketConfig)
|
||||
|
||||
class RoccBoomAndRocketConfig extends Config(
|
||||
new WithRoccExample ++
|
||||
new DefaultBoomAndRocketConfig)
|
||||
|
||||
class PWMBoomAndRocketConfig extends Config(
|
||||
new WithPWMBoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
class PWMAXI4BoomAndRocketConfig extends Config(
|
||||
new WithPWMAXI4BoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
class SimBlockDeviceBoomAndRocketConfig extends Config(
|
||||
new WithBlockDevice ++
|
||||
new WithSimBlockDeviceBoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
class BlockDeviceModelBoomAndRocketConfig extends Config(
|
||||
new WithBlockDevice ++
|
||||
new WithBlockDeviceModelBoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
class DualCoreBoomAndOneRocketConfig extends Config(
|
||||
// Core gets tacked onto existing list
|
||||
new boom.system.WithNBoomCores(2) ++
|
||||
new DefaultBoomAndRocketConfig)
|
||||
|
||||
class RV32BoomAndNormalRocketConfig extends Config(
|
||||
new WithBootROM ++
|
||||
new boom.system.SmallRV32UnifiedBoomConfig)
|
||||
|
||||
class GPIOBoomAndRocketConfig extends Config(
|
||||
new WithGPIO ++
|
||||
new WithGPIOBoomAndRocketTop ++
|
||||
new BaseBoomAndRocketConfig)
|
||||
|
||||
Reference in New Issue
Block a user