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.

what kinds of setup can display the mosfet' current

Status
Not open for further replies.

chibijia

Member level 2
Joined
Jan 16, 2008
Messages
43
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,519
kinds of setup

this is my design of a two stage op,and i want to simulate the icmr of it
my netlist
.options post=2 list
vin+ 1 0 dc 1.44 ac 1.0
vdd 4 0 dc 3.3
vss 0 5 dc 0
cl vo 0 10p
x1 1 vo vo 4 5 opamp
.SUBCKT opamp 1 2 6 9 8
m1 4 2 3 3 pch w=6u l=2u
m2 5 1 3 3 pch w=6u l=2u
m3 4 4 8 8 nch w=1u l=2u
m4 5 4 8 8 nch w=1u l=2u
m5 3 7 9 9 pch w=20u l=2u m=4
m6 6 5 8 8 nch w=24u l=2u
m7 6 7 9 9 pch w=23u l=2u m=40
m8 7 7 9 9 pch w=20u l=2u m=4
cc 5 6 3.0p
.lib 'E:\work\hspice\lib\mm0355v.l'tt
ibias 7 8 30u
.ENDS
.op
.dc vin+ 0 3.3 0.1
.print dc v(vo) i(m5)
.end
i have add the command of .print dc v(vo) i(m5)
but in my curve
there isn't any i(m5) in the choice of the result browser.what set can display the i(m5).
and i also find it hard to use the expression builder to build the new function
take a derivative for example,i have got the curve of the vout ,and now i want to got the curve of the dvout/dvin.what set can got that.
help,help!
 

hspice mosfet branch current

Hi,

R u using Hspice?
if S,
then try .probe ix(m5) (x can be 1,2,3,4)
so i1(m5) will print drain current of M5

check ".measure" option

Thanks,
 

meas subckt current hspice mos

thanks for your help!
i have try it again! it really works ,
now i want to got the curve of dvout/dvin,how to use the f(x,y)function to got that.
 

ibias mosfet ads

Hi,

Use derivative function available with waveform viewer, its easy and simple. You can also take continuous derivative for u r signal.

Thanks,
 

    chibijia

    Points: 2
    Helpful Answer Positive Rating
hspice mos current

thanks for your help 1but this works well in circuit with subcircuit such as my circuit!
i have try it many times,but i find it difficult to display the current of m5,
i think maybe m5 is in subcircuit,so it can't display in the awaves,i don't know whether this is correct!
wish your help!!!
 

hspice probe current mos

Hi,

I didn't understand u r Q completely..

If u r trying to plot branch currents(Id, Is...) of MOSFET inside a subckt, then u shld add the hierarchy..

somthing like this .print i1(<instance name>.<element name>)

exp: .probe i1(x1.m5)

the above will print the drain current of m5 which is under subckt which has instance name x1 ( with ref. to netlist u posted earlier)


Thanks,
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top