aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-08-01 03:59:27 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-08-01 03:59:27 +0100
commit85fc356fc1c50d0c2be4e44f6d430d4ce68cf644 (patch)
tree42612a353146d2c361d7d848cd55b44f03189637 /ice40/pack.cc
parent7d62c89fd534ead842ee0873677f9d0e476b0e28 (diff)
downloadnextpnr-85fc356fc1c50d0c2be4e44f6d430d4ce68cf644.tar.gz
nextpnr-85fc356fc1c50d0c2be4e44f6d430d4ce68cf644.tar.bz2
nextpnr-85fc356fc1c50d0c2be4e44f6d430d4ce68cf644.zip
clangformat
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r--ice40/pack.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index 8182eb70..91dcf846 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -662,12 +662,12 @@ static void pack_special(Context *ctx)
auto feedback_path = packed->params[ctx->id("FEEDBACK_PATH")];
packed->params[ctx->id("FEEDBACK_PATH")] =
- feedback_path == "DELAY" ? "0" : feedback_path == "SIMPLE"
- ? "1"
- : feedback_path == "PHASE_AND_DELAY"
- ? "2"
- : feedback_path == "EXTERNAL" ? "6"
- : feedback_path;
+ feedback_path == "DELAY"
+ ? "0"
+ : feedback_path == "SIMPLE" ? "1"
+ : feedback_path == "PHASE_AND_DELAY"
+ ? "2"
+ : feedback_path == "EXTERNAL" ? "6" : feedback_path;
packed->params[ctx->id("PLLTYPE")] = std::to_string(sb_pll40_type(ctx, ci));
NetInfo *pad_packagepin_net = nullptr;