Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdio writes in udp config #156

Open
ameetgohil opened this issue Feb 15, 2024 · 1 comment
Open

mdio writes in udp config #156

ameetgohil opened this issue Feb 15, 2024 · 1 comment

Comments

@ameetgohil
Copy link

Is there a way to do mdio writes when the core is configured in udp mode?

Here's my core config:

# PHY ----------------------------------------------------------------------
phy:        LiteEthPHYRMII
vendor:     xilinx
toolchain:  vivado
# Core ---------------------------------------------------------------------
clk_freq:   50e6
core:       udp
data_width: 32
endianness: big

udp_ports: {
  "udp0": {
    "data_width": 32,
    "tx_fifo_depth": 1024,
    "rx_fifo_depth": 1024,
  },
  "udp1": {
    "data_width": 32,
    "tx_fifo_depth": 1024,
    "rx_fifo_depth": 1024,
  },
}
@rowanG077
Copy link
Contributor

Well you can use the MDIO pins yourself to do any configuration you want. But there is no MDIO hardware module to do anything for you in liteeth. So you'd have to implement an MDIO master yourself or use one someone else made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants