aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/bitstream.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-09-30 15:13:18 +0100
committerDavid Shah <davey1576@gmail.com>2018-09-30 15:13:18 +0100
commitea03aafc26f8d7c6cde75b9054a508470f91965b (patch)
tree64ce318cb1e06d84a0b68719b8e895cd437639f7 /ice40/bitstream.cc
parent2e7aeaef974c8c104e61de03bc57f0ea764bd9c0 (diff)
downloadnextpnr-ea03aafc26f8d7c6cde75b9054a508470f91965b.tar.gz
nextpnr-ea03aafc26f8d7c6cde75b9054a508470f91965b.tar.bz2
nextpnr-ea03aafc26f8d7c6cde75b9054a508470f91965b.zip
clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r--ice40/bitstream.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc
index 124be092..e56ed37d 100644
--- a/ice40/bitstream.cc
+++ b/ice40/bitstream.cc
@@ -472,7 +472,6 @@ void write_asc(const Context *ctx, std::ostream &out)
}
}
-
if (ctx->args.type == ArchArgs::LP1K || ctx->args.type == ArchArgs::HX1K) {
set_config(ti, config.at(iey).at(iex), "IoCtrl.IE_" + std::to_string(iez), !input_en);
set_config(ti, config.at(iey).at(iex), "IoCtrl.REN_" + std::to_string(iez), !pullup);
@@ -512,8 +511,6 @@ void write_asc(const Context *ctx, std::ostream &out)
set_config(ti, config.at(ciey).at(ciex), "IoCtrl.cf_bit_35", !pullup);
}
}
-
-
}
} else if (cell.second->type == ctx->id("SB_GB")) {
// no cell config bits
@@ -914,7 +911,7 @@ bool read_asc(Context *ctx, std::istream &in)
}
if (isUsed) {
NetInfo *net = ctx->wire_to_net[pi.dst];
- if (net!=nullptr) {
+ if (net != nullptr) {
WireId wire;
wire.index = pi.dst;
ctx->unbindWire(wire);