Professional Documents
Culture Documents
Debug Debug
Debug
% of Design/Verification Spent in Debug
# of respondants
40
30
20
that time?
0
0-10% 11-20% 21-30% 31-40% 41-50% 51-60% 61-70% 71-80% 81-90% 91-100%
z Complex Designs
z Increasing device size and complexity
z Barrier to required design understanding
z Complex Behavior
z Complex design cause and effect scenarios
z Increases conditions to be verified
z Complex multi-tool, multi-lingual,
multi-team environments
z Compounds methodology complexity
Issues
Complex Environments
Complex Behavior
Complex Designs
Comprehension
Automation
Unification
Design,
Testbench, Open Analysis
Visualization
Assertions, Databases Engines
Specification,
Layout Info
Behavior Flow Graph
KDB Behavior Analysis
Knowledge Source Code Trace
Database (nTrace)
Structure Analysis
Waveform / Event
(nWave)
Behavior Exploration
Schematic / Structure
FSDB (nSchema)
Behavior Query
Event
FSM / Flow Chart
Database
(nState)
Knowledge Reuse
Full Range Block Diagram /
of Tools Documentation
z Environment Setup
z Verdi Setup File – novas.rc
z Library Mapping
z Symbol Libraries
z Pre-Compiling Design
z Pre-Compiling VHDL - vhdlcom Utility
z Pre-Compiling Verilog - vericom Utility
z Verdi Command Line Options
z Load Pre-Compiled Design from Command Line
z Load Design Files from Command Line
z Load Pre-Compiled Design from the GUI
z Load Design Files from the GUI
z Using Virtual Top
z Scenario:
z Design top doesn’t match simulation top (i.e. don’t wish to include the test
bench, test bench code not available or only looking at a portion of a
design)
z Solution:
z Create a file called map.dat that maps the top design module to the
simulation hierarchy.
Format: <module name> = <full hierarchical path>
Example: CPU = system.i_cpu
z Add –vtop map.dat to the Verdi command line and a pseudo hierarchy will
be created.
z Why?
z If a virtual top is not used, active annotation will not work and D&D to
nWave will not work because hierarchical paths will not match.
Verdi 5.4 Basic Training -02/22/05
Loading Your Design – Summary
z Mouse Actions
z Overview
z Hierarchy Browser
z Source Code Browser
z Message Window
z Searching
z Find Scope
z Find Signal/Instance
z Find String
z Trace Drivers and Loads
z Bookmarks
z Source Code Editing
z Miscellaneous
z Lab
Verdi 5.4 Basic Training -02/22/05
Mouse Actions (all modules)
Message Window
Verdi 5.4 Basic Training -02/22/05
nTrace – Hierarchy Browser
z Searching
z Find Scope
z Source Æ Find Scope
z Find Signal/Instance
z Source Æ Find Signal
z Find String
z Source Æ Find String
z Bookmarks
z Source Æ Bookmark
z Multiple Source Code Windows
z Questions?
Partial Flatten
z Overview
z Invoke nState
z Display Options
z Partial FSM
z State Animation
z Analysis Report
z Interacting FSM Display
z Miscellaneous
z Lab
z Questions?
z Compact binary file format which contains the simulation signal data.
z Captured during simulation using PLI system tasks for both VHDL and
VERILOG.
z Advantages:
z Smaller in size than VCD.
z Loads faster than VCD.
z Open file format so other vendor tools can dump data, Verisity,
Vera, Ikos, etc.
z vfast
z Command line conversion of VCD files.
z fsdbextract
z Extract signals, scopes, time periods from existing fsdb files
without re-simulating.
z fsdbmerge
z Merge several fsdb files into one.
z fsdbreport
z Generates a report of value changes for specified signals.
Note: Use <utility> -h for a list of all options or see the Command
Reference for more information.
z Recommended method:
z Drag & Drop signals/instances from other windows to nWave.
z All instance I/O.
z Selected signal(s).
z Signals in text region.
z Schematic hierarchical blocks or logic gates
z Other methods:
z Use Signal Æ Get Signals... or toolbar icon
z Select signals and use RMB Add Signal(s) to Wave in nTrace.
z Select objects and use RMB Add Select Set To Wave in nSchema.
z After executing a trace command in nSchema, use Trace Æ Add
Result to Wave.
z Use –autoalias command line option for automatic mnemonic recognition for
‘defines and parameters.
z Use Waveform Æ Signal
Value Radix Æ Browse Alias
to create an alias file and
apply to a signal.
z Apply color to alias
z Create a copy of a signal and
use RMB in value column
to Remove Local Alias.
z Use Signal Æ Logical Operation... to create a new signal from other signals.
z File Æ Print... command to print out what you see in the window with a
PostScript printer.
z Select to print to file or to printer.
z Support print selected signals or displayed signals.
Stretch signals to
fill whole page.
z Logical Operations
z Signal Æ Logical Operation...
z Logic analyzer functions (Complex Events)
z Signal Æ Event
z Shift the time of selected signals.
z Waveform Æ Waveform Time Æ Shift Individual Signal
Time…
z Create independently scrollable signal frames.
z Window Æ Horizontal Split
z Aliasing
z Waveform Æ Signal Value Radix Æ Browse Alias
z Questions?
z In nTrace, search for the previous/next transition for all signals in the
selected statement.
z The above commands will move the cursor time in all windows.
Value Annotation
Options Form
Verdi 5.4 Basic Training -02/22/05
Complex Signal Browser
z General
z Multiple Complex Signal Browser windows can be invoked.
z D&D is supported between Complex Signal Browser and other
windows.
z Hierarchical Scope Window
z Same as nTrace but without package nodes
z Signal List Window
z Supports regular expression in search window
z Complex signals will be shown with Red color
z Signals are sorted alphabetically
z Two options Match Case and Show Structure Signal Only in Option
form will be applied to this window.
z From nTrace, use Tools Æ Watch Signal to view the value of selected
signals in a table.
Double click to
invoke Active Trace
z In resulting nSchema,
Trace Æ Trace X.
z Repeat as needed.
z Confirm the PLI/FLI shared object files provided by verdi are linked with your
simulator.
z Choose the simulator under Tools Æ Preferences Æ Simulation tab.
z Be sure to select stop at time 0.
z To enable interactive mode select
Tools Æ Interactive Mode.
z This adds a new toolbar and
Simulation and Debug menu
options to nTrace.
Interactive
Toolbar
z Questions?