DVT e Language IDE User Guide
Rev. 18.1.41, 13 December 2018

DVT e Language IDE User Guide

Table of Contents

1. Installation Checklist
1.1. Install DVT Using a pre-packed Distribution
1.2. Install DVT Using the Update Site
1.3. Check the DVT License
2. Predefined Projects
3. Getting Started
3.1. What is a Workspace
3.2. What is a Project
3.3. Project Natures
3.4. Workspace and Workbench
3.5. Refresh
3.6. Linked Resources
3.7. Backup and Local History
3.8. Basic Tutorial
3.8.1. Switch to the DVT Perspective
3.8.2. Open a Project
3.8.3. Configure the Build
3.8.4. Build the Project
3.8.5. Inspect the Compilation Errors
3.8.6. See Comments in Tooltips
3.8.7. Use Hyperlinks to Move Around in the Code
3.8.8. Quickly Open a Type (Struct, Unit)
3.8.9. Quickly Open a File
3.8.10. Quickly Move Inside the Editor
3.8.11. Browse Through All the Available Types (Structs, Units, Enumerations)
3.8.12. Browse the AOP Extensions
3.8.13. Inspect the Struct Hierarchy and Struct Members
3.8.14. Inspect the Verification Hierarchy
3.8.15. Search for Entities
3.8.16. Use Content Assist (Autocomplete)
3.8.17. Use Code Templates
3.8.18. Track Tasks using TODO Markers
3.8.19. Format the Source Code
3.8.20. Quickly See the Current Scope in the Status Bar
3.8.21. Locate the Matching Bracket
3.8.22. Fold Code Regions in Order to Improve Readability
3.8.23. Load in Specman
4. Build Configurations
4.1. Non-top files
4.2. default.build
4.3. Auto-config
4.4. Emulating compiler invocations
4.5. Multiple .build Files
4.6. Compatibility Modes
4.6.1. Default DVT Compatibility Mode
4.6.2. vcs.vlogan Compatibility Mode
4.6.3. vcs.vhdlan Compatibility Mode
4.6.4. ius.irun Compatibility Mode
4.6.5. ius.perspec Compatibility Mode
4.6.6. questa.vlog Compatibility Mode
4.6.7. questa.vcom Compatibility Mode
4.6.8. gcc Compatibility Mode
4.7. Paths
4.8. Strings
4.9. Comments
4.10. Environment Variables
4.11. Including Other Argument Files
4.12. Build Persistence
4.13. DVT Auto-Linked
4.14. Run a Script Before Build
4.15. All Build Directives
4.16. e Language Test Files
4.17. e Language SPECMAN_PATH
4.18. SystemVerilog OVM or UVM Library Compilation
4.19. Xilinx Libraries Compilation
4.20. Intel(Altera) Quartus Libraries Compilation
5. Compile Checks
5.1. Compile Waivers
5.2. Semantic Checks
5.3. Naming Conventions Checking
6. Content Assist (Autocomplete)
6.1. Content assist for CamelCase and Underscore
6.2. Code Templates
7. Quick Fix Proposals
7.1. Correct Spelling In Comments and Strings
7.2. Create File From Build Config Editor
7.3. Create Imported File
7.4. Declare Enum Constant
7.5. Declare Event
7.6. Declare Variable
7.7. Did You Mean
7.8. Waive Compilation Problems
8. Content Filters
8.1. Content Filters XML syntax
8.2. Filtering by element type
8.3. Content Filters Examples
8.4. Predefined Content Filters
9. Code Templates
9.1. Code Templates in Autocomplete
9.2. Global Code Templates
9.3. Project Level Code Templates
9.4. Code Templates View
10. File Templates
11. Project Templates
11.1. What is a project template?
11.2. How to generate code from a project template
11.2.1. Step 1. Specify Directories
11.2.2. Step 2. Specify Parameters
11.3. template.config
11.4. Add from Template
12. Code Formatting
12.1. Whitespace
12.2. Indentation
12.3. Vertical Alignment
12.4. Line Wrapping
12.5. Disable Format for Code Sections
12.6. Format Multiple Files
12.7. External
13. Inspect Extensions (Layers)
14. Override Methods
14.1. Override Annotation
14.2. Override using the Dialog
14.3. Override Using the Type Hierarchy View
15. Extend Annotation
16. Semantic Search
17. Search for References (Usages)
18. Show Instances
19. Show Constraints
20. Quick Search in Views
20.1. CamelCase
20.2. Simple Regex
20.3. Hierarchical Search
20.4. Search for Members
20.5. Search Port in Verification Hierarchy
20.6. Search all Method Extensions
21. Refactoring
21.1. Rename Refactoring
22. Diagrams
22.1. UML Diagrams
22.1.1. UML Diagrams - Select Types
22.1.2. UML Diagrams - Preferences
22.1.3. UML Diagrams - Legend
22.2. Architecture UML Diagrams
22.3. Sequences UML Diagrams
22.4. UVM Components Diagrams
22.4.1. Diagram Filters
22.5. Diagram Actions
22.6. Diagram Toolbar
23. Export HTML Documentation
23.1. Export HTML Documentation Wizard
23.2. Comments Formatting
23.2.1. JavaDoc
23.2.2. NaturalDocs
23.3. Customizing Documentation
24. External Tools Integration
24.1. Run Configurations
24.1.1. Run Configuration Session Type
24.1.2. Custom Shortcut and Button for a Run Configuration
24.1.3. Using environment variables in DVT Generic Run Configurations
24.1.4. Using an alias in a DVT Generic Run Configuration
24.1.5. DVT Generic Run Configuration Variables
24.2. Smart Log
24.2.1. Smart Log - Filters
24.2.2. Smart Log - Hyperlinks
24.2.3. Smart Log - Styles
24.3. External Builders
24.3.1. How to define a new external builder?
24.3.2. How to configure a filter?
24.3.3. How to invoke external builders?
24.3.4. External Builder Output
24.3.5. Source Code Markers - errors warnings
24.4. External Documentation
24.4.1. Configure External Documentation
24.4.2. Browse External Documentation
24.4.3. Search External Documentation
25. Debugger Integration
25.1. Simulation Prerequisites
25.2. Launch a Debug Simulation
25.3. Connect to an Existing Simulation
25.4. Breakpoints
25.5. Threads, Call Stack, Stepping
25.6. Variables
25.7. Watch Expressions
25.8. Debug Specific Configurations
26. Custom Dialogs
26.1. Quick Steps
26.2. Customizing the Dialog Output
26.3. SWT/XML Reference
26.3.1. Layouts
26.3.2. Widgets
26.4. Custom Dialog Snapshots
26.4.1. Custom Dialog Snapshots File Syntax (XML)
27. Command Line Interface
27.1. dvt_cli.sh
27.2. Syntax
27.3. Notes
27.4. Examples
27.5. Makefile Example
27.6. Commands
27.6.1. Create a Project (Mixed-Language Capable)
27.6.2. Create a Project From an Existing Template
27.6.3. Import an Existing Project
27.6.4. List Compiled Files
27.6.5. Launch a Run Configuration
27.6.6. Open a File
27.6.7. Close a File
27.6.8. Open a Custom Dialog
27.6.9. Refresh a project
27.6.10. Quit
27.6.11. Query the running status
27.6.12. Print version
28. Macros Support
28.1. Inactive Code Highlight
28.1.1. Overview
28.1.2. Settings
28.2. Macro Expansion
28.2.1. Overview
28.2.2. Triggering
28.2.3. Tips
28.2.4. IMPORTANT NOTE
28.3. Macros and Quick Macros Views
28.4. Trace Macro Errors
29. Reminders (TODO Markers)
30. UVM Support
30.1. UVM Browser
30.2. OVM UVM Compliance Review
30.2.1. OVM UVM Compliance Review - Architecture Tab
30.2.2. OVM UVM Compliance Review - Checks Tab
30.2.3. OVM UVM Compliance Review - Statistics Tab
30.2.4. OVM UVM Compliance Review - HTML Report
30.3. UVM Content Filters
30.4. UVM Sequence Tree
30.5. UVM Verification Hierarchy
31. Settings Management
31.1. Managed Settings
31.2. Unmanaged Settings
31.3. User and Common Settings Location
31.4. Use Cases
31.4.1. Memory Allocation Thresholds
31.4.2. Workspace Preferences
31.4.3. Run Configurations
31.4.4. Compile Waivers
31.4.5. Content Filters
31.4.6. External Builders
31.4.7. Export HTML Documentation
31.4.8. Custom Pragmas
31.5. Examples
31.6. Deprecated Settings Management (before DVT 3.5)
31.6.1. Workspace Settings
31.6.2. Project Settings
31.6.3. Other Settings
31.6.4. Importing Preferences From a Different Workspace
31.6.5. Customizing Default Settings Using dvt.ini
32. Reference
32.1. Common Shortcuts
32.2. Custom Pragmas
32.3. Editor Right Click Menu
32.3.1. Folding
32.3.2. Macros
32.3.3. Source
32.3.4. Show
32.3.5. References
32.3.6. Refactor
32.4. Hyperlinks
32.4.1. Hyperlinks in Comments
32.5. Icons and Decorations
32.5.1. Icons
32.5.2. Decorations
32.5.3. Changing Icon Colors
32.5.4. Project Colors
32.6. Scripts
32.6.1. dvt.sh
32.6.2. dvt_cli.sh
32.6.3. dvt_kit_installer.sh
32.6.4. dvt_plugin_installer.sh
32.6.5. evip2dvt.sh
32.7. Syntax Coloring
32.8. Tooltips
32.9. Toolbar Actions
32.10. Views
32.10.1. Checks View
32.10.2. Code Templates View
32.10.3. Compile Order View
32.10.4. Console View
32.10.5. Coverage View
32.10.6. Inspect View
32.10.7. Layers View
32.10.8. Macros View
32.10.9. Outline View
32.10.10. Problems View
32.10.11. Tasks View
32.10.12. Types View
32.10.13. Type Hierarchy View
32.10.14. UVM Browser View
32.10.15. UVM Sequence Tree View
32.10.16. Verification Hierarchy View
33. Application Notes
33.1. Encrypted VIP Support
34. Tips and Tricks
35. Q & A
35.1. I am new to Eclipse, where should I start from?
35.2. Where can I find DVT Help?
35.3. How do I see and configure the key shortcuts?
35.4. Are there any backup files in Eclipse?
35.5. Workspace in use, cannot launch eclipse...
35.6. Locking is not possible in the directory...
35.7. How to start DVT Eclipse with a different eclipse.ini
35.8. Save could not be completed
35.9. IBM Clearcase Plugin
35.10. DVT is crashing with "Problematic frame ld-linux-x86-64.so.2 _dl_rtld_di_serinfo
35.11. libxul.so undefined symbol
35.12. How do I Access Files Outside Project Dir - Working with Linked Resources
35.13. Handling UNRECOGNIZED Macros
35.14. Mapping Linux to Windows (/proj/ to Z:\proj\)
35.15. How to use Working Sets for filtering Problems/Task/Search views?
35.16. Diagram error - image has not been created
35.17. Whitespace in macro definition
35.18. Subversive vs Subclipse
35.19. How do I associate a project with both DVT and CDT?
35.20. Can I use vi/vim along with DVT?
35.21. Can I perform dos2unix or unix2dos from DVT?
35.22. How can I configure Eclipse to use a local CVS repository?
35.23. I am using the Common Desktop Environment via Citrix and experiencing crashes. What can I do?
35.24. How do I change the background color of the Editor?
35.25. How do I change the color of the interface?
35.26. How to apply the dark color theme or other themes?
35.27. How do I change the tooltip colors?
35.28. How do I change Internet Proxy Settings?
35.29. Eclipse does not start, there is no Workspace, metadata or log file created
35.30. Workspace permissions
35.31. How to install our server as a service in Windows?
35.32. How do I link mylyn with Bugzilla?
35.33. How do I print source code?
35.34. How do I disable Eclipse Software Sites?
35.35. How do I revert to a previous version?
35.36. What are the most common shortcuts in DVT?
35.37. How do I run Specman using IntelliGen?
35.38. How does DVT integrate with emacs?
35.39. How does DVT integrate with CVS?
35.40. How to set an environment variable within a Run Configuration?
35.41. How to run a remote Unix command from DVT Eclipse for Windows?
35.42. How do I tell DVT to skip some files from compilation?
35.43. Rebuild shortcut (Ctrl + Alt + R) does not work
35.44. Sometimes I experience DVT GUI hangs, what should I do?
35.45. Sometimes I experience DVT GUI hangs when switching from another X application to DVT
35.46. I want to use an alias in a DVT Generic Run Configuration, but it's not recognized
35.47. Some files are missing from the VIPs transformed with evip2dvt.sh
35.48. How to set multiple paths as sources of predefined projects ?
35.49. Lines are suddenly changing indentation when I edit text or move the cursor through the editor.
35.50. How to change the directory where the build log file is saved ?
35.51. How to find the DVT logs on Linux/Unix ?
35.52. How to create resource filters ?
35.53. How to create custom shortcut and button for a Run Configuration?
35.54. I know that file.foo is present in the project location, but I can't see it in the Navigator View
35.55. How to copy the full path to the file in the current editor?
35.56. How to adjust the console logs filters matching parameters?
35.57. When I switch to Block (Column) Selection mode the font changes
35.58. In Block (Column) Selection mode I see strange editng artifacts
35.59. How to modify the font size in the code editors?
35.60. How to automatically checkout/lock files from the revision control system ?
35.61. How can I see if a file is read-only?
35.62. How can I open a file in DVT from the terminal?
35.63. How can I open a file in DVT from Questa?
35.64. How do I change the name of the xterm opened by a DVT Generic Run Configuration?
36. What is New?
37. How to Report an Issue?
38. Legal Notices
39. Third Party Licenses