a2d in Wavescan

M

Manu Rastogi

Guest
Hi,

I am using icfb5141 for simulating a digital block. I discovered that
WaveScan allows you to select a bunch of analog signals and pass them
through a a2d module. The outputs from a2d can be used to make a bus,
which makes it really convenient to see the signals.

The trouble is that every time I run the simulations I need to go
through the rigor of selecting the signals then passing them through
a2d and then make a bus. I was wondering if there is a way of
automating this process, so that it updates itself everytime I rum the
simulation.

Thanks for the help.

-Manu Rastogi
 
Hi Manu,

You could simply add an output into your output signals that directly
gives the a2d waveform. The function that you need for this is:
awvAnalog2Digital.
Say you want the digital waveform of the analog signal VOUT, setting
the high threshold value to 1.8V and the low threshold value to 0.2V.
The syntax of the new output is:
awvAnalog2Digital(VT("/VOUT") 1.8 0.2 0 0 "hilo")

The awvAnalog2Digital function is documented in the VirtuosoŽ Analog
Design Environment SKILL Language Reference ($CDSHOME/doc/skartistref/
skartistref.pdf). It is referenced in the cdsFinder as well.

Regards,
Riad.
 
Riad KACED wrote, on 04/13/09 17:14:
Hi Manu,

You could simply add an output into your output signals that directly
gives the a2d waveform. The function that you need for this is:
awvAnalog2Digital.
Say you want the digital waveform of the analog signal VOUT, setting
the high threshold value to 1.8V and the low threshold value to 0.2V.
The syntax of the new output is:
awvAnalog2Digital(VT("/VOUT") 1.8 0.2 0 0 "hilo")

The awvAnalog2Digital function is documented in the VirtuosoŽ Analog
Design Environment SKILL Language Reference ($CDSHOME/doc/skartistref/
skartistref.pdf). It is referenced in the cdsFinder as well.

Regards,
Riad.
See also sourcelink solution 11410100 (I think I may have written this before
that function was documented, but even so, it allows you to register it as a
special function in the calculator, which can make it a little easier to use, I
suppose).

Regards,

Andrew.
 
Thanks Riad and Andrew . I got the functions. I will probably write
the skill code and pot it here, incase somone else has similar
problem.

-Manu

On Apr 15, 7:10 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Riad KACED wrote, on 04/13/09 17:14:



Hi Manu,

You could simply add an output into your output signals that directly
gives thea2dwaveform. The function that you need for this is:
awvAnalog2Digital.
Say you want the digital waveform of the analog signal VOUT, setting
the high threshold value to 1.8V and the low threshold value to 0.2V.
The syntax of the new output is:
awvAnalog2Digital(VT("/VOUT") 1.8 0.2 0 0 "hilo")

The awvAnalog2Digital function is documented in the VirtuosoŽ Analog
Design Environment SKILL Language Reference ($CDSHOME/doc/skartistref/
skartistref.pdf). It is referenced in the cdsFinder as well.

Regards,
Riad.

See also sourcelink solution 11410100 (I think I may have written this before
that function was documented, but even so, it allows you to register it as a
special function in the calculator, which can make it a little easier to use, I
suppose).

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top