Verilog HDL Test Bench

时间:2016-09-22 01:04:43   收藏:0   阅读:201

As digital systems becomes more complex,it becomes increasingly important to verify the functionality of a design before implementing it in a system,a Test Bench source includes mainly some aspects:

0,set up time scale and operating precision.

技术分享

 

1,instantiation

技术分享

技术分享

 

2,Reg and Wire Declarations

技术分享

技术分享

 

3,initial and always(clock,reset)

技术分享

技术分享

waring:

技术分享

 

4,Printing during simulusation

技术分享

技术分享

技术分享

 

5,TASK

技术分享

技术分享

 

 

 

原文:http://www.cnblogs.com/rrttp/p/5894694.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!