-- ThymeForm.thy
-- Thyme input form
-- Last edited by Barth, June 10, 1983 1:09 PM
library[MosModels];
library[StdFunctions];
circuit[Lambda ← 2.0, Temp ← 70] = {
! ThymeBasics.thy
! NMos4.0u75.thy -- put your process file here
Vdd:node;
powerSupply: voltage[Vdd, Gnd]= 4.75; -- put your worst case voltage here
-- Nodes
In, Out:node;
-- Branches and subcircuits
?:capacitor[Out, Gnd] = 0.001pF;
?:DTran[Out, Out, Vdd];
?:ETran[In, Gnd, Out];
-- construct your stimulus from the following primitives
?:RectWave[In|OnLevel← 5V, OffLevel← 0V, period← 50ns, width← 30ns, tRise← 5ns,
tFall← 5ns, tDelay← 0ns];
-- ?:Pulse[In|amplitude← 5V, offset← 0, period← 10ns, width← 5ns, tRise← 2ns,
-- tFall← 2ns, tDelay← 0];
-- ?:OneShot[In|OnLevel← 5V, OffLevel← 0V, width← 10ns, tRise← 2ns, tFall← 2ns,
-- tDelay← 0ns];
-- ?:Step[output|OnLevel← 5V, OffLevel← 0V, tRise← 5ns, tDelay← 0ns];
};
-- your plot and print statements go here
plot["Nmos Inverter of April 5, 1983 12:08 PM", :1ns, -1, 6, In, Out];
run[tMax ← 100ns, maxIter ← 1000];