From: whitequark Date: Fri, 28 Jun 2019 07:05:10 +0000 (+0000) Subject: vendor.lattice_ice40: fix instance of negedge FF due to a typo. X-Git-Tag: locally_working~139 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6454378fe71d4dea7b85c12424a65e4d9487dfa7;p=nmigen.git vendor.lattice_ice40: fix instance of negedge FF due to a typo. --- diff --git a/nmigen/vendor/lattice_ice40.py b/nmigen/vendor/lattice_ice40.py index f298ece..02c9459 100644 --- a/nmigen/vendor/lattice_ice40.py +++ b/nmigen/vendor/lattice_ice40.py @@ -128,7 +128,7 @@ class LatticeICE40Platform(TemplatedPlatform): def _get_io_buffer(self, m, pin, port, attrs, i_invert=None, o_invert=None): def get_dff(clk, d, q): m.submodules += Instance("$dff", - p_CLK_POLARITY=0, + p_CLK_POLARITY=1, p_WIDTH=len(d), i_CLK=clk, i_D=d,