找回密码
 注册
搜索
查看: 792|回复: 0

[IC设计资料] A Verilog HDL Test Bench Primer.pdf

[复制链接]
发表于 2006-5-24 13:24:00 | 显示全部楼层 |阅读模式
【文件名】:06524@52RD_A Verilog HDL Test Bench Primer.pdf
【格 式】:pdf
【大 小】:65K
【简 介】:
【目 录】:Introduction ...........................................................................................................1
Overview...............................................................................................................1
The Device Under Test (D.U.T.) ...........................................................................1
The Test Bench ....................................................................................................1
Instantiations.........................................................................................................2
Figure 1- DUT Instantiation.............................................................................................2
Reg and Wire Declarations...................................................................................2
Figure 2 – Reg and Wire Declarations.............................................................................3
Initial and Always Blocks.......................................................................................3
Figure 3 – An Initial Block Example...............................................................................3
Figure 4 – An Always Block Example ............................................................................4
Initialization .....................................................................................................................4
Delays..............................................................................................................................4
Clocks and Resets ............................................................................................................4
Assign Statements................................................................................................4
Figure 5- An Assign Example..........................................................................................5
Printing during Simulations ...................................................................................5
$display...........................................................................................................................5
Figure 6- $display Example .............................................................................................5
$monitor..........................................................................................................................5
Figure 7- Using $monitor.................................................................................................5
Tasks ....................................................................................................................6
Figure 8- An Example of a Task – load_count ................................................................6
Count16 Simulation Example................................................................................6
Table 1- Simulation Steps................................................................................................6
Figure 9 – The Transcript Window for the Count16 Simulation....................................8
Figure 10 – The Simulation Waveform Window for the Count16 Simulation................8
Gate Level Simulations.........................................................................................9
Appendix A- The count16.v Verilog Source File ............................................................9
Appendix B- The cnt16_tb.v Verilog Test Bench Source File ......................................10
Reference Materials............................................................................................12

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-9-29 10:19 , Processed in 0.046383 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表