• 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 works during the simulation, but fails...

Stats

  • Replies 8
  • Subscribers 125
  • Views 1665
  • Members are here 0

calcVal function works during the simulation, but fails after initiating re-evaluation

A1vis
A1vis 1 month ago

Hi.

I'm using Virtuoso 6.1.8-64b

While constructing an expression to compare the circuit with its nominal working condition, I'm trying to reference the value of an expression for a specific corner. So I wrote

calcVal("value_x" ?cornerName "C_nominal")

or

calcVal("value_x" "test_name" ?cornerName "C_nominal")

Now as the simulation run, this expression does evaluate to what I want. But as soon as I made any changes to the output setup, however irrelevant with any part of the expression, evaluation error is reported. I must run the simulation again to see the comparison.

What have I done wrong? Thanks for any advice!

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 1 month ago
    A1vis said:
    I'm using Virtuoso 6.1.8-64b

    That's not very specific - there are sub-versions of IC6.1.8 which span 6 years, so it would be helpful to know which sub-version you're using. This is shown either in the Help->About menu or by calling getVersion(t) in the CIW.

    Thanks,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • A1vis
    A1vis 1 month ago in reply to Andrew Beckett

    Thanks for replying! It's IC6.1.8-64b.500.15

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 1 month ago in reply to A1vis

    Before I try to reproduce this in an older version, I suspect it's highly likely that this has been fixed in the meantime. ISR15 is pretty old, and the latest (ISR36) is from late 2024. Can you try the latest IC6.1.8 hotfix version?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • A1vis
    A1vis 1 month ago in reply to Andrew Beckett

    Rather difficult for me, that would be. It's installed in my corporate environment, and I'm unable to make any changes pertaining to the setup 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 1 month ago in reply to A1vis

    OK, but it's not going to get fixed by using the same version you're using right now anyway - it's almost certainly a bug, and moving to a newer IC version with the fix is the only viable solution. I don't know for certain that it's fixed in ISR36, but I don't recall seeing (recently) any issues that match your symptoms (and it's not a particularly unusual thing to do).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • A1vis
    A1vis 1 month ago in reply to Andrew Beckett

    I guess for me I can only avoid using this function...Just out of curiosity, is this function rather "new" for the version that I'm using? I'd expect it to be stabilized.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 1 month ago in reply to A1vis

    No, it's not that new - but there has been an ever increasing set of options for calcVal to cover different scenarios. Occasionally things break which cause it to fail in particular hotfix releases due to something having been updated but some use model being overlooked. 

    I'm pretty surprised that your company restricts you to only having access to a specific sub-version from (almost) 5 years ago (it's from November 2020).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • A1vis
    A1vis 1 month ago in reply to Andrew Beckett

    I see. Again, thanks for your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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