GTS AXI Streaming Intel® FPGA IP for PCI Express* User Guide

ID 813754
Date 11/04/2024
Public
Document Table of Contents

6.15. Precision Time Measurement (PTM) Interface

The GTS AXI Streaming IP provides a wires interface for PTM handshake only when operating in Endpoint mode.

The PTM signals require accurate transfer latency so that compensation is done on the receiving end to get the best PTM accuracy. Hence, the PTM signals are in wires and clocked by coreclkout_hip. The data path latency of the PTM interface is factored into the PTM clock values output by the interface. The application can manually trigger the PTM context update requests through the wire interface.

Table 79.  Precision Time Measurement (PTM) Interfacen = 0 or 1, p0 = port 0, and p1 = port 1
Note: Port 1 is only available in D-Series FPGAs
EP = Endpoint, RP = Root Port, BP = TLP Bypass
Signal Name Direction Port Mode Clock Domain Description
p<n>_ptm_context_valid Output EP coreclkout_hip_toapp

Asserted when PTM context is valid.

Rate change, link state change, or error in the received PTM message causes p<n>_ptm_context_valid to be invalidated.

p<n>_start_ptm_newclk_value Output EP coreclkout_hip_toapp

Asserted high for one clock.

Indicates start of a new PTM clock value.

p<n>_ptm_newclk_value Output EP coreclkout_hip_toapp

Serialized output for the PTM clock value.

Valid for 64 clock cycles starting with p<n>_start_ptm_newclk_value assertion.

The LSB of the snapshot is serialized first.

p<n>_ptm_clock_correction Output EP coreclkout_hip_toapp

Serialized output for the PTM correction value.

Valid for 64 clock cycles starting with p<n>_start_ptm_newclk_value assertion.

The LSB of the snapshot is serialized first.

The PTM clock correction is used to indicate the amount by which the new PTM clock value has been corrected.

ART can use this to delay the local clock counter in the FPGA.

p<n>_ptm_manual_update Input EP coreclkout_hip_toapp Application asserts this signal to manually trigger the PTM time update within the PCIe* controller.

The figure below shows a timing diagram for both automatic PTM updates to the application and manual update requests from the application.

Figure 59. Precision Time Measurement (PTM) Context Update