From 04fc8882855426111c8aee6a569fed412fd48153 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 15 Oct 2024 09:52:15 +0200 Subject: [PATCH] liteeth/phy/pcs_1000basex: Avoid deadlock situation in AUTONEG_WAIT_ABI if receiving ACKNOWLEDGE instead of ABILITY. --- liteeth/phy/pcs_1000basex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/phy/pcs_1000basex.py b/liteeth/phy/pcs_1000basex.py index 8892a5e..8aeff39 100644 --- a/liteeth/phy/pcs_1000basex.py +++ b/liteeth/phy/pcs_1000basex.py @@ -394,7 +394,7 @@ class PCS(LiteXModule): If(rx_config_reg_abi.o, NextState("AUTONEG_WAIT_ACK") ), - If(checker_tick & ~checker_ok, + If((checker_tick & ~checker_ok) | rx_config_reg_ack.o, self.restart.eq(1), NextState("AUTONEG_BREAKLINK") )