mirror of https://github.com/YosysHQ/nextpnr.git
make sure that the pip used is the one assigned
This commit is contained in:
parent
c064d20f25
commit
51cec70501
|
|
@ -318,7 +318,11 @@ void GateMateImpl::reassign_bridges(NetInfo* ni, const dict<WireId, PipMap>& net
|
||||||
auto dst = ctx->getPipDstWire(pip);
|
auto dst = ctx->getPipDstWire(pip);
|
||||||
|
|
||||||
// Ignore wires not part of the net
|
// Ignore wires not part of the net
|
||||||
if (!net_wires.count(dst))
|
auto it = net_wires.find(dst);
|
||||||
|
if (it == net_wires.end())
|
||||||
|
continue;
|
||||||
|
// Ignore pips if the wire is driven by another pip.
|
||||||
|
if (pip != it->second.pip)
|
||||||
continue;
|
continue;
|
||||||
// Ignore wires already visited.
|
// Ignore wires already visited.
|
||||||
if (wire_to_net.count(dst))
|
if (wire_to_net.count(dst))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue