Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - simulation and test bench

 
Thread Tools Search this Thread
Old 03-26-2006, 06:33 PM   #1
Default simulation and test bench


Hello,

Can somebody advice me that whats the difference between the simulation
and test bench. I am using Quatrus these days and it has a simulator. I
wrote a VHDL program and took it into the simulator, define clock and
other control signals and started testing my design. Now, somebody told
me that I need to write a test bench too. I do not know why. Please
adivce. Thanks
Regards
john



john
  Reply With Quote
Old 03-26-2006, 07:45 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: simulation and test bench
john wrote:

> Can somebody advice me that whats the difference between the simulation
> and test bench. I am using Quatrus these days and it has a simulator. I
> wrote a VHDL program and took it into the simulator, define clock and
> other control signals and started testing my design.


The Quartus simulator tests a synthesis netlist, not source code.
Using an HDL simulator like modelsim, I can apply stimulus
algorithmically using a testbench like this:

http://home.comcast.net/~mike_treseler/test_uart.vhd

and it will draw the waveforms for me, like this

http://home.comcast.net/~mike_treseler/uart_sim.pdf

> Now, somebody told
> me that I need to write a test bench too. I do not know why.


The Quartus simulator is adequate for small designs.
If you haven't run into its limitations,
there is no need to change horses yet.


-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 03-26-2006, 08:27 PM   #3
Ralf Hildebrandt
 
Posts: n/a
Default Re: simulation and test bench
john wrote:


> Now, somebody told
> me that I need to write a test bench too. I do not know why.


A testbench is the environment you need to test your design. This means
at least test stimuli and it is recommended, that checks, if the device
under test operated well, are also included (automatic verification).

Do something, that proves, that (hopefully) no bugs are int the
component. Every function, that is not tested can be seen as "not working".

Ralf


Ralf Hildebrandt
  Reply With Quote
Old 03-29-2006, 12:49 AM   #4
Andy Peters
 
Posts: n/a
Default Re: simulation and test bench
john wrote:
> Can somebody advice me that whats the difference between the simulation
> and test bench. I am using Quatrus these days and it has a simulator. I
> wrote a VHDL program and took it into the simulator, define clock and
> other control signals and started testing my design. Now, somebody told
> me that I need to write a test bench too. I do not know why. Please
> adivce. Thanks


See http://janick.bergeron.com/wtb/wtb2/

-a



Andy Peters
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My 70-622 review Mike Russcher MCITP 3 11-22-2008 11:03 PM
why are we still putting up with Prometric test crashes? Oliver MCITP 10 10-11-2008 04:51 PM
why are we still putting up with Prometric test crashes? Oliver MCTS 7 07-02-2008 03:49 PM
894 out of 900 in A+ hardware test. RonRice@newyorkcity.com A+ Certification 2 04-20-2005 06:17 PM
Visual CertExam Suite: A New Test Engine for IT Certification David Johnson A+ Certification 0 07-13-2004 02:46 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46