library[mosmodels]; library[stdfunctions]; circuit={ !ThymeBasics.thy !Cmos4.0u25.thy in:node; out:node; Vdd:node; powerSupply: voltage[Vdd, Gnd]= 5.0; ?:capacitor[out,Gnd]=0.05pF; ?:PChan[in,Vdd,out,Vdd]; ?:NChan[in,Gnd,out,Gnd]; ?:OneShot[in|width _ 800ns, tDelay _ 1us, tRise _ 100ns, tFall _ 100ns]; }; plot["Cmos Inverter (4 microns, 25 C)", :50ns, -1, 6, in, out]; run[tMax _ 3us];