Decoupled sbus width from boom|hwacha|gemmini memory interface widths (#1273)
This commit is contained in:
Submodule generators/boom updated: fac2c370c9...9e4269088e
@@ -16,10 +16,12 @@ class MediumBoomConfig extends Config(
|
|||||||
|
|
||||||
class LargeBoomConfig extends Config(
|
class LargeBoomConfig extends Config(
|
||||||
new boom.common.WithNLargeBooms(1) ++ // large boom config
|
new boom.common.WithNLargeBooms(1) ++ // large boom config
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
class MegaBoomConfig extends Config(
|
class MegaBoomConfig extends Config(
|
||||||
new boom.common.WithNMegaBooms(1) ++ // mega boom config
|
new boom.common.WithNMegaBooms(1) ++ // mega boom config
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
class DualSmallBoomConfig extends Config(
|
class DualSmallBoomConfig extends Config(
|
||||||
@@ -30,16 +32,19 @@ class HwachaLargeBoomConfig extends Config(
|
|||||||
new chipyard.config.WithHwachaTest ++
|
new chipyard.config.WithHwachaTest ++
|
||||||
new hwacha.DefaultHwachaConfig ++ // use Hwacha vector accelerator
|
new hwacha.DefaultHwachaConfig ++ // use Hwacha vector accelerator
|
||||||
new boom.common.WithNLargeBooms(1) ++
|
new boom.common.WithNLargeBooms(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
class LoopbackNICLargeBoomConfig extends Config(
|
class LoopbackNICLargeBoomConfig extends Config(
|
||||||
new chipyard.harness.WithLoopbackNIC ++ // drive NIC IOs with loopback
|
new chipyard.harness.WithLoopbackNIC ++ // drive NIC IOs with loopback
|
||||||
new icenet.WithIceNIC ++ // build a NIC
|
new icenet.WithIceNIC ++ // build a NIC
|
||||||
new boom.common.WithNLargeBooms(1) ++
|
new boom.common.WithNLargeBooms(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
class DromajoBoomConfig extends Config(
|
class DromajoBoomConfig extends Config(
|
||||||
new chipyard.harness.WithSimDromajoBridge ++ // attach Dromajo
|
new chipyard.harness.WithSimDromajoBridge ++ // attach Dromajo
|
||||||
new chipyard.config.WithTraceIO ++ // enable the traceio
|
new chipyard.config.WithTraceIO ++ // enable the traceio
|
||||||
new boom.common.WithNSmallBooms(1) ++
|
new boom.common.WithNSmallBooms(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import freechips.rocketchip.config.{Config}
|
|||||||
class LargeBoomAndRocketConfig extends Config(
|
class LargeBoomAndRocketConfig extends Config(
|
||||||
new boom.common.WithNLargeBooms(1) ++ // single-core boom
|
new boom.common.WithNLargeBooms(1) ++ // single-core boom
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // single rocket-core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // single rocket-core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
// DOC include start: BoomAndRocketWithHwacha
|
// DOC include start: BoomAndRocketWithHwacha
|
||||||
@@ -17,6 +18,7 @@ class HwachaLargeBoomAndHwachaRocketConfig extends Config(
|
|||||||
new hwacha.DefaultHwachaConfig ++ // add hwacha to all harts
|
new hwacha.DefaultHwachaConfig ++ // add hwacha to all harts
|
||||||
new boom.common.WithNLargeBooms(1) ++ // add 1 boom core
|
new boom.common.WithNLargeBooms(1) ++ // add 1 boom core
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
// DOC include end: BoomAndRocketWithHwacha
|
// DOC include end: BoomAndRocketWithHwacha
|
||||||
|
|
||||||
@@ -26,6 +28,7 @@ class LargeBoomAndHwachaRocketConfig extends Config(
|
|||||||
new hwacha.DefaultHwachaConfig ++ // set default hwacha config keys
|
new hwacha.DefaultHwachaConfig ++ // set default hwacha config keys
|
||||||
new boom.common.WithNLargeBooms(1) ++ // add 1 boom core
|
new boom.common.WithNLargeBooms(1) ++ // add 1 boom core
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
// DOC include start: DualBoomAndRocketOneHwacha
|
// DOC include start: DualBoomAndRocketOneHwacha
|
||||||
@@ -35,18 +38,21 @@ class DualLargeBoomAndHwachaRocketConfig extends Config(
|
|||||||
new hwacha.DefaultHwachaConfig ++ // set default hwacha config keys
|
new hwacha.DefaultHwachaConfig ++ // set default hwacha config keys
|
||||||
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
// DOC include end: DualBoomAndRocketOneHwacha
|
// DOC include end: DualBoomAndRocketOneHwacha
|
||||||
|
|
||||||
class DualLargeBoomAndDualRocketConfig extends Config(
|
class DualLargeBoomAndDualRocketConfig extends Config(
|
||||||
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(2) ++ // add 2 rocket cores
|
new freechips.rocketchip.subsystem.WithNBigCores(2) ++ // add 2 rocket cores
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
// DOC include start: DualBoomAndSingleRocket
|
// DOC include start: DualBoomAndSingleRocket
|
||||||
class DualLargeBoomAndSingleRocketConfig extends Config(
|
class DualLargeBoomAndSingleRocketConfig extends Config(
|
||||||
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
new boom.common.WithNLargeBooms(2) ++ // add 2 boom cores
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
// DOC include end: DualBoomAndSingleRocket
|
// DOC include end: DualBoomAndSingleRocket
|
||||||
|
|
||||||
@@ -54,4 +60,5 @@ class LargeBoomAndRocketWithControlCoreConfig extends Config(
|
|||||||
new freechips.rocketchip.subsystem.WithNSmallCores(1) ++ // Add a small "control" core
|
new freechips.rocketchip.subsystem.WithNSmallCores(1) ++ // Add a small "control" core
|
||||||
new boom.common.WithNLargeBooms(1) ++ // Add 1 boom core
|
new boom.common.WithNLargeBooms(1) ++ // Add 1 boom core
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|||||||
@@ -42,18 +42,21 @@ class HwachaRocketConfig extends Config(
|
|||||||
new chipyard.config.WithHwachaTest ++
|
new chipyard.config.WithHwachaTest ++
|
||||||
new hwacha.DefaultHwachaConfig ++ // use Hwacha vector accelerator
|
new hwacha.DefaultHwachaConfig ++ // use Hwacha vector accelerator
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
// DOC include start: GemminiRocketConfig
|
// DOC include start: GemminiRocketConfig
|
||||||
class GemminiRocketConfig extends Config(
|
class GemminiRocketConfig extends Config(
|
||||||
new gemmini.DefaultGemminiConfig ++ // use Gemmini systolic array GEMM accelerator
|
new gemmini.DefaultGemminiConfig ++ // use Gemmini systolic array GEMM accelerator
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
// DOC include end: GemminiRocketConfig
|
// DOC include end: GemminiRocketConfig
|
||||||
|
|
||||||
class FPGemminiRocketConfig extends Config(
|
class FPGemminiRocketConfig extends Config(
|
||||||
new gemmini.GemminiFP32DefaultConfig ++ // use FP32Gemmini systolic array GEMM accelerator
|
new gemmini.GemminiFP32DefaultConfig ++ // use FP32Gemmini systolic array GEMM accelerator
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
|
new chipyard.config.WithSystemBusWidth(128) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Submodule generators/gemmini updated: c47cb7f3eb...350b3196ba
Submodule generators/hwacha updated: 7cc6354351...b0795a3aaf
Reference in New Issue
Block a user