• 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. VIVA Table SKILL functions

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 16165
  • 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

VIVA Table SKILL functions

Curtisma
Curtisma over 7 years ago

Hello:

I was looking for SKILL functions to work with VIVA tables and so far I have found only a single function.

 awvTableSignals

However this function is very limited.  Are there any other functions available for working with VIVA tables?  Specifically I was looking for functions to perform the following basic tasks:

  • Open a new, blank VIVA table and possibly return some identifier or object instance of it.
  • Add a waveform object to a table as a column in that table.

The awvTableSignals function requires a strange "l_siglist" list to identify the contents and only accept signal names as strings.

-Curtis

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

    Curtis,

    No, unfortunately not.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Curtis,

    No, unfortunately not.

    Regards,

    Andrew

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

    Ok, is there anyway to use the "awvTableSignals" function to add an expression?  The documentation suggests the inputs must be signals.

    Specifically I would like to add the following expression which is referencing the data of an sp analysis swept over a design variable.

    dB20(aaSP("/ANT1" "/B71A"))

    -Curtis

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

    I just checked and even awvTableSignals is really using the old "print engine"  tables (also known as Results Display Window), rather than the true ViVA tables. I did this:

    mydir="/export/home/myarea/demos/VIVA615/adc_sample_hold/psf"
    awvTableSignals(list(list(mydir list(list("tran" list("OUTM" "OUTP"))))))

    If you're OK with this, then expressions can be sent to such a window with:

    awvPrintWaveform(v("/OUTM" ?result 'tran ?resultsDir mydir)*5)

    Regards,

    Andrew.

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

    Ok, I'll try using the results display, but it will likely be later in the week before I can get to it. 

    I do need the table to have one x-vector column that is common to all the y-vector columns in the table. I also need to be able to save it to  a csv file.  I don't think the results display has both of those features.  From what I remember it always prints both the x and y vectors for each waveform printed. 

    This is an issue since we have many design variants we need to save data from so going through and removing extra columns manually is not a good solution.  When I plot a set of outputs and then send it to a VIVA table it always plots and exports the outputs in alphabetical order rather than the order specified in the outputs table so that also does not work and is not as efficient since I would have to plot them first.

    -Curtis

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

    Hi Curtis,

    You can send two waveforms to the results display window and it will share a common x vector if it's common. However, it has all sorts of limitations (including this silly 1900 row limitation). It also doesn't have export to CSV. If you don't necessarily need the table window, then there is this code I posted before that might be useful. 

    I'm not really convinced that the results display window is what you want though - it's effectively been replaced by the tables in ViVA but unfortunately there's no (public) SKILL API to use these (note, I didn't check if there are private APIs - I don't think so though).

    Regards,

    Andrew.

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

    Andrew:

    Ok, that code might be helpful, I'll take a look.  It would be good to be able to take a look at the results in a table before saving them to a CSV to make a cursory check of the results and get some quick feedback to check for any obvious issues with them.

    What would be really nice is if I could display it in the results display directly similar to a corner's sweep of the design variable

    Corner Sweep Method (Parallel run, slower run time, easier to post process)

    There are two ways I've run the sim I described, the first is to use a corner group to sweep the design group and run the sp sims in parallel.  Then the output expressions that evaluate to a scalar are displayed in the results display in the order of the outputs list.  I just have to transpose them then hit the save to csv button.

    Analysis Method (series run, 5X faster run time, harder to post process so far)

    The second is to run the design variable sweep as part of the sp analysis.  It runs these sims in series, however it can actually run around 5X faster than the first option if the starting operating point is reused between design points by setting the "prevoppoint" option under sp analysis -> options... However I have been struggling with an easy way to display and then export the results to a CSV with a specific column order and a single x-vector.

    I submitted a case asking for a public VIVA table SKILL API.

    -Curtis

    • 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