Lattice: Fix port names in SDR{in/out} Impl
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
parent
22d763ee11
commit
54f729fbc1
|
@ -196,7 +196,7 @@ class LatticeNXAsyncResetSynchronizer:
|
||||||
class LatticeNXSDRInputImpl(Module):
|
class LatticeNXSDRInputImpl(Module):
|
||||||
def __init__(self, i, o, clk):
|
def __init__(self, i, o, clk):
|
||||||
self.specials += Instance("IFD1P3BX",
|
self.specials += Instance("IFD1P3BX",
|
||||||
i_SCLK = clk,
|
i_CK = clk,
|
||||||
i_PD = 0,
|
i_PD = 0,
|
||||||
i_SP = 1,
|
i_SP = 1,
|
||||||
i_D = i,
|
i_D = i,
|
||||||
|
@ -213,7 +213,7 @@ class LatticeNXSDRInput:
|
||||||
class LatticeNXSDROutputImpl(Module):
|
class LatticeNXSDROutputImpl(Module):
|
||||||
def __init__(self, i, o, clk):
|
def __init__(self, i, o, clk):
|
||||||
self.specials += Instance("OFD1P3BX",
|
self.specials += Instance("OFD1P3BX",
|
||||||
i_SCLK = clk,
|
i_CK = clk,
|
||||||
i_PD = 0,
|
i_PD = 0,
|
||||||
i_SP = 1,
|
i_SP = 1,
|
||||||
i_D = i,
|
i_D = i,
|
||||||
|
|
Loading…
Reference in New Issue