40- and 100-Gbps Ethernet MAC and PHY MegaCore Function User Guide

ID 683114
Date 6/15/2022
Public
Document Table of Contents

3.4.1.11. PRBS Registers

The PRBS feature operates on a per virtual lane basis. The PRBS streams are bit interleaved to form 10 Gbps lanes. PRBS transmissions are unframed.

Table 56.  PRBS RegistersThere is some deviation among manufacturers regarding the exact PRBS implementation on high rate Ethernet equipment. If the PRBS is working properly in loopback but consistently wrong with a remote device, Altera recommends that you confirm that the remote device is operating as described here.

Address

Name

Bit

Description

HW Reset Value

Access

0x030

PRBS_CTRL

[4]

When set to 1, selects PRBS-9 for the RX lane. When set to 0, selects PRBS-31 for the RX lane.

1’b0

RW

[3]

When set to 1, selects PRBS-9 for the TX lane. When set to 0, selects PRBS-31 for the TX lane.

1’b0

RW

[2]

When set to 1, enables the RX PRBS checker.

1’b0

RW

[1]

When set to 1, enables the TX PRBS transmitter.

1’b0

RW

0x031

PRBS_ERR_INJ

[19:0]

When set to 1, injects an error in the corresponding lane. This register is rising edge triggered. Write 0 to clear.

20'b0

RW

0x032

PRBS_EFLAGS

[19:0]

When set to 1, indicates a PRBS error in the corresponding PCS‑VLANE. Clears on read.

20'b0

R