• 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 transient operating point?

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 125
  • Views 31268
  • 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 transient operating point?

BaaB
BaaB over 9 years ago

This is an old answer to saving DC operating points. I am wondering if there is a similar way to do that with transient analysis. I would like to save all transient operating point parameters and then plot them with time.

I tried the solution here but that doesn't work. The transient directory doesn't have the needed info.

I am using IC6.61-64b.500.9 and MMSIM13.1.1.049 64 bit.

QUOTE: Answer by Andrew:

This is a very commonly asked question.

Create a text file (called, say, saveop.scs) with the following contents:

// include file to save op point data
save M0:all

where M0 is the name of the mosfet. See "spectre -h save" for more details on the save statement.

Then, in Setup->Model Libraries, reference this file (I gave it a .scs suffix so it is interpreted in spectre syntax).

Run your DC sweep, and then you can access the results via the results browser - or just use an expression such as:

getData("M0:vdsat" ?result 'dc)

This will then show vdsat versus the swept parameter. 

The same approach will work if you want to save operating point during a transient - you can always just save the specific op point information by doing:

save M0:gm M0:vdsat

for example.

Best Regards,

Andrew.

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    This does work, so you must have done something wrong. Did you get the instance name right?

    In fact in more recent IC616 versions, it's available through the ADE UI (Outputs->To Be Saved->Save OP Parameters).

    I just tried the "hysteresis" netlist you provided the other day, with a transient simulation (in the same MMSIM version you're using), and adding either:

    //save M1:gm M1:vdsat
    save M1:all

    The first just saves gm and vdsat. The second saves everything. See the results browser:

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BaaB
    BaaB over 9 years ago

    Thank you.

    I am not at schoo right now. It is night here so I can not take a picture or post the netlist file.

    However, I am having problem with subcircuit components. It is OK with components not in subcircuit.

    My circuit includes an instance I0 and I would like to save transient operating point (versus time) of the transistor inside the subcircuit named M0.

    To do this, I create a file saveop.scs with the content as below:

    save I0.M0:all

    Then I refer to that file from Model Libraries. I run the simulation and after that opened psf file.

    There is a folder "tran" that is empty.

    Also, I tried with IC6.17 version by choosing Outputs->To Be Saved->Save OP Parameters. 

    What should I do after choosing "Save OP Parameters". I clicked on a transistor but nothing happened. Normally with something like this (for example printing operating point) after I clicked a component there is a table with operating point parameters appears. 

    But I this case, I clicked a component and it just is something like I "select' the transistor.

    I also tried to continue to run the simulation but the "tran" folder still shows nothing at all.

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

    You select the transistor, and then either type in the name of the oppoint parameters you wish to save, or hit the "..." button:

    If you hit the "Get from simulation" button, it will run a short sim and extract the available parameter names and populate the list to pick from. Because you're setting this up before simulation, it doesn't yet know what the available parameters are.

    This inserts the following line in the netlist:

    save I0.I0.PM0:gm I0.I0.PM0:vdsat 

    (I had selected gm and vdsat). 

    These results appear in the results browser in the appropriate place in the hierarchy. You can also use the "plot" checkbox on the ADE form to get them to be plotted automatically, or you can use the ot button in the calculator to retrieve the results. Or you can use the results browser.

    If they're not in the "tran" output, and the tran "folder" is empty (which seems strange to me), then maybe you have some strange settings on the Outputs->Save All form, but I can't see how you'd do that either!

    The spectre output log should record some information about the number of things saved too - so maybe you need to look at that too.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BaaB
    BaaB over 9 years ago
    Thank you, it took me a while to find the "..." button! I will try it tomorrow.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BaaB
    BaaB over 9 years ago

    Hi,

    The method uses Outputs->To Be Saved->Save OP Parameters works but how about if I want to save more parameters of a component at the same time (for example, ron, rout,...) or save all operating point parameters?

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

    Unknown said:
    how about if I want to save more parameters of a component at the same time (for example, ron, rout,...) or save all operating point parameters?

    Seriously? You didn't think of trying to select multiple operating point parameter names from the list in the form? If you do this, you'll get a space-separated list of names (e.g. "ron rout"). You can also type in "oppoint" or "all" but maybe that's not quite so obvious.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • BaaB
    BaaB over 9 years ago

    Well, thank you.

    I didn't think that was possible! I just choose one parameter. I think I need to read some tutorial relating to the new version.

    • 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