Serial Lite III Streaming Intel® FPGA IP User Guide

ID 683330
Date 5/26/2023
Public

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

Document Table of Contents

5.5. Error Detection, Reporting, and Recovering Mechanism

Table 23.  Error Conditions, Core Behavior, Reporting, and Recovering MechanismThis table lists the error conditions that the core detect, their behavior in response to each condition, and available reporting mechanisms.

Condition

IP Behavior

Reporting Mechanism Recovering Mechanism

Source Core

Burst gap error

The source detects the burst gap between two consecutive bursts does not match Required idle cycles between bursts parameter setting.

The source core asserts the error flag for one clock cycle.

  • tx_burst_gap_err of TX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_tx[3] signal asserted.
  • err_interrupt/err_interrupt_tx signal asserted (only available when tx_burst_gap_err_en of TX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
Make sure the burst gap of the incoming packet is matching the Required idle cycles between burstsparameter.

Rate adaptation FIFO buffer overflow in source interface.

There is an overflow on the rate adaptation FIFO buffer in the source interface. The core behavior depends on the operation mode:

  • Continuous mode—error is flagged once an overflow is detected.
  • Burst mode—error is flagged only when an overflow occurs during burst data transfer across the user interface.

The source core asserts the error flag when the FIFO is in overflow condition.

  • adapt_fifo_overflow of TX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_tx[0] signal asserted.
  • err_interrupt/err_interrupt_tx signal asserted (only available when adapt_fifo_overflow_en of TX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
  • Assert phy_mgmt_clk_reset to reset the IP.
  • Send empty cycle to prevent FIFO overflow.

ECC fatal error.

The source core asserts the error flag for one clock cycle when a double bit error is detected.

  • adapt_fifo_overflow of TX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_tx[0] signal asserted.
  • err_interrupt/err_interrupt_tx signal asserted (only available when ecc_err_fatal_en of TX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
Assert phy_mgmt_clk_reset signal to reset the IP.

ECC corrected error.

The source core asserts the error flag for one clock cycle when a single bit error is detected and corrected.

  • ecc_err_corrected of TX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_tx[1] signal asserted.
  • err_interrupt/err_interrupt_tx signal asserted (only available when ecc_err_corrected_en of TX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
Source lost of lane alignment error

The source core detects a loss of lane alignment during normal operation.

  • tx_sync_done_lost of TX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • err_interrupt/err_interrupt_tx signal asserted (only available when tx_sync_donelost_en of TX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

The source core automatically re-initialize the link when this error occurs.

Optionally, you can assert phy_mgmt_clk_reset to reset the IP.

Sink Core

RX data error

When the sink interface receives data but ready_rx signal is de-asserted.

  • rx_data_err of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • err_interrupt/err_interrupt_rx signal asserted (only available when rx_data_err_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
Lane deskew fatal error

The sink core detects an error when the lane skews across all lanes exceeded the hardware de-skew capability.

  • rx_deskew_fatal of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • err_interrupt/err_interrupt_rx signal asserted (only available when rx_deskew_fatal_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

Assert phy_mgmt_clk_reset to reset the IP. Ensure the board routing does not exceed 107 UI.

ECC fatal error.

The sink core asserts the error flag for one clock cycle when a double bit error is detected.

  • ecc_err_fatal of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N+4] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when ecc_err_fatal_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
Assert phy_mgmt_clk_reset signal to reset the IP.

ECC corrected error.

The sink core asserts the error flag for one clock cycle when a single bit error is detected and corrected.

  • ecc_err_corrected of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N+3] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when ecc_err_corrected_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

Rate adaptation FIFO buffer overflow

There is an overflow on the rate adaptation FIFO buffer in the sink interface. The core behavior depends on the operation mode:

  • Continuous mode—error is flagged once an overflow is detected.
  • Burst mode—error is flagged only when an overflow occurs during burst data transfer across the user interface.

The sink core asserts the error flag when the FIFO is in overflow condition.

  • adapt_fifo_overflow of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N+2] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when adapt_fifo_over_flow_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

Lane alignment failure during normal operation

The sink core detects a loss of lane alignment during normal operation.

The sink core asserts error[N]5 flag for one clock cycle.

  • rx_alignment_lostlock of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when rx_alignment_lostlock_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

The sink core automatically re-initialize and re-align the link.

Optionally, you can assert phy_mgmt_clk_reset to reset the IP.

RX PCS Error

One or more errors have occurred in a given meta-frame, as determined by Native PHY PCS logic (in Interlaken mode).

These errors could be triggered much later (with respect to the user packets received earlier) at the receiving link.

Note: If data integrity is critical, additional error checksum may be included in the user logic as part of data payload so that the downstream user logic can determine the data integrity at packet level.
  • rx_pcs_err of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N-1:0] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when rx_pcs_err_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).

Diagnostic code word CRC-32 error

The sink core detects a metaframe CRC-32 error on one of the lanes. These errors are reported on a per-lane basis for diagnostic purposes.

The sink core asserts error[N-1:0]5 flag for one clock cycle.

  • rx_crc32err of RX Error Status register set to 1 (only for Intel® Stratix® 10 devices).
  • error/error_rx[N-1:0] signal asserted.
  • err_interrupt/err_interrupt_rx signal asserted (only available when rx_crc32err_int_en of RX Error Interrupt Enable register is set to 1 (only for Intel® Stratix® 10 devices).
5 N is the number of lanes.