Quartus® Prime Pro Edition User Guide: Third-party Simulation

ID 683870
Date 7/08/2024
Public
Document Table of Contents

3.1. Quick Start Example (VCS with Verilog)

You can adapt the following RTL simulation example to get started quickly with VCS:
  1. To specify your EDA simulator and executable path, type the following Tcl package command in the Quartus® Prime tcl shell window:
    set_user_option -name EDA_TOOL_PATH_VCS <VCS executable path>
    set_global_assignment -name EDA_SIMULATION_TOOL "VCS"
  2. Compile simulation model libraries using the following method:
    • To automatically compile all required simulation model libraries for your design in your supported simulator, click Tools > Launch Simulation Library Compiler. Specify options for your simulation tool, language, target device family, and output location, and then click OK.

    Use the compiled simulation model libraries during simulation of your design. Refer to your EDA simulator's documentation for information about running simulation.

  3. Modify the simlib_comp.vcs file to specify your design and testbench files.
  4. Type the following to run the VCS simulator:
    vcs -R -file simlib_comp.vcs