aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/router1.cc')
-rw-r--r--common/router1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router1.cc b/common/router1.cc
index d29cdd68..c4708de7 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -535,7 +535,7 @@ void addNetRouteJobs(Context *ctx, const Router1Cfg &cfg, IdString net_name,
#ifdef ARCH_ECP5
// ECP5 global nets currently appear part-unrouted due to arch database limitations
// Don't touch them in the router
- if (!net_info->wires.empty() && net_info->wires.begin()->second.strength == STRENGTH_LOCKED)
+ if (net_info->is_global)
return;
#endif
if (net_info->driver.cell == nullptr)