aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pcf.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2021-02-03 19:55:32 +0000
committerGitHub <noreply@github.com>2021-02-03 19:55:32 +0000
commit155e0b9c428aa32d1ca22d3679db6db50505b2a8 (patch)
treef86b0cc21e71cfed705b82108562d6ca692068be /ice40/pcf.cc
parent9a79163eab89e6351cd06c37d5916174acdfc754 (diff)
parent0865198a9e5d201cc436b90a9338c3c40048e2e0 (diff)
downloadnextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.tar.gz
nextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.tar.bz2
nextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.zip
Merge pull request #565 from YosysHQ/dave/snakecase
Use snake case consistently for non-Arch-API functions
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")))