Use Cases
A practical list of questions and requests and how they are addressed by DVT.
|
Show me the errors while editing.
While editing syntax, semantic, compliance or external builder errors are shown. (e Language SystemVerilog)
|
|
What classes are there in the testbench?
Use the Types View. (e Language SystemVerilog)
|
|
Where is a 'Foo' class defined?
Use the Quick Types View to quickly locate a type. Ctrl+Shift+T (or chose from editor right click menu) and type in a pattern. (e Language SystemVerilog)
From the editor, if you place the cursor on the name you can quickly jump to the class. F3 or Ctrl+mouse click. (e Language SystemVerilog) |
|
What methods, fields, events etc. does class 'Foo' have?
Use the Hierarchy View. (e Language SystemVerilog)
|
|
Show me proposals while editing.
Use Autocomplete. Type Ctrl+Space in the editor. (e Language SystemVerilog)
Use Templates. Type twice Ctrl+Space in the editor. (e Language SystemVerilog) |
|
Show me the inheritance tree of class 'Foo'.
Use the Hierarchy View. (e Language SystemVerilog)
For the fast and furious, put the cursor on the type name and hit Ctrl+T. Or chose the Quick Hierarchy from the editor right click menu. (e Language SystemVerilog) |
|
Show me the code and extensions of class 'Foo'.
Use the Layers View to inspect extensions. (e Language SystemVerilog)
|
|
What classes have a method called 'bar'?
Use Search (Ctrl + H, type 'bar' in the search box and chose method search). (e Language SystemVerilog)
|
|
Where is the 'bar' method of class 'Foo' defined?
From the editor, if you place the cursor on the name you can quickly jump to the definition (F3 or Ctrl+mouse click). (e Language SystemVerilog)
If you don't have the method at hand, first search for it (type 'Foo.bar' in the search box and chose method search). (e Language SystemVerilog) |
|
Show me the code and extensions of method 'bar'.
Use the Layers View to inspect extensions. (e Language SystemVerilog)
|
|
Where is external method 'bar' implemented?
Use the Layers View to inspect extensions. (SystemVerilog)
|
|
Who calls method 'bar'?
Use Search for references (Ctrl+Shift+G with cursor on method or right click on the method and chose References). (e Language SystemVerilog)
If you don't have the method at hand, use Ctrl + H and type 'bar', chose method search and references. (e Language SystemVerilog) |
|
Show me the macros.
Use the Macros View. (e Language)
|
|
Where is macro 'Moo' defined? What is its value?
Use the Quick Macros View to quickly locate a macro. Ctrl+P (or chose from editor right click menu) and type in a pattern. (e Language)
From the editor, if you place the cursor on the name you can quickly jump to the class. F3 or Ctrl+mouse click. (e Language SystemVerilog) For preprocessing macros, value is shown in tooltip. Put the mouse cursor over the name. (e Language) |
|
Where is macro 'Moo' used?
Use the Layers View. Put the mouse over the macro definition or instance and Shift+F3 or right click and chose Show Layers. (e Language)
|
|
What is behind all these macros? Expand them! Apply preprocession on this piece of "macroish" code please!
Select code and expand macros. (SystemVerilog)
|
|
Show me the unit/module instance tree.
Use the Instance Tree View. (e Language SystemVerilog)
|
|
Where is the check with pattern 'UNEXPECTED' in the error message?
Use Search. (Ctrl + H, type 'UNEXPECTED' in the search box and chose error search). (e Language)
|
|
Where is the message with pattern 'Foo master' in?
Use Search. (Ctrl + H, type 'UNEXPECTED' in the search box and chose message search). (e Language)
|
|
Show me the loaded files. Show me the load order.
Use the Load Order View. (e Language)
|
|
Show me which files are compiled and the include tree.
Use the Include Tree View. (SystemVerilog)
|
|
Where am I? Well... where am I in the source code now?
Always in the status bar you can see in which class.method you placed the cursor. (e Language SystemVerilog)
|
|
How to put reminders (todo's) in the code? (Task Tracking)
Use TODO, FIXME etc markers. (e Language SystemVerilog)
|
|
How can I see the simulator output? And eventually back-annotate messages to source code as markers?
You can configure external builders (including filters to detect hyperlinks to source code). (e Language SystemVerilog)
|
|
How can I browse and search 3rd party documentation like CDN eLRM, OVM Guide or SNPS VMM Guide from Eclipse?
You can specify the paths to external documentation. (e Language SystemVerilog)
|
|
Can I use code templates?
Yes. There are 2 ways:
|
|
Is there a way to spell-check my comments?
Yes, you can configure DVT for spell-checking. See Related Downloads for a dictionary and look for spell checking in Tips and Tricks.
|
|
Can I generate HTML documentation? How?
Exporting HTML documentation is just a click away (e Language, SystemVerilog).
|
|
How do I check the OVM Compliance of my environment?
Checking OVM compliance is just a click away (e Language, SystemVerilog).
|
|
Can I draw UML diagrams to inspect or document my architecture?
Drawing diagrams is just a click away (e Language, SystemVerilog).
|
