GTS Interlaken Intel® FPGA IP User Guide

ID 819200
Date 7/08/2024
Public
Document Table of Contents

4.2.2.1. Two-segment Interface Example

The following example illustrates how to use the Interlaken IP TX and RX multisegment interface.

TX Multisegment

This example shows the expected behavior of multisegment Interlaken IP at the TX user interface during a 65 byte packet transfer in two-segment interleave mode.
Figure 14. TX Multisegment User Interface Example

The IP only supports two segment chunks in any cycle. Therefore, you need only two-bit eob, two sets of eopbits and channel numbers.

In this example, in cycle 0, the data occupies segment 1 and 0. In cycle 1, the segment 1 occupies data from the previous cycle and the second segment of data occupies in segment 0. Only one burst starts in cycle 0. In sob= 2'b10, the sob [1] refers to the start of a burst at word 7. The eopbits0 and eopbits1 indicates no end of packet because eopbits [3] and eopbits1[3]=0. Only the channel number for the first segment chunk is valid, which is 8'hAB. This channel number corresponds to the burst indicated by sob[1]=1'b1. A channel number is always associated to a start of a burst.

In cycle 1, in sob= 2'b01, the burst in the first segment continues the second segment of the last cycle. No sob[1] set in this cycle. The sob[0]=1 of the second segment refers to the start of a burst at word 3. The packet (first segment chunk) ends in this cycle, hence eopbits=4'b1000 indicating the last word contains eight bytes. The eob=1'b1 is for the first segment chunk. The eopbits1 indicates no EOP because eopbits1[3]=0. Only the channel number for the second segment chunk is valid, which is 'hCD.

One burst ends in cycle 2. In sob= 2'b00, the burst in the first segment continues the second segment of the last cycle. No sob[1] is set in this cycle. The packet ends in this cycle, hence, eopbits=4'h1000, indicates the last word containing eight bytes. The eob=1'b1 is for the first segment chunk.

RX Multisegment

This example shows the behavior of a multisegment Interlaken IP at the RX user interface.
Figure 15. RX Multisegment User Interface Example