From 54f729fbc1728de90f0ffbdfd32935153111acb4 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Sun, 25 Apr 2021 19:47:30 +0200 Subject: [PATCH] Lattice: Fix port names in SDR{in/out} Impl Signed-off-by: Karol Gugala --- litex/build/lattice/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 20d5ccb4b..73d3a6581 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -196,7 +196,7 @@ class LatticeNXAsyncResetSynchronizer: class LatticeNXSDRInputImpl(Module): def __init__(self, i, o, clk): self.specials += Instance("IFD1P3BX", - i_SCLK = clk, + i_CK = clk, i_PD = 0, i_SP = 1, i_D = i, @@ -213,7 +213,7 @@ class LatticeNXSDRInput: class LatticeNXSDROutputImpl(Module): def __init__(self, i, o, clk): self.specials += Instance("OFD1P3BX", - i_SCLK = clk, + i_CK = clk, i_PD = 0, i_SP = 1, i_D = i,