首页 > 代码库 > Verilog HDL Test Bench

Verilog HDL Test Bench

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

技术分享

技术分享

 

 

 

Verilog HDL Test Bench