* Inverter HomeWork 1 & Lab 1 * *=========================================== * Include Model (need MOS transistor model) *=========================================== * .include "v13j-params.bsim3v3" * *=========================================== * The Circuit Net List (Inverter) *=========================================== * * D G S B Model Geometry * M1 Vout Vin Vdd Vdd CMOSP W=6 L=2 M2 Vout Vin 0 0 CMOSN W=4 L=2 CL Vout 0 100fF * *=========================================== * Power & Control *=========================================== * Vdd Vdd 0 5V Vin Vin 0 pulse(0 5 0 10p 10p 10n 20n) .option scale=0.3u probe POST=1 * *=========================================== * Analysis Commands *=========================================== * .op .nodeset V(Vin)=2.35V .dc Vin 0V 5V .01V .tran .1n 30n * *=========================================== * Analysis Results *=========================================== * .probe dc V(Vout) V(Vin) I(M2) .probe tran V(Vout) V(Vin) .end