• 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 Design
  3. How to query the Assembler results database for an evaluated...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 10996
  • 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

How to query the Assembler results database for an evaluated expression?

Brad RFeng
Brad RFeng over 3 years ago

An ADE Assembler window is open with one or more tests that are defined and enabled. The simulation has been run and the results tab shows a wave icon for each of the outputs. At this point I want to run a script from the CIW (or from elsewhere if there is a better approach) to plot the outputs. The getData() function will provide access to the psf file from where a wave object can be pulled and then plotted using plot() and this works fine on output signals. An important point to note is that the Assembler outputs setup list can contain long expressions composed of signals that are written to the psf file but the evaluated results of the expressions are not in the psf file. For example the stability factor kf which is a function of the s-parameters generated by the sp simulation is entered into the output expression box as kf(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp")) and named myKf. If using getData() in a script I would have to first get each of the four s-parameters and then use them in a call to the built in function kf(). I don't want to hard code all the expressions in the script. I could use maeGetTestOutputs() to grab a string equivalent of the expression but then a non trivial parsing of this string would be required to recreate the function call with the correct arguments. It also seems an inefficient use of a designers time to do some much coding when the expressions have already been defined in the outputs tab and have been already been evaluated.  

Another option might be to use maePlotWithPlottingTemplate() but I want to avoid using templates.           

awvPlotWaveform() looks useful but it needs wave objects as input arguments. So my quandary is how to query the Assembler results database for an evaluated expression and have it return a wave that can be easily plotted?

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

    You can use calcVal("outputName" "testName") in the CIW to get to the results.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Brad RFeng
    Brad RFeng over 3 years ago in reply to Andrew Beckett

    Thanks Andrew that works well. Will calcVal or an equivalent work within a matlab script?

    Brad

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Brad RFeng

    Hi Brad,

    No, it won't. If you're talking about the ADE MATLAB Integration link, there's a Cadence Change Request 1721797 asking for the ability to access any waveform output (coming from a ViVA/calculator expression) in the MATLAB integration, but it hasn't been implemented yet. There are quite a lot of duplicate requests, but feel free to contact support to ask for a duplicate to be filed on your behalf.

    Kind Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Brad RFeng
    Brad RFeng over 3 years ago in reply to Andrew Beckett

    Can a MATLAB script be invoked from within a SKILL script?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Brad RFeng

    That's not supported via the ADE MATLAB Integration (of course, a SKILL program could invoke MATLAB using ipcBeginProcess etc but I'm sure that's not what you mean). It wouldn't link to the interface properly if done this way.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Brad RFeng

    That's not supported via the ADE MATLAB Integration (of course, a SKILL program could invoke MATLAB using ipcBeginProcess etc but I'm sure that's not what you mean). It wouldn't link to the interface properly if done this way.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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