diff options
author | David Shah <davey1576@gmail.com> | 2018-09-29 16:15:17 +0100 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-09-29 16:15:17 +0100 |
commit | f7a270a1d868b632bd178f1927d2270aa11e053d (patch) | |
tree | ca02e9e5e2d3ea2942afca93fb2678d5db8f2a41 /ecp5 | |
parent | c8674652dc9ee7d28bc8ded1c0a9ac7a6e168176 (diff) | |
download | nextpnr-f7a270a1d868b632bd178f1927d2270aa11e053d.tar.gz nextpnr-f7a270a1d868b632bd178f1927d2270aa11e053d.tar.bz2 nextpnr-f7a270a1d868b632bd178f1927d2270aa11e053d.zip |
ecp5: Fix globals.cc following API update
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/globals.cc | 2 |
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; |