Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to get specific transistor parameter using ocean

Status
Not open for further replies.

phanikiran

Junior Member level 2
Joined
Feb 4, 2016
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
170
Hi,

I want to see all the transistors "gm" parameter in my circuit in dc operating condition. In ocean script i find out that a command called pv( "/transistor number" "parameter" ).

will it work to get specific parameter or any other command is therer to get specific and required parameter in ocean?
 

Create a file with .scs extension containing "save *:eek:ppoint" and include it in Model libraries.
 

The following script will output gm accurate up to 5 digit after decimal point. I didn't use %f because the accuracy will get truncated. Also note that the unit output is in mS (/1E-3).

Put it in a file called gm.ocn

out = outfile("gm.txt" "w")
fprintf(out "%.5f\n" OP("/M0" "gm")/1E-3)
fprintf(out "%.5f\n" OP("/M1" "gm")/1E-3)
fprintf(out "%.5f\n" OP("/M2" "gm")/1E-3)
fprintf(out "%.5f\n" OP("/M3" "gm")/1E-3)
close(out)

Load this in CIW using:
load("gm.ocn")
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top