SystemBus: use a full buffer on slaves
This commit is contained in:
parent
bdaae40035
commit
bf19440db5
@ -12,7 +12,7 @@ case class SystemBusParams(
|
|||||||
beatBytes: Int,
|
beatBytes: Int,
|
||||||
blockBytes: Int,
|
blockBytes: Int,
|
||||||
masterBuffering: BufferParams = BufferParams.default,
|
masterBuffering: BufferParams = BufferParams.default,
|
||||||
slaveBuffering: BufferParams = BufferParams.flow // TODO should be BufferParams.none on BCE
|
slaveBuffering: BufferParams = BufferParams.default
|
||||||
) extends TLBusParams
|
) extends TLBusParams
|
||||||
|
|
||||||
case object SystemBusParams extends Field[SystemBusParams]
|
case object SystemBusParams extends Field[SystemBusParams]
|
||||||
|
@ -97,5 +97,5 @@ trait HasSystemErrorSlave extends HasSystemBus {
|
|||||||
private val params = p(ErrorParams)
|
private val params = p(ErrorParams)
|
||||||
val error = LazyModule(new TLError(params, sbus.beatBytes))
|
val error = LazyModule(new TLError(params, sbus.beatBytes))
|
||||||
|
|
||||||
error.node := TLBuffer(BufferParams.pipe)(sbus.toSlave)
|
error.node := sbus.toSlave
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user