From 59be095512462be83c736326c8ed7a7e5240a5e0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Nov 2017 10:35:48 +0100 Subject: [PATCH] gateware/serwb/kusphy: use locally inverted clk_b on iserdese3 --- artiq/gateware/serwb/kusphy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/serwb/kusphy.py b/artiq/gateware/serwb/kusphy.py index 74cb16fbf..b5303122f 100644 --- a/artiq/gateware/serwb/kusphy.py +++ b/artiq/gateware/serwb/kusphy.py @@ -195,12 +195,15 @@ class KUSSerdes(Module): i_IDATAIN=serdes_i_nodelay, o_DATAOUT=serdes_i_delayed ), Instance("ISERDESE3", + p_IS_CLK_INVERTED=0, + p_IS_CLK_B_INVERTED=1, p_DATA_WIDTH=8, i_D=serdes_i_delayed, i_RST=ResetSignal("serwb_serdes"), i_FIFO_RD_CLK=0, i_FIFO_RD_EN=0, - i_CLK=ClockSignal("serwb_serdes_20x"), i_CLK_B=~ClockSignal("serwb_serdes_20x"), + i_CLK=ClockSignal("serwb_serdes_20x"), + i_CLK_B=ClockSignal("serwb_serdes_20x"), # locally inverted i_CLKDIV=ClockSignal("serwb_serdes_5x"), o_Q=serdes_q )