• 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 save subckt parameters in Spectre

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 14407
  • 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 save subckt parameters in Spectre

Dessai
Dessai over 5 years ago

I have device model in subckt form with instance parameter "w". 

This model has another parameter "r" which is a function of "w".

How to save subckt parameter "r" as I sweep parameter "w" in Spectre. 

Thanks,

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

    I'm not sure this is possible - you should contact customer support for an enhancement request. 

    If the underlying device has a suitable parameter you may be able to do it another way - for example:

    //

    inline subckt forumres (p n)
    parameters w=1u l=10u r=l/w*0.1
    forumres (p n) resistor r=r
    ends forumres

    I1 (n1 0) isource dc=100u
    R1 (n1 0) forumres w=2u

    save R1:res
    save n1
    dc dc dev=R1 param=w start=0.2u stop=2u step=0.2u

    Regards,

    Andrew.

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

    I'm not sure this is possible - you should contact customer support for an enhancement request. 

    If the underlying device has a suitable parameter you may be able to do it another way - for example:

    //

    inline subckt forumres (p n)
    parameters w=1u l=10u r=l/w*0.1
    forumres (p n) resistor r=r
    ends forumres

    I1 (n1 0) isource dc=100u
    R1 (n1 0) forumres w=2u

    save R1:res
    save n1
    dc dc dev=R1 param=w start=0.2u stop=2u step=0.2u

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Dessai
    Dessai over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for your help.

    Regards,

    • 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