Questa* Intel® FPGA Edition Simulation User Guide

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

3.3.3.2. Elaboration Example 2: Elaborate the Test Top-level Testbench Module and Preserve All Signals

The following example is the same as Elaboration Example 1, except that the following example preserves all signals so that you can later view their waveforms during or after simulation.

You can elaborate the testbench module test with the following single Tcl command:

vsim -voptargs=”+acc” -L work -L lib1 -L lib2 \
     -L top_lib top_lib.test

The voptargs option value '+acc' directs vsim to preserve all signals. In general, preserving all signals is not a best practice because it can slow down simulation. You should only preserve a subset of signals whenever possible. Refer to the Siemens EDA Questa Intel FPGA Edition User Guide for various options to preserve a subset of signals in the testbench hierarchy.