• 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. Mixed-Signal Design
  3. Simulating and retrieving MOS currents

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 13000
  • 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

Simulating and retrieving MOS currents

Mike59
Mike59 over 12 years ago

Hello,

Briefly, what I would like to do using Spectre, is a DC sweep of a MOS transistor. This sweep will include the node voltages, plus the gate length and width. Now, I've figured out how to do this using a "sweep paramset" command, like this:

mysweep sweep paramset=allinone {
  mydc dc
}

where the parameter set named "allinone" gets included from another file.

However, I would also like to be able to read the results from one text file, but this command produces a separate file in the raw directory for every dc point. Is there any way to avoid creating the raw directory in the first place, and simply have Spectre output or even print to the console the dc currents of all the dc points, one after another? I have tried to use a print command, but as it's not allowed inside the sweep, it only prints out the results of the last dc point. Writing all the separate dc files also seems to slow down the simulation quite a bit.

BR, Mikael

  • Cancel
  • Isto
    Isto over 12 years ago

    Hi Mikael,

    As we discussed offline, you should use spectremdl. MDL allows to do complex measurements and run them in batch. It also allows automatic deletion of the binary results data  after the simulation is finished leaving only the exported text results.

    BR,

    Isto

     

     

    • 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