tilelink2: edge parameters on the same link had better match
This commit is contained in:
parent
c411a3e77f
commit
e652cd155b
@ -20,6 +20,7 @@ object TLImp extends NodeImp[TLClientPortParameters, TLManagerPortParameters, TL
|
|||||||
}
|
}
|
||||||
|
|
||||||
def connect(bo: TLBundle, eo: TLEdgeOut, bi: TLBundle, ei: TLEdgeIn)(implicit sourceInfo: SourceInfo): Unit = {
|
def connect(bo: TLBundle, eo: TLEdgeOut, bi: TLBundle, ei: TLEdgeIn)(implicit sourceInfo: SourceInfo): Unit = {
|
||||||
|
require (eo.asInstanceOf[TLEdgeParameters] == ei.asInstanceOf[TLEdgeParameters])
|
||||||
TLMonitor.legalize(bo, eo, bi, ei, sourceInfo)
|
TLMonitor.legalize(bo, eo, bi, ei, sourceInfo)
|
||||||
bi <> bo
|
bi <> bo
|
||||||
val mask = ~UInt(ei.manager.beatBytes - 1)
|
val mask = ~UInt(ei.manager.beatBytes - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user