• 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. calcVal function referring a curve

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 8382
  • 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

calcVal function referring a curve

sjwprcker
sjwprcker over 2 years ago

Hi,

I want to use calcVal to cite one transient signal from test_A to test_B. The format I tried is

calcVal(XXX "test_A")    // XXX is signal name

In the result page, it shows a normal sign as a curve, but when i try to plot it, there is only one empty viva window pop out, and I got error in CIW as

It seems the expression syntax is wrong. 

My virtuoso versio is IC618 64b 500.22

Anyone can help?

BR

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    I found a single report of an isFile error being given when calcVal was used this way and we could not reproduce it at the time. The user restarted virtuoso and the problem went away. Not very satisfactory, but I think all you can do is try that and if that doesn't work then contact customer support.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sjwprcker
    sjwprcker over 2 years ago in reply to Andrew Beckett

    Hi Andrew,

    The format i use calcVal is correct?

    BR

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to sjwprcker

    Ah, that might be it. You can only use calcVal to refer to another expression not a signal. You need to have an output expression in "test_A" which is is a calculator expression - so for example:

    mySig: VT("/mySig")

    and then you can use: calcVal("mySig" "test_A") in the second test. 

    It has to be an expression because otherwise it's ambiguous; signals are plotted for multiple analyses; DC sweeps, AC analyses, and Transient - so it could refer to three different curves and the calcVal wouldn't know which you meant (if it was supported)..

    Andrew

    • Cancel
    • Vote Up +1 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