English
Language : 

HC4GX15 Datasheet, PDF (422/668 Pages) Altera Corporation – HardCopy IV Device Handbook
1–158
Chapter 1: HardCopy IV GX Transceiver Architecture
Functional Modes
Receiver synchronization is indicated on the rx_syncstatus port of each channel. A
high on the rx_syncstatus port indicates that the lane is synchronized; a low on
the rx_syncstatus port indicates that it has fallen out of synchronization. The
receiver loses synchronization when it detects four invalid code groups separated by
less than four valid code groups or when it is reset.
Deskew FIFO
Code groups received across four lanes in a XAUI link can be misaligned with respect
to one another because of skew in the physical medium or differences between the
independent clock recoveries per lane. The XAUI protocol allows a maximum skew of
40 UI (12.8 ns) as seen at the receiver of the four lanes.
The XAUI protocol requires the physical layer device to implement a deskew circuitry
to align all four channels. To enable the deskew circuitry at the receiver to align the
four channels, the transmitter sends a /A/ (/K28.3/) code group simultaneously on
all four channels during inter-packet gap. The skew introduced in the physical
medium and the receiver channels can be /A/ code groups to be received misaligned
with respect to each other.
The deskew operation is performed by the deskew FIFO in XAUI functional mode.
The deskew FIFO in each channel receives data from its word aligner. The deskew
operation begins only after link synchronization is achieved on all four channels as
indicated by a high on the rx_syncstatus signal from the word aligner in each
channel. Until the first /A/ code group is received, the deskew FIFO read and write
pointers in each channel are not incremented. After the first /A/ code group is
received, the write pointer starts incrementing for each word received but the read
pointer is frozen. If the /A/ code group is received on each of the four channels
within 10 recovered clock cycles of each other, the read pointer of all four deskew
FIFOs is released simultaneously, aligning all four channels.
Figure 1–126 shows lane skew at the receiver input and how the deskew FIFO uses the
/A/ code group to align the channels.
Figure 1–126. Receiver Input Lane Skew in XAUI Mode
Lane 0 K K R A K R R K K R K R
Lane 1 K K R A K R R K K R K R
Lane 2 K K R A K R R K K R K R
Lane 3 K K R A K R R K K R K R
Lane Skew at
Receiver Input
Lane 0 K K R A K R R K K R K R
Lanes are
Lane 1 K K R A K R R K K R K R Deskewed by
Lining up
Lane 2 K
KR
AK
R
R
K
K
R
K R the "Align"/A/,
Code Groups
Lane 3 K K R A K R R K K R K R
HardCopy IV Device Handbook Volume 3
© June 2009 Altera Corporation