verilog-ethernet icon indicating copy to clipboard operation
verilog-ethernet copied to clipboard

Can you add a module to support SPI to MII conversion, like the chip DM9051

Open woodyuni opened this issue 11 months ago • 1 comments

Many SPI to MII conversions are used on microcontrollers, but there is a lack of FPGA implementation on the entire GitHub. The difficulty of implementation mainly lies in compatibility with existing Linux drivers.

datasheet of DM9051 like this https://www.davicom.com.tw/pddocs/DM9051(I)-12-MCO-DS-P01_03302015.pdf

微信图片_20241220111216

woodyuni avatar Dec 20 '24 03:12 woodyuni

The idea being to emulate the SPI end so you could interface some sort of embedded CPU to an FPGA and exchange Ethernet traffic using an existing driver? How often do you run in to a case where you have a chip powerful enough to run Linux but only have SPI interfaces available instead of something more performant like native MII/GMII/RGMII/SGMII, USB, PCIe, etc.?

Also, I generally only implement stuff that I personally need or that's externally supported in some way via consulting, licensing, etc. Is this something that would only be useful if it was freely available, or is it something that you might be interested in sponsoring/licensing?

alexforencich avatar Dec 20 '24 20:12 alexforencich