From d63d8d99dfe5865fc3438bdc6c9e6733b9597228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Wed, 18 Sep 2024 15:05:46 +0200 Subject: [PATCH] build: io.py: DDRTristate: check oe2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit check oe2 if it is equal to oe1, if it is set it to None. Signed-off-by: Fin Maaß --- litex/build/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/io.py b/litex/build/io.py index 20d53443a..3abf919fe 100644 --- a/litex/build/io.py +++ b/litex/build/io.py @@ -201,7 +201,7 @@ class DDRTristate(Special): 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()