eCPRI Intel® FPGA IP User Guide

ID 683685
Date 8/16/2024
Public
Document Table of Contents

5.7.2. 25G Ethernet MAC 1588 PTP Signals

Table 37.  Signals of the 25G Ethernet MAC 1588 PTP All signals are synchronous to clk_tx clock.
Signal Name Width Direction Description
ptp_timestamp_insert 1 Output

Indicates the current packet on the TX client interface is a 1588 PTP packet and directs the IP core to process the packet in one-step processing insertion mode. In this mode, the IP core overwrites the timestamp of the packet with the timestamp when the packet appears on the TX Ethernet link.

The TX client must assert and deassert this signal synchronously with the TX SOP signal for the 1588 PTP packet.

ptp_tx_etstamp_ins_ctrl_residence_time_update 1 Output

Indicates the current packet on the TX client interface is a 1588 PTP packet and directs the IP core to process the packet in one-step processing correction mode. In this mode, the IP core adds the latency through the IP core (residence time) to the current contents of the timestamp field.

The TX client must assert and deassert this signal synchronously with the TX SOP signal for the 1588 PTP packet.

tx_etstamp_ins_ctrl_times tamp_format 1 Output

Specifies the timestamp format (V1 or V2 format) for the current packet if the TX client simultaneously asserts tx_etstamp_ins_ctrl_timestamp_insert.

Valid value is:
  • Tie to 0 to indicate 96-bit timestamp format (V2).

The TX client must maintain the desired value on this signal while the TX SOP signal is asserted.

tx_etstamp_ins_ctrl_residence_time_calc_format 1 Output

Specifies the TOD format (Intel 64-bit TOD format or the V2 96-bit format) for the current packet if the TX client simultaneously asserts tx_etstamp_ins_ctrl_residence_time_update.

Value is:
  • Tie to 0 to indicate 96-bit TOD format (V2)

The TX client must maintain the desired value on this signal while the TX SOP signal is asserted.

ptp_offset_timestamp 16 Output

Specifies the byte offset of the timestamp information in the current packet if the TX client simultaneously asserts tx_etstamp_ins_ctrl_timestamp_insert.

The IP core overwrites the value at this offset.

The TX client must maintain the desired value on this signal while the TX SOP signal is asserted.

The timestamp has 96 bits. In this case, the IP core inserts ten bytes (bits [95:16]) of the timestamp at this offset and the remaining two bytes (bits [15:0]) of the timestamp at the offset specified in tx_etstamp_ins_ctrl_offset_correction_field.

ptp_offset_correction_field 16 Output

If the TX client simultaneously asserts tx_etstamp_ins_ctrl_residence_time_update, this signal specifies the byte offset of the correction field in the current packet.

If the TX client simultaneously asserts tx_etstamp_ins_ctrl_timestamp_insert and deasserts (sets to the value of 0) the tx_etstamp_ins_ctrl_timestamp_format signal, this signal specifies the byte offset of bits [15:0]] of the timestamp.

The TX client must maintain the desired value on this signal while the TX SOP signal is asserted.

tx_etstamp_ins_ctrl_checksum_zero 1 Output

The TX client asserts this signal during a TX SOP cycle to tell the IP core to zero the UDP checksum in the current packet.

A zeroed UDP checksum indicates the checksum value is not necessarily correct. This information is useful to tell the application to skip checksum checking of UDP IPv4 packets. This function is illegal for UDP IPv6 packets.

tx_etstamp_ins_ctrl_offset_checksum_field 16 Output

Indicates the byte offset of the UDP checksum in the current packet.

The TX client must ensure this signal has a valid value during each TX SOP cycle when it also asserts the tx_etstamp_ins_ctrl_checksum_zero signal.

Holds the byte offset of the two bytes in the packet that the IP core should reset.

tx_etstamp_ins_ctrl_checksum_correct 1 Output

The TX client asserts this signal during a TX SOP cycle to tell the IP core to update (correct) the UDP checksum in the current packet.

This signal is asserted for correct processing of UDP IPv6 packets.

tx_etstamp_ins_ctrl_offset_checksum_correction 16 Output

Indicates the byte offset of the UDP checksum in the current packet.

The TX client must ensure this signal has a valid value during each TX SOP cycle when it also asserts the tx_etstamp_ins_ctrl_checksum_correct signal.

Holds the byte offset of the two bytes in the packet that the IP core should correct. This signal is meaningful only in one-step clock mode.

ptp_timestamp_request_valid 1 Output

Indicates the current packet on the TX client interface is a 1588 PTP packet and directs the IP core to process the packet in two-step processing mode.

In this mode, the IP core outputs the timestamp of the packet when it exits the IP core, and does not modify the packet timestamp information.

The TX client must assert and deassert this signal synchronously with the TX SOP signal for the 1588 PTP packet.

ptp_timestamp_request_fingerprint PTP_TS_FP_WIDTH+2 Output

Fingerprint of the current packet.

The TX client must assert and deassert this signal synchronously with the TX SOP signal for the 1588 PTP packet and eCPRI one way delay measurement packet.

ptp_tx_ingress_timestamp_96b_data 96 Output

Provides the V2-format timestamp when a 1588 PTP frame begins transmission on the Ethernet link.

Synchronous with mac_source_valid.