From b318300414fb7e768aec5189c084b614513dbc61 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 11 Apr 2019 21:51:09 +0200 Subject: [PATCH] phy/ku_1000basex: keep tx/rx in reset until pll is fully reseted and locked --- liteeth/phy/ku_1000basex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/phy/ku_1000basex.py b/liteeth/phy/ku_1000basex.py index ae818b7..10ea6b7 100644 --- a/liteeth/phy/ku_1000basex.py +++ b/liteeth/phy/ku_1000basex.py @@ -832,8 +832,8 @@ class KU_1000BASEX(Module): ) ] self.comb += [ - tx_reset.eq(~pll_locked), - rx_reset.eq(pcs.restart) + tx_reset.eq(pll_reset | ~pll_locked), + rx_reset.eq(pll_reset | ~pll_locked | pcs.restart) ] # Gearbox and PCS connection