Questa* Intel® FPGA Edition Simulation User Guide

ID 730191
Date 4/01/2024
Public
Document Table of Contents

3.5.1. Commands Defined in msim_setup.tcl

msim_setup.tcl defines the following commands:
Table 17.  Commands Defined in msim_setup.tcl
Command Description
dev_com Compiles all Quartus® Prime simulation libraries into appropriate logical libraries using vlog and vcom commands. This command does not actually compile any files when run by Questa* Intel® FPGA Edition, as Why You Should Only Use Precompiled Libraries describes.
com Compiles all Platform Designer generated RTL files into appropriate logical libraries using vlog and vcom commands.
elab Elaborates the top-level module (the module name is the value of the tcl variable TOP_LEVEL_NAME ). This command specifies the ordered list of logical libraries using -L option, as well as any other elaboration options required for Intel FPGA IP and simulation models.
elab_debug Same as the elab command, except that it adds the voptargs=”+acc” option to preserve visibility of all signals in the design, which allows you to dump out their waveforms during simulation for debugging.
ld Calls dev_com, com, and elab, in that order.
ld_debug Calls dev_com, com, and elab_debug, in that order.
file_copy Copies any memory files (such as .mif and .hex files) into the mentor folder so they are available for simulation. The simulator expects these files to be present in the directory in which you run it from. This command is different in that you call it when sourcing msim_setup.tcl, and the command does not need an explicit call.