• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Converting Waveform to list

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 16299
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Converting Waveform to list

SavinoP
SavinoP over 7 years ago

Hi, 

I am a SKILL newbie and I need to covert a waveform to a list, but I can't.

I tried to use "abWaveToList" procedure, as read in other posts, but it doesn't seem to work. I've written this code:

res = abWaveToList(Wave ?transpose t)

and the content of res variable is:


I guess the problem isn't due to the Waveform variable, because I can see it using plot fuction. I'm using IC6.1.7-64b.500.15.

I really appreciate all the help I can get.

Regards,
Savino

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Savino,

    My guess is that the waveform is actually a family of curves, not a single waveform. abWaveToList (which I wrote) was only designed with single (leaf) waveforms in mind.

    What is producing the waveform? What is the simulation setup and how are you getting the waveform in the first place?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SavinoP
    SavinoP over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you so much for your reply.

    The Waveform is the results of an Hysteresis sweep DC simulation with only one corner enabled (Nominal corner is disabled).  I've written a new procedure for the DC simulation that returns the Waveform.

    The syntax I used at the end of the procedure is:

      Wave = v("/Vout")
      Wave  

    where Vout is the signal I need. I don't know if this could be a problem.

    Regards,
    Savino

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SavinoP

    Hi Savino,

    Are you using the “Hysteresis Sweep” checkbox on the dc analysis, or are you simulating the hysteresis in some other way (I’m assuming you’re using spectre). The Hysteresis sweep produces a single waveform (not a family).

    Probably would have to have a clearer example of precisely what you're doing in your script - perhaps this would be better handled via customer support?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SavinoP

    Hi Savino,

    Are you using the “Hysteresis Sweep” checkbox on the dc analysis, or are you simulating the hysteresis in some other way (I’m assuming you’re using spectre). The Hysteresis sweep produces a single waveform (not a family).

    Probably would have to have a clearer example of precisely what you're doing in your script - perhaps this would be better handled via customer support?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • SavinoP
    SavinoP over 7 years ago in reply to Andrew Beckett

    Hi Andrew, 

    Yes, I am using the "Hysteresis Sweep" checkbox with Spectre simulator. 
    In any case, as you have supposed, the waveform is a family of curves and I solved this problem using famValue() function:    

    foreach(sweepValue famGetSweepValues(v("Vout"))   
       Wave = famValue(v("Vout") sweepValue))  

    So, in this way I managed to use abWaveToList() function and convert the waveform in a list. This code works, but I don't think it is the best method.

    Thanks for your time and your help.

    Regards,
    Savino

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SavinoP

    Hi Savino,

    That's not unreasonable. I don't really know what you're doing with the results of abWaveToList, so whether there's a better way, I can't comment.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information