Low Latency Ethernet 10G MAC IP Design Example User Guide: Agilex™ 3 and Agilex™ 5 FPGAs and SoCs

ID 813665
Date 8/04/2025
Public
Document Table of Contents

1.3.1. Procedure

You can compile and simulate the design by running a simulation script from the command prompt.
  1. Navigate to the <example design> folder in your design example: cd <design_example_dir>/intel_eth_em10g32_0_EXAMPLE_DESIGN/<LL10G_*>.
  2. Generate the support logic folder for dynamic reconfiguration enabled design examples with the following command: quartus_tlg --tool=dr --read_settings_files=on --write_settings_files=off --skip_quick_elaboration ./altera_eth_top -c ./altera_eth_top. Alternatively, run the HSSI Dynamic Reconfiguration IP Generation in the Compilation Dashboard to generate the support logic folder.
    Figure 4. HSSI Dynamic Reconfiguration IP Generation
  3. At the command prompt, change the working directory to <Example Design>/simulation/ed_sim/<Simulator> .
  4. Run the following simulation scripts.
    Simulator Working Directory Command
    VCS* MX <Example Design>/simulation/ed_sim/synopsys/vcsmx

    For 2.5G, 10M/100M/1G/2.5G, 10M/100M/1G/2.5G/10G, and 10M/100M/1G/2.5G/10G MGE PCS only design example:sh tb_run.sh

    For 1G/2.5G, 1G/2.5G/10G, and 2.5G with IEEE 1588v2 design example: sh tb_run.sh

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) design example: sh altera_tb_run.sh

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) with IEEE 1588v2 design example:

    sh altera_tb_run.sh
    QuestaSim* <Example Design>/simulation/ed_sim/mentor

    For 2.5G, 10M/100M/1G/ 2.5G, 10M/100M/1G/2.5G/10G, and 10M/100M/1G/2.5G/10G MGE PCS only design example:

    vsim -c -do tb_run.tcl

    For 1G/2.5G, 1G/2.5G/10G and 2.5G with IEEE 1588v2 design example: vsim -c -do tb_run.tcl

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) design example:

    vsim -c -do altera_tb_run.tcl

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) with IEEE 1588v2 design example:

    vsim -c -do altera_tb_run.tcl
    Xcelium* <Example Design>/simulation/ed_sim/xcelium

    For 2.5G, 10M/100M/1G, 2.5G, 10M/100M/1G/2.5G/10G, and 10M/100M/1G/2.5G/10G MGE PCS only design example:

    sh tb_run.sh

    For 1G/2.5G, 1G/2.5/10G, and 2.5G with IEEE 1588v2 design example:

    sh tb_run.sh

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) design example:

    sh altera_tb_run.sh

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) with IEEE 1588v2 design example:

    sh altera_tb_run.sh
    Riviera-PRO* <Example Design>/simulation/ed_sim/aldec

    For 2.5G, 10M/100M/1G/2.5G, 10M/100M/1G/2.5G/10G, and 10M/100M/1G/2.5G/10G MGE PCS only design example: vsim -c -do tb_run.tcl

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) design example : vsim -c -do altera_tb_run.tcl

    For 1G/2.5G, 1G/2.5G/10G, and 2.5G with IEEE 1588 design example : vsim -c -do tb_run.tcl

    For 10M/100M/1G/2.5G/5G/10G (USXGMII) with IEEE 1588v2 design example : vsim -c -do altera_tb_run.tcl

A successful simulation ends with the following message:
Simulation passed.
After successful completion, you can analyze the results.