liteeth/phy/pcs_1000basex: Avoid deadlock situation in AUTONEG_WAIT_ABI if receiving ACKNOWLEDGE instead of ABILITY.

This commit is contained in:
Florent Kermarrec 2024-10-15 09:52:15 +02:00
parent e5746c8a81
commit 04fc888285
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class PCS(LiteXModule):
If(rx_config_reg_abi.o, If(rx_config_reg_abi.o,
NextState("AUTONEG_WAIT_ACK") NextState("AUTONEG_WAIT_ACK")
), ),
If(checker_tick & ~checker_ok, If((checker_tick & ~checker_ok) | rx_config_reg_ack.o,
self.restart.eq(1), self.restart.eq(1),
NextState("AUTONEG_BREAKLINK") NextState("AUTONEG_BREAKLINK")
) )