aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/pack.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-02-18 12:07:49 +0000
committerGitHub <noreply@github.com>2022-02-18 12:07:49 +0000
commit347ba3afb3f541edc594c8bc276cce481c7a7e03 (patch)
tree28483964fb3c92bc104ab6162d1c9196651ced26 /machxo2/pack.cc
parent61d1db16be2c68cf6ae8b4d2ff3266b5c7086ad2 (diff)
parent6a32aca4ac8705b637943c236cedd2f36422fb21 (diff)
downloadnextpnr-347ba3afb3f541edc594c8bc276cce481c7a7e03.tar.gz
nextpnr-347ba3afb3f541edc594c8bc276cce481c7a7e03.tar.bz2
nextpnr-347ba3afb3f541edc594c8bc276cce481c7a7e03.zip
Merge pull request #919 from YosysHQ/gatecat/netlist-iii
refactor: New member functions to replace design_utils
Diffstat (limited to 'machxo2/pack.cc')
-rw-r--r--machxo2/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/machxo2/pack.cc b/machxo2/pack.cc
index de607865..5051a981 100644
--- a/machxo2/pack.cc
+++ b/machxo2/pack.cc
@@ -286,7 +286,7 @@ static void pack_io(Context *ctx)
log_info("Removing top-level IOBUF '%s' of type '%s'\n", ci->name.c_str(ctx), ci->type.c_str(ctx));
for (auto &p : ci->ports)
- disconnect_port(ctx, ci, p.first);
+ ci->disconnectPort(p.first);
packed_cells.insert(ci->name);
} else if (is_facade_iob(ctx, ci)) {
// If FACADE_IO has LOC attribute, convert the LOC (pin) to a BEL