aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/globals.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc
index b840ac91..ee30fcec 100644
--- a/ecp5/globals.cc
+++ b/ecp5/globals.cc
@@ -75,7 +75,8 @@ class Ecp5GlobalRouter
dict<IdString, int> clockCount;
for (auto &net : ctx->nets) {
NetInfo *ni = net.second.get();
- if (ni->name == ctx->id("$PACKER_GND_NET") || ni->name == ctx->id("$PACKER_VCC_NET"))
+ if (ni->name == ctx->id("$PACKER_GND_NET") || ni->name == ctx->id("$PACKER_VCC_NET") ||
+ ni->driver.cell == nullptr)
continue;
clockCount[ni->name] = 0;
for (const auto &user : ni->users) {