R-Tile Avalon® Streaming Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683544
Date 4/07/2025
Public
Document Table of Contents

2.3.1.1. Siemens EDA QuestaSim* Simulator

Perform the following steps:
  1. Change to the simulation working directory: cd <my_design>/pcie_ed_sim_tb/pcie_ed_sim_tb/sim/mentor.
  2. Invoke vsim, which brings up a console window where you can run the next commands: Type vsim
    1. set TOP_LEVEL_NAME "pcie_ed_sim_tb.pcie_ed_sim_tb"
    2. set USER_DEFINED_COMPILE_OPTIONS "+define+RTILE_OVERCLK_FASTSIM\ +define+RTILE_PCIE_TOP_EQ_BYPASS_FASTSIM\ +define+RTILE_PCIE_TOP_EQ_BYPASS_FASTSIM_H2H\ +define+RTILE_FASTSIM_FORCE_PLL_LOCK_TIME\ +define+RTILE_FASTSIM\ +define+XTOR_PCIECXL_LM_SVS_SERDES_ARCHITECTURE\ +define+RNR_FASTSIM_AIB_BYPASS"

      regsub -all {\\} $env(QUARTUS_ROOTDIR) {/} env(QUARTUS_ROOTDIR)

      set DEVICES_SIM_LIB_DIR $env(QUARTUS_ROOTDIR)/../devices/sim_lib2

      set QUARTUS_SIM_LIB_DIR $env(QUARTUS_ROOTDIR)/eda/sim_lib2

    3. do run_msim_setup.tcl
Note:
If R-Tile is configured with Enable PIPE Mode Simulation for Example Design active, use the following commands instead:
  1. vsim -c -do run_msim.tcl
  2. A successful simulation includes the following message: "Simulation stopped due to successful completion!".
Note: When running simulations under Windows* OS, if your project path is too long, you may encounter access errors to the design files. To avoid this, shorten your project path as much as possible. The longest path for any design file should be less than 189 characters.