In this step, you launch the
Vivado®
simulator GUI by running the xsim
command with the
simulation snapshot that you generated using the xelab
command in Step 2: Building the Simulation Snapshot. After you complete this step, you can use
the Vivado simulator GUI to explore the design in
more detail.
In the same command window that you used for Step 2, type the following command:
xsim run_sineGen -gui -wdb simulate_xsim.wdb -view xsim_waveConfig
where:
-
run_sineGen -gui
: Specifies the simulation snapshot that you generated usingxelab
, and launches Vivado simulator in GUI mode. -
-wdb
: Specifies the file name of the simulation waveform database file to output, or write, upon completion of the simulation run. -
-view
: Opens the specified waveform configuration file within the Vivado simulator GUI.
Note: You can use the waveform configuration file
specified above, or use the tutorial_1.wcfg file
that you created in Lab 2 of this tutorial.
The Vivado Simulator GUI opens and loads
the design (see the following figure). The simulator time remains at 0 ns until you
specify a run time. Run the simulation and explore the design.