1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-30 21:48:24 +00:00

nexus: Fix routeing of global clocks that also drive fabric

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2021-07-28 15:34:54 +01:00
parent 39a7381928
commit 504199e70e
2 changed files with 37 additions and 2 deletions

View File

@@ -444,6 +444,8 @@ struct Router2
// and LUT
if (iter_count > 7)
return false; // heuristic to assume we've hit general routing
if (wire_data(wire).unavailable)
return true;
if (wire_data(wire).reserved_net != -1 && wire_data(wire).reserved_net != net->udata)
return true; // reserved for another net
for (auto bp : ctx->getWireBelPins(wire))