aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-01-12 20:44:22 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:27 +0000
commit44f98c545b353c823692f91953c1ca74b6be2d4f (patch)
tree99f34162e01fa6fc74e5f34e56491bb9fec704e2 /common
parent140baf70374b9f0f57793f46b06df6906627b119 (diff)
downloadnextpnr-44f98c545b353c823692f91953c1ca74b6be2d4f.tar.gz
nextpnr-44f98c545b353c823692f91953c1ca74b6be2d4f.tar.bz2
nextpnr-44f98c545b353c823692f91953c1ca74b6be2d4f.zip
nexus: Add global networks
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index 07b88471..9a856b99 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -506,7 +506,7 @@ void Context::check() const
}
}
}
-
+#ifdef CHECK_WIRES
for (auto w : getWires()) {
auto ni = getBoundWireNet(w);
if (ni != nullptr) {
@@ -514,7 +514,7 @@ void Context::check() const
CHECK_FAIL("wire '%s' missing in wires map of bound net '%s'\n", nameOfWire(w), nameOf(ni));
}
}
-
+#endif
for (auto &c : cells) {
auto ci = c.second.get();
if (c.first != ci->name)