aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-01 15:52:32 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-01 15:52:32 +0200
commitd5d8213871d8cb68b2e4ef9b3557879c80ff5b51 (patch)
tree03b1c06d747986941187e2b5d72cc2f93ac2702b /ice40/pack.cc
parentccbe2dd18d12d9d201afd5499e9e70ed8d2539de (diff)
downloadnextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.tar.gz
nextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.tar.bz2
nextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.zip
Added support for attributes/properties types
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r--ice40/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index d8796ede..6c5dad39 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -1202,7 +1202,7 @@ static void pack_special(Context *ctx)
? "1"
: feedback_path == "PHASE_AND_DELAY"
? "2"
- : feedback_path == "EXTERNAL" ? "6" : feedback_path;
+ : feedback_path == "EXTERNAL" ? "6" : std::string(feedback_path);
if (!std::all_of(fbp_value.begin(), fbp_value.end(), isdigit))
log_error("PLL '%s' has unsupported FEEDBACK_PATH value '%s'\n", ci->name.c_str(ctx),
feedback_path.c_str());