CIRCUIT[Lambda ← 1, Temp ← 25] = {
Input, n1, n2, out, Vdd, VGnd: node;
! ThymeBasics
! CMOS2.0u25C
powerSupply: voltage[Vdd, Gnd] = 5.0;
VGndSupply: voltage[VGnd, Gnd] = 0.0;
Inverter: circuit[Gnd, Vdd, Input, Output |
WN ← 4,
WP ← 4,
LN ← 2,
LP ← 2] = {
PU: CTran[Input, Vdd, Output| W←WP, L ← LP];
PD: ETran[Input, Gnd, Output| W←WN, L ← LN];
};
?: capacitor[out, VGnd] = 2pF; -- an internal bus
?: capacitor[VGnd, Gnd] = 2pF; -- gnd bus
?: resistor[VGnd, Gnd] = 2.5; -- gnd bus: 6mm by 0.1mm
pass: ETran[Vdd, n1, Input| W𡤄];
inputInv: Inverter[VGnd, Vdd, n1, n2 | WN ← 32, WP ← 6];
feedBack: Inverter[VGnd, Vdd, n2, n1 | WN ← 2, LN ← 6, WP ← 3];
busDriver: Inverter[VGnd, Vdd, n2, out | WN ← 16, WP ← 32];
busDriver: Inverter[VGnd, Vdd, n2, out | WN ← 16, WP ← 32];
entry: RectWave[Input | period ← 40ns, width ← 20ns, tRise ← 5ns, tFall ← 5ns, tDelay ← 10ns];
};