mirror of https://github.com/YosysHQ/nextpnr.git
ecp5: Don't promote VCC/GND to globals even if connected to clock port
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
2cebd40f2e
commit
2aaef61547
|
|
@ -68,6 +68,8 @@ class Ecp5GlobalRouter
|
|||
std::unordered_map<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"))
|
||||
continue;
|
||||
clockCount[ni->name] = 0;
|
||||
for (const auto &user : ni->users) {
|
||||
if (is_clock_port(user)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue