-- File: [Cherry]<Thyme>Documentation>CMos2.0u25Inv.thy
-- Last edited by SChen, June 11, 1983  6:25 PM

library[mosmodels];
library[stdfunctions];

circuit[Lambda← 2, Temp← 25]= {

!ThymeBasics.thy
!Cmos2.0u25.thy

in, out, Vdd: node;
powerSupply: voltage[Vdd, Gnd]= 5.0;

?:capacitor[out, Gnd]= 0.001pF;
?:PETran[in, Vdd, out, Vdd| 
  l← 2, w← 4, as← 60, ad← 60, ps← 34, pd← 34]; 
?:NETran[in, Gnd, out, Gnd| 
  l← 4, w← 2, as← 30, ad← 30, ps← 32, pd← 32];
?:RectWave[in| 
  period← 30ns, width← 16ns, tRise← 1ns, tFall← 1ns, tDelay← 14ns];
};

plot["Cmos Inverter (2 microns, 25 C)", :0.5ns, -1, 6, in, out];
run[tMax← 100ns];