Visible to Intel only — GUID: vgo1460970145658
Ixiasoft
Visible to Intel only — GUID: vgo1460970145658
Ixiasoft
2.8.5. Self Synchronized Link Up
The receiver on the far end must synchronize itself to incoming data streams. To do so, the receiver uses the self-synchronizing LSM, a light-weight implementation that is especially useful when data is streaming. Because there is no handshaking or exchange of status information between the receiver and transmitter, the Self Synchronized Link Up parameter uses considerably fewer logic elements than the full-duplex LSM. The self-synchronizing LSM can be used in all modes, except asymmetric mode, but this mode can only support one lane.
The Self Synchronized Link Up parameter is enabled by default when the IP core operates in unidirectional mode because the duplex LSM cannot be used when there is no return path.
- When the adjacent receiver has locked—if this status information can be made available.
- After a user-defined period of time when the link status of the adjacent receiver is not known or cannot be known.
- Wait for the pll_locked signal (stat_tc_pll_locked) to be asserted, which happens when the PLL in the ALTGX or Custom PHY IP core locks to the reference clock (trefclk). The reference clock must be characterized—10 ms or less is normal.
- Wait for the rx_freqlocked signal (stat_rr_freqlock) to be asserted, which happens when the ALTGX or Custom PHY IP core locks onto the serial stream—5 ms or less is normal.
- The Rx digital reset needs to complete; this reset normally takes one million internal tx_coreclock cycles after rx_freqlocked is asserted. The stat_tc_rst_done signal is asserted to indicate that the reset sequence has been completed.
You should characterize the timing of the signals in the transceiver reset sequence to set up the size of your ctrl_tc_force_train counter. The IP core also has a reset done status signal (stat_tc_rst_done) that can be useful for measurements.
- stat_tc_pll_locked
- stat_rr_freqlock
- stat_tc_rst_done (to see when rx_digitalreset has been negated)
For Arria II GX and Stratix IV devices, you can turn on the Enable frequency offset tolerance option to allow the receiver to automatically relock if the link goes down. Therefore, the transmitter is not required to assert ctrl_tc_force_train to retrain the link (which may be impossible in a unidirectional link because the transmitter does not necessarily detect that the receiver has lost the link).
For Arria V, Cyclone V, and Stratix V devices, you have to expose and integrate all the related signals from the transceiver.