*.LDD .subckt mosvar G D B .ends mosvar .subckt inverter vdd gnd avC5 vin vout MavD2540_1 vout vin gnd avC5 nfet w=1.2e-06 l=1.8e-07 ad=4.902e-13 as=4.902e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.22807 + nrs=0.22807 par=1 pd=3.14e-06 ps=3.14e-06 psp=0 rf=0 stis=2 wt=1.2e-06 MavD3103_1 vdd vin vout vdd pfet w=1.2e-06 l=1.8e-07 ad=5.938e-13 as=4.902e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.22807 + nrs=0.22807 par=1 pd=3.42e-06 ps=3.14e-06 psp=0 rf=0 wt=1.2e-06 RavD8129_1 gnd avC5 $[subc] a=6.4e-13 l=8e-07 p=3.2e-06 w=8e-07 .ends inverter .subckt bufferx2 vdd gnd Vin Vout avC6 avC7 MavD2540_1 avC5 Vin gnd avC6 nfet w=2.4e-06 l=1.8e-07 ad=1.0062e-12 + as=1.0062e-12 blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 + nrd=0.111111 nrs=0.111111 par=1 pd=5.54e-06 ps=5.54e-06 psp=0 rf=0 stis=2 + wt=2.4e-06 MavD2540_2 Vout avC5 gnd avC6 nfet w=1.2e-06 l=1.8e-07 ad=4.902e-13 + as=4.902e-13 blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 + nrd=0.22807 nrs=0.22807 par=1 pd=3.14e-06 ps=3.14e-06 psp=0 rf=0 stis=2 + wt=1.2e-06 MavD3103_1 vdd Vin avC5 avC7 pfet w=1.2e-06 l=1.8e-07 ad=4.902e-13 as=4.902e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.22807 + nrs=0.22807 par=1 pd=3.14e-06 ps=3.14e-06 psp=0 rf=0 wt=1.2e-06 MavD3103_2 vdd avC5 Vout avC7 pfet w=2.4e-06 l=1.8e-07 ad=1.0062e-12 + as=1.0062e-12 blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 + nrd=0.111111 nrs=0.111111 par=1 pd=5.54e-06 ps=5.54e-06 psp=0 rf=0 wt=2.4e-06 RavD8129_1 gnd avC6 $[subc] a=6.4e-13 l=8e-07 p=3.2e-06 w=8e-07 RavD8129_2 gnd avC6 $[subc] a=6.4e-13 l=8e-07 p=3.2e-06 w=8e-07 .ends bufferx2 .subckt buffer vdd gnd Vin Vout avC6 avC7 MavD2540_1 avC5 Vin gnd avC6 nfet w=1.2e-06 l=1.8e-07 ad=4.902e-13 as=4.902e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.22807 + nrs=0.22807 par=1 pd=3.14e-06 ps=3.14e-06 psp=0 rf=0 stis=2 wt=1.2e-06 MavD2540_2 Vout avC5 gnd avC6 nfet w=6e-07 l=1.8e-07 ad=2.322e-13 as=2.322e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.481481 + nrs=0.481481 par=1 pd=1.94e-06 ps=1.94e-06 psp=0 rf=0 stis=2 wt=6e-07 MavD3103_1 vdd Vin avC5 avC7 pfet w=6e-07 l=1.8e-07 ad=2.322e-13 as=2.322e-13 + blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 nrd=0.481481 + nrs=0.481481 par=1 pd=1.94e-06 ps=1.94e-06 psp=0 rf=0 wt=6e-07 MavD3103_2 vdd avC5 Vout avC7 pfet w=1.2e-06 l=1.8e-07 ad=4.902e-13 + as=4.902e-13 blockParasiticsBetween=PC sub gcon=1 m=1 mSwitch=0 nf=1 + nrd=0.22807 nrs=0.22807 par=1 pd=3.14e-06 ps=3.14e-06 psp=0 rf=0 wt=1.2e-06 RavD8129_1 gnd avC6 $[subc] a=6.4e-13 l=8e-07 p=3.2e-06 w=8e-07 RavD8129_2 gnd avC6 $[subc] a=6.4e-13 l=8e-07 p=3.2e-06 w=8e-07 .ends buffer .subckt 5_ring_oscillator_1 gnd Vcontrol fine_control out vdd XavD7757_1 fine_control avC5 avC6 mosvar blockParasiticsBetween=PC sub gates=1 + l=1.8e-07 m=1 mSwitch=0 w=1e-06 xrep=1 yrep=1 X|I0 Vcontrol gnd avC6 avC5 avC8 inverter X|I1 Vcontrol gnd avC6 avC8 avC9 inverter X|I2 Vcontrol gnd avC6 avC9 avC10 inverter X|I3 Vcontrol gnd avC6 avC10 avC11 inverter X|I4 Vcontrol gnd avC6 avC11 avC5 inverter X|I25 vdd gnd avC12 out avC6 Vcontrol bufferx2 X|I23 vdd gnd avC5 avC12 avC6 Vcontrol buffer .ends 5_ring_oscillator_1