From eb6010d784748a05d943f6f4f7377a4f6068d2b0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Nov 2017 00:46:20 +0100 Subject: [PATCH] phy/kusddrphy: use locally inverted clk_b on iserdese3 --- litedram/phy/kusddrphy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/litedram/phy/kusddrphy.py b/litedram/phy/kusddrphy.py index 7e94cf6..3bcdc8e 100644 --- a/litedram/phy/kusddrphy.py +++ b/litedram/phy/kusddrphy.py @@ -222,12 +222,16 @@ class KUSDDRPHY(Module, AutoCSR): i_T=~oe_dq ), Instance("ISERDESE3", + p_IS_CLK_INVERTED=0, + p_IS_CLK_B_INVERTED=1, p_DATA_WIDTH=8, i_D=dq_i_delayed, i_RST=ResetSignal(), i_FIFO_RD_CLK=0, i_FIFO_RD_EN=0, - i_CLK=ClockSignal("sys4x"), i_CLK_B=~ClockSignal("sys4x"), i_CLKDIV=ClockSignal(), + i_CLK=ClockSignal("sys4x"), + i_CLK_B=ClockSignal("sys4x"), # locally inverted + i_CLKDIV=ClockSignal(), o_Q=dq_bitslip.i ), Instance("ODELAYE3",