You have examined the design using cursors, markers, and multiple Waveform windows. Now
you use
Vivado®
simulator debugging features, such as breakpoints,
and line stepping, to debug the design and identify the cause of the incorrect output.
- First, open the tutorial design test bench to learn how the simulator generates each design input.
- Open the testbench.v file by
double-clicking the file in the Sources window, if it is not already open.The source file opens in the Vivado IDE Text Editor, as shown in the following figure.
Note: You can also select from the main menu, or Open File from the popup menu in the Sources window. You can also select an appropriate design object in the Scopes window or Objects window, right-click and select Go to Source Code.