aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-02-01 11:46:10 +0000
committerD. Shah <dave@ds0.me>2021-02-02 17:00:33 +0000
commit6566a011b43289b9b550f3b7f8801156275cb321 (patch)
tree7c8f89b52c7a18f6df3d2026b5403bf5c1e416f2 /nexus/pack.cc
parentb31b21fd5151ab783fbe665e23a0848b2c172339 (diff)
downloadnextpnr-6566a011b43289b9b550f3b7f8801156275cb321.tar.gz
nextpnr-6566a011b43289b9b550f3b7f8801156275cb321.tar.bz2
nextpnr-6566a011b43289b9b550f3b7f8801156275cb321.zip
nexus: Implement IdStringList for all arch object names
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index df479ef5..32bdfdb9 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -544,7 +544,7 @@ struct NexusPacker
{
if (!ci->attrs.count(id_BEL))
return BelId();
- return ctx->getBelByName(ctx->id(ci->attrs.at(id_BEL).as_string()));
+ return ctx->getBelByNameStr(ci->attrs.at(id_BEL).as_string());
}
void pack_io()