The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 20th, 2024, 10:23pm
Pages: 1
Send Topic Print
oppoint gm, gds etc in transient ocean analysis (Read 2519 times)
makelo
Community Member
***
Offline



Posts: 34
Hillsboro, OR
oppoint gm, gds etc in transient ocean analysis
Apr 07th, 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.

Back to top
 
 
View Profile   IP Logged
makelo
Community Member
***
Offline



Posts: 34
Hillsboro, OR
Re: oppoint gm, gds etc in transient ocean analysis
Reply #1 - 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?
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.