没有合适的资源?快使用搜索试试~ 我知道了~
首页DVT_SystemVerilog_Language_User_Guide.pdf
DVT_SystemVerilog_Language_User_Guide.pdf
需积分: 0 372 浏览量
更新于2023-05-31
评论 1
收藏 20.61MB PDF 举报
DVT_SystemVerilog_Language_User_Guide.pdf, DVT IDE用户手册
资源详情
资源评论
资源推荐

DVT SystemVerilog IDE User Guide
Rev. 18.1.41
13 December 2018
Technical Support: support@amiq.com

Copyright (C) 2005-2018 AMIQ EDA s.r.l. (AMIQ). All rights reserved.
License: This product is licensed under the AMIQ's End User License Agreement
(EULA).
Trademarks: The trademarks, logos and service marks contained in this document are
the property of AMIQ or other third parties. DVT™, eDT™, VlogDT™, VhdlDT™
Verissimo™ are trademarks of AMIQ. Eclipse™ and Eclipse Ready™ are trademarks
of Eclipse Foundation, Inc. All other trademarks are the property of their respective
holders.
Restricted Permission: This publication is protected by copyright law. AMIQ grants
permission to print hard copy of this publication subject to the following conditions:
1.The publication may not be modified in any way.
2. Any authorized copy of the publication or portion thereof must include all original
copyright, trademark, and other proprietary notices and this permission statement.
Disclaimer: This publication is for information and instruction purposes. AMIQ
reserves the right to make changes in specifications and other information contained in
this publication without prior notice. The information in this publication is provided as
is and does not represent a commitment on the part of AMIQ. AMIQ does not make,
and expressly disclaims, any representations or warranties as to the completeness,
accuracy, or usefulness of the information contained in this document. The terms and
conditions governing the sale and licensing of AMIQ products are set forth in written
agreements between AMIQ and its customers. No representation or other affirmation
or fact contained in this publication shall be deemed to be a warranty or give rise to any
liability of AMIQ whatsoever.

DVT SystemVerilog IDE www.dvteclipse.com
© AMIQ i Rev. 18.1.41
Table of Contents
1. Installation Checklist .......................................................................................................... 1
1.1. Install DVT Using a pre-packed Distribution .......................................................... 1
1.2. Install DVT Using the Update Site ......................................................................... 1
1.3. Check the DVT License .......................................................................................... 4
2. Predefined Projects ............................................................................................................. 5
3. Getting Started .................................................................................................................... 9
3.1. What is a Workspace ............................................................................................... 9
3.2. What is a Project ..................................................................................................... 9
3.3. Project Natures ....................................................................................................... 10
3.4. Workspace and Workbench ................................................................................... 11
3.5. Refresh ................................................................................................................... 12
3.6. Linked Resources ................................................................................................... 13
3.7. Backup and Local History ..................................................................................... 14
3.8. Basic Tutorial ......................................................................................................... 15
3.8.1. Switch to the DVT Perspective .................................................................. 15
3.8.2. Open a Project ............................................................................................ 17
3.8.3. Configure the Build .................................................................................... 18
3.8.4. Build the Project ......................................................................................... 19
3.8.5. Inspect the Compilation Errors ................................................................... 19
3.8.6. See Comments in Tooltips .......................................................................... 21
3.8.7. Use Hyperlinks to Move Around in the Code ............................................ 23
3.8.8. Quickly Open a Type (Class, Module, Interface) ....................................... 24
3.8.9. Quickly Inspect the Class Hierarchy .......................................................... 24
3.8.10. Quickly Open a File ................................................................................. 25
3.8.11. Quickly Move Inside the Editor ............................................................... 27
3.8.12. Inspect the Class Hierarchy and Class Members ...................................... 28
3.8.13. Inspect the Design Hierarchy .................................................................... 29
3.8.14. Inspect the Verification Hierarchy ............................................................ 30
3.8.15. Browse Through All the Available Types (Classes, Modules,
Interfaces) .............................................................................................................. 31
3.8.16. Look for the Implementation of an Extern Function or Task .................... 32
3.8.17. Search for Entities .................................................................................... 33
3.8.18. Use Content Assist (Autocomplete) .......................................................... 35
3.8.19. Use Code Templates ................................................................................. 36
3.8.20. Use Module Auto Instance ....................................................................... 38
3.8.21. Expand Macros (Apply Preprocessing) .................................................... 39
3.8.22. Trace Macro Errors ................................................................................... 40
3.8.23. Track Tasks using TODO Markers ........................................................... 41
3.8.24. Quickly See the Current Scope in the Status Bar ..................................... 41
3.8.25. Fold Code Regions in Order to Improve Readability ............................... 42
3.8.26. Access the Context Sensitive Help ........................................................... 42
4. Build Configurations ......................................................................................................... 44
4.1. Non-top files .......................................................................................................... 44
4.2. default.build ........................................................................................................... 45
4.3. Auto-config ............................................................................................................ 46
4.4. Emulating compiler invocations ............................................................................ 47

