Visible to Intel only — GUID: kly1448847750296
Ixiasoft
Visible to Intel only — GUID: kly1448847750296
Ixiasoft
1.2.4. Functional Flow For A 1588 Transparent Clock Master/Slave Mode System
The following figure illustrates timestamp synchronization flow using 1-step mechanism transparent clock mode on the Altera 1588 system. In this figure, the transparent clock consists of two Altera 1588 IP cores to create two ports system; one port as PTP packet input port and another as PTP packet output port. The residence delay is calculated from the timestamp of the input port to the timestamp of the output port.
- PTP packet enters the FPGA through cable A and the Mac RX 1588 logic generates timestamp Ti1.
- The packet parser validates the PTP packet before sending it to the user logic along with the timestamp information, ignoring all timestamps for non-PTP packets.
- The user logic at the egress port send the PTP packet along with timestamp Ti1 to the packet parser of the egress port.
- The packet parser, then validates the PTP packet and send the packet along with the timestamp Ti1 to Mac Tx 1588 logic along with the required command.
- Mac Tx 1588 logic generates timestamp Te1 and updates the correction factor (CF) in the packet header. The CF field contains the new residence delay, calculated as CF' = CF + Te1-Ti1.
- The PHY, then transmits the PTP packet to the network.
- The same flow from step 1 to step 6 applies to the PTP packet received by cable B, with the timestamp components of Ti2 and Te2.
For 2-step mechanism, the CPU collects the ingress and egress timestamps from FIFOs, but the PTP packet remain unchanged. The ingress port receives a follow-up packet from the network and Mac Rx 1588 logic generates a timestamp for the follow-up packet. The packet parser verifies it is a follow-up packet and send it to the CPU via user logic. The CPU updates the follow-up packet after matching the packet's fingerprints with the new correction field of CF'=CF + Te - Ti before sending it to the egress port.