vendor.lattice_ice40: fix instance of negedge FF due to a typo.
This commit is contained in:
parent
1609a5ba54
commit
6454378fe7
2
nmigen/vendor/lattice_ice40.py
vendored
2
nmigen/vendor/lattice_ice40.py
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue