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

ID 683628
Date 12/28/2017
Public
Document Table of Contents

3.4.2.1. Packet Client Registers

You can customize the LL 40-100GbE hardware design example by programming the packet client registers.

Table 48.  Packet Client Registers

Addr

Name

Bit

Description

HW Reset Value

Access

0x1000 PKT_CL_SCRATCH [31:0] Scratch register available for testing. RW
0x1001 PKT_CL_CLNT [31:0] Four characters of IP block identification string "CLNT" RO
0x1002 PKT_CL_FEATURE [9:0] Feature vector to match DUT. Bits [8:3] have the value of 0 to indicate the DUT does not have the property or the value of 1 to indicate the DUT has the property.
  • Bit [0]: Has the value of 1 to indicate the DUT targets an Arria 10 device.
  • Bit [1]: Has the value of 0 if the DUT is a LL 40GbE IP core; has the value of 1 if the DUT is a LL 100GbE IP core.
  • Bit [2]: Reference clock frequency. Has the value 0 for 322 MHz; has the value of 1 for 644 MHz.
  • Bit [3]: Indicates whether the DUT is a LL 40-GBASE KR4 IP core.
  • Bit [4]: Inidcates whether the DUT is a CAUI-4 IP core.
  • Bit [5]: Indicates whether the DUT includes PTP support.
  • Bit [6]: Indicates whether the DUT includes pause support
  • Bit [7]: Indicates whether the DUT provides local fault signaling.
  • Bit [8]: Indicates whether the DUT has Use external MAC TX PLL turned on. Must have the value of 0.
  • Bit [9]: Value 0 if the DUT has a custom streaming client interface; value 1 if the DUT has an Avalon-ST client interface. Must have the value of 1.
RO
0x1006 PKT_CL_TSD [7:0] Arria 10 device temperature sensor diode readout in Fahrenheit. RO
0x1010 PKT_GEN_TX_CTRL [3:0]
  • Bit [0]: Reserved.
  • Bit [1]: Packet generator disable bit. set this bit to the value of 1 to turn off the packet generator, and reset it to the value of 0 to turn on the packet generator.
  • Bit [2]: Reserved.
  • Bit [3]: Has the value of 1 if the IP core is in MAC loopback mode; has the value of 0 if the packet client uses the packet generator.
4'b0101 RW
0x1015 PKT_CL_LOOPBACK_FIFO_ERR_CLR [2:0] Reports MAC loopback errors.
  • Bit [0]: FIFO underflow. Has the value of 1 if the FIFO has underflowed. This bit is sticky. Has the value of 0 if the FIFO has not underflowed.
  • Bit [1]: FIFO overflow. Has the value of if the FIFO has overflowed. This bit is sticky. Has the value of 0 if the FIFO has not overflowed.
  • Bit [2]: Assert this bit to clear bits [0] and [1].
3'b0 RO
0x1016 PKT_CL_LOOPBACK_RESET [0] MAC loopback reset. Set to the value of 1 to reset the design example MAC loopback. 1'b0 RW