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

ID 813663
Date 4/01/2024
Public

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

Document Table of Contents

6.10. Timestamp Registers

The TX and RX timestamp registers are available when you turn on the Enable time stamping parameter. Otherwise, these registers are reserved.
Table 41.  Timestamp Registers
Word Offset Register Name Description Access HW Reset Value
0x0100 tx_period_10g Specifies the clock period for the timestamp adjustment on the transmit datapaths when operating at 10G PHY speed. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and XGMII bus.
  • Bits 0 to 15—period in fractional nanoseconds (tx_period_fns).
  • Bits 16 to 19—period in nanoseconds (tx_period_ns).
  • Bits 20 to 31—reserved.
The default value is 3.2 ns for 312.5 MHz clock.
RW 0x33333
0x0102 tx_adj_fns_10g Static timing adjustment in fractional nanoseconds on the transmit datapaths when operating at 10G PHY speed.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 31 to 16—reserved.
RW 0x0
0x0104 tx_adj_ns_10g Static timing adjustment in nano seconds on the transmit datapaths when operating at 10G PHY speed.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved.
RW 0x0
0x0108 tx_period_1g_100m_10m Specifies the clock period for the timestamp adjustment on the transmit datapaths when operating at 1G/2.5G/10M/100M speed. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and GMII bus.
  • Bits 0 to 15—period in fractional nanoseconds (tx_period_fns).
  • Bits 16 to 19—period in nanoseconds (tx_period_ns).
  • Bits 20 to 31—reserved.
The default value is 8 ns for 125 MHz clock. This is reserved on 1G/2.5G and 1G/2.5G/10G variants.
RW 0x80000
0x010A tx_adj_fns_1g_100m_10m Static timing adjustment in fractional nanoseconds on the transmit datapaths when operating at 1G/2.5G/10M/100M speed.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—unused.
RW 0x0
0x010C tx_adj_ns_1g_100m_10m Static timing adjustment in nanoseconds on the transmit datapaths when operating at 1G/2.5G/10M/100M speed.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved.
RW 0x0
0x110 tx_asymmetry Specifies the asymmetry value and direction of arithmetic operation.
  • Bits 0 to 16—asymmetry value.
  • Bit 17—direction.
    • Set to 0—add asymmetry value to correction field (CF).
    • Set to 1—minus asymmetry value from CF.
  • Bit 18—enable bit.
  • Bit 19 to 31—reserved.
RW 0x0
0x112 tx_p2p

Specifies the direction of arithmetic operation for meanPathDelay.

  • Bit 0— direction.
    • Set to 0—add meanPathDelay value to CF.
    • Set to 1—minus meanPathDelay value from CF.
  • Bit 1 to 31—reserved.
RW 0x0
0x114 tx_cf_err_stat
  • Bits 0—error status bit to indicate that ingress correction field is equal to the absolute maximum, 64'h7FFF_FFFF_FFFF_FFFF.
  • Bit 16—error status bit to indicate that egress correction field is equal or larger than absolute maximum, 64’h7FFF_FFFF_FFFF_FFFF.
  • Bit 17—error status bit to indicate that residence time is equal or larger than 4 seconds.
  • Bit 18—error status bit to indicate that residence time is a negative value.
RW1C 0x0
0x0120 rx_period_10g Specifies the clock period for the timestamp adjustment on the receive datapaths when operating at 10G speed. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and XGMII bus.
  • Bits 0 to 15—period in fractional nanoseconds (rx_period_fns).
  • Bits 16 to 19—period in nanoseconds rx_period_ns.
  • Bits 20 to 31—reserved.
The default value is 3.2 ns for 312.5 MHz clock.
RW 0x33333
0x0122 rx_adj_fns_10g Static timing adjustment in fractional nanoseconds on the receive datapaths when operating at 10G speed.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—unused.
RW 0x0
0x0124 rx_adj_ns_10g Static timing adjustment in nanoseconds on the receive datapaths when operating at 10G speed.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved.
RW 0x0
0x0128 rx_period_1g_100m_10m Specifies the clock period for the timestamp adjustment on the receive datapaths when operating at 1G/2.5G/10M/100M speed. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and GMII bus.
  • Bits 0 to 15—period in fractional nanoseconds (rx_period_fns).
  • Bits 16 to 19—period in nanoseconds rx_period_ns.
  • Bits 20 to 31—reserved.
The default value is 8 ns for 125 MHz clock. This is reserved in 1G/2.5G and 1G/2.5G/10G variants.
RW 0x80000
0x012A rx_adj_fns_1g_100m_10m Static timing adjustment in fractional nanoseconds on the receive datapaths when operating at 1G/2.5G/10M/100M speed.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—reserved.
RW 0x0
0x012C rx_adj_ns_1g_100m_10m Static timing adjustment in nanoseconds on the receive datapaths when operating at 1G/2.5G/10M/100M speed.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved.
RW 0x0
0x12E rx_p2p_mpd_ns

meanPathDelay valid and value in ns.

The peer-to-peer mechanism delivers meanPathDelay for each ingress port. This needs to be added to the Sync packet’s correction field before the packet is sent out on egress port. Thus, the egress port might add any of the ingress ports' 'meanPathDelay'. The value to be added at the egress port should correspond to the ingress port on which the Sync packet has arrived.

  • Bit 30—Indicates meanPathDelay is valid.
  • Bits 0 to 29—meanPathDelay value in nanosecond.
RW 0x0
0x130 rx_p2p_mpd_fns

meanPathDelay value in fns.

  • Bits 0 to 15—meanPathDelay value in fractional nanosecond.
RW 0x0