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

ID 813754
Date 8/07/2024
Public

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

Document Table of Contents

7.12. 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 54.  Precision Time Measurement (PTM) Interface
Signal Name Direction Endpoint (EP)/Root Port (RP)/TLP Bypass (BP) 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 61. Precision Time Measurement (PTM) Context Update