Hi,
Yup, address space 0 will be occupied when PCS function is in used as explained by the TSE user guide doc.
Your MDIO setup looks correct.
I presume you have supply <= 125Mhz clock correctly to MAC control register clk pin as well. (which is the avalon bus clock)
My other debug suggestion for you is
- Have you tried to run TSE simulation before to ensure your whole Quartus design is connected and working correctly. Then you can cross check your MDIO in sim waveform as well. This is to ensure nothing wrong with your Quartus design
- Have you tried to access other reg address of your external PHY chip besides 0xA0 ?
- Lastly, you can also use Oscilloscope to probe your on board external PHY chip MDIO bus when you try to perform a write transaction.
- If no signal toggling on board then you know FPGA TSE IP doesn't send out the MDIO write transaction
- Else if you saw signal toggling on board then maybe there is an issue with your external PHY chip
Thanks.
Regards,
dlim