|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
内容: SOC Verilog HDL LRM
Notice: This manual has been superceded by the IEEE 1364 specification for the Verilog
Hardware Description Language, which can only be purchased from IEEE.
Introduction 1
Cover Pages/Copyrights ......................................................................................................... 1
1.0 Overview ......................................................................................................................... 2
1.1 Criteria for Selecting Material for This Manual ....................................................................... 3
1.2 The Contents of the Reference Manual................................................................................. 4
Lexical Conventions 6
2.0 Lexical Conventions Overview.............................................................................................. 6
2.1 Operators ........................................................................................................................ 6
2.2 White Space and Comments .............................................................................................. 6
2.3 Numbers........................................................................................................................... 7
2.4 Strings ............................................................................................................................ 9
2.4.1 String Variable Declaration .............................................................................................. 9
2.4.2 String Manipulation ......................................................................................................... 9
2.4.3 Special Characters in Strings .......................................................................................... 10
2.5 Identifiers, Keywords, and System Names .......................................................................... 10
2.5.1 Escaped Identifiers ......................................................................................................... 11
2.5.2 Keywords...................................................................................................................... 12
2.5.3 The $keyword Construct ................................................................................................. 12
2.5.4 The `keyword Construct ................................................................................................. 12
2.6 Text Substitutions ............................................................................................................ 13
Data Types 15
3.0 Data Types Overview ..................................................................................................... 15
3.1 Value Set......................................................................................................................... 15
3.2 Registers and Nets ......................................................................................................... 15
3.2.1 Nets.............................................................................................................................. 15
3.2.2 Registers ..................................................................................................................... 16
3.2.3 Declaration Syntax ...................................................................................................... 16
3.2.4 Declaration Examples................................................................................................... 18
3.3 Vectors ........................................................................................................................... 18
3.3.1 Specifying Vectors ....................................................................................................... 18
3.3.2 Vector Net Accessibility.................................................................................................19
3.4 Strengths ....................................................................................................................... 19
3.4.1 Charge Strength ..........................................................................................................19
3.4.2 Drive Strength ......................................................................................................... ....20
3.5 Implicit Declarations........................................................................................................ 20
3.6 Net Initialization ............................................................................................................. 20
3.7 Net Types........................................................................................................................ 20
3.7.1 wire and tri Nets .......................................................................................................... 20
3.7.2 Wired Nets.................................................................................................................... 21
3.7.3 trireg Net...................................................................................................................... 22
3.7.4 tri0 and tri1 Nets ......................................................................................................... 25
3.7.5 supply Nets ................................................................................................................. 25
3.8 Memories ........................................................................................................................ 25
3.9 Integers and Times......................................................................................................... 26
3.10 Real Numbers ............................................................................................................... 27
3.10.1 Declaration Syntax for Real Numbers ........................................................................ 28
3.10.2 Specifying Real Numbers ........................................................................................... 28
3.10.3 Operators and Real Numbers.................................................................................... 28
3.10.4 Conversion................................................................................................................ 29
3.11 Parameters....................................................................................................................29
............
...........
...........
...........
........... |
|