Altera_Forum
Honored Contributor
15 years agoMdio
Does Altera have an MDIO core in the SOPC builder , or mega functions? I want to use the MDIO STA master to configure phy device on the board.
Probably the availability of MDIO core in SOPC builder depends on the version and the licence. I don't know which one includes it and which not. I tried to browse Altera website by I could not find this information.
Basically, MDIO is like I2C; then you can use one of the i2c cores available on opencores.org. If you choose one with wishbone interface, the connection to Avalon bus as a MM device is straightforward. You need a minimal experience with component definition in order to integrate it in sopc builder. Anyway, if you only need MDIO to configure a PHY and don't need great performance, the simplest solution is to implement it with two PIOs and bit bang the communication protocol. Cris