Editing
|
Code Navigation
|
Searching |
Miscellaneous
|
Content assist |
Content assist provides you with a list of suggested completions for partially entered text. In the editor press Ctrl+Space.
|
Expand Macros (Apply Preprocessing) |
You can apply preprocessing over a selected section of code in order to see how macros are expanded. Select then right click -> Macros -> Expand All Levels.
You can also expand/collapse macros inline using Ctrl Shift
= respectively Ctrl Shift - with the cursor placed on a
macro call. |
Trace Macro Errors |
To debug macro usage errors (especially if macros in macros are used) you can see how the error is propagated from macro to macro (the error trace) either by:
The macro error trace will be presented in the Console View with hyperlinks to source.
|
Code templates |
Code templates are presented in content assist if applicable.
|
Matching begin - end |
If you double click on/after begin – end, function – endfunction etc. the block is highlighted.
|
Mismatched `endif |
You can use comments after `endif to track the match with starting `ifdef. If the name of `ifdef doesn't match the `endif comment a warning is issued.
|
Toggle Comment |
You can toggle comment on/off for the current line or the selected lines. Press Ctrl+/ or use the action from the drop down menu on right click in editor.
|
Format source |
Use the Format Source action from the toolbar
The whole file is formatted or the current selection, if any. |
One key indentation |
If you press Tab once at the begining of a line, it is automatically aligned to the enclosing context. Press twice to insert a tab. |
Reminders (TODO markers) |
When you tag a comment in source code with TODO, a corresponding taks is automatically created as a reminder. From the Tasks View, double click on the task takes you to the TODO in the code. Same for for FIXME (higher priority) and XXX (lower priority) markers. You can also add your own tags, see the Reminders section of the documentation.
|
Spell checking |
You can enable spell-checking support from the General > Editors > Text Editors > Spelling preference page. Spelling errors are displayed in the e Language editor and corresponding Quick Fixes are available.
|
Folding |
You can fold code sections to improve read-ability. This is how a folded file looks like:
Folding actions (to expand or
collapse) are available in the toolbar
When you type on a folded line, it is automatically expanded. You may see the folded code in a tooltip if you move with the mouse over the + sign. |
Maximize editor |
Double-click on the editor tab to maximize editor to full window. Double-click again to restore. |
Show line numbers |
Check Show line numbers from the General > Editors > Text Editors preference page |
Local history |
Whenever you edit a file, its previous contents are kept in the local history. Right click in the editor and chose Compare With/Replace With > Local History....
|
Inactive code highlight |
The editor marks with a colored background the areas of code which are not compiled due to preprocessing. See the Inactive Code Highlight documentation section.
|
Emacs Automation |
You can invoke Emacs to perform automation on the file you are currently editing. In the editor window: Right click > Emacs, then select one of: Auto, DeleteAuto, InjectAuto, Indent or use the associated keybidings (the same as in Emacs).
Note 1: the shortcuts are available only when Emacs mode is enabled in Eclipse; to enable Emacs mode go to Window -> Preferences -> General -> Keys and select the Emacs scheme. Note 2: you can also add toolbar buttons to perform Emacs automation: go to Window -> Customize Perspective -> Command Groups Availability and check Emacs Verilog-Mode from the Available command groups on the left. |
All shortcuts |
Press Ctrl+Shift+L to see all shortcuts.
|
Project Properties |
Select the project in the Navigator View, right click
and chose Properties.
|
Export HTML Documentation |
To generate the HTML Documentation click the Export HTML Documentation Wizard button in the toolbar of the Verilog Perspective.
For more details see the Export HTML Documentation chapter in VlogDT User Guide. |
OVM Compliance Review |
To perform the OVM compliance review of your project click the OVM Compliance Review button in the toolbar of the Verilog Perspective.
For more details see the OVM Compliance Review chapter in VlogDT User Guide. |
OVM Field Editor |
The OVM Field Editor enables you to inspect and edit OVM field
registrations. |
UVM Field Editor |
The UVM Field Editor enables you to inspect and edit UVM field
registrations. |
Project Templates |
A project template is a parameterized directory tree. Both in the file contents (.v, .sv, .sh - practically any file) and in the file or directory names you can use parameters. Combined with TODO markers, you can use a project template as a customized wizard. For more details see the Project Templates chapter in VlogDT User Guide. |
System Variables and -f Support |
To specify Top Files, INCDIR etc. you can also directly edit the corresponding files <project_dir>/.dvt/.vlog_top_files, <project_dir>.dvt/.vlog_inc_dir etc. and use:
|
Quick OVM Project |
Quickly enable OVM library use from right click on project > Properties > Verilog Language > OVM
|
Quick UVM Project |
Quickly enable UVM library use from right click on project > Properties > Verilog Language > UVM
|
Quick VMM Project |
Quickly enable OVM library use from right click on project > Properties > Verilog Language > VMM
|
Generic launch (make, scripts etc.) |
You can launch external scripts:
|
VMM Smart Log |
DVT ships with predefined filters for VMM which allow you to view colored and hyper-linked logs like the one below. For more details see the External Tools > VMM Smart Log chapter in VlogDT User Guide.
|
External Builders |
An external builder allows you to invoke any script/tool and back-annotate its output (errors, warnings etc.) to the source code. It is a mean which allows you to connect any 3d party tool (compiler, linter etc.) to DVT error signaling engines. You can configure one or more external builders on a project:
DVT ships with some predefined example configurations to get you started. For more details see the External Tools > External Builders chapter in VlogDT User Guide. |
External Documentation |
You can browse and search through 3rd party documentation using the Eclipse help system. For more details see the External Tools > External Documentation chapter in VlogDT User Guide. |
Context Sensitive Help |
A focused set of help topics that is related to the current context can be shown to users on demand using context-sensitive help. This form of user assistance is delivered to users when a platform-specific trigger is activated (e.g. F1 key on Windows, Ctrl+F1 on GTK, Help key on Carbon). For more details see the Getting Started > Context Sensitive Help chapter in VlogDT User Guide.
|
Internal Builder Properties |
You can configure the VlogDT Builder from project properties, section Internal Builder. For more details see the VlogDT Builder (Internal DVT Builder) chapter in VlogDT User Guide.
|
Mapping Linux to Windows |
Linux directories can be mapped to Windows drives, which allows editing files from Windows. For example /home/simi is mapped to Z:\. This has an impact on paths configured for a DVT project, for example INCDIRs etc. The paths are set using Linux conventions, however Eclipse runs in Windows and the DVT builder needs to know about the mapping in order to compile the files. To specify the mapping, set the system variable %DVT_CROSSPLATFORM_MAP% before invoking Eclipse. You can add multiple mappings separated by ";" e.g.: /projects/=p:\;/home/lars/=Z:\lars\ |
Recover from abnormal inconsistencies |
In the event of unexpected behavior (missing results in search,
types in type browsing, hyperlinks, tooltips etc.) please manually
trigger a clean build from menu Project > Clean... or
toolbar
|
Custom `defines |
You can specify custom `defines for a project without altering the source code, in order to activate or deactivate areas of code which are guarded by `ifdef or `ifndef preprocessing directives. To add such defines right click on the desired project in Navigator View, then Properties → Verilog Language → DEFINE.
|
OVM Smart Log |
DVT ships with predefined filters for OVM which allow you to view colored and hyper-linked logs like the one below:
See OVM Smart Log for more details. |
UVM Smart Log |
DVT ships with predefined filters for UVM which allow you to view colored and hyper-linked logs like the one below:
See UVM Smart Log for more details. |
OVM to UVM Migration |
DVT provides an OVM to UVM migration wizard which automatically performs all the necessary
changes within an existing OVM project. To start the wizard: right click on a
project/file/directory in the navigator, then select Refactor -> Migrate OVM to UVM.
|