alexforencich / verilog-ethernet

Verilog Ethernet components for FPGA implementation
MIT License
2.18k stars 666 forks source link

Marvell Alaska 88e1512 support #80

Open AyeshaGauhar opened 3 years ago

AyeshaGauhar commented 3 years ago

Hi

I am using xc7z020clg400-2 with Marvell Alaska 88e1512 phy chip. I took the nexys video design as reference. For reception( PC to board) it is working fine. But when transmitting from board to pc, no packet is recieved on PC/Wireshark. Does the code need some modification for this phy ic?

Looking forward to your response

alexforencich commented 3 years ago

It's a bit tricky to get RGMII working correctly since it is a DDR interface and as such is significantly more sensitive to setup/hold timing vs. other interfaces. It's also more dependent on board layout. You may need to play around with output delays and/or the phase offset on the (nominally) 90 degree clock to get things working correctly.

AyeshaGauhar commented 3 years ago

Many thanks for your response. I'll look in to it

yoursunny commented 2 years ago

I'm attempting to use this library on snickerdoodle black + piSmasher baseboard. It contains:

Given @alexforencich mentions the difficulty in RGMII timing and Xilinx provides a Gmii to Rgmii IP for free, I had the idea of using that IP together with a GMII interface generated by this library. I started with example/KC705/fpga_gmii that provides a GMII interface. It's connected like this:

image

Code modifications:

This design can generate bitstream, but it doesn't seem to work on hardware: no response to ARP, same as my previous attempt in https://github.com/alexforencich/verilog-ethernet/issues/112#issuecomment-1149879587 . I'd appreciate some hints on whether this is a viable direction.