DVT

The complete development environment for e and SystemVerilog





Quick Reference

PDF Version

See also
Use Cases
e Language Tips & Tricks
SystemVerilog Tips & Tricks

Navigate

Forward / Back Alt + Left Arrow / Alt + Right Arrow
Open file (import/include tree from top files) Ctrl + I
Open file (any file from workspace) Ctrl + Shift + R
Open a type Ctrl + Shift + T
Go to definition of a class, function etc. F3 or mouse over with Ctrl pressed to get the hyperlink
Hyperlinks to definition Mouse over with Ctrl pressed to get the hyperlink
Show quick outline view of the File Ctrl + O Useful to go directly to a method, field of a huge file.
Show hierarchy Ctrl + T with cursor over the struct / class name. F4 to show in Hierarchy View.
Search across all files (including semantic) Ctrl + H (with or without a selection)
Search for usage (references) Right Click on field, function, var etc. and chose References > Project
Show module instance tree Shift + F4
Show 'extern' implementation Shift + F3 or Right click and Show Layers
Turn on line numbers menu Window > Preferences > General > Editors > Text Editors and Show line numbers
Go to line Ctrl + L
Bookmark a line of code Right click on the left side of the editor and Add Bookmark...

Find, Compare and Replace

Find in file Ctrl + F (with or without a selection)
Highlight all occurrences Alt + Shift + O or select and wait for highlighting
Compare with local history (Eclipse timestamps all file saves!) Right click > Compare With > History...
Replace with previously saved version Right click > Replace With > History...

Edit

Maximize / un-maximize current tab Ctrl + M
Auto-complete Ctrl + Space, twice for templates
Macro expansion (SystemVerilog) F5
Add tasks TODO, FIXME or XXX in comments will appear in Tasks View
Auto-indent Tab, twice to get a real tab
Code formatting Select and press the format toolbar button. Without selection formats the whole file.
Toggle [block] comment Select code and Ctrl + / to toggle comment on/off.
Delete row Ctrl+D
Matching brackets / begin / end Place the cursor after the bracket / begin / end and press Ctrl+Shift+P or chose Jump To Pair Bracket from the right click menu. Double click after the bracket - it highlights the text between the two brackets.
Current scope In which method of which struct/class is always presented in the status bar.
Go to other open editors Ctrl+E
Go to the last edit location Ctrl + Q Useful when you navigate a lot then want to return to your last edit.

Invoke 3rd party tools

Launch external scripts From menu Run > Run... Select Generic configuration and click the New button. Specify name, working directory, command and filters. Click Run. You can subsequently invoke again using the Run toolbar button.
External builders (incremental, full, clean) Right click project > Properties > e/Verilog Language > External Builders, click New. To specify multiple commands use for example sh -c "...".

Help and OVM / VMM, 3rd party documentation

Show all shortcuts Ctrl + Shift + L
Construct help Select language/library construct and press Ctrl + Shift + H
OVM / VMM documentation Enable from menu Window > Help > OVM / VMM
3rd party documentation Enable and specify path from menu Window > Help

Setup

To create a project use the menu File > New > e/Verilog Project. Existing projects are automatically recognized.
To specify Top Files, INCDIR, SPECMAN_PATH you can also directly edit the corresponding files in <project_dir>/.dvt
Define code templates (user defined code snippets) menu Window > Preferences > e/Verilog Language > Editor > Code Templates
Linked resources (like a unix soft link but stored in .project file vs on disk) Right click on the project in the Navigator, select from the pop-up menu New > Folder, in the wizard you click on Advanced, check the Link to folder, specify the linked folder name (for example ex_atm) and browse for the path the link will point to (/erm_lib/ex_atm). Linked resources will appear in the Navigator with a small "link" icon.
Spell checking menu Window > Preferences > General > Editors > Text Editors > Spelling