Skip to content

Commit

Permalink
liteeth/phy/pcs_1000basex: Avoid deadlock situation in AUTONEG_WAIT_A…
Browse files Browse the repository at this point in the history
…BI if receiving ACKNOWLEDGE instead of ABILITY.
  • Loading branch information
enjoy-digital committed Oct 15, 2024
1 parent e5746c8 commit 04fc888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteeth/phy/pcs_1000basex.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def __init__(self, lsb_first=False, check_period=6e-3, more_ack_time=10e-3):
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")
)
Expand Down

0 comments on commit 04fc888

Please sign in to comment.