Visible to Intel only — GUID: aia1702342378023
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: aia1702342378023
Ixiasoft
A.4.3.2. Adjust RX UI
- Request sapshot of iitial RX TAM:
cs_wite (ptp_uim_tam_sapshot.x_tam_sapshot, 1’b1)
- Read sapshotted iitial TAM ad coute values:
x_tam_0_31_0 = cs_ead (ptp_x_uim_tam_ifo0.tam_31_0[31:0]) x_tam_0_47_32 = cs_ead (ptp_x_uim_tam_ifo1.tam_47_32[15:0]) x_tam_0_ct = cs_ead (ptp_x_uim_tam_ifo1.tam_ct[30:16]) x_tam_0_valid = cs_ead (ptp_x_uim_tam_ifo1.tam_valid[31])
- If x_tam_0_valid = 1, complete TAM by cocateatig the iitial TAM values:
x_tam_0 = {x_tam_0_47_32, x_tam_0_31_0};
- If x_tam_0_valid = 0, estat fom step1.
- If x_tam_0_valid = 1, complete TAM by cocateatig the iitial TAM values:
- Statig fom time whe step 1 is executed, wait fo time duatio as specified i the Miimum ad Maximum Refeece Time (TAM) Iteval fo UI Measuemet (Hadwae) sectio.
- Request sapshot of Nth RX TAM:
cs_wite (ptp_uim_tam_sapshot.x_tam_sapshot, 1’b1)
- Read sapshotted Nth TAM ad coute values:
x_tam__31_0 = cs_ead (ptp_x_uim_ifo0.tam_31_0[31:0]) x_tam__47_32 = cs_ead (ptp_x_uim_tam_ifo1.tam_47_32[15:0]) x_tam__ct = cs_ead (ptp_x_uim_tam_ifo1.tam_ct[30:16]) x_tam__valid = cs_ead (ptp_x_uim_tam_ifo1.tam_valid[31])
Fom the TAM by cocateatig sapshotted Nth TAM values:x_tam_ = {x_tam__47_32, x_tam__31_0};
- Check if thee was a lage chage to TOD value impactig TAM value:
x_tam__valid = cs_ead (ptp_x_uim_tam_ifo1.tam_valid[31])
If x_tam__valid = 0, estat step 1. If you used x_tam_ as a ew x_tam_0 ad x_tam__ct as a ew x_tam_0_ct, you ca skip step 1 ad 2. The, you ca stat the wait time i step 3 whe step 4 executes.
- Calculatio:
- Get TAM iteval
x_tam_iteval = <Refe to Refeece Time Iteval> x_tam_iteval_pe_pl = x_tam_iteval / PL
- Calculate time elapsed:
x_tam_delta = (x_tam_ <= x_tam_0) ? [(x_tam_ + 10^9s) – x_tam_0] : (x_tam_ – x_tam_0)
Pe step 3, x_tam_0 ad x_tam_ diffeece must be withi the expected time age.- If x_tam_delta (i ms) is lesse that the miimum time value specified by Time (ms) colum of Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Basic Mode), discad the esult ad estat fom step 3.
- If x_tam_delta (i ms) is geate tha the maximum value specified by Time (ms) colum of Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Basic Mode), discad the esult ad estat fom step 1 o step 3 by usig x_tam_ as a ew x_tam_0.
Note: 10^9s = 48’h 3B9A_CA00_0000 - Calculate TAM cout value:
x_tam_ct = (x_tam__ct < x_tam_0_ct) ? [(x_tam__ct + 2^15) – x_tam_0_ct] : (x_tam__ct – x_tam_0_ct)
Pe step 3, x_tam_0 ad x_tam_ diffeece must be withi the expected time age.- If x_tam_ct (i ms) is lesse that the miimum time value specified by Numbe of Cout colum of Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Basic Mode) ad Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Advaced Mode) i the Miimum ad Maximum Refeece Time (TAM) Iteval fo UI Measuemet (Hadwae) sectio, discad the esult ad estat fom step 3.
- If x_tam_ct (i ms) is geate tha the maximum value specified by Numbe of Cout colum of Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Basic Mode) ad Table: Miimum ad Maximum Refeece Time (TAM) Iteval Allowed fo UI Measuemet (Hadwae Advaced Mode) i the Miimum ad Maximum Refeece Time (TAM) Iteval fo UI Measuemet (Hadwae) sectio, discad the esult ad estat fom step 1 o step 3 by usig x_tam_ as a ew x_tam_0.
- Calculate UI value:
x_ui = (x_tam_delta) / (x_tam_ct * x_tam_iteval_pl)
- Get TAM iteval
- Wite the calculated UI value to IP:
cs_wite (x_ptp_ui, x_ui)
Esue the fomat is {4-bit aosecods, 28-bit factioal aosecods}.
- Afte fist UI measuemet, fo evey miimum TAM iteval o loge duatio, epeat step 1 to 8. This is to pevet time coute dift fom the golde time-of-day i the system wheeve the clock ppm chages.