DVT e Language IDE User Guide
Rev. 17.1.26, 14 September 2017

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. Check Naming Conventions
3.8.21. Quickly See the Current Scope in the Status Bar
3.8.22. Locate the Matching Bracket
3.8.23. Fold Code Regions in Order to Improve Readability
3.8.24. Load in Specman
4. Build Configurations
4.1. default.build
4.2. Auto-config
4.3. Emulating compiler invocations
4.4. Multiple .build Files
4.5. Compatibility Modes
4.5.1. Default DVT Compatibility Mode
4.5.2. vcs.vlogan Compatibility Mode
4.5.3. vcs.vhdlan Compatibility Mode
4.5.4. ius.irun Compatibility Mode
4.5.5. questa.vlog Compatibility Mode
4.5.6. questa.vcom Compatibility Mode
4.6. Paths
4.7. Strings
4.8. Comments
4.9. Environment Variables
4.10. Including Other Argument Files
4.11. Build Persistence
4.12. DVT Auto-Linked
4.13. Run a Script Before Build
4.14. All Build Directives
4.15. e Language Test Files
4.16. e Language SPECMAN_PATH
4.17. SystemVerilog OVM or UVM Library Compilation
4.18. Xilinx Libraries Compilation
5. Compile Checks
5.1. Compile Waivers
5.2. Semantic Checks
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. Content Filters Examples
8.3. 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. External
13. Inspect Extensions (Layers)
14. Override Methods
14.1. Override Annotation
14.2. Override using the Dialog
15. Extend Annotation
16. Semantic Search
17. Search for References (Usages)
18. Show Constraints
19. Quick Search in Views
19.1. CamelCase
19.2. Simple Regex
19.3. Hierarchical Search
19.4. Search for Members
19.5. Search Port in Verification Hierarchy
19.6. Search all Method Extensions
20. Refactoring
20.1. Rename Refactoring
21. Diagrams
21.1. UML Diagrams
21.1.1. UML Diagrams - Select Types
21.1.2. UML Diagrams - Preferences
21.1.3. UML Diagrams - Legend
21.2. Architecture UML Diagrams
21.3. Sequences UML Diagrams
21.4. UVM Components Diagrams
21.5. Diagram Actions
21.6. Diagram Toolbar
22. Export HTML Documentation
22.1. Export HTML Documentation Wizard
22.2. Comments Formatting
22.2.1. JavaDoc
22.2.2. NaturalDocs
22.3. Customizing Documentation
23. External Tools Integration
23.1. Run Configurations
23.1.1. Run Configuration Session Type
23.1.2. Custom Shortcut and Button for a Run Configuration
23.1.3. Using environment variables in DVT Generic Run Configurations
23.1.4. Using an alias in a DVT Generic Run Configuration
23.1.5. DVT Generic Run Configuration Variables
23.2. Smart Log
23.2.1. Smart Log - Filters
23.2.2. Smart Log - Hyperlinks
23.2.3. Smart Log - Styles
23.3. External Builders
23.3.1. How to define a new external builder?
23.3.2. How to configure a filter?
23.3.3. How to invoke external builders?
23.3.4. External Builder Output
23.3.5. Source Code Markers - errors warnings
23.4. External Documentation
23.4.1. Configure External Documentation
23.4.2. Browse External Documentation
23.4.3. Search External Documentation
24. Debugger Integration
24.1. Simulation Prerequisites
24.2. Launch a Debug Simulation
24.3. Connect to an Existing Simulation
24.4. Breakpoints
24.5. Threads, Call Stack, Stepping
24.6. Variables
24.7. Watch Expressions
24.8. Debug Specific Configurations
25. Custom Dialogs
25.1. Quick Steps
25.2. Customizing the Dialog Output
25.3. SWT/XML Reference
25.3.1. Layouts
25.3.2. Widgets
25.4. Custom Dialog Snapshots
25.4.1. Custom Dialog Snapshots File Syntax (XML)
26. Command Line Interface
26.1. dvt_cli.sh
26.2. Syntax
26.3. Notes
26.4. Examples
26.5. Makefile Example
26.6. Commands
26.6.1. Create a Project (Mixed-Language Capable)
26.6.2. Create a Project From an Existing Template
26.6.3. Import an Existing Project
26.6.4. List Compiled Files
26.6.5. Launch a Run Configuration
26.6.6. Open a File
26.6.7. Close a File
26.6.8. Open a Custom Dialog
26.6.9. Refresh a project
26.6.10. Quit
26.6.11. Query the running status
26.6.12. Print version
27. Macros Support
27.1. Inactive Code Highlight
27.1.1. Overview
27.1.2. Settings
27.2. Macro Expansion
27.2.1. Overview
27.2.2. Triggering
27.2.3. Tips
27.2.4. IMPORTANT NOTE
27.3. Macros and Quick Macros Views
27.4. Trace Macro Errors
28. Reminders (TODO Markers)
29. UVM Support
29.1. UVM Browser
29.2. OVM UVM Compliance Review
29.2.1. OVM UVM Compliance Review - Architecture Tab
29.2.2. OVM UVM Compliance Review - Checks Tab
29.2.3. OVM UVM Compliance Review - Statistics Tab
29.2.4. OVM UVM Compliance Review - HTML Report
29.3. UVM Content Filters
29.4. UVM Sequence Tree
29.5. UVM Verification Hierarchy
30. Settings Management
30.1. Managed Settings
30.2. Unmanaged Settings
30.3. User and Common Settings Location
30.4. Use Cases
30.4.1. Memory Allocation Thresholds
30.4.2. Workspace Preferences
30.4.3. Run Configurations
30.4.4. Compile Waivers
30.4.5. Content Filters
30.4.6. External Builders
30.4.7. Export HTML Documentation
30.5. Examples
30.6. Deprecated Settings Management (before DVT 3.5)
30.6.1. Workspace Settings
30.6.2. Project Settings
30.6.3. Other Settings
30.6.4. Importing Preferences From a Different Workspace
30.6.5. Customizing Default Settings Using dvt.ini
31. Reference
31.1. Common Shortcuts
31.2. Editor Right Click Menu
31.2.1. Folding
31.2.2. Macros
31.2.3. Source
31.2.4. Show
31.2.5. References
31.2.6. Refactor
31.3. Hyperlinks
31.4. Icons and Decorations
31.4.1. Icons
31.4.2. Decorations
31.4.3. Changing Icon Colors
31.4.4. Project Colors
31.5. Scripts
31.5.1. dvt.sh
31.5.2. dvt_cli.sh
31.5.3. dvt_kit_installer.sh
31.5.4. dvt_plugin_installer.sh
31.5.5. evip2dvt.sh
31.6. Syntax Coloring
31.7. Tooltips
31.8. Toolbar Actions
31.9. Views
31.9.1. Checks View
31.9.2. Code Templates View
31.9.3. Compile Order View
31.9.4. Console View
31.9.5. Coverage View
31.9.6. Inspect View
31.9.7. Layers View
31.9.8. Macros View
31.9.9. Outline View
31.9.10. Problems View
31.9.11. Tasks View
31.9.12. Types View
31.9.13. Type Hierarchy View
31.9.14. UVM Browser View
31.9.15. UVM Sequence Tree View
31.9.16. Verification Hierarchy View
32. Application Notes
32.1. Encrypted VIP Support
33. Tips and Tricks
34. Q & A
34.1. I am new to Eclipse, where should I start from?
34.2. Where can I find DVT Help?
34.3. How do I see and configure the key shortcuts?
34.4. Are there any backup files in Eclipse?
34.5. Workspace in use, cannot launch eclipse...
34.6. Locking is not possible in the directory...
34.7. How to start DVT Eclipse with a different eclipse.ini
34.8. Save could not be completed
34.9. IBM Clearcase Plugin
34.10. DVT is crashing with "Problematic frame ld-linux-x86-64.so.2 _dl_rtld_di_serinfo
34.11. libxul.so undefined symbol
34.12. How do I Access Files Outside Project Dir - Working with Linked Resources
34.13. Handling UNRECOGNIZED Macros
34.14. Mapping Linux to Windows (/proj/ to Z:\proj\)
34.15. How to use Working Sets for filtering Problems/Task/Search views?
34.16. How can I do an incremental textual search in any view?
34.17. Diagram error - image has not been created
34.18. Whitespace in macro definition
34.19. Subversive vs Subclipse
34.20. How do I associate a project with both DVT and CDT?
34.21. Can I use vi/vim along with DVT?
34.22. Can I perform dos2unix or unix2dos from DVT?
34.23. How can I configure Eclipse to use a local CVS repository?
34.24. I am using the Common Desktop Environment via Citrix and experiencing crashes. What can I do?
34.25. How do I change the background color of the Editor?
34.26. How do I change the color of the interface?
34.27. How to apply the dark color theme or other themes?
34.28. How do I change the tooltip colors?
34.29. How do I change Internet Proxy Settings?
34.30. Eclipse does not start, there is no Workspace, metadata or log file created
34.31. Workspace permissions
34.32. How to install our server as a service in Windows?
34.33. How do I link mylyn with Bugzilla?
34.34. How do I print source code?
34.35. How do I disable Eclipse Software Sites?
34.36. How do I revert to a previous version?
34.37. What are the most common shortcuts in DVT?
34.38. How do I run Specman using IntelliGen?
34.39. How does DVT integrate with emacs?
34.40. How does DVT integrate with CVS?
34.41. How to set an environment variable within a Run Configuration?
34.42. How to run a remote Unix command from DVT Eclipse for Windows?
34.43. How do I tell DVT to skip some files from compilation?
34.44. Rebuild shortcut (Ctrl + Alt + R) does not work
34.45. Sometimes I experience DVT GUI hangs, what should I do?
34.46. Sometimes I experience DVT GUI hangs when switching from another X application to DVT
34.47. I want to use an alias in a DVT Generic Run Configuration, but it's not recognized
34.48. Some files are missing from the VIPs transformed with evip2dvt.sh
34.49. How to set multiple paths as sources of predefined projects ?
34.50. Lines are suddenly changing indentation when I edit text or move the cursor through the editor.
34.51. How to change the directory where the build log file is saved ?
34.52. How to find the DVT logs on Linux/Unix ?
34.53. How to create resource filters ?
34.54. How to create custom shortcut and button for a Run Configuration?
34.55. I know that file.foo is present in the project location, but I can't see it in the Navigator View
34.56. How to copy the full path to the file in the current editor?
34.57. How to adjust the console logs filters matching parameters?
34.58. When I switch to Block (Column) Selection mode the font changes
34.59. In Block (Column) Selection mode I see strange editng artifacts
34.60. How to modify the font size in the code editors?
34.61. How to automatically checkout/lock files from the revision control system ?
34.62. How can I see if a file is read-only?
34.63. How can I open a file in DVT from the terminal?
34.64. How do I change the name of the xterm opened by a DVT Generic Run Configuration?
35. What is New?
36. How to Report an Issue?
37. Legal Notices
38. Third Party Licenses