diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-11-30 10:56:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 10:56:59 +0100 |
commit | 8b5c0dc1e49b692b0bb598a90034c27db653622d (patch) | |
tree | afd13c654df1faa0b5df9f11be74eede087fa564 /common/router2.cc | |
parent | 1afa494e69e3c8af3dd5d1685b9cd2b1d3bea4d0 (diff) | |
parent | 2fe8bebc6ce464afadef2403a8331031e16c5a5d (diff) | |
download | nextpnr-8b5c0dc1e49b692b0bb598a90034c27db653622d.tar.gz nextpnr-8b5c0dc1e49b692b0bb598a90034c27db653622d.tar.bz2 nextpnr-8b5c0dc1e49b692b0bb598a90034c27db653622d.zip |
Merge pull request #524 from daveshah1/nextpnr-nexus
Upstreaming basic support for Nexus devices
Diffstat (limited to 'common/router2.cc')
-rw-r--r-- | common/router2.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/router2.cc b/common/router2.cc index 4dfd868b..15c97e52 100644 --- a/common/router2.cc +++ b/common/router2.cc @@ -774,8 +774,11 @@ struct Router2 if (dst == WireId() || ctx->getBoundWireNet(dst) == net) return true; // Skip routes where there is no routing (special cases) - if (!ad.routed) + if (!ad.routed) { + if ((src == dst) && ctx->getBoundWireNet(dst) != net) + ctx->bindWire(src, net, STRENGTH_WEAK); return true; + } WireId cursor = dst; |