广州周立功单片机发展有限公司 Tel: (020)38730976 38730977 Fax:38730925 http://www.zlgmcu.com
- 2 -
序言
.............................................................................................................................. 4
指南的使用 ................................................................................................................................. 4
索引............................................................................................................................................ 4
用于定义 Verilog 语法的记号说明............................................................................................... 4
Verilog
的简单介绍
....................................................................................................... 5
背景............................................................................................................................................ 5
语言............................................................................................................................................ 5
编译............................................................................................................................................ 6
模块结构..................................................................................................................................... 6
语句............................................................................................................................................ 7
按字母顺序参考的部分
................................................................................................. 9
Always........................................................................................................................................ 9
Begin........................................................................................................................................ 10
Case......................................................................................................................................... 12
编码标准................................................................................................................................... 13
注释.......................................................................................................................................... 14
连续赋值................................................................................................................................... 15
Defparam ................................................................................................................................. 16
Delay........................................................................................................................................ 17
设计流程................................................................................................................................... 18
Disable..................................................................................................................................... 18
错误.......................................................................................................................................... 19
事件.......................................................................................................................................... 20
表达式 ...................................................................................................................................... 21
For............................................................................................................................................ 22
Force........................................................................................................................................ 23
Forever..................................................................................................................................... 24
Fork.......................................................................................................................................... 25
函数.......................................................................................................................................... 26
函数调用................................................................................................................................... 27
门 ............................................................................................................................................. 27
IEEE1364................................................................................................................................. 30
If............................................................................................................................................... 31
Initial......................................................................................................................................... 32
实例化 ...................................................................................................................................... 33
模块.......................................................................................................................................... 35
名字.......................................................................................................................................... 37
线网.......................................................................................................................................... 38
数字.......................................................................................................................................... 41
运算符 ...................................................................................................................................... 43
参数.......................................................................................................................................... 44
PATHPULSE$ .......................................................................................................................... 46
端口.......................................................................................................................................... 47
过程赋值................................................................................................................................... 48