From 0123ccc89332fcb9cb0d537be5fbdbf1616e9331 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 24 Mar 2020 19:08:38 +0100 Subject: [PATCH] build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5. --- litex/build/lattice/common.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 2a99f848..6c01ac41 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -33,19 +33,16 @@ class LatticeECPXAsyncResetSynchronizer: def lower(dr): return LatticeECPXAsyncResetSynchronizerImpl(dr.cd, dr.async_reset) -# ECPX Differential Output ------------------------------------------------------------------------- +# ECPX DDDR Output --------------------------------------------------------------------------------- class LatticeECPXDDROutputImpl(Module): def __init__(self, i1, i2, o, clk): - self.specials += [ - Instance("ODDRXD1", - synthesis_directive="ODDRAPPS=\"SCLK_ALIGNED\"", - i_SCLK = clk, - i_DA = i1, - i_DB = i2, - o_Q = o) - ] - + self.specials += Instance("ODDRX1F", + i_SCLK = clk, + i_D0 = i1, + i_D1 = i2, + o_Q = o, + ) class LatticeECPXDDROutput: @staticmethod -- 2.30.2