FrontBus: attach to splitter for cross-chip visibility
This commit is contained in:
parent
5886025b1a
commit
e65f49b89a
@ -12,7 +12,7 @@ case class FrontBusParams(
|
|||||||
beatBytes: Int,
|
beatBytes: Int,
|
||||||
blockBytes: Int,
|
blockBytes: Int,
|
||||||
masterBuffering: BufferParams = BufferParams.default,
|
masterBuffering: BufferParams = BufferParams.default,
|
||||||
slaveBuffering: BufferParams = BufferParams.none
|
slaveBuffering: BufferParams = BufferParams.default
|
||||||
) extends TLBusParams
|
) extends TLBusParams
|
||||||
|
|
||||||
case object FrontBusParams extends Field[FrontBusParams]
|
case object FrontBusParams extends Field[FrontBusParams]
|
||||||
@ -56,6 +56,6 @@ trait HasFrontBus extends HasSystemBus {
|
|||||||
|
|
||||||
val fbus = new FrontBus(frontbusParams)
|
val fbus = new FrontBus(frontbusParams)
|
||||||
|
|
||||||
sbus.bufferFromMasters := fbus.toSystemBus
|
sbus.fromFrontBus := fbus.toSystemBus
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,8 @@ class SystemBus(params: SystemBusParams)(implicit p: Parameters) extends TLBusWr
|
|||||||
|
|
||||||
def fromCoherentChip: TLInwardNode = inwardNode
|
def fromCoherentChip: TLInwardNode = inwardNode
|
||||||
|
|
||||||
|
def fromFrontBus: TLInwardNode = master_splitter.node
|
||||||
|
|
||||||
def fromSyncTiles(params: BufferParams, addBuffers: Int = 0, name: Option[String] = None): TLInwardNode = {
|
def fromSyncTiles(params: BufferParams, addBuffers: Int = 0, name: Option[String] = None): TLInwardNode = {
|
||||||
val tile_buf = LazyModule(new TLBuffer(params))
|
val tile_buf = LazyModule(new TLBuffer(params))
|
||||||
name.foreach { n => tile_buf.suggestName(s"${busName}_${n}_TLBuffer") }
|
name.foreach { n => tile_buf.suggestName(s"${busName}_${n}_TLBuffer") }
|
||||||
|
Loading…
Reference in New Issue
Block a user