Forum Discussion
Altera_Forum
Honored Contributor
17 years agoOkay, well you are apparently using version 8.0 of the MAC. They've updated the driver and I'm not as familiar with it. However, I do know that they changed the way they do PHY detection in 8.0. I believe the user has to do a little more than before.
The message you are getting comes from the MAC driver: C:\altera\80\ip\triple_speed_ethernet\lib\sopc_builder\altera_triple_speed_ethernet\HAL\src\altera_avalon_tse.c line number 1,271 The first thing I would check is your MDIO interface to the PHY. The MAC provides 4 signals that get exported outside of SOPC builder for the MDIO interface. mdc - MDIO clock mdio_out - MDIO output data mdio_oen - MDIO output enable mdio_in - MDIO input data At your top level, you need to make sure these are correctly connected to your PHY. Typically you're going to have a single bidirectional signal to/from the PHY which is the mdio data input/output signal. If we assume this signal is called eth_mdio in your top level, then you would need some assignments like this:module top_module(
...
inout eth_mdio,
...
wire eth_mdio_out;
wire eth_mdio_oe;
...
assign eth_mdio = eth_mdio_oe ? eth_mdio_out : 1'bz; // high-impedance when not driven
my_sopc my_sopc_inst(
...
.mdio_out_from_my_mac(eth_mdio_out),
.mdio_oe_from_my_mac(eth_mdio_oe),
.mdio_in_to_my_mac(eth_mdio),
...
Jake