The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> oppoint gm, gds etc in transient ocean analysis
https://designers-guide.org/forum/YaBB.pl?num=1270663259

Message started by makelo on Apr 7th, 2010, 11:00am

Title: oppoint gm, gds etc in transient ocean analysis
Post by makelo on Apr 7th, 2010, 11:00am

I am trying to do a circuit simulation to report operating point conditions (gm, gds, vth, etc) after the circuit has started up and run for a few 100ns.

I need to report the results in Ocean for further analysis.  I can get at some of the information with infotimes in transient analysis followed by numerous mouse clicks in the results browser, but this process is not easily repeatable.  I need the results in Ocean so that they are repeatable.

I looked through a few other threads but I didn't see how to get gm, gds etc.:
http://www.designers-guide.org/Forum/YaBB.pl?num=1225386917

Here is my analysis code that I am currently using:

Code:
analysis('tran ?stop "500n"  ?errpreset "conservative"  ?infotimes list("300n")  )
analysis('dc ?saveOppoint t ?save "all"  )

envOption(
     'analysisOrder  list("tran" "dc")
)


The 'analsysOrder command works, but the dc anal is unrelated to the transient anal.


Title: Re: oppoint gm, gds etc in transient ocean analysis
Post by makelo on Apr 7th, 2010, 12:38pm

After further experimenting with my Ocean code I found that adding the ?restart "no" command to the dc analysis statement combined with the 'analysisiOrder command gets the dc analysis to occur after the transient analysis.  But I am still unsure about getting out the OpPoint values.


Code:
analysis('dc ?saveOppoint t  ?save "all"  ?restart "no"  )
analysis('tran ?stop "500n"  ?errpreset "conservative"  ?infotimes list("300n")  )
envOption(      'analysisOrder  list("tran" "dc") )

N1gm = v("N1:gm" ?result "dcOp-dc")
N1gds = v("N1:gds" ?result "dcOp-dc")


Using the v() command gives a value that looks plausible, but I think this means, 'find the voltage of N1:gm' which is confusing.  Is there a better way to do this?

An alternate way at the data is:

Code:
N1gm = pv("N1" "gm" ?result "finalTimeOP-info")
N1gds = pv("N1" "gds" ?result "finalTimeOP-info")


Is this better?

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.