aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
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());