aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pcf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/pcf.cc')
-rw-r--r--ice40/pcf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/pcf.cc b/ice40/pcf.cc
index 867f6165..56a4a336 100644
--- a/ice40/pcf.cc
+++ b/ice40/pcf.cc
@@ -89,7 +89,7 @@ bool apply_pcf(Context *ctx, std::string filename, std::istream &in)
if (!nowarn)
log_warning("unmatched constraint '%s' (on line %d)\n", cell.c_str(), lineno);
} else {
- BelId pin_bel = ctx->getPackagePinBel(pin);
+ BelId pin_bel = ctx->get_package_pin_bel(pin);
if (pin_bel == BelId())
log_error("package does not have a pin named '%s' (on line %d)\n", pin.c_str(), lineno);
if (fnd_cell->second->attrs.count(ctx->id("BEL")))