aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/command.cc')
-rw-r--r--common/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.cc b/common/command.cc
index 7d4cd252..d0ef5174 100644
--- a/common/command.cc
+++ b/common/command.cc
@@ -350,7 +350,7 @@ int CommandHandler::executeMain(std::unique_ptr<Context> ctx)
} else {
for (auto &pair : ctx->cells) {
auto &c = pair.second;
- auto bel = c->attrs.find(ctx->id("BEL"));
+ auto bel = c->attrs.find(ctx->id("NEXTPNR_BEL"));
if (bel!=c->attrs.end())
{
BelId b = ctx->getBelByName(ctx->id(bel->second.c_str()));