• 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. Parameterizing model section

Stats

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

Parameterizing model section

NickA
NickA over 6 years ago

I'm using a model library with multiple sections for different process corners, and would like to be able to flip between them with a variable in ADE-L, without resorting to ADE-XL. Is there a way I can write a model wrapper file to do this, something like...

     if (case==0)

        include "model.scs" section=typ

     else if (case==1) 

         include "model.scs" section=slow

     else if (case==2) 

         include "model.scs" section=fast

     etc

Thanks,

Nick

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Nick,

    The if statement in spectre is a structural if - which means that you have to have instances in the body of the if statement. So you can't really do what you're suggesting.

    However, if you move to ADE Explorer, which is the upgrade path from ADE L (ADE L will be end-of-sale next year, so it's wise to move anyway), that supports corners in an ADE-L like single-test environment anyway. So that would be my recommendation rather than trying to invent another way to do this.

    Regards,

    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