Skip to content

Commit

Permalink
build: io.py: DDRTristate: check oe2
Browse files Browse the repository at this point in the history
check oe2 if it is equal to oe1, if it is set it to None.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg committed Sep 18, 2024
1 parent 37ac79b commit 46be90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/build/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def __init__(self, io, o1, o2, oe1, oe2=None, i1=Signal(), i2=Signal(), clk=Cloc
self.o1 = o1
self.o2 = o2
self.oe1 = oe1
self.oe2 = oe2
self.oe2 = oe2 if not (oe2 == oe1) else None
self.i1 = i1
self.i2 = i2
self.clk = clk
Expand Down

0 comments on commit 46be90e

Please sign in to comment.