build/io/InferedSDRTristate: pass clock domain to SDROutput/SDRInput.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Jul 2020 10:11:47 +0000 (12:11 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Jul 2020 10:11:47 +0000 (12:11 +0200)
litex/build/io.py

index f18f08ac24113e171bf3ce2db9ff45b10f2186da..42f9531ee215e518e59b6afdce6af89f5fbc3787 100644 (file)
@@ -81,8 +81,8 @@ class InferedSDRTristate(Module):
         _o  = Signal()
         _oe = Signal()
         _i  = Signal()
-        self.specials += SDROutput(o, _o)
-        self.specials += SDRInput(_i, i)
+        self.specials += SDROutput(o, _o, clk)
+        self.specials += SDRInput(_i, i, clk)
         self.submodules += InferedSDRIO(oe, _oe, clk, clk_domain)
         self.specials += Tristate(io, _o, _oe, _i)