m-labs / misoc

The original high performance and small footprint system-on-chip based on Migen™
https://m-labs.hk
Other
306 stars 85 forks source link

liteeth: Fix missing auto-negotiation restart & improper logic for config_reg detection #105

Closed HarryMakes closed 3 years ago

HarryMakes commented 3 years ago

Summary

This is to add the restart mechanism for auto-negotiation under 1000BASE-X, as well as fixing some incorrect logic in my original SGMII implementation on the PCS. The missing restart mechanism is most likely the root cause for issue https://github.com/m-labs/artiq/issues/1562.

Changes

Reference Materials

HarryMakes commented 3 years ago

This has been tested on a Kasli 2.0 in the following scenarios: