• 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. Sweeping of variable with step as expression

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 15846
  • 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

Sweeping of variable with step as expression

Nicolas Callens
Nicolas Callens over 7 years ago

Hi all, 

I wanted to sweep a parameter as follows in ADE XL, "vin" should be swept between [initInput,endInput] with steps of (endInput-initInput)/amountPoints (with amountPoints, initInput and endInput as global variables). Or in other words, I want to get something like this in the field of "vin" in ADE XL: initInput:(endInput-initInput)/amountPoints:endInput. However, if I am inserting this as value for the variable "vin" I am getting a error that it is not a valid range.

Thanks!

Kind regards, 

Nicolas

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

    Hi Nicolas,

    As far as I know this is not possible. You should contact customer support to request an enhancement. You could control the start and stop points (but not the step size) by doing:

    normalizedSweep:   0:0.1:1    # or define the number of steps - but sweep between start and stop:
    initInput:  23.3  # whatever value you want
    endInput:   63.9   # whatever value you want
    vin: normalizedSweep*(endInput-initInput)+initInput

    Note, I didn't test this out - but I think it should work. The main thing is that you can't parameterise the step size, as far as I know.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Nicolas,

    As far as I know this is not possible. You should contact customer support to request an enhancement. You could control the start and stop points (but not the step size) by doing:

    normalizedSweep:   0:0.1:1    # or define the number of steps - but sweep between start and stop:
    initInput:  23.3  # whatever value you want
    endInput:   63.9   # whatever value you want
    vin: normalizedSweep*(endInput-initInput)+initInput

    Note, I didn't test this out - but I think it should work. The main thing is that you can't parameterise the step size, as far as I know.

    Regards,

    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