Scalable Scatter-Gather DMA Intel® FPGA IP Design Example User Guide

ID 823179
Date 1/27/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

2.3.2.2. Running Simulation Using QuestaSim*

Use the following working directory: <example_design>/pcie_ed_tb/pcie_ed_tb/sim/mentor/
  1. Invoke the QuestaSim* simulator. For Linux environment, run the following command to invoke the QuestaSim* simulator.
    vsim &
  2. Run the following command in the QuestaSim* console window:
    do msim_setup.tcl
  3. If you are using Windows environment, run the following command in the QuestaSim* console window. Skip this step if you are using Linux environment.
    set TOP_LEVEL_NAME “pcie_ed_tb.pcie_ed_tb”
  4. Run the command below in the QuestaSim* console window to enable PCIe FASTSIM mode.
    set USER_DEFINED_COMPILE_OPTIONS “+define+IP7521SERDES_UX_SIMSPEED”
  5. Run the following command in the QuestaSim* console window to compile and simulate the design:
    ld_debug 
    run -all 
    A successful simulation ends with the following message in the simulation.log file that was generated.
    "Simulation stopped due to successful completion!"