• 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. Accessing design variables in parametric set sweeps

Stats

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

Accessing design variables in parametric set sweeps

Naci
Naci over 4 years ago

Hi,

I am performing a parametric set sweep with a large number of parameters in the set. Is it possible to access design variable values that are constant scalars (not swept) in the output expressions without using "leafValue" function?

I am using ICADVM18.1-64b.500.13

Naci

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

    I'm not sure why you would use leafValue() to do this. Wouldn't the VAR() function suffice?

    Andrew

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

    Hi Andrew,

    I need to use the design variable in calculations in the output setup with the type set to sweep. So, when I use VAR() in such a case, it returns a vector with the same design variable value for each sweep point. Is there simple way to get the scalar value instead of the vector?

    Naci

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

    Hi Andrew,

    I need to use the design variable in calculations in the output setup with the type set to sweep. So, when I use VAR() in such a case, it returns a vector with the same design variable value for each sweep point. Is there simple way to get the scalar value instead of the vector?

    Naci

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

    Hi Naci,

    Maybe using ymax(VAR("varName") ?overall t) would do what you want? Since all values are the same, this would give you the value. Might be a better way, but this is a quick-and-dirty off-the-top-of-my-head answer ;-)

    Andrew

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

    Hi Andrew,

    It does the trick! Thank you. Though, It may have been better to have an option in VAR function that does the trick itself Slight smile

    Naci

    • 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