Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4898

ocean scripting

$
0
0

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.


Viewing all articles
Browse latest Browse all 4898

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>