diff --git a/common/route/router2.cc b/common/route/router2.cc index 5650549f..e3e3bb8b 100644 --- a/common/route/router2.cc +++ b/common/route/router2.cc @@ -527,7 +527,8 @@ struct Router2 } cursor = ctx->getPipSrcWire(uh); } - return (cursor == src_wire); + return (cursor == src_wire) || + (net->constant_value != IdString() && ctx->getWireConstantValue(cursor) == net->constant_value); } void record_prerouted_net(NetInfo *net, store_index usr, size_t phys_pin)