• 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. Sensitivity analysis of subcircuit

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 14238
  • 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

Sensitivity analysis of subcircuit

ChrisEAS
ChrisEAS over 13 years ago

Is it possible to do a Spectre sens analysis for a subcircuit? For instance having ..

 subckt inv ( a b )
 M1 ( a b vdd vdd ) pmos l=0.1u w=0.1u
 M2 ( 0 b a 0 ) nmos l=0.1u w=0.1u
 ends

 X1 (a b) inv

.. I'd like to get the sensitivity of the current I(X1:a) against the voltage of a. Using a line such as ..

 sens ( X1:a ) to ( a ) for (dcOp )

.. gives the error message "`X1': Not a signal, device instance or a model."

 Is there a way to achieve that?

 Thanks, Chris

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Chris,

    I don't think this is possible. For a start, the to part has to be a component or instance parameter - it cannot be a voltage. Secondly, the output variable can't be a subcircuit current.

    I did manage to do it this way though:

      //

     global 0 vdd
     model nmos bsim4 type=n
     model pmos bsim4 type=p

     subckt inv ( a b )
     prb (a aint) iprobe
     M1 ( aint b vdd vdd ) pmos l=0.1u w=0.1u
     M2 ( 0 b aint 0 ) nmos l=0.1u w=0.1u
     ends

     X1 (a b) inv

     v1 (a 0) vsource dc=0.5
     vdd (vdd 0) vsource dc=1

     dcOp dc
     opts options sensfile="sens.out"

     sens (X1.prb:1) to (v1:dc) for (dcOp)

    But this may not be exactly what you want...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ChrisEAS
    ChrisEAS over 13 years ago

     Thanks, Andrew. This comes pretty close to what I was trying to do. Actually, my workaround was exactly that (unless that I've put prb outside the subcircuit). So if there's no other way of doing it, I'll stick with that. Thanks.

    • 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