There are three methods for opening a previously saved simulation using the Vivado Design Suite: an interactive method and a programmatic method.
You can open WDB file outside Vivado using the following command:
xsim <name>.wdb -gui
-view <WCFG file>to the
- If a Vivado Design Suite project is loaded, click and select the WDB file containing the waveform from the previously run simulation.
- Alternatively, in the Tcl Console, run:
Create a Tcl file (for example, design.tcl) with contents:
current_fileset open_wave_database <name>.wdb
Then run it as:
vivado -source design.tcl
When you run a simulation and display HDL objects in a Wave window, the running simulation produces a waveform database (WDB) file containing the waveform activity of the displayed HDL objects. The WDB file also stores information about all the HDL scopes and objects in the simulated design. In this mode you cannot use commands that control or monitor a simulation, such as run commands, as there is no underlying 'live' simulation model to control.
However, you can view waveforms and the HDL design hierarchy in a static simulation.