aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-08-07 10:40:25 +0100
committerGitHub <noreply@github.com>2019-08-07 10:40:25 +0100
commiteaef3b600e2e8c4633db25edd4ad017b59a1cc79 (patch)
tree66a6e88614d99dfdf8c15ac3a1d1a13339784f9c /common/placer1.cc
parent1ecf271cb32f9f78ea082788c6534f2523144d01 (diff)
parent8eef6ac55e48aa181d1e268fcec004a58f9d8db4 (diff)
downloadnextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.tar.gz
nextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.tar.bz2
nextpnr-eaef3b600e2e8c4633db25edd4ad017b59a1cc79.zip
Merge pull request #306 from YosysHQ/dave/jsonfix
Major improvements to constants/Property
Diffstat (limited to 'common/placer1.cc')
-rw-r--r--common/placer1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index cb7ae847..6683ddf7 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -159,7 +159,7 @@ class SAPlacer
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 "