DVT SystemVerilog IDE www.dvteclipse.com
© AMIQ ii Rev. 18.1.41
4.5. Multiple .build Files ............................................................................................... 47
4.6. Compatibility Modes ............................................................................................. 48
4.6.1. Default DVT Compatibility Mode .............................................................. 49
4.6.2. vcs.vlogan Compatibility Mode .................................................................. 52
4.6.3. vcs.vhdlan Compatibility Mode .................................................................. 55
4.6.4. ius.irun Compatibility Mode ....................................................................... 56
4.6.5. ius.perspec Compatibility Mode ................................................................. 60
4.6.6. questa.vlog Compatibility Mode ................................................................. 60
4.6.7. questa.vcom Compatibility Mode ............................................................... 62
4.6.8. gcc Compatibility Mode ............................................................................. 62
4.7. Paths ....................................................................................................................... 62
4.8. Strings .................................................................................................................... 63
4.9. Comments .............................................................................................................. 63
4.10. Environment Variables ........................................................................................ 64
4.11. Including Other Argument Files .......................................................................... 65
4.12. Build Persistence .................................................................................................. 65
4.13. DVT Auto-Linked ................................................................................................ 67
4.14. Run a Script Before Build ................................................................................... 68
4.15. All Build Directives ............................................................................................. 69
4.16. e Language Test Files .......................................................................................... 85
4.17. e Language SPECMAN_PATH ........................................................................... 85
4.18. SystemVerilog OVM or UVM Library Compilation ........................................... 86
4.19. Xilinx Libraries Compilation ............................................................................... 86
4.20. Intel(Altera) Quartus Libraries Compilation ........................................................ 87
5. Compile Checks ................................................................................................................ 89
5.1. Compile Waivers ................................................................................................... 89
5.2. Semantic Checks .................................................................................................... 92
5.3. Non Standard Checks ............................................................................................ 99
6. Content Assist (Autocomplete) ....................................................................................... 110
6.1. Content assist for CamelCase and Underscore .................................................... 111
6.2. Code Templates ................................................................................................... 111
6.3. Module Automatic Instantiation .......................................................................... 112
6.4. Override Functions Using Autocomplete ............................................................ 113
7. Quick Fix Proposals ....................................................................................................... 114
7.1. Add Parameter to Module ................................................................................... 116
7.2. Add Port to Module ............................................................................................. 116
7.3. Add Signal to Sensitivity List ............................................................................. 117
7.4. Add Virtual Qualifier to Interface Type .............................................................. 118
7.5. Correct Spelling In Comments and Strings ......................................................... 118
7.6. Create File From Build Config Editor ................................................................. 119
7.7. Create Included File ............................................................................................. 119
7.8. Declare Method .................................................................................................... 120
7.9. Declare Variable .................................................................................................. 121
7.10. Did You Mean ................................................................................................... 122
7.11. Fully Qualify Type ............................................................................................ 123
7.12. Implement Extern Method ................................................................................. 123
7.13. Implement Missing Pure Virtual Methods ......................................................... 124
7.14. Import Type ....................................................................................................... 126

DVT SystemVerilog IDE www.dvteclipse.com
© AMIQ iii Rev. 18.1.41
7.15. Remove 'local' or 'protected' Qualifier ............................................................... 127
7.16. Remove Signal from Sensitivity List ................................................................. 127
7.17. Remove Signal Never Used ............................................................................... 128
7.18. Update Extern Prototype/Implementation .......................................................... 129
7.19. Update Module Instance .................................................................................... 130
7.20. Update Virtual Method Signature ...................................................................... 131
7.21. Waive Compilation Problems ............................................................................ 132
8. Quick Assist Proposals ................................................................................................... 134
8.1. Bind Method Call Arguments by Name .............................................................. 135
8.2. Bind Method Call Arguments by Position .......................................................... 137
8.3. Connect Instance Ports by Name ......................................................................... 138
8.4. Connect Instance Ports by Position ..................................................................... 140
8.5. Expand .* Port Connections ................................................................................. 141
8.6. Extract to Variable ............................................................................................... 143
8.7. Extract to Method ................................................................................................ 144
8.8. Join Extern and Implementation .......................................................................... 146
8.9. Split to Extern and Implementation ..................................................................... 147
8.10. Rename in File ................................................................................................... 148
9. Content Filters ................................................................................................................ 151
9.1. Content Filters XML syntax ................................................................................ 151
9.2. Filtering by element type ..................................................................................... 154
9.3. Content Filters Examples ..................................................................................... 159
9.4. Predefined Content Filters ................................................................................... 160
10. Code Templates ............................................................................................................ 172
10.1. Code Templates in Autocomplete ...................................................................... 172
10.2. Global Code Templates ..................................................................................... 173
10.3. Project Level Code Templates ........................................................................... 173
10.4. Code Templates View ........................................................................................ 174
11. File Templates .............................................................................................................. 177
12. Project Templates ......................................................................................................... 178
12.1. What is a project template? ............................................................................... 178
12.2. How to generate code from a project template .................................................. 179
12.2.1. Step 1. Specify Directories ..................................................................... 179
12.2.2. Step 2. Specify Parameters ..................................................................... 180
12.3. template.config ................................................................................................... 181
12.4. Add from Template ........................................................................................... 181
13. Code Formatting ........................................................................................................... 184
13.1. Whitespace ......................................................................................................... 184
13.2. Indentation .......................................................................................................... 184
13.3. Vertical Alignment ............................................................................................. 186
13.4. Line Wrapping ................................................................................................... 188
13.5. Disable Format for Code Sections ..................................................................... 188
13.6. Format Multiple Files ........................................................................................ 189
13.7. External .............................................................................................................. 190
14. Override Functions ....................................................................................................... 191
14.1. Override Annotation .......................................................................................... 191
14.2. Inspect Overrides in the Quick Type Hierarchy View ....................................... 191
14.3. Inspect Overrides in the Layers View ............................................................... 192
剩余842页未读,继续阅读





安全验证
文档复制为VIP权益,开通VIP直接复制

评论0