• 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 13973
  • 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
  • ShawnLogan
    ShawnLogan over 4 years ago

    Dear maaz2020,

    If you tried this on the Calculator, did you happen to make sure the context of the calculator is pointing to your simulation directory results? I am concerned the Calculator does not know the value of VAR("myvar") and hence cannot perform the interpolation. You might be able to verify this in the Calculator by entering VAR("myvar") to verify that it has the expected value.

    Otherwise, if my comments do not apply to your context, might you provide a bit more information on the specific steps you are using and any messages in your CIW indicating the error?

    Shawn

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

    My guess is that this is something to do with the VAR() returning a waveform, but I've not done the experiments to determine which versions this does or doesn't work in. It really needs some more info to help guide any investigation:

    1. Which IC sub-version are you using (Help->About tells you this)?
    2. Which ADE are you using? L? XL? Explorer? Assembler?
    3. Is this a single simulation or are. you performing sweeps?

    Rather than doing a general hunt around and checking across lots of versions to identify what your problem might be, some specific information tends to focus the mind (and the time) of anyone investigating this.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • 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