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

8.4. Simulation

The simulation starts up the example design with an operating speed of 10G.

The simulation test case performs the following steps:
  1. Asserts and deasserts reset to the Dynamic Reconfiguration (DR) controller IP.
  2. Writes the following to the DR Controller IP registers for profile switching:
    1. Writes 80030002 to “Register Next ID Configuration 0” to specify the next ID.
    2. Writes 01 to the “Register Trigger” to trigger the dynamic reconfiguration.
  3. Waits until dynamic reconfiguration is acknowledged (o_in_progress signal is high).
  4. Asserts global reset (i_rst_n) to reset the Direct PHY IP.
  5. Waits for DR Controller IP to be ready (o_in_progress signal is low).
  6. Waits for reset acknowledgement (o_rst_ack_n signal is low).
  7. Deasserts the global reset (i_rst_n).
  8. Configures the MAC and PHY registers.
  9. Waits until the design example asserts the channel_tx_ready and channel_rx_ready signals.
  10. Sends the following packets:
    • 64-byte packet
    • 1518-byte packet
    • 100-byte packet
  11. Repeats steps 2 to 10 for 2.5G and 1G rates.
  12. Repeat steps 8 to 10 for 100M and 10M speeds.

When simulation ends, the values of the MAC statistics counters are displayed in the transcript window. The transcript window also displays PASSED if the RX Avalon® streaming interface of channel 0 received all packets successfully, all statistics error counters are zero, and the RX MAC statistics counters are equal to the TX MAC statistics counters.

Figure 48. Sample Simulation Output