From 381ed305838d7f51d64517bfdb86d0de980473c5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 13 Jun 2023 19:18:29 +0200 Subject: [PATCH] phy/k7_1000basex: Connect tx/rx_reset_done. --- liteeth/phy/k7_1000basex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/phy/k7_1000basex.py b/liteeth/phy/k7_1000basex.py index cddf719..cd1d9b3 100644 --- a/liteeth/phy/k7_1000basex.py +++ b/liteeth/phy/k7_1000basex.py @@ -745,7 +745,7 @@ class K7_1000BASEX(LiteXModule): pll.reset.eq(tx_init.pllreset), tx_init.plllock.eq(pll.lock), tx_reset.eq(tx_init.gtXxreset), - tx_init.Xxresetdone.eq(1), # FIXME. + tx_init.Xxresetdone.eq(tx_reset_done), ] self.sync += tx_mmcm_reset.eq(~pll.lock) tx_mmcm_reset.attr.add("no_retiming") @@ -757,7 +757,7 @@ class K7_1000BASEX(LiteXModule): rx_init.reset.eq(~tx_init.done | self.crg_reset), rx_init.plllock.eq(pll.lock), rx_reset.eq(rx_init.gtXxreset), - rx_init.Xxresetdone.eq(1), # FIXME. + rx_init.Xxresetdone.eq(rx_reset_done), ] ps_restart = PulseSynchronizer("eth_tx", "sys") self.submodules += ps_restart