• 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. Variable set in corners overrides variable locally defined...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 12611
  • 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

Variable set in corners overrides variable locally defined in test

SteveDobbs
SteveDobbs over 4 years ago

Cadence_icadvm v18.10.130

ADE Assembler

I am running a trimming (calibration) simulation. The trimming must be done at a fixed supply voltage. Thereafter, I want the post-trim test to take the value set in the corners for the supply voltage.

In the trim test, I set the supply voltage to the desired trimming value LOCALLY i.e. vsup=vsupTrim where vsupTrim is a global variable with a fixed value.

In the corners, vsup has a range of values.

When I run the two tests together across corners, the trimming test simply picks up the value for vsup defined in the corners, ignoring the local override.

I have tried setting the local variable, vsup=VAR("vsupTrim") and also avoiding the global altogether i.e. vsup=3, but neither works.

I appreciate that this may be expected behaviour but is there a workaround to achieve a constant supply voltage for the trim test even though the corners want to vary this variable

Note: A similar approach for temperature seem to work OK i.e. ....

trim test:   temperature = VAR("trimTemp") with trimTemp set as a global

2nd test:  temperature = VAR("simTemp")  with simTemp varied across corners

Temperature in the trim test is not varied across corners in this case.

  • Cancel
Parents
  • SteveDobbs
    SteveDobbs over 4 years ago

    Found a solution .....

    Make vsup (which is the variable on the supply voltage source in the schematic) constant during trim.

    Create new global variable, simVsup.

    Set vsup=simVsup locally in all post-trim tests.

    Make simVsup vary across corners

    Result; supply voltage is constant during trim test (independent of corners). Supply voltage varies across corners for post-trim tests.

    This is actually the reverse of what I tried to do initially, and seems to work.

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

    Steve,

    Something doesn't sound right here - I think what you describe originally sounds as if it should work (if I've understood properly). Perhaps you could contact customer support so that we could have one of the team look at it?

    Thanks,

    Andrew

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

    Hi Andrew,

    Case submitted (#46490862) with you on copy.

    Steve

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

    Hi Steve,

    Thanks - I've got one of my team to look at this (I'm a bit tied up myself with other stuff for the company you work for today...)

    Andrew.

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

    Hi Steve,

    Thanks - I've got one of my team to look at this (I'm a bit tied up myself with other stuff for the company you work for today...)

    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