From: Florent Kermarrec Date: Tue, 24 Mar 2020 18:08:38 +0000 (+0100) Subject: build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5. X-Git-Tag: 24jan2021_ls180~528 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0123ccc89332fcb9cb0d537be5fbdbf1616e9331;p=litex.git build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5. --- 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