Misc configs | rocketchip bump (#1877)

* Misc configs | rocketchip bump

* Add NoTraceIOBridge

* Nit

* Remove useless configs

* FireSim NoC config
This commit is contained in:
joonho hwangbo
2024-05-15 23:56:06 -07:00
committed by GitHub
parent e2f4ea6814
commit afff9c4243
4 changed files with 35 additions and 2 deletions

View File

@@ -267,3 +267,26 @@ class SbusMeshNoCConfig extends Config(
new chipyard.config.AbstractConfig
)
class QuadRocketSbusRingNoCConfig extends Config(
new constellation.soc.WithSbusNoC(constellation.protocol.SimpleTLNoCParams(
constellation.protocol.DiplomaticNetworkNodeMapping(
inNodeMapping = ListMap(
"Core 0 " -> 0,
"Core 1 " -> 1,
"Core 2 " -> 2,
"Core 3 " -> 3,
"serial_tl" -> 4),
outNodeMapping = ListMap(
"system[0]" -> 5,
"system[1]" -> 6,
"system[2]" -> 7,
"system[3]" -> 8,
"pbus" -> 4)), // TSI is on the pbus, so serial-tl and pbus should be on the same node
nocParams = NoCParams(
topology = UnidirectionalTorus1D(9),
channelParamGen = (a, b) => UserChannelParams(Seq.fill(10) { UserVirtualChannelParams(4) }),
routingRelation = NonblockingVirtualSubnetworksRouting(UnidirectionalTorus1DDatelineRouting(), 5, 2))
)) ++
new freechips.rocketchip.subsystem.WithNBigCores(4) ++
new freechips.rocketchip.subsystem.WithNBanks(4) ++
new chipyard.config.AbstractConfig)

View File

@@ -12,6 +12,10 @@ class RocketConfig extends Config(
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // single rocket-core
new chipyard.config.AbstractConfig)
class DualRocketConfig extends Config(
new freechips.rocketchip.subsystem.WithNBigCores(2) ++
new chipyard.config.AbstractConfig)
class TinyRocketConfig extends Config(
new chipyard.harness.WithDontTouchChipTopPorts(false) ++ // TODO FIX: Don't dontTouch the ports
new testchipip.soc.WithNoScratchpads ++ // All memory is the Rocket TCMs

View File

@@ -371,10 +371,16 @@ class FireSimLargeBoomCospikeConfig extends Config(
new WithFireSimConfigTweaks++
new chipyard.LargeBoomV3Config)
class FireSimQuadRocketSbusRingNoCConfig extends Config(
new chipyard.config.WithNoTraceIO ++
new WithDefaultFireSimBridges ++
new WithFireSimConfigTweaks++
new chipyard.QuadRocketSbusRingNoCConfig)
class FireSimLargeBoomSV39CospikeConfig extends Config(
new firesim.firesim.WithCospikeBridge ++
new WithDefaultFireSimBridges ++
new WithDefaultMemModel ++
new WithFireSimConfigTweaks++
new chipyard.config.WithSV39 ++
new chipyard.LargeBoomV3Config)
new chipyard.LargeBoomV3Config)