Model Simulation

S

swiss student

Guest
Dear All

I am not very familiar with Model Sim tool, I have to simulate a
structural description of a design. I am done with the coding part I
compiled and luckily there are no errors but Now I want to simulate
this VHDL code.

I tried to follow the Help manual available with the model sim help
option ....I trid to creat a clock as was mentioned in the manual
--------------force clk 1 50, 0 100 -repeat 100 and then i followed the
steps as was mentioned in the manual....

my prob now is that the wave window does not show any clock signal at
all ...it has though added the clk ,rest ..input output and other
signal but it shows clock and other signls as U

so can soem one please tell how can I see the clock wave in the wave
window r let me know wat is teh mistake i am doing now ,,,,

thnks in advance for ur help

Suresh
 
swiss student wrote:
Dear All

I am not very familiar with Model Sim tool, I have to simulate a
structural description of a design. I am done with the coding part I
compiled and luckily there are no errors but Now I want to simulate
this VHDL code.

I tried to follow the Help manual available with the model sim help
option ....I trid to creat a clock as was mentioned in the manual
--------------force clk 1 50, 0 100 -repeat 100 and then i followed the
steps as was mentioned in the manual....

my prob now is that the wave window does not show any clock signal at
all ...it has though added the clk ,rest ..input output and other
signal but it shows clock and other signls as U

so can soem one please tell how can I see the clock wave in the wave
window r let me know wat is teh mistake i am doing now ,,,,
You need to learn how to write a real test bench.

-a
 
Suresh,
As Mike said, learn to write Testbenches - that will go a long way
and is worth than spending time to figure out how to get Model Sim
generate vectors for you via TCL etc. Do a google search for VHDL
Testbench tutorial, one starting point can be:

http://www.vhdl-online.de/~vhdl/tutorial/englisch/t_163.htm#pgfId-1003968

Good luck
Aji
http://www.noveldv.com
 

Welcome to EDABoard.com

Sponsor

Back
Top