tilelink: add Bus.toSyncSlaves for easy BufferChain attachment
This commit is contained in:
parent
d5c6494f59
commit
040f7e1d49
@ -79,7 +79,7 @@ abstract class TLBusWrapper(params: TLBusParams, val busName: String)(implicit p
|
||||
|
||||
def bufferToSlaves: TLOutwardNode = outwardBufNode
|
||||
|
||||
def toAsyncSlaves(sync: Int = 3, name: Option[String] = None): TLAsyncOutwardNode = {
|
||||
def toAsyncSlaves(sync: Int = 3, name: Option[String] = None, addBuffers: Int = 0): TLAsyncOutwardNode = {
|
||||
val source = LazyModule(new TLAsyncCrossingSource(sync))
|
||||
name.foreach{ n => source.suggestName(s"${busName}_${n}_TLAsyncCrossingSource")}
|
||||
source.node :*= outwardNode
|
||||
|
Loading…
Reference in New Issue
Block a user