While debugging your HDL design with the Vivado simulator, you can determine that your HDL source code needs correction.
Use the following steps to modify your design and re-run the simulation:
- Use the Vivado code editor or other text editor to update and save any necessary source code changes.
- Use the Relaunch Simulation
button on the Vivado IDE
toolbar to re-compile and re-launch the simulation, as shown in the following
figure. You might alternatively use the
relaunch_simTcl command to re-compile and re-launch the simulation.Figure 1. Relaunch Simulation Button
- If the modified design fails to compile, an error box appears displaying the reason for failure. The Vivado IDE continues to display the results of the previous run of the simulation in a disabled state. Return to step 1 to correct the errors and re-launch the simulation again.
After the design successfully re-compiles, the simulation starts again.
launch_simulation Tcl command. However, using these
options might fully close the simulation, discarding waveform changes and simulation
settings such as radix customization.
launch_simulation. The Relaunch Simulation button would be grayed out if
the simulation is run in a Batch/Scripted mode.