The PTP TIMESTAMP Interface is an encrypted RTL module that demonstrates the timestamp conversion from CF format to ToD format. Following are the port details.
Signal | Direction | Description |
---|---|---|
ts_clk | In | Timestamp clock. Default clock period of 4.0 ns |
rst | In | Reset sync with ts_clk |
tx_axis_clk | In | TX AXIS streaming Clock |
rx_axis_clk | In | TX AXIS streaming Clock |
tx_axis_rst | In | Reset sync with tx_axis_clk |
rx_axis_rst | In | Reset sync with rx_axis_clk |
tx_tod_sec[47:0] | In | Port TX Timer seconds field |
tx_tod_ns[31:0] | In | Port TX Timer nanoseconds field |
rx_tod_sec[47:0] | In | Port RX Timer seconds field |
rx_tod_ns[31:0] | In | Port RX Timer nanoseconds field |
tx_tod_corr[63:0] | In | Port TX Timer CF format |
rx_tod_corr[63:0] | In | Port RX Timer CF format |
tx_period[55:0] | In | TX period value. Unused and reserved for future enhancement. Tie to 56’d0. |
rx_axis_tvalid | In | RX AXIS control signals from MRMAC of the respective port. |
rx_axis_tlast | In | RX AXIS control signals from MRMAC of the respective port. |
tx_ptp_tstamp[54:0] | In | TX Timestamp output of MRMAC. To be connected to respective port of MRMAC signal “tx_ptp_tstamp_out_<N>”. N is the port Number 0/1/2/3. |
tx_ptp_tstamp_tag[15:0] | In | TX Timestamp Tag output of MRMAC. To be connected to respective port of MRMAC signal “tx_ptp_tstamp_tag_out_<N>”. N is the port Number 0/1/2/3. |
tx_ptp_tstamp_valid | In | Tx Timestamp Valid output of MRMAC. To be connected to respective port of MRMAC signal “tx_ptp_tstamp_valid_out_<N>”. N is the port Number 0/1/2/3. |
rx_ptp_tstamp[54:0] | In | RX Timestamp output of MRMAC. To be connected to respective port of MRMAC signal “rx_ptp_tstamp_out_<N>”. N is the port Number 0/1/2/3. |
tx_timestamp_tod[79:0] | Out | User interface For TX Timestamp in ToD format |
tx_timestamp_tag_tod[15:0] | Out | User interface For TX Timestamp TAG . |
tx_timestamp_tod_valid | Out | User interface For TX Timestamp valid. |
rx_timestamp_tod[79:0] | Out | User interface For RX Timestamp in ToD format |
rx_timestamp_tag_tod[15:0] | Out | User interface For RX Timestamp TAG. This is generated using internal counter. Can be used for debug purpose only. |
rx_timestamp_tod_valid | Out | User interface For RX Timestamp valid. |
Figure 1. PTP Timestamp Interface