Skip to content

Commit

Permalink
Merge pull request #160 from whiteb3ar/master
Browse files Browse the repository at this point in the history
phy/ecp5rgmii.py: In-Band Status CSRField("clock_speed") size fixed
  • Loading branch information
enjoy-digital authored Apr 14, 2024
2 parents a0d59dd + 0e8079a commit e209a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteeth/phy/ecp5rgmii.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, pads, rx_delay=2e-9, with_inband_status=True):
("``0b0``", "Link down."),
("``0b1``", "Link up."),
]),
CSRField("clock_speed", size=1, values=[
CSRField("clock_speed", size=2, values=[
("``0b00``", "2.5MHz (10Mbps)."),
("``0b01``", "25MHz (100MBps)."),
("``0b10``", "125MHz (1000MBps)."),
Expand Down

0 comments on commit e209a1c

Please sign in to comment.