Verilog HDL Behavioral Modeling (Verilog HDL 行为建模)


 


 

Verilog HDL Abstraction Levels //Verilog HDL 抽象层次

  

space.gif

 Procedural Blocks //过程块
  
Example - initial //initial块举例
Example - always //always 块举例
Procedural Assignment Statements //工程的赋值语句
 
Example - Bad procedural assignment //不好的过程赋值语句举例
Example - Good procedural assignment //优雅的过程赋值举例
Procedural Assignment Groups //过程赋值组
 
Example - "begin-end" // begin-end 块举例
Example - "fork-join" //fork-join 块举例
Sequential Statement Groups // 顺序语句块组
 
Example - sequential
Parallel Statement Groups   (并行语句块)
 
Example - Parallel
Example - Mixing "begin-end" and "fork - join" (begin-end块和fork-join块的混合举例)
Blocking and Nonblocking assignment (阻塞赋值和非阻塞赋值)
 
Example - blocking and nonblocking //阻塞与非阻塞的举例
Waveform (波形图)
assign and deassign (赋值和取消赋值)
 
Example - assign and deassign
force and release (force 和release)
 
Example - force and release
  

space.gif

 The Conditional Statement if-else (条件语句, if-else)
  
Example- simple if  (简单的if举例)
Example- if-else  (if-else 举例)
Example- nested-if-else-if (嵌套的if-else-if举例)
Simulation Log- nested-if-else-if (嵌套的if-else-if的仿真日志)
Parallel if-else  //并行的if-else
  

space.gif

 The Case Statement //case语句块
  
Normal Case // 普通的case语句
 
Example- case // case 举例
Example- case without default// 不带default的case语句举例

Example- case with x and z  // 带有x,z值的case语句 

The casez and casex statement  // casez 和casex 语句 

 
Example- casez // casez语句举例
Simulation Output - casez // casez 语句的仿真输出

Example- casex // casex 语句举例 

Simulation Output - casex // casex 语句的仿真输出
Example- Comparing case, casex, casez // 普通的case语句 casex语句 casez语句的比较举例
  

space.gif

 Looping Statements //循环语句
  

The forever statement // forever 语句

 
Example - Free running clock generator // 自由运行的时钟举例
The repeat statement // repeat 语句
 
Example- repeat // repeat 语句的举例
The while loop statement // while循环语句
 
Example- while // while举例
The for loop statement // for循环举例
 
Example - For 
  

space.gif

 Continuous Assignment Statements // 连续赋值语句
  
Example - One bit Adder //一位加法器
Example - Tri-state buffer //三态缓冲器
  

space.gif

 Propagation Delay // 传播时延
  
Example - Tri-state buffer //三态缓冲器
  

space.gif

 Procedural Block Control //过程块的控制
  
Combo Logic using Procedural Coding //使用过程编码的组合逻辑电路
 
Example - One bit Adder // 一位加法器 举例
Example - 4-bit Adder // 4位加法器
Example - Ways to avoid Latches - Cover all conditions //避免闭锁的方法:包含所有的条件情形
Example - Ways to avoid Latches - Snit the variables to zero //使没用的变量归0
Sequential Logic using Procedural Coding //使用过程块编码的时序逻辑电路
 
Example - Bad coding - Using two clocks //不好的编码方式:使用2个clock(时钟)

Example - D Flip-flop with async reset and async preset //带有异步复位和异步先前置位的D触发器 

Example - D Flip-flop with sync reset and sync preset //带有同步复位和同步先前置位的D触发器 
A procedure can't trigger itself //一个过程块不能触发它自己
Procedural Block Concurrency // 过程块的并发执行
Race condition                     // 竞争条件
  

space.gif

 Named Blocks //命名过程块
  
Example - Named Blocks //命名过程块的举例
  

space.gif


the above original link:http://www.asic-world.com/verilog/vbehave.html

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值