mirror of https://github.com/YosysHQ/nextpnr.git
router2: Fix ripup of constant nets
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
68c1acd80a
commit
90b9be4859
|
|
@ -448,7 +448,7 @@ struct Router2
|
|||
WireId src = nets.at(net->udata).src_wire;
|
||||
WireId cursor = ad.sink_wire;
|
||||
while (cursor != src &&
|
||||
(net->constant_value == IdString() || ctx->getWireConstantValue(cursor) == net->constant_value)) {
|
||||
(net->constant_value == IdString() || ctx->getWireConstantValue(cursor) != net->constant_value)) {
|
||||
PipId pip = nd.wires.at(cursor).first;
|
||||
unbind_pip_internal(nd, user, cursor);
|
||||
cursor = ctx->getPipSrcWire(pip);
|
||||
|
|
|
|||
Loading…
Reference in New Issue