106
Virtex-5 RocketIO GTP Transceiver User Guide
UG196 (v1.3) May 25, 2007
Chapter 6:
GTP Transmitter (TX)
R
Description
Using the TX Buffer
To use the TX buffer to resolve phase differences between the domains, TX_BUFFER_USE
must be set to TRUE. The buffer should be reset whenever TXBUFSTATUS indicates an
overflow or an underflow. The buffer can be reset using GTPRESET (see
or TXRESET (see
). Assertion of GTPRESET triggers a
sequence that resets the entire GTP_DUAL tile.
Using the TX Phase-Alignment Circuit to Bypass the TX Buffer
If TX_BUFFER_USE is set to FALSE, the TX phase-alignment circuit must be used instead.
To use the phase-alignment circuit to force the XCLK phase to match the TXUSRCLK
phase, follow these steps:
1.
Set TXRX_INVERT0 and TXRX_INVERT1 to
00100
.
2.
Set TX_XCLK_SEL0 and TX_XCLK_SEL1 to “TXUSR”.
3.
Wait for all clocks to stabilize, then drive TXENPMAPHASEALIGN High. Keep
TXENPMAPHASEALIGN High unless the phase-alignment procedure must be
repeated. Driving TXENPMAPHASEALIGN Low will cause phase alignment to be
lost.
4.
Wait 32 TXUSRCLK2 clock cycles, then drive TXPMASETPHASE High.
5.
Wait the number of required TXUSRCLK2 clock cycles as specified in
, then
drive TXPMASETPHASE Low. The phase of the PMACLK is now aligned with
TXUSRCLK.
The phase-alignment procedure must be redone if any of the following conditions occur:
•
GTPRESET is asserted
•
PLLPOWERDWNB is deasserted
•
The clocking source changed
shows the TX phase-alignment procedure. TXENPMAPHASEALIGN and
TXPMASETPHASE are shared tile pins (see
), so the
procedure is always applied to both GTP transceivers on the tile. TXOUTCLK cannot be
the source for TXUSRCLK when the TX phase-alignment circuit is used. See
for details.
Table 6-9:
Number of Required TXUSRCLK2 Clock Cycles
PLL_DIVSEL_COMM_OUT
PLL_DIVSEL_OUT_0
PLL_DIVSEL_OUT_1
TXUSRCLK2 Wait Cycles
1
4096
2
8192
3
16384