tilelink2 TLNodes: capture nodePath in {Client,Manager}Parameters
This commit is contained in:
parent
915a929af1
commit
2587234838
@ -24,6 +24,11 @@ object TLImp extends NodeImp[TLClientPortParameters, TLManagerPortParameters, TL
|
|||||||
TLMonitor.legalize(bo, eo)
|
TLMonitor.legalize(bo, eo)
|
||||||
bi <> bo
|
bi <> bo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override def mixO(po: TLClientPortParameters, node: TLBaseNode): TLClientPortParameters =
|
||||||
|
po.copy(clients = po.clients.map { c => c.copy (nodePath = node +: c.nodePath) })
|
||||||
|
override def mixI(pi: TLManagerPortParameters, node: TLBaseNode): TLManagerPortParameters =
|
||||||
|
pi.copy(managers = pi.managers.map { m => m.copy (nodePath = node +: m.nodePath) })
|
||||||
}
|
}
|
||||||
|
|
||||||
case class TLIdentityNode() extends IdentityNode(TLImp)
|
case class TLIdentityNode() extends IdentityNode(TLImp)
|
||||||
|
Loading…
Reference in New Issue
Block a user