Low Latency Ethernet 10G MAC Intel® FPGA IP User Guide

ID 683426
Date 3/01/2022
Public
Document Table of Contents

5.9. 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 29.  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 datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations. 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.
  • Bits 16 to 19—period in nanoseconds.
  • Bits 20 to 31—reserved. Set these bits to 0.
The default value is 3.2 ns for 312.5 MHz clock. Configure this register before you enable the MAC IP core for operations.
RW 0x33333
0x0102 tx_fns_adjustment_10G Static timing adjustment in fractional nanoseconds on the datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x0104 tx_ns_adjustment_10G Static timing adjustment in nanoseconds on the datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x0108 tx_period_mult_speed Specifies the clock period for timestamp adjustment on the datapaths for 10M/100M/1G operations. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and GMII/MII bus.
  • Bits 0 to 15—period in fractional nanoseconds.
  • Bits 16 to 19—period in nanoseconds.
  • Bits 20 to 31—reserved. Set these bits to 0.

The default value is 8 ns for 125 MHz clock. Configure this register before you enable the MAC IP core for operations.

The IP core automatically sets the clock period for 1G/2.5G configurations. For 1G, the clock period is set to 16 ns for 62.5 MHz clock; for 2.5G, the clock period is 6.4 ns for 156.25 MHz clock.

RW 0x80000
0x0120 rx_period_10G Specifies the clock period for the timestamp adjustment on the datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations. 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.
  • Bits 16 to 19—period in nanoseconds.
  • Bits 20 to 31—reserved. Set these bits to 0.
The default value is 3.2 ns for 312.5 MHz clock. Configure this register before you enable the MAC IP core for operations.
RW 0x33333
0x0122 rx_fns_adjustment_10G Static timing adjustment in fractional nanoseconds on the datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x0124 rx_ns_adjustment_10G Static timing adjustment in nanoseconds on the datapaths for 10G and 10M/100M/1G/2.5G/5G/10G (USXGMII) operations.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x0128 rx_period_mult_speed Specifies the clock period for timestamp adjustment on the datapaths for 10M/100M/1G operations. The MAC IP core multiplies the value of this register by the number of stages separating the actual timestamp and GMII/MII bus.
  • Bits 0 to 15—period in fractional nanoseconds.
  • Bits 16 to 19—period in nanoseconds.
  • Bits 20 to 31—reserved. Set these bits to 0.

The default value is 8 ns for 125 MHz clock. Configure this register before you enable the MAC IP core for operations.

The IP core automatically sets the clock period for 1G/2.5G configurations. For 1G, the clock period is set to 16 ns for 62.5 MHz clock; for 2.5G, the clock period is 6.4 ns for 156.25 MHz clock.

RW 0x80000
0x10A tx_fns_adjustment_mult_speed Static timing adjustment in fractional nanoseconds on the datapaths for 10M/100M/1G/2.5G operations.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x10C tx_ns_adjustment_mult_speed Static timing adjustment in nanoseconds on the datapaths for 10M/100M/1G/2.5G operations.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x12A rx_fns_adjustment_mult_speed Static timing adjustment in fractional nanoseconds on the datapaths for 10M/100M/1G/2.5G operations.
  • Bits 0 to 15—adjustment period in fractional nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

RW 0x0
0x12C rx_ns_adjustment_mult_speed Static timing adjustment in nanoseconds on the datapaths for 10M/100M/1G/2.5G operations.
  • Bits 0 to 15—adjustment period in nanoseconds.
  • Bits 16 to 31—reserved. Set these bits to 0.

Configure this register before you enable the MAC IP core for operations.

For timing adjustment calculations, refer to the related links.

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.
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.
  • Bits 1 to 30—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’h7FF_FFFF_FFFF_FFFF.
  • Bits 0 to 15—reserved.
  • 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.
  • Bits 19 to 31—reserved.
RW1C 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.
  • Bit 31—reserved.
RW 0x0
0x130 rx_p2p_mpd_fns
  • Bits 0 to 15—meanPathDelay value in fractional nanosecond.
  • Bits 16 to 31—reserved.
RW 0x0

Did you find the information on this page useful?

Characters remaining:

Feedback Message