Visible to Intel only — GUID: lpp1702341209398
Ixiasoft
1. Overview
2. Install and License the GTS Ethernet Intel® FPGA Hard IP
3. Configure and Generate Ethernet Hard IP variant
4. Integrate GTS Ethernet Intel® FPGA Hard IP into Your Application
5. Simulate, Compile, and Validate (MAC+PCS) - Single Instance
6. Simulate, Compile, and Validate (MII PCS Only /PCS66 OTN/PCS66 FlexE) - Single Instance
7. Simulate, Compile, and Validate SyncE - Single Instance
8. Simulate and Compile PTP1588 - Single Instance
9. Simulate, Compile, and Validate - Multiple Instance
10. Simulate, Compile, and Validate - Auto-Negotiation and Link Training
11. Troubleshoot and Diagnose Issues
A. Appendix A: Functional Description
B. Appendix B: Configuration Registers
C. Appendix C: Document Revision History for the GTS Ethernet Intel® FPGA Hard IP User Guide
4.1. Implement Required Clocking
4.2. Implement Required Resets
4.3. Connect the Status Interface
4.4. Connect the MAC Avalon Streaming Client Interface
4.5. Connect the MII PCS Only Client Interface
4.6. Connect the PCS66 Client Interface – FlexE and OTN
4.7. Connect the Precision Time Protocol Interface
4.8. Connect the Ethernet Hard IP Reconfiguration Interface
4.9. Connect the Auto-Negotiation and Link Training
4.1.1. Implement MAC Synchronous Clock Connections to Single Instance
4.1.2. Implement MAC Synchronous Clock Connections to Multiple Instances
4.1.3. Implement Clock Connections to MAC Asynchronous Operation
4.1.4. Implement Clock Connections in Synchronous Ethernet Operation (Sync-E)
4.1.5. Implement Clock Connections in PTP-Based Design
4.4.1.1. Drive the Ethernet Packet to the TX MAC Avalon Streaming Client Interface with Disabled Preamble Passthrough
4.4.1.2. Drive the Ethernet Packet on the TX MAC Avalon Streaming Client Interface with Enabled Preamble Passthrough
4.4.1.3. Use i_tx_skip_crc to Control Source Address, PAD, and CRC Insertion
4.4.1.4. Assert the i_tx_error to Invalidate a Packet
4.4.2.1. Receive Ethernet Frame on the RX MAC Avalon Streaming Client Interface with Preamble Passthrough Disabled
4.4.2.2. Receive Ethernet Frame with Preamble Passthrough Enabled
4.4.2.3. Receive Ethernet Frame with Remove CRC bytes Disabled
4.4.2.4. Monitor Status and Errors on the RX MAC Avalon Streaming Client Interface
Visible to Intel only — GUID: lpp1702341209398
Ixiasoft
A.4.2.1. PTP TX User Flow
The followig flows depict pseudo-code meat fo the coceptual, illustative puposes. Fo defiitive softwae outies, efe to the desig example.
Impotat: If IP udegoes TX eset at ay poit i this flow, you must estat the etie PTP TX cliet flow.
- Afte powe up o a TX eset, wait util TX aw offset data ae eady.
Moito the status via oe of the followig:
- Output pot:
o_tx_ptp_offset_data_valid = 1'b1
- Pollig via Avalo® memoy-mapped iteface egiste util it is asseted:
cs_ead(ptp_status.tx_ptp_offset_data_valid) = 1’b1
- Output pot:
- Read TX aw offset data fom IP:
tx_cost_delay = cs_ead(ptp_tx_lae_calc_data_costdelay[30:0]) tx_cost_delay_sig = cs_ead(ptp_tx_lae_calc_costdelay[31]) tx_apulse_offset = cs_ead(ptp_tx_lae_calc_data_offset[30:0]) tx_apulse_offset_sig = cs_ead(ptp_tx_lae_calc_data_offset[31]) tx_apulse_wdelay = cs_ead(ptp_tx_lae_calc_data_wiedelay[19:0]) }
- Calculate TX offsets:
- Calculate TX TAM adjust:
tx_tam_adjust = (tx_cost_delay_sig ? –tx_cost_delay : tx_cost_delay) + (tx_apulse_offset_sig? –tx_apulse_offset : tx_apulse_offset) – (tx_apulse_wdelay)
Note: Covet TAM adjust to a 32-bit 2's complemet umbe:tx_tam_adjust_2c = tx_tam_adjust
- Calculate TX exta latecy:
Covet uit of TX PMA delay fom UI to aosecods. Fo UI value, efe to tables specified i UI Value ad PMA Delay.
tx_pma_delay_s = tx_pma_delay_ui * UI11
TX exta latecy is a positive adjustmet. To idicate the positive adjustmet, set the most-sigificat egiste bit to 0. Total up all exta latecy togethe:tx_exta_latecy[31] = 1'b0 tx_exta_latecy[30:0] = tx_pma_delay_s + tx_exteal_phy_delay
- Calculate TX TAM adjust:
- Wite the calculated TX offsets to IP:
- Wite TX exta latecy:
cs_wite(tx_ptp_exta_latecy, tx_exta_latecy)
- Wite TX TAM adjust:
cs_wite(ptp_tx_tam_adjust, tx_tam_adjust_2c)
- Wite TX exta latecy:
- UI value measuemet. Follow the steps metioed i the Adjust TX UI sectio.
Fo simulatio o hadwae u with 0 PPM setup, you ca skip the measuemet ad pogam 0 PPM UI value defied i UI Adjustmet.
- Notify soft PTP that the use flow cofiguatio is complete.
cs_wite(ptp_tx_use_cfg_status.tx_use_cfg_doe, 1'b1)
- Wait util TX PTP is eady.
You ca moito the status via oe of the followig:
- Output pot:
o_tx_ptp_eady = 1'b1
- Pollig via CSR:
cs_ead(ptp_status.tx_ptp_eady) = 1’b1
- Output pot:
- TX PTP is up ad uig.
Adjust TX UI value.
Pefom the TX UI adjustmet occasioally to pevet time coute dift fom golde time-of-day i the system. Follow the steps descibed i Adjust TX UI.
Note: UI measuemet is a log pocess i simulatio. Theefoe, fo simulatio, Itel ecommeds skippig this step ad pogam a 0 PPM value.
11 The UI fomat diffes fom the fomat of othe vaiables. UI uses the {4-bit s, 28-bit factioal s} fomat. Othe vaiables defied i this flow use the {N-bit s, 16-bit factioal s} fomat, whee N is the lagest umbe to stoe the calculatio's maximum value. If you use UI fomat i you calculatio, you must covet you esult to a 16-bit factioal s fomat.