• 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. spectre : plotting device parameters

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 17807
  • 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

spectre : plotting device parameters

swdesigner
swdesigner over 13 years ago

I've used a flavor of SPICE in the past that let you plot (save the waveform for plotting with a viewer) MOSFET parameters such as VGST and GM, etc.

Has anyone had success with doing this in spectre? That SPICE manual I used also specified what MOSFET parameters were available for output.

I tried 

save xlx5.MN9.MN:IDS

and 

save xlx5.MN9:* 

and

save xlx5.MN9.MN:*

Hope for my results browser to show me all the parameters that a print OP info for the device showed. No luck.

My ultimate goal is to extract the true channel current of a MOSFET in a transient simulation. If I use the terminal currents, then those include the currents due to CGS and CGD and can be misleading.

Thanks!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    If you know what model it is, you can see the available outputs - see "spectre -h bsim4" for example, and in the section labelled "Operating Point Parameters" you'll see them listed. With spectre, it would be "ids" not "IDS" - so :

    save xlx5.MN9.MN:ids

    Or to save all operating point outputs, use:

    save xlx5.MN9.MN:oppoint

    You can also save using wildcards:

    save *:oppoint sigtype=dev

    (saves operating point data for all devices - you might want to be more selective so you don't create quite so much).

    See "spectre -h save" for more details too.

    Regards,

    Andrew.

     

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

    Thank you!

    Is there a reason this would not work :

    I put 

    save xlx5.MN9.MN:ids

    and run the simulation using the runSimulation script that ADE creates.

    When I reload or Open Results from my viva, I don't get ids.

    The only way I'm able to get it is by doing an include file approach..

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    The right way to do this would always be to create an include file and reference it from Setup->Model Libraries.

    You say "I put save..." - you didn't say where you it it. Where did you put it?

    Note that the runSimulation script is not intended to be run by users - often it has options in there (such as +inter=mpsc) which mean that it will only work properly if ADE has launched it - because it expects to be controlled by ADE.

    Andrew

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

    Hmm... that's good to know. IC5 was convenient that way - you could ssh to a server and launch the sim using ./runSimulation. Never had a problem.

    I was putting the save at the very end of the input.scs

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    This is no different between IC5 and IC6 - it's always been this way. 

    Provided that the simulation is being run in "batch" mode (i.e. there are no arguments mentioning mps in the runSimulation script) you can get away with running it this way, because it's essentially the same as what ADE is doing. You might need to do Results->Select in ADE so that it knows the results have changed before you bring up the results browser (this is the same in IC5 and IC6 too).

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    The advantage of using the Setup->Model Libraries approach is that it will be persistent - if you edit the input.scs and run the simulation by hand, next time you hit the run button in ADE, it will overwrite the input.scs and won't do your manual edit...

    Andrew.

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

    Turned out that the problem was due to putting my save right at the very end - If I put it after the existing save, before the saveOptions, then it works okay.

     NOT OK :

    save whateverr

    saveOptions options save=allpub

    save xlx5.MN9.MN:ids

    EOF

    OK :

    save whatever

    save xlx5.MN9.MN:ids

    saveOptions options save=allpub

    EOF

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago
    I'm surprised about that. I'll do some testing...
    • 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