EmbDev.net

Forum: FPGA, VHDL & Verilog Modelsim simulation for Verilog


von Karim A. (karim_2008)


Attached files:

Rate this post
useful
not useful
Hi all,
I am trying to simulate in Modelsim a xilinx video IP core (AXI to XVSI) 
using a do file (AXI_VidOut.do) and when I force the input video data 
using

     force s_axis_video_tdata  -deposit 16#0 20, 16#AABBCC 40, 16#AAAACC 
60

I found in the wave editor that s_axis_video_tdata was stuck to value 
16#AAAACC from 0 ns to the end of the simulation without changing
I attached the files to test if possible
Thanks

Karim

von Tom F. (Company: Grasshopper) (tom_fairbairn)


Rate this post
useful
not useful
Karim,

I can't open you're RAR file so I'll have to guess, but there are two 
immediate possibilities:

1) What is your `timescale?  You haven't specified "ns" in your force 
command time specifications so it's possible the force is being applied 
after 60ps, which you might not notice in your waveform.

2) Is there something else applying values to s_axis_video_tdata?  force 
-deposit only forces the value until something else drives a different 
value on to the net.

Hope that helps,
Tom

von Karim A. (karim_2008)


Rate this post
useful
not useful
Thanks Tom
it was as u said about the timescale
actually before when I did simulations, I specified only the run 
duration and the clk in ns and it works
but it seems that this time the default configurations had been modified 
and I got that strange behavior


Karim

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.