Closed roman3017 closed 4 years ago
Maybe dataWidth should not be configurable parameter for MII and we should create a proper RMII controller with non-configurable parameter dataWidth=2?
It looks like eth phy on ArtyA7 supports both MII and RMII interfaces: https://www.ti.com/lit/ds/symlink/dp83848j.pdf
Thinking more about it this PR to fit RMII to MII is wrong and I will close it.
Hi, right, they are two similar but different things :)
NexysA7 uses RMII: http://ww1.microchip.com/downloads/en/DeviceDoc/8720a.pdf
Eth phy has dataWidth=2. The current patch is needed to change hardcoded dataWidth if we want to support RMII. Or I can try to use mii_to_rmii core on NexysA7 if we do not plan to support RMII.
But I still wonder what to do with RX_CLK and TX_CLK signals, which do not have pins. Are they necessary and is there a way not to bring them out? Should I drive REF_CLK with TX_CLK?
https://github.com/Digilent/digilent-xdc/blob/master/Nexys-A7-100T-Master.xdc