diff --git a/litex/build/altera/common.py b/litex/build/altera/common.py index a39de37e9d..7b41b078f1 100644 --- a/litex/build/altera/common.py +++ b/litex/build/altera/common.py @@ -135,7 +135,7 @@ def lower(dr): class AlteraSDRInput: @staticmethod def lower(dr): - return AlteraDDRInputImpl(dr.i, dr.o, Signal(), dr.clk) + return AlteraDDRInputImpl(dr.i, dr.o, Signal(len(dr.o)), dr.clk) # Special Overrides -------------------------------------------------------------------------------- @@ -225,7 +225,7 @@ def lower(dr): class Agilex5SDRInput: @staticmethod def lower(dr): - return Agilex5DDRInputImpl(dr.i, dr.o, Signal(), dr.clk) + return Agilex5DDRInputImpl(dr.i, dr.o, Signal(len(dr.o)), dr.clk) # Agilex5 SDRTristate ------------------------------------------------------------------------------ diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 8ce05598cc..4e98b80e2b 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -528,7 +528,7 @@ def lower(dr): class LatticeiCE40SDRInput: @staticmethod def lower(dr): - return LatticeiCE40DDRInputImpl(dr.i, dr.o, Signal(), dr.clk) + return LatticeiCE40DDRInputImpl(dr.i, dr.o, Signal(len(dr.o)), dr.clk) # iCE40 SDR Tristate ------------------------------------------------------------------------------- diff --git a/litex/build/xilinx/common.py b/litex/build/xilinx/common.py index 73ccd510dc..15c286f087 100644 --- a/litex/build/xilinx/common.py +++ b/litex/build/xilinx/common.py @@ -255,7 +255,7 @@ def lower(dr): class XilinxSDRInputS6: @staticmethod def lower(dr): - return XilinxDDRInputImplS6(dr.i, dr.o, Signal(), dr.clk) + return XilinxDDRInputImplS6(dr.i, dr.o, Signal(len(dr.o)), dr.clk) # Spartan6 Special Overrides ----------------------------------------------------------------------- @@ -323,7 +323,7 @@ def lower(dr): class XilinxSDRInputS7: @staticmethod def lower(dr): - return XilinxDDRInputImplS7(dr.i, dr.o, Signal(), dr.clk) + return XilinxDDRInputImplS7(dr.i, dr.o, Signal(len(dr.o)), dr.clk) # 7-Series Special Overrides -----------------------------------------------------------------------