Skip to content

Commit

Permalink
Clock prerouting Gowin fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianparvino committed May 19, 2024
1 parent b7f91e5 commit cfe0fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/route/router2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ struct Router2
if (src == WireId() && net->constant_value == IdString())
return true;
WireId dst = ctx->getNetinfoSinkWire(net, usr, phys_pin);
if (dst == WireId())
if (dst == WireId() || ctx->getBoundWireNet(dst) == net)
return true;

// Skip routes where there is no routing (special cases)
Expand Down

0 comments on commit cfe0fb1

Please sign in to comment.