• 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() works fine over corners but not when variable...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 7274
  • 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() works fine over corners but not when variable swept

Pirate King
Pirate King over 2 years ago

I am using calcVal()  with evaltype = "corners" to do some maths between 2 corners and it works fine until a variable is swept. I was expecting a calcVal result for each sweep but get eval err instead. I dont want to use "all" as i want individual results per sweep step. Is the simulator converting the series of corners when swept as a wave so i need to modify the expression?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    What's the expression and which version are you using?

    Andrew

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

    Hi Andrew,

    (100 * ((calcVal("NF@Fgmax" "LNA_LB" ?cornerName "C16_wcc") - calcVal("NF@Fgmax" "LNA_LB" ?cornerName "C0_typ")) / calcVal("NF@Fgmax" "LNA_LB" ?cornerName "C0_typ")))

    IC6.1.8-64b.500.19

    L

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Pirate King
    Pirate King over 2 years ago in reply to Pirate King

    Anymore on this?

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

    L - apologies, been rather busy of late and so have got very behind answering questions on the forums.

    I tried your expression (adapted slightly for a different test bench) and it worked fine with sweeps in ISR32. I checked again in ISR19 and it still worked OK.

    The best bet is to contact customer support. Alternatively if you want to come along to the CadenceCONNECT event in Bracknell on 6th June, we could look at it then ;-)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Pirate King

    L - apologies, been rather busy of late and so have got very behind answering questions on the forums.

    I tried your expression (adapted slightly for a different test bench) and it worked fine with sweeps in ISR32. I checked again in ISR19 and it still worked OK.

    The best bet is to contact customer support. Alternatively if you want to come along to the CadenceCONNECT event in Bracknell on 6th June, we could look at it then ;-)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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