mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-17 16:53:46 +00:00
ecp5: Don't attempt to promote undriven nets to globals
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
d946cfd265
commit
8fa3088057
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user