100g interlaken ip core rx errored packet handling – Altera 100G Interlaken MegaCore Function User Manual

Page 54

Advertising
background image

packet transfer, the packet is not interleaved with another packet. In this case, the IP core still asserts the

irx_sob

and

irx_eob

signals correctly to maintain the proper burst boundaries.

Related Information

Dual Segment Mode

on page 4-8

100G Interlaken IP Core RX Errored Packet Handling

The 100G Interlaken IP Core provides information about errored packets on the RX user data transfer

interface through the following output signals:

irx_eopbits[3:0]

—If this signal has the value of 4'b0001, an error indication arrived with the packet

on the incoming Interlaken link: the EOP_Format field of the control word following the final burst of

the packet on the Interlaken link has this value, which indicates an error and EOP.

irx_err

—If you turn on Include advanced error reporting and handling, the 100G Interlaken IP

Core checks the integrity of incoming packets on the Interlaken link, and reports the packet corruption

errors it detects on the RX user data transfer interface in the

irx_err

output signal.

In both cases, the application is responsible for discarding the relevant packet.
If you turn on Include advanced error reporting and handling, the

irx_err

signal reflects the following

errors:
• CRC24 errors

• Loss of lane alignment

• Illegal control word

• Illegal framing pattern

• Missing SOP or EOP indicator
If you turn on Include advanced error reporting and handling, the

irx_err

output signal is aligned with

irx_eopbits

, and is always asserted when

irx_eopbits

has the value of 4'b0001. However,

irx_eopbits

can have the value of 4'b0001 when

irx_err

is not asserted, if the error indication arrived on the

Interlaken link but the 100G Interlaken IP Core does not detect any of the listed integrity issues in the

incoming packet communication.
The

irx_err

signal indicates approximately where an error occurs: the corruption could have occurred at

the SOP of the current packet, in some later cycle in the payload of the current packet, in a packet that is

interleaved with the current packet, or in the current EOP cycle. When the IP core identifies an error in

the data it receives on the Interlaken link, it marks every packet currently open on the link as errored,

rather than attempt to associate the error with a specific channel. Therefore, the application need not drop

any packets that are not marked explicitly as errored using one of the two mechanisms.
The

irx_err

signal asserts one time only, whether a single error or multiple errors occurred in the packet.

If the current EOP cycle data is corrupted so badly that the EOP indication is missing, the

irx_err

error

indication is aligned to the next EOP. If an error occurs during an IDLE cycle, the

irx_err

is aligned to

the next EOP.
The application is responsible for discarding packets it receives from the IP core with

irx_err

asserted

during the EOP cycle, just as it is responsible for discarding packets it receives from the IP core with

irx_eopbits

set to 4'b0001. If you turn on Include advanced error reporting and handling, the applica‐

tion is not responsible for tracking the open packets interleaved with the errored packet — the

100G Interlaken IP Core asserts

irx_err

in the EOP cycle of every potentially errored packet, and the

4-24

100G Interlaken IP Core RX Errored Packet Handling

UG-01128

2015.05.04

Altera Corporation

Functional Description

Send Feedback

Advertising