Questa* Intel® FPGA Edition Simulation User Guide

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

3.3.1.4. Compilation Example 4: Compile File foo.sv into Work with Verilog Macro FAST Set to 1

The following example illustrates use of Tcl commands to compile all files into a library with a Verilog macro. You must add the commands to a .do file that you then run at a terminal using the vsim command, as Compilation Example 1 describes.

The following is only a partial example, as it does not include the quit command:

vlog -sv +define+FAST=1 foo.sv