• 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. Export assembler measurement to csv/vcsv files

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 3381
  • 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

Export assembler measurement to csv/vcsv files

alexstepanov75
alexstepanov75 over 1 year ago

Hi,

How to export assembler measurement waveform to csv/vcsv files?

I am usually plotting the waveform and then RMB on the plot and then Send To->Export

The problem is I have PVT sweep and want to group waveforms to files by one of the parameters and it takes a long time to do it manually

I need a way to do it in SKILL

Thank you!

  • Cancel
  • ShawnLogan
    ShawnLogan over 1 year ago

    Dear alexstepanov75,

    alexstepanov75 said:

    How to export assembler measurement waveform to csv/vcsv files?

    I am usually plotting the waveform and then RMB on the plot and then Send To->Export

    The problem is I have PVT sweep and want to group waveforms to files by one of the parameters and it takes a long time to do it manually

    There is a SKILL function awvSaveToCSV() that will export a waveform or a list of waveforms in a comma-separated variable (CSV) formatted file. It is documented in the ViVA XL Skill Reference manual. From that manual, the syntax of the command is:

    awvSaveToCSV(
    l_waveforms
    t_fileName
    [ ?from x_from ]
    [ ?to x_to ]
    [ ?precision x_precision ]
    [ ?step x_step ]
    [ ?linLog t_linLog ]
    [ ?exprList l_expressionList ]
    [ ?mergeXAxis g_mergeXAxis ]
    )
    => t / nil

    Hence, you could either use it in a SKILL script to execute following the completion of your set of PVT simulations or, alternately, include an ocean script that contains this function as an output that will export the waveform(s) you want to a CSV file. You can add an ocean script measurement to your Assembler/Explorer test. You might want to refer to the link provided by Mr. Andrew Beckett regarding using an ocean script following an Assembler/Explorer run at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/53629/running-ocean-script-from-ade

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • alexstepanov75
    alexstepanov75 over 1 year ago in reply to ShawnLogan

    @ShawnLogan thank you. But this function needs waveform to work. How can i pass a waveform of measurement from specific corner/sweep?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 1 year ago in reply to alexstepanov75

    Dear alexstepanov75,

    alexstepanov75 said:
    But this function needs waveform to work. How can i pass a waveform of measurement from specific corner/sweep?

    As I mentioned in my response, you may use the function in an ocean script and include the ocean script as an ADE output. There is some information about saving data in a text file using an ocean script in the Forum post at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/48153/question-about-exporting-simulation-results-to-csv-format-with-ocean-script

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 1 year ago in reply to ShawnLogan

    Dear alexstepanov75,

    I happen to realize I may not understand your objective. I thought you wanted a means to send a waveform to a CSV file following the completion of a simulation in ADE Assembler. You were plotting the waveform you wanted to save to a ViVA window manually and then exporting that waveform to a CSV file.

    If that is the case, you create an oceanXL script that runs after your simulation completes in ADE Assembler that uses the awvSaveToCsv() function with the name of the waveform you want to export to the file.

    An alternative is to run an ocean script after your PVT simulations are complete. The ocean script will traverse all the simulations in the test and print the relevant waveforms to a file. I have posted an example ocean script that traverses an ADE Assembler database and will allow you do to use the awvSaveToCsv(0 function to export the relevant waveform. SInce it is an ocean script, you can include condiitonal expressions to, for example, only print the waveform if one or more conditions are met. There are links to the sample ocean script (with comments as to how to use it in your application/environment) in the post at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/47844/ocean-script-for-printing-parametric-sweep-dcop

    Within that post,I refer to the post at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/43159/way-to-use-skill-script-to-save-waveform-into-a-file-in-ade-xl-run

    which contains the script.

    I hope this helps you!

    Shawn

    • 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