Modelsim simulation for Verilog

OP #3336908
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
Attached files:
(Company: Grasshopper) #3348928
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
OP #3349259
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

Reply

A question of your own? This thread is over 13 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.