This article covers
some basics about running your simulation in Xilinx ISim. It will point out
some basic mistakes people do when simulating their code in ISim.
Let’s go step by step, see the images for easier understanding of the steps.
Open the images in a new tab in your browser if they are not clear enough.
1) Once the coding is done (both the test bench and the design to be tested) make sure you select the top entity (test bench code) in the Xilinx window as shown below. Many people just select any other file and click the compilation button.
Note down the red markings in the image below. Points to be noted are:
·
Choose View as simulation.
·
Select the top entity i.e. the test bench. If the wrong file is
selected for simulation then the waveform in ISim will be blank and you will
see no waveform.
·
Double click on the Behavioral check syntax for
compiling the design or for finding out any syntax errors.
·
If the above step is successful then double click on Simulate
Behavioral Model. If there are syntax errors in step 3 then you may
have to check your code.

