add ring topology system bus
This commit is contained in:
@@ -363,3 +363,22 @@ class ScratchpadRocketConfig extends Config(
|
|||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
new freechips.rocketchip.system.BaseConfig)
|
new freechips.rocketchip.system.BaseConfig)
|
||||||
// DOC include end: scratchpadrocket
|
// DOC include end: scratchpadrocket
|
||||||
|
|
||||||
|
class RingSystemBusRocketConfig extends Config(
|
||||||
|
new chipyard.iobinders.WithUARTAdapter ++
|
||||||
|
new chipyard.iobinders.WithTieOffInterrupts ++
|
||||||
|
new chipyard.iobinders.WithBlackBoxSimMem ++
|
||||||
|
new chipyard.iobinders.WithTiedOffDebug ++
|
||||||
|
new chipyard.iobinders.WithSimSerial ++
|
||||||
|
new testchipip.WithTSI ++
|
||||||
|
new chipyard.config.WithNoGPIO ++
|
||||||
|
new chipyard.config.WithBootROM ++
|
||||||
|
new chipyard.config.WithUART ++
|
||||||
|
new chipyard.config.WithL2TLBs(1024) ++
|
||||||
|
new testchipip.WithRingSystemBus ++ // Ring-topology system bus
|
||||||
|
new freechips.rocketchip.subsystem.WithNoMMIOPort ++
|
||||||
|
new freechips.rocketchip.subsystem.WithNoSlavePort ++
|
||||||
|
new freechips.rocketchip.subsystem.WithInclusiveCache ++
|
||||||
|
new freechips.rocketchip.subsystem.WithNExtTopInterrupts(0) ++
|
||||||
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
|
new freechips.rocketchip.system.BaseConfig)
|
||||||
|
|||||||
@@ -32,3 +32,12 @@ class NonBlockingTraceGenL2Config extends Config(
|
|||||||
new tracegen.WithL2TraceGen(List.fill(2)(DCacheParams(nMSHRs = 2, nSets = 16, nWays = 4))) ++
|
new tracegen.WithL2TraceGen(List.fill(2)(DCacheParams(nMSHRs = 2, nSets = 16, nWays = 4))) ++
|
||||||
new freechips.rocketchip.subsystem.WithInclusiveCache ++
|
new freechips.rocketchip.subsystem.WithInclusiveCache ++
|
||||||
new freechips.rocketchip.system.BaseConfig)
|
new freechips.rocketchip.system.BaseConfig)
|
||||||
|
|
||||||
|
class NonBlockingTraceGenL2RingConfig extends Config(
|
||||||
|
new chipyard.iobinders.WithBlackBoxSimMem ++
|
||||||
|
new chipyard.iobinders.WithTraceGenSuccessBinder ++
|
||||||
|
new chipyard.config.WithTracegenTop ++
|
||||||
|
new tracegen.WithL2TraceGen(List.fill(2)(DCacheParams(nMSHRs = 2, nSets = 16, nWays = 4))) ++
|
||||||
|
new testchipip.WithRingSystemBus ++
|
||||||
|
new freechips.rocketchip.subsystem.WithInclusiveCache ++
|
||||||
|
new freechips.rocketchip.system.BaseConfig)
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import sifive.blocks.devices.uart.{PeripheryUARTKey, UARTParams}
|
|||||||
import scala.math.{min, max}
|
import scala.math.{min, max}
|
||||||
import tracegen.TraceGenKey
|
import tracegen.TraceGenKey
|
||||||
import icenet._
|
import icenet._
|
||||||
|
import testchipip.WithRingSystemBus
|
||||||
|
|
||||||
import firesim.bridges._
|
import firesim.bridges._
|
||||||
import firesim.configs._
|
import firesim.configs._
|
||||||
@@ -148,6 +149,15 @@ class FireSimGemminiRocketConfig extends Config(
|
|||||||
new WithFireSimConfigTweaks ++
|
new WithFireSimConfigTweaks ++
|
||||||
new chipyard.GemminiRocketConfig)
|
new chipyard.GemminiRocketConfig)
|
||||||
|
|
||||||
|
//******************************************************************
|
||||||
|
// Configuration with Ring topology SystemBus
|
||||||
|
//******************************************************************
|
||||||
|
class FireSimRingSystemBusRocketConfig extends Config(
|
||||||
|
new WithDefaultFireSimBridges ++
|
||||||
|
new WithDefaultMemModel ++
|
||||||
|
new WithFireSimConfigTweaks ++
|
||||||
|
new chipyard.RingSystemBusRocketConfig)
|
||||||
|
|
||||||
//**********************************************************************************
|
//**********************************************************************************
|
||||||
// Supernode Configurations, base off chipyard's RocketConfig
|
// Supernode Configurations, base off chipyard's RocketConfig
|
||||||
//**********************************************************************************
|
//**********************************************************************************
|
||||||
|
|||||||
Submodule generators/testchipip updated: f1b41df80d...535eb6c583
Reference in New Issue
Block a user