aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-25 17:53:01 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-25 17:53:01 -0700
commit950f33c1bb6260f830e6974583d0e1424146b386 (patch)
tree5086d59b3be9b4a0b6b3959955db79dc7c5f0bd9 /ice40/pack.cc
parente6015dc695dbd29717bd01694726da5dd1033e27 (diff)
downloadnextpnr-950f33c1bb6260f830e6974583d0e1424146b386.tar.gz
nextpnr-950f33c1bb6260f830e6974583d0e1424146b386.tar.bz2
nextpnr-950f33c1bb6260f830e6974583d0e1424146b386.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 91dcf846..8182eb70 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;