From 2dfd4398c9123704b102e84605245f0bdfc239f1 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 23 Jun 2023 08:50:30 +0200 Subject: [PATCH] phy/usp_gtX_1000basex: Use CPLLREFCLKSEL = 0b001 to let Vivado automatically select the right refclk. --- liteeth/phy/usp_gth_1000basex.py | 2 +- liteeth/phy/usp_gty_1000basex.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/phy/usp_gth_1000basex.py b/liteeth/phy/usp_gth_1000basex.py index 4c89eb0..cb62223 100644 --- a/liteeth/phy/usp_gth_1000basex.py +++ b/liteeth/phy/usp_gth_1000basex.py @@ -556,7 +556,7 @@ class USP_GTH_1000BASEX(LiteXModule): i_CPLLLOCKDETCLK = 0b0, i_CPLLLOCKEN = 0b1, i_CPLLPD = pll_reset, - i_CPLLREFCLKSEL = 0b111, + i_CPLLREFCLKSEL = 0b001, i_CPLLRESET = 0b0, i_DMONFIFORESET = 0b0, i_DMONITORCLK = 0b0, diff --git a/liteeth/phy/usp_gty_1000basex.py b/liteeth/phy/usp_gty_1000basex.py index 00f5230..1465965 100644 --- a/liteeth/phy/usp_gty_1000basex.py +++ b/liteeth/phy/usp_gty_1000basex.py @@ -574,7 +574,7 @@ class USP_GTY_1000BASEX(LiteXModule): i_CPLLLOCKDETCLK = 0b0, i_CPLLLOCKEN = 0b1, i_CPLLPD = pll_reset, - i_CPLLREFCLKSEL = 0b111, + i_CPLLREFCLKSEL = 0b001, i_CPLLRESET = 0b0, i_DMONFIFORESET = 0b0, i_DMONITORCLK = 0b0,