GTS AXI Streaming Intel® FPGA IP for PCI Express* Design Example User Guide

ID 817713
Date 11/04/2024
Public
Document Table of Contents

2.3.2. Steps to Run Simulation using QuestaSim*

Working Directory

<example_design>/pcie_ed_tb/pcie_ed_tb/sim/mentor/

Instructions

  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 FASTSIM + PIPE mode.
    set USER_DEFINED_COMPILE_OPTIONS "+define+IP7521SERDES_UX_SIMSPEED +define+SM_PIPE_MODE
  5. Run the following command in the QuestaSim* console window to compile and simulate the design:
    ld
    run -all
  6. A successful simulation ends with the following message in the simulation.log file that was generated.
    "Simulation stopped due to successful completion!"