Home ] Up ] #1 ] #2 ] #3 ] #4 ] [ #5 ] #6 ] #7 ] #8 ] #9 ] #10 ] #11 ] #12 ] #13 ] #14 ] #15 ] #16 ] #17 ] #18 ] #19 ] #20 ] #21 ] #22 ] Exer ] Prob ] Less ] Xtra ]
#5

Up ] Stimuli demo ] Clock generator ] First Test Bench ]


First Test Bench

 

 Topics:

Last updated: 16-08-09

bullet

 Introducing the concept of testing
bullet

Automatic generated Test bench (and the corrections needed)

bullet

VHDL code for simulation - mostly wait for statements.

bullet

The ISIM program - the build in simulation tool of the ISE

bullet

A more advanced simulation tool - Modelsim can be downloaded (Free starter version) and called from the ISE
 

In order to verify the functionality of your design must you create a Test Bench. VHDL was originally created for the purpose of writing simulations model and hence will it be easy to create clock generators and stimuli for the inputs.

More advanced Test Benches will be able read stimuli from files and compare with the expected outputs (from a file as well)
In fact do you got all the features which can be found in a "normal" high level program language like C++, Java etc.

The simulation can either be:
         Behavioural Simulation where all logic ideal (no delays, only pure Boolean logic)
         Post-Route Simulation where the expected delays from the FPGA taken into account.

Exercises / Problems:
bullet Combinatorial Logic - A short presentation of Combinatorial logic
 

Test bench = VHDL module with an empty Entity

 

 
   
   

Test bench with analogue signals - too bad can't this be shown as curves

 

 

bullet

Problem 2.1 Multiplexer (Pedro page 22)

 
  Continue in the book

 

bulletProblem 2.2 Logic gates (Pedro page 24)
 
  Continue in the book

x

bullet

Exercise - (Pedro page 6)

 
 
  more in the book
         
       

Hit Counter