Altera_Forum
Honored Contributor
10 years agoLoopback problem in Stratix V GX
In out project we have implemented a Custom PHY transceiver, running in duplex mode at 5120 MHz, and the loop-back is done externally with a fibre. Through the TX link we send 191 bits (6 lanes with 32 bits each) with the next pattern:
- FFFF0000FFFF0000 from 191 downto 128
- AAAAAAAAAAAAA from 127 downto 64
- know pseudo-random pattern from 63 downto 0
- FFFF0000FFFF0000 from 191 downto 128
- AAAAAAAAAAAAA from 127 downto 64
- wrong pseudo-random pattern from 63 downto 0
- Quartus 13.1
- Stratix V 5SGXEA7N2F45C3
- FPGA fabric transceiver interface width = 32
- Number of lanes = 6
- "Data rate" and "base data rate" = 5120 Mbps
- Input clock frequency = 160 MHz
- rx_signaldetected and rx_is_lockedtodata are asserted in all the lanes
- The pseudo-random words are 128b wide, but are sent in packets of 32b, that's why after the header there are two clock cycles without data, and in the 3rd in where the counter bits are.
- Enable rx_coreclkin and tx_coreclkin and link them to a 160 MHz clk without any change in the behaviour.
- Internal loop-back, but that option seems not to be present in the Megafunction window. Nevertheless we manually edited the .sv files to change the "ser_loopback" parameter to "true", but it did not worked.