Bit Alignment Design; Verilog - Xilinx RocketIO User Manual

Hide thumbs Also See for RocketIO:
Table of Contents

Advertisement

R
When RXDATA is 32-bit misaligned, the word requiring alignment is split between consecutive
RXDATA words in the data stream, as shown in
the design example code in
This conditional shift/delay operation on RXDATA also must be performed on the status outputs
RXNOTINTABLE, RXDISPERR, RXCHARISK, RXCHARISCOMMA, and RXRUNDISP in
order to keep them properly synchronized with RXDATA.
It is not possible to adjust RXCLKCORCNT appropriately for shifted/delayed RXDATA, because
RXCLKCORCNT is summary data, and the summary for the shifted case cannot be recalculated.

32-bit Alignment Design

The following example code illustrates one way to create the logic to properly align 32-bit wide data
with a comma in bits [31:24] For brevity, most status bits are not included in this example design;
however, these should be shifted in the same manner as RXDATA and RXCHARISK.
Note that when using a 40-bit data path (8B/10B bypassed), a similar realignment scheme may be
used, but it cannot rely on RXCHARISCOMMA for comma detection.

Verilog

94
"32-bit Alignment Design," page
TXDATA
BC95B5B5
RXDATA
pppp BC95
RXDATA_REG[15:0]
ALIGNED_DATA
pppppppp
Figure 2-30: Realignment of RXDATA
/*********************************************************************
*
*
XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS"
*
AS A COURTESY TO YOU, SOLELY FOR USE IN DEVELOPING PROGRAMS AND
*
SOLUTIONS FOR XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE,
*
OR INFORMATION AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE,
*
APPLICATION OR STANDARD, XILINX IS MAKING NO REPRESENTATION
*
THAT THIS IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT,
*
AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE
*
FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY DISCLAIMS ANY
*
WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE
*
IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR
*
REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF
*
INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
*
FOR A PARTICULAR PURPOSE.
*
*
(c) Copyright 2002 Xilinx Inc.
*
All rights reserved.
*
*********************************************************************/
www.xilinx.com
1-800-255-7778
Chapter 2: Digital Design Considerations
Figure
2-30. (RXDATA_REG in the figure refers to
FDB53737
45674893
B5B5FDB5
37374567
pppp
BC95
FDB5
pppppppp
BC95B5B5
95.)
nnnnnnnn
nnnnnnnn
4893 nnnn
nnnnnnnn
4567
nnnn
FDB53737
45674893
ug024_34_091602
RocketIO™ Transceiver User Guide
UG024 (v2.3.2) June 24, 2004

Advertisement

Table of Contents
loading

Table of Contents