From cfe0fb18066088edce15206c35abcf1eca7e0136 Mon Sep 17 00:00:00 2001 From: Adrian Parvin Ouano Date: Mon, 20 May 2024 03:07:52 +0800 Subject: [PATCH] Clock prerouting Gowin fix? --- common/route/router2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/route/router2.cc b/common/route/router2.cc index 8dcec6e91c..77b6f15833 100644 --- a/common/route/router2.cc +++ b/common/route/router2.cc @@ -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)