AnsweredAssumed Answered

Problem in reading from a file

Question asked by VIRALPARIKH on Oct 9, 2006
Latest reply on Oct 11, 2006 by mfredrik
I would like to read input stimuli for my RF block from the external file.

Here is the brief description of my design.  

I have 5 raws in my "in.dscr" external file with 2 variables in each raw. I have "Transient Simulator" running from 0ns to 10ns. I also have DAC and
PramSweep components to sweep index of the input file. ParamSweep is linked with my Transient Simulator.

Here is the problem.

At the end of the simulation, I see that each raw is read and simulation is performed for 10ns based on its variable values. (As my simulation time is 10 ns in transient simulator). So, I get 5 curves, one for each raw, running from 0 to 10 ns. This is not what I need. I want to fire values of each raw's variables sequencially. Means, simulation should show only 1 curve from 0 to 10 ns and each 2
ns span should be based on one raw's values. What should I do ?

Please let me know if you need any more information to understand the problem.  

Thanks,
Viral  

Outcomes