build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5.
This commit is contained in:
parent
5a402264d0
commit
0123ccc893
|
@ -33,19 +33,16 @@ class LatticeECPXAsyncResetSynchronizer:
|
||||||
def lower(dr):
|
def lower(dr):
|
||||||
return LatticeECPXAsyncResetSynchronizerImpl(dr.cd, dr.async_reset)
|
return LatticeECPXAsyncResetSynchronizerImpl(dr.cd, dr.async_reset)
|
||||||
|
|
||||||
# ECPX Differential Output -------------------------------------------------------------------------
|
# ECPX DDDR Output ---------------------------------------------------------------------------------
|
||||||
|
|
||||||
class LatticeECPXDDROutputImpl(Module):
|
class LatticeECPXDDROutputImpl(Module):
|
||||||
def __init__(self, i1, i2, o, clk):
|
def __init__(self, i1, i2, o, clk):
|
||||||
self.specials += [
|
self.specials += Instance("ODDRX1F",
|
||||||
Instance("ODDRXD1",
|
i_SCLK = clk,
|
||||||
synthesis_directive="ODDRAPPS=\"SCLK_ALIGNED\"",
|
i_D0 = i1,
|
||||||
i_SCLK = clk,
|
i_D1 = i2,
|
||||||
i_DA = i1,
|
o_Q = o,
|
||||||
i_DB = i2,
|
)
|
||||||
o_Q = o)
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class LatticeECPXDDROutput:
|
class LatticeECPXDDROutput:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue