Hi,
thanks for the fast reply!
Let me reply to your points.
There are multiple example design in the design example link.
- May I know which example design that you used ?
I am using the 1G/2.5G (as I am interested in establishing a 1G communication between the FPGA and my laptop).
For debug purpose,
- Can you use back example design without modifying too much in the design first ?
The example design can't be directly ported to S10 MX as some of the IPs are not available for the Stratix. In general I was able to run the original example simulation without problems.
And my simulation behaves well as the example simulation (picture from the previous post): via Avalon MM interface I can change the Multi Rate PHY speed, from the default (2.5, to the 1G).
To be more specific: what is in the design is a JTAG-to-Avalon MM bridge and a qsys project with address mapping (where I didn't change the address configuration, to avoid troubles with the scripts). And in my sim I was "injecting" the reconfiguration data just after the address mapping block. (I am planning to try now to do the data injection between the bridge and the mapping block, to see if there is some failure there).
- Just to confirm you are connecting to S10 MX board H-tile transceiver, right ?
This is correct.
- Also, pls watch out to ensure you configure the correct clocking on S10 MX board and release the Ethernet IP reset properly
For the clock, this is ok. Through the clock controller I am setting the rx_cdr_refclk to 125 MHz. And the PLLs to generare the remaining clocks are all properly locked.
For what concern the reset controller block, this is continuously sending a digitalreset to the Multi rate PHY, because the PHY rx_is_lockedtodata does not lock (when testing in hardware, while in simulation I am injecting some random data and the signal goes to 1, remaining stable). I imagine because no autonegotiation is happening (and no other data stream arrives). Here is also the origin of why I am trying to access the PHY registers during the hardware tests, and check/activate the autonegotiation settings.
- Lastly, before you test out dynamic reconfig switching from 2.5G to 1G, have you try out fix 2.5G or 1G to see whether it works on S10 MX board ?
So, as my main test concern the 1G configuration, while the default one is the 2.5G, I was able to set the 1G as default (just changing which .mif file should be picked up at the very beginning).
But due to rx_is_lockedtodata not locking in hardware I got a bit stuck.
Let me know if something is not clear and if you have any suggestion. Thanks for your help.
Alessandra