Skip to content

Commit

Permalink
Remove old sbus arg to CoherentBusTopoParams
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Feb 1, 2023
1 parent ba35010 commit 2e9077c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/subsystem/BusTopology.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,14 @@ case class HierarchicalBusTopologyParams(

/** Parameterization of a topology containing a banked coherence manager and a bus for attaching memory devices. */
case class CoherentBusTopologyParams(
sbus: SystemBusParams, // TODO remove this after better width propagation
mbus: MemoryBusParams,
coherence: BankedCoherenceParams,
sbusToMbusXType: ClockCrossingType = NoCrossing,
driveMBusClockFromSBus: Boolean = true
) extends TLBusWrapperTopology(
instantiations = (if (coherence.nBanks == 0) Nil else List(
(MBUS, mbus),
(COH, CoherenceManagerWrapperParams(mbus.blockBytes, mbus.beatBytes, coherence.nBanks, COH.name, sbus.dtsFrequency)(coherence.coherenceManager)))),
(COH, CoherenceManagerWrapperParams(mbus.blockBytes, mbus.beatBytes, coherence.nBanks, COH.name)(coherence.coherenceManager)))),
connections = if (coherence.nBanks == 0) Nil else List(
(SBUS, COH, TLBusWrapperConnection(driveClockFromMaster = Some(true), nodeBinding = BIND_STAR)()),
(COH, MBUS, TLBusWrapperConnection.crossTo(
Expand All @@ -117,3 +116,4 @@ case class ClusterBusTopologyParams(
(CBUS, ccbus)),
connections = Nil
)

1 change: 0 additions & 1 deletion src/main/scala/subsystem/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class WithCoherentBusTopology extends Config((site, here, up) => {
fbusToSbusXType = site(FbusToSbusXTypeKey)),
driveClocksFromSBus = site(DriveClocksFromSBus)),
CoherentBusTopologyParams(
sbus = site(SystemBusKey),
mbus = site(MemoryBusKey),
coherence = site(BankedCoherenceKey),
sbusToMbusXType = site(SbusToMbusXTypeKey),
Expand Down

0 comments on commit 2e9077c

Please sign in to comment.