vendor.lattice_ice40: fix instance of negedge FF due to a typo.

This commit is contained in:
whitequark 2019-06-28 07:05:10 +00:00
parent 1609a5ba54
commit 6454378fe7

View file

@ -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,