• 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 use ?result t_resultName in calcVal?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 8725
  • 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 use ?result t_resultName in calcVal?

StephanWeber
StephanWeber over 3 years ago

Hi,

in Assembler I want to refer to a signal output "/VISENS" of an earlier run, done in "Interactive.NomSweep". So I want to create in another test an output with this expression:

calcVal("/VISENS" "Interactive.NomSweep")

This does not work because normally calcVal can only take a single output value, not a whole waveform. However, with  ?result t_resultName I should be able to refer to a whole wave, but I wonder how to do it? The user guide gives many great examples, but unfortunately not for using "?result ".

Can someone give some hints? "/VISENS" is the waveform from a DC sweep, and I want to apply also other calculations, like ymax, value, etc.

Bye Stephan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    calcVal refers to the output name, not a signal name. So putting in a node name like this makes absolutely no sense - a signal wouldn't be good enough because it wouldn't know which analysis you were referring to. It can certainly be a waveform though.

    So instead, create an output from your first test (and note, the second argument is the name of the test, not the history - there are other arguments for that) which is (say):

    visens: VT("/VISENS")

    or

    visens: v("/VISENS" ?result 'tran)

    and then in the second output you would use calcVal("visens" "firstTestName")

    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