GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 10/12/2024
Public
Document Table of Contents

4.7.2. Connect the TX Two-Step Timestamp Interface

The timestamp iteface sigals ae valid whe i_tx_valid ad i_tx_statofpacket sigals ae high. To iitiate a timestamp equest, the i_ptp_ts_eq sigal must be high. You must also specify a figepit value i the i_ptp_fp sigal.

The diagam below depicts the tasmissio of two packets. The fist packet cotais a two-step timestamp equest with a assiged figepit, FP1.

Figue 48. IEEE 1588 TX Two-Step Timestamp Iteface
  • The timestamp sigals ae oly valid whe i_tx_valid ad i_tx_statofpacket ae both high.
  • i_ptp_ts_eq must be high to iitiate a timestamp equest.
  • The equest must be accompaied by a figepit value o the i_ptp_fp pot.
Note: The figepit values ca be e-used whe the timestamp fo the packet is etued.
The diagam below depicts how a timestamp is etued fo a packet whe a 2-step timestamp equest is issued:
Figue 49. Two-Step Timestamp: Receivig Timestamp fo a Figepit
  • o_ptp_ets_valid is asseted to idicate that o_ptp_ets ad o_ptp_ets_fp have a valid timestamp ifomatio.
  • o_ptp_ets is the timestamp, ad o_ptp_ets_fp is the figepit (idetifie) of the packet fo which the timestamp is fo.
Table 41.  Two-Step TX Timestamp Iteface SigalsThe timestamp is always i 1588 v2 fomat.
Sigal Name Width Desciptio
i_ptp_ts_eq[0:0] 1

Request a 2-step timestamp fo the cuet TX packet

1: Geeate a TX timestamp fo the cuet packet

TX MAC SOP-Aliged Cliet Iteface:

i_ptp_ts_eq[0] is valid oly whe i_tx_valid = 1 ad i_tx_statofpacket = 1

i_ptp_fp[<w>-1:0]

<w> = Timestamp figepit width selected i GUI optio

</w>

Figepit fo cuet TX Packet

This bus is used to assig a 8 bit “figepit” to a TX packet that is beig tasmitted, so that the TX egess timestamp associated with the TX packet ca be idetified – the timestamp etus with the same figepit.

TX MAC SOP-Aliged Cliet Iteface:

i_ptp_fp[<w>-1:0] is valid oly whe i_tx_valid = 1 ad i_tx_statofpacket = 1

Used fo both 2-step ad 1-step PTP packets.

Itel ecommeds usig a lage age of figepits, to avoid the possibility of assigig the same figepit to 2 TX packets that ae beig pocessed.

o_ptp_ets_valid[0:0] 1

TX Egess Timestamp Valid

1: The figepit ad egess timestamp pots ae pesetig valid output o this cycle.

o_ptp_ets[95:0] 96

TX Egess Timestamp

This bus is used to peset a egess timestamp fo the TX Packet that was tasmitted with the figepit give by o_ptp_ets_fp

o_ptp_ets[95:0] is valid oly whe o_ptp_ets_valid[0] = 1

Used to peset TX egess timestamps fo both 2-step ad 1-step PTP packets.

The timestamp is i 1588v2 fomat (96b).

The timestamp is fo the packet whose figepit matches the figepit with the egess timestamp.

The timestamp idicates the estimated time at which the fist bit of the stat-of-packet block fo the TX packet is tasmitted fom the tx_seial pi.

All timestamps ae efeeced to the copy of the Time-of-Day maitaied o the EHIP.

o_ptp_ets_fp[<w>-1:0]

<w> = Timestamp figepit width selected i GUI optio

<w>

TX Egess Timestamp Figepit

This bus pesets the figepit fo the cuet 2-step egess timestamp. The figepit ca be used to detemie which TX Packet the timestamp belogs with.

o_ptp_ets_fp[<w>-1:0] is valid oly whe o_ptp_ets_valid[0] = 1

Used to peset TX egess timestamps figepits fo both 2-step ad 1-step PTP packets.