GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 4/01/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.5.1. FlexE and OTN Mode TX Interface

The GTS Ethernet Intel® FPGA Hard IP TX client interface in FlexE and OTN variations employs the PCS66 interface protocol.

The FlexE and OTN variations allow the application to send 66b blocks to the TX PCS, bypassing the TX MAC.

  • In FlexE mode the TX encoder in the PCS is bypassed.
  • In OTN mode, both the TX encoder and the scrambler are bypassed.

The client acts as a source and the TX PCS acts as a sink in the transmit direction.

Table 31.  PCS66 TX Interface SignalsAll interface signals are clocked by i_clk_tx signal. The signal names are the standard PCS66 interface.
Signal Name Width Description
i_tx_pcs66_d[65:0] 66 bits (10GE/25GE)

TX PCS 66b data for 1 block.

  1. In FlexE mode, the data presented is scrambled by the TX PCS.
  2. In OTN mode, the data will only be bit-interleaved or passed to the FEC.
i_tx_pcs66_valid 1 bit

When asserted, indicates that the TX PCS 66b data is valid.

Must be asserted when the TX PCS 66b ready signal is asserted.

o_tx_pcs66_ready 1 bit

TX PCS 66b ready signal.

When asserted, Indicates that the IP is ready to receive the data. The cadence of this signal carries the line rate information in units of 66 bits.

i_tx_pcs66_am 1 bit for each channel

Alignment marker insertion bit.

In FlexE mode, asserting this signal causes the PCS to allow gaps for the alignment markers in place of the data presented on the TX PCS data signal. The application marks the block as an alignment marker and the scrambler does not process the data.

In OTN mode, RS-FEC must be aware of the alignment marker location.

In OTN mode without FEC, the i_tx_pcs66_am signal is optional. You can tie it low.

Figure 38. Transmitting Data on the PCS66 TX InterfaceThe figure shows how to send the 66b blocks directly to the TX PCS in FlexE and OTN mode using the PCS66 TX Interface.

TX data is sent as 66b blocks. The blocks are expected to be 66b encoded, with the sync header bits in the least significant bit positions (bits 0 and 1).

  • In FlexE mode, the PCS scrambles and stripes the blocks for transmission.
  • In OTN mode, the PCS only stripes the blocks for transmission. The input data is expected to be already scrambled.

i_tx_pcs66_valid should conform to these conditions:

  • Assert the valid signal only when the ready signal is asserted, and deassert only when the ready signal is deasserted.
  • The two signals can be spaced by a fixed latency between 1 and 10 cycles.
  • When the valid signal deasserts, i_tx_pcs66_d must be paused.

The byte order for the PCS66 mode TX interface is the same as the TX PCS interface. Blocks are transmitted from least to most significant bit; the first block to be transmitted from the interface is i_tx_pcs66_d[65:0].

The bit order for the PCS66 mode TX interface is the same as the TX PCS interface. Bits are transmitted from least to most significant; the first bit to be transmitted from the interface is i_tx_pcs66_d[0].

Figure 39. Inserting Alignment Markers

When the PCS66 TX interface is used for FlexE mode, the timing of alignment marker insertion can be controlled from the fabric.:

  • For 10GE channels, the signal causes the cycle to be treated as invalid for PCS processing (no changes to scramble).

In FlexE mode, the timing of alignment marker insertion is very rigid. Alignment markers cannot be delayed without disrupting the Ethernet link. Use valid cycles to count the alignment markers. When i_tx_pcs66_valid is low, the alignment marker counters and input must freeze.

OTN streams are expected to include their own alignment markers. In OTN mode with FEC, you must assert i_tx_pcs66_am to indicate the position of the alignment markers. In OTN mode without FEC, i_tx_pcs66_am is optional and you can tie the signal low.

In FEC modes, the TX datapath does not come completely out of reset until at least 2 alignment marker periods passed. You must start driving i_tx_pcs66_am at the proper interval before o_tx_lanes_stable goes high. You may drive the signal as soon as o_tx_pll_locked has gone high and o_tx_pcs66_ready starts toggling.