• 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. ocean scripting

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 12728
  • 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

ocean scripting

AmeliAmeli
AmeliAmeli over 8 years ago

Hi everyone,

If I want to send to a file data from a particular mosfet parameter, say the mosfet current id, I can do: ocnPrint(?output "<path>/<filename.dat>" getData("M0:id"))

Now, what if I want to send the data resulted from an expression? For example:

gm\/gds   = (getData("M0:gm" ?result "dc") / getData("M0:gds" ?result "dc"))


plot(gm\/gds ?expr '( "gm/gds" ))

Should I put (getData("M0:gm" ?result "dc") / getData("M0:gds" ?result "dc")) in the field where I have  getData("M0:id") or it has to be in another way?

In addition to this, I have another question. If I use the parametric analysis to sweep any transistor parameter, say L, when saving to the file one on single data, like id, everything is ok. However, if I run the same analysis and I ask to save to the file several data the file is a mess. Only shows the swept variable for the first say 3 data leaving the rest unidentified.

I would to ask if there is anyway to get a more tidy file after running the paramAnalysis? In case there isn't, can I use some sort of loop to change the L parameter and save in a different file the data for each L?

Regards.

Thanks in advance.

  • 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