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 simulate pmos i-v curve with hspice ?

Status
Not open for further replies.

mpig09

Full Member level 4
Joined
Aug 26, 2005
Messages
232
Helped
8
Reputation
16
Reaction score
2
Trophy points
1,298
Location
Taipei
Activity points
2,810
pmos iv curve

Dear all :

I want to analysis pmos, can any help me how to use hspice
to plot pmos i-v curve ?


mpig
 

iv curve in spice

Hi
if your purpose of V is Vds,
you can connect bulk and source terminals together, then connect a voltage source (e.g. by VDD volts) to drain terminal, also set gate-source junction to a bias voltage (e.g. S to VDD and G to VBias) this determines notig your required ID in deep saturation region (by square-law function);
Now run DC Sweep analysis for the voltage source (connected to drain) e.g. from 0 to VDD and view drain current of PMOS (as function of sweeped voltage, Vds) in Probe!
hope to be useful, if you want click on "help me" button, it doesn't cost you!

Regards,
SAZ
 
pmos curve

Hi
this code draws I-V curve of a simple current source (nmos) you can change it for pmos.
it is for 0.18u technology.
regards

M1 N6 N6 0 0 nch L=20u W=15u m=1
M2 out N6 0 0 nch L=20u W=15u m=1
Iref Vdd N6 10uA
V1 Vdd 0 1.8
Vtest out 0 dc 0.4

.dc Vtest 0.01 1.8 0.01
.print DC Iout=par('-1*I(Vtest)')
.end
 
lv9 hspice

mp d g s b p w=20u l=2u

*********** FORCES *********

vd1 d1 0 dc x
vg2 g2 0 dc 4v
vs2 s2 0 dc 5
vb2 b2 0 dc 5




********* ANALYSIS *********

.op
.tran 1n 10n
.dc x 0 5v .1v


****** VT CURVE********

.print 'VT_P'=LV9(mp)


******IDS_VDS CURVE********

.print 'I_VDS=3'=i(mp)


****** GATE CAPACITACE (CGS+CGD_CGB) ********


.print 'C_TOTAL_N'=LX18(mp)



********* TEMP ***********

.temp 23


********* PROCESS CORNER **********

.prot
.include H:/hspice/models/tntp13_5v
.unprot


********* CONTROL CARDS ***********


.options
+ingold=2
+captab
+post
+absmos=1e-12
+absi=1e-11
+method=gear
+rmin=1e-10
+trtol=10
+imax=10
+opts
+numdgt=6

*********** ALTER ************


************ END ***********

.end
 

pmos iv

Dear all :

I will try the code, if I have any results I will post it.

mpig
 

pmos iv curves

Dear All :

***NMOS IV Curve Hspice Netlist For 0.18um***
M1 VD1 VG1 VSS VSS nmos W=5U L=1U

VVSS VSS 0 0

VD1 VD1 0 0
VG1 VG1 0 0

.DC VD1 0 1.8 0.1 VG1 0 1.8 0.1

.option accurate=1
.options post probe
.options GMINDC=1e-12 GMIN=1e-12 absv=1uV numdgt=10
.option post list
.plot DC I1(M1)

.END

***PNMOS IV Curve Hspice Netlist For 0.18um***
M1 VD1 VG1 VDD018 VDD018 pmos_1p8 W=1.5U L=10U

VVDD018 VDD018 0 1.8

VD1 VD1 0 0
VG1 VG1 0 0

.DC VD1 0 1.8 0.1 VG1 0 1.8 0.1

.option accurate=1
.options post probe
.options GMINDC=1e-12 GMIN=1e-12 absv=1uV numdgt=10
.option post list
.plot DC I1(M1)

.END
*****************************************************
Use awaves to see I1(M1) waveform.
 

pmos i v

u will find this in Allen Hollberg book also.Its simple.U can plot Vds Vs Ids curve.
 

iv curve spice

simply connected dc source between D and S, then sweep Vgs, get Id vs Vgs is what you want
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top