Lane order, Frequency offset tolerance, Link layer configuration – Altera SerialLite II IP Core User Manual

Page 34: Data type:packets, Data type:streaming, Lane order –11 frequency offset tolerance –11, Link layer configuration –11, Data type:packets –11 data type:streaming –11

Advertising
background image

Chapter 3: Parameter Settings

3–11

Link Layer Configuration

January 2014

Altera Corporation

SerialLite II MegaCore Function

User Guide

Lane Order

It is possible that the order of lanes may be incorrect due to layout errors. It may also
be reversed, with the most significant lane of one end of the link connected to the least
significant lane of the other end, due to layout constraints. The SerialLite II logic
always detects a lane order mismatch, and compensates for the reversed lane order on
the receive side. This reversal occurs during link initialization and remains in place for
as long as the link is active.

The SerialLite II logic only corrects reversed lane order. If the lane order is scrambled,
the receiving end cannot unscramble it. The following example shows a possible four-
lane system, where Serial Lite II can reverse the four-lane system:

Frequency Offset Tolerance

The Enable frequency offset tolerance parameter sets the value for the frequency
offset tolerance (clock compensation). This parameter also determines whether the
system is configured for synchronous or asynchronous clocking operation. If you
enable this parameter, the values available are ±100 ppm and ±300 ppm.

Link Layer Configuration

This section describes the options available to parameterize the link layer of the
SerialLite II MegaCore function variation.

Data Type:Packets

Packet mode for packet-based protocols. The data port expects data to arrive in
packets, marked by asserting start of packet (SOP) at the beginning and end of packet
(EOP) at the end of the packet. The receiver passes these packets to the user logic via
the Atlantic interface, with the packet boundaries marked by SOP and EOP.

Data Type:Streaming

The regular data port allows data to be formatted as a stream or in packets. Streaming
data has no beginning or end. It acts like an infinite-length packet and represents an
unending sequence of data bytes. The only Atlantic signals present are txrdp_ena,
txrdp_dav

, and txrdp_dat (valid and data) in the transmitter, and rxrdp_ena and

rxrdp_dat

for a receiver instantiation. There is no backpressure for the receiver

function; consequently, the user logic must accept the data when rxrdp_ena is high.
There is only backpressure in the transmitter function if clock compensation is
enabled (txrdp_dav is negated when the clock compensation sequence is inserted).

Once system link up is complete, your logic should provide data continuously. The
SerialLite II MegaCore function does not encapsulate streaming data. Streaming
mode does not include link-layer functions.

Example 3–1. SerialLite II Lane Reversal

Lane 0 -> Lane 3
Lane 1 -> Lane 2
Lane 2 -> Lane 1
Lane 3 -> Lane 0

Advertising