amaranth-lang / amaranth-boards

Board definitions for Amaranth HDL
BSD 2-Clause "Simplified" License
106 stars 109 forks source link

Factor out resource "eth_rgmii" #12

Open nmigen-issue-migration opened 5 years ago

nmigen-issue-migration commented 5 years ago

Issue by whitequark Friday Jun 28, 2019 at 03:47 GMT Originally opened as https://github.com/m-labs/nmigen-boards/issues/10


Boards using it:

nmigen-issue-migration commented 4 years ago

Comment by HarryHo90sHK Tuesday Jan 07, 2020 at 07:50 GMT


May I know what is meant by factoring out this Ethernet resource? Will ECP5 boards not be able to use RGMII?

On a side note, the rx_ctl and tx_ctl signals are named rx_ctrl and tx_ctrl respectively. Is this intentional or a bug? Thanks!

nmigen-issue-migration commented 4 years ago

Comment by whitequark Tuesday Jan 07, 2020 at 08:24 GMT


May I know what is meant by factoring out this Ethernet resource?

Do a change similar to this commit: https://github.com/m-labs/nmigen-boards/commit/07156e68dd003e21a4b36819de80a239e0ab910f

Will ECP5 boards not be able to use RGMII?

Of course they will, or the board definition file would be pretty useless.

On a side note, the rx_ctl and tx_ctl signals are named rx_ctrl and tx_ctrl respectively. Is this intentional or a bug?

That is a typo.

TechnoMancer commented 2 years ago

When doing this and #13 I believe the MDIO should also be factored out into a separate resource, the managment bus for the PHYs supports multiple PHYs on one bus and it is not uncommon for multiple PHYs to share the same MDIO bus, which if the MDIO is part of the RGMIIResource or SGMIIResource will prevent using more than one such PHY on a board.

Some discussion in this direction has happened in #149