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 Oct 1, 2024
1 parent c1733ea commit d63d8d9
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 @@ -201,7 +201,7 @@ def __init__(self, io, o1, o2, oe1, oe2=None, i1=None, i2=None, clk=None):
self.o1 = o1
self.o2 = o2
self.oe1 = oe1
self.oe2 = oe2
self.oe2 = oe2 if not (oe2 == oe1) else None
self.i1 = i1 if i1 is not None else Signal()
self.i2 = i2 if i2 is not None else Signal()
self.clk = clk if clk is not None else ClockSignal()
Expand Down

0 comments on commit d63d8d9

Please sign in to comment.