Low Latency 40G Ethernet Intel® FPGA IP User Guide: Agilex™ 5 FPGAs and SoCs

ID 813652
Date 7/22/2024
Public
Document Table of Contents

4.4.4. RX PCS Functional Description

The RX PCS interfaces with Hard PCS/PMA block is configured in 66:40 10G PCS Basic Generic Mode, with bit slip enabled and single data-rate. Each input stream thus carries an individual virtual lane for the 40G PCS. The PCS operates at 312.5 MHz. A read control/enable logic controls the incoming data throughput by reading the hard-PCS FIFOs only half of the cycles (66*4*312.5/2 = 41.250 Gbps).

The soft RX-PCS logically consists of five stages:
  • Word Lock: The word lock is achieved for each virtual lane/word-stream by utilizing the hard-PCS bit-slipping functionality (in the PCS gearbox). This is done through a soft control logic that sends the bit-slipping command and monitors incoming stream to declare when a corresponding lane is word-locked.
  • Merge: The four incoming streams/virtual-lanes from the hard-PCS are each 66-bit wide, that are read-in with a cadence that alternates inputting data from even/odd FIFOs at every clock cycle. The four input channels thus have twice the capability to required bandwidth. This redundant capability is not available at later stages that are two 66-bit words wide. The merge stage therefore translates those four input channels into two words by merging two physical/virtual lanes on to one.
  • Lane Reordering, De-skew and Lane Alignment: The locked virtual lanes are next de-skewed in RX PCS and lanes are aligned together. This stage declares lane alignment lock status.
  • Descrambler: The aligned lanes are descrambled in this stage.
  • MII Decoding: MII data is decoded and two 64-bit words along with control signals are provided to the RX MAC.

RX PMA-PCS Interface

In the Low Latency 40G Ethernet Intel® FPGA IP design for Agilex™ 5 devices, the interface between the PCS and the RX PMA uses 66 bits per virtual lane giving a total parallel width of 264 bits. In the current design, the GTS transceiver configured is PMA direct with Gearbox 64/66. In this design the GTS PMA parallel data width is 80 bits. The 66-bit is extracted from the 80 bits GTS RX parallel data and passed onto the PCS module.

40G PCS Compliance

In Low Latency 40G Ethernet PCS design, to save resources, some logic is simplified so that it did not fully comply to IEEE802.3.

In PCS RX alignment marker lock state, the design did not use all 24 bits of alignment marker to detect AM, but only used 6 bits to do detection.

In alignment marker unlock state, the design did not treat each lane separately as specification defined but treat all lanes together.