|
<< Click to Display Table of Contents >> 2.5 Inspect And Edit Values |
![]() ![]()
|
During a paused simulation, BugHunter supports inspecting values of variables and signals in both the Editor windows and in the Inspect Values dialog. The Editor window displays only the current values for the simulation. The Inspect Values dialog can be used to inspect both the current and past values.
Use the Editor window to inspect current values:
|

Use Inspect Values dialog to inspect at previous simulation times:
|
|
|
|
|
|
|
Editing Signal and Variable Values in the Inspect Window
Press <F2> in the Value column of a variable in the Inspect Window to open an edit box to change the variable's value. When you press <enter> to close the edit box the value will be changed and the value will turn red to indicate the change in value.
Project Window Shows State of Signals at each Scope Level
The Project Window contains a State column which displays the current values of signals, variables, and constants during a simulation run. This feature is useful for inspecting values at a given scope level within a design when a simulation is paused. Values that have changed since the last time the simulation was paused are displayed in red to highlight activity on these signals and variables.

Viewing Array values in the Project window
The values of array variables are shown in the project window as a comma-separated list of the values of each element. It is also possible to drill down to individual elements in an array or down to individual bits in a bit vector using the project window.

Editing Signal and Variable Values in the Project Window
To change the value of a simulation signal or variable during a simulation, double click on it's value in the State column in the Project Window (or select the value cell and press <F2>), set the desired new value, then press <Enter> to close the edit box and apply the new value.