aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/bitstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/bitstream.cc')
-rw-r--r--ecp5/bitstream.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index f4f175bb..0e8d4aa4 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -234,6 +234,9 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
std::string cib_wirename = ctx->locInfo(cib_wire)->wire_data[cib_wire.index].name.get();
cc.tiles[cib_tile].add_enum("CIB." + cib_wirename + "MUX", "0");
}
+ if (dir == "INPUT") {
+ cc.tiles[pio_tile].add_enum(pio + ".HYSTERESIS", "ON");
+ }
} else {
NPNR_ASSERT_FALSE("unsupported cell type");
}