projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1609a5b
)
vendor.lattice_ice40: fix instance of negedge FF due to a typo.
author
whitequark
<whitequark@whitequark.org>
Fri, 28 Jun 2019 07:05:10 +0000
(07:05 +0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 28 Jun 2019 07:05:20 +0000
(07:05 +0000)
nmigen/vendor/lattice_ice40.py
patch
|
blob
|
history
diff --git
a/nmigen/vendor/lattice_ice40.py
b/nmigen/vendor/lattice_ice40.py
index f298ece7b269071dccc088ab6ed213d72a63ae31..02c9459e25bcb83211251e958c9666ece9cce599 100644
(file)
--- 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,