Skip to content

Commit 09de190

Browse files
ktemkinwhitequark
authored andcommitted
vendor.lattice_ecp5: correctly generate OE signaling when xdr=0
This fixes a logic bug introduced in 6ce2b21.
1 parent 6ce2b21 commit 09de190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nmigen/vendor/lattice_ecp5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def get_oneg(a, invert):
526526
if "o" in pin.dir:
527527
o = pin_o
528528
if pin.dir in ("oe", "io"):
529-
t = ~pin.oe
529+
t = Repl(~pin.oe, pin.width)
530530
elif pin.xdr == 1:
531531
if "i" in pin.dir:
532532
get_ireg(pin.i_clk, i, pin_i)

0 commit comments

Comments
 (0)