pbus: clarify that we are adding buffers when attaching to sbus
This commit is contained in:
parent
8fc4d78c84
commit
a902e15987
@ -48,5 +48,5 @@ trait HasPeripheryBus extends HasSystemBus {
|
|||||||
val pbus = new PeripheryBus(pbusParams)
|
val pbus = new PeripheryBus(pbusParams)
|
||||||
|
|
||||||
// The peripheryBus hangs off of systemBus; here we convert TL-UH -> TL-UL
|
// The peripheryBus hangs off of systemBus; here we convert TL-UH -> TL-UL
|
||||||
pbus.fromSystemBus := sbus.toPeripheryBus(nBuffers = 1)
|
pbus.fromSystemBus := sbus.toPeripheryBus(addBuffers = 1)
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,8 @@ class SystemBus(params: SystemBusParams)(implicit p: Parameters) extends TLBusWr
|
|||||||
|
|
||||||
def toSplitSlaves: TLOutwardNode = outwardSplitNode
|
def toSplitSlaves: TLOutwardNode = outwardSplitNode
|
||||||
|
|
||||||
def toPeripheryBus(nBuffers: Int): TLOutwardNode = {
|
def toPeripheryBus(addBuffers: Int): TLOutwardNode = {
|
||||||
val (in, out) = bufferChain(nBuffers, name = Some("pbus"))
|
val (in, out) = bufferChain(addBuffers, name = Some("pbus"))
|
||||||
in := pbus_fixer.node
|
in := pbus_fixer.node
|
||||||
out
|
out
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user