* SPICE netlist
V1 N001 0 1
M2 N003 osc N001 N001 P_50n l=50n w=1u
M1 N003 osc 0 0 N_50n l=50n w=500n
M3 N005 N004 N001 N001 P_50n l=50n w=1u
M4 N005 N004 0 0 N_50n l=50n w=500n
M5 N004 N003 N001 N001 P_50n l=50n w=1u
M6 N004 N003 0 0 N_50n l=50n w=500n
C1 N003 0 10p
C2 N004 0 10p
C3 N005 0 10p
M7 N006 osc N001 N001 P_50n l=50n w=1u
M8 N006 osc 0 0 N_50n l=50n w=500n
R1 N006 0 1k
M9 N002 N005 N001 N001 P_50n l=50n w=1u
M10 N002 N005 0 0 N_50n l=50n w=500n
C4 N002 0 10p
M11 osc N002 N001 N001 P_50n l=50n w=1u
M12 osc N002 0 0 N_50n l=50n w=500n
C5 osc 0 10p
.include "C:\Users\Dinneth Perera\Desktop\sem 5\ACD\Simulations\Ring Oscillator\MOSFET_models.txt"
.tran 0.5u
.ic v(osc)=1

* LTspice schematic (.asc)
Version 4
SHEET 1 2208 480
WIRE -800 -240 -1104 -240
WIRE -512 -240 -800 -240
WIRE -224 -240 -512 -240
WIRE 112 -240 -224 -240
WIRE 448 -240 112 -240
WIRE 928 -240 448 -240
WIRE 448 -208 448 -240
WIRE 528 -208 448 -208
WIRE -800 -192 -800 -240
WIRE -720 -192 -800 -192
WIRE -512 -192 -512 -240
WIRE -432 -192 -512 -192
WIRE -224 -192 -224 -240
WIRE -144 -192 -224 -192
WIRE 112 -192 112 -240
WIRE 192 -192 112 -192
WIRE 928 -192 928 -240
WIRE 1008 -192 928 -192
WIRE 448 -176 448 -208
WIRE -1104 -160 -1104 -240
WIRE -800 -160 -800 -192
WIRE -512 -160 -512 -192
WIRE -224 -160 -224 -192
WIRE 112 -160 112 -192
WIRE 400 -160 336 -160
WIRE 928 -160 928 -192
WIRE -848 -144 -912 -144
WIRE -560 -144 -624 -144
WIRE -272 -144 -336 -144
WIRE 64 -144 0 -144
WIRE 880 -144 816 -144
WIRE 528 -128 528 -208
WIRE 528 -128 448 -128
WIRE -720 -112 -720 -192
WIRE -720 -112 -800 -112
WIRE -432 -112 -432 -192
WIRE -432 -112 -512 -112
WIRE -144 -112 -144 -192
WIRE -144 -112 -224 -112
WIRE 192 -112 192 -192
WIRE 192 -112 112 -112
WIRE 1008 -112 1008 -192
WIRE 1008 -112 928 -112
WIRE 448 -48 448 -80
WIRE 608 -48 448 -48
WIRE 752 -48 608 -48
WIRE 816 -48 816 -144
WIRE 816 -48 752 -48
WIRE -912 -32 -912 -144
WIRE -912 -32 -960 -32
WIRE -800 -32 -800 -64
WIRE -688 -32 -800 -32
WIRE -624 -32 -624 -144
WIRE -624 -32 -688 -32
WIRE -512 -32 -512 -64
WIRE -384 -32 -512 -32
WIRE -336 -32 -336 -144
WIRE -336 -32 -384 -32
WIRE -224 -32 -224 -64
WIRE -64 -32 -224 -32
WIRE 0 -32 0 -144
WIRE 0 -32 -64 -32
WIRE 112 -32 112 -64
WIRE 272 -32 112 -32
WIRE 336 -32 336 -160
WIRE 336 -32 272 -32
WIRE 928 -32 928 -64
WIRE 1104 -32 928 -32
WIRE -1104 -16 -1104 -80
WIRE 448 -16 448 -48
WIRE -800 0 -800 -32
WIRE -512 0 -512 -32
WIRE -224 0 -224 -32
WIRE 112 0 112 -32
WIRE 928 0 928 -32
WIRE 608 16 608 -48
WIRE -688 32 -688 -32
WIRE -64 32 -64 -32
WIRE 272 32 272 -32
WIRE 528 32 448 32
WIRE -720 48 -800 48
WIRE -432 48 -512 48
WIRE -384 48 -384 -32
WIRE -144 48 -224 48
WIRE 192 48 112 48
WIRE 1008 48 928 48
WIRE 336 64 336 -32
WIRE 400 64 336 64
WIRE -912 80 -912 -32
WIRE -848 80 -912 80
WIRE -624 80 -624 -32
WIRE -560 80 -624 80
WIRE -336 80 -336 -32
WIRE -272 80 -336 80
WIRE 0 80 0 -32
WIRE 64 80 0 80
WIRE 816 80 816 -48
WIRE 880 80 816 80
WIRE 1104 80 1104 -32
WIRE 448 112 448 80
WIRE 528 112 528 32
WIRE 528 112 448 112
WIRE -800 128 -800 96
WIRE -720 128 -720 48
WIRE -720 128 -800 128
WIRE -512 128 -512 96
WIRE -432 128 -432 48
WIRE -432 128 -512 128
WIRE -224 128 -224 96
WIRE -144 128 -144 48
WIRE -144 128 -224 128
WIRE 112 128 112 96
WIRE 192 128 192 48
WIRE 192 128 112 128
WIRE 928 128 928 96
WIRE 1008 128 1008 48
WIRE 1008 128 928 128
WIRE -688 144 -688 96
WIRE -384 160 -384 112
WIRE 448 160 448 112
WIRE 608 160 608 80
WIRE -800 176 -800 128
WIRE -512 176 -512 128
WIRE -224 176 -224 128
WIRE -64 176 -64 96
WIRE 112 176 112 128
WIRE 272 176 272 96
WIRE 928 176 928 128
WIRE 1104 208 1104 160
WIRE -960 240 -960 -32
WIRE -400 240 -960 240
WIRE 752 240 752 -48
WIRE 752 240 -400 240
FLAG -800 176 0
FLAG -1104 -16 0
FLAG -224 176 0
FLAG -512 176 0
FLAG -400 240 osc
FLAG -688 144 0
FLAG -384 160 0
FLAG -64 176 0
FLAG 928 176 0
FLAG 1104 208 0
FLAG 112 176 0
FLAG 272 176 0
FLAG 448 160 0
FLAG 608 160 0
SYMBOL voltage -1104 -176 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL pmos4 -848 -64 M180
SYMATTR InstName M2
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 -848 0 R0
SYMATTR InstName M1
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL pmos4 -272 -64 M180
SYMATTR InstName M3
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 -272 0 R0
SYMATTR InstName M4
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL pmos4 -560 -64 M180
SYMATTR InstName M5
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 -560 0 R0
SYMATTR InstName M6
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL cap -704 32 R0
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL cap -400 48 R0
SYMATTR InstName C2
SYMATTR Value 10p
SYMBOL cap -80 32 R0
SYMATTR InstName C3
SYMATTR Value 10p
SYMBOL pmos4 880 -64 M180
SYMATTR InstName M7
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 880 0 R0
SYMATTR InstName M8
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL res 1088 64 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL pmos4 64 -64 M180
SYMATTR InstName M9
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 64 0 R0
SYMATTR InstName M10
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL cap 256 32 R0
SYMATTR InstName C4
SYMATTR Value 10p
SYMBOL pmos4 400 -80 M180
SYMATTR InstName M11
SYMATTR Value P_50n
SYMATTR Value2 l=50n w=1u
SYMBOL nmos4 400 -16 R0
SYMATTR InstName M12
SYMATTR Value N_50n
SYMATTR Value2 l=50n w=500n
SYMBOL cap 592 16 R0
SYMATTR InstName C5
SYMATTR Value 10p