a2d in Wavescan

Discussion in 'Cadence' started by Manu Rastogi, Apr 11, 2009.

  1. Manu Rastogi

    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
     
    Manu Rastogi, Apr 11, 2009
    #1
  2. Manu Rastogi

    Riad KACED Guest

    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, Apr 13, 2009
    #2
  3. Riad KACED wrote, on 04/13/09 17:14:
    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.
     
    Andrew Beckett, Apr 15, 2009
    #3
  4. Manu Rastogi

    Manu Rastogi Guest

    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
     
    Manu Rastogi, Apr 16, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.