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

ID 683870
Date 9/30/2024
Public
Document Table of Contents

1.3.3.2. Running the Simulation Library Compiler in a Terminal

You can run the Quartus® Prime Simulation Library Compiler in a terminal without launching the Quartus® Prime software GUI.
Note: If using supported third-party EDA simulators, you must first invoke your simulator's license before launching the Quartus® Prime software.

The following example command generates the Questasim compile.do simulation script that compiles all Verilog HDL simulation files for the specified Agilex™ 7 device family.

quartus_sh –simlib_comp -family agilex7 -tool questasim \
     -language verilog -gen_only -cmd_file compile.do

To view all available command-line options, you can run the following command.

quartus_sh --help=simlib_comp

The following example command generates the QuestaSim compile_q.do simulation script that compiles all Verilog HDL simulation files for the specified Agilex™ 7 device family, in a format that is compatible with Quartus Prime software or Platform Designer generated simulation scripts.

quartus_sh –simlib_comp -mode quartus -family agilex7 -tool questasim \
-language verilog -gen_only -cmd_file compile_q.do