GTS Ethernet Hard IP User Guide: Agilex™ 5 FPGAs and SoCs
                    
                        ID
                        817676
                    
                
                
                    Date
                    8/04/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, 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 (Dynamically Reconfigurable Ethernet Mode)
                    
                    
                
                    
                        11. Simulate, Compile, and Validate - Auto-Negotiation and Link Training
                    
                    
                
                    
                        12. Troubleshoot and Diagnose Issues
                    
                    
                
                    
                        13. Appendix A: Functional Description
                    
                    
                
                    
                        14. Appendix B: Configuration Registers
                    
                    
                
                    
                    
                        15. Appendix C: Document Revision History for the GTS Ethernet Hard IP User Guide: Agilex™ 5 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.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
                                                    
                                                    
                                                
                                            
                                        
                        
                        
                            
                            
                                11.1. Auto-Negotiation and Link Training for General Ethernet Mode
                            
                        
                            
                            
                                11.2. Multirate Auto-Negotiation and Link Training for Reconfigurable Mode AN/LT
                            
                        
                            
                            
                                11.3. Design Example Features
                            
                        
                            
                            
                                11.4. Design Example Components
                            
                        
                            
                                11.5. Simulate the Design Example
                            
                            
                        
                            
                            
                                11.6. Compile the Design Example
                            
                        
                            
                                11.7. Validate the Design Example
                            
                            
                        
                    
                7.3. Simulate the Design Example
The simulation testbench sends and receives 16 packets using the ROM-based packet generator.
  
  
    Figure 69. The  GTS Ethernet Hard IP  Simulation Design Example Block Diagram
    
   
  The following steps describe how to simulate the design example:
- At the command prompt, change the directory to <design_example_dir>/example_testbench.
- Run the simulation script for the supported simulator of your choice. The script compiles and runs the testbench in the simulator. Refer to the following table Steps to Simulate the Testbench. 
     Simulator Instructions Synopsys* VCS* MX In the command line, type the following command: sh run_vcsmx.sh QuestaSim* or Questa* Intel® FPGA Edition To run a simulation in GUI, type the following command: vsim -do run_vsim.do If you prefer to simulate without bringing up the GUI, type the following command:vsim -c -do run_vsim.do Xcelium* In the command line, type the following command: sh run_xcelium.sh Aldec Riviera-PRO* 13 In the command line, type: vsim -c -do run_rivierasim.do To enable Synopsys* VCS* Verdi, uncomment the following line from the testbench file located in <design_example_dir>/example_testbench/basic_avl_tb_top.sv.//$fsdbDumpvars(0, "+all", basic_avl_tb_top); //$wlfdumpvars(0); A successful simulation ends with the following message:Testbench complete After successful completion, analyze the results.
  13 Supports Riviera 2024.04