diff options
Diffstat (limited to 'common/placer_heap.cc')
-rw-r--r-- | common/placer_heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc index d1f5a974..e9fc2fb2 100644 --- a/common/placer_heap.cc +++ b/common/placer_heap.cc @@ -348,7 +348,7 @@ class HeAPPlacer CellInfo *cell = cell_entry.second.get(); auto loc = cell->attrs.find(ctx->id("BEL")); if (loc != cell->attrs.end()) { - std::string loc_name = loc->second; + std::string loc_name = loc->second.as_string(); BelId bel = ctx->getBelByName(ctx->id(loc_name)); if (bel == BelId()) { log_error("No Bel named \'%s\' located for " |