1
0

FrontBus: attach to splitter for cross-chip visibility

This commit is contained in:
Wesley W. Terpstra 2017-09-05 15:02:16 -07:00
parent 5886025b1a
commit e65f49b89a
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@ case class FrontBusParams(
beatBytes: Int,
blockBytes: Int,
masterBuffering: BufferParams = BufferParams.default,
slaveBuffering: BufferParams = BufferParams.none
slaveBuffering: BufferParams = BufferParams.default
) extends TLBusParams
case object FrontBusParams extends Field[FrontBusParams]
@ -56,6 +56,6 @@ trait HasFrontBus extends HasSystemBus {
val fbus = new FrontBus(frontbusParams)
sbus.bufferFromMasters := fbus.toSystemBus
sbus.fromFrontBus := fbus.toSystemBus
}

View File

@ -49,6 +49,8 @@ class SystemBus(params: SystemBusParams)(implicit p: Parameters) extends TLBusWr
def fromCoherentChip: TLInwardNode = inwardNode
def fromFrontBus: TLInwardNode = master_splitter.node
def fromSyncTiles(params: BufferParams, addBuffers: Int = 0, name: Option[String] = None): TLInwardNode = {
val tile_buf = LazyModule(new TLBuffer(params))
name.foreach { n => tile_buf.suggestName(s"${busName}_${n}_TLBuffer") }