Byte Deserializer; Byte Ordering - Altera Cyclone IV Device Handbook

Table of Contents

Advertisement

1–24

Byte Deserializer

The byte deserializer halves the FPGA fabric-transceiver interface frequency while
doubles the parallel data width to the FPGA fabric.
For example, when operating an EP4CGX150 receiver channel at 3.125 Gbps with
deserialization factor of 10, the receiver PCS datapath runs at 312.5 MHz. The byte
deserializer converts the 10-bit data at 312.5 MHz into 20-bit data at 156.25 MHz
before forwarding the data to the FPGA fabric.

Byte Ordering

In the 16- or 20-bit FPGA fabric-transceiver interface, the byte deserializer receives
one data byte (8 or 10 bits) and deserializes it into two data bytes (16 or 20 bits).
Depending on when the receiver PCS logic comes out of reset, the byte ordering at the
output of the byte deserializer may not match the original byte ordering of the
transmitted data. The byte misalignment resulting from byte deserialization is
unpredictable because it depends on which byte is being received by the byte
deserializer when it comes out of reset.
Figure 1–23
byte of the two-byte transmitter data appears straddled across two word boundaries
after the data is deserialized at the receiver.
Figure 1–23. Example of Byte Deserializer at the Receiver
tx_datain[15..8]
D2
D2
tx_datain[7..0]
D1
D1
The byte ordering block restores the proper byte ordering by performing the
following actions:
Look for the user-programmed byte ordering pattern in the byte-deserialized data
Inserts a user-programmed pad byte if the user-programmed byte ordering
pattern is found in the most significant byte position
You must select a byte ordering pattern that you know appears at the least significant
byte position of the parallel transmitter data.
The byte ordering block is supported in the following receiver configurations:
16-bit FPGA fabric-transceiver interface, 8B/10B disabled, and the word aligner in
manual alignment mode. Program a custom 8-bit byte ordering pattern and 8-bit
pad byte.
16-bit FPGA fabric-transceiver interface, 8B/10B enabled, and the word aligner in
automatic synchronization state machine mode. Program a custom 9-bit byte
ordering pattern and 9-bit pad byte. The MSB of the 9-bit byte ordering pattern
and pad byte represents the control identifier of the 8B/10B decoded data.
Cyclone IV Device Handbook,
Volume 2
shows a scenario where the most significant byte and the least significant
Transmitter
D2
xx D1 D2 D3 D4 D5 D6 xx
Byte
Serializer
D1
Chapter 1: Cyclone IV Transceivers Architecture
Receiver
D1
D3
Byte
Deserializer
xx
D2
February 2015 Altera Corporation
Receiver Channel Datapath
D5
xx
rx_dataout[15..8]
D4
D6
rx_dataout[7..0]

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Cyclone IV and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF