aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-03-17 19:24:05 +0000
committergatecat <gatecat@ds0.me>2022-03-17 19:24:05 +0000
commit14d53dfec8dba93996f5c2877d60f6ed167d14fb (patch)
treef49f9dbf30d2fb467018ec92f94eb6288169724b /ice40
parent2635bab2f1b1a32b2505e0918caa2a91c18ce571 (diff)
downloadnextpnr-14d53dfec8dba93996f5c2877d60f6ed167d14fb.tar.gz
nextpnr-14d53dfec8dba93996f5c2877d60f6ed167d14fb.tar.bz2
nextpnr-14d53dfec8dba93996f5c2877d60f6ed167d14fb.zip
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/pack.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index f533941d..2b5def46 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -59,7 +59,8 @@ static void pack_lut_lutffs(Context *ctx)
if (ctx->verbose)
log_info("found attached dff %s\n", dff->name.c_str(ctx));
auto dff_bel = dff->attrs.find(id_BEL);
- if (lut_bel != ci->attrs.end() && dff_bel != dff->attrs.end() && lut_bel->second != dff_bel->second) {
+ if (lut_bel != ci->attrs.end() && dff_bel != dff->attrs.end() &&
+ lut_bel->second != dff_bel->second) {
// Locations don't match, can't pack
} else {
lut_to_lc(ctx, ci, packed.get(), false);