GTS Ethernet Hard IP User Guide: Agilex™ 3 FPGAs and SoCs
ID
848477
Date
7/07/2025
Public
1. Overview
2. Install and License the GTS Ethernet Hard IP
3. Configure and Generate Ethernet Hard IP variant
4. Integrate GTS Ethernet Hard IP into Your Application
5. Simulate and Compile (MAC+PCS) Design Example
6. Simulate and Compile (MII PCS Only/PCS66 OTN/PCS66 FlexE) Design Example
7. Simulate and Compile SyncE Design Example
8. Simulate and Compile PTP1588 Design Example
9. Simulate and Compile (Dynamically Reconfigurable Ethernet Mode)
10. Simulate and Compile - Auto-Negotiation and Link Training
11. Troubleshoot and Diagnose Issues
12. Appendix A: Functional Description
13. Appendix B: Configuration Registers
14. Appendix C: Document Revision History for the GTS Ethernet Hard IP User Guide: Agilex 3 FPGAs and SoCs
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.10. Connect the Multirate Auto-Negotiation and Link Training
4.11. Connect the Dynamically Reconfigurable Ethernet Mode
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
5.3.1. Simulation Testbench Flow
The testbench executes the following activities for MAC+PCS mode:
- Assert global reset (i_rst_n) to reset the GTS Ethernet Hard IP.
- Wait until reset acknowledgment. The o_rst_ack_n signal goes low.
- Deassert the global reset.
- Wait until o_tx_lanes_stable bit is set to 1, indicating TX path is ready.
- Wait until o_rx_pcs_ready bit is set to 1, indicating RX path is ready.
- Instruct packet client to transmit data by writing 0x1 to bit 0 of hardware packet client control hw_pc_ctrl register 0x0.
- Read RX packet data information from the following registers.
- Set snapshot enable bit to read the RX packet statistics (set bit 6 of hw_pc_ctrl register 0x00 to 1’b1).
- 0x38/0x3C: RX start of packet counter (LSB/MSB)
- 0x40/0x44: RX end of packet counter (LSB/MSB)
- 0x48/0x4C: RX error counter (LSB/MSB)
- Disable snapshot bit (set bit 6 of hw_pc_ctrl register 0x00 to 1'b0).
- Read TX packet data information from the following registers:.
- Set snapshot enable bit to read the TX packet statistics (set bit 6 of hw_pc_ctrl register 0x00 to 1’b1).
- 0x20/0x24: TX start of packet counter (LSB/MSB)
- 0x28/0x2C: TX end of packet counter (LSB/MSB)
- 0x30/0x34: TX error counter (LSB/MSB)
- Disable snapshot bit (set bit 6 of hw_pc_ctrl register 0x00 to 1'b0).
- Compare read counters to ensure 16 packets were sent and received.
- Instruct packet client to stop data transmission and clear the counters by writing 0x100 ( clearing bit 0 and setting bit 8) of hardware packet client control hw_pc_ctrl register 0x00.
- Perform Avalon® memory-mapped interface test. Write and read the following Ethernet IP registers.
- 0x104: Scratch register
- 0x108: Ethernet IP soft reset register
- 0x014: Lower 32 bits of TX MAC Source address Register
- 0x018: Upper 16 bits of TX MAC Source address Register
- 0x01C: MAX RX frame size register