• 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. Can I use a variable as interpolation point in the value...

Stats

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

Can I use a variable as interpolation point in the value function?

maaz2020
maaz2020 over 4 years ago

Hi

I'm trying to setup the interpolation point of the value function from a variable, I've tried this but it doesn't work:

any idea on how I can achieve this?

Thanks

  • Cancel
Parents
  • maaz2020
    maaz2020 over 4 years ago

    @ Shawn: 

    entering VAR("myvar") in the calculator returns the expected value

    @ Andrew:

    1. ICADVM18.1
    2. ADE XL, Maestro view
    3. initially ran a DC sweep; I have re-ran a transient and looking for a value in time:

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to maaz2020

    Dear maaz2020,

    maaz2020 said:

    entering VAR("myvar") in the calculator returns the expected value

    @ Andrew:

    1. ICADVM18.1
    2. ADE XL, Maestro view
    3. initially ran a DC sweep; I have re-ran a transient and looking for a value in time:

    Thank you for the added details!

    Looking at the CIW error you posted, it appears the syntax of your leafValue() expression is missing arguments or parentheses...did you clip the CIW error?

    I just tried an example value() function on a waveform from a simulation I performed in Assembler using a variable "sel_tdel" and printed the result to a table. Figure 1 suggests the use of a variable with your syntax evaluates properly. Hence, I am wondering if the issue is with your leafValue() syntax...any thoughts maaz2020?

    I am using:

    $ virtuoso -W
    sub-version  ICADVM20.1-64b.500.16
    $

    Shawn

    Figure 1

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to maaz2020

    Dear maaz2020,

    maaz2020 said:

    entering VAR("myvar") in the calculator returns the expected value

    @ Andrew:

    1. ICADVM18.1
    2. ADE XL, Maestro view
    3. initially ran a DC sweep; I have re-ran a transient and looking for a value in time:

    Thank you for the added details!

    Looking at the CIW error you posted, it appears the syntax of your leafValue() expression is missing arguments or parentheses...did you clip the CIW error?

    I just tried an example value() function on a waveform from a simulation I performed in Assembler using a variable "sel_tdel" and printed the result to a table. Figure 1 suggests the use of a variable with your syntax evaluates properly. Hence, I am wondering if the issue is with your leafValue() syntax...any thoughts maaz2020?

    I am using:

    $ virtuoso -W
    sub-version  ICADVM20.1-64b.500.16
    $

    Shawn

    Figure 1

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • maaz2020
    maaz2020 over 4 years ago in reply to ShawnLogan

    I got it to work now; this is what happened:

    when you send a waveform from ViVA graph to the calculator attaches leafValue(): if you try to elaborate the value expression with the VAR("tstrobe") directly from the calculator it returns the error (first figure).

    I've removed the leafValue() from the expression in the buffer, and now it works, from within the calculator (second figure).

    Eventually, when you send the buffer expression to ADE outputs, it removes the leafValue() anyway in ADE, so it will work regardless (last figure - I didn't tried that step before)

             

    • 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