Visible to Intel only — GUID: dno1519875822160
Ixiasoft
Visible to Intel only — GUID: dno1519875822160
Ixiasoft
2.11.12. 1588 PTP Interface
The E-Tile Hard IP for Ethernet Intel FPGA IP 1588 PTP Interface is available for 10G/25G designs when you turn on Enable IEEE 1588 PTP for 10G/25G channels in 100GE or 1 to 4 10GE/25GE with optional RS-FEC and 1588 PTP variation. The 1588 Precision Time Protocol (PTP) timestamp information provided is as defined in the IEEE 1588-2008 Precision Clock Synchronization Protocol for Networked Measurement and Control Systems Standard.
These signals are active only when your selected channel is configured to provide a MAC+PTP+PCS stack.
- In basic PTP accuracy mode: i_ptp_tod
- In advanced PTP accuracy mode: i_sl_ptp_tx_tod/i_sl_ptp_tx_tod
- TX clock represents i_sl_clk_tx clock when the asynchronous adapter is disabled and i_sl_async_clk_tx clock when the asynchronous adapter is enabled.
- RX clock represents i_sl_clk_rx clock when the asynchronous adapter is disabled and i_sl_async_clk_rx clock when the asynchronous adapter is enabled.
- For 100GE channel or single channel 10GE/25GE: i_ptp_ins_ets
- For selected 10GE/25GE channel: i_sl_ptp_ins_ets[(n*width)-1:0]
Signal Name |
Width | Description |
---|---|---|
i_ptp_ins_ets i_sl_ptp_ins_ets[n-1:0] |
1 | Egress timestamp into the current TX Packet on the respective channel.
|
i_ptp_ins_cf i_sl_ptp_ins_cf[n-1:0] |
1 | Residence time timestamp into the correction field in the current TX packet on the respective channel.
|
i_ptp_zero_csum i_sl_ptp_zero_csum[n-1:0] |
1 | Overwrites the checksum in a UDP packet carried inside the current TX packet with zeros.
|
i_ptp_update_eb i_sl_ptp_update_eb[n-1:0] |
1 | Overwrites the extended bytes field in an IPv6 packet carried inside the current TX packet with a value that cancels out changes to the checksum due to changes to the UDP packet.
|
i_ptp_ts_format i_sl_ptp_ts_format[n-1:0] |
1 | Format of the PTP 1-step operation on the respective channel.
Valid only when either the egress time timestamp signal (i_ptp_ins_ets) or the residence time timestamp signal ( i_ptp_ins_cf), and the TX valid signal, and SOP signal are asserted. When i_ptp_ins_cf is asserted, this port must be set to 0. The correction field is only applicable to IEEE 1588v2 format. |
i_ptp_ts_offset i_sl_ptp_ts_offset[(n*16)-1:0] |
16 | Position of the PTP timestamp field in the current TX packet.
CAUTION:
You must set the offset to a position within the TX packet, or the PTP insertion operation fails. You must not also overlap the PTP fields.
|
i_ptp_cf_offset i_sl_ptp_cf_offset[(n*16)-1:0] |
16 | Position of the PTP correction field in the current TX packet.
CAUTION:
You must set the offset to a position within the TX packet, or the PTP insertion operation fails. You must not also overlap the PTP fields.
|
i_ptp_csum_offset i_sl_ptp_csum_offset[(n*16)-1:0] |
16 | Position of the first byte of a UDP checksum field in the current TX packet.
CAUTION:
You must set the offset to a position within the TX packet, or the PTP insertion operation fails. You must not also overlap the PTP fields.
|
i_ptp_eb_offset i_sl_ptp_eb_offset[(n*16)-1:0] |
16 | Position of the first byte of extended bytes field in the current TX packet.
CAUTION:
You must set the offset to a position within the TX packet, or the PTP insertion operation fails. You must not also overlap the PTP fields.
|
i_ptp_tx_its i_sl_ptp_tx_its[(n*96)-1:0] |
96 | Ingress timestamp for a TX packet that requires a residence time calculation (e.g. i_ptp_ins_cf = 1). This timestamp is the time at which the packet arrives in the system. The TX MAC compares this time to the time at which the packet leaves the system to generate a residence time. You must set the i_ptp_ts_format to 0. Residence time calculation/correction is only applicable to IEEE 1588v2 format. Valid only when the TX valid and TX SOP signals are asserted. |
Signal Name |
Width | Description |
---|---|---|
i_ptp_ts_req i_sl_ptp_ts_req[n-1:0] |
1 | Request a 2-step timestamp signal for the current TX packet. When asserted, generates a TX timestamp for the current packet. Valid only when the TX valid and TX SOP signals are asserted. |
i_ptp_fp i_sl_ptp_fp[(n*8)-1:0] |
8 | Fingerprint signal for current TX packet.
Assigns an 8-bit fingerprint to a TX packet that is being transmitted, so that the 2-step or 1-step PTP timestamp associated with the TX packet can be identified. The timestamp returns with the same fingerprint.
Valid only when the TX valid and TX SOP signals are asserted. |
o_ptp_ets_valid o_sl_ptp_ets_valid[n-1:0] |
1 | 1-step or 2-step egress timestamp valid signal. When asserted, the fingerprint and egress timestamp signals present valid output on this cycle.
This signal is asserted after the timestamp is generated in one of these scenarios:
|
o_ptp_ets o_sl_ptp_ets[(n*96)-1:0] |
96 | 2-step or 1-step egress timestamp signal. This port presents an egress timestamp for the TX Packet that was transmitted with the fingerprint given by o_ptp_ets_fp. Following conditions apply to this signal:
|
o_ptp_ets_fp o_sl_ptp_ets_fp[(n*8)-1:0] |
8 | Fingerprint for the current 2-step or 1-step egress timestamp. You can use the fingerprint to determine which TX packet the timestamp belongs to. Valid only when the egress timestamp valid signal ( o_ptp_ets_valid) is asserted. |
Signal Name |
Width | Description |
---|---|---|
i_ptp_tod |
96 | When you set the PTP Accuracy Mode to Basic Mode, this signal presents the current Time of Day, according to the local clock, to the Ethernet IP core. All channels in the same IP core share the same ToD port. When your design implements multiple IP cores, each IP core requires a ToD IP. The timestamp is in IEEE 1588v2 format (96b). |
i_sl_ptp_tx_tod[(n*96)-1:0] |
96 | When you set the PTP Accuracy Mode to Advanced Mode, represents the TX Time of Day, according to the local clock. The timestamp is in IEEE 1588v2 format (96 bits). |
i_sl_ptp_rx_tod[(n*96-1):0] |
96 | When you set the PTP Accuracy Mode to Advanced Mode, represents the RX Time of Day, according to the local clock. The timestamp format is in IEEE 1588v2 format (96 bits). |
Signal Name |
Width | Description |
---|---|---|
o_ptp_rx_its o_sl_ptp_rx_its[(n*96)-1:0] |
96 | Ingress RX timestamp signal. Presents the ingress timestamp for the incoming RX packet on the respective channel. Valid only when the RX valid and RX SOP signals are asserted. The timestamp is in 1588v2 format (96b). |
Signal Name |
Width | Description |
---|---|---|
o_tx_ptp_ready o_sl_tx_ptp_ready[n-1:0] |
1 | TX PTP ready signal. When asserted, the core to ready to request for TX PTP functions on the respective channel. |
o_rx_ptp_ready o_sl_rx_ptp_ready[n-1:0] |
1 | RX PTP ready signal. When asserted,the RX PTP logic ready for use on the respective channel. After reset and PMA adaptation, the signal gets asserted after link partner sends up to 20 Ethernet packets. |