aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecp5/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc
index 155d4ecb..5c5c7c13 100644
--- a/ecp5/globals.cc
+++ b/ecp5/globals.cc
@@ -110,7 +110,7 @@ class Ecp5GlobalRouter
void route_logic_tile_global(NetInfo *net, int global_index, PortRef user)
{
- WireId userWire = ctx->getBelPinWire(user.cell->bel, ctx->portPinFromId(user.port));
+ WireId userWire = ctx->getBelPinWire(user.cell->bel, user.port);
WireId globalWire;
IdString global_name = ctx->id(fmt_str("G_HPBX" << std::setw(2) << std::setfill('0') << global_index << "00"));
std::queue<WireId> upstream;