*nmos transfer characterstics and output characterstics* ============================================== .model mosn nmos Vto=0.5 w=1.6u l=0.4u Vds 2 0 dc 3v Vgs 1 0 3v Mn1 2 1 0 0 mosn .dc Vgs 0 3.5 .1 Vds 0 3 0.5 *.dc Vds 0 5 0.1 Vgs 0 3 0.5 .control run plot -i(Vds) .endc .end
PMOS:
*Spice Code to Plot pmos characteristics * ================================== .model mosp pmos Vto=-0.5 Vds 2 0 -.1 Vgs 1 0 0 Mn1 2 1 0 0 mosp w=10u l=2u *.dc Vgs 0 -3 -.1 Vds 0 -3 -0.5 .dc Vds 0 -3 -0.1 Vgs 0 -3 -0.5 .control run plot -i(Vds) .endc .end
OUTPUT: PMOS Output Characteristics:
PMOS Transfer Characteristics:
Conclusion: NMOS and PMOS characteristics were studied and the SPICE program for same was