![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
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 |
|
|
|
#4 |
|
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |