* NMOS Current Mirror SPICE .cir file * Circuit description in netlist * Commands and library link included * To run on PSPICE 9.2 with EKV model parameters * Friday, March 9, 2001 * Norbert Ulshoefer * Open in PSPICE AD and watch outfile and/or probe window ********************************************* ** Settings ** * Default temperature is 27C * .TEMP 125 * sets the nominal temperature to 105C ********************************************* ** Analysis setup ** * For more details look in the online manuals * .STEP TEMP LIST 0 20 27 50 80 100 *steps through different temperatures .OP * .DC LIN Iin 100uA 100.001uA 0.001uA * .tran 20ns 1000ns .AC DEC 50 1 1700MEG * .MC 500 DC ID(M2) YMAX OUTPUT ALL * .NOISE V(VDS2 0) V_Supply 20 ********************************************* ** Library files ** * include model libraries of models you are using * library file must be in the same directory as .cir file .lib EKVCMOS.lib * also possible: .INC "EKVCMOS.lib" or .include EKVCMOS.lib ********************************************* * Enter your circuit description here * Schematics Netlist * V_Supply Vdd 0 3.3V V_VDS2 VDS2 0 DC 0.9V Iin Vdd VGS DC 100uA AC 1uA M1 VGS VGS 0 0 NMOS L=1um W=16um M=2 AD=14.4p AS=12p PD=9.8u PS=19u M2 VDS2 VGS 0 0 NMOS L=1um W=16um M=4 AD=14.4p AS=12p PD=9.8u PS=19u ********** end of circuit description * Call the probe to get your results displayed * for DC, AC, transient..... analysis .probe * end of simulation .END