diff options
author | David Shah <davey1576@gmail.com> | 2018-07-18 14:01:19 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-18 14:01:19 +0200 |
commit | ddd94edfe0af32a33e5b71b9768c706f8b37d61b (patch) | |
tree | aa53be9c75ced41c1837b99babc276687f379f29 /ice40/bitstream.cc | |
parent | acdaec249ad9b6288cc053e4d504ca8f14e41ec6 (diff) | |
download | nextpnr-ddd94edfe0af32a33e5b71b9768c706f8b37d61b.tar.gz nextpnr-ddd94edfe0af32a33e5b71b9768c706f8b37d61b.tar.bz2 nextpnr-ddd94edfe0af32a33e5b71b9768c706f8b37d61b.zip |
ice40: Fixes for inverted clocks
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r-- | ice40/bitstream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index 98a7a0e4..35a460f9 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -192,7 +192,7 @@ void write_asc(const Context *ctx, std::ostream &out) bool val = (pin_type >> i) & 0x01; set_config(ti, config.at(y).at(x), "IOB_" + std::to_string(z) + ".PINTYPE_" + std::to_string(i), val); } - + set_config(ti, config.at(y).at(x), "NegClk", neg_trigger); auto ieren = get_ieren(bi, x, y, z); int iex, iey, iez; std::tie(iex, iey, iez) = ieren; |