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

ID 683372
Date 10/07/2024
Public
Document Table of Contents

3.3.1.3. Steps to Run Simulation : Questa*

Working Directory

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

Instructions

  1. Invoke vsim (by typing vsim, which brings up a console window where you can run the following commands).
  2. do msim_setup.tcl
  3. set TOP_LEVEL_NAME "pcie_ed_tb.pcie_ed_tb" [required for Windows environment only]
  4. Enable FASTSIM mode or FASTSIM + PIPE mode for simulation. You can skip this step if none of these modes is required for your simulation.
    For FASTSIM + PIPE mode:
    Note: The Enable PIPE Mode Simulation option in the IP Parameter Editor must be enabled before generating the design example.
    set USER_DEFINED_COMPILE_OPTIONS "+define+gdrb_GDR_PCIE_SS_DV +define+GDR_FASTSIM_AIB_BYPASS 
    +define+IP7581SERDES_UX_SIMSPEED"
  5. ld_debug
  6. run -all
  7. A successful simulation ends with the following message:
    "Simulation stopped due to successful completion!"