-- File: [Cherry]Documentation>CMos2.0u25RingOsc.thy -- simulation of Paul Martin's CMOS III ring oscillator -- Last edited: -- SChen, June 11, 1983 8:11 PM -- McCreight, March 17, 1983 1:44 PM library[mosmodels]; library[stdfunctions]; circuit[Lambda_ 1.0, Temp_ 25]= { ! ThymeBasics.thy ! CMos2.0u25.thy Vdd: node; powerSupply: voltage[Vdd, Gnd]= 5.0; Stage: circuit[i, o]= { PD: NETran[i, Gnd, o, Gnd| l_ 2.5, w_ 16, as_ 240, ad_ 240, ps_ 46, pd_ 46]; PU: PETran[i, Vdd, o, Vdd| l_ 2.5, w_ 40, as_ 600, ad_ 600, ps_ 70, pd_ 70]; }; s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18, s19, out: node; stg1: Stage[s1, s2]; stg2: Stage[s2, s3]; stg3: Stage[s3, s4]; stg4: Stage[s4, s5]; stg5: Stage[s5, s6]; stg6: Stage[s6, s7]; stg7: Stage[s7, s8]; stg8: Stage[s8, s9]; stg9: Stage[s9, s10]; stg10: Stage[s10, s11]; stg11: Stage[s11, s12]; stg12: Stage[s12, s13]; stg13: Stage[s13, s14]; stg14: Stage[s14, s15]; stg15: Stage[s15, s16]; stg16: Stage[s16, s17]; stg17: Stage[s17, s18]; stg18: Stage[s18, s19]; stg19: Stage[s19, s1]; stgOut: Stage[s19, out]; }; plot["CMOS III ring oscillator simulation of June 11, 1983 5:43 PM", :1ns, -1, 6, out]; ic[Vdd _ 5.0, s1 _ 5.0, s3 _ 5.0, s5 _ 5.0, s7 _ 5.0, s9 _ 5.0, s11 _ 5.0, s13 _ 5.0, s15 _ 5.0, s17 _ 5.0, s19 _ 5.0]; run[tMax _ 50ns, maxIter _ 1000]; dump