• 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. 2D Sweep in Spectre Netlist

Stats

  • Replies 2
  • Subscribers 125
  • Views 1087
  • Members are here 0

2D Sweep in Spectre Netlist

KC202505278026
KC202505278026 3 months ago

Hi, I want to know how to sweep 2 parameters at the same time in a Spectre netlist.

For example, following is sweep W and L separately:

// DC sweep
dcSweepW dc param=WMASK start=9u stop=0.288u step=-0.01u
dcSweepL dc param=LMASK start=9u stop=0.243u step=-0.01u
 
Is that possible to sweep all combinations of W and L, like 2D sweep?
Any answer is welcome, thank you.
  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 3 months ago

    First of all, posting technical questions in the Feedback, Questions and Suggestions forum is not the right place - that's for issues related to the forums themselves. I moved your post into an appropriate forum.

    To do what you want, you need to use the sweep analysis:

    // DC sweep
    dcSweepW sweep param=WMASK start=9u stop=0.288u step=-0.01u {
      dcSweepL dc param=LMASK start=9u stop=0.243u step=-0.01u
    }
    You can nest sweep analyses as you want, with the body (in curly brackets) representing the analyses that are repeated for each sweep point.
     
    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KC202505278026
    KC202505278026 3 months ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you very much for your quick and clear response, and for moving my post to the correct forum. Your explanation about using nested sweep analyses in Spectre was exactly what I needed. I appreciate your help.

    Sincerely,

    Chen

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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