Skip to content

Commit

Permalink
Merge pull request #178 from FlyGoat/CPLLREFCLKSEL
Browse files Browse the repository at this point in the history
phy/usp_gth/gty_1000basex: Set proper CPLLREFCLKSEL
  • Loading branch information
enjoy-digital authored Dec 18, 2024
2 parents d2b1b0e + 50ad88c commit 3897ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion liteeth/phy/usp_gth_1000basex.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def __init__(self, refclk_or_clk_pads, data_pads, sys_clk_freq, refclk_freq=200e
i_CPLLLOCKDETCLK = 0b0,
i_CPLLLOCKEN = 0b1,
i_CPLLPD = pll_reset,
i_CPLLREFCLKSEL = 0b001,
i_CPLLREFCLKSEL = 0b111 if refclk_from_fabric else 0b001,
i_CPLLRESET = 0b0,
i_DMONFIFORESET = 0b0,
i_DMONITORCLK = 0b0,
Expand Down
2 changes: 1 addition & 1 deletion liteeth/phy/usp_gty_1000basex.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def __init__(self, refclk_or_clk_pads, data_pads, sys_clk_freq, refclk_freq=200e
i_CPLLLOCKDETCLK = 0b0,
i_CPLLLOCKEN = 0b1,
i_CPLLPD = pll_reset,
i_CPLLREFCLKSEL = 0b001,
i_CPLLREFCLKSEL = 0b111 if refclk_from_fabric else 0b001,
i_CPLLRESET = 0b0,
i_DMONFIFORESET = 0b0,
i_DMONITORCLK = 0b0,
Expand Down

0 comments on commit 3897ed0

Please sign in to comment.