* SPICE netlist written by S-Edit Win32 9.13 * Written on Sep 5, 2009 at 04:24:24 * Waveform probing commands .probe .options probefilename="cmos invert.dat" + probesdbfile="C:\Documents and Settings\Student\Desktop\atul spice\cmos inver\cmos invert.sdb" + probetopmodule="Module0" * Main circuit: Module0 .model nmos nmos .model pmos pmos vdd vdd gnd 5v vin vin gnd PULSE (0 5 0 1n 1n 40n 80n) M1 vout vin Gnd Gnd NMOS L=2u W=22u AD=66p M2 vdd vin vout Vdd PMOS L=2u W=22u AD=66p .tran 1ns 400ns .measure tran delayh2l trig v(vin) val=2.5 .measure tran delayl2h trig v(vin) val=2.5 .power vdd 1ns 400ns .print tran vin vout .end * End of main circuit: Module0
PD=24u AS=66p PS=24u PD=24u AS=66p PS=24u cross=1 targ v(vout) val=2.5 cross=1 cross=2 targ v(vout) val=2.5 cross=2