F-Tile Ethernet Intel® FPGA Hard IP User Guide

ID 683023
Date 7/08/2024
Public
Document Table of Contents

4.4.11. Routing Delay Adjustment for Basic Timestamp Accuracy Mode

Follow the steps below to generate the routing delay information and apply the delay information to the TX/RX TAM adjust calculations described in the PTP TX/RX Client Flow sections.

For hardware run with Timestamp accuracy mode set to Basic, use the eth_f_ptp_report_dl_path_delay.tcl script to generate the routing delay information.

The steps to execute .tcl script is same as advanced accuracy mode. For more information to execute .tcl scripts, refer to the steps 1 to 3 in the Routing Delay Adjustment for Advanced Timestamp Accuracy Mode.

  1. The generated TX and RX routing delay adjustment information is available in these views:
    • In the Command Prompt window:
      Info: PTP DL Path Routing delay adjustment summary:
      Info: Mean TX Routing delay adjustment for IP_INST[0].hw_ip_top|dut|eth_f_0 lane[0] = 0.48525 ns
      Info: Mean TX Routing delay adjustment for IP_INST[0].hw_ip_top|dut|eth_f_0 lane[1] = 0.3595 ns
      Info: Mean RX Routing delay adjustment for IP_INST[0].hw_ip_top|dut|eth_f_0 lane[0] = 0.56175 ns
      Info: Mean RX Routing delay adjustment for IP_INST[0].hw_ip_top|dut|eth_f_0 lane[1] = 0.67025 ns
      Info (23030): Evaluation of Tcl script eth_f_ptp_report_dl_path_delay.tcl was successful
    • In the generated ptp_hw_basic_adj.tcl script:
      #Mean Routing Delay Adjustment (ns)
      #IP0: IP_INST[0] hw_ip_top|dut|eth_f_0
      set IP0_TX0_ROUTING_ADJ 0.48525
      set IP0_TX1_ROUTING_ADJ 0.3595
      set IP0_RX0_ROUTING_ADJ 0.56175
      set IP0_RX1_ROUTING_ADJ 0.67025
    • In ptp_hw_basic_adj.csv file:

  2. Use the generated routing delay values in the tx/rx_tam_adjust calculation specified in PTP TX Client Flow and PTP RX Client Flow.
    Note: If you modify your project and rerun the compilation, you also must regenerate the routing delay information by following the steps above.