• 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. How to sweep two parameter in ADE Assembler?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 5916
  • 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

How to sweep two parameter in ADE Assembler?

SimbaG
SimbaG over 1 year ago

Hi all,

I am running monte carlo simulation with parameter sweeping.

What I need is sweeping a triangle region, which is 0<x<5k, 0<y<x.

I tried, set X and Y as design variables and write the following:

X:  {From/To} Linear:0:500:5K{From/To}

Y:  {From/To} LinearStepCount:0:11:VAR("X"){From/To}

But seems like this is not working, and VAR("X") is always the starting of the X, in this case, the VAR("X") is always 0.

Thank you for your help.

Best Regards,

Simba

My software version:

virtuoso -W

sub-version  IC23.1-64b.43

spectre -V
@(#)$CDS: spectre version 21.1.0 64bit (mmsimcm36c-4)

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    You cannot have use VAR() in the start, count, stop or other fields of a sweep. However, since the number of sweeps you are trying to perform is consistent, you can achieve this by doing:

    Ysweep: {From/To} LinearStepCount:0:11:1{From/To}

    Y: VAR("Ysweep")*VAR("X")

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    You cannot have use VAR() in the start, count, stop or other fields of a sweep. However, since the number of sweeps you are trying to perform is consistent, you can achieve this by doing:

    Ysweep: {From/To} LinearStepCount:0:11:1{From/To}

    Y: VAR("Ysweep")*VAR("X")

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • SimbaG
    SimbaG over 1 year ago in reply to Andrew Beckett

    Thank you very much Andrew. This works.

    I have one more question.

    What if we want Y has a constant step instead of constant number of sweeps?

    E.g. 

    X:  {From/To} Linear:0:500:5K{From/To}

    Y:  {From/To} Linear:0:500:VAR("X"){From/To}

    Have a nice weekend.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to SimbaG
    SimbaG said:

    What if we want Y has a constant step instead of constant number of sweeps?

    No, you can't do that - it would require an irregular sweep where the number of sweep points were not the same for the inner sweep, and that's not possible.

    Potentially you could just set Y to 0:500:5K and then use the Run Preview to disable the combinations you don't want, but this would be rather manual... 

    Andrew

    • 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