Make TinyRocketConfig work with multi-clock work
This commit is contained in:
@@ -70,3 +70,13 @@ class WithMulticlockCoherentBusTopology extends Config((site, here, up) => {
|
|||||||
l2 = site(BankedL2Key),
|
l2 = site(BankedL2Key),
|
||||||
sbusToMbusXType = site(SbusToMbusXTypeKey)))
|
sbusToMbusXType = site(SbusToMbusXTypeKey)))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
class WithMulticlockIncoherentBusTopology extends Config((site, here, up) => {
|
||||||
|
case TLNetworkTopologyLocated(InSubsystem) => List(
|
||||||
|
JustOneBusTopologyParams(sbus = site(SystemBusKey)),
|
||||||
|
HierarchicalMulticlockBusTopologyParams(
|
||||||
|
pbus = site(PeripheryBusKey),
|
||||||
|
fbus = site(FrontBusKey),
|
||||||
|
cbus = site(ControlBusKey),
|
||||||
|
xTypes = SubsystemCrossingParams()))
|
||||||
|
})
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class TinyRocketConfig extends Config(
|
|||||||
new chipyard.config.WithTLSerialLocation(
|
new chipyard.config.WithTLSerialLocation(
|
||||||
freechips.rocketchip.subsystem.FBUS,
|
freechips.rocketchip.subsystem.FBUS,
|
||||||
freechips.rocketchip.subsystem.PBUS) ++ // attach TL serial adapter to f/p busses
|
freechips.rocketchip.subsystem.PBUS) ++ // attach TL serial adapter to f/p busses
|
||||||
new freechips.rocketchip.subsystem.WithIncoherentBusTopology ++ // use incoherent bus topology
|
new chipyard.WithMulticlockIncoherentBusTopology ++ // use incoherent bus topology
|
||||||
new freechips.rocketchip.subsystem.WithNBanks(0) ++ // remove L2$
|
new freechips.rocketchip.subsystem.WithNBanks(0) ++ // remove L2$
|
||||||
new freechips.rocketchip.subsystem.WithNoMemPort ++ // remove backing memory
|
new freechips.rocketchip.subsystem.WithNoMemPort ++ // remove backing memory
|
||||||
new freechips.rocketchip.subsystem.With1TinyCore ++ // single tiny rocket-core
|
new freechips.rocketchip.subsystem.With1TinyCore ++ // single tiny rocket-core
|
||||||
|
|||||||
Reference in New Issue
Block a user