projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8ff4a4
)
vendor.lattice_ecp5: correctly generate OE signaling when xdr=0
author
Katherine Temkin
<k@ktemkin.com>
Mon, 25 Jan 2021 15:41:45 +0000
(08:41 -0700)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 15:26:22 +0000
(15:26 +0000)
This fixes a logic bug introduced in
6ce2b21e196a0f93b82748ed046098331d20b3bf
.
nmigen/vendor/lattice_ecp5.py
patch
|
blob
|
history
diff --git
a/nmigen/vendor/lattice_ecp5.py
b/nmigen/vendor/lattice_ecp5.py
index 31efb0044ad80bbad12540d336bacebebca5dbe6..345112531137337521732f2fee111c784849971b 100644
(file)
--- a/
nmigen/vendor/lattice_ecp5.py
+++ b/
nmigen/vendor/lattice_ecp5.py
@@
-526,7
+526,7
@@
class LatticeECP5Platform(TemplatedPlatform):
if "o" in pin.dir:
o = pin_o
if pin.dir in ("oe", "io"):
- t =
~pin.oe
+ t =
Repl(~pin.oe, pin.width)
elif pin.xdr == 1:
if "i" in pin.dir:
get_ireg(pin.i_clk, i, pin_i)