* NMOS Transistor Simulating in HSPICE * http://www.eecs.tufts.edu/comp/103/labs/lab1.html * ECE450/nmos1.sp * Model Section .MODEL NMODEL NMOS + LEVEL =3 THETA =0.3873 VTO =0.76 UO =515 + GAMMA =0.5 PHI =0.78 TOX =1.5e-08 NSUB =8.623e+16 + XJ =2.5e-07 LD =1e-07 DELTA =0 VMAX =219900 + NFS =1e+10 JS =5e-07 CJ =0.000318 CJSW =3.85e-10 + MJ =0.5 MJSW =0.26 PB =0.75 CGSO =2e-10 + CGDO =2e-10 CGBO =0 KAPPA =0.4624 ETA =0.008652 * The Netlist * transistor_name=M1 connections= drain gate source body Model=NMODEL M1 d g 0 0 NMODEL L=2u w=10u Vds d 0 Vgs g 0 DC 5 *the DC can be implied or stated explicitly * The analysis ** sweep both Vds from 0 to 5 volts in increments of .2, and Vgs from 0 to 5 volts in increments of 1 .DC Vds 0 5 0.2 Vgs 0 5 1 ** Plot the current value through the transistor .plot DC I(M1) ** Need this to make right data for awaves .option POST brief .end