Professional Documents
Culture Documents
Dump FSDB
Verdi GUI
Simulate Debug
Debug
© 2017 Synopsys, Inc. 5
Compile Option
• Just add the –kdb option to VCS executables when running simulation
FSDB Utilities
• Usage:
– Set VERDI_HOME to the Verdi install directory
– % setenv VERDI_HOME <Verdi_install_directory>
– Add –debug_access option in vcs
– % vcs –debug_access test.v –lca –kdb –full64
• NOTE: The –P, –debug, -debug_all, and –debug_pp options should be removed since it
conflicts with the –debug_access option
• Apply debugging capabilities to the desired portion of a design (DUT, cell, testbench (TB),
standard package (OVM, UVM, VMM, and RAL), or encrypted instances (modules, programs,
packages, interfaces)).
• Usage:
-debug_access(+<option>)* -debug_region=(<option>)(+<option>)*
• Note:
– -debug_region works only for the capabilities specified by -debug_access option. It has no effect on
the capabilities specified in tab files or configuration files
Generate dumping
result in FSDB format FSDB file Import FSDB
into Verdi
• $fsdbAutoSwitchDumpfile - Limit FSDB file size and switch dumping to new FSDB file automatically.
NOTE: Refer to Appendix 2: Frequently Used Dumping Tasks section in the end of this slide, to get detail usage of
most frequently used system tasks
• In the main window, invoke Tools New Waveform or click on the New Waveform icon
to open nWave frame
– The nWave frame is opened in the bottom frame of the main window
– Click the Be Window icon can make it to be a standalone window
Cursor Position Marker Position Delta Time Ruler – Zoomed Time
Signal
Cursor
Position
Signal Pane Waveform Pane
Ruler – Full Time
Value Pane
© 2017 Synopsys, Inc. 18
Search Signal in Get Signal Form
Matched signals
will be highlighted
DC marker label
to change/delete
Time range
Absolute time two
between
adjacent markers
Relative to
Reference Market
• Use Waveform Signal Value Radix Edit Alias to create/update an alias file and apply
to a signal
– Apply color to any alias
• Select multiple signals (by pressing the Ctrl key), click Right-mouse-button in Value Pane
and change the radix
– Previous version only allows users to change radix for one signal
• VHDL delta cycles can now be dumped and displayed with correct delta cycle number
– Turn on the View Expand Delta Region Mode to display delta cycles
– Can be displayed with the Verilog regions together
Delta cycle
Cursor time
number
• Verdi Approach:
– Multiple nWave can be opened with different simulation databases
– Ability to perform comparison between selected signals, displayed signals or groups
– Mismatch results can be viewed, displayed and searched in nWave over time
Search
Engines
Search
Query
Hyperlinks to
nTrace Source Search
View Engines
Hyperlinks to
SmartLog Viewer
Hyperlinks to
nTrace Source
Hyperlinks to View
nTrace Source
View
Hyperlinks to
PDF Viewer
Overview Result
© 2017 Synopsys, Inc. 28 Engine Specific Results
One Search
Command Line Tool: onesearch
• Use the File Load Simulation Results command to load FSDB file
• Enable Source Active Annotation (or hot key x) in nTrace
– Display simulation results on source
– Signal values/transitions are synchronized with cursor time
– Select signal(s) and go to next or previous transitions
– Any Change, Rising or Falling
Search
previous/next
• When to use: you want to get the static drivers from source code without simulation result
Static Drivers
• When to use: you want to get the active (actual) driver by considering simulation values in
current time
Current simulation value
will be considered
In1@660 In1@780
Addr@600 00002
2 CWR
0
1
0
Clk2@776
mem1
ACC
IDR aa aa
Clk3@600
Clk3@700
0 Clk3@800
TDB 34
ACC
Ou1@649
Ou2@790
Clk2@676
Clk3@700
Time axis
• Input signals that trigger the output transition are automatically traced
• Used to visualize the propagation of signal transitions throughout the design and over time
• Very useful for gate level debug
• distinguishes transition based tracing from cycle-based tracing in the Temporal Flow View
• Toggle on the Show Source Code Automatically icon or the View Show Source
Code Automatically option to view corresponding source code for a selected node
• Add the +fsdb+force simulation runtime option or the equivalent environment variable
FSDB_FORCE can be used to dump forced information into FSDB
– The option and environment variable is valid for VCS only
– VCS versions 2013.06-SP1 or higher is required
Forced Released
Deposit forced
• Full Hierarchical Window – Shows complete objects in specific scope. Default schematic
view
• Browser Window – Shows partial schematic in specific scope
• Flatten Window – Shows partial schematic in flatten view, schematics in the Flatten Window
cross all scopes
Flatten
Window
• Verdi automatically identifies FSM code for 1-process, 2-process, or 3-process with
conventional encoding of the state variables
• NOTE: Remember to enable FSM Recognition option on the RTL page under the
Schematics folder of the Preferences form (invoked with Tools Preferences)
otherwise not all FSM will be extracted
© 2017 Synopsys, Inc. 51
Manipulate FSM View
View Actions & Find States