CMOS inverter Transfer Characterisitcs include "./d25.m" simulator lang=spice ** The above line tells spectre that we use the standard SPICE syntax instead ** of Spectre's own syntax VDD 1 0 2.5 ** MOS D G S B type Width Length M1 3 2 1 1 d25P W=1.8U L=0.24U M2 3 2 0 0 d25N W=0.84U L=0.24U ***** For DC analysis only *********** VIN_DC 2 0 0 .DC VIN_DC 0 2.5 0.1 .PLOT DC VIN_DC(2 0) VOUT(3 0) ***** For Transient analysis only **** **VIN_TR 2 0 PWL(0NS 2.5 0.1NS 2.5 0.15NS 0 2NS 0 2.05NS 2.5) **.TRAN 0.05NS 3NS *.PROBE .END