Cannot receive packets
I'm trying to use ariane-ethernet design in OpenPiton+Ariane project, which is a Linux capable SoC design.
There is no problem while compiling the RTL design and generating the bitstream (timing is met).
The problem is that when I try to run ping command after the system boots, OS cannot receive the ARP response and hence cannot proceed by sending ICMP packets.
I also came across a situation where ping worked but later it again stopped working.
@alexforencich, did you encounter a problem like this before?
You can refer to the original issue for the details.
The project currently does not respond to ping request because it does not support ICMP. You could add the support for ICMP by implementing the missing functionality. I suggest to start with the Echo request and Echo reply features. Wikipedia contains most of the information that you would need to get started.
@Reisswolf I think the ariane-ethernet project only uses the MAC, not the whole stack.
I have not seen this issue before, but it looks like that code uses RGMII. RGMII can be a bit tricky to get working as it is a DDR interface and requires some additional work to ensure proper setup and hold times around the clock edges. You may need to add iodelay elements and adjust the delay settings to get it to work reliably. The required settings will be board-dependent.
@alexforencich, @Reisswolf,
Thanks for your support.
I am using only the MAC interface in my design.
ariane-ethernet is being used in a similar project (with RGMII) and it seems that respective IDELAY values are set to zero in rgmii_soc.sv.
The constraints also do not include min and max delay constraints, that is why I wanted to ask this.
@alexforencich, @Reisswolf,
Thanks for your support.
I am using only the MAC interface in my design.
ariane-ethernet is being used in a similar project (with RGMII) and it seems that respective IDELAY values are set to zero in rgmii_soc.sv.
The constraints also do not include min and max delay constraints, that is why I wanted to ask this.
As you said, ariane-ethernet is a mac, does it function normally now?