aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/bitstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r--ice40/bitstream.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc
index d2c2ac16..44d385e4 100644
--- a/ice40/bitstream.cc
+++ b/ice40/bitstream.cc
@@ -514,6 +514,7 @@ void write_asc(const Context *ctx, std::ostream &out)
}
input_en = (input_en & !used_by_pll_out) | used_by_pll_pad;
+ input_en |= cell.second->ioInfo.global;
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);