summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620-cache.lib83
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620.cir23
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620.cir.out25
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620.pro71
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620.sch377
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620.sub19
-rw-r--r--library/SubcircuitLibrary/AD_620/AD_620_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/AD_620/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/AD_620/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/AD_620/README.md34
-rw-r--r--library/SubcircuitLibrary/AD_620/analysis1
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741-cache.lib119
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741.cir43
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741.cir.out46
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741.pro44
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741.sch697
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741.sub40
-rw-r--r--library/SubcircuitLibrary/AD_620/lm_741_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/AD_620/npn_1.lib29
-rw-r--r--library/SubcircuitLibrary/AD_620/pnp_1.lib29
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001.cir27
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001.cir.out30
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001.pro71
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001.sch616
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001.sub24
-rw-r--r--library/SubcircuitLibrary/CD4001/CD4001_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD4001/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD4001/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD4001/README.md26
-rw-r--r--library/SubcircuitLibrary/CD4001/analysis1
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate.cir17
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate.cir.out20
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate.pro71
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate.sch250
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate.sub14
-rw-r--r--library/SubcircuitLibrary/CD4028_B/AND_Gate_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B-cache.lib136
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B.cir36
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B.cir.out41
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B.pro71
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B.sch942
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B.sub35
-rw-r--r--library/SubcircuitLibrary/CD4028_B/CD4028_B_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir15
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir.out18
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate.pro71
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate.sch211
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate.sub12
-rw-r--r--library/SubcircuitLibrary/CD4028_B/NOR_Gate_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD4028_B/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD4028_B/README.md27
-rw-r--r--library/SubcircuitLibrary/CD4028_B/analysis1
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069.cir23
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069.cir.out26
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069.pro71
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069.sch463
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069.sub20
-rw-r--r--library/SubcircuitLibrary/CD4069/CD4069_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD4069/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD4069/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD4069/README.md27
-rw-r--r--library/SubcircuitLibrary/CD4069/analysis1
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157.cir75
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157.cir.out78
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157.sch1721
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157.sub72
-rw-r--r--library/SubcircuitLibrary/CD54_157/CD54_157_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_157/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD54_157/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD54_157/README.md21
-rw-r--r--library/SubcircuitLibrary/CD54_157/analysis1
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157.cir75
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157.cir.out78
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157.sch1721
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157.sub72
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_157_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153-cache.lib147
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir35
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir.out39
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sch940
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sub33
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/CD54_HC153_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/README.md21
-rw-r--r--library/SubcircuitLibrary/CD54_HC153/analysis1
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir75
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out78
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch1721
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub72
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib128
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir32
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out36
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch893
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub30
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/README.md21
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000.cir25
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000.cir.out28
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000.sch497
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000.sub22
-rw-r--r--library/SubcircuitLibrary/CD_4000/CD_4000_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4000/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4000/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4000/README.md25
-rw-r--r--library/SubcircuitLibrary/CD_4000/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit.cir95
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit.cir.out98
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit.sch2101
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit.sub92
-rw-r--r--library/SubcircuitLibrary/CD_4008/Adder_2bit_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008-cache.lib66
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008.cir13
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008.cir.out15
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008.sch353
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008.sub9
-rw-r--r--library/SubcircuitLibrary/CD_4008/CD_4008_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4008/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4008/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4008/README.md27
-rw-r--r--library/SubcircuitLibrary/CD_4008/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011.cir27
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011.cir.out30
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011.sch663
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011.sub24
-rw-r--r--library/SubcircuitLibrary/CD_4011/CD_4011_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4011/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4011/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4011/README.md32
-rw-r--r--library/SubcircuitLibrary/CD_4011/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023.cir29
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023.cir.out32
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023.sch606
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023.sub26
-rw-r--r--library/SubcircuitLibrary/CD_4023/CD_4023_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4023/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4023/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4023/README.md26
-rw-r--r--library/SubcircuitLibrary/CD_4023/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070.cir67
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070.cir.out70
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070.sch1532
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070.sub64
-rw-r--r--library/SubcircuitLibrary/CD_4070/CD_4070_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4070/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4070/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4070/README.md26
-rw-r--r--library/SubcircuitLibrary/CD_4070/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071.cir35
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071.cir.out38
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071.sch845
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071.sub32
-rw-r--r--library/SubcircuitLibrary/CD_4071/CD_4071_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4071/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4071/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4071/README.md30
-rw-r--r--library/SubcircuitLibrary/CD_4071/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077.cir59
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077.cir.out62
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077.sch1376
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077.sub56
-rw-r--r--library/SubcircuitLibrary/CD_4077/CD_4077_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4077/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4077/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4077/README.md28
-rw-r--r--library/SubcircuitLibrary/CD_4077/analysis1
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081.cir35
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081.cir.out38
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081.pro71
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081.sch745
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081.sub32
-rw-r--r--library/SubcircuitLibrary/CD_4081/CD_4081_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD_4081/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD_4081/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD_4081/README.md34
-rw-r--r--library/SubcircuitLibrary/CD_4081/analysis1
-rw-r--r--library/SubcircuitLibrary/LM386/D.lib2
-rw-r--r--library/SubcircuitLibrary/LM386/LM386-cache.lib126
-rw-r--r--library/SubcircuitLibrary/LM386/LM386.cir31
-rw-r--r--library/SubcircuitLibrary/LM386/LM386.cir.out35
-rw-r--r--library/SubcircuitLibrary/LM386/LM386.pro71
-rw-r--r--library/SubcircuitLibrary/LM386/LM386.sch476
-rw-r--r--library/SubcircuitLibrary/LM386/LM386.sub29
-rw-r--r--library/SubcircuitLibrary/LM386/LM386_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM386/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM386/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM386/README.md47
-rw-r--r--library/SubcircuitLibrary/LM386/analysis1
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809-cache.lib138
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809.cir51
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809.cir.out60
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809.pro71
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809.sch743
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809.sub54
-rw-r--r--library/SubcircuitLibrary/LM_7809/LM_7809_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM_7809/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM_7809/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM_7809/README.md35
-rw-r--r--library/SubcircuitLibrary/LM_7809/analysis1
-rw-r--r--library/SubcircuitLibrary/LM_7809/desktop.ini4
233 files changed, 28336 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/AD_620/AD_620-cache.lib b/library/SubcircuitLibrary/AD_620/AD_620-cache.lib
new file mode 100644
index 00000000..d1bbdfdd
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620-cache.lib
@@ -0,0 +1,83 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# lm_741
+#
+DEF lm_741 X 0 40 Y Y 1 F N
+F0 "X" -200 0 60 H V C CNN
+F1 "lm_741" -100 -250 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N
+X off_null 1 -50 400 200 D 50 38 1 1 I
+X inv 2 -550 150 200 R 50 38 1 1 I
+X non_inv 3 -550 -100 200 R 50 38 1 1 I
+X v_neg 4 -150 -450 200 U 50 38 1 1 I
+X off_null 5 50 350 200 D 50 38 1 1 I
+X out 6 550 0 200 L 50 38 1 1 O
+X v_pos 7 -150 450 200 D 50 38 1 1 I
+X NC 8 150 -300 200 U 50 38 1 1 N
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/AD_620/AD_620.cir b/library/SubcircuitLibrary/AD_620/AD_620.cir
new file mode 100644
index 00000000..068c956d
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620.cir
@@ -0,0 +1,23 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\AD_620\AD_620.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/13/22 10:13:03
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X1 ? Net-_R31-Pad2_ Net-_U1-Pad3_ Net-_R6-Pad2_ ? Net-_R11-Pad1_ Net-_R5-Pad2_ ? lm_741
+X3 ? Net-_R11-Pad2_ Net-_R12-Pad2_ Net-_R6-Pad2_ ? Net-_R21-Pad2_ Net-_R5-Pad2_ ? lm_741
+X2 ? Net-_R32-Pad1_ Net-_U1-Pad2_ Net-_R6-Pad2_ ? Net-_R12-Pad1_ Net-_R5-Pad2_ ? lm_741
+R11 Net-_R11-Pad1_ Net-_R11-Pad2_ 10k
+R12 Net-_R12-Pad1_ Net-_R12-Pad2_ 10k
+R21 Net-_R11-Pad2_ Net-_R21-Pad2_ 11.11k
+R22 Net-_R12-Pad2_ Net-_R22-Pad2_ 11.11k
+R31 Net-_R11-Pad1_ Net-_R31-Pad2_ 24.7k
+R32 Net-_R32-Pad1_ Net-_R12-Pad1_ 24.7k
+R5 /vcc Net-_R5-Pad2_ 1
+R6 Net-_R6-Pad1_ Net-_R6-Pad2_ 1
+R4 Net-_R4-Pad1_ Net-_R32-Pad1_ 40
+U1 Net-_R31-Pad2_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_R6-Pad1_ Net-_R22-Pad2_ Net-_R21-Pad2_ /vcc Net-_R4-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/AD_620/AD_620.cir.out b/library/SubcircuitLibrary/AD_620/AD_620.cir.out
new file mode 100644
index 00000000..a96f610c
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620.cir.out
@@ -0,0 +1,25 @@
+* c:\fossee\esim\library\subcircuitlibrary\ad_620\ad_620.cir
+
+.include lm_741.sub
+x1 ? net-_r31-pad2_ net-_u1-pad3_ net-_r6-pad2_ ? net-_r11-pad1_ net-_r5-pad2_ ? lm_741
+x3 ? net-_r11-pad2_ net-_r12-pad2_ net-_r6-pad2_ ? net-_r21-pad2_ net-_r5-pad2_ ? lm_741
+x2 ? net-_r32-pad1_ net-_u1-pad2_ net-_r6-pad2_ ? net-_r12-pad1_ net-_r5-pad2_ ? lm_741
+r11 net-_r11-pad1_ net-_r11-pad2_ 10k
+r12 net-_r12-pad1_ net-_r12-pad2_ 10k
+r21 net-_r11-pad2_ net-_r21-pad2_ 11.11k
+r22 net-_r12-pad2_ net-_r22-pad2_ 11.11k
+r31 net-_r11-pad1_ net-_r31-pad2_ 24.7k
+r32 net-_r32-pad1_ net-_r12-pad1_ 24.7k
+r5 /vcc net-_r5-pad2_ 1
+r6 net-_r6-pad1_ net-_r6-pad2_ 1
+r4 net-_r4-pad1_ net-_r32-pad1_ 40
+* u1 net-_r31-pad2_ net-_u1-pad2_ net-_u1-pad3_ net-_r6-pad1_ net-_r22-pad2_ net-_r21-pad2_ /vcc net-_r4-pad1_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/AD_620/AD_620.pro b/library/SubcircuitLibrary/AD_620/AD_620.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/AD_620/AD_620.sch b/library/SubcircuitLibrary/AD_620/AD_620.sch
new file mode 100644
index 00000000..11154276
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620.sch
@@ -0,0 +1,377 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:AD_620-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L lm_741 X1
+U 1 1 62A60F4C
+P 5600 3650
+F 0 "X1" H 5400 3650 60 0000 C CNN
+F 1 "lm_741" H 5500 3400 60 0000 C CNN
+F 2 "" H 5600 3650 60 0000 C CNN
+F 3 "" H 5600 3650 60 0000 C CNN
+ 1 5600 3650
+ 1 0 0 1
+$EndComp
+$Comp
+L lm_741 X3
+U 1 1 62A60F4D
+P 8250 4800
+F 0 "X3" H 8050 4800 60 0000 C CNN
+F 1 "lm_741" H 8150 4550 60 0000 C CNN
+F 2 "" H 8250 4800 60 0000 C CNN
+F 3 "" H 8250 4800 60 0000 C CNN
+ 1 8250 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L lm_741 X2
+U 1 1 62A60F4E
+P 5600 5700
+F 0 "X2" H 5400 5700 60 0000 C CNN
+F 1 "lm_741" H 5500 5450 60 0000 C CNN
+F 2 "" H 5600 5700 60 0000 C CNN
+F 3 "" H 5600 5700 60 0000 C CNN
+ 1 5600 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 62A60F4F
+P 7100 4700
+F 0 "R11" H 7150 4830 50 0000 C CNN
+F 1 "10k" H 7150 4650 50 0000 C CNN
+F 2 "" H 7150 4680 30 0000 C CNN
+F 3 "" V 7150 4750 30 0000 C CNN
+ 1 7100 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 62A60F50
+P 7100 4950
+F 0 "R12" H 7150 5080 50 0000 C CNN
+F 1 "10k" H 7150 4900 50 0000 C CNN
+F 2 "" H 7150 4930 30 0000 C CNN
+F 3 "" V 7150 5000 30 0000 C CNN
+ 1 7100 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 62A60F51
+P 8350 4050
+F 0 "R21" H 8400 4180 50 0000 C CNN
+F 1 "11.11k" H 8400 4000 50 0000 C CNN
+F 2 "" H 8400 4030 30 0000 C CNN
+F 3 "" V 8400 4100 30 0000 C CNN
+ 1 8350 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 62A60F52
+P 7600 5750
+F 0 "R22" H 7650 5880 50 0000 C CNN
+F 1 "11.11k" H 7650 5700 50 0000 C CNN
+F 2 "" H 7650 5730 30 0000 C CNN
+F 3 "" V 7650 5800 30 0000 C CNN
+ 1 7600 5750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R31
+U 1 1 62A60F53
+P 6250 4150
+F 0 "R31" H 6300 4280 50 0000 C CNN
+F 1 "24.7k" H 6300 4100 50 0000 C CNN
+F 2 "" H 6300 4130 30 0000 C CNN
+F 3 "" V 6300 4200 30 0000 C CNN
+ 1 6250 4150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R32
+U 1 1 62A60F55
+P 6250 5300
+F 0 "R32" H 6300 5430 50 0000 C CNN
+F 1 "24.7k" H 6300 5250 50 0000 C CNN
+F 2 "" H 6300 5280 30 0000 C CNN
+F 3 "" V 6300 5350 30 0000 C CNN
+ 1 6250 5300
+ 0 1 1 0
+$EndComp
+Text Label 7300 3400 0 60 ~ 0
+vcc
+$Comp
+L resistor R5
+U 1 1 62A60F69
+P 7250 3800
+F 0 "R5" H 7300 3930 50 0000 C CNN
+F 1 "1" H 7300 3750 50 0000 C CNN
+F 2 "" H 7300 3780 30 0000 C CNN
+F 3 "" V 7300 3850 30 0000 C CNN
+ 1 7250 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 62A60F6A
+P 6800 2750
+F 0 "R6" H 6850 2880 50 0000 C CNN
+F 1 "1" H 6850 2700 50 0000 C CNN
+F 2 "" H 6850 2730 30 0000 C CNN
+F 3 "" V 6850 2800 30 0000 C CNN
+ 1 6800 2750
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 62A60F6B
+P 6250 4900
+F 0 "R4" H 6300 5030 50 0000 C CNN
+F 1 "40" H 6300 4850 50 0000 C CNN
+F 2 "" H 6300 4880 30 0000 C CNN
+F 3 "" V 6300 4950 30 0000 C CNN
+ 1 6250 4900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6150 3650 6150 4050
+Wire Wire Line
+ 6150 4050 6800 4050
+Wire Wire Line
+ 6800 4050 6800 4650
+Wire Wire Line
+ 6800 4650 7000 4650
+Connection ~ 6300 4050
+Wire Wire Line
+ 7300 4650 7700 4650
+Wire Wire Line
+ 7300 4900 7700 4900
+Wire Wire Line
+ 7650 5650 7650 4900
+Connection ~ 7650 4900
+Wire Wire Line
+ 8250 4000 7600 4000
+Wire Wire Line
+ 7600 4000 7600 4650
+Connection ~ 7600 4650
+Wire Wire Line
+ 8800 4800 9400 4800
+Wire Wire Line
+ 8550 4000 9050 4000
+Wire Wire Line
+ 9050 4000 9050 4800
+Connection ~ 9050 4800
+Wire Wire Line
+ 5050 3550 3800 3550
+Wire Wire Line
+ 5450 4100 5450 5250
+Wire Wire Line
+ 5450 4350 8100 4350
+Wire Wire Line
+ 4800 3200 5450 3200
+Wire Wire Line
+ 4800 3200 4800 6150
+Wire Wire Line
+ 4800 6150 7200 6150
+Wire Wire Line
+ 8100 5250 7200 5250
+Wire Wire Line
+ 7200 5250 7200 6150
+Connection ~ 5450 6150
+Wire Wire Line
+ 7650 5950 7650 6250
+Wire Wire Line
+ 4900 3200 4900 2800
+Wire Wire Line
+ 4900 2800 6600 2800
+Connection ~ 4900 3200
+Wire Wire Line
+ 7750 3200 7300 3200
+Wire Wire Line
+ 7300 3200 7300 3700
+Wire Wire Line
+ 7300 4000 7300 4350
+Wire Wire Line
+ 6300 4350 6300 4500
+Wire Wire Line
+ 6300 4700 6300 4800
+Wire Wire Line
+ 6300 5100 6300 5200
+Wire Wire Line
+ 6300 5500 6300 5700
+Wire Wire Line
+ 6150 5700 6800 5700
+Wire Wire Line
+ 6800 5700 6800 4900
+Wire Wire Line
+ 6800 4900 7000 4900
+Connection ~ 6300 5700
+Wire Wire Line
+ 5050 3800 5050 4400
+Wire Wire Line
+ 5050 4400 6300 4400
+Wire Wire Line
+ 5050 5550 5050 5200
+Wire Wire Line
+ 5050 5200 6300 5200
+Connection ~ 5450 4350
+Connection ~ 7300 4350
+Wire Wire Line
+ 5050 5800 3800 5800
+Wire Wire Line
+ 6900 2800 7350 2800
+Wire Wire Line
+ 6300 4500 3850 4500
+Connection ~ 6300 4400
+Wire Wire Line
+ 6300 4700 3850 4700
+Wire Wire Line
+ 7650 6250 8850 6250
+$Comp
+L PORT U1
+U 1 1 62A61C9F
+P 3600 4500
+F 0 "U1" H 3650 4600 30 0000 C CNN
+F 1 "PORT" H 3600 4500 30 0000 C CNN
+F 2 "" H 3600 4500 60 0000 C CNN
+F 3 "" H 3600 4500 60 0000 C CNN
+ 1 3600 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62A61D59
+P 3550 5800
+F 0 "U1" H 3600 5900 30 0000 C CNN
+F 1 "PORT" H 3550 5800 30 0000 C CNN
+F 2 "" H 3550 5800 60 0000 C CNN
+F 3 "" H 3550 5800 60 0000 C CNN
+ 2 3550 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62A61E36
+P 3550 3550
+F 0 "U1" H 3600 3650 30 0000 C CNN
+F 1 "PORT" H 3550 3550 30 0000 C CNN
+F 2 "" H 3550 3550 60 0000 C CNN
+F 3 "" H 3550 3550 60 0000 C CNN
+ 3 3550 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62A61EFF
+P 7600 2800
+F 0 "U1" H 7650 2900 30 0000 C CNN
+F 1 "PORT" H 7600 2800 30 0000 C CNN
+F 2 "" H 7600 2800 60 0000 C CNN
+F 3 "" H 7600 2800 60 0000 C CNN
+ 4 7600 2800
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62A61FDE
+P 9100 6250
+F 0 "U1" H 9150 6350 30 0000 C CNN
+F 1 "PORT" H 9100 6250 30 0000 C CNN
+F 2 "" H 9100 6250 60 0000 C CNN
+F 3 "" H 9100 6250 60 0000 C CNN
+ 5 9100 6250
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62A62529
+P 9650 4800
+F 0 "U1" H 9700 4900 30 0000 C CNN
+F 1 "PORT" H 9650 4800 30 0000 C CNN
+F 2 "" H 9650 4800 60 0000 C CNN
+F 3 "" H 9650 4800 60 0000 C CNN
+ 6 9650 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62A625D2
+P 8000 3200
+F 0 "U1" H 8050 3300 30 0000 C CNN
+F 1 "PORT" H 8000 3200 30 0000 C CNN
+F 2 "" H 8000 3200 60 0000 C CNN
+F 3 "" H 8000 3200 60 0000 C CNN
+ 7 8000 3200
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62A62687
+P 3600 4700
+F 0 "U1" H 3650 4800 30 0000 C CNN
+F 1 "PORT" H 3600 4700 30 0000 C CNN
+F 2 "" H 3600 4700 60 0000 C CNN
+F 3 "" H 3600 4700 60 0000 C CNN
+ 8 3600 4700
+ 1 0 0 -1
+$EndComp
+NoConn ~ 5550 4050
+NoConn ~ 5650 4000
+NoConn ~ 5650 5350
+NoConn ~ 5550 5300
+NoConn ~ 8300 4450
+NoConn ~ 8200 4400
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/AD_620/AD_620.sub b/library/SubcircuitLibrary/AD_620/AD_620.sub
new file mode 100644
index 00000000..d4ba9832
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620.sub
@@ -0,0 +1,19 @@
+* Subcircuit AD_620
+.subckt AD_620 net-_r31-pad2_ net-_u1-pad2_ net-_u1-pad3_ net-_r6-pad1_ net-_r22-pad2_ net-_r21-pad2_ /vcc net-_r4-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\ad_620\ad_620.cir
+.include lm_741.sub
+x1 ? net-_r31-pad2_ net-_u1-pad3_ net-_r6-pad2_ ? net-_r11-pad1_ net-_r5-pad2_ ? lm_741
+x3 ? net-_r11-pad2_ net-_r12-pad2_ net-_r6-pad2_ ? net-_r21-pad2_ net-_r5-pad2_ ? lm_741
+x2 ? net-_r32-pad1_ net-_u1-pad2_ net-_r6-pad2_ ? net-_r12-pad1_ net-_r5-pad2_ ? lm_741
+r11 net-_r11-pad1_ net-_r11-pad2_ 10k
+r12 net-_r12-pad1_ net-_r12-pad2_ 10k
+r21 net-_r11-pad2_ net-_r21-pad2_ 11.11k
+r22 net-_r12-pad2_ net-_r22-pad2_ 11.11k
+r31 net-_r11-pad1_ net-_r31-pad2_ 24.7k
+r32 net-_r32-pad1_ net-_r12-pad1_ 24.7k
+r5 /vcc net-_r5-pad2_ 1
+r6 net-_r6-pad1_ net-_r6-pad2_ 1
+r4 net-_r4-pad1_ net-_r32-pad1_ 40
+* Control Statements
+
+.ends AD_620 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/AD_620_Previous_Values.xml b/library/SubcircuitLibrary/AD_620/AD_620_Previous_Values.xml
new file mode 100644
index 00000000..f5f997ef
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/AD_620_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel /><subcircuit><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741</field></x1><x3><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741</field></x3><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741</field></x2></subcircuit><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/NPN.lib b/library/SubcircuitLibrary/AD_620/NPN.lib
new file mode 100644
index 00000000..6509fe7a
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p
++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/AD_620/PNP.lib b/library/SubcircuitLibrary/AD_620/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/AD_620/README.md b/library/SubcircuitLibrary/AD_620/README.md
new file mode 100644
index 00000000..605204e3
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/README.md
@@ -0,0 +1,34 @@
+
+# AD620 Amplifier
+
+AD620 is 8-pin IC. It is a low cost, high accuracy instrumentation amplifier that requires only one external resistor to set gains of. 1 to 10,000.
+
+
+## Usage/Examples
+
+Blood Pressure Monitor
+
+Medical ECG
+
+Weigh Scales
+
+Data Acquisition Equipment
+
+Process Controls in Industry
+
+Battery operated and portable Devices
+
+## Documentation
+
+To know the details of AD620 IC please go through with the documentation : [AD620_datasheet](https://www.analog.com/media/en/technical-documentation/data-sheets/ad620.pdf)
+
+## Comments/Notes
+
+Please note this is a complete analog IC. Here this amplifier IC works fine for lower gains. But for getting higher gains like 500, 1000 there may be mismacthed with external resistance value.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/analysis b/library/SubcircuitLibrary/AD_620/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/lm_741-cache.lib b/library/SubcircuitLibrary/AD_620/lm_741-cache.lib
new file mode 100644
index 00000000..04e3fecd
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741-cache.lib
@@ -0,0 +1,119 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 C
+X B 2 -200 0 225 R 50 50 1 1 I
+X E 3 100 -200 100 U 50 50 1 1 E
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 C
+X B 2 -200 0 225 R 50 50 1 1 I
+X E 3 100 -200 100 U 50 50 1 1 E
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/AD_620/lm_741.cir b/library/SubcircuitLibrary/AD_620/lm_741.cir
new file mode 100644
index 00000000..4a5917ea
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741.cir
@@ -0,0 +1,43 @@
+* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP
+Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN
+Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN
+R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k
+R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k
+R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN
+Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN
+R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k
+R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k
+R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p
+Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN
+Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k
+R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50
+Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN
+Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN
+Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN
+R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25
+R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50
+Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP
+U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT
+
+.end
diff --git a/library/SubcircuitLibrary/AD_620/lm_741.cir.out b/library/SubcircuitLibrary/AD_620/lm_741.cir.out
new file mode 100644
index 00000000..a00bd86a
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741.cir.out
@@ -0,0 +1,46 @@
+* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir
+
+.include npn_1.lib
+.include pnp_1.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1
+q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1
+q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1
+q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1
+q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1
+q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1
+r1 net-_q7-pad3_ net-_q12-pad3_ 1k
+r2 net-_q3-pad3_ net-_q12-pad3_ 50k
+r3 net-_q8-pad3_ net-_q12-pad3_ 1k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1
+q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1
+r4 net-_q13-pad3_ net-_q12-pad3_ 5k
+r11 net-_q10-pad1_ net-_q12-pad1_ 39k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1
+r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k
+r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1
+q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1
+r5 net-_q15-pad2_ net-_q12-pad3_ 50k
+r6 net-_q15-pad3_ net-_q12-pad3_ 50
+q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1
+q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1
+q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1
+r9 net-_q18-pad3_ net-_q20-pad3_ 25
+r10 net-_q20-pad3_ net-_q19-pad3_ 50
+q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1
+* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/AD_620/lm_741.pro b/library/SubcircuitLibrary/AD_620/lm_741.pro
new file mode 100644
index 00000000..b56de1b0
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741.pro
@@ -0,0 +1,44 @@
+update=Fri Jun 7 21:53:51 2019
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=power
+LibName2=eSim_Analog
+LibName3=eSim_Devices
+LibName4=eSim_Digital
+LibName5=eSim_Hybrid
+LibName6=eSim_Miscellaneous
+LibName7=eSim_Plot
+LibName8=eSim_Power
+LibName9=eSim_User
+LibName10=eSim_Sources
+LibName11=eSim_Subckt
diff --git a/library/SubcircuitLibrary/AD_620/lm_741.sch b/library/SubcircuitLibrary/AD_620/lm_741.sch
new file mode 100644
index 00000000..b017fd2b
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741.sch
@@ -0,0 +1,697 @@
+EESchema Schematic File Version 2
+LIBS:power
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Plot
+LIBS:eSim_Power
+LIBS:eSim_PSpice
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:lm_741-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_NPN Q1
+U 1 1 5CE90A7B
+P 2650 2700
+F 0 "Q1" H 2550 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN
+F 2 "" H 2850 2800 29 0000 C CNN
+F 3 "" H 2650 2700 60 0000 C CNN
+ 1 2650 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 5CE90A7C
+P 4300 2700
+F 0 "Q2" H 4200 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN
+F 2 "" H 4500 2800 29 0000 C CNN
+F 3 "" H 4300 2700 60 0000 C CNN
+ 1 4300 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 5CE90A7D
+P 3000 3200
+F 0 "Q6" H 2900 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN
+F 2 "" H 3200 3300 29 0000 C CNN
+F 3 "" H 3000 3200 60 0000 C CNN
+ 1 3000 3200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 5CE90A7E
+P 3950 3200
+F 0 "Q5" H 3850 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN
+F 2 "" H 4150 3300 29 0000 C CNN
+F 3 "" H 3950 3200 60 0000 C CNN
+ 1 3950 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 5CE90A7F
+P 3300 4000
+F 0 "Q3" H 3200 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN
+F 2 "" H 3500 4100 29 0000 C CNN
+F 3 "" H 3300 4000 60 0000 C CNN
+ 1 3300 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 5CE90A80
+P 3850 2000
+F 0 "Q4" H 3750 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN
+F 2 "" H 4050 2100 29 0000 C CNN
+F 3 "" H 3850 2000 60 0000 C CNN
+ 1 3850 2000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 5CE90A81
+P 5200 2000
+F 0 "Q9" H 5100 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN
+F 2 "" H 5400 2100 29 0000 C CNN
+F 3 "" H 5200 2000 60 0000 C CNN
+ 1 5200 2000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 5CE90A82
+P 3950 4600
+F 0 "Q8" H 3850 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN
+F 2 "" H 4150 4700 29 0000 C CNN
+F 3 "" H 3950 4600 60 0000 C CNN
+ 1 3950 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 5CE90A83
+P 3000 4600
+F 0 "Q7" H 2900 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN
+F 2 "" H 3200 4700 29 0000 C CNN
+F 3 "" H 3000 4600 60 0000 C CNN
+ 1 3000 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R1
+U 1 1 5CE90A84
+P 2850 5200
+F 0 "R1" H 2900 5330 50 0000 C CNN
+F 1 "1k" H 2900 5250 50 0000 C CNN
+F 2 "" H 2900 5180 30 0000 C CNN
+F 3 "" V 2900 5250 30 0000 C CNN
+ 1 2850 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R2
+U 1 1 5CE90A85
+P 3550 5200
+F 0 "R2" H 3600 5330 50 0000 C CNN
+F 1 "50k" H 3600 5250 50 0000 C CNN
+F 2 "" H 3600 5180 30 0000 C CNN
+F 3 "" V 3600 5250 30 0000 C CNN
+ 1 3550 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R3
+U 1 1 5CE90A86
+P 4000 5200
+F 0 "R3" H 4050 5330 50 0000 C CNN
+F 1 "1k" H 4050 5250 50 0000 C CNN
+F 2 "" H 4050 5180 30 0000 C CNN
+F 3 "" V 4050 5250 30 0000 C CNN
+ 1 4000 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 5CE90A87
+P 6300 4700
+F 0 "Q12" H 6200 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN
+F 2 "" H 6500 4800 29 0000 C CNN
+F 3 "" H 6300 4700 60 0000 C CNN
+ 1 6300 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 5CE90A88
+P 5400 4700
+F 0 "Q13" H 5300 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN
+F 2 "" H 5600 4800 29 0000 C CNN
+F 3 "" H 5400 4700 60 0000 C CNN
+ 1 5400 4700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R4
+U 1 1 5CE90A89
+P 5250 5200
+F 0 "R4" H 5300 5330 50 0000 C CNN
+F 1 "5k" H 5300 5250 50 0000 C CNN
+F 2 "" H 5300 5180 30 0000 C CNN
+F 3 "" V 5300 5250 30 0000 C CNN
+ 1 5250 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R11
+U 1 1 5CE90A8A
+P 6350 2750
+F 0 "R11" H 6400 2880 50 0000 C CNN
+F 1 "39k" H 6400 2800 50 0000 C CNN
+F 2 "" H 6400 2730 30 0000 C CNN
+F 3 "" V 6400 2800 30 0000 C CNN
+ 1 6350 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q10
+U 1 1 5CE90A8B
+P 6500 1950
+F 0 "Q10" H 6400 2000 50 0000 R CNN
+F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN
+F 2 "" H 6700 2050 29 0000 C CNN
+F 3 "" H 6500 1950 60 0000 C CNN
+ 1 6500 1950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q11
+U 1 1 5CE90A8C
+P 7500 1950
+F 0 "Q11" H 7400 2000 50 0000 R CNN
+F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN
+F 2 "" H 7700 2050 29 0000 C CNN
+F 3 "" H 7500 1950 60 0000 C CNN
+ 1 7500 1950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 5CE90A8D
+P 7500 3050
+F 0 "Q14" H 7400 3100 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN
+F 2 "" H 7700 3150 29 0000 C CNN
+F 3 "" H 7500 3050 60 0000 C CNN
+ 1 7500 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R8
+U 1 1 5CE90A8E
+P 7300 2600
+F 0 "R8" H 7350 2730 50 0000 C CNN
+F 1 "4.5k" H 7350 2650 50 0000 C CNN
+F 2 "" H 7350 2580 30 0000 C CNN
+F 3 "" V 7350 2650 30 0000 C CNN
+ 1 7300 2600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_R R7
+U 1 1 5CE90A8F
+P 7300 3400
+F 0 "R7" H 7350 3530 50 0000 C CNN
+F 1 "7.5k" H 7350 3450 50 0000 C CNN
+F 2 "" H 7350 3380 30 0000 C CNN
+F 3 "" V 7350 3450 30 0000 C CNN
+ 1 7300 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5CE90A90
+P 6600 3200
+F 0 "C1" H 6625 3300 50 0000 L CNN
+F 1 "30p" H 6625 3100 50 0000 L CNN
+F 2 "" H 6638 3050 30 0000 C CNN
+F 3 "" H 6600 3200 60 0000 C CNN
+ 1 6600 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 5CE90A91
+P 7050 3950
+F 0 "Q16" H 6950 4000 50 0000 R CNN
+F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN
+F 2 "" H 7250 4050 29 0000 C CNN
+F 3 "" H 7050 3950 60 0000 C CNN
+ 1 7050 3950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 5CE90A92
+P 7500 4300
+F 0 "Q15" H 7400 4350 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN
+F 2 "" H 7700 4400 29 0000 C CNN
+F 3 "" H 7500 4300 60 0000 C CNN
+ 1 7500 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R5
+U 1 1 5CE90A93
+P 7100 5050
+F 0 "R5" H 7150 5180 50 0000 C CNN
+F 1 "50k" H 7150 5100 50 0000 C CNN
+F 2 "" H 7150 5030 30 0000 C CNN
+F 3 "" V 7150 5100 30 0000 C CNN
+ 1 7100 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R6
+U 1 1 5CE90A94
+P 7550 5050
+F 0 "R6" H 7600 5180 50 0000 C CNN
+F 1 "50" H 7600 5100 50 0000 C CNN
+F 2 "" H 7600 5030 30 0000 C CNN
+F 3 "" V 7600 5100 30 0000 C CNN
+ 1 7550 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 5CE90A95
+P 6800 4700
+F 0 "Q17" H 6700 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN
+F 2 "" H 7000 4800 29 0000 C CNN
+F 3 "" H 6800 4700 60 0000 C CNN
+ 1 6800 4700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 5CE90A96
+P 8800 2300
+F 0 "Q18" H 8700 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN
+F 2 "" H 9000 2400 29 0000 C CNN
+F 3 "" H 8800 2300 60 0000 C CNN
+ 1 8800 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 5CE90A97
+P 8400 2750
+F 0 "Q20" H 8300 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN
+F 2 "" H 8600 2850 29 0000 C CNN
+F 3 "" H 8400 2750 60 0000 C CNN
+ 1 8400 2750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R9
+U 1 1 5CE90A98
+P 8850 3000
+F 0 "R9" H 8900 3130 50 0000 C CNN
+F 1 "25" H 8900 3050 50 0000 C CNN
+F 2 "" H 8900 2980 30 0000 C CNN
+F 3 "" V 8900 3050 30 0000 C CNN
+ 1 8850 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R10
+U 1 1 5CE90A99
+P 8850 3750
+F 0 "R10" H 8900 3880 50 0000 C CNN
+F 1 "50" H 8900 3800 50 0000 C CNN
+F 2 "" H 8900 3730 30 0000 C CNN
+F 3 "" V 8900 3800 30 0000 C CNN
+ 1 8850 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 5CE90A9A
+P 8800 4600
+F 0 "Q19" H 8700 4650 50 0000 R CNN
+F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN
+F 2 "" H 9000 4700 29 0000 C CNN
+F 3 "" H 8800 4600 60 0000 C CNN
+ 1 8800 4600
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5CE90A9B
+P 1900 1200
+F 0 "U1" H 1950 1300 30 0000 C CNN
+F 1 "PORT" H 1900 1200 30 0000 C CNN
+F 2 "" H 1900 1200 60 0000 C CNN
+F 3 "" H 1900 1200 60 0000 C CNN
+ 3 1900 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5CE90A9C
+P 4500 1050
+F 0 "U1" H 4550 1150 30 0000 C CNN
+F 1 "PORT" H 4500 1050 30 0000 C CNN
+F 2 "" H 4500 1050 60 0000 C CNN
+F 3 "" H 4500 1050 60 0000 C CNN
+ 2 4500 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 5CE90A9D
+P 9750 1650
+F 0 "U1" H 9800 1750 30 0000 C CNN
+F 1 "PORT" H 9750 1650 30 0000 C CNN
+F 2 "" H 9750 1650 60 0000 C CNN
+F 3 "" H 9750 1650 60 0000 C CNN
+ 7 9750 1650
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 5CE90A9E
+P 9750 3500
+F 0 "U1" H 9800 3600 30 0000 C CNN
+F 1 "PORT" H 9750 3500 30 0000 C CNN
+F 2 "" H 9750 3500 60 0000 C CNN
+F 3 "" H 9750 3500 60 0000 C CNN
+ 6 9750 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 5CE90A9F
+P 9700 5550
+F 0 "U1" H 9750 5650 30 0000 C CNN
+F 1 "PORT" H 9700 5550 30 0000 C CNN
+F 2 "" H 9700 5550 60 0000 C CNN
+F 3 "" H 9700 5550 60 0000 C CNN
+ 4 9700 5550
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3200 3200 3750 3200
+Wire Wire Line
+ 2750 2900 2750 2950
+Wire Wire Line
+ 2750 2950 2900 2950
+Wire Wire Line
+ 2900 2950 2900 3000
+Wire Wire Line
+ 4200 2900 4200 2950
+Wire Wire Line
+ 4200 2950 4050 2950
+Wire Wire Line
+ 4050 2950 4050 3000
+Wire Wire Line
+ 2900 3400 2900 4400
+Wire Wire Line
+ 2900 4000 3100 4000
+Wire Wire Line
+ 4200 2000 4200 2500
+Wire Wire Line
+ 4200 2350 2750 2350
+Wire Wire Line
+ 2750 2350 2750 2500
+Wire Wire Line
+ 5000 2000 4050 2000
+Connection ~ 4200 2350
+Connection ~ 4200 2000
+Wire Wire Line
+ 3750 2200 3750 2350
+Connection ~ 3750 2350
+Wire Wire Line
+ 3750 1800 3750 1650
+Wire Wire Line
+ 3400 1650 7600 1650
+Wire Wire Line
+ 3400 1650 3400 3800
+Wire Wire Line
+ 5300 1650 5300 1800
+Connection ~ 3750 1650
+Wire Wire Line
+ 5300 2200 5300 4500
+Wire Wire Line
+ 5300 3500 3650 3500
+Wire Wire Line
+ 3650 3500 3650 3200
+Connection ~ 3650 3200
+Connection ~ 2900 4000
+Wire Wire Line
+ 4050 4400 4050 3400
+Wire Wire Line
+ 3400 4200 3400 4600
+Wire Wire Line
+ 3200 4600 3750 4600
+Connection ~ 3400 4600
+Wire Wire Line
+ 4050 5100 4050 4800
+Wire Wire Line
+ 3600 5100 3600 4600
+Connection ~ 3600 4600
+Wire Wire Line
+ 2900 5100 2900 4800
+Wire Wire Line
+ 2900 5400 2900 5550
+Wire Wire Line
+ 2900 5550 9450 5550
+Wire Wire Line
+ 4050 5550 4050 5400
+Wire Wire Line
+ 3600 5400 3600 5550
+Connection ~ 3600 5550
+Wire Wire Line
+ 6100 4700 5600 4700
+Wire Wire Line
+ 6400 2950 6400 4500
+Wire Wire Line
+ 6400 4250 5900 4250
+Wire Wire Line
+ 5900 4250 5900 4700
+Connection ~ 5900 4700
+Wire Wire Line
+ 5300 5100 5300 4900
+Wire Wire Line
+ 5300 5550 5300 5400
+Connection ~ 4050 5550
+Wire Wire Line
+ 6400 5550 6400 4900
+Connection ~ 5300 5550
+Connection ~ 5300 3500
+Wire Wire Line
+ 6400 1650 6400 1750
+Connection ~ 5300 1650
+Wire Wire Line
+ 6400 2150 6400 2650
+Connection ~ 6400 4250
+Wire Wire Line
+ 6700 1950 7300 1950
+Wire Wire Line
+ 7000 1950 7000 2250
+Wire Wire Line
+ 7000 2250 6400 2250
+Connection ~ 6400 2250
+Wire Wire Line
+ 7600 1650 7600 1750
+Connection ~ 6400 1650
+Connection ~ 7000 1950
+Wire Wire Line
+ 7600 3250 7600 4100
+Wire Wire Line
+ 7600 3450 7400 3450
+Wire Wire Line
+ 6900 3450 7100 3450
+Wire Wire Line
+ 6900 2650 6900 3450
+Wire Wire Line
+ 6900 3050 7300 3050
+Wire Wire Line
+ 7600 2150 7600 2850
+Wire Wire Line
+ 7600 2650 7400 2650
+Wire Wire Line
+ 7100 2650 6900 2650
+Connection ~ 6900 3050
+Connection ~ 7600 2650
+Wire Wire Line
+ 7300 4300 7150 4300
+Wire Wire Line
+ 7150 4150 7150 4950
+Connection ~ 7600 3450
+Wire Wire Line
+ 7600 3700 7150 3700
+Wire Wire Line
+ 7150 3700 7150 3750
+Connection ~ 7600 3700
+Wire Wire Line
+ 6600 3050 6600 2450
+Wire Wire Line
+ 6600 2450 7600 2450
+Connection ~ 7600 2450
+Wire Wire Line
+ 6600 3350 6600 3950
+Wire Wire Line
+ 4050 3950 6850 3950
+Wire Wire Line
+ 6700 3950 6700 4500
+Connection ~ 6700 3950
+Wire Wire Line
+ 6700 4900 6700 5550
+Connection ~ 6400 5550
+Connection ~ 7150 4300
+Wire Wire Line
+ 7600 4950 7600 4500
+Wire Wire Line
+ 7000 4700 7600 4700
+Connection ~ 7600 4700
+Wire Wire Line
+ 7600 5550 7600 5250
+Connection ~ 6700 5550
+Wire Wire Line
+ 7150 5250 7150 5550
+Connection ~ 7150 5550
+Wire Wire Line
+ 7600 2300 8600 2300
+Wire Wire Line
+ 8300 2300 8300 2550
+Connection ~ 8300 2300
+Connection ~ 7600 2300
+Wire Wire Line
+ 8900 2100 8900 1650
+Wire Wire Line
+ 7550 1650 9500 1650
+Connection ~ 7550 1650
+Connection ~ 8900 1650
+Wire Wire Line
+ 8900 2500 8900 2900
+Wire Wire Line
+ 8900 2750 8600 2750
+Connection ~ 8900 2750
+Wire Wire Line
+ 8300 2950 8300 3350
+Wire Wire Line
+ 8300 3350 8900 3350
+Wire Wire Line
+ 8900 3200 8900 3650
+Wire Wire Line
+ 8900 4400 8900 3950
+Connection ~ 8900 3350
+Wire Wire Line
+ 8900 3500 9500 3500
+Connection ~ 8900 3500
+Wire Wire Line
+ 8900 5550 8900 4800
+Connection ~ 7600 5550
+Connection ~ 8900 5550
+Wire Wire Line
+ 8600 4600 8100 4600
+Wire Wire Line
+ 8100 4600 8100 3850
+Wire Wire Line
+ 8100 3850 7600 3850
+Connection ~ 7600 3850
+Connection ~ 4050 3950
+Connection ~ 6600 3950
+Wire Wire Line
+ 4500 2700 4750 2700
+Wire Wire Line
+ 4750 2700 4750 1050
+Wire Wire Line
+ 2450 2700 2150 2700
+Wire Wire Line
+ 2150 2700 2150 1200
+$Comp
+L PORT U1
+U 5 1 5CE90AA0
+P 1850 4850
+F 0 "U1" H 1900 4950 30 0000 C CNN
+F 1 "PORT" H 1850 4850 30 0000 C CNN
+F 2 "" H 1850 4850 60 0000 C CNN
+F 3 "" H 1850 4850 60 0000 C CNN
+ 5 1850 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 5CE90AA1
+P 1850 5100
+F 0 "U1" H 1900 5200 30 0000 C CNN
+F 1 "PORT" H 1850 5100 30 0000 C CNN
+F 2 "" H 1850 5100 60 0000 C CNN
+F 3 "" H 1850 5100 60 0000 C CNN
+ 1 1850 5100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2100 5100 2700 5100
+Wire Wire Line
+ 2700 5100 2700 5050
+Wire Wire Line
+ 2700 5050 2900 5050
+Connection ~ 2900 5050
+Wire Wire Line
+ 2100 4850 2550 4850
+Wire Wire Line
+ 2550 4850 2550 4900
+Wire Wire Line
+ 2550 4900 4050 4900
+Connection ~ 4050 4900
+$Comp
+L PORT U1
+U 8 1 5CE9368F
+P 9600 6050
+F 0 "U1" H 9650 6150 30 0000 C CNN
+F 1 "PORT" H 9600 6050 30 0000 C CNN
+F 2 "" H 9600 6050 60 0000 C CNN
+F 3 "" H 9600 6050 60 0000 C CNN
+ 8 9600 6050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 9350 6050 9100 6050
+NoConn ~ 9100 6050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/AD_620/lm_741.sub b/library/SubcircuitLibrary/AD_620/lm_741.sub
new file mode 100644
index 00000000..fa8d27b1
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741.sub
@@ -0,0 +1,40 @@
+* Subcircuit lm_741
+.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ?
+* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir
+.include npn_1.lib
+.include pnp_1.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1
+q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1
+q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1
+q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1
+q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1
+q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1
+r1 net-_q7-pad3_ net-_q12-pad3_ 1k
+r2 net-_q3-pad3_ net-_q12-pad3_ 50k
+r3 net-_q8-pad3_ net-_q12-pad3_ 1k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1
+q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1
+r4 net-_q13-pad3_ net-_q12-pad3_ 5k
+r11 net-_q10-pad1_ net-_q12-pad1_ 39k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1
+r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k
+r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1
+q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1
+r5 net-_q15-pad2_ net-_q12-pad3_ 50k
+r6 net-_q15-pad3_ net-_q12-pad3_ 50
+q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1
+q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1
+q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1
+r9 net-_q18-pad3_ net-_q20-pad3_ 25
+r10 net-_q20-pad3_ net-_q19-pad3_ 50
+q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1
+* Control Statements
+
+.ends lm_741 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/lm_741_Previous_Values.xml b/library/SubcircuitLibrary/AD_620/lm_741_Previous_Values.xml
new file mode 100644
index 00000000..b61322bb
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/lm_741_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q1><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q1><q20><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q20><q3><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q3><q2><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q2><q5><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q5><q4><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q4><q7><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q7><q6><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q6><q9><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q9><q8><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q8><q15><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q15><q14><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q14><q17><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q17><q16><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q16><q11><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q11><q10><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q10><q13><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q13><q12><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q12><q19><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q19><q18><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q18></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/npn_1.lib b/library/SubcircuitLibrary/AD_620/npn_1.lib
new file mode 100644
index 00000000..a1818ed8
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/npn_1.lib
@@ -0,0 +1,29 @@
+.model npn_1 NPN(
++ Vtf=1.7
++ Cjc=0.5p
++ Nc=2
++ Tr=46.91n
++ Ne=1.307
++ Cje=0.5p
++ Isc=0
++ Xtb=1.5
++ Rb=500
++ Rc=1
++ Tf=411.1p
++ Xti=3
++ Ikr=0
++ Bf=125
++ Fc=.5
++ Ise=14.34f
++ Br=6.092
++ Ikf=.2847
++ Mje=.377
++ Mjc=.3416
++ Vaf=74.03
++ Vjc=.75
++ Vje=.75
++ Xtf=3
++ Itf=.6
++ Is=14.34f
++ Eg=1.11
+) \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AD_620/pnp_1.lib b/library/SubcircuitLibrary/AD_620/pnp_1.lib
new file mode 100644
index 00000000..a4ee06da
--- /dev/null
+++ b/library/SubcircuitLibrary/AD_620/pnp_1.lib
@@ -0,0 +1,29 @@
+.model pnp_1 PNP(
++ Vtf=1.7
++ Cjc=1.5p
++ Nc=2
++ Tr=46.91n
++ Ne=1.307
++ Cje=0.3p
++ Isc=0
++ Xtb=1.5
++ Rb=250
++ Rc=1
++ Tf=411.1p
++ Xti=3
++ Ikr=0
++ Bf=25
++ Fc=.5
++ Ise=14.34f
++ Br=6.092
++ Ikf=.2847
++ Mje=.377
++ Mjc=.3416
++ Vaf=74.03
++ Vjc=.75
++ Vje=.75
++ Xtf=3
++ Itf=.6
++ Is=14.34f
++ Eg=1.11
+) \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4001/CD4001-cache.lib b/library/SubcircuitLibrary/CD4001/CD4001-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD4001/CD4001.cir b/library/SubcircuitLibrary/CD4001/CD4001.cir
new file mode 100644
index 00000000..17bf85e4
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001.cir
@@ -0,0 +1,27 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD4001\CD4001.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/22 15:17:26
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M5 Net-_M5-Pad1_ Net-_M2-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M2-Pad1_ Net-_M6-Pad2_ Net-_M5-Pad1_ Net-_M5-Pad1_ eSim_MOS_P
+M8 Net-_M2-Pad1_ Net-_M6-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M13 Net-_M13-Pad1_ Net-_M10-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M14 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M16 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M3 Net-_M3-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M4 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad1_ eSim_MOS_P
+M7 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M12-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M12 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M15 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M2-Pad2_ Net-_M6-Pad2_ Net-_M2-Pad1_ Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M11-Pad2_ Net-_M12-Pad2_ Net-_M12-Pad1_ Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M4-Pad2_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD4001/CD4001.cir.out b/library/SubcircuitLibrary/CD4001/CD4001.cir.out
new file mode 100644
index 00000000..169eff19
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001.cir.out
@@ -0,0 +1,30 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd4001\cd4001.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m5 net-_m5-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m6-pad2_ net-_m5-pad1_ net-_m5-pad1_ CMOSP W=100u L=100u M=1
+m8 net-_m2-pad1_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m12-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m15 net-_m12-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m2-pad2_ net-_m6-pad2_ net-_m2-pad1_ net-_m10-pad1_ net-_m10-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m11-pad2_ net-_m12-pad2_ net-_m12-pad1_ net-_m1-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD4001/CD4001.pro b/library/SubcircuitLibrary/CD4001/CD4001.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD4001/CD4001.sch b/library/SubcircuitLibrary/CD4001/CD4001.sch
new file mode 100644
index 00000000..9fc9cff3
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001.sch
@@ -0,0 +1,616 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD4001-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M5
+U 1 1 628DC1F6
+P 4950 3750
+F 0 "M5" H 4900 3800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5000 3900 50 0000 R CNN
+F 2 "" H 5200 3850 29 0000 C CNN
+F 3 "" H 5000 3750 60 0000 C CNN
+ 1 4950 3750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 628DC1F7
+P 4550 4750
+F 0 "M2" H 4550 4600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4650 4700 50 0000 R CNN
+F 2 "" H 4850 4450 29 0000 C CNN
+F 3 "" H 4650 4550 60 0000 C CNN
+ 1 4550 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 628DC1F8
+P 4950 4250
+F 0 "M6" H 4900 4300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5000 4400 50 0000 R CNN
+F 2 "" H 5200 4350 29 0000 C CNN
+F 3 "" H 5000 4250 60 0000 C CNN
+ 1 4950 4250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 628DC1F9
+P 5550 4750
+F 0 "M8" H 5550 4600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5650 4700 50 0000 R CNN
+F 2 "" H 5850 4450 29 0000 C CNN
+F 3 "" H 5650 4550 60 0000 C CNN
+ 1 5550 4750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 628DC1FA
+P 7200 3750
+F 0 "M13" H 7150 3800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7250 3900 50 0000 R CNN
+F 2 "" H 7450 3850 29 0000 C CNN
+F 3 "" H 7250 3750 60 0000 C CNN
+ 1 7200 3750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 628DC1FB
+P 6800 4750
+F 0 "M10" H 6800 4600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6900 4700 50 0000 R CNN
+F 2 "" H 7100 4450 29 0000 C CNN
+F 3 "" H 6900 4550 60 0000 C CNN
+ 1 6800 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 628DC1FC
+P 7200 4250
+F 0 "M14" H 7150 4300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7250 4400 50 0000 R CNN
+F 2 "" H 7450 4350 29 0000 C CNN
+F 3 "" H 7250 4250 60 0000 C CNN
+ 1 7200 4250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 628DC1FD
+P 7800 4750
+F 0 "M16" H 7800 4600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7900 4700 50 0000 R CNN
+F 2 "" H 8100 4450 29 0000 C CNN
+F 3 "" H 7900 4550 60 0000 C CNN
+ 1 7800 4750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 628DC1FE
+P 4900 1850
+F 0 "M3" H 4850 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4950 2000 50 0000 R CNN
+F 2 "" H 5150 1950 29 0000 C CNN
+F 3 "" H 4950 1850 60 0000 C CNN
+ 1 4900 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 628DC1FF
+P 4500 2850
+F 0 "M1" H 4500 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4600 2800 50 0000 R CNN
+F 2 "" H 4800 2550 29 0000 C CNN
+F 3 "" H 4600 2650 60 0000 C CNN
+ 1 4500 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 628DC200
+P 4900 2350
+F 0 "M4" H 4850 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4950 2500 50 0000 R CNN
+F 2 "" H 5150 2450 29 0000 C CNN
+F 3 "" H 4950 2350 60 0000 C CNN
+ 1 4900 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 628DC201
+P 5500 2850
+F 0 "M7" H 5500 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5600 2800 50 0000 R CNN
+F 2 "" H 5800 2550 29 0000 C CNN
+F 3 "" H 5600 2650 60 0000 C CNN
+ 1 5500 2850
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 628DC202
+P 7200 1850
+F 0 "M11" H 7150 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7250 2000 50 0000 R CNN
+F 2 "" H 7450 1950 29 0000 C CNN
+F 3 "" H 7250 1850 60 0000 C CNN
+ 1 7200 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 628DC203
+P 6800 2850
+F 0 "M9" H 6800 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6900 2800 50 0000 R CNN
+F 2 "" H 7100 2550 29 0000 C CNN
+F 3 "" H 6900 2650 60 0000 C CNN
+ 1 6800 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 628DC204
+P 7200 2350
+F 0 "M12" H 7150 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7250 2500 50 0000 R CNN
+F 2 "" H 7450 2450 29 0000 C CNN
+F 3 "" H 7250 2350 60 0000 C CNN
+ 1 7200 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 628DC205
+P 7800 2850
+F 0 "M15" H 7800 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7900 2800 50 0000 R CNN
+F 2 "" H 8100 2550 29 0000 C CNN
+F 3 "" H 7900 2650 60 0000 C CNN
+ 1 7800 2850
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5100 3950 5100 4050
+Wire Wire Line
+ 4750 4750 4750 4650
+Wire Wire Line
+ 4750 4650 5350 4650
+Wire Wire Line
+ 5350 4650 5350 4750
+Wire Wire Line
+ 4750 5150 4750 5200
+Wire Wire Line
+ 4750 5200 7600 5200
+Wire Wire Line
+ 5350 5200 5350 5150
+Wire Wire Line
+ 5250 5100 5250 5200
+Connection ~ 5250 5200
+Wire Wire Line
+ 4850 5100 4850 5200
+Connection ~ 4850 5200
+Wire Wire Line
+ 5100 4450 5100 4650
+Connection ~ 5100 4650
+Wire Wire Line
+ 5200 4100 5200 4000
+Wire Wire Line
+ 5200 4000 5100 4000
+Connection ~ 5100 4000
+Wire Wire Line
+ 5200 3600 5200 3550
+Wire Wire Line
+ 5100 3550 7450 3550
+Wire Wire Line
+ 4800 3750 4400 3750
+Wire Wire Line
+ 4400 3750 4400 4950
+Wire Wire Line
+ 4400 4950 4450 4950
+Wire Wire Line
+ 4800 4250 4700 4250
+Wire Wire Line
+ 4700 4250 4700 4800
+Wire Wire Line
+ 4700 4800 5650 4800
+Wire Wire Line
+ 5650 4800 5650 4950
+Wire Wire Line
+ 5100 4500 5600 4500
+Connection ~ 5100 4500
+Wire Wire Line
+ 4400 4250 4150 4250
+Connection ~ 4400 4250
+Wire Wire Line
+ 4700 4450 4150 4450
+Connection ~ 4700 4450
+Wire Wire Line
+ 7350 3950 7350 4050
+Wire Wire Line
+ 7000 4750 7000 4650
+Wire Wire Line
+ 7000 4650 7600 4650
+Wire Wire Line
+ 7600 4650 7600 4750
+Wire Wire Line
+ 7000 5200 7000 5150
+Wire Wire Line
+ 7600 5200 7600 5150
+Wire Wire Line
+ 7500 5100 7500 5200
+Connection ~ 7500 5200
+Wire Wire Line
+ 7100 5100 7100 5200
+Connection ~ 7100 5200
+Wire Wire Line
+ 7350 4450 7350 4650
+Connection ~ 7350 4650
+Wire Wire Line
+ 7450 4100 7450 4000
+Wire Wire Line
+ 7450 4000 7350 4000
+Connection ~ 7350 4000
+Wire Wire Line
+ 7450 3550 7450 3600
+Wire Wire Line
+ 7050 3750 6650 3750
+Wire Wire Line
+ 6650 3750 6650 4950
+Wire Wire Line
+ 6650 4950 6700 4950
+Wire Wire Line
+ 7050 4250 6950 4250
+Wire Wire Line
+ 6950 4250 6950 4800
+Wire Wire Line
+ 6950 4800 7900 4800
+Wire Wire Line
+ 7900 4800 7900 4950
+Wire Wire Line
+ 7350 4500 7850 4500
+Connection ~ 7350 4500
+Wire Wire Line
+ 6650 4250 6400 4250
+Connection ~ 6650 4250
+Wire Wire Line
+ 6950 4450 6400 4450
+Connection ~ 6950 4450
+Wire Wire Line
+ 5050 2050 5050 2150
+Wire Wire Line
+ 4700 2850 4700 2750
+Wire Wire Line
+ 4700 2750 5300 2750
+Wire Wire Line
+ 5300 2750 5300 2850
+Wire Wire Line
+ 4700 3250 4700 3300
+Wire Wire Line
+ 4700 3300 7600 3300
+Wire Wire Line
+ 5300 3300 5300 3250
+Wire Wire Line
+ 5200 3200 5200 3300
+Connection ~ 5200 3300
+Wire Wire Line
+ 4800 3200 4800 3300
+Connection ~ 4800 3300
+Wire Wire Line
+ 5050 2550 5050 2750
+Connection ~ 5050 2750
+Wire Wire Line
+ 5150 2200 5150 2100
+Wire Wire Line
+ 5150 2100 5050 2100
+Connection ~ 5050 2100
+Wire Wire Line
+ 5150 1700 5150 1650
+Wire Wire Line
+ 5050 1650 7450 1650
+Wire Wire Line
+ 4750 1850 4350 1850
+Wire Wire Line
+ 4350 1850 4350 3050
+Wire Wire Line
+ 4350 3050 4400 3050
+Wire Wire Line
+ 4750 2350 4650 2350
+Wire Wire Line
+ 4650 2350 4650 2900
+Wire Wire Line
+ 4650 2900 5600 2900
+Wire Wire Line
+ 5600 2900 5600 3050
+Wire Wire Line
+ 5050 2600 5550 2600
+Connection ~ 5050 2600
+Wire Wire Line
+ 4350 2350 4100 2350
+Connection ~ 4350 2350
+Wire Wire Line
+ 4650 2550 4100 2550
+Connection ~ 4650 2550
+Wire Wire Line
+ 7350 2050 7350 2150
+Wire Wire Line
+ 7000 2850 7000 2750
+Wire Wire Line
+ 7000 2750 7600 2750
+Wire Wire Line
+ 7600 2750 7600 2850
+Wire Wire Line
+ 7000 3300 7000 3250
+Wire Wire Line
+ 7600 3300 7600 3250
+Wire Wire Line
+ 7500 3200 7500 3300
+Connection ~ 7500 3300
+Wire Wire Line
+ 7100 3200 7100 3300
+Connection ~ 7100 3300
+Wire Wire Line
+ 7350 2550 7350 2750
+Connection ~ 7350 2750
+Wire Wire Line
+ 7450 2200 7450 2100
+Wire Wire Line
+ 7450 2100 7350 2100
+Connection ~ 7350 2100
+Wire Wire Line
+ 7450 1650 7450 1700
+Wire Wire Line
+ 7050 1850 6650 1850
+Wire Wire Line
+ 6650 1850 6650 3050
+Wire Wire Line
+ 6650 3050 6700 3050
+Wire Wire Line
+ 7050 2350 6950 2350
+Wire Wire Line
+ 6950 2350 6950 2900
+Wire Wire Line
+ 6950 2900 7900 2900
+Wire Wire Line
+ 7900 2900 7900 3050
+Wire Wire Line
+ 7350 2600 7850 2600
+Connection ~ 7350 2600
+Wire Wire Line
+ 6650 2350 6400 2350
+Connection ~ 6650 2350
+Wire Wire Line
+ 6950 2550 6400 2550
+Connection ~ 6950 2550
+Connection ~ 7350 3550
+Connection ~ 5200 3550
+Connection ~ 7350 1650
+Connection ~ 5150 1650
+Connection ~ 7000 3300
+Connection ~ 5300 3300
+Connection ~ 7000 5200
+Connection ~ 5350 5200
+Wire Wire Line
+ 5800 3300 5800 5200
+Connection ~ 5800 5200
+Connection ~ 5800 3300
+Connection ~ 6050 1650
+Wire Wire Line
+ 6300 5400 6300 5200
+Connection ~ 6300 5200
+$Comp
+L PORT U1
+U 1 1 628E3C82
+P 3900 4250
+F 0 "U1" H 3950 4350 30 0000 C CNN
+F 1 "PORT" H 3900 4250 30 0000 C CNN
+F 2 "" H 3900 4250 60 0000 C CNN
+F 3 "" H 3900 4250 60 0000 C CNN
+ 1 3900 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 628E3D0D
+P 3900 4450
+F 0 "U1" H 3950 4550 30 0000 C CNN
+F 1 "PORT" H 3900 4450 30 0000 C CNN
+F 2 "" H 3900 4450 60 0000 C CNN
+F 3 "" H 3900 4450 60 0000 C CNN
+ 2 3900 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 628E3D80
+P 5850 4500
+F 0 "U1" H 5900 4600 30 0000 C CNN
+F 1 "PORT" H 5850 4500 30 0000 C CNN
+F 2 "" H 5850 4500 60 0000 C CNN
+F 3 "" H 5850 4500 60 0000 C CNN
+ 3 5850 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 628E3DE3
+P 8100 4500
+F 0 "U1" H 8150 4600 30 0000 C CNN
+F 1 "PORT" H 8100 4500 30 0000 C CNN
+F 2 "" H 8100 4500 60 0000 C CNN
+F 3 "" H 8100 4500 60 0000 C CNN
+ 4 8100 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 628E3EA4
+P 6150 4250
+F 0 "U1" H 6200 4350 30 0000 C CNN
+F 1 "PORT" H 6150 4250 30 0000 C CNN
+F 2 "" H 6150 4250 60 0000 C CNN
+F 3 "" H 6150 4250 60 0000 C CNN
+ 5 6150 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 628E3F07
+P 6150 4450
+F 0 "U1" H 6200 4550 30 0000 C CNN
+F 1 "PORT" H 6150 4450 30 0000 C CNN
+F 2 "" H 6150 4450 60 0000 C CNN
+F 3 "" H 6150 4450 60 0000 C CNN
+ 6 6150 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 628E4017
+P 6050 5400
+F 0 "U1" H 6100 5500 30 0000 C CNN
+F 1 "PORT" H 6050 5400 30 0000 C CNN
+F 2 "" H 6050 5400 60 0000 C CNN
+F 3 "" H 6050 5400 60 0000 C CNN
+ 7 6050 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 628E4565
+P 6150 2350
+F 0 "U1" H 6200 2450 30 0000 C CNN
+F 1 "PORT" H 6150 2350 30 0000 C CNN
+F 2 "" H 6150 2350 60 0000 C CNN
+F 3 "" H 6150 2350 60 0000 C CNN
+ 8 6150 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 628E45D8
+P 6150 2550
+F 0 "U1" H 6200 2650 30 0000 C CNN
+F 1 "PORT" H 6150 2550 30 0000 C CNN
+F 2 "" H 6150 2550 60 0000 C CNN
+F 3 "" H 6150 2550 60 0000 C CNN
+ 9 6150 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 628E463D
+P 8100 2600
+F 0 "U1" H 8150 2700 30 0000 C CNN
+F 1 "PORT" H 8100 2600 30 0000 C CNN
+F 2 "" H 8100 2600 60 0000 C CNN
+F 3 "" H 8100 2600 60 0000 C CNN
+ 10 8100 2600
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 628E473E
+P 5800 2600
+F 0 "U1" H 5850 2700 30 0000 C CNN
+F 1 "PORT" H 5800 2600 30 0000 C CNN
+F 2 "" H 5800 2600 60 0000 C CNN
+F 3 "" H 5800 2600 60 0000 C CNN
+ 11 5800 2600
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 628E47DD
+P 3850 2350
+F 0 "U1" H 3900 2450 30 0000 C CNN
+F 1 "PORT" H 3850 2350 30 0000 C CNN
+F 2 "" H 3850 2350 60 0000 C CNN
+F 3 "" H 3850 2350 60 0000 C CNN
+ 12 3850 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 628E484A
+P 3850 2550
+F 0 "U1" H 3900 2650 30 0000 C CNN
+F 1 "PORT" H 3850 2550 30 0000 C CNN
+F 2 "" H 3850 2550 60 0000 C CNN
+F 3 "" H 3850 2550 60 0000 C CNN
+ 13 3850 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 628E4934
+P 5800 1350
+F 0 "U1" H 5850 1450 30 0000 C CNN
+F 1 "PORT" H 5800 1350 30 0000 C CNN
+F 2 "" H 5800 1350 60 0000 C CNN
+F 3 "" H 5800 1350 60 0000 C CNN
+ 14 5800 1350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6050 1350 6050 3550
+Connection ~ 6050 3550
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD4001/CD4001.sub b/library/SubcircuitLibrary/CD4001/CD4001.sub
new file mode 100644
index 00000000..9371c24e
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001.sub
@@ -0,0 +1,24 @@
+* Subcircuit CD4001
+.subckt CD4001 net-_m2-pad2_ net-_m6-pad2_ net-_m2-pad1_ net-_m10-pad1_ net-_m10-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m11-pad2_ net-_m12-pad2_ net-_m12-pad1_ net-_m1-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd4001\cd4001.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m5 net-_m5-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m6-pad2_ net-_m5-pad1_ net-_m5-pad1_ CMOSP W=100u L=100u M=1
+m8 net-_m2-pad1_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m12-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m15 net-_m12-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD4001 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4001/CD4001_Previous_Values.xml b/library/SubcircuitLibrary/CD4001/CD4001_Previous_Values.xml
new file mode 100644
index 00000000..f4515cf9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/CD4001_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4001/NMOS-180nm.lib b/library/SubcircuitLibrary/CD4001/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD4001/PMOS-180nm.lib b/library/SubcircuitLibrary/CD4001/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD4001/README.md b/library/SubcircuitLibrary/CD4001/README.md
new file mode 100644
index 00000000..db436fdf
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/README.md
@@ -0,0 +1,26 @@
+
+# CD4001 IC
+
+It is 2-input NOR Gate IC. CD4001 IC is designed with 180nm CMOS technology in eSim consisting four NOR Gates. When both the inputs are LOW then only output is HIGH, otherwise LOW. It is also called inverted OR Gate, a type of Universal Gate.
+
+
+## Usage/Examples
+
+The IC can be used for Noise Removing.
+
+Also used in devices such as PCs and notebooks.
+
+## Documentation
+
+To know the details of CD4001 IC please go through with the documentation : [CD4001_datasheet](https://www.ti.com/lit/gpn/cd4001b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4001/analysis b/library/SubcircuitLibrary/CD4001/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4001/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate-cache.lib b/library/SubcircuitLibrary/CD4028_B/AND_Gate-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir b/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir
new file mode 100644
index 00000000..17b9331f
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir
@@ -0,0 +1,17 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate\AND_Gate.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/26/22 14:03:16
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M2 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M2-Pad3_ Net-_M2-Pad3_ eSim_MOS_N
+M4 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M3 Net-_M2-Pad3_ Net-_M3-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M5 Net-_M5-Pad1_ Net-_M1-Pad1_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M6 Net-_M5-Pad1_ Net-_M1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+U1 Net-_M5-Pad1_ Net-_M1-Pad2_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M3-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir.out b/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir.out
new file mode 100644
index 00000000..bea80ad4
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate.cir.out
@@ -0,0 +1,20 @@
+* c:\fossee\esim\library\subcircuitlibrary\and_gate\and_gate.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m2-pad3_ net-_m3-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m1-pad1_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+* u1 net-_m5-pad1_ net-_m1-pad2_ net-_m3-pad2_ net-_m1-pad3_ net-_m3-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate.pro b/library/SubcircuitLibrary/CD4028_B/AND_Gate.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate.sch b/library/SubcircuitLibrary/CD4028_B/AND_Gate.sch
new file mode 100644
index 00000000..5f7950b3
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate.sch
@@ -0,0 +1,250 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:AND_Gate-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M1
+U 1 1 62B6B95F
+P 4550 1800
+F 0 "M1" H 4500 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4600 1950 50 0000 R CNN
+F 2 "" H 4800 1900 29 0000 C CNN
+F 3 "" H 4600 1800 60 0000 C CNN
+ 1 4550 1800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62B6B9AC
+P 4700 2250
+F 0 "M2" H 4700 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4800 2200 50 0000 R CNN
+F 2 "" H 5000 1950 29 0000 C CNN
+F 3 "" H 4800 2050 60 0000 C CNN
+ 1 4700 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 62B6B9ED
+P 5250 1800
+F 0 "M4" H 5200 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5300 1950 50 0000 R CNN
+F 2 "" H 5500 1900 29 0000 C CNN
+F 3 "" H 5300 1800 60 0000 C CNN
+ 1 5250 1800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62B6BA57
+P 4700 2750
+F 0 "M3" H 4700 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4800 2700 50 0000 R CNN
+F 2 "" H 5000 2450 29 0000 C CNN
+F 3 "" H 4800 2550 60 0000 C CNN
+ 1 4700 2750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4700 1600 6000 1600
+Wire Wire Line
+ 5000 1650 5000 1600
+Connection ~ 5000 1600
+Wire Wire Line
+ 4800 1650 4800 1600
+Connection ~ 4800 1600
+Wire Wire Line
+ 4700 2000 5100 2000
+Wire Wire Line
+ 4900 2250 4900 2000
+Connection ~ 4900 2000
+Wire Wire Line
+ 4900 2650 4900 2750
+Wire Wire Line
+ 5000 2600 5000 2700
+Wire Wire Line
+ 5000 2700 4900 2700
+Connection ~ 4900 2700
+Wire Wire Line
+ 5000 3400 5000 3100
+Wire Wire Line
+ 4900 3150 6000 3150
+Wire Wire Line
+ 4900 2150 5650 2150
+Connection ~ 4900 2150
+$Comp
+L eSim_MOS_N M5
+U 1 1 62B6BB39
+P 5750 2250
+F 0 "M5" H 5750 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 2200 50 0000 R CNN
+F 2 "" H 6050 1950 29 0000 C CNN
+F 3 "" H 5850 2050 60 0000 C CNN
+ 1 5750 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62B6BB82
+P 5800 1900
+F 0 "M6" H 5750 1950 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5850 2050 50 0000 R CNN
+F 2 "" H 6050 2000 29 0000 C CNN
+F 3 "" H 5850 1900 60 0000 C CNN
+ 1 5800 1900
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 5950 1700 6050 1700
+Wire Wire Line
+ 6050 1700 6050 1750
+Wire Wire Line
+ 6050 2600 6050 2650
+Wire Wire Line
+ 6050 2650 5950 2650
+Wire Wire Line
+ 5950 2100 5950 2250
+Wire Wire Line
+ 5650 1900 5650 2450
+Connection ~ 5650 2150
+Wire Wire Line
+ 5950 2150 6300 2150
+Connection ~ 5950 2150
+Wire Wire Line
+ 6000 1600 6000 1700
+Connection ~ 5100 1600
+Connection ~ 6000 1700
+Wire Wire Line
+ 6000 3150 6000 2650
+Connection ~ 5000 3150
+Connection ~ 6000 2650
+Wire Wire Line
+ 4400 1800 4400 2450
+Wire Wire Line
+ 4400 2450 4600 2450
+Wire Wire Line
+ 5400 1800 5400 2800
+Wire Wire Line
+ 5400 2800 4600 2800
+Wire Wire Line
+ 4600 2800 4600 2950
+Wire Wire Line
+ 4400 2100 3950 2100
+Connection ~ 4400 2100
+Wire Wire Line
+ 4600 2850 3950 2850
+Connection ~ 4600 2850
+$Comp
+L PORT U1
+U 3 1 62B6BDF0
+P 3700 2850
+F 0 "U1" H 3750 2950 30 0000 C CNN
+F 1 "PORT" H 3700 2850 30 0000 C CNN
+F 2 "" H 3700 2850 60 0000 C CNN
+F 3 "" H 3700 2850 60 0000 C CNN
+ 3 3700 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 62B6BE6B
+P 6550 2150
+F 0 "U1" H 6600 2250 30 0000 C CNN
+F 1 "PORT" H 6550 2150 30 0000 C CNN
+F 2 "" H 6550 2150 60 0000 C CNN
+F 3 "" H 6550 2150 60 0000 C CNN
+ 1 6550 2150
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62B6BEC8
+P 3700 2100
+F 0 "U1" H 3750 2200 30 0000 C CNN
+F 1 "PORT" H 3700 2100 30 0000 C CNN
+F 2 "" H 3700 2100 60 0000 C CNN
+F 3 "" H 3700 2100 60 0000 C CNN
+ 2 3700 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62B6BF63
+P 3750 1300
+F 0 "U1" H 3800 1400 30 0000 C CNN
+F 1 "PORT" H 3750 1300 30 0000 C CNN
+F 2 "" H 3750 1300 60 0000 C CNN
+F 3 "" H 3750 1300 60 0000 C CNN
+ 4 3750 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62B6BF90
+P 3800 3400
+F 0 "U1" H 3850 3500 30 0000 C CNN
+F 1 "PORT" H 3800 3400 30 0000 C CNN
+F 2 "" H 3800 3400 60 0000 C CNN
+F 3 "" H 3800 3400 60 0000 C CNN
+ 5 3800 3400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4000 1300 4900 1300
+Wire Wire Line
+ 4900 1300 4900 1600
+Connection ~ 4900 1600
+Wire Wire Line
+ 4050 3400 5000 3400
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate.sub b/library/SubcircuitLibrary/CD4028_B/AND_Gate.sub
new file mode 100644
index 00000000..ad6e1a1e
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate.sub
@@ -0,0 +1,14 @@
+* Subcircuit AND_Gate
+.subckt AND_Gate net-_m5-pad1_ net-_m1-pad2_ net-_m3-pad2_ net-_m1-pad3_ net-_m3-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\and_gate\and_gate.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m2-pad3_ net-_m3-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m1-pad1_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+* Control Statements
+
+.ends AND_Gate \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/AND_Gate_Previous_Values.xml b/library/SubcircuitLibrary/CD4028_B/AND_Gate_Previous_Values.xml
new file mode 100644
index 00000000..eabe321b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/AND_Gate_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B-cache.lib b/library/SubcircuitLibrary/CD4028_B/CD4028_B-cache.lib
new file mode 100644
index 00000000..972525a2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B-cache.lib
@@ -0,0 +1,136 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# AND_gate
+#
+DEF AND_gate X 0 40 Y Y 1 F N
+F0 "X" 150 50 60 H V C CNN
+F1 "AND_gate" 150 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+A 300 -25 202 603 -603 0 1 0 N 400 150 400 -200
+P 4 0 1 0 400 150 -300 150 -300 -200 400 -200 N
+X OUT 1 700 -50 200 L 50 50 1 1 O
+X A 2 -500 100 200 R 50 50 1 1 I
+X B 3 -500 -100 200 R 50 50 1 1 I
+X VDD 4 -50 350 200 D 50 50 1 1 I
+X GND 5 -150 -400 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# NOR
+#
+DEF NOR X 0 40 Y Y 1 F N
+F0 "X" 100 100 60 H V C CNN
+F1 "NOR" 150 -50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+C 400 0 50 0 1 0 N
+P 6 0 1 0 -250 150 250 150 350 0 250 -150 -250 -150 -250 150 N
+X OUT 1 650 0 200 L 50 50 1 1 O
+X A 2 -450 100 200 R 50 50 1 1 I
+X B 3 -450 -100 200 R 50 50 1 1 I
+X VDD 4 -100 350 200 D 50 50 1 1 I
+X GND 5 0 -350 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir b/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir
new file mode 100644
index 00000000..530338ba
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir
@@ -0,0 +1,36 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD4028_B\CD4028_B.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/26/22 16:06:47
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X5 Net-_X12-Pad2_ Net-_M4-Pad2_ Net-_M1-Pad2_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X6 Net-_X13-Pad2_ Net-_M4-Pad1_ Net-_M1-Pad2_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X7 Net-_X10-Pad2_ Net-_M4-Pad2_ Net-_M1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X2 Net-_X11-Pad2_ Net-_M4-Pad1_ Net-_M1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X1 Net-_X1-Pad1_ Net-_M2-Pad2_ Net-_M3-Pad2_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X3 Net-_X12-Pad3_ Net-_M2-Pad1_ Net-_M3-Pad2_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X4 Net-_X16-Pad3_ Net-_M2-Pad2_ Net-_M3-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ NOR
+X8 Net-_U1-Pad3_ Net-_X12-Pad2_ Net-_X1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X9 Net-_U1-Pad14_ Net-_X13-Pad2_ Net-_X1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X10 Net-_U1-Pad2_ Net-_X10-Pad2_ Net-_X1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X11 Net-_U1-Pad15_ Net-_X11-Pad2_ Net-_X1-Pad1_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X12 Net-_U1-Pad1_ Net-_X12-Pad2_ Net-_X12-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X13 Net-_U1-Pad6_ Net-_X13-Pad2_ Net-_X12-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X14 Net-_U1-Pad7_ Net-_X10-Pad2_ Net-_X12-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X15 Net-_U1-Pad4_ Net-_X11-Pad2_ Net-_X12-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X16 Net-_U1-Pad9_ Net-_X12-Pad2_ Net-_X16-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+X17 Net-_U1-Pad5_ Net-_X13-Pad2_ Net-_X16-Pad3_ Net-_M5-Pad3_ Net-_M1-Pad3_ AND_gate
+M8 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_P
+M4 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M5 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_P
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M7 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_P
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_M1-Pad3_ Net-_U1-Pad9_ Net-_M4-Pad2_ Net-_M3-Pad2_ Net-_M2-Pad2_ Net-_M1-Pad2_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_M5-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir.out b/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir.out
new file mode 100644
index 00000000..69859b03
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B.cir.out
@@ -0,0 +1,41 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd4028_b\cd4028_b.cir
+
+.include AND_Gate.sub
+.include NOR_Gate.sub
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+x5 net-_x12-pad2_ net-_m4-pad2_ net-_m1-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x6 net-_x13-pad2_ net-_m4-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x7 net-_x10-pad2_ net-_m4-pad2_ net-_m1-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x2 net-_x11-pad2_ net-_m4-pad1_ net-_m1-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x1 net-_x1-pad1_ net-_m2-pad2_ net-_m3-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x3 net-_x12-pad3_ net-_m2-pad1_ net-_m3-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x4 net-_x16-pad3_ net-_m2-pad2_ net-_m3-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x8 net-_u1-pad3_ net-_x12-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x9 net-_u1-pad14_ net-_x13-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x10 net-_u1-pad2_ net-_x10-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x11 net-_u1-pad15_ net-_x11-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x12 net-_u1-pad1_ net-_x12-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x13 net-_u1-pad6_ net-_x13-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x14 net-_u1-pad7_ net-_x10-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x15 net-_u1-pad4_ net-_x11-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x16 net-_u1-pad9_ net-_x12-pad2_ net-_x16-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x17 net-_u1-pad5_ net-_x13-pad2_ net-_x16-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_m4-pad2_ net-_m3-pad2_ net-_m2-pad2_ net-_m1-pad2_ net-_u1-pad14_ net-_u1-pad15_ net-_m5-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B.pro b/library/SubcircuitLibrary/CD4028_B/CD4028_B.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B.sch b/library/SubcircuitLibrary/CD4028_B/CD4028_B.sch
new file mode 100644
index 00000000..bf06b0df
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B.sch
@@ -0,0 +1,942 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD4028_B-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L NOR X5
+U 1 1 62B82191
+P 2900 1500
+F 0 "X5" H 3000 1600 60 0000 C CNN
+F 1 "NOR" H 3050 1450 60 0000 C CNN
+F 2 "" H 2900 1500 60 0001 C CNN
+F 3 "" H 2900 1500 60 0001 C CNN
+ 1 2900 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X6
+U 1 1 62B821F6
+P 2900 2400
+F 0 "X6" H 3000 2500 60 0000 C CNN
+F 1 "NOR" H 3050 2350 60 0000 C CNN
+F 2 "" H 2900 2400 60 0001 C CNN
+F 3 "" H 2900 2400 60 0001 C CNN
+ 1 2900 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X7
+U 1 1 62B82225
+P 2900 3250
+F 0 "X7" H 3000 3350 60 0000 C CNN
+F 1 "NOR" H 3050 3200 60 0000 C CNN
+F 2 "" H 2900 3250 60 0001 C CNN
+F 3 "" H 2900 3250 60 0001 C CNN
+ 1 2900 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X2
+U 1 1 62B8225C
+P 2850 4050
+F 0 "X2" H 2950 4150 60 0000 C CNN
+F 1 "NOR" H 3000 4000 60 0000 C CNN
+F 2 "" H 2850 4050 60 0001 C CNN
+F 3 "" H 2850 4050 60 0001 C CNN
+ 1 2850 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X1
+U 1 1 62B822A5
+P 2800 4950
+F 0 "X1" H 2900 5050 60 0000 C CNN
+F 1 "NOR" H 2950 4900 60 0000 C CNN
+F 2 "" H 2800 4950 60 0001 C CNN
+F 3 "" H 2800 4950 60 0001 C CNN
+ 1 2800 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X3
+U 1 1 62B8239B
+P 2850 5850
+F 0 "X3" H 2950 5950 60 0000 C CNN
+F 1 "NOR" H 3000 5800 60 0000 C CNN
+F 2 "" H 2850 5850 60 0001 C CNN
+F 3 "" H 2850 5850 60 0001 C CNN
+ 1 2850 5850
+ 1 0 0 -1
+$EndComp
+$Comp
+L NOR X4
+U 1 1 62B82472
+P 2850 6650
+F 0 "X4" H 2950 6750 60 0000 C CNN
+F 1 "NOR" H 3000 6600 60 0000 C CNN
+F 2 "" H 2850 6650 60 0001 C CNN
+F 3 "" H 2850 6650 60 0001 C CNN
+ 1 2850 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X8
+U 1 1 62B829B4
+P 4950 1050
+F 0 "X8" H 5100 1100 60 0000 C CNN
+F 1 "AND_gate" H 5100 950 60 0000 C CNN
+F 2 "" H 4950 1050 60 0001 C CNN
+F 3 "" H 4950 1050 60 0001 C CNN
+ 1 4950 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X9
+U 1 1 62B82D5D
+P 4950 1900
+F 0 "X9" H 5100 1950 60 0000 C CNN
+F 1 "AND_gate" H 5100 1800 60 0000 C CNN
+F 2 "" H 4950 1900 60 0001 C CNN
+F 3 "" H 4950 1900 60 0001 C CNN
+ 1 4950 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X10
+U 1 1 62B82D9A
+P 4950 2650
+F 0 "X10" H 5100 2700 60 0000 C CNN
+F 1 "AND_gate" H 5100 2550 60 0000 C CNN
+F 2 "" H 4950 2650 60 0001 C CNN
+F 3 "" H 4950 2650 60 0001 C CNN
+ 1 4950 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X11
+U 1 1 62B82DFB
+P 4950 3450
+F 0 "X11" H 5100 3500 60 0000 C CNN
+F 1 "AND_gate" H 5100 3350 60 0000 C CNN
+F 2 "" H 4950 3450 60 0001 C CNN
+F 3 "" H 4950 3450 60 0001 C CNN
+ 1 4950 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X12
+U 1 1 62B82E50
+P 4950 4200
+F 0 "X12" H 5100 4250 60 0000 C CNN
+F 1 "AND_gate" H 5100 4100 60 0000 C CNN
+F 2 "" H 4950 4200 60 0001 C CNN
+F 3 "" H 4950 4200 60 0001 C CNN
+ 1 4950 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X13
+U 1 1 62B82FFD
+P 4950 5000
+F 0 "X13" H 5100 5050 60 0000 C CNN
+F 1 "AND_gate" H 5100 4900 60 0000 C CNN
+F 2 "" H 4950 5000 60 0001 C CNN
+F 3 "" H 4950 5000 60 0001 C CNN
+ 1 4950 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X14
+U 1 1 62B83048
+P 4950 5750
+F 0 "X14" H 5100 5800 60 0000 C CNN
+F 1 "AND_gate" H 5100 5650 60 0000 C CNN
+F 2 "" H 4950 5750 60 0001 C CNN
+F 3 "" H 4950 5750 60 0001 C CNN
+ 1 4950 5750
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X15
+U 1 1 62B83307
+P 4950 6550
+F 0 "X15" H 5100 6600 60 0000 C CNN
+F 1 "AND_gate" H 5100 6450 60 0000 C CNN
+F 2 "" H 4950 6550 60 0001 C CNN
+F 3 "" H 4950 6550 60 0001 C CNN
+ 1 4950 6550
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X16
+U 1 1 62B83368
+P 7600 5150
+F 0 "X16" H 7750 5200 60 0000 C CNN
+F 1 "AND_gate" H 7750 5050 60 0000 C CNN
+F 2 "" H 7600 5150 60 0001 C CNN
+F 3 "" H 7600 5150 60 0001 C CNN
+ 1 7600 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L AND_gate X17
+U 1 1 62B83411
+P 7600 5950
+F 0 "X17" H 7750 6000 60 0000 C CNN
+F 1 "AND_gate" H 7750 5850 60 0000 C CNN
+F 2 "" H 7600 5950 60 0001 C CNN
+F 3 "" H 7600 5950 60 0001 C CNN
+ 1 7600 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 62B84DD0
+P 1500 1650
+F 0 "M8" H 1450 1700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 1550 1800 50 0000 R CNN
+F 2 "" H 1750 1750 29 0000 C CNN
+F 3 "" H 1550 1650 60 0000 C CNN
+ 1 1500 1650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62B84E21
+P 1450 2000
+F 0 "M4" H 1450 1850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 1550 1950 50 0000 R CNN
+F 2 "" H 1750 1700 29 0000 C CNN
+F 3 "" H 1550 1800 60 0000 C CNN
+ 1 1450 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 62B853D4
+P 1450 3200
+F 0 "M5" H 1400 3250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 1500 3350 50 0000 R CNN
+F 2 "" H 1700 3300 29 0000 C CNN
+F 3 "" H 1500 3200 60 0000 C CNN
+ 1 1450 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62B853DA
+P 1400 3550
+F 0 "M1" H 1400 3400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 1500 3500 50 0000 R CNN
+F 2 "" H 1700 3250 29 0000 C CNN
+F 3 "" H 1500 3350 60 0000 C CNN
+ 1 1400 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62B8576A
+P 1450 4650
+F 0 "M6" H 1400 4700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 1500 4800 50 0000 R CNN
+F 2 "" H 1700 4750 29 0000 C CNN
+F 3 "" H 1500 4650 60 0000 C CNN
+ 1 1450 4650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62B85770
+P 1400 5000
+F 0 "M2" H 1400 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 1500 4950 50 0000 R CNN
+F 2 "" H 1700 4700 29 0000 C CNN
+F 3 "" H 1500 4800 60 0000 C CNN
+ 1 1400 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62B857E4
+P 1450 6000
+F 0 "M7" H 1400 6050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 1500 6150 50 0000 R CNN
+F 2 "" H 1700 6100 29 0000 C CNN
+F 3 "" H 1500 6000 60 0000 C CNN
+ 1 1450 6000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62B857EA
+P 1400 6350
+F 0 "M3" H 1400 6200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 1500 6300 50 0000 R CNN
+F 2 "" H 1700 6050 29 0000 C CNN
+F 3 "" H 1500 6150 60 0000 C CNN
+ 1 1400 6350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1350 1650 1350 2200
+Wire Wire Line
+ 1650 1450 1750 1450
+Wire Wire Line
+ 1750 1450 1750 1500
+Wire Wire Line
+ 1750 2350 1750 2400
+Wire Wire Line
+ 1650 2400 1800 2400
+Wire Wire Line
+ 1650 1850 1650 2000
+Wire Wire Line
+ 1300 3200 1300 3750
+Wire Wire Line
+ 1600 3000 1900 3000
+Wire Wire Line
+ 1700 3000 1700 3050
+Wire Wire Line
+ 1700 3900 1700 3950
+Wire Wire Line
+ 1600 3950 1800 3950
+Wire Wire Line
+ 1600 3400 1600 3550
+Wire Wire Line
+ 1300 4650 1300 5200
+Wire Wire Line
+ 1600 4450 1700 4450
+Wire Wire Line
+ 1700 4450 1700 4500
+Wire Wire Line
+ 1700 5350 1700 5400
+Wire Wire Line
+ 1600 5400 1800 5400
+Wire Wire Line
+ 1600 4850 1600 5000
+Wire Wire Line
+ 1300 6000 1300 6550
+Wire Wire Line
+ 1600 5800 1700 5800
+Wire Wire Line
+ 1700 5800 1700 5850
+Wire Wire Line
+ 1700 6700 1700 6750
+Wire Wire Line
+ 1600 6750 1800 6750
+Wire Wire Line
+ 1600 6200 1600 6350
+Wire Wire Line
+ 1050 1900 1350 1900
+Connection ~ 1350 1900
+Wire Wire Line
+ 1650 1900 1950 1900
+Connection ~ 1650 1900
+Wire Wire Line
+ 1600 3450 2100 3450
+Connection ~ 1600 3450
+Wire Wire Line
+ 1100 3450 1300 3450
+Connection ~ 1300 3450
+Wire Wire Line
+ 1600 4900 1950 4900
+Connection ~ 1600 4900
+Wire Wire Line
+ 1300 4900 1100 4900
+Connection ~ 1300 4900
+Wire Wire Line
+ 1600 6300 2050 6300
+Connection ~ 1600 6300
+Wire Wire Line
+ 1300 6300 1150 6300
+Connection ~ 1300 6300
+Wire Wire Line
+ 4450 950 3800 950
+Wire Wire Line
+ 3800 950 3800 7350
+Wire Wire Line
+ 3800 4100 4450 4100
+Wire Wire Line
+ 3800 7350 6650 7350
+Wire Wire Line
+ 6650 7350 6650 5050
+Wire Wire Line
+ 6650 5050 7100 5050
+Connection ~ 3800 4100
+Wire Wire Line
+ 4300 4950 3450 4950
+Wire Wire Line
+ 4300 1150 4300 4950
+Wire Wire Line
+ 4300 3550 4450 3550
+Wire Wire Line
+ 4300 2750 4450 2750
+Connection ~ 4300 3550
+Wire Wire Line
+ 4300 2000 4450 2000
+Connection ~ 4300 2750
+Wire Wire Line
+ 4300 1150 4450 1150
+Connection ~ 4300 2000
+Wire Wire Line
+ 4000 1800 4450 1800
+Wire Wire Line
+ 4000 1800 4000 7250
+Wire Wire Line
+ 4000 4900 4450 4900
+Wire Wire Line
+ 4000 7250 6550 7250
+Wire Wire Line
+ 6550 7250 6550 5850
+Wire Wire Line
+ 6550 5850 7100 5850
+Connection ~ 4000 4900
+Wire Wire Line
+ 4450 2550 4100 2550
+Wire Wire Line
+ 4100 2550 4100 5650
+Wire Wire Line
+ 4100 5650 4450 5650
+Wire Wire Line
+ 4450 3350 4200 3350
+Wire Wire Line
+ 4200 3350 4200 6450
+Wire Wire Line
+ 4200 6450 4450 6450
+Wire Wire Line
+ 4450 4300 4350 4300
+Wire Wire Line
+ 4350 4300 4350 6650
+Wire Wire Line
+ 4350 5100 4450 5100
+Wire Wire Line
+ 4350 5850 4450 5850
+Connection ~ 4350 5100
+Wire Wire Line
+ 4350 6650 4450 6650
+Connection ~ 4350 5850
+Wire Wire Line
+ 7100 5250 6950 5250
+Wire Wire Line
+ 6950 5250 6950 6050
+Wire Wire Line
+ 6950 6050 7100 6050
+Wire Wire Line
+ 3550 1500 3800 1500
+Connection ~ 3800 1500
+Wire Wire Line
+ 3550 2400 4000 2400
+Connection ~ 4000 2400
+Wire Wire Line
+ 3550 3250 4100 3250
+Connection ~ 4100 3250
+Wire Wire Line
+ 3500 4050 4200 4050
+Connection ~ 4200 4050
+Wire Wire Line
+ 3500 5850 3600 5850
+Wire Wire Line
+ 3600 5850 3600 6100
+Wire Wire Line
+ 3600 6100 4350 6100
+Connection ~ 4350 6100
+Wire Wire Line
+ 3500 6650 4100 6650
+Wire Wire Line
+ 4100 6650 4100 7150
+Wire Wire Line
+ 4100 7150 6400 7150
+Wire Wire Line
+ 6400 7150 6400 5600
+Wire Wire Line
+ 6400 5600 6950 5600
+Connection ~ 6950 5600
+Wire Wire Line
+ 1250 1900 1250 1400
+Wire Wire Line
+ 1250 1400 2450 1400
+Connection ~ 1250 1900
+Wire Wire Line
+ 1250 3450 1250 2700
+Wire Wire Line
+ 1250 2700 2150 2700
+Wire Wire Line
+ 2150 2700 2150 1600
+Wire Wire Line
+ 2150 1600 2450 1600
+Connection ~ 1250 3450
+Wire Wire Line
+ 1950 1900 1950 2300
+Wire Wire Line
+ 1950 2300 2450 2300
+Wire Wire Line
+ 2150 2500 2450 2500
+Connection ~ 2150 2500
+Wire Wire Line
+ 2100 3350 2100 4150
+Wire Wire Line
+ 2100 3350 2450 3350
+Wire Wire Line
+ 2250 1400 2250 3150
+Wire Wire Line
+ 2250 3150 2450 3150
+Connection ~ 2250 1400
+Wire Wire Line
+ 2000 2300 2000 3950
+Wire Wire Line
+ 2000 3950 2400 3950
+Connection ~ 2000 2300
+Wire Wire Line
+ 2100 4150 2400 4150
+Connection ~ 2100 3450
+Wire Wire Line
+ 1250 4900 1250 4350
+Wire Wire Line
+ 1250 4350 2250 4350
+Wire Wire Line
+ 2250 4350 2250 6550
+Wire Wire Line
+ 2250 4850 2350 4850
+Connection ~ 1250 4900
+Wire Wire Line
+ 1250 6300 1250 5600
+Wire Wire Line
+ 1250 5600 2100 5600
+Wire Wire Line
+ 2100 5050 2100 5950
+Wire Wire Line
+ 2100 5050 2350 5050
+Connection ~ 1250 6300
+Wire Wire Line
+ 1950 4900 1950 5750
+Wire Wire Line
+ 1950 5750 2400 5750
+Wire Wire Line
+ 2100 5950 2400 5950
+Connection ~ 2100 5600
+Wire Wire Line
+ 2250 6550 2400 6550
+Connection ~ 2250 4850
+Wire Wire Line
+ 2050 6300 2050 6750
+Wire Wire Line
+ 2050 6750 2400 6750
+Wire Wire Line
+ 2800 1150 2800 700
+Wire Wire Line
+ 1100 700 6100 700
+Wire Wire Line
+ 1700 1450 1700 700
+Connection ~ 2800 700
+Connection ~ 1700 1450
+Wire Wire Line
+ 2800 2050 2350 2050
+Wire Wire Line
+ 2350 700 2350 6300
+Connection ~ 2350 700
+Wire Wire Line
+ 2350 2900 2800 2900
+Connection ~ 2350 2050
+Wire Wire Line
+ 2750 3700 2750 3650
+Wire Wire Line
+ 2750 3650 2350 3650
+Connection ~ 2350 2900
+Wire Wire Line
+ 2350 4600 2700 4600
+Connection ~ 2350 3650
+Wire Wire Line
+ 2750 5500 2750 5400
+Wire Wire Line
+ 2750 5400 2350 5400
+Connection ~ 2350 4600
+Wire Wire Line
+ 2350 6300 2750 6300
+Connection ~ 2350 5400
+Wire Wire Line
+ 4900 1550 6100 1550
+Wire Wire Line
+ 6100 700 6100 6200
+Connection ~ 4900 700
+Wire Wire Line
+ 6100 2300 4900 2300
+Connection ~ 6100 1550
+Wire Wire Line
+ 6100 3100 4900 3100
+Connection ~ 6100 2300
+Wire Wire Line
+ 6100 3850 4900 3850
+Connection ~ 6100 3100
+Wire Wire Line
+ 4900 4650 8600 4650
+Connection ~ 6100 3850
+Wire Wire Line
+ 6100 5400 4900 5400
+Connection ~ 6100 4650
+Wire Wire Line
+ 6100 6200 4900 6200
+Connection ~ 6100 5400
+Wire Wire Line
+ 7550 4650 7550 4800
+Wire Wire Line
+ 7550 5600 8600 5600
+Wire Wire Line
+ 8600 5600 8600 4650
+Connection ~ 7550 4650
+Wire Wire Line
+ 1800 2400 1800 7250
+Connection ~ 1700 6750
+Connection ~ 1700 5400
+Wire Wire Line
+ 1550 7250 2850 7250
+Wire Wire Line
+ 2850 7250 2850 7000
+Connection ~ 1800 6750
+Wire Wire Line
+ 4800 6950 4800 7050
+Wire Wire Line
+ 2850 7050 6300 7050
+Connection ~ 2850 7050
+Connection ~ 1800 7250
+Wire Wire Line
+ 7450 5550 7000 5550
+Wire Wire Line
+ 7000 5550 7000 6350
+Wire Wire Line
+ 6300 6350 7450 6350
+Wire Wire Line
+ 6300 7050 6300 6350
+Connection ~ 4800 7050
+Connection ~ 7000 6350
+Connection ~ 1800 5400
+Connection ~ 1700 3950
+Connection ~ 1800 3950
+Connection ~ 1750 2400
+Wire Wire Line
+ 1800 2800 2900 2800
+Wire Wire Line
+ 2900 2800 2900 2750
+Connection ~ 1800 2800
+Wire Wire Line
+ 1800 3600 2900 3600
+Connection ~ 1800 3600
+Wire Wire Line
+ 1800 4450 2850 4450
+Wire Wire Line
+ 2850 4450 2850 4400
+Connection ~ 1800 4450
+Wire Wire Line
+ 2800 5300 1800 5300
+Connection ~ 1800 5300
+Wire Wire Line
+ 2850 6200 1800 6200
+Connection ~ 1800 6200
+Wire Wire Line
+ 1900 1200 1900 5700
+Wire Wire Line
+ 1900 1200 1700 1200
+Connection ~ 1700 1200
+Connection ~ 1700 3000
+Wire Wire Line
+ 1900 4250 1650 4250
+Wire Wire Line
+ 1650 4250 1650 4450
+Connection ~ 1650 4450
+Connection ~ 1900 3000
+Wire Wire Line
+ 1900 5700 1650 5700
+Wire Wire Line
+ 1650 5700 1650 5800
+Connection ~ 1650 5800
+Connection ~ 1900 4250
+Connection ~ 1700 700
+Wire Wire Line
+ 4800 1450 4350 1450
+Wire Wire Line
+ 4350 1450 4350 3850
+Wire Wire Line
+ 4350 2300 4800 2300
+Wire Wire Line
+ 4350 3050 4800 3050
+Connection ~ 4350 2300
+Wire Wire Line
+ 4350 3850 4800 3850
+Connection ~ 4350 3050
+Wire Wire Line
+ 4400 3850 4400 7050
+Wire Wire Line
+ 4400 4600 4800 4600
+Connection ~ 4400 3850
+Wire Wire Line
+ 4400 5400 4800 5400
+Connection ~ 4400 4600
+Wire Wire Line
+ 4400 6150 4800 6150
+Connection ~ 4400 5400
+Connection ~ 4400 7050
+Connection ~ 4400 6150
+Wire Wire Line
+ 8300 5200 8950 5200
+Wire Wire Line
+ 8300 6000 8950 6000
+Wire Wire Line
+ 5650 1100 6900 1100
+Wire Wire Line
+ 5650 1950 6900 1950
+Wire Wire Line
+ 5650 2700 6900 2700
+Wire Wire Line
+ 5650 3500 6900 3500
+Wire Wire Line
+ 5650 5050 5900 5050
+Wire Wire Line
+ 5900 5050 5900 4450
+Wire Wire Line
+ 5900 4450 6950 4450
+Wire Wire Line
+ 5650 4250 6900 4250
+Wire Wire Line
+ 5650 5800 6250 5800
+Wire Wire Line
+ 6250 5800 6250 4550
+Wire Wire Line
+ 6250 4550 8850 4550
+Wire Wire Line
+ 5650 6600 6150 6600
+Wire Wire Line
+ 6150 6600 6150 4750
+Wire Wire Line
+ 6150 4750 8900 4750
+Wire Wire Line
+ 2900 1850 2900 1900
+Wire Wire Line
+ 2900 1900 2400 1900
+Wire Wire Line
+ 2400 1900 2400 2800
+Connection ~ 2400 2800
+$Comp
+L PORT U1
+U 2 1 62B8A45F
+P 7150 2700
+F 0 "U1" H 7200 2800 30 0000 C CNN
+F 1 "PORT" H 7150 2700 30 0000 C CNN
+F 2 "" H 7150 2700 60 0000 C CNN
+F 3 "" H 7150 2700 60 0000 C CNN
+ 2 7150 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 62B8A7E0
+P 7150 4250
+F 0 "U1" H 7200 4350 30 0000 C CNN
+F 1 "PORT" H 7150 4250 30 0000 C CNN
+F 2 "" H 7150 4250 60 0000 C CNN
+F 3 "" H 7150 4250 60 0000 C CNN
+ 1 7150 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62B8AE80
+P 7150 1100
+F 0 "U1" H 7200 1200 30 0000 C CNN
+F 1 "PORT" H 7150 1100 30 0000 C CNN
+F 2 "" H 7150 1100 60 0000 C CNN
+F 3 "" H 7150 1100 60 0000 C CNN
+ 3 7150 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62B8AFD9
+P 9150 4750
+F 0 "U1" H 9200 4850 30 0000 C CNN
+F 1 "PORT" H 9150 4750 30 0000 C CNN
+F 2 "" H 9150 4750 60 0000 C CNN
+F 3 "" H 9150 4750 60 0000 C CNN
+ 4 9150 4750
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62B8B2B9
+P 9200 6000
+F 0 "U1" H 9250 6100 30 0000 C CNN
+F 1 "PORT" H 9200 6000 30 0000 C CNN
+F 2 "" H 9200 6000 60 0000 C CNN
+F 3 "" H 9200 6000 60 0000 C CNN
+ 5 9200 6000
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62B8B3EE
+P 7200 4450
+F 0 "U1" H 7250 4550 30 0000 C CNN
+F 1 "PORT" H 7200 4450 30 0000 C CNN
+F 2 "" H 7200 4450 60 0000 C CNN
+F 3 "" H 7200 4450 60 0000 C CNN
+ 6 7200 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62B8B4A7
+P 9100 4550
+F 0 "U1" H 9150 4650 30 0000 C CNN
+F 1 "PORT" H 9100 4550 30 0000 C CNN
+F 2 "" H 9100 4550 60 0000 C CNN
+F 3 "" H 9100 4550 60 0000 C CNN
+ 7 9100 4550
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62B8B62F
+P 9200 5200
+F 0 "U1" H 9250 5300 30 0000 C CNN
+F 1 "PORT" H 9200 5200 30 0000 C CNN
+F 2 "" H 9200 5200 60 0000 C CNN
+F 3 "" H 9200 5200 60 0000 C CNN
+ 9 9200 5200
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62B8C927
+P 1300 7250
+F 0 "U1" H 1350 7350 30 0000 C CNN
+F 1 "PORT" H 1300 7250 30 0000 C CNN
+F 2 "" H 1300 7250 60 0000 C CNN
+F 3 "" H 1300 7250 60 0000 C CNN
+ 8 1300 7250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62B8CB64
+P 800 1900
+F 0 "U1" H 850 2000 30 0000 C CNN
+F 1 "PORT" H 800 1900 30 0000 C CNN
+F 2 "" H 800 1900 60 0000 C CNN
+F 3 "" H 800 1900 60 0000 C CNN
+ 10 800 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62B8CC31
+P 900 6300
+F 0 "U1" H 950 6400 30 0000 C CNN
+F 1 "PORT" H 900 6300 30 0000 C CNN
+F 2 "" H 900 6300 60 0000 C CNN
+F 3 "" H 900 6300 60 0000 C CNN
+ 11 900 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62B8CCFC
+P 850 4900
+F 0 "U1" H 900 5000 30 0000 C CNN
+F 1 "PORT" H 850 4900 30 0000 C CNN
+F 2 "" H 850 4900 60 0000 C CNN
+F 3 "" H 850 4900 60 0000 C CNN
+ 12 850 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62B8CDE1
+P 850 3450
+F 0 "U1" H 900 3550 30 0000 C CNN
+F 1 "PORT" H 850 3450 30 0000 C CNN
+F 2 "" H 850 3450 60 0000 C CNN
+F 3 "" H 850 3450 60 0000 C CNN
+ 13 850 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62B8D384
+P 7150 1950
+F 0 "U1" H 7200 2050 30 0000 C CNN
+F 1 "PORT" H 7150 1950 30 0000 C CNN
+F 2 "" H 7150 1950 60 0000 C CNN
+F 3 "" H 7150 1950 60 0000 C CNN
+ 14 7150 1950
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62B8D53F
+P 7150 3500
+F 0 "U1" H 7200 3600 30 0000 C CNN
+F 1 "PORT" H 7150 3500 30 0000 C CNN
+F 2 "" H 7150 3500 60 0000 C CNN
+F 3 "" H 7150 3500 60 0000 C CNN
+ 15 7150 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62B8D8EA
+P 850 700
+F 0 "U1" H 900 800 30 0000 C CNN
+F 1 "PORT" H 850 700 30 0000 C CNN
+F 2 "" H 850 700 60 0000 C CNN
+F 3 "" H 850 700 60 0000 C CNN
+ 16 850 700
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B.sub b/library/SubcircuitLibrary/CD4028_B/CD4028_B.sub
new file mode 100644
index 00000000..f43f7ea9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B.sub
@@ -0,0 +1,35 @@
+* Subcircuit CD4028_B
+.subckt CD4028_B net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_m4-pad2_ net-_m3-pad2_ net-_m2-pad2_ net-_m1-pad2_ net-_u1-pad14_ net-_u1-pad15_ net-_m5-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd4028_b\cd4028_b.cir
+.include AND_Gate.sub
+.include NOR_Gate.sub
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+x5 net-_x12-pad2_ net-_m4-pad2_ net-_m1-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x6 net-_x13-pad2_ net-_m4-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x7 net-_x10-pad2_ net-_m4-pad2_ net-_m1-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x2 net-_x11-pad2_ net-_m4-pad1_ net-_m1-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x1 net-_x1-pad1_ net-_m2-pad2_ net-_m3-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x3 net-_x12-pad3_ net-_m2-pad1_ net-_m3-pad2_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x4 net-_x16-pad3_ net-_m2-pad2_ net-_m3-pad1_ net-_m5-pad3_ net-_m1-pad3_ NOR_Gate
+x8 net-_u1-pad3_ net-_x12-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x9 net-_u1-pad14_ net-_x13-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x10 net-_u1-pad2_ net-_x10-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x11 net-_u1-pad15_ net-_x11-pad2_ net-_x1-pad1_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x12 net-_u1-pad1_ net-_x12-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x13 net-_u1-pad6_ net-_x13-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x14 net-_u1-pad7_ net-_x10-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x15 net-_u1-pad4_ net-_x11-pad2_ net-_x12-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x16 net-_u1-pad9_ net-_x12-pad2_ net-_x16-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+x17 net-_u1-pad5_ net-_x13-pad2_ net-_x16-pad3_ net-_m5-pad3_ net-_m1-pad3_ AND_Gate
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD4028_B \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/CD4028_B_Previous_Values.xml b/library/SubcircuitLibrary/CD4028_B/CD4028_B_Previous_Values.xml
new file mode 100644
index 00000000..d5185cb2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/CD4028_B_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3></devicemodel><subcircuit><x5><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x5><x6><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x6><x7><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x7><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x2><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x1><x3><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x3><x4><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate</field></x4><x8><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x8><x9><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x9><x10><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x10><x11><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x11><x12><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x12><x13><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x13><x14><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x14><x15><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x15><x16><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x16><x17><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\AND_Gate</field></x17></subcircuit></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/NMOS-180nm.lib b/library/SubcircuitLibrary/CD4028_B/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate-cache.lib b/library/SubcircuitLibrary/CD4028_B/NOR_Gate-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir
new file mode 100644
index 00000000..51675c6f
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir
@@ -0,0 +1,15 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\NOR_Gate\NOR_Gate.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/26/22 11:08:33
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M2 Net-_M2-Pad1_ Net-_M1-Pad2_ Net-_M2-Pad3_ Net-_M2-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M3 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M2-Pad1_ Net-_M2-Pad1_ eSim_MOS_P
+M4 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M3-Pad2_ Net-_M2-Pad3_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir.out b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir.out
new file mode 100644
index 00000000..9bf686dc
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.cir.out
@@ -0,0 +1,18 @@
+* c:\fossee\esim\library\subcircuitlibrary\nor_gate\nor_gate.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m2 net-_m2-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m2-pad1_ net-_m2-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad2_ net-_m2-pad3_ net-_m1-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate.pro b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sch b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sch
new file mode 100644
index 00000000..e1d72f85
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sch
@@ -0,0 +1,211 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:NOR_Gate-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M2
+U 1 1 62B6BCF2
+P 4800 2350
+F 0 "M2" H 4750 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 2500 50 0000 R CNN
+F 2 "" H 5050 2450 29 0000 C CNN
+F 3 "" H 4850 2350 60 0000 C CNN
+ 1 4800 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62B6BD21
+P 4500 3350
+F 0 "M1" H 4500 3200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4600 3300 50 0000 R CNN
+F 2 "" H 4800 3050 29 0000 C CNN
+F 3 "" H 4600 3150 60 0000 C CNN
+ 1 4500 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 62B6BD52
+P 4800 2850
+F 0 "M3" H 4750 2900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 3000 50 0000 R CNN
+F 2 "" H 5050 2950 29 0000 C CNN
+F 3 "" H 4850 2850 60 0000 C CNN
+ 1 4800 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62B6BE27
+P 5350 3350
+F 0 "M4" H 5350 3200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5450 3300 50 0000 R CNN
+F 2 "" H 5650 3050 29 0000 C CNN
+F 3 "" H 5450 3150 60 0000 C CNN
+ 1 5350 3350
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4950 2550 4950 2650
+Wire Wire Line
+ 4950 3050 4950 3250
+Wire Wire Line
+ 4700 3350 4700 3250
+Wire Wire Line
+ 4700 3250 5150 3250
+Wire Wire Line
+ 5150 3250 5150 3350
+Connection ~ 4950 3250
+Wire Wire Line
+ 4800 3700 4800 3750
+Wire Wire Line
+ 4700 3750 5150 3750
+Wire Wire Line
+ 5050 3750 5050 3700
+Wire Wire Line
+ 5050 2200 5050 2150
+Wire Wire Line
+ 5050 2150 4950 2150
+Wire Wire Line
+ 5050 2700 5050 2650
+Wire Wire Line
+ 5050 2650 4950 2650
+Connection ~ 5050 3750
+Connection ~ 4800 3750
+Wire Wire Line
+ 4650 2350 4250 2350
+Wire Wire Line
+ 4250 2350 4250 3550
+Wire Wire Line
+ 4250 3550 4400 3550
+Wire Wire Line
+ 5450 3550 5450 3200
+Wire Wire Line
+ 5450 3200 4650 3200
+Wire Wire Line
+ 4650 3200 4650 2850
+Wire Wire Line
+ 4950 3050 5800 3050
+Wire Wire Line
+ 4250 2450 4000 2450
+Connection ~ 4250 2450
+Wire Wire Line
+ 4650 2950 4000 2950
+Connection ~ 4650 2950
+Wire Wire Line
+ 5000 2150 5000 2100
+Wire Wire Line
+ 5000 2100 4000 2100
+Connection ~ 5000 2150
+Wire Wire Line
+ 4950 3750 4950 3850
+Wire Wire Line
+ 4950 3850 4050 3850
+Connection ~ 4950 3750
+$Comp
+L PORT U1
+U 5 1 62B6C047
+P 3800 3850
+F 0 "U1" H 3850 3950 30 0000 C CNN
+F 1 "PORT" H 3800 3850 30 0000 C CNN
+F 2 "" H 3800 3850 60 0000 C CNN
+F 3 "" H 3800 3850 60 0000 C CNN
+ 5 3800 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62B6C0A2
+P 3750 2450
+F 0 "U1" H 3800 2550 30 0000 C CNN
+F 1 "PORT" H 3750 2450 30 0000 C CNN
+F 2 "" H 3750 2450 60 0000 C CNN
+F 3 "" H 3750 2450 60 0000 C CNN
+ 2 3750 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62B6C0DB
+P 3750 2950
+F 0 "U1" H 3800 3050 30 0000 C CNN
+F 1 "PORT" H 3750 2950 30 0000 C CNN
+F 2 "" H 3750 2950 60 0000 C CNN
+F 3 "" H 3750 2950 60 0000 C CNN
+ 3 3750 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 62B6C112
+P 6050 3050
+F 0 "U1" H 6100 3150 30 0000 C CNN
+F 1 "PORT" H 6050 3050 30 0000 C CNN
+F 2 "" H 6050 3050 60 0000 C CNN
+F 3 "" H 6050 3050 60 0000 C CNN
+ 1 6050 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62B6C165
+P 3750 2100
+F 0 "U1" H 3800 2200 30 0000 C CNN
+F 1 "PORT" H 3750 2100 30 0000 C CNN
+F 2 "" H 3750 2100 60 0000 C CNN
+F 3 "" H 3750 2100 60 0000 C CNN
+ 4 3750 2100
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sub b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sub
new file mode 100644
index 00000000..7ce33167
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate.sub
@@ -0,0 +1,12 @@
+* Subcircuit NOR_Gate
+.subckt NOR_Gate net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad2_ net-_m2-pad3_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\nor_gate\nor_gate.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m2 net-_m2-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m2-pad1_ net-_m2-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends NOR_Gate \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/NOR_Gate_Previous_Values.xml b/library/SubcircuitLibrary/CD4028_B/NOR_Gate_Previous_Values.xml
new file mode 100644
index 00000000..31ba7357
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/NOR_Gate_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/PMOS-180nm.lib b/library/SubcircuitLibrary/CD4028_B/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD4028_B/README.md b/library/SubcircuitLibrary/CD4028_B/README.md
new file mode 100644
index 00000000..2a53ca39
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/README.md
@@ -0,0 +1,27 @@
+
+# CD4028 IC
+
+It is BCD to Decimal converter IC. CD4028 IC is designed with 180nm CMOS technology in eSim. It is 16 pin IC.
+## Usage/Examples
+
+Code Conversion
+
+Indication-Tube Decoder
+
+Address Decoding
+
+Memory Selection Control
+## Documentation
+
+To know the details of CD4028 IC please go through with the documentation : [CD4028_datasheet](https://www.ti.com/lit/gpn/cd4028b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4028_B/analysis b/library/SubcircuitLibrary/CD4028_B/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4028_B/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4069/CD4069-cache.lib b/library/SubcircuitLibrary/CD4069/CD4069-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD4069/CD4069.cir b/library/SubcircuitLibrary/CD4069/CD4069.cir
new file mode 100644
index 00000000..d7fb6c17
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069.cir
@@ -0,0 +1,23 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD4069\CD4069.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/04/22 15:25:23
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M9 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M12 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M5 Net-_M5-Pad1_ Net-_M5-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M6 Net-_M5-Pad1_ Net-_M5-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M7 Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M8 Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M2 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M4 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad2_ Net-_M1-Pad1_ Net-_M5-Pad2_ Net-_M5-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad3_ Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD4069/CD4069.cir.out b/library/SubcircuitLibrary/CD4069/CD4069.cir.out
new file mode 100644
index 00000000..30d857e9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069.cir.out
@@ -0,0 +1,26 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd4069\cd4069.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m11-pad1_ net-_m11-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m5-pad1_ net-_m5-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m3-pad1_ net-_m3-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m1-pad1_ net-_m5-pad2_ net-_m5-pad1_ net-_m10-pad2_ net-_m10-pad1_ net-_m10-pad3_ net-_m11-pad1_ net-_m11-pad2_ net-_m7-pad1_ net-_m7-pad2_ net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD4069/CD4069.pro b/library/SubcircuitLibrary/CD4069/CD4069.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD4069/CD4069.sch b/library/SubcircuitLibrary/CD4069/CD4069.sch
new file mode 100644
index 00000000..3f09dcf2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069.sch
@@ -0,0 +1,463 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4069-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M9
+U 1 1 629B270D
+P 5250 3900
+F 0 "M9" H 5200 3950 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5300 4050 50 0000 R CNN
+F 2 "" H 5500 4000 29 0000 C CNN
+F 3 "" H 5300 3900 60 0000 C CNN
+ 1 5250 3900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 629B270E
+P 5200 4150
+F 0 "M10" H 5200 4000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 4100 50 0000 R CNN
+F 2 "" H 5500 3850 29 0000 C CNN
+F 3 "" H 5300 3950 60 0000 C CNN
+ 1 5200 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5400 4100 5400 4150
+Wire Wire Line
+ 5100 3900 5100 4350
+Wire Wire Line
+ 5400 3700 7450 3700
+Wire Wire Line
+ 5500 3700 5500 3750
+Wire Wire Line
+ 5400 4550 7450 4550
+Wire Wire Line
+ 5500 4550 5500 4500
+$Comp
+L eSim_MOS_P M11
+U 1 1 629B270F
+P 7600 3900
+F 0 "M11" H 7550 3950 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7650 4050 50 0000 R CNN
+F 2 "" H 7850 4000 29 0000 C CNN
+F 3 "" H 7650 3900 60 0000 C CNN
+ 1 7600 3900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M12
+U 1 1 629B2710
+P 7650 4150
+F 0 "M12" H 7650 4000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7750 4100 50 0000 R CNN
+F 2 "" H 7950 3850 29 0000 C CNN
+F 3 "" H 7750 3950 60 0000 C CNN
+ 1 7650 4150
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7450 4100 7450 4150
+Wire Wire Line
+ 7750 3900 7750 4350
+Wire Wire Line
+ 7350 3700 7350 3750
+Wire Wire Line
+ 7350 4550 7350 4500
+$Comp
+L eSim_MOS_P M5
+U 1 1 629B2711
+P 5250 2800
+F 0 "M5" H 5200 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5300 2950 50 0000 R CNN
+F 2 "" H 5500 2900 29 0000 C CNN
+F 3 "" H 5300 2800 60 0000 C CNN
+ 1 5250 2800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 629B2712
+P 5200 3050
+F 0 "M6" H 5200 2900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 3000 50 0000 R CNN
+F 2 "" H 5500 2750 29 0000 C CNN
+F 3 "" H 5300 2850 60 0000 C CNN
+ 1 5200 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5400 3000 5400 3050
+Wire Wire Line
+ 5100 2800 5100 3250
+Wire Wire Line
+ 5400 2600 7450 2600
+Wire Wire Line
+ 5500 2600 5500 2650
+Wire Wire Line
+ 5400 3450 7450 3450
+Wire Wire Line
+ 5500 3450 5500 3400
+$Comp
+L eSim_MOS_P M7
+U 1 1 629B2713
+P 7600 2800
+F 0 "M7" H 7550 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7650 2950 50 0000 R CNN
+F 2 "" H 7850 2900 29 0000 C CNN
+F 3 "" H 7650 2800 60 0000 C CNN
+ 1 7600 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 629B2714
+P 7650 3050
+F 0 "M8" H 7650 2900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7750 3000 50 0000 R CNN
+F 2 "" H 7950 2750 29 0000 C CNN
+F 3 "" H 7750 2850 60 0000 C CNN
+ 1 7650 3050
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7450 3000 7450 3050
+Wire Wire Line
+ 7750 2800 7750 3250
+Wire Wire Line
+ 7350 2600 7350 2650
+Wire Wire Line
+ 7350 3450 7350 3400
+$Comp
+L eSim_MOS_P M1
+U 1 1 629B2715
+P 5250 1650
+F 0 "M1" H 5200 1700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5300 1800 50 0000 R CNN
+F 2 "" H 5500 1750 29 0000 C CNN
+F 3 "" H 5300 1650 60 0000 C CNN
+ 1 5250 1650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 629B2716
+P 5200 1900
+F 0 "M2" H 5200 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 1850 50 0000 R CNN
+F 2 "" H 5500 1600 29 0000 C CNN
+F 3 "" H 5300 1700 60 0000 C CNN
+ 1 5200 1900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5400 1850 5400 1900
+Wire Wire Line
+ 5100 1650 5100 2100
+Wire Wire Line
+ 5400 1450 7450 1450
+Wire Wire Line
+ 5500 1450 5500 1500
+Wire Wire Line
+ 5400 2300 7450 2300
+Wire Wire Line
+ 5500 2300 5500 2250
+$Comp
+L eSim_MOS_P M3
+U 1 1 629B2717
+P 7600 1650
+F 0 "M3" H 7550 1700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7650 1800 50 0000 R CNN
+F 2 "" H 7850 1750 29 0000 C CNN
+F 3 "" H 7650 1650 60 0000 C CNN
+ 1 7600 1650
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 629B2718
+P 7650 1900
+F 0 "M4" H 7650 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7750 1850 50 0000 R CNN
+F 2 "" H 7950 1600 29 0000 C CNN
+F 3 "" H 7750 1700 60 0000 C CNN
+ 1 7650 1900
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7450 1850 7450 1900
+Wire Wire Line
+ 7750 1650 7750 2100
+Wire Wire Line
+ 7350 1450 7350 1500
+Wire Wire Line
+ 7350 2300 7350 2250
+Wire Wire Line
+ 5100 1850 4450 1850
+Connection ~ 5100 1850
+Wire Wire Line
+ 5100 4150 4450 4150
+Connection ~ 5100 4150
+Connection ~ 7350 4550
+Connection ~ 5500 4550
+Connection ~ 7350 1450
+Connection ~ 5500 1450
+Connection ~ 7350 2300
+Connection ~ 5500 2300
+Connection ~ 7350 2600
+Connection ~ 5500 2600
+Connection ~ 7350 3700
+Connection ~ 5500 3700
+Wire Wire Line
+ 5850 1450 5850 3700
+Connection ~ 5850 2600
+Connection ~ 5850 1450
+Connection ~ 5850 3700
+Connection ~ 7350 3450
+Connection ~ 5500 3450
+Wire Wire Line
+ 7750 1850 8350 1850
+Connection ~ 7750 1850
+Wire Wire Line
+ 7750 3050 8350 3050
+Connection ~ 7750 3050
+Wire Wire Line
+ 7750 4100 8350 4100
+Connection ~ 7750 4100
+Wire Wire Line
+ 6450 2300 6450 4550
+Connection ~ 6450 3450
+Connection ~ 6450 2300
+Connection ~ 6450 4550
+Wire Wire Line
+ 5400 1850 6150 1850
+Wire Wire Line
+ 7450 1850 6950 1850
+Wire Wire Line
+ 5400 3000 6050 3000
+Wire Wire Line
+ 7450 3000 7050 3000
+Wire Wire Line
+ 7450 4150 7050 4150
+Wire Wire Line
+ 6500 1450 6500 1250
+Wire Wire Line
+ 6500 1250 6750 1250
+Connection ~ 6500 1450
+Wire Wire Line
+ 6600 4550 6600 4850
+Wire Wire Line
+ 6600 4850 6100 4850
+Connection ~ 6600 4550
+$Comp
+L PORT U1
+U 1 1 629B29FC
+P 4200 1850
+F 0 "U1" H 4250 1950 30 0000 C CNN
+F 1 "PORT" H 4200 1850 30 0000 C CNN
+F 2 "" H 4200 1850 60 0000 C CNN
+F 3 "" H 4200 1850 60 0000 C CNN
+ 1 4200 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 629B2A53
+P 6400 1850
+F 0 "U1" H 6450 1950 30 0000 C CNN
+F 1 "PORT" H 6400 1850 30 0000 C CNN
+F 2 "" H 6400 1850 60 0000 C CNN
+F 3 "" H 6400 1850 60 0000 C CNN
+ 2 6400 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 629B2ABC
+P 4200 3050
+F 0 "U1" H 4250 3150 30 0000 C CNN
+F 1 "PORT" H 4200 3050 30 0000 C CNN
+F 2 "" H 4200 3050 60 0000 C CNN
+F 3 "" H 4200 3050 60 0000 C CNN
+ 3 4200 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 629B2BB9
+P 6300 3000
+F 0 "U1" H 6350 3100 30 0000 C CNN
+F 1 "PORT" H 6300 3000 30 0000 C CNN
+F 2 "" H 6300 3000 60 0000 C CNN
+F 3 "" H 6300 3000 60 0000 C CNN
+ 4 6300 3000
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 4450 3050 5100 3050
+Connection ~ 5100 3050
+$Comp
+L PORT U1
+U 5 1 629B2E02
+P 4200 4150
+F 0 "U1" H 4250 4250 30 0000 C CNN
+F 1 "PORT" H 4200 4150 30 0000 C CNN
+F 2 "" H 4200 4150 60 0000 C CNN
+F 3 "" H 4200 4150 60 0000 C CNN
+ 5 4200 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 629B2EE5
+P 6200 4150
+F 0 "U1" H 6250 4250 30 0000 C CNN
+F 1 "PORT" H 6200 4150 30 0000 C CNN
+F 2 "" H 6200 4150 60 0000 C CNN
+F 3 "" H 6200 4150 60 0000 C CNN
+ 6 6200 4150
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 629B2F78
+P 5850 4850
+F 0 "U1" H 5900 4950 30 0000 C CNN
+F 1 "PORT" H 5850 4850 30 0000 C CNN
+F 2 "" H 5850 4850 60 0000 C CNN
+F 3 "" H 5850 4850 60 0000 C CNN
+ 7 5850 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 629B3086
+P 6800 4150
+F 0 "U1" H 6850 4250 30 0000 C CNN
+F 1 "PORT" H 6800 4150 30 0000 C CNN
+F 2 "" H 6800 4150 60 0000 C CNN
+F 3 "" H 6800 4150 60 0000 C CNN
+ 8 6800 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 629B319B
+P 8600 4100
+F 0 "U1" H 8650 4200 30 0000 C CNN
+F 1 "PORT" H 8600 4100 30 0000 C CNN
+F 2 "" H 8600 4100 60 0000 C CNN
+F 3 "" H 8600 4100 60 0000 C CNN
+ 9 8600 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 629B3200
+P 6800 3000
+F 0 "U1" H 6850 3100 30 0000 C CNN
+F 1 "PORT" H 6800 3000 30 0000 C CNN
+F 2 "" H 6800 3000 60 0000 C CNN
+F 3 "" H 6800 3000 60 0000 C CNN
+ 10 6800 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 629B328D
+P 8600 3050
+F 0 "U1" H 8650 3150 30 0000 C CNN
+F 1 "PORT" H 8600 3050 30 0000 C CNN
+F 2 "" H 8600 3050 60 0000 C CNN
+F 3 "" H 8600 3050 60 0000 C CNN
+ 11 8600 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 629B32F8
+P 6700 1850
+F 0 "U1" H 6750 1950 30 0000 C CNN
+F 1 "PORT" H 6700 1850 30 0000 C CNN
+F 2 "" H 6700 1850 60 0000 C CNN
+F 3 "" H 6700 1850 60 0000 C CNN
+ 12 6700 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 629B3367
+P 8600 1850
+F 0 "U1" H 8650 1950 30 0000 C CNN
+F 1 "PORT" H 8600 1850 30 0000 C CNN
+F 2 "" H 8600 1850 60 0000 C CNN
+F 3 "" H 8600 1850 60 0000 C CNN
+ 13 8600 1850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 629B33CE
+P 7000 1250
+F 0 "U1" H 7050 1350 30 0000 C CNN
+F 1 "PORT" H 7000 1250 30 0000 C CNN
+F 2 "" H 7000 1250 60 0000 C CNN
+F 3 "" H 7000 1250 60 0000 C CNN
+ 14 7000 1250
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5400 4150 5950 4150
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD4069/CD4069.sub b/library/SubcircuitLibrary/CD4069/CD4069.sub
new file mode 100644
index 00000000..da6e5ff7
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069.sub
@@ -0,0 +1,20 @@
+* Subcircuit CD4069
+.subckt CD4069 net-_m1-pad2_ net-_m1-pad1_ net-_m5-pad2_ net-_m5-pad1_ net-_m10-pad2_ net-_m10-pad1_ net-_m10-pad3_ net-_m11-pad1_ net-_m11-pad2_ net-_m7-pad1_ net-_m7-pad2_ net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd4069\cd4069.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m11-pad1_ net-_m11-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m5-pad1_ net-_m5-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m3-pad1_ net-_m3-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD4069 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4069/CD4069_Previous_Values.xml b/library/SubcircuitLibrary/CD4069/CD4069_Previous_Values.xml
new file mode 100644
index 00000000..31124b00
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/CD4069_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m12><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4069/NMOS-180nm.lib b/library/SubcircuitLibrary/CD4069/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD4069/PMOS-180nm.lib b/library/SubcircuitLibrary/CD4069/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD4069/README.md b/library/SubcircuitLibrary/CD4069/README.md
new file mode 100644
index 00000000..5e356565
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/README.md
@@ -0,0 +1,27 @@
+
+# CD4069 IC
+
+CD4069 is Hex NOT Gate IC. It is designed with 180nm CMOS technology in eSim consisting six NOR Gates. When all the input is LOW, then only output is HIGH, and vice-versa. It is also known as Inverter Gate.
+## Usage/Examples
+
+Logic inversion
+
+Pulse shaping
+
+Oscillators
+
+High-input-impedance amplifiers
+## Documentation
+
+To know the details of CD4069 IC please go through with the documentation : [CD4069_datasheet](https://www.ti.com/lit/gpn/cd4069ub)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD4069/analysis b/library/SubcircuitLibrary/CD4069/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD4069/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157-cache.lib b/library/SubcircuitLibrary/CD54_157/CD54_157-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157.cir b/library/SubcircuitLibrary/CD54_157/CD54_157.cir
new file mode 100644
index 00000000..8a833fef
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157.cir
@@ -0,0 +1,75 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157\CD54_157.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/14/22 12:01:36
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M55 Net-_M55-Pad1_ /i0_3 /vcc /vcc eSim_MOS_P
+M60 Net-_M55-Pad1_ Net-_M58-Pad2_ /vcc /vcc eSim_MOS_P
+M65 Net-_M55-Pad1_ Net-_M57-Pad2_ /vcc /vcc eSim_MOS_P
+M56 /y3_bar /i1_3 Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M61 /y3_bar Net-_M58-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M66 /y3_bar /s Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M57 /y3_bar Net-_M57-Pad2_ Net-_M57-Pad3_ Net-_M57-Pad3_ eSim_MOS_N
+M58 Net-_M57-Pad3_ Net-_M58-Pad2_ Net-_M58-Pad3_ Net-_M58-Pad3_ eSim_MOS_N
+M59 Net-_M58-Pad3_ /i0_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M62 /y3_bar /s Net-_M62-Pad3_ Net-_M62-Pad3_ eSim_MOS_N
+M63 Net-_M62-Pad3_ Net-_M58-Pad2_ Net-_M63-Pad3_ Net-_M63-Pad3_ eSim_MOS_N
+M64 Net-_M63-Pad3_ /i1_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M68 Net-_M57-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M67 Net-_M57-Pad2_ /s /vcc /vcc eSim_MOS_P
+M71 Net-_M58-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M72 Net-_M58-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ /i0_1 /vcc /vcc eSim_MOS_P
+M11 Net-_M1-Pad1_ Net-_M11-Pad2_ /vcc /vcc eSim_MOS_P
+M18 Net-_M1-Pad1_ Net-_M18-Pad2_ /vcc /vcc eSim_MOS_P
+M2 /y1_bar /i1_1 Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M12 /y1_bar Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M19 /y1_bar /s Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M3 /y1_bar Net-_M18-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M11-Pad2_ Net-_M4-Pad3_ Net-_M4-Pad3_ eSim_MOS_N
+M5 Net-_M4-Pad3_ /i0_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M15 /y1_bar /s Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M17 Net-_M16-Pad3_ /i1_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M26 Net-_M18-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M25 Net-_M18-Pad2_ /s /vcc /vcc eSim_MOS_P
+M33 Net-_M11-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M34 Net-_M11-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M6 Net-_M13-Pad1_ /i0_2 /vcc /vcc eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ /vcc /vcc eSim_MOS_P
+M23 Net-_M13-Pad1_ Net-_M23-Pad2_ /vcc /vcc eSim_MOS_P
+M7 /y2_bar /i1_2 Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M14 /y2_bar Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M24 /y2_bar /s Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M8 /y2_bar Net-_M23-Pad2_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad3_ Net-_M13-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_N
+M10 Net-_M10-Pad1_ /i0_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M20 /y2_bar /s Net-_M20-Pad3_ Net-_M20-Pad3_ eSim_MOS_N
+M21 Net-_M20-Pad3_ Net-_M13-Pad2_ Net-_M21-Pad3_ Net-_M21-Pad3_ eSim_MOS_N
+M22 Net-_M21-Pad3_ /i1_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M30 Net-_M23-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M29 Net-_M23-Pad2_ /s /vcc /vcc eSim_MOS_P
+M35 Net-_M13-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M36 Net-_M13-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M37 Net-_M37-Pad1_ /i0_4 /vcc /vcc eSim_MOS_P
+M42 Net-_M37-Pad1_ Net-_M40-Pad2_ /vcc /vcc eSim_MOS_P
+M47 Net-_M37-Pad1_ Net-_M39-Pad2_ /vcc /vcc eSim_MOS_P
+M38 /y4_bar /i1_4 Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M43 /y4_bar Net-_M40-Pad2_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M48 /y4_bar /s Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M39 /y4_bar Net-_M39-Pad2_ Net-_M39-Pad3_ Net-_M39-Pad3_ eSim_MOS_N
+M40 Net-_M39-Pad3_ Net-_M40-Pad2_ Net-_M40-Pad3_ Net-_M40-Pad3_ eSim_MOS_N
+M41 Net-_M40-Pad3_ /i0_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M44 /y4_bar /s Net-_M44-Pad3_ Net-_M44-Pad3_ eSim_MOS_N
+M45 Net-_M44-Pad3_ Net-_M40-Pad2_ Net-_M45-Pad3_ Net-_M45-Pad3_ eSim_MOS_N
+M46 Net-_M45-Pad3_ /i1_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M50 Net-_M39-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M49 Net-_M39-Pad2_ /s /vcc /vcc eSim_MOS_P
+M53 Net-_M40-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M54 Net-_M40-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar Net-_M10-Pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157.cir.out b/library/SubcircuitLibrary/CD54_157/CD54_157.cir.out
new file mode 100644
index 00000000..1f4b4837
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157.cir.out
@@ -0,0 +1,78 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157.pro b/library/SubcircuitLibrary/CD54_157/CD54_157.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157.sch b/library/SubcircuitLibrary/CD54_157/CD54_157.sch
new file mode 100644
index 00000000..1e92f660
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157.sch
@@ -0,0 +1,1721 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54_157-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M55
+U 1 1 62A758F3
+P 6850 1300
+F 0 "M55" H 6800 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 1450 50 0000 R CNN
+F 2 "" H 7100 1400 29 0000 C CNN
+F 3 "" H 6900 1300 60 0000 C CNN
+ 1 6850 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M60
+U 1 1 62A758F4
+P 7700 1300
+F 0 "M60" H 7650 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 1450 50 0000 R CNN
+F 2 "" H 7950 1400 29 0000 C CNN
+F 3 "" H 7750 1300 60 0000 C CNN
+ 1 7700 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M65
+U 1 1 62A758F5
+P 8350 1300
+F 0 "M65" H 8300 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 1450 50 0000 R CNN
+F 2 "" H 8600 1400 29 0000 C CNN
+F 3 "" H 8400 1300 60 0000 C CNN
+ 1 8350 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 62A758F6
+P 6850 1850
+F 0 "M56" H 6800 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 2000 50 0000 R CNN
+F 2 "" H 7100 1950 29 0000 C CNN
+F 3 "" H 6900 1850 60 0000 C CNN
+ 1 6850 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 62A758F7
+P 7700 1850
+F 0 "M61" H 7650 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 2000 50 0000 R CNN
+F 2 "" H 7950 1950 29 0000 C CNN
+F 3 "" H 7750 1850 60 0000 C CNN
+ 1 7700 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M66
+U 1 1 62A758F8
+P 8350 1850
+F 0 "M66" H 8300 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 2000 50 0000 R CNN
+F 2 "" H 8600 1950 29 0000 C CNN
+F 3 "" H 8400 1850 60 0000 C CNN
+ 1 8350 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M57
+U 1 1 62A758F9
+P 7000 2550
+F 0 "M57" H 7000 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 2500 50 0000 R CNN
+F 2 "" H 7300 2250 29 0000 C CNN
+F 3 "" H 7100 2350 60 0000 C CNN
+ 1 7000 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M58
+U 1 1 62A758FA
+P 7000 3100
+F 0 "M58" H 7000 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3050 50 0000 R CNN
+F 2 "" H 7300 2800 29 0000 C CNN
+F 3 "" H 7100 2900 60 0000 C CNN
+ 1 7000 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 62A758FB
+P 7000 3650
+F 0 "M59" H 7000 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3600 50 0000 R CNN
+F 2 "" H 7300 3350 29 0000 C CNN
+F 3 "" H 7100 3450 60 0000 C CNN
+ 1 7000 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M62
+U 1 1 62A758FC
+P 8250 2550
+F 0 "M62" H 8250 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 2500 50 0000 R CNN
+F 2 "" H 8550 2250 29 0000 C CNN
+F 3 "" H 8350 2350 60 0000 C CNN
+ 1 8250 2550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M63
+U 1 1 62A758FD
+P 8250 3100
+F 0 "M63" H 8250 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3050 50 0000 R CNN
+F 2 "" H 8550 2800 29 0000 C CNN
+F 3 "" H 8350 2900 60 0000 C CNN
+ 1 8250 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M64
+U 1 1 62A758FE
+P 8250 3650
+F 0 "M64" H 8250 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3600 50 0000 R CNN
+F 2 "" H 8550 3350 29 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 1 8250 3650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M68
+U 1 1 62A758FF
+P 9450 1700
+F 0 "M68" H 9450 1550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9550 1650 50 0000 R CNN
+F 2 "" H 9750 1400 29 0000 C CNN
+F 3 "" H 9550 1500 60 0000 C CNN
+ 1 9450 1700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M67
+U 1 1 62A75900
+P 9400 1300
+F 0 "M67" H 9350 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9450 1450 50 0000 R CNN
+F 2 "" H 9650 1400 29 0000 C CNN
+F 3 "" H 9450 1300 60 0000 C CNN
+ 1 9400 1300
+ -1 0 0 1
+$EndComp
+Text Label 6550 1300 0 60 ~ 0
+i0_3
+Text Label 6450 1850 0 60 ~ 0
+i1_3
+Text Label 11550 1100 0 60 ~ 0
+sel
+Text Label 9050 2300 0 60 ~ 0
+y3_bar
+$Comp
+L eSim_MOS_P M71
+U 1 1 62A7D356
+P 10250 2800
+F 0 "M71" H 10200 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10300 2950 50 0000 R CNN
+F 2 "" H 10500 2900 29 0000 C CNN
+F 3 "" H 10300 2800 60 0000 C CNN
+ 1 10250 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M72
+U 1 1 62A7D35C
+P 10300 3150
+F 0 "M72" H 10300 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 3100 50 0000 R CNN
+F 2 "" H 10600 2850 29 0000 C CNN
+F 3 "" H 10400 2950 60 0000 C CNN
+ 1 10300 3150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 62A8A1B2
+P -5350 -50
+F 0 "M1" H -5400 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 100 50 0000 R CNN
+F 2 "" H -5100 50 29 0000 C CNN
+F 3 "" H -5300 -50 60 0000 C CNN
+ 1 -5350 -50
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62A8A1B8
+P -4500 -50
+F 0 "M11" H -4550 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 100 50 0000 R CNN
+F 2 "" H -4250 50 29 0000 C CNN
+F 3 "" H -4450 -50 60 0000 C CNN
+ 1 -4500 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 62A8A1BE
+P -3850 -50
+F 0 "M18" H -3900 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 100 50 0000 R CNN
+F 2 "" H -3600 50 29 0000 C CNN
+F 3 "" H -3800 -50 60 0000 C CNN
+ 1 -3850 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 62A8A1C4
+P -5350 500
+F 0 "M2" H -5400 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 650 50 0000 R CNN
+F 2 "" H -5100 600 29 0000 C CNN
+F 3 "" H -5300 500 60 0000 C CNN
+ 1 -5350 500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62A8A1CA
+P -4500 500
+F 0 "M12" H -4550 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 650 50 0000 R CNN
+F 2 "" H -4250 600 29 0000 C CNN
+F 3 "" H -4450 500 60 0000 C CNN
+ 1 -4500 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 62A8A1D0
+P -3850 500
+F 0 "M19" H -3900 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 650 50 0000 R CNN
+F 2 "" H -3600 600 29 0000 C CNN
+F 3 "" H -3800 500 60 0000 C CNN
+ 1 -3850 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62A8A1D6
+P -5200 1200
+F 0 "M3" H -5200 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1150 50 0000 R CNN
+F 2 "" H -4900 900 29 0000 C CNN
+F 3 "" H -5100 1000 60 0000 C CNN
+ 1 -5200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62A8A1DC
+P -5200 1750
+F 0 "M4" H -5200 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1700 50 0000 R CNN
+F 2 "" H -4900 1450 29 0000 C CNN
+F 3 "" H -5100 1550 60 0000 C CNN
+ 1 -5200 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62A8A1E2
+P -5200 2300
+F 0 "M5" H -5200 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 2250 50 0000 R CNN
+F 2 "" H -4900 2000 29 0000 C CNN
+F 3 "" H -5100 2100 60 0000 C CNN
+ 1 -5200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 62A8A1E8
+P -3950 1200
+F 0 "M15" H -3950 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1150 50 0000 R CNN
+F 2 "" H -3650 900 29 0000 C CNN
+F 3 "" H -3850 1000 60 0000 C CNN
+ 1 -3950 1200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 62A8A1EE
+P -3950 1750
+F 0 "M16" H -3950 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1700 50 0000 R CNN
+F 2 "" H -3650 1450 29 0000 C CNN
+F 3 "" H -3850 1550 60 0000 C CNN
+ 1 -3950 1750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62A8A1F4
+P -3950 2300
+F 0 "M17" H -3950 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 2250 50 0000 R CNN
+F 2 "" H -3650 2000 29 0000 C CNN
+F 3 "" H -3850 2100 60 0000 C CNN
+ 1 -3950 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62A8A1FA
+P -2750 350
+F 0 "M26" H -2750 200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2650 300 50 0000 R CNN
+F 2 "" H -2450 50 29 0000 C CNN
+F 3 "" H -2650 150 60 0000 C CNN
+ 1 -2750 350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M25
+U 1 1 62A8A200
+P -2800 -50
+F 0 "M25" H -2850 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2750 100 50 0000 R CNN
+F 2 "" H -2550 50 29 0000 C CNN
+F 3 "" H -2750 -50 60 0000 C CNN
+ 1 -2800 -50
+ -1 0 0 1
+$EndComp
+Text Label -5650 -50 0 60 ~ 0
+i0_1
+Text Label -5750 500 0 60 ~ 0
+i1_1
+Text Label -2350 250 0 60 ~ 0
+s
+Text Label -8300 100 0 60 ~ 0
+vcc
+Text Label -3000 950 2 60 ~ 0
+y1_bar
+$Comp
+L eSim_MOS_P M33
+U 1 1 62A8A287
+P -1950 1450
+F 0 "M33" H -2000 1500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1900 1600 50 0000 R CNN
+F 2 "" H -1700 1550 29 0000 C CNN
+F 3 "" H -1900 1450 60 0000 C CNN
+ 1 -1950 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 62A8A28D
+P -1900 1800
+F 0 "M34" H -1900 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1800 1750 50 0000 R CNN
+F 2 "" H -1600 1500 29 0000 C CNN
+F 3 "" H -1800 1600 60 0000 C CNN
+ 1 -1900 1800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62A8A727
+P -5200 4400
+F 0 "M6" H -5250 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 4550 50 0000 R CNN
+F 2 "" H -4950 4500 29 0000 C CNN
+F 3 "" H -5150 4400 60 0000 C CNN
+ 1 -5200 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62A8A72D
+P -4350 4400
+F 0 "M13" H -4400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 4550 50 0000 R CNN
+F 2 "" H -4100 4500 29 0000 C CNN
+F 3 "" H -4300 4400 60 0000 C CNN
+ 1 -4350 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 62A8A733
+P -3700 4400
+F 0 "M23" H -3750 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 4550 50 0000 R CNN
+F 2 "" H -3450 4500 29 0000 C CNN
+F 3 "" H -3650 4400 60 0000 C CNN
+ 1 -3700 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62A8A739
+P -5200 4950
+F 0 "M7" H -5250 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 5100 50 0000 R CNN
+F 2 "" H -4950 5050 29 0000 C CNN
+F 3 "" H -5150 4950 60 0000 C CNN
+ 1 -5200 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62A8A73F
+P -4350 4950
+F 0 "M14" H -4400 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 5100 50 0000 R CNN
+F 2 "" H -4100 5050 29 0000 C CNN
+F 3 "" H -4300 4950 60 0000 C CNN
+ 1 -4350 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 62A8A745
+P -3700 4950
+F 0 "M24" H -3750 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 5100 50 0000 R CNN
+F 2 "" H -3450 5050 29 0000 C CNN
+F 3 "" H -3650 4950 60 0000 C CNN
+ 1 -3700 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62A8A74B
+P -5050 5650
+F 0 "M8" H -5050 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 5600 50 0000 R CNN
+F 2 "" H -4750 5350 29 0000 C CNN
+F 3 "" H -4950 5450 60 0000 C CNN
+ 1 -5050 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62A8A751
+P -5050 6200
+F 0 "M9" H -5050 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6150 50 0000 R CNN
+F 2 "" H -4750 5900 29 0000 C CNN
+F 3 "" H -4950 6000 60 0000 C CNN
+ 1 -5050 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62A8A757
+P -5050 6750
+F 0 "M10" H -5050 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6700 50 0000 R CNN
+F 2 "" H -4750 6450 29 0000 C CNN
+F 3 "" H -4950 6550 60 0000 C CNN
+ 1 -5050 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 62A8A75D
+P -3800 5650
+F 0 "M20" H -3800 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 5600 50 0000 R CNN
+F 2 "" H -3500 5350 29 0000 C CNN
+F 3 "" H -3700 5450 60 0000 C CNN
+ 1 -3800 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 62A8A763
+P -3800 6200
+F 0 "M21" H -3800 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6150 50 0000 R CNN
+F 2 "" H -3500 5900 29 0000 C CNN
+F 3 "" H -3700 6000 60 0000 C CNN
+ 1 -3800 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62A8A769
+P -3800 6750
+F 0 "M22" H -3800 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6700 50 0000 R CNN
+F 2 "" H -3500 6450 29 0000 C CNN
+F 3 "" H -3700 6550 60 0000 C CNN
+ 1 -3800 6750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 62A8A76F
+P -2600 4800
+F 0 "M30" H -2600 4650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2500 4750 50 0000 R CNN
+F 2 "" H -2300 4500 29 0000 C CNN
+F 3 "" H -2500 4600 60 0000 C CNN
+ 1 -2600 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 62A8A775
+P -2650 4400
+F 0 "M29" H -2700 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2600 4550 50 0000 R CNN
+F 2 "" H -2400 4500 29 0000 C CNN
+F 3 "" H -2600 4400 60 0000 C CNN
+ 1 -2650 4400
+ -1 0 0 1
+$EndComp
+Text Label -5500 4400 0 60 ~ 0
+i0_2
+Text Label -5600 4950 0 60 ~ 0
+i1_2
+Text Label -2200 4700 0 60 ~ 0
+s
+Text Label -3050 5400 0 60 ~ 0
+y2_bar
+Text Label 11500 4450 0 60 ~ 0
+enable_bar
+$Comp
+L eSim_MOS_P M35
+U 1 1 62A8A7FC
+P -1800 5900
+F 0 "M35" H -1850 5950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1750 6050 50 0000 R CNN
+F 2 "" H -1550 6000 29 0000 C CNN
+F 3 "" H -1750 5900 60 0000 C CNN
+ 1 -1800 5900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 62A8A802
+P -1750 6250
+F 0 "M36" H -1750 6100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1650 6200 50 0000 R CNN
+F 2 "" H -1450 5950 29 0000 C CNN
+F 3 "" H -1650 6050 60 0000 C CNN
+ 1 -1750 6250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 62A8AFEC
+P 2600 3850
+F 0 "M37" H 2550 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4000 50 0000 R CNN
+F 2 "" H 2850 3950 29 0000 C CNN
+F 3 "" H 2650 3850 60 0000 C CNN
+ 1 2600 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 62A8AFF2
+P 3450 3850
+F 0 "M42" H 3400 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4000 50 0000 R CNN
+F 2 "" H 3700 3950 29 0000 C CNN
+F 3 "" H 3500 3850 60 0000 C CNN
+ 1 3450 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M47
+U 1 1 62A8AFF8
+P 4100 3850
+F 0 "M47" H 4050 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4000 50 0000 R CNN
+F 2 "" H 4350 3950 29 0000 C CNN
+F 3 "" H 4150 3850 60 0000 C CNN
+ 1 4100 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62A8AFFE
+P 2600 4400
+F 0 "M38" H 2550 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4550 50 0000 R CNN
+F 2 "" H 2850 4500 29 0000 C CNN
+F 3 "" H 2650 4400 60 0000 C CNN
+ 1 2600 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 62A8B004
+P 3450 4400
+F 0 "M43" H 3400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4550 50 0000 R CNN
+F 2 "" H 3700 4500 29 0000 C CNN
+F 3 "" H 3500 4400 60 0000 C CNN
+ 1 3450 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M48
+U 1 1 62A8B00A
+P 4100 4400
+F 0 "M48" H 4050 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4550 50 0000 R CNN
+F 2 "" H 4350 4500 29 0000 C CNN
+F 3 "" H 4150 4400 60 0000 C CNN
+ 1 4100 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 62A8B010
+P 2750 5100
+F 0 "M39" H 2750 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5050 50 0000 R CNN
+F 2 "" H 3050 4800 29 0000 C CNN
+F 3 "" H 2850 4900 60 0000 C CNN
+ 1 2750 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M40
+U 1 1 62A8B016
+P 2750 5650
+F 0 "M40" H 2750 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5600 50 0000 R CNN
+F 2 "" H 3050 5350 29 0000 C CNN
+F 3 "" H 2850 5450 60 0000 C CNN
+ 1 2750 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62A8B01C
+P 2750 6200
+F 0 "M41" H 2750 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 6150 50 0000 R CNN
+F 2 "" H 3050 5900 29 0000 C CNN
+F 3 "" H 2850 6000 60 0000 C CNN
+ 1 2750 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M44
+U 1 1 62A8B022
+P 4000 5100
+F 0 "M44" H 4000 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5050 50 0000 R CNN
+F 2 "" H 4300 4800 29 0000 C CNN
+F 3 "" H 4100 4900 60 0000 C CNN
+ 1 4000 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 62A8B028
+P 4000 5650
+F 0 "M45" H 4000 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5600 50 0000 R CNN
+F 2 "" H 4300 5350 29 0000 C CNN
+F 3 "" H 4100 5450 60 0000 C CNN
+ 1 4000 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 62A8B02E
+P 4000 6200
+F 0 "M46" H 4000 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 6150 50 0000 R CNN
+F 2 "" H 4300 5900 29 0000 C CNN
+F 3 "" H 4100 6000 60 0000 C CNN
+ 1 4000 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M50
+U 1 1 62A8B034
+P 5200 4250
+F 0 "M50" H 5200 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 4200 50 0000 R CNN
+F 2 "" H 5500 3950 29 0000 C CNN
+F 3 "" H 5300 4050 60 0000 C CNN
+ 1 5200 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M49
+U 1 1 62A8B03A
+P 5150 3850
+F 0 "M49" H 5100 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5200 4000 50 0000 R CNN
+F 2 "" H 5400 3950 29 0000 C CNN
+F 3 "" H 5200 3850 60 0000 C CNN
+ 1 5150 3850
+ -1 0 0 1
+$EndComp
+Text Label 2300 3850 0 60 ~ 0
+i0_4
+Text Label 2200 4400 0 60 ~ 0
+i1_4
+Text Label 4750 4850 0 60 ~ 0
+y4_bar
+$Comp
+L eSim_MOS_P M53
+U 1 1 62A8B0C1
+P 6000 5350
+F 0 "M53" H 5950 5400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6050 5500 50 0000 R CNN
+F 2 "" H 6250 5450 29 0000 C CNN
+F 3 "" H 6050 5350 60 0000 C CNN
+ 1 6000 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 62A8B0C7
+P 6050 5700
+F 0 "M54" H 6050 5550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6150 5650 50 0000 R CNN
+F 2 "" H 6350 5400 29 0000 C CNN
+F 3 "" H 6150 5500 60 0000 C CNN
+ 1 6050 5700
+ -1 0 0 -1
+$EndComp
+Connection ~ 9250 1100
+Connection ~ 7900 3050
+Wire Wire Line
+ 7900 3050 10100 3050
+Connection ~ 7850 1750
+Connection ~ 7900 3150
+Wire Wire Line
+ 7900 1750 7900 3150
+Wire Wire Line
+ 7850 1750 7900 1750
+Connection ~ 9250 4050
+Connection ~ 6250 1300
+Wire Wire Line
+ 6250 1300 6250 3850
+Connection ~ 6350 1850
+Wire Wire Line
+ 6350 3600 6350 1850
+Connection ~ 7550 2300
+Wire Wire Line
+ 7550 2300 9400 2300
+Wire Wire Line
+ 3850 1850 6700 1850
+Wire Wire Line
+ 3850 1300 6700 1300
+Wire Wire Line
+ 6250 3850 6900 3850
+Wire Wire Line
+ 8350 3600 6350 3600
+Wire Wire Line
+ 8350 3850 8350 3600
+Connection ~ 8950 1850
+Wire Wire Line
+ 8950 2750 8350 2750
+Connection ~ 8950 1600
+Wire Wire Line
+ 6600 2750 6900 2750
+Wire Wire Line
+ 6600 1600 6600 2750
+Connection ~ 9650 1600
+Wire Wire Line
+ 8950 1850 8500 1850
+Wire Wire Line
+ 8950 1700 8950 2750
+Wire Wire Line
+ 9650 1700 8950 1700
+Wire Wire Line
+ 9650 1600 9650 1700
+Connection ~ 8050 4050
+Wire Wire Line
+ 9250 4050 9250 2100
+Connection ~ 8200 1100
+Connection ~ 9150 1100
+Connection ~ 9250 1600
+Wire Wire Line
+ 8950 1300 8500 1300
+Wire Wire Line
+ 8950 1600 8950 1300
+Wire Wire Line
+ 6600 1600 9250 1600
+Connection ~ 9550 1600
+Wire Wire Line
+ 10750 1600 9550 1600
+Wire Wire Line
+ 9550 1300 9550 1900
+Wire Wire Line
+ 9250 2100 9150 2100
+Wire Wire Line
+ 9150 2100 9150 2050
+Wire Wire Line
+ 9150 1100 9150 1150
+Wire Wire Line
+ 9250 1500 9250 1700
+Wire Wire Line
+ 1450 850 7550 850
+Wire Wire Line
+ 7550 850 7550 1100
+Wire Wire Line
+ 6900 3150 6900 3300
+Wire Wire Line
+ 6900 3150 8350 3150
+Wire Wire Line
+ 8350 3150 8350 3300
+Wire Wire Line
+ 7850 1300 7850 1850
+Wire Wire Line
+ 7550 1650 7550 1500
+Connection ~ 7600 4050
+Wire Wire Line
+ 7600 7400 7600 4050
+Connection ~ 7550 2550
+Wire Wire Line
+ 7550 2050 7550 2550
+Connection ~ 7950 4050
+Wire Wire Line
+ 7950 4050 7950 4000
+Connection ~ 7300 4050
+Wire Wire Line
+ 7300 4000 7300 4050
+Wire Wire Line
+ 7950 3500 8050 3500
+Wire Wire Line
+ 7950 3450 7950 3500
+Wire Wire Line
+ 7300 3500 7200 3500
+Wire Wire Line
+ 7300 3450 7300 3500
+Wire Wire Line
+ 7950 2950 8050 2950
+Wire Wire Line
+ 7950 2900 7950 2950
+Wire Wire Line
+ 7300 2950 7200 2950
+Wire Wire Line
+ 7300 2900 7300 2950
+Wire Wire Line
+ 7200 4050 10050 4050
+Wire Wire Line
+ 8050 3500 8050 3650
+Wire Wire Line
+ 7200 3500 7200 3650
+Wire Wire Line
+ 8050 2950 8050 3100
+Wire Wire Line
+ 7200 2950 7200 3100
+Wire Wire Line
+ 7200 2550 8050 2550
+Connection ~ 8100 1100
+Wire Wire Line
+ 8100 1100 8100 1150
+Connection ~ 7450 1100
+Wire Wire Line
+ 7450 1100 7450 1150
+Connection ~ 7100 1100
+Wire Wire Line
+ 7100 1150 7100 1100
+Connection ~ 8100 1650
+Wire Wire Line
+ 8100 1650 8100 1700
+Connection ~ 7450 1650
+Wire Wire Line
+ 7450 1650 7450 1700
+Connection ~ 7100 1650
+Wire Wire Line
+ 7100 1700 7100 1650
+Connection ~ 7550 2050
+Wire Wire Line
+ 7000 2050 8200 2050
+Connection ~ 7550 1650
+Wire Wire Line
+ 7000 1650 8200 1650
+Connection ~ 7550 1500
+Wire Wire Line
+ 7000 1500 8200 1500
+Connection ~ 7550 1100
+Wire Wire Line
+ 7000 1100 10000 1100
+Connection ~ 10100 3050
+Wire Wire Line
+ 10000 3550 10100 3550
+Wire Wire Line
+ 10400 2800 10400 3350
+Wire Wire Line
+ 10100 3000 10100 3150
+Wire Wire Line
+ 10100 2600 10000 2600
+Wire Wire Line
+ 10000 1100 10000 2650
+Wire Wire Line
+ 10000 3550 10000 3500
+Wire Wire Line
+ 10050 4050 10050 3550
+Connection ~ 10050 3550
+Connection ~ 10000 2600
+Wire Wire Line
+ 10400 3050 11050 3050
+Connection ~ 10400 3050
+Connection ~ -2950 -250
+Connection ~ -4350 400
+Connection ~ -4300 1800
+Wire Wire Line
+ -4300 400 -4300 1800
+Wire Wire Line
+ -4350 400 -4300 400
+Connection ~ -2950 2700
+Connection ~ -5950 -50
+Wire Wire Line
+ -5950 -50 -5950 2500
+Connection ~ -5850 500
+Wire Wire Line
+ -5850 2250 -5850 500
+Connection ~ -4650 950
+Wire Wire Line
+ -4650 950 -2800 950
+Wire Wire Line
+ -7450 500 -5500 500
+Wire Wire Line
+ -7450 -50 -5500 -50
+Wire Wire Line
+ -5950 2500 -5300 2500
+Wire Wire Line
+ -3850 2250 -5850 2250
+Wire Wire Line
+ -3850 2500 -3850 2250
+Connection ~ -3250 500
+Wire Wire Line
+ -3250 1400 -3850 1400
+Connection ~ -3250 250
+Wire Wire Line
+ -5600 1400 -5300 1400
+Wire Wire Line
+ -5600 250 -5600 1400
+Connection ~ -2550 250
+Wire Wire Line
+ -3250 500 -3700 500
+Wire Wire Line
+ -3250 350 -3250 1400
+Wire Wire Line
+ -2550 350 -3250 350
+Wire Wire Line
+ -2550 250 -2550 350
+Connection ~ -4150 2700
+Wire Wire Line
+ -2950 2700 -2950 750
+Connection ~ -4000 -250
+Connection ~ -3050 -250
+Connection ~ -2950 250
+Wire Wire Line
+ -3250 -50 -3700 -50
+Wire Wire Line
+ -3250 250 -3250 -50
+Wire Wire Line
+ -5600 250 -2950 250
+Connection ~ -2650 250
+Wire Wire Line
+ -2650 250 10750 250
+Wire Wire Line
+ -2650 -50 -2650 550
+Wire Wire Line
+ -2950 750 -3050 750
+Wire Wire Line
+ -3050 750 -3050 700
+Wire Wire Line
+ -3050 -250 -3050 -200
+Wire Wire Line
+ -2950 150 -2950 350
+Wire Wire Line
+ -8000 -500 1450 -500
+Wire Wire Line
+ -4650 -250 -4650 -500
+Wire Wire Line
+ -5300 1800 -5300 1950
+Wire Wire Line
+ -5300 1800 -3850 1800
+Wire Wire Line
+ -3850 1800 -3850 1950
+Wire Wire Line
+ -4350 -50 -4350 500
+Wire Wire Line
+ -4650 300 -4650 150
+Connection ~ -4600 2700
+Wire Wire Line
+ -4600 2700 -4600 3450
+Connection ~ -4650 1200
+Wire Wire Line
+ -4650 700 -4650 1200
+Connection ~ -4250 2700
+Wire Wire Line
+ -4250 2700 -4250 2650
+Connection ~ -4900 2700
+Wire Wire Line
+ -4900 2650 -4900 2700
+Wire Wire Line
+ -4250 2150 -4150 2150
+Wire Wire Line
+ -4250 2100 -4250 2150
+Wire Wire Line
+ -4900 2150 -5000 2150
+Wire Wire Line
+ -4900 2100 -4900 2150
+Wire Wire Line
+ -4250 1600 -4150 1600
+Wire Wire Line
+ -4250 1550 -4250 1600
+Wire Wire Line
+ -4900 1600 -5000 1600
+Wire Wire Line
+ -4900 1550 -4900 1600
+Wire Wire Line
+ -5000 2700 -2150 2700
+Wire Wire Line
+ -4150 2150 -4150 2300
+Wire Wire Line
+ -5000 2150 -5000 2300
+Wire Wire Line
+ -4150 1600 -4150 1750
+Wire Wire Line
+ -5000 1600 -5000 1750
+Wire Wire Line
+ -5000 1200 -4150 1200
+Connection ~ -4100 -250
+Wire Wire Line
+ -4100 -250 -4100 -200
+Connection ~ -4750 -250
+Wire Wire Line
+ -4750 -250 -4750 -200
+Connection ~ -5100 -250
+Wire Wire Line
+ -5100 -200 -5100 -250
+Connection ~ -4100 300
+Wire Wire Line
+ -4100 300 -4100 350
+Connection ~ -4750 300
+Wire Wire Line
+ -4750 300 -4750 350
+Connection ~ -5100 300
+Wire Wire Line
+ -5100 350 -5100 300
+Connection ~ -4650 700
+Wire Wire Line
+ -5200 700 -4000 700
+Connection ~ -4650 300
+Wire Wire Line
+ -5200 300 -4000 300
+Connection ~ -4650 150
+Wire Wire Line
+ -5200 150 -4000 150
+Connection ~ -4650 -250
+Wire Wire Line
+ -5200 -250 -2200 -250
+Wire Wire Line
+ -2200 2200 -2100 2200
+Wire Wire Line
+ -1800 1450 -1800 2000
+Wire Wire Line
+ -2100 1650 -2100 1800
+Wire Wire Line
+ -2100 1250 -2200 1250
+Wire Wire Line
+ -2200 -250 -2200 1300
+Wire Wire Line
+ -2200 2200 -2200 2150
+Wire Wire Line
+ -2150 2700 -2150 2200
+Connection ~ -2150 2200
+Connection ~ -2200 1250
+Wire Wire Line
+ -1800 1700 -1000 1700
+Connection ~ -1800 1700
+Connection ~ -2800 4200
+Connection ~ -4150 6150
+Wire Wire Line
+ -4150 6150 -1950 6150
+Connection ~ -4200 4850
+Connection ~ -4150 6250
+Wire Wire Line
+ -4150 4850 -4150 6250
+Wire Wire Line
+ -4200 4850 -4150 4850
+Connection ~ -2800 7150
+Wire Wire Line
+ -5800 4400 -5800 6950
+Connection ~ -5700 4950
+Wire Wire Line
+ -5700 6700 -5700 4950
+Connection ~ -4500 5400
+Wire Wire Line
+ -4500 5400 -2650 5400
+Wire Wire Line
+ -7800 4950 -5350 4950
+Wire Wire Line
+ -7850 4400 -5350 4400
+Wire Wire Line
+ -5800 6950 -5150 6950
+Wire Wire Line
+ -3700 6700 -5700 6700
+Wire Wire Line
+ -3700 6950 -3700 6700
+Connection ~ -3100 4950
+Wire Wire Line
+ -3100 5850 -3700 5850
+Connection ~ -3100 4700
+Wire Wire Line
+ -5450 5850 -5150 5850
+Wire Wire Line
+ -5450 4700 -5450 5850
+Connection ~ -2400 4700
+Wire Wire Line
+ -3100 4950 -3550 4950
+Wire Wire Line
+ -3100 4800 -3100 5850
+Wire Wire Line
+ -2400 4800 -3100 4800
+Wire Wire Line
+ -2400 4700 -2400 4800
+Connection ~ -4000 7150
+Wire Wire Line
+ -2800 7150 -2800 5200
+Connection ~ -3850 4200
+Connection ~ -2900 4200
+Connection ~ -2800 4700
+Wire Wire Line
+ -3100 4400 -3550 4400
+Wire Wire Line
+ -3100 4700 -3100 4400
+Wire Wire Line
+ -5450 4700 -2800 4700
+Connection ~ -2500 4700
+Wire Wire Line
+ -500 4700 -2500 4700
+Wire Wire Line
+ -2500 4400 -2500 5000
+Wire Wire Line
+ -2800 5200 -2900 5200
+Wire Wire Line
+ -2900 5200 -2900 5150
+Wire Wire Line
+ -2900 4200 -2900 4250
+Wire Wire Line
+ -2800 4600 -2800 4800
+Wire Wire Line
+ -8000 3950 -4500 3950
+Wire Wire Line
+ -4500 3950 -4500 4200
+Wire Wire Line
+ -5150 6250 -5150 6400
+Wire Wire Line
+ -5150 6250 -3700 6250
+Wire Wire Line
+ -3700 6250 -3700 6400
+Wire Wire Line
+ -4200 4400 -4200 4950
+Wire Wire Line
+ -4500 4750 -4500 4600
+Connection ~ -4450 7150
+Wire Wire Line
+ -4450 7150 -4450 7400
+Connection ~ -4500 5650
+Wire Wire Line
+ -4500 5150 -4500 5650
+Connection ~ -4100 7150
+Wire Wire Line
+ -4100 7150 -4100 7100
+Connection ~ -4750 7150
+Wire Wire Line
+ -4750 7100 -4750 7150
+Wire Wire Line
+ -4100 6600 -4000 6600
+Wire Wire Line
+ -4100 6550 -4100 6600
+Wire Wire Line
+ -4750 6600 -4850 6600
+Wire Wire Line
+ -4750 6550 -4750 6600
+Wire Wire Line
+ -4100 6050 -4000 6050
+Wire Wire Line
+ -4100 6000 -4100 6050
+Wire Wire Line
+ -4750 6050 -4850 6050
+Wire Wire Line
+ -4750 6000 -4750 6050
+Wire Wire Line
+ -4850 7150 -2000 7150
+Wire Wire Line
+ -4000 6600 -4000 6750
+Wire Wire Line
+ -4850 6600 -4850 6750
+Wire Wire Line
+ -4000 6050 -4000 6200
+Wire Wire Line
+ -4850 6050 -4850 6200
+Wire Wire Line
+ -4850 5650 -4000 5650
+Connection ~ -3950 4200
+Wire Wire Line
+ -3950 4200 -3950 4250
+Connection ~ -4600 4200
+Wire Wire Line
+ -4600 4200 -4600 4250
+Connection ~ -4950 4200
+Wire Wire Line
+ -4950 4250 -4950 4200
+Connection ~ -3950 4750
+Wire Wire Line
+ -3950 4750 -3950 4800
+Connection ~ -4600 4750
+Wire Wire Line
+ -4600 4750 -4600 4800
+Connection ~ -4950 4750
+Wire Wire Line
+ -4950 4800 -4950 4750
+Connection ~ -4500 5150
+Wire Wire Line
+ -5050 5150 -3850 5150
+Connection ~ -4500 4750
+Wire Wire Line
+ -5050 4750 -3850 4750
+Connection ~ -4500 4600
+Wire Wire Line
+ -5050 4600 -3850 4600
+Connection ~ -4500 4200
+Wire Wire Line
+ -5050 4200 -2050 4200
+Connection ~ -1950 6150
+Wire Wire Line
+ -2050 6650 -1950 6650
+Wire Wire Line
+ -1650 5900 -1650 6450
+Wire Wire Line
+ -1950 6100 -1950 6250
+Wire Wire Line
+ -1950 5700 -2050 5700
+Wire Wire Line
+ -2050 4200 -2050 5750
+Wire Wire Line
+ -2050 6650 -2050 6600
+Wire Wire Line
+ -2000 7150 -2000 6650
+Connection ~ -2000 6650
+Connection ~ -2050 5700
+Wire Wire Line
+ -1650 6150 -1000 6150
+Connection ~ -1650 6150
+Connection ~ 5000 3650
+Connection ~ 3650 5600
+Wire Wire Line
+ 3650 5600 5850 5600
+Connection ~ 3600 4300
+Connection ~ 3650 5700
+Wire Wire Line
+ 3650 4300 3650 5700
+Wire Wire Line
+ 3600 4300 3650 4300
+Connection ~ 5000 6600
+Connection ~ 2000 3850
+Wire Wire Line
+ 2000 3850 2000 6400
+Connection ~ 2100 4400
+Wire Wire Line
+ 2100 6150 2100 4400
+Connection ~ 3300 4850
+Wire Wire Line
+ 3300 4850 5150 4850
+Wire Wire Line
+ 1350 4400 2450 4400
+Wire Wire Line
+ 1350 3850 2450 3850
+Wire Wire Line
+ 2000 6400 2650 6400
+Wire Wire Line
+ 4100 6150 2100 6150
+Wire Wire Line
+ 4100 6400 4100 6150
+Connection ~ 4700 4400
+Wire Wire Line
+ 4700 5300 4100 5300
+Connection ~ 4700 4150
+Wire Wire Line
+ 2350 5300 2650 5300
+Wire Wire Line
+ 2350 4150 2350 5300
+Connection ~ 5400 4150
+Wire Wire Line
+ 4700 4400 4250 4400
+Wire Wire Line
+ 4700 4250 4700 5300
+Wire Wire Line
+ 5400 4250 4700 4250
+Wire Wire Line
+ 5400 4150 5400 4250
+Connection ~ 3800 6600
+Wire Wire Line
+ 5000 6600 5000 4650
+Connection ~ 3950 3650
+Connection ~ 4900 3650
+Connection ~ 5000 4150
+Wire Wire Line
+ 4700 3850 4250 3850
+Wire Wire Line
+ 4700 4150 4700 3850
+Wire Wire Line
+ 2350 4150 5000 4150
+Connection ~ 5300 4150
+Wire Wire Line
+ 5300 4150 6500 4150
+Wire Wire Line
+ 5300 3850 5300 4450
+Wire Wire Line
+ 5000 4650 4900 4650
+Wire Wire Line
+ 4900 4650 4900 4600
+Wire Wire Line
+ 4900 3650 4900 3700
+Wire Wire Line
+ 5000 4050 5000 4250
+Wire Wire Line
+ 1450 3400 3300 3400
+Wire Wire Line
+ 3300 3400 3300 3650
+Wire Wire Line
+ 2650 5700 2650 5850
+Wire Wire Line
+ 2650 5700 4100 5700
+Wire Wire Line
+ 4100 5700 4100 5850
+Wire Wire Line
+ 3600 3850 3600 4400
+Wire Wire Line
+ 3300 4200 3300 4050
+Connection ~ 3350 6600
+Wire Wire Line
+ 3350 7400 3350 6600
+Connection ~ 3300 5100
+Wire Wire Line
+ 3300 4600 3300 5100
+Connection ~ 3700 6600
+Wire Wire Line
+ 3700 6600 3700 6550
+Connection ~ 3050 6600
+Wire Wire Line
+ 3050 6550 3050 6600
+Wire Wire Line
+ 3700 6050 3800 6050
+Wire Wire Line
+ 3700 6000 3700 6050
+Wire Wire Line
+ 3050 6050 2950 6050
+Wire Wire Line
+ 3050 6000 3050 6050
+Wire Wire Line
+ 3700 5500 3800 5500
+Wire Wire Line
+ 3700 5450 3700 5500
+Wire Wire Line
+ 3050 5500 2950 5500
+Wire Wire Line
+ 3050 5450 3050 5500
+Wire Wire Line
+ 2950 6600 5800 6600
+Wire Wire Line
+ 3800 6050 3800 6200
+Wire Wire Line
+ 2950 6050 2950 6200
+Wire Wire Line
+ 3800 5500 3800 5650
+Wire Wire Line
+ 2950 5500 2950 5650
+Wire Wire Line
+ 2950 5100 3800 5100
+Connection ~ 3850 3650
+Wire Wire Line
+ 3850 3650 3850 3700
+Connection ~ 3200 3650
+Wire Wire Line
+ 3200 3650 3200 3700
+Connection ~ 2850 3650
+Wire Wire Line
+ 2850 3700 2850 3650
+Connection ~ 3850 4200
+Wire Wire Line
+ 3850 4200 3850 4250
+Connection ~ 3200 4200
+Wire Wire Line
+ 3200 4200 3200 4250
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4250 2850 4200
+Connection ~ 3300 4600
+Wire Wire Line
+ 2750 4600 3950 4600
+Connection ~ 3300 4200
+Wire Wire Line
+ 2750 4200 3950 4200
+Connection ~ 3300 4050
+Wire Wire Line
+ 2750 4050 3950 4050
+Connection ~ 3300 3650
+Connection ~ 5850 5600
+Wire Wire Line
+ 5750 6100 5850 6100
+Wire Wire Line
+ 6150 5350 6150 5900
+Wire Wire Line
+ 5850 5550 5850 5700
+Wire Wire Line
+ 5850 5150 5750 5150
+Wire Wire Line
+ 5750 3650 5750 5200
+Wire Wire Line
+ 5750 6100 5750 6050
+Wire Wire Line
+ 5800 6600 5800 6100
+Connection ~ 5800 6100
+Connection ~ 5750 5150
+Wire Wire Line
+ 11050 5600 6150 5600
+Connection ~ 6150 5600
+Wire Wire Line
+ 10750 250 10750 1600
+Wire Wire Line
+ -500 250 -500 4700
+Connection ~ -500 250
+Wire Wire Line
+ 6500 4150 6500 3050
+Wire Wire Line
+ 6500 3050 -500 3050
+Wire Wire Line
+ -1000 1700 -1000 7150
+Wire Wire Line
+ 11050 3050 11050 5600
+Wire Wire Line
+ 7250 5600 7250 7150
+Wire Wire Line
+ 7250 7150 -1000 7150
+Connection ~ -1000 6150
+Connection ~ 7250 5600
+Wire Wire Line
+ 11050 4450 12050 4450
+Connection ~ 11050 4450
+Wire Wire Line
+ 10750 1100 12050 1100
+Connection ~ 10750 1100
+Wire Wire Line
+ -8000 -500 -8000 3950
+Wire Wire Line
+ -8000 100 -8600 100
+Connection ~ -8000 100
+Wire Wire Line
+ 1450 -500 1450 3400
+Connection ~ -4650 -500
+Connection ~ 1450 850
+Wire Wire Line
+ -4600 3450 -200 3450
+Wire Wire Line
+ -200 3450 -200 7400
+Wire Wire Line
+ -4450 7400 7600 7400
+Connection ~ -200 7400
+Connection ~ 3350 7400
+Wire Wire Line
+ -1250 7400 -1250 7750
+Wire Wire Line
+ -1250 7750 -1700 7750
+Connection ~ -1250 7400
+Connection ~ -5800 4400
+Wire Wire Line
+ 2750 3650 5750 3650
+$Comp
+L PORT U1
+U 1 1 62AB0EBE
+P 12300 1100
+F 0 "U1" H 12350 1200 30 0000 C CNN
+F 1 "PORT" H 12300 1100 30 0000 C CNN
+F 2 "" H 12300 1100 60 0000 C CNN
+F 3 "" H 12300 1100 60 0000 C CNN
+ 1 12300 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62AB2486
+P -7700 -50
+F 0 "U1" H -7650 50 30 0000 C CNN
+F 1 "PORT" H -7700 -50 30 0000 C CNN
+F 2 "" H -7700 -50 60 0000 C CNN
+F 3 "" H -7700 -50 60 0000 C CNN
+ 2 -7700 -50
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62AB255B
+P -7700 500
+F 0 "U1" H -7650 600 30 0000 C CNN
+F 1 "PORT" H -7700 500 30 0000 C CNN
+F 2 "" H -7700 500 60 0000 C CNN
+F 3 "" H -7700 500 60 0000 C CNN
+ 3 -7700 500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62AB264C
+P -2550 950
+F 0 "U1" H -2500 1050 30 0000 C CNN
+F 1 "PORT" H -2550 950 30 0000 C CNN
+F 2 "" H -2550 950 60 0000 C CNN
+F 3 "" H -2550 950 60 0000 C CNN
+ 4 -2550 950
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62AB4A22
+P -8100 4400
+F 0 "U1" H -8050 4500 30 0000 C CNN
+F 1 "PORT" H -8100 4400 30 0000 C CNN
+F 2 "" H -8100 4400 60 0000 C CNN
+F 3 "" H -8100 4400 60 0000 C CNN
+ 5 -8100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62AB4AFB
+P -8050 4950
+F 0 "U1" H -8000 5050 30 0000 C CNN
+F 1 "PORT" H -8050 4950 30 0000 C CNN
+F 2 "" H -8050 4950 60 0000 C CNN
+F 3 "" H -8050 4950 60 0000 C CNN
+ 6 -8050 4950
+ 1 0 0 -1
+$EndComp
+Connection ~ -500 3050
+$Comp
+L PORT U1
+U 7 1 62ABA04F
+P -2400 5400
+F 0 "U1" H -2350 5500 30 0000 C CNN
+F 1 "PORT" H -2400 5400 30 0000 C CNN
+F 2 "" H -2400 5400 60 0000 C CNN
+F 3 "" H -2400 5400 60 0000 C CNN
+ 7 -2400 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62ABD427
+P -1950 7750
+F 0 "U1" H -1900 7850 30 0000 C CNN
+F 1 "PORT" H -1950 7750 30 0000 C CNN
+F 2 "" H -1950 7750 60 0000 C CNN
+F 3 "" H -1950 7750 60 0000 C CNN
+ 8 -1950 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62AC19FC
+P 5400 4850
+F 0 "U1" H 5450 4950 30 0000 C CNN
+F 1 "PORT" H 5400 4850 30 0000 C CNN
+F 2 "" H 5400 4850 60 0000 C CNN
+F 3 "" H 5400 4850 60 0000 C CNN
+ 9 5400 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62AC2D09
+P 1100 4400
+F 0 "U1" H 1150 4500 30 0000 C CNN
+F 1 "PORT" H 1100 4400 30 0000 C CNN
+F 2 "" H 1100 4400 60 0000 C CNN
+F 3 "" H 1100 4400 60 0000 C CNN
+ 10 1100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62AC2E02
+P 1100 3850
+F 0 "U1" H 1150 3950 30 0000 C CNN
+F 1 "PORT" H 1100 3850 30 0000 C CNN
+F 2 "" H 1100 3850 60 0000 C CNN
+F 3 "" H 1100 3850 60 0000 C CNN
+ 11 1100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62AC91B4
+P 9650 2300
+F 0 "U1" H 9700 2400 30 0000 C CNN
+F 1 "PORT" H 9650 2300 30 0000 C CNN
+F 2 "" H 9650 2300 60 0000 C CNN
+F 3 "" H 9650 2300 60 0000 C CNN
+ 12 9650 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62ACABE8
+P 3600 1850
+F 0 "U1" H 3650 1950 30 0000 C CNN
+F 1 "PORT" H 3600 1850 30 0000 C CNN
+F 2 "" H 3600 1850 60 0000 C CNN
+F 3 "" H 3600 1850 60 0000 C CNN
+ 13 3600 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62ACACE3
+P 3600 1300
+F 0 "U1" H 3650 1400 30 0000 C CNN
+F 1 "PORT" H 3600 1300 30 0000 C CNN
+F 2 "" H 3600 1300 60 0000 C CNN
+F 3 "" H 3600 1300 60 0000 C CNN
+ 14 3600 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62ACADBC
+P 12300 4450
+F 0 "U1" H 12350 4550 30 0000 C CNN
+F 1 "PORT" H 12300 4450 30 0000 C CNN
+F 2 "" H 12300 4450 60 0000 C CNN
+F 3 "" H 12300 4450 60 0000 C CNN
+ 15 12300 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62AD09D5
+P -8850 100
+F 0 "U1" H -8800 200 30 0000 C CNN
+F 1 "PORT" H -8850 100 30 0000 C CNN
+F 2 "" H -8850 100 60 0000 C CNN
+F 3 "" H -8850 100 60 0000 C CNN
+ 16 -8850 100
+ 1 0 0 -1
+$EndComp
+Connection ~ -2100 1700
+Connection ~ -4300 1700
+Wire Wire Line
+ -4300 1700 -2100 1700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157.sub b/library/SubcircuitLibrary/CD54_157/CD54_157.sub
new file mode 100644
index 00000000..9d85337b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157.sub
@@ -0,0 +1,72 @@
+* Subcircuit CD54_157
+.subckt CD54_157 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_157 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_157/CD54_157_Previous_Values.xml b/library/SubcircuitLibrary/CD54_157/CD54_157_Previous_Values.xml
new file mode 100644
index 00000000..850ea0ff
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/CD54_157_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m60><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m65><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m66><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m57><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m58><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m62><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m63><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m64><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m68><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m67><m71><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m71><m72><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m72><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m25><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m47><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m48><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m40><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m44><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m50><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m49><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m53><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_157/NMOS-180nm.lib b/library/SubcircuitLibrary/CD54_157/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD54_157/PMOS-180nm.lib b/library/SubcircuitLibrary/CD54_157/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD54_157/README.md b/library/SubcircuitLibrary/CD54_157/README.md
new file mode 100644
index 00000000..de2f8c9a
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/README.md
@@ -0,0 +1,21 @@
+
+# CD54HC157 IC
+
+CD54HC157 is 2:1 Multiplexer IC. It is designed with 180nm CMOS technology in eSim. It is 16 pin IC. The output depends on the select lines.
+## Usage/Examples
+
+Multiplexers
+## Documentation
+
+To know the details of CD54HC157 IC please go through with the documentation : [CD54HC157_datasheet](https://www.ti.com/lit/gpn/cd54hc157)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_157/analysis b/library/SubcircuitLibrary/CD54_157/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_157/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157-cache.lib b/library/SubcircuitLibrary/CD54_HC153/CD54_157-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir b/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir
new file mode 100644
index 00000000..8a833fef
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir
@@ -0,0 +1,75 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157\CD54_157.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/14/22 12:01:36
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M55 Net-_M55-Pad1_ /i0_3 /vcc /vcc eSim_MOS_P
+M60 Net-_M55-Pad1_ Net-_M58-Pad2_ /vcc /vcc eSim_MOS_P
+M65 Net-_M55-Pad1_ Net-_M57-Pad2_ /vcc /vcc eSim_MOS_P
+M56 /y3_bar /i1_3 Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M61 /y3_bar Net-_M58-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M66 /y3_bar /s Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M57 /y3_bar Net-_M57-Pad2_ Net-_M57-Pad3_ Net-_M57-Pad3_ eSim_MOS_N
+M58 Net-_M57-Pad3_ Net-_M58-Pad2_ Net-_M58-Pad3_ Net-_M58-Pad3_ eSim_MOS_N
+M59 Net-_M58-Pad3_ /i0_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M62 /y3_bar /s Net-_M62-Pad3_ Net-_M62-Pad3_ eSim_MOS_N
+M63 Net-_M62-Pad3_ Net-_M58-Pad2_ Net-_M63-Pad3_ Net-_M63-Pad3_ eSim_MOS_N
+M64 Net-_M63-Pad3_ /i1_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M68 Net-_M57-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M67 Net-_M57-Pad2_ /s /vcc /vcc eSim_MOS_P
+M71 Net-_M58-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M72 Net-_M58-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ /i0_1 /vcc /vcc eSim_MOS_P
+M11 Net-_M1-Pad1_ Net-_M11-Pad2_ /vcc /vcc eSim_MOS_P
+M18 Net-_M1-Pad1_ Net-_M18-Pad2_ /vcc /vcc eSim_MOS_P
+M2 /y1_bar /i1_1 Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M12 /y1_bar Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M19 /y1_bar /s Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M3 /y1_bar Net-_M18-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M11-Pad2_ Net-_M4-Pad3_ Net-_M4-Pad3_ eSim_MOS_N
+M5 Net-_M4-Pad3_ /i0_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M15 /y1_bar /s Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M17 Net-_M16-Pad3_ /i1_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M26 Net-_M18-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M25 Net-_M18-Pad2_ /s /vcc /vcc eSim_MOS_P
+M33 Net-_M11-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M34 Net-_M11-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M6 Net-_M13-Pad1_ /i0_2 /vcc /vcc eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ /vcc /vcc eSim_MOS_P
+M23 Net-_M13-Pad1_ Net-_M23-Pad2_ /vcc /vcc eSim_MOS_P
+M7 /y2_bar /i1_2 Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M14 /y2_bar Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M24 /y2_bar /s Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M8 /y2_bar Net-_M23-Pad2_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad3_ Net-_M13-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_N
+M10 Net-_M10-Pad1_ /i0_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M20 /y2_bar /s Net-_M20-Pad3_ Net-_M20-Pad3_ eSim_MOS_N
+M21 Net-_M20-Pad3_ Net-_M13-Pad2_ Net-_M21-Pad3_ Net-_M21-Pad3_ eSim_MOS_N
+M22 Net-_M21-Pad3_ /i1_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M30 Net-_M23-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M29 Net-_M23-Pad2_ /s /vcc /vcc eSim_MOS_P
+M35 Net-_M13-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M36 Net-_M13-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M37 Net-_M37-Pad1_ /i0_4 /vcc /vcc eSim_MOS_P
+M42 Net-_M37-Pad1_ Net-_M40-Pad2_ /vcc /vcc eSim_MOS_P
+M47 Net-_M37-Pad1_ Net-_M39-Pad2_ /vcc /vcc eSim_MOS_P
+M38 /y4_bar /i1_4 Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M43 /y4_bar Net-_M40-Pad2_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M48 /y4_bar /s Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M39 /y4_bar Net-_M39-Pad2_ Net-_M39-Pad3_ Net-_M39-Pad3_ eSim_MOS_N
+M40 Net-_M39-Pad3_ Net-_M40-Pad2_ Net-_M40-Pad3_ Net-_M40-Pad3_ eSim_MOS_N
+M41 Net-_M40-Pad3_ /i0_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M44 /y4_bar /s Net-_M44-Pad3_ Net-_M44-Pad3_ eSim_MOS_N
+M45 Net-_M44-Pad3_ Net-_M40-Pad2_ Net-_M45-Pad3_ Net-_M45-Pad3_ eSim_MOS_N
+M46 Net-_M45-Pad3_ /i1_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M50 Net-_M39-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M49 Net-_M39-Pad2_ /s /vcc /vcc eSim_MOS_P
+M53 Net-_M40-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M54 Net-_M40-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar Net-_M10-Pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir.out b/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir.out
new file mode 100644
index 00000000..1f4b4837
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157.cir.out
@@ -0,0 +1,78 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157.pro b/library/SubcircuitLibrary/CD54_HC153/CD54_157.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157.sch b/library/SubcircuitLibrary/CD54_HC153/CD54_157.sch
new file mode 100644
index 00000000..1e92f660
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157.sch
@@ -0,0 +1,1721 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54_157-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M55
+U 1 1 62A758F3
+P 6850 1300
+F 0 "M55" H 6800 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 1450 50 0000 R CNN
+F 2 "" H 7100 1400 29 0000 C CNN
+F 3 "" H 6900 1300 60 0000 C CNN
+ 1 6850 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M60
+U 1 1 62A758F4
+P 7700 1300
+F 0 "M60" H 7650 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 1450 50 0000 R CNN
+F 2 "" H 7950 1400 29 0000 C CNN
+F 3 "" H 7750 1300 60 0000 C CNN
+ 1 7700 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M65
+U 1 1 62A758F5
+P 8350 1300
+F 0 "M65" H 8300 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 1450 50 0000 R CNN
+F 2 "" H 8600 1400 29 0000 C CNN
+F 3 "" H 8400 1300 60 0000 C CNN
+ 1 8350 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 62A758F6
+P 6850 1850
+F 0 "M56" H 6800 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 2000 50 0000 R CNN
+F 2 "" H 7100 1950 29 0000 C CNN
+F 3 "" H 6900 1850 60 0000 C CNN
+ 1 6850 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 62A758F7
+P 7700 1850
+F 0 "M61" H 7650 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 2000 50 0000 R CNN
+F 2 "" H 7950 1950 29 0000 C CNN
+F 3 "" H 7750 1850 60 0000 C CNN
+ 1 7700 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M66
+U 1 1 62A758F8
+P 8350 1850
+F 0 "M66" H 8300 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 2000 50 0000 R CNN
+F 2 "" H 8600 1950 29 0000 C CNN
+F 3 "" H 8400 1850 60 0000 C CNN
+ 1 8350 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M57
+U 1 1 62A758F9
+P 7000 2550
+F 0 "M57" H 7000 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 2500 50 0000 R CNN
+F 2 "" H 7300 2250 29 0000 C CNN
+F 3 "" H 7100 2350 60 0000 C CNN
+ 1 7000 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M58
+U 1 1 62A758FA
+P 7000 3100
+F 0 "M58" H 7000 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3050 50 0000 R CNN
+F 2 "" H 7300 2800 29 0000 C CNN
+F 3 "" H 7100 2900 60 0000 C CNN
+ 1 7000 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 62A758FB
+P 7000 3650
+F 0 "M59" H 7000 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3600 50 0000 R CNN
+F 2 "" H 7300 3350 29 0000 C CNN
+F 3 "" H 7100 3450 60 0000 C CNN
+ 1 7000 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M62
+U 1 1 62A758FC
+P 8250 2550
+F 0 "M62" H 8250 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 2500 50 0000 R CNN
+F 2 "" H 8550 2250 29 0000 C CNN
+F 3 "" H 8350 2350 60 0000 C CNN
+ 1 8250 2550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M63
+U 1 1 62A758FD
+P 8250 3100
+F 0 "M63" H 8250 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3050 50 0000 R CNN
+F 2 "" H 8550 2800 29 0000 C CNN
+F 3 "" H 8350 2900 60 0000 C CNN
+ 1 8250 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M64
+U 1 1 62A758FE
+P 8250 3650
+F 0 "M64" H 8250 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3600 50 0000 R CNN
+F 2 "" H 8550 3350 29 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 1 8250 3650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M68
+U 1 1 62A758FF
+P 9450 1700
+F 0 "M68" H 9450 1550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9550 1650 50 0000 R CNN
+F 2 "" H 9750 1400 29 0000 C CNN
+F 3 "" H 9550 1500 60 0000 C CNN
+ 1 9450 1700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M67
+U 1 1 62A75900
+P 9400 1300
+F 0 "M67" H 9350 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9450 1450 50 0000 R CNN
+F 2 "" H 9650 1400 29 0000 C CNN
+F 3 "" H 9450 1300 60 0000 C CNN
+ 1 9400 1300
+ -1 0 0 1
+$EndComp
+Text Label 6550 1300 0 60 ~ 0
+i0_3
+Text Label 6450 1850 0 60 ~ 0
+i1_3
+Text Label 11550 1100 0 60 ~ 0
+sel
+Text Label 9050 2300 0 60 ~ 0
+y3_bar
+$Comp
+L eSim_MOS_P M71
+U 1 1 62A7D356
+P 10250 2800
+F 0 "M71" H 10200 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10300 2950 50 0000 R CNN
+F 2 "" H 10500 2900 29 0000 C CNN
+F 3 "" H 10300 2800 60 0000 C CNN
+ 1 10250 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M72
+U 1 1 62A7D35C
+P 10300 3150
+F 0 "M72" H 10300 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 3100 50 0000 R CNN
+F 2 "" H 10600 2850 29 0000 C CNN
+F 3 "" H 10400 2950 60 0000 C CNN
+ 1 10300 3150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 62A8A1B2
+P -5350 -50
+F 0 "M1" H -5400 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 100 50 0000 R CNN
+F 2 "" H -5100 50 29 0000 C CNN
+F 3 "" H -5300 -50 60 0000 C CNN
+ 1 -5350 -50
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62A8A1B8
+P -4500 -50
+F 0 "M11" H -4550 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 100 50 0000 R CNN
+F 2 "" H -4250 50 29 0000 C CNN
+F 3 "" H -4450 -50 60 0000 C CNN
+ 1 -4500 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 62A8A1BE
+P -3850 -50
+F 0 "M18" H -3900 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 100 50 0000 R CNN
+F 2 "" H -3600 50 29 0000 C CNN
+F 3 "" H -3800 -50 60 0000 C CNN
+ 1 -3850 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 62A8A1C4
+P -5350 500
+F 0 "M2" H -5400 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 650 50 0000 R CNN
+F 2 "" H -5100 600 29 0000 C CNN
+F 3 "" H -5300 500 60 0000 C CNN
+ 1 -5350 500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62A8A1CA
+P -4500 500
+F 0 "M12" H -4550 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 650 50 0000 R CNN
+F 2 "" H -4250 600 29 0000 C CNN
+F 3 "" H -4450 500 60 0000 C CNN
+ 1 -4500 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 62A8A1D0
+P -3850 500
+F 0 "M19" H -3900 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 650 50 0000 R CNN
+F 2 "" H -3600 600 29 0000 C CNN
+F 3 "" H -3800 500 60 0000 C CNN
+ 1 -3850 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62A8A1D6
+P -5200 1200
+F 0 "M3" H -5200 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1150 50 0000 R CNN
+F 2 "" H -4900 900 29 0000 C CNN
+F 3 "" H -5100 1000 60 0000 C CNN
+ 1 -5200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62A8A1DC
+P -5200 1750
+F 0 "M4" H -5200 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1700 50 0000 R CNN
+F 2 "" H -4900 1450 29 0000 C CNN
+F 3 "" H -5100 1550 60 0000 C CNN
+ 1 -5200 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62A8A1E2
+P -5200 2300
+F 0 "M5" H -5200 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 2250 50 0000 R CNN
+F 2 "" H -4900 2000 29 0000 C CNN
+F 3 "" H -5100 2100 60 0000 C CNN
+ 1 -5200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 62A8A1E8
+P -3950 1200
+F 0 "M15" H -3950 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1150 50 0000 R CNN
+F 2 "" H -3650 900 29 0000 C CNN
+F 3 "" H -3850 1000 60 0000 C CNN
+ 1 -3950 1200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 62A8A1EE
+P -3950 1750
+F 0 "M16" H -3950 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1700 50 0000 R CNN
+F 2 "" H -3650 1450 29 0000 C CNN
+F 3 "" H -3850 1550 60 0000 C CNN
+ 1 -3950 1750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62A8A1F4
+P -3950 2300
+F 0 "M17" H -3950 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 2250 50 0000 R CNN
+F 2 "" H -3650 2000 29 0000 C CNN
+F 3 "" H -3850 2100 60 0000 C CNN
+ 1 -3950 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62A8A1FA
+P -2750 350
+F 0 "M26" H -2750 200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2650 300 50 0000 R CNN
+F 2 "" H -2450 50 29 0000 C CNN
+F 3 "" H -2650 150 60 0000 C CNN
+ 1 -2750 350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M25
+U 1 1 62A8A200
+P -2800 -50
+F 0 "M25" H -2850 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2750 100 50 0000 R CNN
+F 2 "" H -2550 50 29 0000 C CNN
+F 3 "" H -2750 -50 60 0000 C CNN
+ 1 -2800 -50
+ -1 0 0 1
+$EndComp
+Text Label -5650 -50 0 60 ~ 0
+i0_1
+Text Label -5750 500 0 60 ~ 0
+i1_1
+Text Label -2350 250 0 60 ~ 0
+s
+Text Label -8300 100 0 60 ~ 0
+vcc
+Text Label -3000 950 2 60 ~ 0
+y1_bar
+$Comp
+L eSim_MOS_P M33
+U 1 1 62A8A287
+P -1950 1450
+F 0 "M33" H -2000 1500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1900 1600 50 0000 R CNN
+F 2 "" H -1700 1550 29 0000 C CNN
+F 3 "" H -1900 1450 60 0000 C CNN
+ 1 -1950 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 62A8A28D
+P -1900 1800
+F 0 "M34" H -1900 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1800 1750 50 0000 R CNN
+F 2 "" H -1600 1500 29 0000 C CNN
+F 3 "" H -1800 1600 60 0000 C CNN
+ 1 -1900 1800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62A8A727
+P -5200 4400
+F 0 "M6" H -5250 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 4550 50 0000 R CNN
+F 2 "" H -4950 4500 29 0000 C CNN
+F 3 "" H -5150 4400 60 0000 C CNN
+ 1 -5200 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62A8A72D
+P -4350 4400
+F 0 "M13" H -4400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 4550 50 0000 R CNN
+F 2 "" H -4100 4500 29 0000 C CNN
+F 3 "" H -4300 4400 60 0000 C CNN
+ 1 -4350 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 62A8A733
+P -3700 4400
+F 0 "M23" H -3750 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 4550 50 0000 R CNN
+F 2 "" H -3450 4500 29 0000 C CNN
+F 3 "" H -3650 4400 60 0000 C CNN
+ 1 -3700 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62A8A739
+P -5200 4950
+F 0 "M7" H -5250 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 5100 50 0000 R CNN
+F 2 "" H -4950 5050 29 0000 C CNN
+F 3 "" H -5150 4950 60 0000 C CNN
+ 1 -5200 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62A8A73F
+P -4350 4950
+F 0 "M14" H -4400 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 5100 50 0000 R CNN
+F 2 "" H -4100 5050 29 0000 C CNN
+F 3 "" H -4300 4950 60 0000 C CNN
+ 1 -4350 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 62A8A745
+P -3700 4950
+F 0 "M24" H -3750 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 5100 50 0000 R CNN
+F 2 "" H -3450 5050 29 0000 C CNN
+F 3 "" H -3650 4950 60 0000 C CNN
+ 1 -3700 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62A8A74B
+P -5050 5650
+F 0 "M8" H -5050 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 5600 50 0000 R CNN
+F 2 "" H -4750 5350 29 0000 C CNN
+F 3 "" H -4950 5450 60 0000 C CNN
+ 1 -5050 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62A8A751
+P -5050 6200
+F 0 "M9" H -5050 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6150 50 0000 R CNN
+F 2 "" H -4750 5900 29 0000 C CNN
+F 3 "" H -4950 6000 60 0000 C CNN
+ 1 -5050 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62A8A757
+P -5050 6750
+F 0 "M10" H -5050 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6700 50 0000 R CNN
+F 2 "" H -4750 6450 29 0000 C CNN
+F 3 "" H -4950 6550 60 0000 C CNN
+ 1 -5050 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 62A8A75D
+P -3800 5650
+F 0 "M20" H -3800 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 5600 50 0000 R CNN
+F 2 "" H -3500 5350 29 0000 C CNN
+F 3 "" H -3700 5450 60 0000 C CNN
+ 1 -3800 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 62A8A763
+P -3800 6200
+F 0 "M21" H -3800 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6150 50 0000 R CNN
+F 2 "" H -3500 5900 29 0000 C CNN
+F 3 "" H -3700 6000 60 0000 C CNN
+ 1 -3800 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62A8A769
+P -3800 6750
+F 0 "M22" H -3800 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6700 50 0000 R CNN
+F 2 "" H -3500 6450 29 0000 C CNN
+F 3 "" H -3700 6550 60 0000 C CNN
+ 1 -3800 6750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 62A8A76F
+P -2600 4800
+F 0 "M30" H -2600 4650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2500 4750 50 0000 R CNN
+F 2 "" H -2300 4500 29 0000 C CNN
+F 3 "" H -2500 4600 60 0000 C CNN
+ 1 -2600 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 62A8A775
+P -2650 4400
+F 0 "M29" H -2700 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2600 4550 50 0000 R CNN
+F 2 "" H -2400 4500 29 0000 C CNN
+F 3 "" H -2600 4400 60 0000 C CNN
+ 1 -2650 4400
+ -1 0 0 1
+$EndComp
+Text Label -5500 4400 0 60 ~ 0
+i0_2
+Text Label -5600 4950 0 60 ~ 0
+i1_2
+Text Label -2200 4700 0 60 ~ 0
+s
+Text Label -3050 5400 0 60 ~ 0
+y2_bar
+Text Label 11500 4450 0 60 ~ 0
+enable_bar
+$Comp
+L eSim_MOS_P M35
+U 1 1 62A8A7FC
+P -1800 5900
+F 0 "M35" H -1850 5950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1750 6050 50 0000 R CNN
+F 2 "" H -1550 6000 29 0000 C CNN
+F 3 "" H -1750 5900 60 0000 C CNN
+ 1 -1800 5900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 62A8A802
+P -1750 6250
+F 0 "M36" H -1750 6100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1650 6200 50 0000 R CNN
+F 2 "" H -1450 5950 29 0000 C CNN
+F 3 "" H -1650 6050 60 0000 C CNN
+ 1 -1750 6250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 62A8AFEC
+P 2600 3850
+F 0 "M37" H 2550 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4000 50 0000 R CNN
+F 2 "" H 2850 3950 29 0000 C CNN
+F 3 "" H 2650 3850 60 0000 C CNN
+ 1 2600 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 62A8AFF2
+P 3450 3850
+F 0 "M42" H 3400 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4000 50 0000 R CNN
+F 2 "" H 3700 3950 29 0000 C CNN
+F 3 "" H 3500 3850 60 0000 C CNN
+ 1 3450 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M47
+U 1 1 62A8AFF8
+P 4100 3850
+F 0 "M47" H 4050 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4000 50 0000 R CNN
+F 2 "" H 4350 3950 29 0000 C CNN
+F 3 "" H 4150 3850 60 0000 C CNN
+ 1 4100 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62A8AFFE
+P 2600 4400
+F 0 "M38" H 2550 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4550 50 0000 R CNN
+F 2 "" H 2850 4500 29 0000 C CNN
+F 3 "" H 2650 4400 60 0000 C CNN
+ 1 2600 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 62A8B004
+P 3450 4400
+F 0 "M43" H 3400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4550 50 0000 R CNN
+F 2 "" H 3700 4500 29 0000 C CNN
+F 3 "" H 3500 4400 60 0000 C CNN
+ 1 3450 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M48
+U 1 1 62A8B00A
+P 4100 4400
+F 0 "M48" H 4050 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4550 50 0000 R CNN
+F 2 "" H 4350 4500 29 0000 C CNN
+F 3 "" H 4150 4400 60 0000 C CNN
+ 1 4100 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 62A8B010
+P 2750 5100
+F 0 "M39" H 2750 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5050 50 0000 R CNN
+F 2 "" H 3050 4800 29 0000 C CNN
+F 3 "" H 2850 4900 60 0000 C CNN
+ 1 2750 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M40
+U 1 1 62A8B016
+P 2750 5650
+F 0 "M40" H 2750 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5600 50 0000 R CNN
+F 2 "" H 3050 5350 29 0000 C CNN
+F 3 "" H 2850 5450 60 0000 C CNN
+ 1 2750 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62A8B01C
+P 2750 6200
+F 0 "M41" H 2750 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 6150 50 0000 R CNN
+F 2 "" H 3050 5900 29 0000 C CNN
+F 3 "" H 2850 6000 60 0000 C CNN
+ 1 2750 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M44
+U 1 1 62A8B022
+P 4000 5100
+F 0 "M44" H 4000 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5050 50 0000 R CNN
+F 2 "" H 4300 4800 29 0000 C CNN
+F 3 "" H 4100 4900 60 0000 C CNN
+ 1 4000 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 62A8B028
+P 4000 5650
+F 0 "M45" H 4000 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5600 50 0000 R CNN
+F 2 "" H 4300 5350 29 0000 C CNN
+F 3 "" H 4100 5450 60 0000 C CNN
+ 1 4000 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 62A8B02E
+P 4000 6200
+F 0 "M46" H 4000 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 6150 50 0000 R CNN
+F 2 "" H 4300 5900 29 0000 C CNN
+F 3 "" H 4100 6000 60 0000 C CNN
+ 1 4000 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M50
+U 1 1 62A8B034
+P 5200 4250
+F 0 "M50" H 5200 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 4200 50 0000 R CNN
+F 2 "" H 5500 3950 29 0000 C CNN
+F 3 "" H 5300 4050 60 0000 C CNN
+ 1 5200 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M49
+U 1 1 62A8B03A
+P 5150 3850
+F 0 "M49" H 5100 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5200 4000 50 0000 R CNN
+F 2 "" H 5400 3950 29 0000 C CNN
+F 3 "" H 5200 3850 60 0000 C CNN
+ 1 5150 3850
+ -1 0 0 1
+$EndComp
+Text Label 2300 3850 0 60 ~ 0
+i0_4
+Text Label 2200 4400 0 60 ~ 0
+i1_4
+Text Label 4750 4850 0 60 ~ 0
+y4_bar
+$Comp
+L eSim_MOS_P M53
+U 1 1 62A8B0C1
+P 6000 5350
+F 0 "M53" H 5950 5400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6050 5500 50 0000 R CNN
+F 2 "" H 6250 5450 29 0000 C CNN
+F 3 "" H 6050 5350 60 0000 C CNN
+ 1 6000 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 62A8B0C7
+P 6050 5700
+F 0 "M54" H 6050 5550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6150 5650 50 0000 R CNN
+F 2 "" H 6350 5400 29 0000 C CNN
+F 3 "" H 6150 5500 60 0000 C CNN
+ 1 6050 5700
+ -1 0 0 -1
+$EndComp
+Connection ~ 9250 1100
+Connection ~ 7900 3050
+Wire Wire Line
+ 7900 3050 10100 3050
+Connection ~ 7850 1750
+Connection ~ 7900 3150
+Wire Wire Line
+ 7900 1750 7900 3150
+Wire Wire Line
+ 7850 1750 7900 1750
+Connection ~ 9250 4050
+Connection ~ 6250 1300
+Wire Wire Line
+ 6250 1300 6250 3850
+Connection ~ 6350 1850
+Wire Wire Line
+ 6350 3600 6350 1850
+Connection ~ 7550 2300
+Wire Wire Line
+ 7550 2300 9400 2300
+Wire Wire Line
+ 3850 1850 6700 1850
+Wire Wire Line
+ 3850 1300 6700 1300
+Wire Wire Line
+ 6250 3850 6900 3850
+Wire Wire Line
+ 8350 3600 6350 3600
+Wire Wire Line
+ 8350 3850 8350 3600
+Connection ~ 8950 1850
+Wire Wire Line
+ 8950 2750 8350 2750
+Connection ~ 8950 1600
+Wire Wire Line
+ 6600 2750 6900 2750
+Wire Wire Line
+ 6600 1600 6600 2750
+Connection ~ 9650 1600
+Wire Wire Line
+ 8950 1850 8500 1850
+Wire Wire Line
+ 8950 1700 8950 2750
+Wire Wire Line
+ 9650 1700 8950 1700
+Wire Wire Line
+ 9650 1600 9650 1700
+Connection ~ 8050 4050
+Wire Wire Line
+ 9250 4050 9250 2100
+Connection ~ 8200 1100
+Connection ~ 9150 1100
+Connection ~ 9250 1600
+Wire Wire Line
+ 8950 1300 8500 1300
+Wire Wire Line
+ 8950 1600 8950 1300
+Wire Wire Line
+ 6600 1600 9250 1600
+Connection ~ 9550 1600
+Wire Wire Line
+ 10750 1600 9550 1600
+Wire Wire Line
+ 9550 1300 9550 1900
+Wire Wire Line
+ 9250 2100 9150 2100
+Wire Wire Line
+ 9150 2100 9150 2050
+Wire Wire Line
+ 9150 1100 9150 1150
+Wire Wire Line
+ 9250 1500 9250 1700
+Wire Wire Line
+ 1450 850 7550 850
+Wire Wire Line
+ 7550 850 7550 1100
+Wire Wire Line
+ 6900 3150 6900 3300
+Wire Wire Line
+ 6900 3150 8350 3150
+Wire Wire Line
+ 8350 3150 8350 3300
+Wire Wire Line
+ 7850 1300 7850 1850
+Wire Wire Line
+ 7550 1650 7550 1500
+Connection ~ 7600 4050
+Wire Wire Line
+ 7600 7400 7600 4050
+Connection ~ 7550 2550
+Wire Wire Line
+ 7550 2050 7550 2550
+Connection ~ 7950 4050
+Wire Wire Line
+ 7950 4050 7950 4000
+Connection ~ 7300 4050
+Wire Wire Line
+ 7300 4000 7300 4050
+Wire Wire Line
+ 7950 3500 8050 3500
+Wire Wire Line
+ 7950 3450 7950 3500
+Wire Wire Line
+ 7300 3500 7200 3500
+Wire Wire Line
+ 7300 3450 7300 3500
+Wire Wire Line
+ 7950 2950 8050 2950
+Wire Wire Line
+ 7950 2900 7950 2950
+Wire Wire Line
+ 7300 2950 7200 2950
+Wire Wire Line
+ 7300 2900 7300 2950
+Wire Wire Line
+ 7200 4050 10050 4050
+Wire Wire Line
+ 8050 3500 8050 3650
+Wire Wire Line
+ 7200 3500 7200 3650
+Wire Wire Line
+ 8050 2950 8050 3100
+Wire Wire Line
+ 7200 2950 7200 3100
+Wire Wire Line
+ 7200 2550 8050 2550
+Connection ~ 8100 1100
+Wire Wire Line
+ 8100 1100 8100 1150
+Connection ~ 7450 1100
+Wire Wire Line
+ 7450 1100 7450 1150
+Connection ~ 7100 1100
+Wire Wire Line
+ 7100 1150 7100 1100
+Connection ~ 8100 1650
+Wire Wire Line
+ 8100 1650 8100 1700
+Connection ~ 7450 1650
+Wire Wire Line
+ 7450 1650 7450 1700
+Connection ~ 7100 1650
+Wire Wire Line
+ 7100 1700 7100 1650
+Connection ~ 7550 2050
+Wire Wire Line
+ 7000 2050 8200 2050
+Connection ~ 7550 1650
+Wire Wire Line
+ 7000 1650 8200 1650
+Connection ~ 7550 1500
+Wire Wire Line
+ 7000 1500 8200 1500
+Connection ~ 7550 1100
+Wire Wire Line
+ 7000 1100 10000 1100
+Connection ~ 10100 3050
+Wire Wire Line
+ 10000 3550 10100 3550
+Wire Wire Line
+ 10400 2800 10400 3350
+Wire Wire Line
+ 10100 3000 10100 3150
+Wire Wire Line
+ 10100 2600 10000 2600
+Wire Wire Line
+ 10000 1100 10000 2650
+Wire Wire Line
+ 10000 3550 10000 3500
+Wire Wire Line
+ 10050 4050 10050 3550
+Connection ~ 10050 3550
+Connection ~ 10000 2600
+Wire Wire Line
+ 10400 3050 11050 3050
+Connection ~ 10400 3050
+Connection ~ -2950 -250
+Connection ~ -4350 400
+Connection ~ -4300 1800
+Wire Wire Line
+ -4300 400 -4300 1800
+Wire Wire Line
+ -4350 400 -4300 400
+Connection ~ -2950 2700
+Connection ~ -5950 -50
+Wire Wire Line
+ -5950 -50 -5950 2500
+Connection ~ -5850 500
+Wire Wire Line
+ -5850 2250 -5850 500
+Connection ~ -4650 950
+Wire Wire Line
+ -4650 950 -2800 950
+Wire Wire Line
+ -7450 500 -5500 500
+Wire Wire Line
+ -7450 -50 -5500 -50
+Wire Wire Line
+ -5950 2500 -5300 2500
+Wire Wire Line
+ -3850 2250 -5850 2250
+Wire Wire Line
+ -3850 2500 -3850 2250
+Connection ~ -3250 500
+Wire Wire Line
+ -3250 1400 -3850 1400
+Connection ~ -3250 250
+Wire Wire Line
+ -5600 1400 -5300 1400
+Wire Wire Line
+ -5600 250 -5600 1400
+Connection ~ -2550 250
+Wire Wire Line
+ -3250 500 -3700 500
+Wire Wire Line
+ -3250 350 -3250 1400
+Wire Wire Line
+ -2550 350 -3250 350
+Wire Wire Line
+ -2550 250 -2550 350
+Connection ~ -4150 2700
+Wire Wire Line
+ -2950 2700 -2950 750
+Connection ~ -4000 -250
+Connection ~ -3050 -250
+Connection ~ -2950 250
+Wire Wire Line
+ -3250 -50 -3700 -50
+Wire Wire Line
+ -3250 250 -3250 -50
+Wire Wire Line
+ -5600 250 -2950 250
+Connection ~ -2650 250
+Wire Wire Line
+ -2650 250 10750 250
+Wire Wire Line
+ -2650 -50 -2650 550
+Wire Wire Line
+ -2950 750 -3050 750
+Wire Wire Line
+ -3050 750 -3050 700
+Wire Wire Line
+ -3050 -250 -3050 -200
+Wire Wire Line
+ -2950 150 -2950 350
+Wire Wire Line
+ -8000 -500 1450 -500
+Wire Wire Line
+ -4650 -250 -4650 -500
+Wire Wire Line
+ -5300 1800 -5300 1950
+Wire Wire Line
+ -5300 1800 -3850 1800
+Wire Wire Line
+ -3850 1800 -3850 1950
+Wire Wire Line
+ -4350 -50 -4350 500
+Wire Wire Line
+ -4650 300 -4650 150
+Connection ~ -4600 2700
+Wire Wire Line
+ -4600 2700 -4600 3450
+Connection ~ -4650 1200
+Wire Wire Line
+ -4650 700 -4650 1200
+Connection ~ -4250 2700
+Wire Wire Line
+ -4250 2700 -4250 2650
+Connection ~ -4900 2700
+Wire Wire Line
+ -4900 2650 -4900 2700
+Wire Wire Line
+ -4250 2150 -4150 2150
+Wire Wire Line
+ -4250 2100 -4250 2150
+Wire Wire Line
+ -4900 2150 -5000 2150
+Wire Wire Line
+ -4900 2100 -4900 2150
+Wire Wire Line
+ -4250 1600 -4150 1600
+Wire Wire Line
+ -4250 1550 -4250 1600
+Wire Wire Line
+ -4900 1600 -5000 1600
+Wire Wire Line
+ -4900 1550 -4900 1600
+Wire Wire Line
+ -5000 2700 -2150 2700
+Wire Wire Line
+ -4150 2150 -4150 2300
+Wire Wire Line
+ -5000 2150 -5000 2300
+Wire Wire Line
+ -4150 1600 -4150 1750
+Wire Wire Line
+ -5000 1600 -5000 1750
+Wire Wire Line
+ -5000 1200 -4150 1200
+Connection ~ -4100 -250
+Wire Wire Line
+ -4100 -250 -4100 -200
+Connection ~ -4750 -250
+Wire Wire Line
+ -4750 -250 -4750 -200
+Connection ~ -5100 -250
+Wire Wire Line
+ -5100 -200 -5100 -250
+Connection ~ -4100 300
+Wire Wire Line
+ -4100 300 -4100 350
+Connection ~ -4750 300
+Wire Wire Line
+ -4750 300 -4750 350
+Connection ~ -5100 300
+Wire Wire Line
+ -5100 350 -5100 300
+Connection ~ -4650 700
+Wire Wire Line
+ -5200 700 -4000 700
+Connection ~ -4650 300
+Wire Wire Line
+ -5200 300 -4000 300
+Connection ~ -4650 150
+Wire Wire Line
+ -5200 150 -4000 150
+Connection ~ -4650 -250
+Wire Wire Line
+ -5200 -250 -2200 -250
+Wire Wire Line
+ -2200 2200 -2100 2200
+Wire Wire Line
+ -1800 1450 -1800 2000
+Wire Wire Line
+ -2100 1650 -2100 1800
+Wire Wire Line
+ -2100 1250 -2200 1250
+Wire Wire Line
+ -2200 -250 -2200 1300
+Wire Wire Line
+ -2200 2200 -2200 2150
+Wire Wire Line
+ -2150 2700 -2150 2200
+Connection ~ -2150 2200
+Connection ~ -2200 1250
+Wire Wire Line
+ -1800 1700 -1000 1700
+Connection ~ -1800 1700
+Connection ~ -2800 4200
+Connection ~ -4150 6150
+Wire Wire Line
+ -4150 6150 -1950 6150
+Connection ~ -4200 4850
+Connection ~ -4150 6250
+Wire Wire Line
+ -4150 4850 -4150 6250
+Wire Wire Line
+ -4200 4850 -4150 4850
+Connection ~ -2800 7150
+Wire Wire Line
+ -5800 4400 -5800 6950
+Connection ~ -5700 4950
+Wire Wire Line
+ -5700 6700 -5700 4950
+Connection ~ -4500 5400
+Wire Wire Line
+ -4500 5400 -2650 5400
+Wire Wire Line
+ -7800 4950 -5350 4950
+Wire Wire Line
+ -7850 4400 -5350 4400
+Wire Wire Line
+ -5800 6950 -5150 6950
+Wire Wire Line
+ -3700 6700 -5700 6700
+Wire Wire Line
+ -3700 6950 -3700 6700
+Connection ~ -3100 4950
+Wire Wire Line
+ -3100 5850 -3700 5850
+Connection ~ -3100 4700
+Wire Wire Line
+ -5450 5850 -5150 5850
+Wire Wire Line
+ -5450 4700 -5450 5850
+Connection ~ -2400 4700
+Wire Wire Line
+ -3100 4950 -3550 4950
+Wire Wire Line
+ -3100 4800 -3100 5850
+Wire Wire Line
+ -2400 4800 -3100 4800
+Wire Wire Line
+ -2400 4700 -2400 4800
+Connection ~ -4000 7150
+Wire Wire Line
+ -2800 7150 -2800 5200
+Connection ~ -3850 4200
+Connection ~ -2900 4200
+Connection ~ -2800 4700
+Wire Wire Line
+ -3100 4400 -3550 4400
+Wire Wire Line
+ -3100 4700 -3100 4400
+Wire Wire Line
+ -5450 4700 -2800 4700
+Connection ~ -2500 4700
+Wire Wire Line
+ -500 4700 -2500 4700
+Wire Wire Line
+ -2500 4400 -2500 5000
+Wire Wire Line
+ -2800 5200 -2900 5200
+Wire Wire Line
+ -2900 5200 -2900 5150
+Wire Wire Line
+ -2900 4200 -2900 4250
+Wire Wire Line
+ -2800 4600 -2800 4800
+Wire Wire Line
+ -8000 3950 -4500 3950
+Wire Wire Line
+ -4500 3950 -4500 4200
+Wire Wire Line
+ -5150 6250 -5150 6400
+Wire Wire Line
+ -5150 6250 -3700 6250
+Wire Wire Line
+ -3700 6250 -3700 6400
+Wire Wire Line
+ -4200 4400 -4200 4950
+Wire Wire Line
+ -4500 4750 -4500 4600
+Connection ~ -4450 7150
+Wire Wire Line
+ -4450 7150 -4450 7400
+Connection ~ -4500 5650
+Wire Wire Line
+ -4500 5150 -4500 5650
+Connection ~ -4100 7150
+Wire Wire Line
+ -4100 7150 -4100 7100
+Connection ~ -4750 7150
+Wire Wire Line
+ -4750 7100 -4750 7150
+Wire Wire Line
+ -4100 6600 -4000 6600
+Wire Wire Line
+ -4100 6550 -4100 6600
+Wire Wire Line
+ -4750 6600 -4850 6600
+Wire Wire Line
+ -4750 6550 -4750 6600
+Wire Wire Line
+ -4100 6050 -4000 6050
+Wire Wire Line
+ -4100 6000 -4100 6050
+Wire Wire Line
+ -4750 6050 -4850 6050
+Wire Wire Line
+ -4750 6000 -4750 6050
+Wire Wire Line
+ -4850 7150 -2000 7150
+Wire Wire Line
+ -4000 6600 -4000 6750
+Wire Wire Line
+ -4850 6600 -4850 6750
+Wire Wire Line
+ -4000 6050 -4000 6200
+Wire Wire Line
+ -4850 6050 -4850 6200
+Wire Wire Line
+ -4850 5650 -4000 5650
+Connection ~ -3950 4200
+Wire Wire Line
+ -3950 4200 -3950 4250
+Connection ~ -4600 4200
+Wire Wire Line
+ -4600 4200 -4600 4250
+Connection ~ -4950 4200
+Wire Wire Line
+ -4950 4250 -4950 4200
+Connection ~ -3950 4750
+Wire Wire Line
+ -3950 4750 -3950 4800
+Connection ~ -4600 4750
+Wire Wire Line
+ -4600 4750 -4600 4800
+Connection ~ -4950 4750
+Wire Wire Line
+ -4950 4800 -4950 4750
+Connection ~ -4500 5150
+Wire Wire Line
+ -5050 5150 -3850 5150
+Connection ~ -4500 4750
+Wire Wire Line
+ -5050 4750 -3850 4750
+Connection ~ -4500 4600
+Wire Wire Line
+ -5050 4600 -3850 4600
+Connection ~ -4500 4200
+Wire Wire Line
+ -5050 4200 -2050 4200
+Connection ~ -1950 6150
+Wire Wire Line
+ -2050 6650 -1950 6650
+Wire Wire Line
+ -1650 5900 -1650 6450
+Wire Wire Line
+ -1950 6100 -1950 6250
+Wire Wire Line
+ -1950 5700 -2050 5700
+Wire Wire Line
+ -2050 4200 -2050 5750
+Wire Wire Line
+ -2050 6650 -2050 6600
+Wire Wire Line
+ -2000 7150 -2000 6650
+Connection ~ -2000 6650
+Connection ~ -2050 5700
+Wire Wire Line
+ -1650 6150 -1000 6150
+Connection ~ -1650 6150
+Connection ~ 5000 3650
+Connection ~ 3650 5600
+Wire Wire Line
+ 3650 5600 5850 5600
+Connection ~ 3600 4300
+Connection ~ 3650 5700
+Wire Wire Line
+ 3650 4300 3650 5700
+Wire Wire Line
+ 3600 4300 3650 4300
+Connection ~ 5000 6600
+Connection ~ 2000 3850
+Wire Wire Line
+ 2000 3850 2000 6400
+Connection ~ 2100 4400
+Wire Wire Line
+ 2100 6150 2100 4400
+Connection ~ 3300 4850
+Wire Wire Line
+ 3300 4850 5150 4850
+Wire Wire Line
+ 1350 4400 2450 4400
+Wire Wire Line
+ 1350 3850 2450 3850
+Wire Wire Line
+ 2000 6400 2650 6400
+Wire Wire Line
+ 4100 6150 2100 6150
+Wire Wire Line
+ 4100 6400 4100 6150
+Connection ~ 4700 4400
+Wire Wire Line
+ 4700 5300 4100 5300
+Connection ~ 4700 4150
+Wire Wire Line
+ 2350 5300 2650 5300
+Wire Wire Line
+ 2350 4150 2350 5300
+Connection ~ 5400 4150
+Wire Wire Line
+ 4700 4400 4250 4400
+Wire Wire Line
+ 4700 4250 4700 5300
+Wire Wire Line
+ 5400 4250 4700 4250
+Wire Wire Line
+ 5400 4150 5400 4250
+Connection ~ 3800 6600
+Wire Wire Line
+ 5000 6600 5000 4650
+Connection ~ 3950 3650
+Connection ~ 4900 3650
+Connection ~ 5000 4150
+Wire Wire Line
+ 4700 3850 4250 3850
+Wire Wire Line
+ 4700 4150 4700 3850
+Wire Wire Line
+ 2350 4150 5000 4150
+Connection ~ 5300 4150
+Wire Wire Line
+ 5300 4150 6500 4150
+Wire Wire Line
+ 5300 3850 5300 4450
+Wire Wire Line
+ 5000 4650 4900 4650
+Wire Wire Line
+ 4900 4650 4900 4600
+Wire Wire Line
+ 4900 3650 4900 3700
+Wire Wire Line
+ 5000 4050 5000 4250
+Wire Wire Line
+ 1450 3400 3300 3400
+Wire Wire Line
+ 3300 3400 3300 3650
+Wire Wire Line
+ 2650 5700 2650 5850
+Wire Wire Line
+ 2650 5700 4100 5700
+Wire Wire Line
+ 4100 5700 4100 5850
+Wire Wire Line
+ 3600 3850 3600 4400
+Wire Wire Line
+ 3300 4200 3300 4050
+Connection ~ 3350 6600
+Wire Wire Line
+ 3350 7400 3350 6600
+Connection ~ 3300 5100
+Wire Wire Line
+ 3300 4600 3300 5100
+Connection ~ 3700 6600
+Wire Wire Line
+ 3700 6600 3700 6550
+Connection ~ 3050 6600
+Wire Wire Line
+ 3050 6550 3050 6600
+Wire Wire Line
+ 3700 6050 3800 6050
+Wire Wire Line
+ 3700 6000 3700 6050
+Wire Wire Line
+ 3050 6050 2950 6050
+Wire Wire Line
+ 3050 6000 3050 6050
+Wire Wire Line
+ 3700 5500 3800 5500
+Wire Wire Line
+ 3700 5450 3700 5500
+Wire Wire Line
+ 3050 5500 2950 5500
+Wire Wire Line
+ 3050 5450 3050 5500
+Wire Wire Line
+ 2950 6600 5800 6600
+Wire Wire Line
+ 3800 6050 3800 6200
+Wire Wire Line
+ 2950 6050 2950 6200
+Wire Wire Line
+ 3800 5500 3800 5650
+Wire Wire Line
+ 2950 5500 2950 5650
+Wire Wire Line
+ 2950 5100 3800 5100
+Connection ~ 3850 3650
+Wire Wire Line
+ 3850 3650 3850 3700
+Connection ~ 3200 3650
+Wire Wire Line
+ 3200 3650 3200 3700
+Connection ~ 2850 3650
+Wire Wire Line
+ 2850 3700 2850 3650
+Connection ~ 3850 4200
+Wire Wire Line
+ 3850 4200 3850 4250
+Connection ~ 3200 4200
+Wire Wire Line
+ 3200 4200 3200 4250
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4250 2850 4200
+Connection ~ 3300 4600
+Wire Wire Line
+ 2750 4600 3950 4600
+Connection ~ 3300 4200
+Wire Wire Line
+ 2750 4200 3950 4200
+Connection ~ 3300 4050
+Wire Wire Line
+ 2750 4050 3950 4050
+Connection ~ 3300 3650
+Connection ~ 5850 5600
+Wire Wire Line
+ 5750 6100 5850 6100
+Wire Wire Line
+ 6150 5350 6150 5900
+Wire Wire Line
+ 5850 5550 5850 5700
+Wire Wire Line
+ 5850 5150 5750 5150
+Wire Wire Line
+ 5750 3650 5750 5200
+Wire Wire Line
+ 5750 6100 5750 6050
+Wire Wire Line
+ 5800 6600 5800 6100
+Connection ~ 5800 6100
+Connection ~ 5750 5150
+Wire Wire Line
+ 11050 5600 6150 5600
+Connection ~ 6150 5600
+Wire Wire Line
+ 10750 250 10750 1600
+Wire Wire Line
+ -500 250 -500 4700
+Connection ~ -500 250
+Wire Wire Line
+ 6500 4150 6500 3050
+Wire Wire Line
+ 6500 3050 -500 3050
+Wire Wire Line
+ -1000 1700 -1000 7150
+Wire Wire Line
+ 11050 3050 11050 5600
+Wire Wire Line
+ 7250 5600 7250 7150
+Wire Wire Line
+ 7250 7150 -1000 7150
+Connection ~ -1000 6150
+Connection ~ 7250 5600
+Wire Wire Line
+ 11050 4450 12050 4450
+Connection ~ 11050 4450
+Wire Wire Line
+ 10750 1100 12050 1100
+Connection ~ 10750 1100
+Wire Wire Line
+ -8000 -500 -8000 3950
+Wire Wire Line
+ -8000 100 -8600 100
+Connection ~ -8000 100
+Wire Wire Line
+ 1450 -500 1450 3400
+Connection ~ -4650 -500
+Connection ~ 1450 850
+Wire Wire Line
+ -4600 3450 -200 3450
+Wire Wire Line
+ -200 3450 -200 7400
+Wire Wire Line
+ -4450 7400 7600 7400
+Connection ~ -200 7400
+Connection ~ 3350 7400
+Wire Wire Line
+ -1250 7400 -1250 7750
+Wire Wire Line
+ -1250 7750 -1700 7750
+Connection ~ -1250 7400
+Connection ~ -5800 4400
+Wire Wire Line
+ 2750 3650 5750 3650
+$Comp
+L PORT U1
+U 1 1 62AB0EBE
+P 12300 1100
+F 0 "U1" H 12350 1200 30 0000 C CNN
+F 1 "PORT" H 12300 1100 30 0000 C CNN
+F 2 "" H 12300 1100 60 0000 C CNN
+F 3 "" H 12300 1100 60 0000 C CNN
+ 1 12300 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62AB2486
+P -7700 -50
+F 0 "U1" H -7650 50 30 0000 C CNN
+F 1 "PORT" H -7700 -50 30 0000 C CNN
+F 2 "" H -7700 -50 60 0000 C CNN
+F 3 "" H -7700 -50 60 0000 C CNN
+ 2 -7700 -50
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62AB255B
+P -7700 500
+F 0 "U1" H -7650 600 30 0000 C CNN
+F 1 "PORT" H -7700 500 30 0000 C CNN
+F 2 "" H -7700 500 60 0000 C CNN
+F 3 "" H -7700 500 60 0000 C CNN
+ 3 -7700 500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62AB264C
+P -2550 950
+F 0 "U1" H -2500 1050 30 0000 C CNN
+F 1 "PORT" H -2550 950 30 0000 C CNN
+F 2 "" H -2550 950 60 0000 C CNN
+F 3 "" H -2550 950 60 0000 C CNN
+ 4 -2550 950
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62AB4A22
+P -8100 4400
+F 0 "U1" H -8050 4500 30 0000 C CNN
+F 1 "PORT" H -8100 4400 30 0000 C CNN
+F 2 "" H -8100 4400 60 0000 C CNN
+F 3 "" H -8100 4400 60 0000 C CNN
+ 5 -8100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62AB4AFB
+P -8050 4950
+F 0 "U1" H -8000 5050 30 0000 C CNN
+F 1 "PORT" H -8050 4950 30 0000 C CNN
+F 2 "" H -8050 4950 60 0000 C CNN
+F 3 "" H -8050 4950 60 0000 C CNN
+ 6 -8050 4950
+ 1 0 0 -1
+$EndComp
+Connection ~ -500 3050
+$Comp
+L PORT U1
+U 7 1 62ABA04F
+P -2400 5400
+F 0 "U1" H -2350 5500 30 0000 C CNN
+F 1 "PORT" H -2400 5400 30 0000 C CNN
+F 2 "" H -2400 5400 60 0000 C CNN
+F 3 "" H -2400 5400 60 0000 C CNN
+ 7 -2400 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62ABD427
+P -1950 7750
+F 0 "U1" H -1900 7850 30 0000 C CNN
+F 1 "PORT" H -1950 7750 30 0000 C CNN
+F 2 "" H -1950 7750 60 0000 C CNN
+F 3 "" H -1950 7750 60 0000 C CNN
+ 8 -1950 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62AC19FC
+P 5400 4850
+F 0 "U1" H 5450 4950 30 0000 C CNN
+F 1 "PORT" H 5400 4850 30 0000 C CNN
+F 2 "" H 5400 4850 60 0000 C CNN
+F 3 "" H 5400 4850 60 0000 C CNN
+ 9 5400 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62AC2D09
+P 1100 4400
+F 0 "U1" H 1150 4500 30 0000 C CNN
+F 1 "PORT" H 1100 4400 30 0000 C CNN
+F 2 "" H 1100 4400 60 0000 C CNN
+F 3 "" H 1100 4400 60 0000 C CNN
+ 10 1100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62AC2E02
+P 1100 3850
+F 0 "U1" H 1150 3950 30 0000 C CNN
+F 1 "PORT" H 1100 3850 30 0000 C CNN
+F 2 "" H 1100 3850 60 0000 C CNN
+F 3 "" H 1100 3850 60 0000 C CNN
+ 11 1100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62AC91B4
+P 9650 2300
+F 0 "U1" H 9700 2400 30 0000 C CNN
+F 1 "PORT" H 9650 2300 30 0000 C CNN
+F 2 "" H 9650 2300 60 0000 C CNN
+F 3 "" H 9650 2300 60 0000 C CNN
+ 12 9650 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62ACABE8
+P 3600 1850
+F 0 "U1" H 3650 1950 30 0000 C CNN
+F 1 "PORT" H 3600 1850 30 0000 C CNN
+F 2 "" H 3600 1850 60 0000 C CNN
+F 3 "" H 3600 1850 60 0000 C CNN
+ 13 3600 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62ACACE3
+P 3600 1300
+F 0 "U1" H 3650 1400 30 0000 C CNN
+F 1 "PORT" H 3600 1300 30 0000 C CNN
+F 2 "" H 3600 1300 60 0000 C CNN
+F 3 "" H 3600 1300 60 0000 C CNN
+ 14 3600 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62ACADBC
+P 12300 4450
+F 0 "U1" H 12350 4550 30 0000 C CNN
+F 1 "PORT" H 12300 4450 30 0000 C CNN
+F 2 "" H 12300 4450 60 0000 C CNN
+F 3 "" H 12300 4450 60 0000 C CNN
+ 15 12300 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62AD09D5
+P -8850 100
+F 0 "U1" H -8800 200 30 0000 C CNN
+F 1 "PORT" H -8850 100 30 0000 C CNN
+F 2 "" H -8850 100 60 0000 C CNN
+F 3 "" H -8850 100 60 0000 C CNN
+ 16 -8850 100
+ 1 0 0 -1
+$EndComp
+Connection ~ -2100 1700
+Connection ~ -4300 1700
+Wire Wire Line
+ -4300 1700 -2100 1700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157.sub b/library/SubcircuitLibrary/CD54_HC153/CD54_157.sub
new file mode 100644
index 00000000..9d85337b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157.sub
@@ -0,0 +1,72 @@
+* Subcircuit CD54_157
+.subckt CD54_157 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_157 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_157_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC153/CD54_157_Previous_Values.xml
new file mode 100644
index 00000000..850ea0ff
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_157_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m60><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m65><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m66><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m57><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m58><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m62><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m63><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m64><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m68><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m67><m71><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m71><m72><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m72><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m25><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m47><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m48><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m40><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m44><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m50><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m49><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m53><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153-cache.lib b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153-cache.lib
new file mode 100644
index 00000000..fe4a08da
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153-cache.lib
@@ -0,0 +1,147 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# CD_54157
+#
+DEF CD_54157 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "CD_54157" 0 -250 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -600 0 1 0 N
+X Sel 1 -550 150 200 R 50 50 1 1 I
+X I0_1 2 -550 50 200 R 50 50 1 1 I
+X I1_1 3 -550 -50 200 R 50 50 1 1 I
+X Y1_bar 4 -550 -150 200 R 50 50 1 1 O
+X I0_2 5 -550 -250 200 R 50 50 1 1 I
+X I1_2 6 -550 -350 200 R 50 50 1 1 I
+X Y2_bar 7 -550 -450 200 R 50 50 1 1 O
+X GND 8 -550 -550 200 R 50 50 1 1 I
+X Y3_bar 9 550 -550 200 L 50 50 1 1 O
+X I1_3 10 550 -450 200 L 50 50 1 1 I
+X I0_3 11 550 -350 200 L 50 50 1 1 I
+X Y4_bar 12 550 -250 200 L 50 50 1 1 O
+X I1_4 13 550 -150 200 L 50 50 1 1 I
+X I0_4 14 550 -50 200 L 50 50 1 1 I
+X E_bar 15 550 50 200 L 50 50 1 1 I
+X VCC 16 550 150 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir
new file mode 100644
index 00000000..c9b072a5
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir
@@ -0,0 +1,35 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_HC153\CD54_HC153.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/17/22 13:33:21
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X1 /s0 ? ? ? ? ? ? /gnd Net-_M1-Pad2_ /i1_1 /i0_1 ? ? ? /e_bar_1 /vcc CD_54157
+X2 /s0 ? ? ? ? ? ? /gnd Net-_M3-Pad2_ /i3_1 /i2_1 ? ? ? /e_bar_1 /vcc CD_54157
+X5 /s1 ? ? ? Net-_R1-Pad2_ Net-_R2-Pad2_ Net-_R5-Pad1_ /gnd ? ? ? ? ? ? /e_bar_1 /vcc CD_54157
+M2 Net-_M1-Pad1_ Net-_M1-Pad2_ /vcc /vcc eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ /gnd /gnd eSim_MOS_N
+M4 Net-_M3-Pad1_ Net-_M3-Pad2_ /vcc /vcc eSim_MOS_P
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ /gnd /gnd eSim_MOS_N
+M10 /y1 Net-_M10-Pad2_ /vcc /vcc eSim_MOS_P
+M9 /y1 Net-_M10-Pad2_ /gnd /gnd eSim_MOS_N
+R1 Net-_M1-Pad1_ Net-_R1-Pad2_ 1
+R2 Net-_M3-Pad1_ Net-_R2-Pad2_ 1
+R5 Net-_R5-Pad1_ Net-_M10-Pad2_ 1
+X3 /s0 ? ? ? ? ? ? /gnd Net-_M5-Pad2_ /i1_2 /i0_2 ? ? ? /e_bar_2 /vcc CD_54157
+X4 /s0 ? ? ? ? ? ? /gnd Net-_M7-Pad2_ /i3_2 /i2_2 ? ? ? /e_bar_2 /vcc CD_54157
+X6 /s1 ? ? ? Net-_R3-Pad2_ Net-_R4-Pad2_ Net-_R6-Pad1_ /gnd ? ? ? ? ? ? /e_bar_2 /vcc CD_54157
+M6 Net-_M5-Pad1_ Net-_M5-Pad2_ /vcc /vcc eSim_MOS_P
+M5 Net-_M5-Pad1_ Net-_M5-Pad2_ /gnd /gnd eSim_MOS_N
+M8 Net-_M7-Pad1_ Net-_M7-Pad2_ /vcc /vcc eSim_MOS_P
+M7 Net-_M7-Pad1_ Net-_M7-Pad2_ /gnd /gnd eSim_MOS_N
+M12 /y2 Net-_M11-Pad2_ /vcc /vcc eSim_MOS_P
+M11 /y2 Net-_M11-Pad2_ /gnd /gnd eSim_MOS_N
+R3 Net-_M5-Pad1_ Net-_R3-Pad2_ 1
+R4 Net-_M7-Pad1_ Net-_R4-Pad2_ 1
+R6 Net-_R6-Pad1_ Net-_M11-Pad2_ 1
+U1 /e_bar_1 /s1 /i3_1 /i2_1 /i1_1 /i0_1 /y1 /gnd /y2 /i0_2 /i1_2 /i2_2 /i3_2 /s0 /e_bar_2 /vcc PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir.out b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir.out
new file mode 100644
index 00000000..4a86e695
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.cir.out
@@ -0,0 +1,39 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc153\cd54_hc153.cir
+
+.include CD54_157.sub
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+x1 /s0 ? ? ? ? ? ? /gnd net-_m1-pad2_ /i1_1 /i0_1 ? ? ? /e_bar_1 /vcc CD54_157
+x2 /s0 ? ? ? ? ? ? /gnd net-_m3-pad2_ /i3_1 /i2_1 ? ? ? /e_bar_1 /vcc CD54_157
+x5 /s1 ? ? ? net-_r1-pad2_ net-_r2-pad2_ net-_r5-pad1_ /gnd ? ? ? ? ? ? /e_bar_1 /vcc CD54_157
+m2 net-_m1-pad1_ net-_m1-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m4 net-_m3-pad1_ net-_m3-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m10 /y1 net-_m10-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m9 /y1 net-_m10-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+r1 net-_m1-pad1_ net-_r1-pad2_ 1
+r2 net-_m3-pad1_ net-_r2-pad2_ 1
+r5 net-_r5-pad1_ net-_m10-pad2_ 1
+x3 /s0 ? ? ? ? ? ? /gnd net-_m5-pad2_ /i1_2 /i0_2 ? ? ? /e_bar_2 /vcc CD54_157
+x4 /s0 ? ? ? ? ? ? /gnd net-_m7-pad2_ /i3_2 /i2_2 ? ? ? /e_bar_2 /vcc CD54_157
+x6 /s1 ? ? ? net-_r3-pad2_ net-_r4-pad2_ net-_r6-pad1_ /gnd ? ? ? ? ? ? /e_bar_2 /vcc CD54_157
+m6 net-_m5-pad1_ net-_m5-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m12 /y2 net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m11 /y2 net-_m11-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+r3 net-_m5-pad1_ net-_r3-pad2_ 1
+r4 net-_m7-pad1_ net-_r4-pad2_ 1
+r6 net-_r6-pad1_ net-_m11-pad2_ 1
+* u1 /e_bar_1 /s1 /i3_1 /i2_1 /i1_1 /i0_1 /y1 /gnd /y2 /i0_2 /i1_2 /i2_2 /i3_2 /s0 /e_bar_2 /vcc port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.pro b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sch b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sch
new file mode 100644
index 00000000..04e4711c
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sch
@@ -0,0 +1,940 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54HC153-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L CD_54157 X1
+U 1 1 62AC2C84
+P 2150 1300
+F 0 "X1" H 2150 1350 60 0000 C CNN
+F 1 "CD_54157" V 2150 1050 60 0000 C CNN
+F 2 "" H 2150 1300 60 0001 C CNN
+F 3 "" H 2150 1300 60 0001 C CNN
+ 1 2150 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X2
+U 1 1 62AC2C85
+P 2150 2450
+F 0 "X2" H 2150 2500 60 0000 C CNN
+F 1 "CD_54157" V 2150 2200 60 0000 C CNN
+F 2 "" H 2150 2450 60 0001 C CNN
+F 3 "" H 2150 2450 60 0001 C CNN
+ 1 2150 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X5
+U 1 1 62AC2C86
+P 5050 1800
+F 0 "X5" H 5050 1850 60 0000 C CNN
+F 1 "CD_54157" V 5050 1550 60 0000 C CNN
+F 2 "" H 5050 1800 60 0001 C CNN
+F 3 "" H 5050 1800 60 0001 C CNN
+ 1 5050 1800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1600 2300 1450 2300
+Wire Wire Line
+ 1450 2300 1450 1150
+Wire Wire Line
+ 1000 1150 1600 1150
+Wire Wire Line
+ 2700 1250 5800 1250
+Wire Wire Line
+ 2850 1000 2850 2400
+Wire Wire Line
+ 2850 2400 2700 2400
+Connection ~ 2850 1250
+$Comp
+L eSim_MOS_P M2
+U 1 1 62AC2C87
+P 3350 1600
+F 0 "M2" H 3300 1650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3400 1750 50 0000 R CNN
+F 2 "" H 3600 1700 29 0000 C CNN
+F 3 "" H 3400 1600 60 0000 C CNN
+ 1 3350 1600
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62AC2C88
+P 3300 1950
+F 0 "M1" H 3300 1800 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3400 1900 50 0000 R CNN
+F 2 "" H 3600 1650 29 0000 C CNN
+F 3 "" H 3400 1750 60 0000 C CNN
+ 1 3300 1950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3500 1800 3500 1950
+Wire Wire Line
+ 3200 1600 3100 1600
+Wire Wire Line
+ 3100 1600 3100 2150
+Wire Wire Line
+ 3100 2150 3200 2150
+Wire Wire Line
+ 3500 1400 3600 1400
+Wire Wire Line
+ 3600 1400 3600 1450
+Wire Wire Line
+ 3600 2350 3600 2300
+Wire Wire Line
+ 3000 2350 3600 2350
+$Comp
+L eSim_MOS_P M4
+U 1 1 62AC2C89
+P 3500 2750
+F 0 "M4" H 3450 2800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3550 2900 50 0000 R CNN
+F 2 "" H 3750 2850 29 0000 C CNN
+F 3 "" H 3550 2750 60 0000 C CNN
+ 1 3500 2750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62AC2C8A
+P 3450 3100
+F 0 "M3" H 3450 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3550 3050 50 0000 R CNN
+F 2 "" H 3750 2800 29 0000 C CNN
+F 3 "" H 3550 2900 60 0000 C CNN
+ 1 3450 3100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3650 2950 3650 3100
+Wire Wire Line
+ 3350 2750 3250 2750
+Wire Wire Line
+ 3250 2750 3250 3300
+Wire Wire Line
+ 3250 3300 3350 3300
+Wire Wire Line
+ 3650 2550 3750 2550
+Wire Wire Line
+ 3750 2550 3750 2600
+Wire Wire Line
+ 3750 3500 3750 3450
+Wire Wire Line
+ 5600 1750 5800 1750
+Wire Wire Line
+ 5800 1750 5800 1250
+Wire Wire Line
+ 2850 1000 1250 1000
+Wire Wire Line
+ 2700 1850 3100 1850
+Connection ~ 3100 1850
+Wire Wire Line
+ 2700 3000 3250 3000
+Connection ~ 3250 3000
+$Comp
+L eSim_MOS_P M10
+U 1 1 62AC2C8B
+P 6000 2450
+F 0 "M10" H 5950 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6050 2600 50 0000 R CNN
+F 2 "" H 6250 2550 29 0000 C CNN
+F 3 "" H 6050 2450 60 0000 C CNN
+ 1 6000 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62AC2C8C
+P 5950 2800
+F 0 "M9" H 5950 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6050 2750 50 0000 R CNN
+F 2 "" H 6250 2500 29 0000 C CNN
+F 3 "" H 6050 2600 60 0000 C CNN
+ 1 5950 2800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6150 2650 6150 2800
+Wire Wire Line
+ 5850 2450 5750 2450
+Wire Wire Line
+ 5750 2450 5750 3000
+Wire Wire Line
+ 5750 3000 5850 3000
+Wire Wire Line
+ 6150 2250 6250 2250
+Wire Wire Line
+ 6250 2250 6250 2300
+Wire Wire Line
+ 6250 3200 6250 3150
+Wire Wire Line
+ 6150 3200 6250 3200
+Wire Wire Line
+ 6150 2700 6800 2700
+Connection ~ 6150 2700
+Wire Wire Line
+ 4350 2700 4750 2700
+Wire Wire Line
+ 5050 2700 5750 2700
+Connection ~ 5750 2700
+Wire Wire Line
+ 4500 2250 4350 2250
+Wire Wire Line
+ 4350 2250 4350 2700
+Wire Wire Line
+ 2700 1150 6200 1150
+Wire Wire Line
+ 3550 750 3550 1400
+Wire Wire Line
+ 1250 750 4100 750
+Connection ~ 3550 1400
+Connection ~ 3550 1150
+Wire Wire Line
+ 1600 1850 1350 1850
+Wire Wire Line
+ 1350 1850 1350 3500
+Wire Wire Line
+ 1350 3000 1600 3000
+Wire Wire Line
+ 4500 2350 4500 6550
+Connection ~ 3750 3500
+Connection ~ 3650 3500
+Connection ~ 1350 3000
+Wire Wire Line
+ 3000 3500 3000 2350
+Connection ~ 3000 3500
+Connection ~ 3500 2350
+Wire Wire Line
+ 3700 1150 3700 2550
+Connection ~ 3700 2550
+Wire Wire Line
+ 6200 1150 6200 2250
+Connection ~ 3700 1150
+Connection ~ 6200 2250
+Wire Wire Line
+ 6200 3500 6200 3200
+Connection ~ 4500 3500
+Connection ~ 6200 3200
+Wire Wire Line
+ 2700 1650 2800 1650
+Wire Wire Line
+ 2800 1650 2800 1950
+Wire Wire Line
+ 2800 1950 1000 1950
+Wire Wire Line
+ 2700 2800 2850 2800
+Wire Wire Line
+ 2850 2800 2850 3100
+Wire Wire Line
+ 2850 3100 1000 3100
+Wire Wire Line
+ 2700 2900 2800 2900
+Wire Wire Line
+ 2800 2900 2800 3250
+Wire Wire Line
+ 2800 3250 900 3250
+Connection ~ 1450 1150
+Wire Wire Line
+ 4500 1650 2950 1650
+Wire Wire Line
+ 2950 1650 2950 1300
+Wire Wire Line
+ 2950 1300 900 1300
+Text Label 6450 2700 0 60 ~ 0
+y1
+Text Label 1200 1150 0 60 ~ 0
+s0
+Text Label 1200 1300 0 60 ~ 0
+s1
+Text Label 1150 1950 0 60 ~ 0
+i0_1
+Text Label 1500 750 0 60 ~ 0
+vcc
+Text Label 1500 1000 0 60 ~ 0
+e_bar_1
+$Comp
+L resistor R1
+U 1 1 62AC2C96
+P 3950 1950
+F 0 "R1" H 4000 2080 50 0000 C CNN
+F 1 "1" H 4000 1900 50 0000 C CNN
+F 2 "" H 4000 1930 30 0000 C CNN
+F 3 "" V 4000 2000 30 0000 C CNN
+ 1 3950 1950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4500 2050 4300 2050
+Wire Wire Line
+ 4300 2050 4300 1900
+Wire Wire Line
+ 4300 1900 4150 1900
+Wire Wire Line
+ 3850 1900 3500 1900
+Connection ~ 3500 1900
+$Comp
+L resistor R2
+U 1 1 62AC2C97
+P 3950 3050
+F 0 "R2" H 4000 3180 50 0000 C CNN
+F 1 "1" H 4000 3000 50 0000 C CNN
+F 2 "" H 4000 3030 30 0000 C CNN
+F 3 "" V 4000 3100 30 0000 C CNN
+ 1 3950 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4500 2150 4300 2150
+Wire Wire Line
+ 4300 2150 4300 3000
+Wire Wire Line
+ 4300 3000 4150 3000
+Wire Wire Line
+ 3850 3000 3650 3000
+Connection ~ 3650 3000
+Connection ~ 1350 3500
+NoConn ~ 1600 1250
+NoConn ~ 1600 1350
+NoConn ~ 1600 1450
+NoConn ~ 1600 1550
+NoConn ~ 1600 1650
+NoConn ~ 1600 1750
+NoConn ~ 2700 1350
+NoConn ~ 2700 1450
+NoConn ~ 2700 1550
+NoConn ~ 1600 2400
+NoConn ~ 1600 2500
+NoConn ~ 1600 2600
+NoConn ~ 1600 2700
+NoConn ~ 1600 2800
+NoConn ~ 1600 2900
+NoConn ~ 2700 2500
+NoConn ~ 2700 2600
+NoConn ~ 2700 2700
+NoConn ~ 4500 1750
+NoConn ~ 4500 1850
+NoConn ~ 4500 1950
+NoConn ~ 5600 1850
+NoConn ~ 5600 1950
+NoConn ~ 5600 2050
+NoConn ~ 5600 2150
+NoConn ~ 5600 2250
+NoConn ~ 5600 2350
+Wire Wire Line
+ 2700 2300 3000 2300
+Wire Wire Line
+ 3000 2300 3000 1150
+Connection ~ 3000 1150
+Wire Wire Line
+ 5600 1650 5600 1150
+Connection ~ 5600 1150
+$Comp
+L resistor R5
+U 1 1 62AC2C9C
+P 4850 2750
+F 0 "R5" H 4900 2880 50 0000 C CNN
+F 1 "1" H 4900 2700 50 0000 C CNN
+F 2 "" H 4900 2730 30 0000 C CNN
+F 3 "" V 4900 2800 30 0000 C CNN
+ 1 4850 2750
+ 1 0 0 -1
+$EndComp
+Text Label 1150 2050 0 60 ~ 0
+i1_1
+Wire Wire Line
+ 2700 1750 2750 1750
+Wire Wire Line
+ 2750 1750 2750 2050
+Wire Wire Line
+ 2750 2050 900 2050
+Text Label 1150 3100 0 60 ~ 0
+i2_1
+Text Label 1100 3250 0 60 ~ 0
+i3_1
+Wire Wire Line
+ 1100 3500 6200 3500
+Text Label 1150 3500 0 60 ~ 0
+gnd
+$Comp
+L CD_54157 X3
+U 1 1 62AC3D3E
+P 2700 4350
+F 0 "X3" H 2700 4400 60 0000 C CNN
+F 1 "CD_54157" V 2700 4100 60 0000 C CNN
+F 2 "" H 2700 4350 60 0001 C CNN
+F 3 "" H 2700 4350 60 0001 C CNN
+ 1 2700 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X4
+U 1 1 62AC3D44
+P 2700 5500
+F 0 "X4" H 2700 5550 60 0000 C CNN
+F 1 "CD_54157" V 2700 5250 60 0000 C CNN
+F 2 "" H 2700 5500 60 0001 C CNN
+F 3 "" H 2700 5500 60 0001 C CNN
+ 1 2700 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X6
+U 1 1 62AC3D4A
+P 5600 4850
+F 0 "X6" H 5600 4900 60 0000 C CNN
+F 1 "CD_54157" V 5600 4600 60 0000 C CNN
+F 2 "" H 5600 4850 60 0001 C CNN
+F 3 "" H 5600 4850 60 0001 C CNN
+ 1 5600 4850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2150 5350 2000 5350
+Wire Wire Line
+ 2000 5350 2000 4200
+Wire Wire Line
+ 1550 4200 2150 4200
+Wire Wire Line
+ 3250 4300 6350 4300
+Wire Wire Line
+ 3400 4050 3400 5450
+Wire Wire Line
+ 3400 5450 3250 5450
+Connection ~ 3400 4300
+$Comp
+L eSim_MOS_P M6
+U 1 1 62AC3D57
+P 3900 4650
+F 0 "M6" H 3850 4700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3950 4800 50 0000 R CNN
+F 2 "" H 4150 4750 29 0000 C CNN
+F 3 "" H 3950 4650 60 0000 C CNN
+ 1 3900 4650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62AC3D5D
+P 3850 5000
+F 0 "M5" H 3850 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 4950 50 0000 R CNN
+F 2 "" H 4150 4700 29 0000 C CNN
+F 3 "" H 3950 4800 60 0000 C CNN
+ 1 3850 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4050 4850 4050 5000
+Wire Wire Line
+ 3750 4650 3650 4650
+Wire Wire Line
+ 3650 4650 3650 5200
+Wire Wire Line
+ 3650 5200 3750 5200
+Wire Wire Line
+ 4050 4450 4150 4450
+Wire Wire Line
+ 4150 4450 4150 4500
+Wire Wire Line
+ 4150 5400 4150 5350
+Wire Wire Line
+ 3550 5400 4150 5400
+$Comp
+L eSim_MOS_P M8
+U 1 1 62AC3D6B
+P 4050 5800
+F 0 "M8" H 4000 5850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4100 5950 50 0000 R CNN
+F 2 "" H 4300 5900 29 0000 C CNN
+F 3 "" H 4100 5800 60 0000 C CNN
+ 1 4050 5800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 62AC3D71
+P 4000 6150
+F 0 "M7" H 4000 6000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 6100 50 0000 R CNN
+F 2 "" H 4300 5850 29 0000 C CNN
+F 3 "" H 4100 5950 60 0000 C CNN
+ 1 4000 6150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4200 6000 4200 6150
+Wire Wire Line
+ 3900 5800 3800 5800
+Wire Wire Line
+ 3800 5800 3800 6350
+Wire Wire Line
+ 3800 6350 3900 6350
+Wire Wire Line
+ 4200 5600 4300 5600
+Wire Wire Line
+ 4300 5600 4300 5650
+Wire Wire Line
+ 4300 6550 4300 6500
+Wire Wire Line
+ 6150 4800 6350 4800
+Wire Wire Line
+ 6350 4800 6350 4300
+Wire Wire Line
+ 1200 4050 3400 4050
+Wire Wire Line
+ 3250 4900 3650 4900
+Connection ~ 3650 4900
+Wire Wire Line
+ 3250 6050 3800 6050
+Connection ~ 3800 6050
+$Comp
+L eSim_MOS_P M12
+U 1 1 62AC3D85
+P 6550 5500
+F 0 "M12" H 6500 5550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 5650 50 0000 R CNN
+F 2 "" H 6800 5600 29 0000 C CNN
+F 3 "" H 6600 5500 60 0000 C CNN
+ 1 6550 5500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M11
+U 1 1 62AC3D8B
+P 6500 5850
+F 0 "M11" H 6500 5700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6600 5800 50 0000 R CNN
+F 2 "" H 6800 5550 29 0000 C CNN
+F 3 "" H 6600 5650 60 0000 C CNN
+ 1 6500 5850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 5700 6700 5850
+Wire Wire Line
+ 6400 5500 6300 5500
+Wire Wire Line
+ 6300 5500 6300 6050
+Wire Wire Line
+ 6300 6050 6400 6050
+Wire Wire Line
+ 6700 5300 6800 5300
+Wire Wire Line
+ 6800 5300 6800 5350
+Wire Wire Line
+ 6800 6250 6800 6200
+Wire Wire Line
+ 6700 6250 6800 6250
+Wire Wire Line
+ 6700 5750 7350 5750
+Connection ~ 6700 5750
+Wire Wire Line
+ 4900 5750 5300 5750
+Wire Wire Line
+ 5600 5750 6300 5750
+Connection ~ 6300 5750
+Wire Wire Line
+ 5050 5300 4900 5300
+Wire Wire Line
+ 4900 5300 4900 5750
+Wire Wire Line
+ 3250 4200 6750 4200
+Wire Wire Line
+ 4100 750 4100 4450
+Connection ~ 4100 4450
+Connection ~ 4100 4200
+Wire Wire Line
+ 2150 4900 1900 4900
+Wire Wire Line
+ 1900 4900 1900 6550
+Wire Wire Line
+ 1900 6050 2150 6050
+Wire Wire Line
+ 5050 6550 5050 5400
+Connection ~ 4300 6550
+Connection ~ 4200 6550
+Connection ~ 1900 6050
+Wire Wire Line
+ 3550 5400 3550 6550
+Connection ~ 3550 6550
+Connection ~ 4050 5400
+Wire Wire Line
+ 4250 4200 4250 5600
+Connection ~ 4250 5600
+Wire Wire Line
+ 6750 4200 6750 5300
+Connection ~ 4250 4200
+Connection ~ 6750 5300
+Wire Wire Line
+ 6750 6550 6750 6250
+Connection ~ 5050 6550
+Connection ~ 6750 6250
+Wire Wire Line
+ 3250 4700 3350 4700
+Wire Wire Line
+ 3350 4700 3350 5000
+Wire Wire Line
+ 3350 5000 1550 5000
+Wire Wire Line
+ 3250 5850 3400 5850
+Wire Wire Line
+ 3400 5850 3400 6150
+Wire Wire Line
+ 3400 6150 1550 6150
+Wire Wire Line
+ 3250 5950 3350 5950
+Wire Wire Line
+ 3350 5950 3350 6300
+Wire Wire Line
+ 3350 6300 1450 6300
+Connection ~ 2000 4200
+Wire Wire Line
+ 5050 4700 3500 4700
+Wire Wire Line
+ 3500 4700 3500 4350
+Wire Wire Line
+ 3500 4350 1400 4350
+Text Label 7000 5750 0 60 ~ 0
+y2
+Text Label 1700 5000 0 60 ~ 0
+i0_2
+Text Label 2050 4050 0 60 ~ 0
+e_bar_2
+$Comp
+L resistor R3
+U 1 1 62AC3DCA
+P 4500 5000
+F 0 "R3" H 4550 5130 50 0000 C CNN
+F 1 "1" H 4550 4950 50 0000 C CNN
+F 2 "" H 4550 4980 30 0000 C CNN
+F 3 "" V 4550 5050 30 0000 C CNN
+ 1 4500 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5050 5100 4850 5100
+Wire Wire Line
+ 4850 5100 4850 4950
+Wire Wire Line
+ 4850 4950 4700 4950
+Wire Wire Line
+ 4400 4950 4050 4950
+Connection ~ 4050 4950
+$Comp
+L resistor R4
+U 1 1 62AC3DD5
+P 4500 6100
+F 0 "R4" H 4550 6230 50 0000 C CNN
+F 1 "1" H 4550 6050 50 0000 C CNN
+F 2 "" H 4550 6080 30 0000 C CNN
+F 3 "" V 4550 6150 30 0000 C CNN
+ 1 4500 6100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5050 5200 4850 5200
+Wire Wire Line
+ 4850 5200 4850 6050
+Wire Wire Line
+ 4850 6050 4700 6050
+Wire Wire Line
+ 4400 6050 4200 6050
+Connection ~ 4200 6050
+NoConn ~ 2150 4300
+NoConn ~ 2150 4400
+NoConn ~ 2150 4500
+NoConn ~ 2150 4600
+NoConn ~ 2150 4700
+NoConn ~ 2150 4800
+NoConn ~ 3250 4400
+NoConn ~ 3250 4500
+NoConn ~ 3250 4600
+NoConn ~ 2150 5450
+NoConn ~ 2150 5550
+NoConn ~ 2150 5650
+NoConn ~ 2150 5750
+NoConn ~ 2150 5850
+NoConn ~ 2150 5950
+NoConn ~ 3250 5550
+NoConn ~ 3250 5650
+NoConn ~ 3250 5750
+NoConn ~ 5050 4800
+NoConn ~ 5050 4900
+NoConn ~ 5050 5000
+NoConn ~ 6150 4900
+NoConn ~ 6150 5000
+NoConn ~ 6150 5100
+NoConn ~ 6150 5200
+NoConn ~ 6150 5300
+NoConn ~ 6150 5400
+Wire Wire Line
+ 3250 5350 3550 5350
+Wire Wire Line
+ 3550 5350 3550 4200
+Connection ~ 3550 4200
+Wire Wire Line
+ 6150 4700 6150 4200
+Connection ~ 6150 4200
+$Comp
+L resistor R6
+U 1 1 62AC3E01
+P 5400 5800
+F 0 "R6" H 5450 5930 50 0000 C CNN
+F 1 "1" H 5450 5750 50 0000 C CNN
+F 2 "" H 5450 5780 30 0000 C CNN
+F 3 "" V 5450 5850 30 0000 C CNN
+ 1 5400 5800
+ 1 0 0 -1
+$EndComp
+Text Label 1700 5100 0 60 ~ 0
+i1_2
+Wire Wire Line
+ 3250 4800 3300 4800
+Wire Wire Line
+ 3300 4800 3300 5100
+Wire Wire Line
+ 3300 5100 1450 5100
+Text Label 1700 6150 0 60 ~ 0
+i2_2
+Text Label 1650 6300 0 60 ~ 0
+i3_2
+Wire Wire Line
+ 1900 6550 6750 6550
+Connection ~ 3550 750
+Connection ~ 4500 6550
+Wire Wire Line
+ 1550 4200 1550 1150
+Connection ~ 1550 1150
+Wire Wire Line
+ 1400 4350 1400 1300
+Connection ~ 1400 1300
+$Comp
+L PORT U1
+U 1 1 62AC5307
+P 1000 1000
+F 0 "U1" H 1050 1100 30 0000 C CNN
+F 1 "PORT" H 1000 1000 30 0000 C CNN
+F 2 "" H 1000 1000 60 0000 C CNN
+F 3 "" H 1000 1000 60 0000 C CNN
+ 1 1000 1000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62AC69FB
+P 650 1300
+F 0 "U1" H 700 1400 30 0000 C CNN
+F 1 "PORT" H 650 1300 30 0000 C CNN
+F 2 "" H 650 1300 60 0000 C CNN
+F 3 "" H 650 1300 60 0000 C CNN
+ 2 650 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62AC6B04
+P 650 3250
+F 0 "U1" H 700 3350 30 0000 C CNN
+F 1 "PORT" H 650 3250 30 0000 C CNN
+F 2 "" H 650 3250 60 0000 C CNN
+F 3 "" H 650 3250 60 0000 C CNN
+ 3 650 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62AC6B8F
+P 750 3100
+F 0 "U1" H 800 3200 30 0000 C CNN
+F 1 "PORT" H 750 3100 30 0000 C CNN
+F 2 "" H 750 3100 60 0000 C CNN
+F 3 "" H 750 3100 60 0000 C CNN
+ 4 750 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62AC6C24
+P 650 2050
+F 0 "U1" H 700 2150 30 0000 C CNN
+F 1 "PORT" H 650 2050 30 0000 C CNN
+F 2 "" H 650 2050 60 0000 C CNN
+F 3 "" H 650 2050 60 0000 C CNN
+ 5 650 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62AC6C8D
+P 750 1950
+F 0 "U1" H 800 2050 30 0000 C CNN
+F 1 "PORT" H 750 1950 30 0000 C CNN
+F 2 "" H 750 1950 60 0000 C CNN
+F 3 "" H 750 1950 60 0000 C CNN
+ 6 750 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62AC6D04
+P 7050 2700
+F 0 "U1" H 7100 2800 30 0000 C CNN
+F 1 "PORT" H 7050 2700 30 0000 C CNN
+F 2 "" H 7050 2700 60 0000 C CNN
+F 3 "" H 7050 2700 60 0000 C CNN
+ 7 7050 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62AC6E0E
+P 850 3500
+F 0 "U1" H 900 3600 30 0000 C CNN
+F 1 "PORT" H 850 3500 30 0000 C CNN
+F 2 "" H 850 3500 60 0000 C CNN
+F 3 "" H 850 3500 60 0000 C CNN
+ 8 850 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62AC6FE7
+P 7600 5750
+F 0 "U1" H 7650 5850 30 0000 C CNN
+F 1 "PORT" H 7600 5750 30 0000 C CNN
+F 2 "" H 7600 5750 60 0000 C CNN
+F 3 "" H 7600 5750 60 0000 C CNN
+ 9 7600 5750
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62AC70DD
+P 1300 5000
+F 0 "U1" H 1350 5100 30 0000 C CNN
+F 1 "PORT" H 1300 5000 30 0000 C CNN
+F 2 "" H 1300 5000 60 0000 C CNN
+F 3 "" H 1300 5000 60 0000 C CNN
+ 10 1300 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62AC71F2
+P 1200 5100
+F 0 "U1" H 1250 5200 30 0000 C CNN
+F 1 "PORT" H 1200 5100 30 0000 C CNN
+F 2 "" H 1200 5100 60 0000 C CNN
+F 3 "" H 1200 5100 60 0000 C CNN
+ 11 1200 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62AC72E5
+P 1300 6150
+F 0 "U1" H 1350 6250 30 0000 C CNN
+F 1 "PORT" H 1300 6150 30 0000 C CNN
+F 2 "" H 1300 6150 60 0000 C CNN
+F 3 "" H 1300 6150 60 0000 C CNN
+ 12 1300 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62AC7362
+P 1200 6300
+F 0 "U1" H 1250 6400 30 0000 C CNN
+F 1 "PORT" H 1200 6300 30 0000 C CNN
+F 2 "" H 1200 6300 60 0000 C CNN
+F 3 "" H 1200 6300 60 0000 C CNN
+ 13 1200 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62AC74E2
+P 750 1150
+F 0 "U1" H 800 1250 30 0000 C CNN
+F 1 "PORT" H 750 1150 30 0000 C CNN
+F 2 "" H 750 1150 60 0000 C CNN
+F 3 "" H 750 1150 60 0000 C CNN
+ 14 750 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62AC763B
+P 950 4050
+F 0 "U1" H 1000 4150 30 0000 C CNN
+F 1 "PORT" H 950 4050 30 0000 C CNN
+F 2 "" H 950 4050 60 0000 C CNN
+F 3 "" H 950 4050 60 0000 C CNN
+ 15 950 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62AC7715
+P 1000 750
+F 0 "U1" H 1050 850 30 0000 C CNN
+F 1 "PORT" H 1000 750 30 0000 C CNN
+F 2 "" H 1000 750 60 0000 C CNN
+F 3 "" H 1000 750 60 0000 C CNN
+ 16 1000 750
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sub b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sub
new file mode 100644
index 00000000..6152bbf1
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153.sub
@@ -0,0 +1,33 @@
+* Subcircuit CD54_HC153
+.subckt CD54_HC153 /e_bar_1 /s1 /i3_1 /i2_1 /i1_1 /i0_1 /y1 /gnd /y2 /i0_2 /i1_2 /i2_2 /i3_2 /s0 /e_bar_2 /vcc
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc153\cd54_hc153.cir
+.include CD54_157.sub
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+x1 /s0 ? ? ? ? ? ? /gnd net-_m1-pad2_ /i1_1 /i0_1 ? ? ? /e_bar_1 /vcc CD54_157
+x2 /s0 ? ? ? ? ? ? /gnd net-_m3-pad2_ /i3_1 /i2_1 ? ? ? /e_bar_1 /vcc CD54_157
+x5 /s1 ? ? ? net-_r1-pad2_ net-_r2-pad2_ net-_r5-pad1_ /gnd ? ? ? ? ? ? /e_bar_1 /vcc CD54_157
+m2 net-_m1-pad1_ net-_m1-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m4 net-_m3-pad1_ net-_m3-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m10 /y1 net-_m10-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m9 /y1 net-_m10-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+r1 net-_m1-pad1_ net-_r1-pad2_ 1
+r2 net-_m3-pad1_ net-_r2-pad2_ 1
+r5 net-_r5-pad1_ net-_m10-pad2_ 1
+x3 /s0 ? ? ? ? ? ? /gnd net-_m5-pad2_ /i1_2 /i0_2 ? ? ? /e_bar_2 /vcc CD54_157
+x4 /s0 ? ? ? ? ? ? /gnd net-_m7-pad2_ /i3_2 /i2_2 ? ? ? /e_bar_2 /vcc CD54_157
+x6 /s1 ? ? ? net-_r3-pad2_ net-_r4-pad2_ net-_r6-pad1_ /gnd ? ? ? ? ? ? /e_bar_2 /vcc CD54_157
+m6 net-_m5-pad1_ net-_m5-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+m12 /y2 net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m11 /y2 net-_m11-pad2_ /gnd /gnd CMOSN W=100u L=100u M=1
+r3 net-_m5-pad1_ net-_r3-pad2_ 1
+r4 net-_m7-pad1_ net-_r4-pad2_ 1
+r6 net-_r6-pad1_ net-_m11-pad2_ 1
+* Control Statements
+
+.ends CD54_HC153 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/CD54_HC153_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153_Previous_Values.xml
new file mode 100644
index 00000000..a2652f75
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/CD54_HC153_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m11></devicemodel><subcircuit><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x1><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x2><x5><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x5><x3><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x3><x4><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x4><x6><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x6></subcircuit><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/NMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC153/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC153/PMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC153/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC153/README.md b/library/SubcircuitLibrary/CD54_HC153/README.md
new file mode 100644
index 00000000..de49a7cf
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/README.md
@@ -0,0 +1,21 @@
+
+# CD54HC153 IC
+
+It is 4:1 Multiplexer IC. CD54153 IC is designed with 180nm CMOS technology in eSim. It is 16 pin IC. The output depends on the select lines.
+## Usage/Examples
+
+Multiplexers
+## Documentation
+
+To know the details of CD54HC153 IC please go through with the documentation : [CD54HC153_datasheet](https://www.ti.com/lit/gpn/cd54hc153)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC153/analysis b/library/SubcircuitLibrary/CD54_HC153/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC153/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib b/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir
new file mode 100644
index 00000000..8a833fef
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir
@@ -0,0 +1,75 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157\CD54_157.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/14/22 12:01:36
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M55 Net-_M55-Pad1_ /i0_3 /vcc /vcc eSim_MOS_P
+M60 Net-_M55-Pad1_ Net-_M58-Pad2_ /vcc /vcc eSim_MOS_P
+M65 Net-_M55-Pad1_ Net-_M57-Pad2_ /vcc /vcc eSim_MOS_P
+M56 /y3_bar /i1_3 Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M61 /y3_bar Net-_M58-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M66 /y3_bar /s Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M57 /y3_bar Net-_M57-Pad2_ Net-_M57-Pad3_ Net-_M57-Pad3_ eSim_MOS_N
+M58 Net-_M57-Pad3_ Net-_M58-Pad2_ Net-_M58-Pad3_ Net-_M58-Pad3_ eSim_MOS_N
+M59 Net-_M58-Pad3_ /i0_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M62 /y3_bar /s Net-_M62-Pad3_ Net-_M62-Pad3_ eSim_MOS_N
+M63 Net-_M62-Pad3_ Net-_M58-Pad2_ Net-_M63-Pad3_ Net-_M63-Pad3_ eSim_MOS_N
+M64 Net-_M63-Pad3_ /i1_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M68 Net-_M57-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M67 Net-_M57-Pad2_ /s /vcc /vcc eSim_MOS_P
+M71 Net-_M58-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M72 Net-_M58-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ /i0_1 /vcc /vcc eSim_MOS_P
+M11 Net-_M1-Pad1_ Net-_M11-Pad2_ /vcc /vcc eSim_MOS_P
+M18 Net-_M1-Pad1_ Net-_M18-Pad2_ /vcc /vcc eSim_MOS_P
+M2 /y1_bar /i1_1 Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M12 /y1_bar Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M19 /y1_bar /s Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M3 /y1_bar Net-_M18-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M11-Pad2_ Net-_M4-Pad3_ Net-_M4-Pad3_ eSim_MOS_N
+M5 Net-_M4-Pad3_ /i0_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M15 /y1_bar /s Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M17 Net-_M16-Pad3_ /i1_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M26 Net-_M18-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M25 Net-_M18-Pad2_ /s /vcc /vcc eSim_MOS_P
+M33 Net-_M11-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M34 Net-_M11-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M6 Net-_M13-Pad1_ /i0_2 /vcc /vcc eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ /vcc /vcc eSim_MOS_P
+M23 Net-_M13-Pad1_ Net-_M23-Pad2_ /vcc /vcc eSim_MOS_P
+M7 /y2_bar /i1_2 Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M14 /y2_bar Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M24 /y2_bar /s Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M8 /y2_bar Net-_M23-Pad2_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad3_ Net-_M13-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_N
+M10 Net-_M10-Pad1_ /i0_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M20 /y2_bar /s Net-_M20-Pad3_ Net-_M20-Pad3_ eSim_MOS_N
+M21 Net-_M20-Pad3_ Net-_M13-Pad2_ Net-_M21-Pad3_ Net-_M21-Pad3_ eSim_MOS_N
+M22 Net-_M21-Pad3_ /i1_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M30 Net-_M23-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M29 Net-_M23-Pad2_ /s /vcc /vcc eSim_MOS_P
+M35 Net-_M13-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M36 Net-_M13-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M37 Net-_M37-Pad1_ /i0_4 /vcc /vcc eSim_MOS_P
+M42 Net-_M37-Pad1_ Net-_M40-Pad2_ /vcc /vcc eSim_MOS_P
+M47 Net-_M37-Pad1_ Net-_M39-Pad2_ /vcc /vcc eSim_MOS_P
+M38 /y4_bar /i1_4 Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M43 /y4_bar Net-_M40-Pad2_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M48 /y4_bar /s Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M39 /y4_bar Net-_M39-Pad2_ Net-_M39-Pad3_ Net-_M39-Pad3_ eSim_MOS_N
+M40 Net-_M39-Pad3_ Net-_M40-Pad2_ Net-_M40-Pad3_ Net-_M40-Pad3_ eSim_MOS_N
+M41 Net-_M40-Pad3_ /i0_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M44 /y4_bar /s Net-_M44-Pad3_ Net-_M44-Pad3_ eSim_MOS_N
+M45 Net-_M44-Pad3_ Net-_M40-Pad2_ Net-_M45-Pad3_ Net-_M45-Pad3_ eSim_MOS_N
+M46 Net-_M45-Pad3_ /i1_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M50 Net-_M39-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M49 Net-_M39-Pad2_ /s /vcc /vcc eSim_MOS_P
+M53 Net-_M40-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M54 Net-_M40-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar Net-_M10-Pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out
new file mode 100644
index 00000000..1f4b4837
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out
@@ -0,0 +1,78 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch
new file mode 100644
index 00000000..1e92f660
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch
@@ -0,0 +1,1721 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54_157-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M55
+U 1 1 62A758F3
+P 6850 1300
+F 0 "M55" H 6800 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 1450 50 0000 R CNN
+F 2 "" H 7100 1400 29 0000 C CNN
+F 3 "" H 6900 1300 60 0000 C CNN
+ 1 6850 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M60
+U 1 1 62A758F4
+P 7700 1300
+F 0 "M60" H 7650 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 1450 50 0000 R CNN
+F 2 "" H 7950 1400 29 0000 C CNN
+F 3 "" H 7750 1300 60 0000 C CNN
+ 1 7700 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M65
+U 1 1 62A758F5
+P 8350 1300
+F 0 "M65" H 8300 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 1450 50 0000 R CNN
+F 2 "" H 8600 1400 29 0000 C CNN
+F 3 "" H 8400 1300 60 0000 C CNN
+ 1 8350 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 62A758F6
+P 6850 1850
+F 0 "M56" H 6800 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 2000 50 0000 R CNN
+F 2 "" H 7100 1950 29 0000 C CNN
+F 3 "" H 6900 1850 60 0000 C CNN
+ 1 6850 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 62A758F7
+P 7700 1850
+F 0 "M61" H 7650 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 2000 50 0000 R CNN
+F 2 "" H 7950 1950 29 0000 C CNN
+F 3 "" H 7750 1850 60 0000 C CNN
+ 1 7700 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M66
+U 1 1 62A758F8
+P 8350 1850
+F 0 "M66" H 8300 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 2000 50 0000 R CNN
+F 2 "" H 8600 1950 29 0000 C CNN
+F 3 "" H 8400 1850 60 0000 C CNN
+ 1 8350 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M57
+U 1 1 62A758F9
+P 7000 2550
+F 0 "M57" H 7000 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 2500 50 0000 R CNN
+F 2 "" H 7300 2250 29 0000 C CNN
+F 3 "" H 7100 2350 60 0000 C CNN
+ 1 7000 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M58
+U 1 1 62A758FA
+P 7000 3100
+F 0 "M58" H 7000 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3050 50 0000 R CNN
+F 2 "" H 7300 2800 29 0000 C CNN
+F 3 "" H 7100 2900 60 0000 C CNN
+ 1 7000 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 62A758FB
+P 7000 3650
+F 0 "M59" H 7000 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3600 50 0000 R CNN
+F 2 "" H 7300 3350 29 0000 C CNN
+F 3 "" H 7100 3450 60 0000 C CNN
+ 1 7000 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M62
+U 1 1 62A758FC
+P 8250 2550
+F 0 "M62" H 8250 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 2500 50 0000 R CNN
+F 2 "" H 8550 2250 29 0000 C CNN
+F 3 "" H 8350 2350 60 0000 C CNN
+ 1 8250 2550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M63
+U 1 1 62A758FD
+P 8250 3100
+F 0 "M63" H 8250 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3050 50 0000 R CNN
+F 2 "" H 8550 2800 29 0000 C CNN
+F 3 "" H 8350 2900 60 0000 C CNN
+ 1 8250 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M64
+U 1 1 62A758FE
+P 8250 3650
+F 0 "M64" H 8250 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3600 50 0000 R CNN
+F 2 "" H 8550 3350 29 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 1 8250 3650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M68
+U 1 1 62A758FF
+P 9450 1700
+F 0 "M68" H 9450 1550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9550 1650 50 0000 R CNN
+F 2 "" H 9750 1400 29 0000 C CNN
+F 3 "" H 9550 1500 60 0000 C CNN
+ 1 9450 1700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M67
+U 1 1 62A75900
+P 9400 1300
+F 0 "M67" H 9350 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9450 1450 50 0000 R CNN
+F 2 "" H 9650 1400 29 0000 C CNN
+F 3 "" H 9450 1300 60 0000 C CNN
+ 1 9400 1300
+ -1 0 0 1
+$EndComp
+Text Label 6550 1300 0 60 ~ 0
+i0_3
+Text Label 6450 1850 0 60 ~ 0
+i1_3
+Text Label 11550 1100 0 60 ~ 0
+sel
+Text Label 9050 2300 0 60 ~ 0
+y3_bar
+$Comp
+L eSim_MOS_P M71
+U 1 1 62A7D356
+P 10250 2800
+F 0 "M71" H 10200 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10300 2950 50 0000 R CNN
+F 2 "" H 10500 2900 29 0000 C CNN
+F 3 "" H 10300 2800 60 0000 C CNN
+ 1 10250 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M72
+U 1 1 62A7D35C
+P 10300 3150
+F 0 "M72" H 10300 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 3100 50 0000 R CNN
+F 2 "" H 10600 2850 29 0000 C CNN
+F 3 "" H 10400 2950 60 0000 C CNN
+ 1 10300 3150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 62A8A1B2
+P -5350 -50
+F 0 "M1" H -5400 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 100 50 0000 R CNN
+F 2 "" H -5100 50 29 0000 C CNN
+F 3 "" H -5300 -50 60 0000 C CNN
+ 1 -5350 -50
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62A8A1B8
+P -4500 -50
+F 0 "M11" H -4550 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 100 50 0000 R CNN
+F 2 "" H -4250 50 29 0000 C CNN
+F 3 "" H -4450 -50 60 0000 C CNN
+ 1 -4500 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 62A8A1BE
+P -3850 -50
+F 0 "M18" H -3900 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 100 50 0000 R CNN
+F 2 "" H -3600 50 29 0000 C CNN
+F 3 "" H -3800 -50 60 0000 C CNN
+ 1 -3850 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 62A8A1C4
+P -5350 500
+F 0 "M2" H -5400 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 650 50 0000 R CNN
+F 2 "" H -5100 600 29 0000 C CNN
+F 3 "" H -5300 500 60 0000 C CNN
+ 1 -5350 500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62A8A1CA
+P -4500 500
+F 0 "M12" H -4550 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 650 50 0000 R CNN
+F 2 "" H -4250 600 29 0000 C CNN
+F 3 "" H -4450 500 60 0000 C CNN
+ 1 -4500 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 62A8A1D0
+P -3850 500
+F 0 "M19" H -3900 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 650 50 0000 R CNN
+F 2 "" H -3600 600 29 0000 C CNN
+F 3 "" H -3800 500 60 0000 C CNN
+ 1 -3850 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62A8A1D6
+P -5200 1200
+F 0 "M3" H -5200 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1150 50 0000 R CNN
+F 2 "" H -4900 900 29 0000 C CNN
+F 3 "" H -5100 1000 60 0000 C CNN
+ 1 -5200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62A8A1DC
+P -5200 1750
+F 0 "M4" H -5200 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1700 50 0000 R CNN
+F 2 "" H -4900 1450 29 0000 C CNN
+F 3 "" H -5100 1550 60 0000 C CNN
+ 1 -5200 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62A8A1E2
+P -5200 2300
+F 0 "M5" H -5200 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 2250 50 0000 R CNN
+F 2 "" H -4900 2000 29 0000 C CNN
+F 3 "" H -5100 2100 60 0000 C CNN
+ 1 -5200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 62A8A1E8
+P -3950 1200
+F 0 "M15" H -3950 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1150 50 0000 R CNN
+F 2 "" H -3650 900 29 0000 C CNN
+F 3 "" H -3850 1000 60 0000 C CNN
+ 1 -3950 1200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 62A8A1EE
+P -3950 1750
+F 0 "M16" H -3950 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1700 50 0000 R CNN
+F 2 "" H -3650 1450 29 0000 C CNN
+F 3 "" H -3850 1550 60 0000 C CNN
+ 1 -3950 1750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62A8A1F4
+P -3950 2300
+F 0 "M17" H -3950 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 2250 50 0000 R CNN
+F 2 "" H -3650 2000 29 0000 C CNN
+F 3 "" H -3850 2100 60 0000 C CNN
+ 1 -3950 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62A8A1FA
+P -2750 350
+F 0 "M26" H -2750 200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2650 300 50 0000 R CNN
+F 2 "" H -2450 50 29 0000 C CNN
+F 3 "" H -2650 150 60 0000 C CNN
+ 1 -2750 350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M25
+U 1 1 62A8A200
+P -2800 -50
+F 0 "M25" H -2850 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2750 100 50 0000 R CNN
+F 2 "" H -2550 50 29 0000 C CNN
+F 3 "" H -2750 -50 60 0000 C CNN
+ 1 -2800 -50
+ -1 0 0 1
+$EndComp
+Text Label -5650 -50 0 60 ~ 0
+i0_1
+Text Label -5750 500 0 60 ~ 0
+i1_1
+Text Label -2350 250 0 60 ~ 0
+s
+Text Label -8300 100 0 60 ~ 0
+vcc
+Text Label -3000 950 2 60 ~ 0
+y1_bar
+$Comp
+L eSim_MOS_P M33
+U 1 1 62A8A287
+P -1950 1450
+F 0 "M33" H -2000 1500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1900 1600 50 0000 R CNN
+F 2 "" H -1700 1550 29 0000 C CNN
+F 3 "" H -1900 1450 60 0000 C CNN
+ 1 -1950 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 62A8A28D
+P -1900 1800
+F 0 "M34" H -1900 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1800 1750 50 0000 R CNN
+F 2 "" H -1600 1500 29 0000 C CNN
+F 3 "" H -1800 1600 60 0000 C CNN
+ 1 -1900 1800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62A8A727
+P -5200 4400
+F 0 "M6" H -5250 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 4550 50 0000 R CNN
+F 2 "" H -4950 4500 29 0000 C CNN
+F 3 "" H -5150 4400 60 0000 C CNN
+ 1 -5200 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62A8A72D
+P -4350 4400
+F 0 "M13" H -4400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 4550 50 0000 R CNN
+F 2 "" H -4100 4500 29 0000 C CNN
+F 3 "" H -4300 4400 60 0000 C CNN
+ 1 -4350 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 62A8A733
+P -3700 4400
+F 0 "M23" H -3750 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 4550 50 0000 R CNN
+F 2 "" H -3450 4500 29 0000 C CNN
+F 3 "" H -3650 4400 60 0000 C CNN
+ 1 -3700 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62A8A739
+P -5200 4950
+F 0 "M7" H -5250 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 5100 50 0000 R CNN
+F 2 "" H -4950 5050 29 0000 C CNN
+F 3 "" H -5150 4950 60 0000 C CNN
+ 1 -5200 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62A8A73F
+P -4350 4950
+F 0 "M14" H -4400 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 5100 50 0000 R CNN
+F 2 "" H -4100 5050 29 0000 C CNN
+F 3 "" H -4300 4950 60 0000 C CNN
+ 1 -4350 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 62A8A745
+P -3700 4950
+F 0 "M24" H -3750 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 5100 50 0000 R CNN
+F 2 "" H -3450 5050 29 0000 C CNN
+F 3 "" H -3650 4950 60 0000 C CNN
+ 1 -3700 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62A8A74B
+P -5050 5650
+F 0 "M8" H -5050 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 5600 50 0000 R CNN
+F 2 "" H -4750 5350 29 0000 C CNN
+F 3 "" H -4950 5450 60 0000 C CNN
+ 1 -5050 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62A8A751
+P -5050 6200
+F 0 "M9" H -5050 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6150 50 0000 R CNN
+F 2 "" H -4750 5900 29 0000 C CNN
+F 3 "" H -4950 6000 60 0000 C CNN
+ 1 -5050 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62A8A757
+P -5050 6750
+F 0 "M10" H -5050 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6700 50 0000 R CNN
+F 2 "" H -4750 6450 29 0000 C CNN
+F 3 "" H -4950 6550 60 0000 C CNN
+ 1 -5050 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 62A8A75D
+P -3800 5650
+F 0 "M20" H -3800 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 5600 50 0000 R CNN
+F 2 "" H -3500 5350 29 0000 C CNN
+F 3 "" H -3700 5450 60 0000 C CNN
+ 1 -3800 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 62A8A763
+P -3800 6200
+F 0 "M21" H -3800 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6150 50 0000 R CNN
+F 2 "" H -3500 5900 29 0000 C CNN
+F 3 "" H -3700 6000 60 0000 C CNN
+ 1 -3800 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62A8A769
+P -3800 6750
+F 0 "M22" H -3800 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6700 50 0000 R CNN
+F 2 "" H -3500 6450 29 0000 C CNN
+F 3 "" H -3700 6550 60 0000 C CNN
+ 1 -3800 6750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 62A8A76F
+P -2600 4800
+F 0 "M30" H -2600 4650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2500 4750 50 0000 R CNN
+F 2 "" H -2300 4500 29 0000 C CNN
+F 3 "" H -2500 4600 60 0000 C CNN
+ 1 -2600 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 62A8A775
+P -2650 4400
+F 0 "M29" H -2700 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2600 4550 50 0000 R CNN
+F 2 "" H -2400 4500 29 0000 C CNN
+F 3 "" H -2600 4400 60 0000 C CNN
+ 1 -2650 4400
+ -1 0 0 1
+$EndComp
+Text Label -5500 4400 0 60 ~ 0
+i0_2
+Text Label -5600 4950 0 60 ~ 0
+i1_2
+Text Label -2200 4700 0 60 ~ 0
+s
+Text Label -3050 5400 0 60 ~ 0
+y2_bar
+Text Label 11500 4450 0 60 ~ 0
+enable_bar
+$Comp
+L eSim_MOS_P M35
+U 1 1 62A8A7FC
+P -1800 5900
+F 0 "M35" H -1850 5950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1750 6050 50 0000 R CNN
+F 2 "" H -1550 6000 29 0000 C CNN
+F 3 "" H -1750 5900 60 0000 C CNN
+ 1 -1800 5900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 62A8A802
+P -1750 6250
+F 0 "M36" H -1750 6100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1650 6200 50 0000 R CNN
+F 2 "" H -1450 5950 29 0000 C CNN
+F 3 "" H -1650 6050 60 0000 C CNN
+ 1 -1750 6250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 62A8AFEC
+P 2600 3850
+F 0 "M37" H 2550 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4000 50 0000 R CNN
+F 2 "" H 2850 3950 29 0000 C CNN
+F 3 "" H 2650 3850 60 0000 C CNN
+ 1 2600 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 62A8AFF2
+P 3450 3850
+F 0 "M42" H 3400 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4000 50 0000 R CNN
+F 2 "" H 3700 3950 29 0000 C CNN
+F 3 "" H 3500 3850 60 0000 C CNN
+ 1 3450 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M47
+U 1 1 62A8AFF8
+P 4100 3850
+F 0 "M47" H 4050 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4000 50 0000 R CNN
+F 2 "" H 4350 3950 29 0000 C CNN
+F 3 "" H 4150 3850 60 0000 C CNN
+ 1 4100 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62A8AFFE
+P 2600 4400
+F 0 "M38" H 2550 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4550 50 0000 R CNN
+F 2 "" H 2850 4500 29 0000 C CNN
+F 3 "" H 2650 4400 60 0000 C CNN
+ 1 2600 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 62A8B004
+P 3450 4400
+F 0 "M43" H 3400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4550 50 0000 R CNN
+F 2 "" H 3700 4500 29 0000 C CNN
+F 3 "" H 3500 4400 60 0000 C CNN
+ 1 3450 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M48
+U 1 1 62A8B00A
+P 4100 4400
+F 0 "M48" H 4050 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4550 50 0000 R CNN
+F 2 "" H 4350 4500 29 0000 C CNN
+F 3 "" H 4150 4400 60 0000 C CNN
+ 1 4100 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 62A8B010
+P 2750 5100
+F 0 "M39" H 2750 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5050 50 0000 R CNN
+F 2 "" H 3050 4800 29 0000 C CNN
+F 3 "" H 2850 4900 60 0000 C CNN
+ 1 2750 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M40
+U 1 1 62A8B016
+P 2750 5650
+F 0 "M40" H 2750 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5600 50 0000 R CNN
+F 2 "" H 3050 5350 29 0000 C CNN
+F 3 "" H 2850 5450 60 0000 C CNN
+ 1 2750 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62A8B01C
+P 2750 6200
+F 0 "M41" H 2750 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 6150 50 0000 R CNN
+F 2 "" H 3050 5900 29 0000 C CNN
+F 3 "" H 2850 6000 60 0000 C CNN
+ 1 2750 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M44
+U 1 1 62A8B022
+P 4000 5100
+F 0 "M44" H 4000 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5050 50 0000 R CNN
+F 2 "" H 4300 4800 29 0000 C CNN
+F 3 "" H 4100 4900 60 0000 C CNN
+ 1 4000 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 62A8B028
+P 4000 5650
+F 0 "M45" H 4000 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5600 50 0000 R CNN
+F 2 "" H 4300 5350 29 0000 C CNN
+F 3 "" H 4100 5450 60 0000 C CNN
+ 1 4000 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 62A8B02E
+P 4000 6200
+F 0 "M46" H 4000 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 6150 50 0000 R CNN
+F 2 "" H 4300 5900 29 0000 C CNN
+F 3 "" H 4100 6000 60 0000 C CNN
+ 1 4000 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M50
+U 1 1 62A8B034
+P 5200 4250
+F 0 "M50" H 5200 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 4200 50 0000 R CNN
+F 2 "" H 5500 3950 29 0000 C CNN
+F 3 "" H 5300 4050 60 0000 C CNN
+ 1 5200 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M49
+U 1 1 62A8B03A
+P 5150 3850
+F 0 "M49" H 5100 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5200 4000 50 0000 R CNN
+F 2 "" H 5400 3950 29 0000 C CNN
+F 3 "" H 5200 3850 60 0000 C CNN
+ 1 5150 3850
+ -1 0 0 1
+$EndComp
+Text Label 2300 3850 0 60 ~ 0
+i0_4
+Text Label 2200 4400 0 60 ~ 0
+i1_4
+Text Label 4750 4850 0 60 ~ 0
+y4_bar
+$Comp
+L eSim_MOS_P M53
+U 1 1 62A8B0C1
+P 6000 5350
+F 0 "M53" H 5950 5400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6050 5500 50 0000 R CNN
+F 2 "" H 6250 5450 29 0000 C CNN
+F 3 "" H 6050 5350 60 0000 C CNN
+ 1 6000 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 62A8B0C7
+P 6050 5700
+F 0 "M54" H 6050 5550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6150 5650 50 0000 R CNN
+F 2 "" H 6350 5400 29 0000 C CNN
+F 3 "" H 6150 5500 60 0000 C CNN
+ 1 6050 5700
+ -1 0 0 -1
+$EndComp
+Connection ~ 9250 1100
+Connection ~ 7900 3050
+Wire Wire Line
+ 7900 3050 10100 3050
+Connection ~ 7850 1750
+Connection ~ 7900 3150
+Wire Wire Line
+ 7900 1750 7900 3150
+Wire Wire Line
+ 7850 1750 7900 1750
+Connection ~ 9250 4050
+Connection ~ 6250 1300
+Wire Wire Line
+ 6250 1300 6250 3850
+Connection ~ 6350 1850
+Wire Wire Line
+ 6350 3600 6350 1850
+Connection ~ 7550 2300
+Wire Wire Line
+ 7550 2300 9400 2300
+Wire Wire Line
+ 3850 1850 6700 1850
+Wire Wire Line
+ 3850 1300 6700 1300
+Wire Wire Line
+ 6250 3850 6900 3850
+Wire Wire Line
+ 8350 3600 6350 3600
+Wire Wire Line
+ 8350 3850 8350 3600
+Connection ~ 8950 1850
+Wire Wire Line
+ 8950 2750 8350 2750
+Connection ~ 8950 1600
+Wire Wire Line
+ 6600 2750 6900 2750
+Wire Wire Line
+ 6600 1600 6600 2750
+Connection ~ 9650 1600
+Wire Wire Line
+ 8950 1850 8500 1850
+Wire Wire Line
+ 8950 1700 8950 2750
+Wire Wire Line
+ 9650 1700 8950 1700
+Wire Wire Line
+ 9650 1600 9650 1700
+Connection ~ 8050 4050
+Wire Wire Line
+ 9250 4050 9250 2100
+Connection ~ 8200 1100
+Connection ~ 9150 1100
+Connection ~ 9250 1600
+Wire Wire Line
+ 8950 1300 8500 1300
+Wire Wire Line
+ 8950 1600 8950 1300
+Wire Wire Line
+ 6600 1600 9250 1600
+Connection ~ 9550 1600
+Wire Wire Line
+ 10750 1600 9550 1600
+Wire Wire Line
+ 9550 1300 9550 1900
+Wire Wire Line
+ 9250 2100 9150 2100
+Wire Wire Line
+ 9150 2100 9150 2050
+Wire Wire Line
+ 9150 1100 9150 1150
+Wire Wire Line
+ 9250 1500 9250 1700
+Wire Wire Line
+ 1450 850 7550 850
+Wire Wire Line
+ 7550 850 7550 1100
+Wire Wire Line
+ 6900 3150 6900 3300
+Wire Wire Line
+ 6900 3150 8350 3150
+Wire Wire Line
+ 8350 3150 8350 3300
+Wire Wire Line
+ 7850 1300 7850 1850
+Wire Wire Line
+ 7550 1650 7550 1500
+Connection ~ 7600 4050
+Wire Wire Line
+ 7600 7400 7600 4050
+Connection ~ 7550 2550
+Wire Wire Line
+ 7550 2050 7550 2550
+Connection ~ 7950 4050
+Wire Wire Line
+ 7950 4050 7950 4000
+Connection ~ 7300 4050
+Wire Wire Line
+ 7300 4000 7300 4050
+Wire Wire Line
+ 7950 3500 8050 3500
+Wire Wire Line
+ 7950 3450 7950 3500
+Wire Wire Line
+ 7300 3500 7200 3500
+Wire Wire Line
+ 7300 3450 7300 3500
+Wire Wire Line
+ 7950 2950 8050 2950
+Wire Wire Line
+ 7950 2900 7950 2950
+Wire Wire Line
+ 7300 2950 7200 2950
+Wire Wire Line
+ 7300 2900 7300 2950
+Wire Wire Line
+ 7200 4050 10050 4050
+Wire Wire Line
+ 8050 3500 8050 3650
+Wire Wire Line
+ 7200 3500 7200 3650
+Wire Wire Line
+ 8050 2950 8050 3100
+Wire Wire Line
+ 7200 2950 7200 3100
+Wire Wire Line
+ 7200 2550 8050 2550
+Connection ~ 8100 1100
+Wire Wire Line
+ 8100 1100 8100 1150
+Connection ~ 7450 1100
+Wire Wire Line
+ 7450 1100 7450 1150
+Connection ~ 7100 1100
+Wire Wire Line
+ 7100 1150 7100 1100
+Connection ~ 8100 1650
+Wire Wire Line
+ 8100 1650 8100 1700
+Connection ~ 7450 1650
+Wire Wire Line
+ 7450 1650 7450 1700
+Connection ~ 7100 1650
+Wire Wire Line
+ 7100 1700 7100 1650
+Connection ~ 7550 2050
+Wire Wire Line
+ 7000 2050 8200 2050
+Connection ~ 7550 1650
+Wire Wire Line
+ 7000 1650 8200 1650
+Connection ~ 7550 1500
+Wire Wire Line
+ 7000 1500 8200 1500
+Connection ~ 7550 1100
+Wire Wire Line
+ 7000 1100 10000 1100
+Connection ~ 10100 3050
+Wire Wire Line
+ 10000 3550 10100 3550
+Wire Wire Line
+ 10400 2800 10400 3350
+Wire Wire Line
+ 10100 3000 10100 3150
+Wire Wire Line
+ 10100 2600 10000 2600
+Wire Wire Line
+ 10000 1100 10000 2650
+Wire Wire Line
+ 10000 3550 10000 3500
+Wire Wire Line
+ 10050 4050 10050 3550
+Connection ~ 10050 3550
+Connection ~ 10000 2600
+Wire Wire Line
+ 10400 3050 11050 3050
+Connection ~ 10400 3050
+Connection ~ -2950 -250
+Connection ~ -4350 400
+Connection ~ -4300 1800
+Wire Wire Line
+ -4300 400 -4300 1800
+Wire Wire Line
+ -4350 400 -4300 400
+Connection ~ -2950 2700
+Connection ~ -5950 -50
+Wire Wire Line
+ -5950 -50 -5950 2500
+Connection ~ -5850 500
+Wire Wire Line
+ -5850 2250 -5850 500
+Connection ~ -4650 950
+Wire Wire Line
+ -4650 950 -2800 950
+Wire Wire Line
+ -7450 500 -5500 500
+Wire Wire Line
+ -7450 -50 -5500 -50
+Wire Wire Line
+ -5950 2500 -5300 2500
+Wire Wire Line
+ -3850 2250 -5850 2250
+Wire Wire Line
+ -3850 2500 -3850 2250
+Connection ~ -3250 500
+Wire Wire Line
+ -3250 1400 -3850 1400
+Connection ~ -3250 250
+Wire Wire Line
+ -5600 1400 -5300 1400
+Wire Wire Line
+ -5600 250 -5600 1400
+Connection ~ -2550 250
+Wire Wire Line
+ -3250 500 -3700 500
+Wire Wire Line
+ -3250 350 -3250 1400
+Wire Wire Line
+ -2550 350 -3250 350
+Wire Wire Line
+ -2550 250 -2550 350
+Connection ~ -4150 2700
+Wire Wire Line
+ -2950 2700 -2950 750
+Connection ~ -4000 -250
+Connection ~ -3050 -250
+Connection ~ -2950 250
+Wire Wire Line
+ -3250 -50 -3700 -50
+Wire Wire Line
+ -3250 250 -3250 -50
+Wire Wire Line
+ -5600 250 -2950 250
+Connection ~ -2650 250
+Wire Wire Line
+ -2650 250 10750 250
+Wire Wire Line
+ -2650 -50 -2650 550
+Wire Wire Line
+ -2950 750 -3050 750
+Wire Wire Line
+ -3050 750 -3050 700
+Wire Wire Line
+ -3050 -250 -3050 -200
+Wire Wire Line
+ -2950 150 -2950 350
+Wire Wire Line
+ -8000 -500 1450 -500
+Wire Wire Line
+ -4650 -250 -4650 -500
+Wire Wire Line
+ -5300 1800 -5300 1950
+Wire Wire Line
+ -5300 1800 -3850 1800
+Wire Wire Line
+ -3850 1800 -3850 1950
+Wire Wire Line
+ -4350 -50 -4350 500
+Wire Wire Line
+ -4650 300 -4650 150
+Connection ~ -4600 2700
+Wire Wire Line
+ -4600 2700 -4600 3450
+Connection ~ -4650 1200
+Wire Wire Line
+ -4650 700 -4650 1200
+Connection ~ -4250 2700
+Wire Wire Line
+ -4250 2700 -4250 2650
+Connection ~ -4900 2700
+Wire Wire Line
+ -4900 2650 -4900 2700
+Wire Wire Line
+ -4250 2150 -4150 2150
+Wire Wire Line
+ -4250 2100 -4250 2150
+Wire Wire Line
+ -4900 2150 -5000 2150
+Wire Wire Line
+ -4900 2100 -4900 2150
+Wire Wire Line
+ -4250 1600 -4150 1600
+Wire Wire Line
+ -4250 1550 -4250 1600
+Wire Wire Line
+ -4900 1600 -5000 1600
+Wire Wire Line
+ -4900 1550 -4900 1600
+Wire Wire Line
+ -5000 2700 -2150 2700
+Wire Wire Line
+ -4150 2150 -4150 2300
+Wire Wire Line
+ -5000 2150 -5000 2300
+Wire Wire Line
+ -4150 1600 -4150 1750
+Wire Wire Line
+ -5000 1600 -5000 1750
+Wire Wire Line
+ -5000 1200 -4150 1200
+Connection ~ -4100 -250
+Wire Wire Line
+ -4100 -250 -4100 -200
+Connection ~ -4750 -250
+Wire Wire Line
+ -4750 -250 -4750 -200
+Connection ~ -5100 -250
+Wire Wire Line
+ -5100 -200 -5100 -250
+Connection ~ -4100 300
+Wire Wire Line
+ -4100 300 -4100 350
+Connection ~ -4750 300
+Wire Wire Line
+ -4750 300 -4750 350
+Connection ~ -5100 300
+Wire Wire Line
+ -5100 350 -5100 300
+Connection ~ -4650 700
+Wire Wire Line
+ -5200 700 -4000 700
+Connection ~ -4650 300
+Wire Wire Line
+ -5200 300 -4000 300
+Connection ~ -4650 150
+Wire Wire Line
+ -5200 150 -4000 150
+Connection ~ -4650 -250
+Wire Wire Line
+ -5200 -250 -2200 -250
+Wire Wire Line
+ -2200 2200 -2100 2200
+Wire Wire Line
+ -1800 1450 -1800 2000
+Wire Wire Line
+ -2100 1650 -2100 1800
+Wire Wire Line
+ -2100 1250 -2200 1250
+Wire Wire Line
+ -2200 -250 -2200 1300
+Wire Wire Line
+ -2200 2200 -2200 2150
+Wire Wire Line
+ -2150 2700 -2150 2200
+Connection ~ -2150 2200
+Connection ~ -2200 1250
+Wire Wire Line
+ -1800 1700 -1000 1700
+Connection ~ -1800 1700
+Connection ~ -2800 4200
+Connection ~ -4150 6150
+Wire Wire Line
+ -4150 6150 -1950 6150
+Connection ~ -4200 4850
+Connection ~ -4150 6250
+Wire Wire Line
+ -4150 4850 -4150 6250
+Wire Wire Line
+ -4200 4850 -4150 4850
+Connection ~ -2800 7150
+Wire Wire Line
+ -5800 4400 -5800 6950
+Connection ~ -5700 4950
+Wire Wire Line
+ -5700 6700 -5700 4950
+Connection ~ -4500 5400
+Wire Wire Line
+ -4500 5400 -2650 5400
+Wire Wire Line
+ -7800 4950 -5350 4950
+Wire Wire Line
+ -7850 4400 -5350 4400
+Wire Wire Line
+ -5800 6950 -5150 6950
+Wire Wire Line
+ -3700 6700 -5700 6700
+Wire Wire Line
+ -3700 6950 -3700 6700
+Connection ~ -3100 4950
+Wire Wire Line
+ -3100 5850 -3700 5850
+Connection ~ -3100 4700
+Wire Wire Line
+ -5450 5850 -5150 5850
+Wire Wire Line
+ -5450 4700 -5450 5850
+Connection ~ -2400 4700
+Wire Wire Line
+ -3100 4950 -3550 4950
+Wire Wire Line
+ -3100 4800 -3100 5850
+Wire Wire Line
+ -2400 4800 -3100 4800
+Wire Wire Line
+ -2400 4700 -2400 4800
+Connection ~ -4000 7150
+Wire Wire Line
+ -2800 7150 -2800 5200
+Connection ~ -3850 4200
+Connection ~ -2900 4200
+Connection ~ -2800 4700
+Wire Wire Line
+ -3100 4400 -3550 4400
+Wire Wire Line
+ -3100 4700 -3100 4400
+Wire Wire Line
+ -5450 4700 -2800 4700
+Connection ~ -2500 4700
+Wire Wire Line
+ -500 4700 -2500 4700
+Wire Wire Line
+ -2500 4400 -2500 5000
+Wire Wire Line
+ -2800 5200 -2900 5200
+Wire Wire Line
+ -2900 5200 -2900 5150
+Wire Wire Line
+ -2900 4200 -2900 4250
+Wire Wire Line
+ -2800 4600 -2800 4800
+Wire Wire Line
+ -8000 3950 -4500 3950
+Wire Wire Line
+ -4500 3950 -4500 4200
+Wire Wire Line
+ -5150 6250 -5150 6400
+Wire Wire Line
+ -5150 6250 -3700 6250
+Wire Wire Line
+ -3700 6250 -3700 6400
+Wire Wire Line
+ -4200 4400 -4200 4950
+Wire Wire Line
+ -4500 4750 -4500 4600
+Connection ~ -4450 7150
+Wire Wire Line
+ -4450 7150 -4450 7400
+Connection ~ -4500 5650
+Wire Wire Line
+ -4500 5150 -4500 5650
+Connection ~ -4100 7150
+Wire Wire Line
+ -4100 7150 -4100 7100
+Connection ~ -4750 7150
+Wire Wire Line
+ -4750 7100 -4750 7150
+Wire Wire Line
+ -4100 6600 -4000 6600
+Wire Wire Line
+ -4100 6550 -4100 6600
+Wire Wire Line
+ -4750 6600 -4850 6600
+Wire Wire Line
+ -4750 6550 -4750 6600
+Wire Wire Line
+ -4100 6050 -4000 6050
+Wire Wire Line
+ -4100 6000 -4100 6050
+Wire Wire Line
+ -4750 6050 -4850 6050
+Wire Wire Line
+ -4750 6000 -4750 6050
+Wire Wire Line
+ -4850 7150 -2000 7150
+Wire Wire Line
+ -4000 6600 -4000 6750
+Wire Wire Line
+ -4850 6600 -4850 6750
+Wire Wire Line
+ -4000 6050 -4000 6200
+Wire Wire Line
+ -4850 6050 -4850 6200
+Wire Wire Line
+ -4850 5650 -4000 5650
+Connection ~ -3950 4200
+Wire Wire Line
+ -3950 4200 -3950 4250
+Connection ~ -4600 4200
+Wire Wire Line
+ -4600 4200 -4600 4250
+Connection ~ -4950 4200
+Wire Wire Line
+ -4950 4250 -4950 4200
+Connection ~ -3950 4750
+Wire Wire Line
+ -3950 4750 -3950 4800
+Connection ~ -4600 4750
+Wire Wire Line
+ -4600 4750 -4600 4800
+Connection ~ -4950 4750
+Wire Wire Line
+ -4950 4800 -4950 4750
+Connection ~ -4500 5150
+Wire Wire Line
+ -5050 5150 -3850 5150
+Connection ~ -4500 4750
+Wire Wire Line
+ -5050 4750 -3850 4750
+Connection ~ -4500 4600
+Wire Wire Line
+ -5050 4600 -3850 4600
+Connection ~ -4500 4200
+Wire Wire Line
+ -5050 4200 -2050 4200
+Connection ~ -1950 6150
+Wire Wire Line
+ -2050 6650 -1950 6650
+Wire Wire Line
+ -1650 5900 -1650 6450
+Wire Wire Line
+ -1950 6100 -1950 6250
+Wire Wire Line
+ -1950 5700 -2050 5700
+Wire Wire Line
+ -2050 4200 -2050 5750
+Wire Wire Line
+ -2050 6650 -2050 6600
+Wire Wire Line
+ -2000 7150 -2000 6650
+Connection ~ -2000 6650
+Connection ~ -2050 5700
+Wire Wire Line
+ -1650 6150 -1000 6150
+Connection ~ -1650 6150
+Connection ~ 5000 3650
+Connection ~ 3650 5600
+Wire Wire Line
+ 3650 5600 5850 5600
+Connection ~ 3600 4300
+Connection ~ 3650 5700
+Wire Wire Line
+ 3650 4300 3650 5700
+Wire Wire Line
+ 3600 4300 3650 4300
+Connection ~ 5000 6600
+Connection ~ 2000 3850
+Wire Wire Line
+ 2000 3850 2000 6400
+Connection ~ 2100 4400
+Wire Wire Line
+ 2100 6150 2100 4400
+Connection ~ 3300 4850
+Wire Wire Line
+ 3300 4850 5150 4850
+Wire Wire Line
+ 1350 4400 2450 4400
+Wire Wire Line
+ 1350 3850 2450 3850
+Wire Wire Line
+ 2000 6400 2650 6400
+Wire Wire Line
+ 4100 6150 2100 6150
+Wire Wire Line
+ 4100 6400 4100 6150
+Connection ~ 4700 4400
+Wire Wire Line
+ 4700 5300 4100 5300
+Connection ~ 4700 4150
+Wire Wire Line
+ 2350 5300 2650 5300
+Wire Wire Line
+ 2350 4150 2350 5300
+Connection ~ 5400 4150
+Wire Wire Line
+ 4700 4400 4250 4400
+Wire Wire Line
+ 4700 4250 4700 5300
+Wire Wire Line
+ 5400 4250 4700 4250
+Wire Wire Line
+ 5400 4150 5400 4250
+Connection ~ 3800 6600
+Wire Wire Line
+ 5000 6600 5000 4650
+Connection ~ 3950 3650
+Connection ~ 4900 3650
+Connection ~ 5000 4150
+Wire Wire Line
+ 4700 3850 4250 3850
+Wire Wire Line
+ 4700 4150 4700 3850
+Wire Wire Line
+ 2350 4150 5000 4150
+Connection ~ 5300 4150
+Wire Wire Line
+ 5300 4150 6500 4150
+Wire Wire Line
+ 5300 3850 5300 4450
+Wire Wire Line
+ 5000 4650 4900 4650
+Wire Wire Line
+ 4900 4650 4900 4600
+Wire Wire Line
+ 4900 3650 4900 3700
+Wire Wire Line
+ 5000 4050 5000 4250
+Wire Wire Line
+ 1450 3400 3300 3400
+Wire Wire Line
+ 3300 3400 3300 3650
+Wire Wire Line
+ 2650 5700 2650 5850
+Wire Wire Line
+ 2650 5700 4100 5700
+Wire Wire Line
+ 4100 5700 4100 5850
+Wire Wire Line
+ 3600 3850 3600 4400
+Wire Wire Line
+ 3300 4200 3300 4050
+Connection ~ 3350 6600
+Wire Wire Line
+ 3350 7400 3350 6600
+Connection ~ 3300 5100
+Wire Wire Line
+ 3300 4600 3300 5100
+Connection ~ 3700 6600
+Wire Wire Line
+ 3700 6600 3700 6550
+Connection ~ 3050 6600
+Wire Wire Line
+ 3050 6550 3050 6600
+Wire Wire Line
+ 3700 6050 3800 6050
+Wire Wire Line
+ 3700 6000 3700 6050
+Wire Wire Line
+ 3050 6050 2950 6050
+Wire Wire Line
+ 3050 6000 3050 6050
+Wire Wire Line
+ 3700 5500 3800 5500
+Wire Wire Line
+ 3700 5450 3700 5500
+Wire Wire Line
+ 3050 5500 2950 5500
+Wire Wire Line
+ 3050 5450 3050 5500
+Wire Wire Line
+ 2950 6600 5800 6600
+Wire Wire Line
+ 3800 6050 3800 6200
+Wire Wire Line
+ 2950 6050 2950 6200
+Wire Wire Line
+ 3800 5500 3800 5650
+Wire Wire Line
+ 2950 5500 2950 5650
+Wire Wire Line
+ 2950 5100 3800 5100
+Connection ~ 3850 3650
+Wire Wire Line
+ 3850 3650 3850 3700
+Connection ~ 3200 3650
+Wire Wire Line
+ 3200 3650 3200 3700
+Connection ~ 2850 3650
+Wire Wire Line
+ 2850 3700 2850 3650
+Connection ~ 3850 4200
+Wire Wire Line
+ 3850 4200 3850 4250
+Connection ~ 3200 4200
+Wire Wire Line
+ 3200 4200 3200 4250
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4250 2850 4200
+Connection ~ 3300 4600
+Wire Wire Line
+ 2750 4600 3950 4600
+Connection ~ 3300 4200
+Wire Wire Line
+ 2750 4200 3950 4200
+Connection ~ 3300 4050
+Wire Wire Line
+ 2750 4050 3950 4050
+Connection ~ 3300 3650
+Connection ~ 5850 5600
+Wire Wire Line
+ 5750 6100 5850 6100
+Wire Wire Line
+ 6150 5350 6150 5900
+Wire Wire Line
+ 5850 5550 5850 5700
+Wire Wire Line
+ 5850 5150 5750 5150
+Wire Wire Line
+ 5750 3650 5750 5200
+Wire Wire Line
+ 5750 6100 5750 6050
+Wire Wire Line
+ 5800 6600 5800 6100
+Connection ~ 5800 6100
+Connection ~ 5750 5150
+Wire Wire Line
+ 11050 5600 6150 5600
+Connection ~ 6150 5600
+Wire Wire Line
+ 10750 250 10750 1600
+Wire Wire Line
+ -500 250 -500 4700
+Connection ~ -500 250
+Wire Wire Line
+ 6500 4150 6500 3050
+Wire Wire Line
+ 6500 3050 -500 3050
+Wire Wire Line
+ -1000 1700 -1000 7150
+Wire Wire Line
+ 11050 3050 11050 5600
+Wire Wire Line
+ 7250 5600 7250 7150
+Wire Wire Line
+ 7250 7150 -1000 7150
+Connection ~ -1000 6150
+Connection ~ 7250 5600
+Wire Wire Line
+ 11050 4450 12050 4450
+Connection ~ 11050 4450
+Wire Wire Line
+ 10750 1100 12050 1100
+Connection ~ 10750 1100
+Wire Wire Line
+ -8000 -500 -8000 3950
+Wire Wire Line
+ -8000 100 -8600 100
+Connection ~ -8000 100
+Wire Wire Line
+ 1450 -500 1450 3400
+Connection ~ -4650 -500
+Connection ~ 1450 850
+Wire Wire Line
+ -4600 3450 -200 3450
+Wire Wire Line
+ -200 3450 -200 7400
+Wire Wire Line
+ -4450 7400 7600 7400
+Connection ~ -200 7400
+Connection ~ 3350 7400
+Wire Wire Line
+ -1250 7400 -1250 7750
+Wire Wire Line
+ -1250 7750 -1700 7750
+Connection ~ -1250 7400
+Connection ~ -5800 4400
+Wire Wire Line
+ 2750 3650 5750 3650
+$Comp
+L PORT U1
+U 1 1 62AB0EBE
+P 12300 1100
+F 0 "U1" H 12350 1200 30 0000 C CNN
+F 1 "PORT" H 12300 1100 30 0000 C CNN
+F 2 "" H 12300 1100 60 0000 C CNN
+F 3 "" H 12300 1100 60 0000 C CNN
+ 1 12300 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62AB2486
+P -7700 -50
+F 0 "U1" H -7650 50 30 0000 C CNN
+F 1 "PORT" H -7700 -50 30 0000 C CNN
+F 2 "" H -7700 -50 60 0000 C CNN
+F 3 "" H -7700 -50 60 0000 C CNN
+ 2 -7700 -50
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62AB255B
+P -7700 500
+F 0 "U1" H -7650 600 30 0000 C CNN
+F 1 "PORT" H -7700 500 30 0000 C CNN
+F 2 "" H -7700 500 60 0000 C CNN
+F 3 "" H -7700 500 60 0000 C CNN
+ 3 -7700 500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62AB264C
+P -2550 950
+F 0 "U1" H -2500 1050 30 0000 C CNN
+F 1 "PORT" H -2550 950 30 0000 C CNN
+F 2 "" H -2550 950 60 0000 C CNN
+F 3 "" H -2550 950 60 0000 C CNN
+ 4 -2550 950
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62AB4A22
+P -8100 4400
+F 0 "U1" H -8050 4500 30 0000 C CNN
+F 1 "PORT" H -8100 4400 30 0000 C CNN
+F 2 "" H -8100 4400 60 0000 C CNN
+F 3 "" H -8100 4400 60 0000 C CNN
+ 5 -8100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62AB4AFB
+P -8050 4950
+F 0 "U1" H -8000 5050 30 0000 C CNN
+F 1 "PORT" H -8050 4950 30 0000 C CNN
+F 2 "" H -8050 4950 60 0000 C CNN
+F 3 "" H -8050 4950 60 0000 C CNN
+ 6 -8050 4950
+ 1 0 0 -1
+$EndComp
+Connection ~ -500 3050
+$Comp
+L PORT U1
+U 7 1 62ABA04F
+P -2400 5400
+F 0 "U1" H -2350 5500 30 0000 C CNN
+F 1 "PORT" H -2400 5400 30 0000 C CNN
+F 2 "" H -2400 5400 60 0000 C CNN
+F 3 "" H -2400 5400 60 0000 C CNN
+ 7 -2400 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62ABD427
+P -1950 7750
+F 0 "U1" H -1900 7850 30 0000 C CNN
+F 1 "PORT" H -1950 7750 30 0000 C CNN
+F 2 "" H -1950 7750 60 0000 C CNN
+F 3 "" H -1950 7750 60 0000 C CNN
+ 8 -1950 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62AC19FC
+P 5400 4850
+F 0 "U1" H 5450 4950 30 0000 C CNN
+F 1 "PORT" H 5400 4850 30 0000 C CNN
+F 2 "" H 5400 4850 60 0000 C CNN
+F 3 "" H 5400 4850 60 0000 C CNN
+ 9 5400 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62AC2D09
+P 1100 4400
+F 0 "U1" H 1150 4500 30 0000 C CNN
+F 1 "PORT" H 1100 4400 30 0000 C CNN
+F 2 "" H 1100 4400 60 0000 C CNN
+F 3 "" H 1100 4400 60 0000 C CNN
+ 10 1100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62AC2E02
+P 1100 3850
+F 0 "U1" H 1150 3950 30 0000 C CNN
+F 1 "PORT" H 1100 3850 30 0000 C CNN
+F 2 "" H 1100 3850 60 0000 C CNN
+F 3 "" H 1100 3850 60 0000 C CNN
+ 11 1100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62AC91B4
+P 9650 2300
+F 0 "U1" H 9700 2400 30 0000 C CNN
+F 1 "PORT" H 9650 2300 30 0000 C CNN
+F 2 "" H 9650 2300 60 0000 C CNN
+F 3 "" H 9650 2300 60 0000 C CNN
+ 12 9650 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62ACABE8
+P 3600 1850
+F 0 "U1" H 3650 1950 30 0000 C CNN
+F 1 "PORT" H 3600 1850 30 0000 C CNN
+F 2 "" H 3600 1850 60 0000 C CNN
+F 3 "" H 3600 1850 60 0000 C CNN
+ 13 3600 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62ACACE3
+P 3600 1300
+F 0 "U1" H 3650 1400 30 0000 C CNN
+F 1 "PORT" H 3600 1300 30 0000 C CNN
+F 2 "" H 3600 1300 60 0000 C CNN
+F 3 "" H 3600 1300 60 0000 C CNN
+ 14 3600 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62ACADBC
+P 12300 4450
+F 0 "U1" H 12350 4550 30 0000 C CNN
+F 1 "PORT" H 12300 4450 30 0000 C CNN
+F 2 "" H 12300 4450 60 0000 C CNN
+F 3 "" H 12300 4450 60 0000 C CNN
+ 15 12300 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62AD09D5
+P -8850 100
+F 0 "U1" H -8800 200 30 0000 C CNN
+F 1 "PORT" H -8850 100 30 0000 C CNN
+F 2 "" H -8850 100 60 0000 C CNN
+F 3 "" H -8850 100 60 0000 C CNN
+ 16 -8850 100
+ 1 0 0 -1
+$EndComp
+Connection ~ -2100 1700
+Connection ~ -4300 1700
+Wire Wire Line
+ -4300 1700 -2100 1700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub
new file mode 100644
index 00000000..9d85337b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub
@@ -0,0 +1,72 @@
+* Subcircuit CD54_157
+.subckt CD54_157 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_157 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml
new file mode 100644
index 00000000..850ea0ff
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m60><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m65><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m66><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m57><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m58><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m62><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m63><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m64><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m68><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m67><m71><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m71><m72><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m72><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m25><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m47><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m48><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m40><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m44><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m50><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m49><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m53><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib
new file mode 100644
index 00000000..645582cd
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib
@@ -0,0 +1,128 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# CD_54157
+#
+DEF CD_54157 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "CD_54157" 0 -250 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -600 0 1 0 N
+X Sel 1 -550 150 200 R 50 50 1 1 I
+X I0_1 2 -550 50 200 R 50 50 1 1 I
+X I1_1 3 -550 -50 200 R 50 50 1 1 I
+X Y1_bar 4 -550 -150 200 R 50 50 1 1 O
+X I0_2 5 -550 -250 200 R 50 50 1 1 I
+X I1_2 6 -550 -350 200 R 50 50 1 1 I
+X Y2_bar 7 -550 -450 200 R 50 50 1 1 O
+X GND 8 -550 -550 200 R 50 50 1 1 I
+X Y3_bar 9 550 -550 200 L 50 50 1 1 O
+X I1_3 10 550 -450 200 L 50 50 1 1 I
+X I0_3 11 550 -350 200 L 50 50 1 1 I
+X Y4_bar 12 550 -250 200 L 50 50 1 1 O
+X I1_4 13 550 -150 200 L 50 50 1 1 I
+X I0_4 14 550 -50 200 L 50 50 1 1 I
+X E_bar 15 550 50 200 L 50 50 1 1 I
+X VCC 16 550 150 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir
new file mode 100644
index 00000000..11a9f3b9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir
@@ -0,0 +1,32 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_HC_151\CD54_HC_151.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/28/22 12:24:35
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X2 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M1-Pad2_ Net-_U1-Pad1_ Net-_U1-Pad2_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X1 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M4-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X3 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M2-Pad2_ Net-_U1-Pad14_ Net-_U1-Pad15_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X4 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M3-Pad2_ Net-_U1-Pad12_ Net-_U1-Pad13_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X6 Net-_U1-Pad10_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M10-Pad2_ Net-_M3-Pad1_ Net-_M2-Pad1_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X5 Net-_U1-Pad10_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M4-Pad1_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X7 Net-_U1-Pad9_ ? ? ? Net-_M11-Pad1_ Net-_M10-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ ? ? ? ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+M8 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M4 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M5 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M7 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M12 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M14 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_U1-Pad7_ Net-_M1-Pad3_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out
new file mode 100644
index 00000000..e598a9f9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out
@@ -0,0 +1,36 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc_151\cd54_hc_151.cir
+
+.include CD54_157.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+x2 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m1-pad2_ net-_u1-pad1_ net-_u1-pad2_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x1 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m4-pad2_ net-_u1-pad3_ net-_u1-pad4_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x3 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m2-pad2_ net-_u1-pad14_ net-_u1-pad15_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x4 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m3-pad2_ net-_u1-pad12_ net-_u1-pad13_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x6 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m10-pad2_ net-_m3-pad1_ net-_m2-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x5 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m11-pad2_ net-_m1-pad1_ net-_m4-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x7 net-_u1-pad9_ ? ? ? net-_m11-pad1_ net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ ? ? ? ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_m13-pad2_ net-_m13-pad1_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch
new file mode 100644
index 00000000..15f83455
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch
@@ -0,0 +1,893 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54HC151-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L CD_54157 X2
+U 1 1 62BAA15B
+P 3200 3150
+F 0 "X2" H 3200 3200 60 0000 C CNN
+F 1 "CD_54157" V 3200 2900 60 0000 C CNN
+F 2 "" H 3200 3150 60 0001 C CNN
+F 3 "" H 3200 3150 60 0001 C CNN
+ 1 3200 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X1
+U 1 1 62BAA15C
+P 3200 1900
+F 0 "X1" H 3200 1950 60 0000 C CNN
+F 1 "CD_54157" V 3200 1650 60 0000 C CNN
+F 2 "" H 3200 1900 60 0001 C CNN
+F 3 "" H 3200 1900 60 0001 C CNN
+ 1 3200 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X3
+U 1 1 62BAA15D
+P 3200 4450
+F 0 "X3" H 3200 4500 60 0000 C CNN
+F 1 "CD_54157" V 3200 4200 60 0000 C CNN
+F 2 "" H 3200 4450 60 0001 C CNN
+F 3 "" H 3200 4450 60 0001 C CNN
+ 1 3200 4450
+ 1 0 0 -1
+$EndComp
+NoConn ~ 2650 4400
+NoConn ~ 2650 4500
+NoConn ~ 2650 4600
+$Comp
+L CD_54157 X4
+U 1 1 62BAA15E
+P 3200 5750
+F 0 "X4" H 3200 5800 60 0000 C CNN
+F 1 "CD_54157" V 3200 5500 60 0000 C CNN
+F 2 "" H 3200 5750 60 0001 C CNN
+F 3 "" H 3200 5750 60 0001 C CNN
+ 1 3200 5750
+ 1 0 0 -1
+$EndComp
+NoConn ~ 2650 5800
+NoConn ~ 2650 5900
+NoConn ~ 2650 6000
+NoConn ~ 3750 6000
+$Comp
+L CD_54157 X6
+U 1 1 62BAA15F
+P 5750 4550
+F 0 "X6" H 5750 4600 60 0000 C CNN
+F 1 "CD_54157" V 5750 4300 60 0000 C CNN
+F 2 "" H 5750 4550 60 0001 C CNN
+F 3 "" H 5750 4550 60 0001 C CNN
+ 1 5750 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X5
+U 1 1 62BAA160
+P 5750 3300
+F 0 "X5" H 5750 3350 60 0000 C CNN
+F 1 "CD_54157" V 5750 3050 60 0000 C CNN
+F 2 "" H 5750 3300 60 0001 C CNN
+F 3 "" H 5750 3300 60 0001 C CNN
+ 1 5750 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X7
+U 1 1 62BAA161
+P 8550 3900
+F 0 "X7" H 8550 3950 60 0000 C CNN
+F 1 "CD_54157" V 8550 3650 60 0000 C CNN
+F 2 "" H 8550 3900 60 0001 C CNN
+F 3 "" H 8550 3900 60 0001 C CNN
+ 1 8550 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 62BAA162
+P 4550 2450
+F 0 "M8" H 4500 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4600 2600 50 0000 R CNN
+F 2 "" H 4800 2550 29 0000 C CNN
+F 3 "" H 4600 2450 60 0000 C CNN
+ 1 4550 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62BAA163
+P 4500 2750
+F 0 "M4" H 4500 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4600 2700 50 0000 R CNN
+F 2 "" H 4800 2450 29 0000 C CNN
+F 3 "" H 4600 2550 60 0000 C CNN
+ 1 4500 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 62BAA164
+P 4500 3550
+F 0 "M5" H 4450 3600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 3700 50 0000 R CNN
+F 2 "" H 4750 3650 29 0000 C CNN
+F 3 "" H 4550 3550 60 0000 C CNN
+ 1 4500 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62BAA165
+P 4450 3850
+F 0 "M1" H 4450 3700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 3800 50 0000 R CNN
+F 2 "" H 4750 3550 29 0000 C CNN
+F 3 "" H 4550 3650 60 0000 C CNN
+ 1 4450 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62BAA166
+P 4500 4900
+F 0 "M6" H 4450 4950 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 5050 50 0000 R CNN
+F 2 "" H 4750 5000 29 0000 C CNN
+F 3 "" H 4550 4900 60 0000 C CNN
+ 1 4500 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62BAA167
+P 4450 5200
+F 0 "M2" H 4450 5050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 5150 50 0000 R CNN
+F 2 "" H 4750 4900 29 0000 C CNN
+F 3 "" H 4550 5000 60 0000 C CNN
+ 1 4450 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62BAA168
+P 4500 6000
+F 0 "M7" H 4450 6050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 6150 50 0000 R CNN
+F 2 "" H 4750 6100 29 0000 C CNN
+F 3 "" H 4550 6000 60 0000 C CNN
+ 1 4500 6000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62BAA169
+P 4450 6300
+F 0 "M3" H 4450 6150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 6250 50 0000 R CNN
+F 2 "" H 4750 6000 29 0000 C CNN
+F 3 "" H 4550 6100 60 0000 C CNN
+ 1 4450 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62BAA16A
+P 7050 3750
+F 0 "M11" H 7000 3800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7100 3900 50 0000 R CNN
+F 2 "" H 7300 3850 29 0000 C CNN
+F 3 "" H 7100 3750 60 0000 C CNN
+ 1 7050 3750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62BAA16B
+P 7000 4050
+F 0 "M9" H 7000 3900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 4000 50 0000 R CNN
+F 2 "" H 7300 3750 29 0000 C CNN
+F 3 "" H 7100 3850 60 0000 C CNN
+ 1 7000 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62BAA16C
+P 7050 5000
+F 0 "M12" H 7000 5050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7100 5150 50 0000 R CNN
+F 2 "" H 7300 5100 29 0000 C CNN
+F 3 "" H 7100 5000 60 0000 C CNN
+ 1 7050 5000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62BAA16D
+P 7000 5300
+F 0 "M10" H 7000 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 5250 50 0000 R CNN
+F 2 "" H 7300 5000 29 0000 C CNN
+F 3 "" H 7100 5100 60 0000 C CNN
+ 1 7000 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62BAA16E
+P 8750 5150
+F 0 "M14" H 8700 5200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8800 5300 50 0000 R CNN
+F 2 "" H 9000 5250 29 0000 C CNN
+F 3 "" H 8800 5150 60 0000 C CNN
+ 1 8750 5150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 62BAA16F
+P 8700 5450
+F 0 "M13" H 8700 5300 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8800 5400 50 0000 R CNN
+F 2 "" H 9000 5150 29 0000 C CNN
+F 3 "" H 8800 5250 60 0000 C CNN
+ 1 8700 5450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4400 2450 4400 2950
+Wire Wire Line
+ 4700 2250 9100 2250
+Wire Wire Line
+ 4800 2250 4800 2300
+Wire Wire Line
+ 4800 3150 4800 3100
+Wire Wire Line
+ 4700 3150 4800 3150
+Wire Wire Line
+ 4700 2650 4700 2750
+Wire Wire Line
+ 4350 3550 4350 4050
+Wire Wire Line
+ 5000 3350 4650 3350
+Wire Wire Line
+ 4750 3350 4750 3400
+Wire Wire Line
+ 4750 4200 4750 4250
+Wire Wire Line
+ 4650 4250 4850 4250
+Wire Wire Line
+ 4650 3750 4650 3850
+Wire Wire Line
+ 4350 4900 4350 5400
+Wire Wire Line
+ 5000 4700 4650 4700
+Wire Wire Line
+ 4750 4700 4750 4750
+Wire Wire Line
+ 4750 5550 4750 5600
+Wire Wire Line
+ 4850 5600 4650 5600
+Wire Wire Line
+ 4650 5100 4650 5200
+Wire Wire Line
+ 4350 6000 4350 6500
+Wire Wire Line
+ 5000 5800 4650 5800
+Wire Wire Line
+ 4750 5800 4750 5850
+Wire Wire Line
+ 4750 6650 4750 6700
+Wire Wire Line
+ 2550 6700 8950 6700
+Wire Wire Line
+ 4650 6200 4650 6300
+Wire Wire Line
+ 3750 2450 4050 2450
+Wire Wire Line
+ 4050 2450 4050 2650
+Wire Wire Line
+ 4050 2650 4400 2650
+Connection ~ 4400 2650
+Wire Wire Line
+ 3750 3700 4350 3700
+Connection ~ 4350 3700
+Wire Wire Line
+ 4700 2700 6450 2700
+Wire Wire Line
+ 6450 2700 6450 3650
+Wire Wire Line
+ 6450 3650 6300 3650
+Connection ~ 4700 2700
+Wire Wire Line
+ 4650 3800 4950 3800
+Wire Wire Line
+ 4950 3800 4950 2750
+Wire Wire Line
+ 4950 2750 6500 2750
+Wire Wire Line
+ 6500 2750 6500 3750
+Wire Wire Line
+ 6500 3750 6300 3750
+Connection ~ 4650 3800
+Wire Wire Line
+ 3750 5000 4350 5000
+Connection ~ 4350 5000
+Wire Wire Line
+ 4650 5150 4900 5150
+Wire Wire Line
+ 4900 5150 4900 4250
+Wire Wire Line
+ 4900 4250 6500 4250
+Wire Wire Line
+ 6500 4250 6500 4900
+Wire Wire Line
+ 6500 4900 6300 4900
+Connection ~ 4650 5150
+Wire Wire Line
+ 3750 6300 4350 6300
+Connection ~ 4350 6300
+Wire Wire Line
+ 4650 6250 6550 6250
+Wire Wire Line
+ 6550 6250 6550 5000
+Wire Wire Line
+ 6550 5000 6300 5000
+Connection ~ 4650 6250
+Wire Wire Line
+ 6900 3750 6900 4250
+Wire Wire Line
+ 7200 3550 7300 3550
+Wire Wire Line
+ 7300 3550 7300 3600
+Wire Wire Line
+ 7300 4400 7300 4450
+Wire Wire Line
+ 7200 4450 7450 4450
+Wire Wire Line
+ 7200 3950 7200 4050
+Wire Wire Line
+ 6300 3850 6900 3850
+Connection ~ 6900 3850
+Wire Wire Line
+ 7200 4000 7600 4000
+Connection ~ 7200 4000
+Wire Wire Line
+ 6900 5000 6900 5500
+Wire Wire Line
+ 7500 4800 7200 4800
+Wire Wire Line
+ 7300 4800 7300 4850
+Wire Wire Line
+ 7300 5650 7300 5700
+Wire Wire Line
+ 7200 5700 7450 5700
+Wire Wire Line
+ 7200 5200 7200 5300
+Wire Wire Line
+ 6300 5100 6900 5100
+Connection ~ 6900 5100
+Wire Wire Line
+ 7200 5250 7600 5250
+Connection ~ 7200 5250
+Wire Wire Line
+ 7600 4000 7600 4150
+Wire Wire Line
+ 7600 4150 8000 4150
+Wire Wire Line
+ 7600 5250 7600 4250
+Wire Wire Line
+ 7600 4250 8000 4250
+Wire Wire Line
+ 8000 4350 7700 4350
+Wire Wire Line
+ 7700 4350 7700 5250
+Wire Wire Line
+ 7700 4800 9550 4800
+Wire Wire Line
+ 4750 3150 4750 3250
+Wire Wire Line
+ 4750 3250 4850 3250
+Wire Wire Line
+ 4850 3250 4850 6700
+Connection ~ 4750 4250
+Connection ~ 4750 3150
+Connection ~ 4750 5600
+Connection ~ 4850 4250
+Connection ~ 4750 6700
+Connection ~ 4850 5600
+Wire Wire Line
+ 7450 5700 7450 4450
+Connection ~ 7300 5700
+Connection ~ 7300 4450
+Wire Wire Line
+ 7350 6700 7350 5700
+Connection ~ 4850 6700
+Connection ~ 7350 5700
+Wire Wire Line
+ 7250 3550 7250 3450
+Wire Wire Line
+ 7250 3450 7500 3450
+Wire Wire Line
+ 7500 2250 7500 4850
+Connection ~ 7300 4800
+Connection ~ 7250 3550
+Wire Wire Line
+ 5000 1750 5000 5800
+Connection ~ 4750 3350
+Connection ~ 4750 4700
+Connection ~ 4750 5800
+Connection ~ 5000 4700
+Connection ~ 4800 2250
+Connection ~ 5000 3350
+Connection ~ 5000 2250
+Connection ~ 7500 3450
+Wire Wire Line
+ 3750 3000 3950 3000
+Wire Wire Line
+ 3950 1750 3950 5600
+Wire Wire Line
+ 3750 1750 6300 1750
+Wire Wire Line
+ 3950 4300 3750 4300
+Connection ~ 3950 3000
+Wire Wire Line
+ 3950 5600 3750 5600
+Connection ~ 3950 4300
+Wire Wire Line
+ 6300 900 6300 3150
+Connection ~ 3950 1750
+Wire Wire Line
+ 6300 4400 6600 4400
+Wire Wire Line
+ 6600 4400 6600 3150
+Wire Wire Line
+ 6600 3150 6300 3150
+Connection ~ 5000 1750
+Wire Wire Line
+ 3750 3100 3850 3100
+Wire Wire Line
+ 3850 1850 3850 5700
+Wire Wire Line
+ 3750 1850 6700 1850
+Wire Wire Line
+ 3850 4400 3750 4400
+Connection ~ 3850 3100
+Wire Wire Line
+ 3850 5700 3750 5700
+Connection ~ 3850 4400
+Wire Wire Line
+ 6700 1150 6700 4500
+Wire Wire Line
+ 6300 3250 9200 3250
+Connection ~ 3850 1850
+Wire Wire Line
+ 6700 4500 6300 4500
+Connection ~ 6700 3250
+Wire Wire Line
+ 9100 2250 9100 3750
+Connection ~ 7500 2250
+Wire Wire Line
+ 9100 3850 9200 3850
+Wire Wire Line
+ 9200 3850 9200 3250
+Wire Wire Line
+ 2650 3000 2500 3000
+Wire Wire Line
+ 2500 1750 2500 5600
+Wire Wire Line
+ 2050 1750 2650 1750
+Wire Wire Line
+ 2500 4300 2650 4300
+Connection ~ 2500 3000
+Wire Wire Line
+ 2500 5600 2650 5600
+Connection ~ 2500 4300
+Wire Wire Line
+ 3750 2250 3800 2250
+Wire Wire Line
+ 3800 2250 3800 2550
+Wire Wire Line
+ 3800 2550 2050 2550
+Wire Wire Line
+ 3750 2350 3750 2800
+Wire Wire Line
+ 3750 2800 2050 2800
+Wire Wire Line
+ 3750 3500 3800 3500
+Wire Wire Line
+ 3800 3500 3800 3900
+Wire Wire Line
+ 3800 3900 2100 3900
+Wire Wire Line
+ 3750 3600 3750 4100
+Wire Wire Line
+ 3750 4100 2100 4100
+Wire Wire Line
+ 3750 4800 3800 4800
+Wire Wire Line
+ 3800 4800 3800 5100
+Wire Wire Line
+ 3800 5100 2150 5100
+Wire Wire Line
+ 3750 4900 3750 5300
+Wire Wire Line
+ 3750 5300 2150 5300
+Wire Wire Line
+ 3750 6100 3900 6100
+Wire Wire Line
+ 3900 6100 3900 6450
+Wire Wire Line
+ 3900 6450 2200 6450
+Wire Wire Line
+ 3750 6200 3750 6650
+Wire Wire Line
+ 3750 6650 2200 6650
+Wire Wire Line
+ 7700 5250 8600 5250
+Connection ~ 7700 4800
+Wire Wire Line
+ 8600 5150 8600 5650
+Wire Wire Line
+ 8900 4950 9000 4950
+Wire Wire Line
+ 9000 4950 9000 5000
+Wire Wire Line
+ 9000 5800 9000 5850
+Wire Wire Line
+ 9000 5850 8900 5850
+Wire Wire Line
+ 8900 5350 8900 5450
+Connection ~ 8600 5250
+Wire Wire Line
+ 8900 5400 9550 5400
+Connection ~ 8900 5400
+Wire Wire Line
+ 8950 4950 8950 4850
+Connection ~ 8950 4950
+Wire Wire Line
+ 8950 4850 7500 4850
+Connection ~ 7500 4800
+Wire Wire Line
+ 8950 6700 8950 5850
+Connection ~ 7350 6700
+Connection ~ 8950 5850
+Wire Wire Line
+ 5100 4400 5200 4400
+Wire Wire Line
+ 5100 1550 5100 4400
+Wire Wire Line
+ 5100 3150 5200 3150
+Wire Wire Line
+ 8000 3750 8000 1350
+Wire Wire Line
+ 8000 1350 2050 1350
+Connection ~ 2500 1750
+Wire Wire Line
+ 5100 1550 2050 1550
+Connection ~ 5100 3150
+NoConn ~ 2650 1850
+NoConn ~ 2650 1950
+NoConn ~ 2650 2050
+NoConn ~ 2650 2150
+NoConn ~ 2650 2250
+NoConn ~ 2650 2350
+NoConn ~ 3750 1950
+NoConn ~ 3750 2050
+NoConn ~ 3750 2150
+NoConn ~ 6300 3350
+NoConn ~ 6300 3450
+NoConn ~ 6300 3550
+NoConn ~ 5200 3250
+NoConn ~ 5200 3350
+NoConn ~ 5200 3450
+NoConn ~ 5200 3550
+NoConn ~ 5200 3650
+NoConn ~ 5200 3750
+NoConn ~ 5200 4500
+NoConn ~ 5200 4600
+NoConn ~ 5200 4700
+NoConn ~ 5200 4800
+NoConn ~ 5200 4900
+NoConn ~ 5200 5000
+NoConn ~ 2650 4700
+NoConn ~ 2650 4800
+NoConn ~ 2650 4900
+NoConn ~ 2650 3600
+NoConn ~ 2650 3500
+NoConn ~ 2650 3400
+NoConn ~ 2650 3300
+NoConn ~ 2650 3200
+NoConn ~ 2650 3100
+NoConn ~ 2650 6100
+NoConn ~ 2650 6200
+NoConn ~ 2650 5700
+NoConn ~ 8000 3850
+NoConn ~ 8000 3950
+NoConn ~ 8000 4050
+NoConn ~ 9100 3950
+NoConn ~ 9100 4050
+NoConn ~ 9100 4150
+NoConn ~ 9100 4250
+NoConn ~ 9100 4350
+NoConn ~ 9100 4450
+Wire Wire Line
+ 2650 2450 2550 2450
+Wire Wire Line
+ 2550 2450 2550 6950
+Wire Wire Line
+ 2550 3700 2650 3700
+Wire Wire Line
+ 2550 5000 2650 5000
+Connection ~ 2550 3700
+Wire Wire Line
+ 2550 6300 2650 6300
+Connection ~ 2550 5000
+Connection ~ 4650 6700
+Connection ~ 2550 6300
+Wire Wire Line
+ 5200 3850 5150 3850
+Wire Wire Line
+ 5150 3850 5150 6700
+Wire Wire Line
+ 5150 5100 5200 5100
+Connection ~ 5150 6700
+Connection ~ 5150 5100
+Wire Wire Line
+ 8000 4450 7950 4450
+Wire Wire Line
+ 7950 4450 7950 6700
+Connection ~ 7950 6700
+Wire Wire Line
+ 2550 6950 2200 6950
+Connection ~ 2550 6700
+Wire Wire Line
+ 6300 900 2050 900
+Connection ~ 6300 1750
+$Comp
+L PORT U1
+U 1 1 62BAA683
+P 1850 4100
+F 0 "U1" H 1900 4200 30 0000 C CNN
+F 1 "PORT" H 1850 4100 30 0000 C CNN
+F 2 "" H 1850 4100 60 0000 C CNN
+F 3 "" H 1850 4100 60 0000 C CNN
+ 1 1850 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62BAB5C7
+P 1850 3900
+F 0 "U1" H 1900 4000 30 0000 C CNN
+F 1 "PORT" H 1850 3900 30 0000 C CNN
+F 2 "" H 1850 3900 60 0000 C CNN
+F 3 "" H 1850 3900 60 0000 C CNN
+ 2 1850 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62BAB6FC
+P 1800 2800
+F 0 "U1" H 1850 2900 30 0000 C CNN
+F 1 "PORT" H 1800 2800 30 0000 C CNN
+F 2 "" H 1800 2800 60 0000 C CNN
+F 3 "" H 1800 2800 60 0000 C CNN
+ 3 1800 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62BAB81F
+P 1800 2550
+F 0 "U1" H 1850 2650 30 0000 C CNN
+F 1 "PORT" H 1800 2550 30 0000 C CNN
+F 2 "" H 1800 2550 60 0000 C CNN
+F 3 "" H 1800 2550 60 0000 C CNN
+ 4 1800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62BAB9C0
+P 9800 4800
+F 0 "U1" H 9850 4900 30 0000 C CNN
+F 1 "PORT" H 9800 4800 30 0000 C CNN
+F 2 "" H 9800 4800 60 0000 C CNN
+F 3 "" H 9800 4800 60 0000 C CNN
+ 5 9800 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62BABAEF
+P 9800 5400
+F 0 "U1" H 9850 5500 30 0000 C CNN
+F 1 "PORT" H 9800 5400 30 0000 C CNN
+F 2 "" H 9800 5400 60 0000 C CNN
+F 3 "" H 9800 5400 60 0000 C CNN
+ 6 9800 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62BABD56
+P 1650 1150
+F 0 "U1" H 1700 1250 30 0000 C CNN
+F 1 "PORT" H 1650 1150 30 0000 C CNN
+F 2 "" H 1650 1150 60 0000 C CNN
+F 3 "" H 1650 1150 60 0000 C CNN
+ 7 1650 1150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 1150 1900 1150
+Connection ~ 6700 1850
+$Comp
+L PORT U1
+U 8 1 62BAC0A7
+P 1950 6950
+F 0 "U1" H 2000 7050 30 0000 C CNN
+F 1 "PORT" H 1950 6950 30 0000 C CNN
+F 2 "" H 1950 6950 60 0000 C CNN
+F 3 "" H 1950 6950 60 0000 C CNN
+ 8 1950 6950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62BAC3B0
+P 1800 1350
+F 0 "U1" H 1850 1450 30 0000 C CNN
+F 1 "PORT" H 1800 1350 30 0000 C CNN
+F 2 "" H 1800 1350 60 0000 C CNN
+F 3 "" H 1800 1350 60 0000 C CNN
+ 9 1800 1350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62BAC4A9
+P 1800 1550
+F 0 "U1" H 1850 1650 30 0000 C CNN
+F 1 "PORT" H 1800 1550 30 0000 C CNN
+F 2 "" H 1800 1550 60 0000 C CNN
+F 3 "" H 1800 1550 60 0000 C CNN
+ 10 1800 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62BAC516
+P 1800 1750
+F 0 "U1" H 1850 1850 30 0000 C CNN
+F 1 "PORT" H 1800 1750 30 0000 C CNN
+F 2 "" H 1800 1750 60 0000 C CNN
+F 3 "" H 1800 1750 60 0000 C CNN
+ 11 1800 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62BAC7C5
+P 1950 6650
+F 0 "U1" H 2000 6750 30 0000 C CNN
+F 1 "PORT" H 1950 6650 30 0000 C CNN
+F 2 "" H 1950 6650 60 0000 C CNN
+F 3 "" H 1950 6650 60 0000 C CNN
+ 12 1950 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62BAC8FA
+P 1950 6450
+F 0 "U1" H 2000 6550 30 0000 C CNN
+F 1 "PORT" H 1950 6450 30 0000 C CNN
+F 2 "" H 1950 6450 60 0000 C CNN
+F 3 "" H 1950 6450 60 0000 C CNN
+ 13 1950 6450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62BACA31
+P 1900 5300
+F 0 "U1" H 1950 5400 30 0000 C CNN
+F 1 "PORT" H 1900 5300 30 0000 C CNN
+F 2 "" H 1900 5300 60 0000 C CNN
+F 3 "" H 1900 5300 60 0000 C CNN
+ 14 1900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62BACB72
+P 1900 5100
+F 0 "U1" H 1950 5200 30 0000 C CNN
+F 1 "PORT" H 1900 5100 30 0000 C CNN
+F 2 "" H 1900 5100 60 0000 C CNN
+F 3 "" H 1900 5100 60 0000 C CNN
+ 15 1900 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62BACE4B
+P 1800 900
+F 0 "U1" H 1850 1000 30 0000 C CNN
+F 1 "PORT" H 1800 900 30 0000 C CNN
+F 2 "" H 1800 900 60 0000 C CNN
+F 3 "" H 1800 900 60 0000 C CNN
+ 16 1800 900
+ 1 0 0 -1
+$EndComp
+NoConn ~ 3750 3200
+NoConn ~ 3750 3300
+NoConn ~ 3750 3400
+NoConn ~ 3750 4500
+NoConn ~ 3750 4600
+NoConn ~ 3750 4700
+NoConn ~ 3750 5800
+NoConn ~ 3750 5900
+NoConn ~ 6300 4600
+NoConn ~ 6300 4700
+NoConn ~ 6300 4800
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub
new file mode 100644
index 00000000..22b9bf48
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub
@@ -0,0 +1,30 @@
+* Subcircuit CD54_HC_151
+.subckt CD54_HC_151 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_m13-pad2_ net-_m13-pad1_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc_151\cd54_hc_151.cir
+.include CD54_157.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+x2 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m1-pad2_ net-_u1-pad1_ net-_u1-pad2_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x1 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m4-pad2_ net-_u1-pad3_ net-_u1-pad4_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x3 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m2-pad2_ net-_u1-pad14_ net-_u1-pad15_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x4 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m3-pad2_ net-_u1-pad12_ net-_u1-pad13_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x6 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m10-pad2_ net-_m3-pad1_ net-_m2-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x5 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m11-pad2_ net-_m1-pad1_ net-_m4-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x7 net-_u1-pad9_ ? ? ? net-_m11-pad1_ net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ ? ? ? ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_HC_151 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml
new file mode 100644
index 00000000..df20a2c2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13></devicemodel><subcircuit><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x2><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x1><x3><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x3><x4><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x4><x6><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x6><x5><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x5><x7><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x7></subcircuit></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC_151/README.md b/library/SubcircuitLibrary/CD54_HC_151/README.md
new file mode 100644
index 00000000..cc739100
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/README.md
@@ -0,0 +1,21 @@
+
+# CD54HC151 IC
+
+It is 8:1 Multiplexer IC. CD54151 IC is designed with 180nm CMOS technology in eSim. It is 16 pin IC. The output depends on the select lines.
+## Usage/Examples
+
+Multiplexers
+## Documentation
+
+To know the details of CD54HC151 IC please go through with the documentation : [CD54HC151_datasheet](https://www.ti.com/lit/gpn/cd54hc151)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/analysis b/library/SubcircuitLibrary/CD54_HC_151/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000-cache.lib b/library/SubcircuitLibrary/CD_4000/CD_4000-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000.cir b/library/SubcircuitLibrary/CD_4000/CD_4000.cir
new file mode 100644
index 00000000..22ed56b8
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000.cir
@@ -0,0 +1,25 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4000\CD_4000.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/04/22 11:19:23
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M3 Net-_M3-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M4 Net-_M4-Pad1_ Net-_M2-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad1_ eSim_MOS_P
+M5 Net-_M1-Pad1_ Net-_M5-Pad2_ Net-_M4-Pad1_ Net-_M4-Pad1_ eSim_MOS_P
+M2 Net-_M1-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M1-Pad1_ Net-_M5-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M10-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M12 Net-_M12-Pad1_ Net-_M10-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M13 Net-_M10-Pad1_ Net-_M13-Pad2_ Net-_M12-Pad1_ Net-_M12-Pad1_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M14 Net-_M10-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M8 Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M7 Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad2_ Net-_M2-Pad2_ Net-_M5-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad3_ Net-_M7-Pad2_ Net-_M7-Pad1_ Net-_M10-Pad1_ Net-_M11-Pad2_ Net-_M10-Pad2_ Net-_M13-Pad2_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000.cir.out b/library/SubcircuitLibrary/CD_4000/CD_4000.cir.out
new file mode 100644
index 00000000..b6add1a8
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000.cir.out
@@ -0,0 +1,28 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4000\cd_4000.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m2-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m5-pad2_ net-_m4-pad1_ net-_m4-pad1_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m1-pad1_ net-_m5-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m10-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m10-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m13-pad2_ net-_m12-pad1_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m2-pad2_ net-_m5-pad2_ net-_m1-pad1_ net-_m1-pad3_ net-_m7-pad2_ net-_m7-pad1_ net-_m10-pad1_ net-_m11-pad2_ net-_m10-pad2_ net-_m13-pad2_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000.pro b/library/SubcircuitLibrary/CD_4000/CD_4000.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000.sch b/library/SubcircuitLibrary/CD_4000/CD_4000.sch
new file mode 100644
index 00000000..2f277edb
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000.sch
@@ -0,0 +1,497 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4000-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M3
+U 1 1 62C26ADA
+P 4900 2950
+F 0 "M3" H 4850 3000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4950 3100 50 0000 R CNN
+F 2 "" H 5150 3050 29 0000 C CNN
+F 3 "" H 4950 2950 60 0000 C CNN
+ 1 4900 2950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62C26B01
+P 4350 4250
+F 0 "M1" H 4350 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4450 4200 50 0000 R CNN
+F 2 "" H 4650 3950 29 0000 C CNN
+F 3 "" H 4450 4050 60 0000 C CNN
+ 1 4350 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 62C26B60
+P 4900 3400
+F 0 "M4" H 4850 3450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4950 3550 50 0000 R CNN
+F 2 "" H 5150 3500 29 0000 C CNN
+F 3 "" H 4950 3400 60 0000 C CNN
+ 1 4900 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 62C26B91
+P 4900 3850
+F 0 "M5" H 4850 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4950 4000 50 0000 R CNN
+F 2 "" H 5150 3950 29 0000 C CNN
+F 3 "" H 4950 3850 60 0000 C CNN
+ 1 4900 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62C26BF1
+P 4850 4250
+F 0 "M2" H 4850 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4950 4200 50 0000 R CNN
+F 2 "" H 5150 3950 29 0000 C CNN
+F 3 "" H 4950 4050 60 0000 C CNN
+ 1 4850 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 62C26C28
+P 5650 4250
+F 0 "M6" H 5650 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5750 4200 50 0000 R CNN
+F 2 "" H 5950 3950 29 0000 C CNN
+F 3 "" H 5750 4050 60 0000 C CNN
+ 1 5650 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62C2708C
+P 7750 2950
+F 0 "M11" H 7700 3000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7800 3100 50 0000 R CNN
+F 2 "" H 8000 3050 29 0000 C CNN
+F 3 "" H 7800 2950 60 0000 C CNN
+ 1 7750 2950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62C27092
+P 7200 4250
+F 0 "M9" H 7200 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7300 4200 50 0000 R CNN
+F 2 "" H 7500 3950 29 0000 C CNN
+F 3 "" H 7300 4050 60 0000 C CNN
+ 1 7200 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62C27098
+P 7750 3400
+F 0 "M12" H 7700 3450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7800 3550 50 0000 R CNN
+F 2 "" H 8000 3500 29 0000 C CNN
+F 3 "" H 7800 3400 60 0000 C CNN
+ 1 7750 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62C2709E
+P 7750 3850
+F 0 "M13" H 7700 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7800 4000 50 0000 R CNN
+F 2 "" H 8000 3950 29 0000 C CNN
+F 3 "" H 7800 3850 60 0000 C CNN
+ 1 7750 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62C270A4
+P 7700 4250
+F 0 "M10" H 7700 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7800 4200 50 0000 R CNN
+F 2 "" H 8000 3950 29 0000 C CNN
+F 3 "" H 7800 4050 60 0000 C CNN
+ 1 7700 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 62C270AA
+P 8500 4250
+F 0 "M14" H 8500 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8600 4200 50 0000 R CNN
+F 2 "" H 8800 3950 29 0000 C CNN
+F 3 "" H 8600 4050 60 0000 C CNN
+ 1 8500 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 62C284DF
+P 5950 1650
+F 0 "M8" H 5900 1700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6000 1800 50 0000 R CNN
+F 2 "" H 6200 1750 29 0000 C CNN
+F 3 "" H 6000 1650 60 0000 C CNN
+ 1 5950 1650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 62C2851C
+P 5900 2000
+F 0 "M7" H 5900 1850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6000 1950 50 0000 R CNN
+F 2 "" H 6200 1700 29 0000 C CNN
+F 3 "" H 6000 1800 60 0000 C CNN
+ 1 5900 2000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5050 3150 5050 3200
+Wire Wire Line
+ 5050 3600 5050 3650
+Wire Wire Line
+ 5050 4050 5050 4250
+Wire Wire Line
+ 4550 4250 5450 4250
+Connection ~ 5050 4250
+Wire Wire Line
+ 4550 4650 5450 4650
+Connection ~ 5050 4650
+Wire Wire Line
+ 5150 4600 5150 4650
+Connection ~ 5150 4650
+Wire Wire Line
+ 4650 4600 4650 4650
+Connection ~ 4650 4650
+Wire Wire Line
+ 5350 4600 5350 4650
+Connection ~ 5350 4650
+Wire Wire Line
+ 5150 3250 5150 3200
+Wire Wire Line
+ 5150 3200 5050 3200
+Wire Wire Line
+ 5150 3700 5150 3650
+Wire Wire Line
+ 5150 3650 5050 3650
+Wire Wire Line
+ 5150 2750 5150 2800
+Wire Wire Line
+ 5050 2750 5150 2750
+Wire Wire Line
+ 3900 2950 4750 2950
+Wire Wire Line
+ 4250 2950 4250 4450
+Wire Wire Line
+ 3900 3400 4750 3400
+Wire Wire Line
+ 4700 3400 4700 4450
+Wire Wire Line
+ 4700 4450 4750 4450
+Wire Wire Line
+ 4750 3850 4750 4100
+Wire Wire Line
+ 4750 4100 5750 4100
+Wire Wire Line
+ 5750 4100 5750 4450
+Connection ~ 4250 2950
+Connection ~ 4700 3400
+Wire Wire Line
+ 4750 3850 3900 3850
+Wire Wire Line
+ 5050 4150 6250 4150
+Connection ~ 5050 4150
+Wire Wire Line
+ 7900 3150 7900 3200
+Wire Wire Line
+ 7900 3600 7900 3650
+Wire Wire Line
+ 7900 4050 7900 4250
+Wire Wire Line
+ 7400 4250 8300 4250
+Connection ~ 7900 4250
+Wire Wire Line
+ 7400 4650 8300 4650
+Connection ~ 7900 4650
+Wire Wire Line
+ 8000 4600 8000 4650
+Connection ~ 8000 4650
+Wire Wire Line
+ 7500 4600 7500 4650
+Connection ~ 7500 4650
+Wire Wire Line
+ 8200 4600 8200 4650
+Connection ~ 8200 4650
+Wire Wire Line
+ 8000 3250 8000 3200
+Wire Wire Line
+ 8000 3200 7900 3200
+Wire Wire Line
+ 8000 3700 8000 3650
+Wire Wire Line
+ 8000 3650 7900 3650
+Wire Wire Line
+ 8000 2750 8000 2800
+Wire Wire Line
+ 7900 2750 8000 2750
+Wire Wire Line
+ 6750 2950 7600 2950
+Wire Wire Line
+ 7100 2950 7100 4450
+Wire Wire Line
+ 6750 3400 7600 3400
+Wire Wire Line
+ 7550 3400 7550 4450
+Wire Wire Line
+ 7550 4450 7600 4450
+Wire Wire Line
+ 7600 3850 7600 4100
+Wire Wire Line
+ 7600 4100 8600 4100
+Wire Wire Line
+ 8600 4100 8600 4450
+Connection ~ 7100 2950
+Connection ~ 7550 3400
+Wire Wire Line
+ 7600 3850 6750 3850
+Wire Wire Line
+ 7900 4150 9000 4150
+Connection ~ 7900 4150
+Wire Wire Line
+ 5100 1350 5100 2750
+Wire Wire Line
+ 5100 2700 7950 2700
+Wire Wire Line
+ 7950 2700 7950 2750
+Connection ~ 7950 2750
+Connection ~ 5100 2750
+Wire Wire Line
+ 5050 4650 5050 4750
+Wire Wire Line
+ 5050 4750 7900 4750
+Wire Wire Line
+ 7900 4750 7900 4650
+Wire Wire Line
+ 5800 1650 5800 2200
+Wire Wire Line
+ 6100 1850 6100 2000
+Wire Wire Line
+ 6100 1450 6200 1450
+Wire Wire Line
+ 6200 1450 6200 1500
+Wire Wire Line
+ 6200 2350 6200 2400
+Wire Wire Line
+ 6200 2400 6100 2400
+Wire Wire Line
+ 6100 1900 6950 1900
+Connection ~ 6100 1900
+Wire Wire Line
+ 3900 1900 5800 1900
+Connection ~ 5800 1900
+Wire Wire Line
+ 6150 1350 6150 1450
+Wire Wire Line
+ 3900 1350 6150 1350
+Connection ~ 5100 2700
+Connection ~ 6150 1450
+Wire Wire Line
+ 6100 2400 6100 4900
+Connection ~ 6100 4750
+Wire Wire Line
+ 6100 4900 3900 4900
+Connection ~ 5100 1350
+$Comp
+L PORT U1
+U 3 1 62C2A217
+P 3650 2950
+F 0 "U1" H 3700 3050 30 0000 C CNN
+F 1 "PORT" H 3650 2950 30 0000 C CNN
+F 2 "" H 3650 2950 60 0000 C CNN
+F 3 "" H 3650 2950 60 0000 C CNN
+ 3 3650 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62C2A2A8
+P 3650 3400
+F 0 "U1" H 3700 3500 30 0000 C CNN
+F 1 "PORT" H 3650 3400 30 0000 C CNN
+F 2 "" H 3650 3400 60 0000 C CNN
+F 3 "" H 3650 3400 60 0000 C CNN
+ 4 3650 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62C2A395
+P 3650 3850
+F 0 "U1" H 3700 3950 30 0000 C CNN
+F 1 "PORT" H 3650 3850 30 0000 C CNN
+F 2 "" H 3650 3850 60 0000 C CNN
+F 3 "" H 3650 3850 60 0000 C CNN
+ 5 3650 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62C2A452
+P 6500 4150
+F 0 "U1" H 6550 4250 30 0000 C CNN
+F 1 "PORT" H 6500 4150 30 0000 C CNN
+F 2 "" H 6500 4150 60 0000 C CNN
+F 3 "" H 6500 4150 60 0000 C CNN
+ 6 6500 4150
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62C2A512
+P 3650 4900
+F 0 "U1" H 3700 5000 30 0000 C CNN
+F 1 "PORT" H 3650 4900 30 0000 C CNN
+F 2 "" H 3650 4900 60 0000 C CNN
+F 3 "" H 3650 4900 60 0000 C CNN
+ 7 3650 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62C2A676
+P 3650 1900
+F 0 "U1" H 3700 2000 30 0000 C CNN
+F 1 "PORT" H 3650 1900 30 0000 C CNN
+F 2 "" H 3650 1900 60 0000 C CNN
+F 3 "" H 3650 1900 60 0000 C CNN
+ 8 3650 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62C2A78A
+P 7200 1900
+F 0 "U1" H 7250 2000 30 0000 C CNN
+F 1 "PORT" H 7200 1900 30 0000 C CNN
+F 2 "" H 7200 1900 60 0000 C CNN
+F 3 "" H 7200 1900 60 0000 C CNN
+ 9 7200 1900
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62C2A8A5
+P 9250 4150
+F 0 "U1" H 9300 4250 30 0000 C CNN
+F 1 "PORT" H 9250 4150 30 0000 C CNN
+F 2 "" H 9250 4150 60 0000 C CNN
+F 3 "" H 9250 4150 60 0000 C CNN
+ 10 9250 4150
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62C2A947
+P 6500 2950
+F 0 "U1" H 6550 3050 30 0000 C CNN
+F 1 "PORT" H 6500 2950 30 0000 C CNN
+F 2 "" H 6500 2950 60 0000 C CNN
+F 3 "" H 6500 2950 60 0000 C CNN
+ 11 6500 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62C2A9D8
+P 6500 3400
+F 0 "U1" H 6550 3500 30 0000 C CNN
+F 1 "PORT" H 6500 3400 30 0000 C CNN
+F 2 "" H 6500 3400 60 0000 C CNN
+F 3 "" H 6500 3400 60 0000 C CNN
+ 12 6500 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62C2AA7D
+P 6500 3850
+F 0 "U1" H 6550 3950 30 0000 C CNN
+F 1 "PORT" H 6500 3850 30 0000 C CNN
+F 2 "" H 6500 3850 60 0000 C CNN
+F 3 "" H 6500 3850 60 0000 C CNN
+ 13 6500 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62C2AC1F
+P 3650 1350
+F 0 "U1" H 3700 1450 30 0000 C CNN
+F 1 "PORT" H 3650 1350 30 0000 C CNN
+F 2 "" H 3650 1350 60 0000 C CNN
+F 3 "" H 3650 1350 60 0000 C CNN
+ 14 3650 1350
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000.sub b/library/SubcircuitLibrary/CD_4000/CD_4000.sub
new file mode 100644
index 00000000..15439f70
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000.sub
@@ -0,0 +1,22 @@
+* Subcircuit CD_4000
+.subckt CD_4000 net-_m1-pad2_ net-_m2-pad2_ net-_m5-pad2_ net-_m1-pad1_ net-_m1-pad3_ net-_m7-pad2_ net-_m7-pad1_ net-_m10-pad1_ net-_m11-pad2_ net-_m10-pad2_ net-_m13-pad2_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4000\cd_4000.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m2-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m5-pad2_ net-_m4-pad1_ net-_m4-pad1_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m1-pad1_ net-_m5-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m10-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m10-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m13-pad2_ net-_m12-pad1_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad1_ net-_m7-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4000 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4000/CD_4000_Previous_Values.xml b/library/SubcircuitLibrary/CD_4000/CD_4000_Previous_Values.xml
new file mode 100644
index 00000000..d8fed1b2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/CD_4000_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4000/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4000/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4000/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4000/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4000/README.md b/library/SubcircuitLibrary/CD_4000/README.md
new file mode 100644
index 00000000..f75cfe00
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/README.md
@@ -0,0 +1,25 @@
+
+# CD4000 IC
+
+It is dual 3-input NOR Gate IC. CD4000 IC is designed with 180nm CMOS technology in eSim consisting two NOR Gates and one NOT Gate. When all the inputs are LOW, then only output is HIGH, else LOW for NOR gate and NOT gate inverts the input as output.
+## Usage/Examples
+
+Multiplexer
+
+Crystal oscillator
+
+Phase Locked Loop (PLL)
+## Documentation
+
+To know the details of CD4000 IC please go through with the documentation : [CD4000_datasheet](http://eeshop.unl.edu/pdf/CD4000.pdf)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4000/analysis b/library/SubcircuitLibrary/CD_4000/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4000/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit-cache.lib b/library/SubcircuitLibrary/CD_4008/Adder_2bit-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir b/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir
new file mode 100644
index 00000000..08ebd25f
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir
@@ -0,0 +1,95 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\Adder_2bit\Adder_2bit.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/02/22 13:42:53
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M18 Net-_M18-Pad1_ Net-_M1-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M28 Net-_M18-Pad1_ Net-_M14-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M19 Net-_M19-Pad1_ Net-_M19-Pad2_ Net-_M18-Pad1_ Net-_M18-Pad1_ eSim_MOS_P
+M29 Net-_M19-Pad1_ Net-_M10-Pad2_ Net-_M18-Pad1_ Net-_M18-Pad1_ eSim_MOS_P
+M67 Net-_M64-Pad1_ Net-_M13-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M64 Net-_M64-Pad1_ Net-_M13-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M42 Net-_M19-Pad1_ Net-_M17-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M20 Net-_M20-Pad1_ Net-_M1-Pad2_ Net-_M19-Pad1_ Net-_M19-Pad1_ eSim_MOS_P
+M30 Net-_M20-Pad1_ Net-_M10-Pad2_ Net-_M19-Pad1_ Net-_M19-Pad1_ eSim_MOS_P
+M21 Net-_M13-Pad1_ Net-_M19-Pad2_ Net-_M20-Pad1_ Net-_M20-Pad1_ eSim_MOS_P
+M31 Net-_M13-Pad1_ Net-_M14-Pad2_ Net-_M20-Pad1_ Net-_M20-Pad1_ eSim_MOS_P
+M43 Net-_M13-Pad1_ Net-_M11-Pad2_ Net-_M19-Pad1_ Net-_M19-Pad1_ eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M1-Pad2_ Net-_M13-Pad3_ Net-_M13-Pad3_ eSim_MOS_N
+M14 Net-_M13-Pad3_ Net-_M14-Pad2_ Net-_M14-Pad3_ Net-_M14-Pad3_ eSim_MOS_N
+M24 Net-_M13-Pad1_ Net-_M19-Pad2_ Net-_M24-Pad3_ Net-_M24-Pad3_ eSim_MOS_N
+M25 Net-_M24-Pad3_ Net-_M10-Pad2_ Net-_M14-Pad3_ Net-_M14-Pad3_ eSim_MOS_N
+M17 Net-_M14-Pad3_ Net-_M17-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M35 Net-_M13-Pad1_ Net-_M1-Pad2_ Net-_M35-Pad3_ Net-_M35-Pad3_ eSim_MOS_N
+M36 Net-_M35-Pad3_ Net-_M10-Pad2_ Net-_M36-Pad3_ Net-_M36-Pad3_ eSim_MOS_N
+M49 Net-_M13-Pad1_ Net-_M19-Pad2_ Net-_M49-Pad3_ Net-_M49-Pad3_ eSim_MOS_N
+M50 Net-_M49-Pad3_ Net-_M14-Pad2_ Net-_M36-Pad3_ Net-_M36-Pad3_ eSim_MOS_N
+M41 Net-_M36-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M7 Net-_M19-Pad2_ Net-_M1-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M6 Net-_M19-Pad2_ Net-_M1-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M61 Net-_M14-Pad2_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M63 Net-_M14-Pad2_ Net-_M10-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M58 Net-_M17-Pad2_ Net-_M11-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M59 Net-_M17-Pad2_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M3 Net-_M10-Pad1_ Net-_M1-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M4 Net-_M11-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_P
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_P
+M5 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M12 Net-_M1-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M2 Net-_M1-Pad3_ Net-_M10-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M8 Net-_M1-Pad1_ Net-_M10-Pad2_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M15 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M23 Net-_M22-Pad1_ Net-_M1-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M22 Net-_M22-Pad1_ Net-_M1-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M54 Net-_M54-Pad1_ Net-_M26-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M68 Net-_M54-Pad1_ Net-_M48-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M55 Net-_M55-Pad1_ Net-_M37-Pad1_ Net-_M54-Pad1_ Net-_M54-Pad1_ eSim_MOS_P
+M69 Net-_M55-Pad1_ Net-_M27-Pad2_ Net-_M54-Pad1_ Net-_M54-Pad1_ eSim_MOS_P
+M84 Net-_M83-Pad1_ Net-_M47-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M83 Net-_M83-Pad1_ Net-_M47-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M75 Net-_M55-Pad1_ Net-_M53-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M56 Net-_M56-Pad1_ Net-_M26-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M70 Net-_M56-Pad1_ Net-_M27-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M57 Net-_M47-Pad1_ Net-_M37-Pad1_ Net-_M56-Pad1_ Net-_M56-Pad1_ eSim_MOS_P
+M71 Net-_M47-Pad1_ Net-_M48-Pad2_ Net-_M56-Pad1_ Net-_M56-Pad1_ eSim_MOS_P
+M76 Net-_M47-Pad1_ Net-_M22-Pad1_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M47 Net-_M47-Pad1_ Net-_M26-Pad2_ Net-_M47-Pad3_ Net-_M47-Pad3_ eSim_MOS_N
+M48 Net-_M47-Pad3_ Net-_M48-Pad2_ Net-_M48-Pad3_ Net-_M48-Pad3_ eSim_MOS_N
+M65 Net-_M47-Pad1_ Net-_M37-Pad1_ Net-_M65-Pad3_ Net-_M65-Pad3_ eSim_MOS_N
+M66 Net-_M65-Pad3_ Net-_M27-Pad2_ Net-_M48-Pad3_ Net-_M48-Pad3_ eSim_MOS_N
+M53 Net-_M48-Pad3_ Net-_M53-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M72 Net-_M47-Pad1_ Net-_M26-Pad2_ Net-_M72-Pad3_ Net-_M72-Pad3_ eSim_MOS_N
+M73 Net-_M72-Pad3_ Net-_M27-Pad2_ Net-_M73-Pad3_ Net-_M73-Pad3_ eSim_MOS_N
+M77 Net-_M47-Pad1_ Net-_M37-Pad1_ Net-_M77-Pad3_ Net-_M77-Pad3_ eSim_MOS_N
+M78 Net-_M77-Pad3_ Net-_M48-Pad2_ Net-_M73-Pad3_ Net-_M73-Pad3_ eSim_MOS_N
+M74 Net-_M73-Pad3_ Net-_M22-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M38 Net-_M37-Pad1_ Net-_M26-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M37 Net-_M37-Pad1_ Net-_M26-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M81 Net-_M48-Pad2_ Net-_M27-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M82 Net-_M48-Pad2_ Net-_M27-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M79 Net-_M53-Pad2_ Net-_M22-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M80 Net-_M53-Pad2_ Net-_M22-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M32 Net-_M32-Pad1_ Net-_M26-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M44 Net-_M32-Pad1_ Net-_M27-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M33 Net-_M33-Pad1_ Net-_M27-Pad2_ Net-_M32-Pad1_ Net-_M32-Pad1_ eSim_MOS_P
+M45 Net-_M33-Pad1_ Net-_M22-Pad1_ Net-_M32-Pad1_ Net-_M32-Pad1_ eSim_MOS_P
+M34 Net-_M26-Pad1_ Net-_M26-Pad2_ Net-_M33-Pad1_ Net-_M33-Pad1_ eSim_MOS_P
+M46 Net-_M26-Pad1_ Net-_M22-Pad1_ Net-_M33-Pad1_ Net-_M33-Pad1_ eSim_MOS_P
+M26 Net-_M26-Pad1_ Net-_M26-Pad2_ Net-_M26-Pad3_ Net-_M26-Pad3_ eSim_MOS_N
+M27 Net-_M26-Pad3_ Net-_M27-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M39 Net-_M26-Pad1_ Net-_M27-Pad2_ Net-_M39-Pad3_ Net-_M39-Pad3_ eSim_MOS_N
+M40 Net-_M39-Pad3_ Net-_M22-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M51 Net-_M26-Pad1_ Net-_M26-Pad2_ Net-_M51-Pad3_ Net-_M51-Pad3_ eSim_MOS_N
+M52 Net-_M51-Pad3_ Net-_M22-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M62 Net-_M60-Pad1_ Net-_M26-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M60 Net-_M60-Pad1_ Net-_M26-Pad1_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+U1 Net-_M27-Pad2_ Net-_M26-Pad2_ Net-_M10-Pad2_ Net-_M1-Pad2_ Net-_M16-Pad3_ Net-_M11-Pad2_ Net-_M64-Pad1_ Net-_M83-Pad1_ Net-_M10-Pad3_ Net-_M60-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir.out b/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir.out
new file mode 100644
index 00000000..4779b944
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit.cir.out
@@ -0,0 +1,98 @@
+* c:\fossee\esim\library\subcircuitlibrary\adder_2bit\adder_2bit.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m18 net-_m18-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m28 net-_m18-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m19 net-_m19-pad1_ net-_m19-pad2_ net-_m18-pad1_ net-_m18-pad1_ CMOSP W=100u L=100u M=1
+m29 net-_m19-pad1_ net-_m10-pad2_ net-_m18-pad1_ net-_m18-pad1_ CMOSP W=100u L=100u M=1
+m67 net-_m64-pad1_ net-_m13-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m64 net-_m64-pad1_ net-_m13-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m42 net-_m19-pad1_ net-_m17-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m20 net-_m20-pad1_ net-_m1-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m30 net-_m20-pad1_ net-_m10-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m21 net-_m13-pad1_ net-_m19-pad2_ net-_m20-pad1_ net-_m20-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m13-pad1_ net-_m14-pad2_ net-_m20-pad1_ net-_m20-pad1_ CMOSP W=100u L=100u M=1
+m43 net-_m13-pad1_ net-_m11-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m1-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m14-pad3_ net-_m14-pad3_ CMOSN W=100u L=100u M=1
+m24 net-_m13-pad1_ net-_m19-pad2_ net-_m24-pad3_ net-_m24-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m24-pad3_ net-_m10-pad2_ net-_m14-pad3_ net-_m14-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m14-pad3_ net-_m17-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m35 net-_m13-pad1_ net-_m1-pad2_ net-_m35-pad3_ net-_m35-pad3_ CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ net-_m10-pad2_ net-_m36-pad3_ net-_m36-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m13-pad1_ net-_m19-pad2_ net-_m49-pad3_ net-_m49-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m49-pad3_ net-_m14-pad2_ net-_m36-pad3_ net-_m36-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m36-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m19-pad2_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m19-pad2_ net-_m1-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m61 net-_m14-pad2_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m63 net-_m14-pad2_ net-_m10-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m17-pad2_ net-_m11-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m59 net-_m17-pad2_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m10-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m11-pad1_ net-_m10-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m12 net-_m1-pad1_ net-_m11-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ net-_m10-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m1-pad1_ net-_m10-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m1-pad1_ net-_m1-pad2_ net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m22-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m1-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m54 net-_m54-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m68 net-_m54-pad1_ net-_m48-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m55 net-_m55-pad1_ net-_m37-pad1_ net-_m54-pad1_ net-_m54-pad1_ CMOSP W=100u L=100u M=1
+m69 net-_m55-pad1_ net-_m27-pad2_ net-_m54-pad1_ net-_m54-pad1_ CMOSP W=100u L=100u M=1
+m84 net-_m83-pad1_ net-_m47-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m83 net-_m83-pad1_ net-_m47-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m75 net-_m55-pad1_ net-_m53-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m56 net-_m56-pad1_ net-_m26-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m70 net-_m56-pad1_ net-_m27-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 net-_m47-pad1_ net-_m37-pad1_ net-_m56-pad1_ net-_m56-pad1_ CMOSP W=100u L=100u M=1
+m71 net-_m47-pad1_ net-_m48-pad2_ net-_m56-pad1_ net-_m56-pad1_ CMOSP W=100u L=100u M=1
+m76 net-_m47-pad1_ net-_m22-pad1_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m47 net-_m47-pad1_ net-_m26-pad2_ net-_m47-pad3_ net-_m47-pad3_ CMOSN W=100u L=100u M=1
+m48 net-_m47-pad3_ net-_m48-pad2_ net-_m48-pad3_ net-_m48-pad3_ CMOSN W=100u L=100u M=1
+m65 net-_m47-pad1_ net-_m37-pad1_ net-_m65-pad3_ net-_m65-pad3_ CMOSN W=100u L=100u M=1
+m66 net-_m65-pad3_ net-_m27-pad2_ net-_m48-pad3_ net-_m48-pad3_ CMOSN W=100u L=100u M=1
+m53 net-_m48-pad3_ net-_m53-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m72 net-_m47-pad1_ net-_m26-pad2_ net-_m72-pad3_ net-_m72-pad3_ CMOSN W=100u L=100u M=1
+m73 net-_m72-pad3_ net-_m27-pad2_ net-_m73-pad3_ net-_m73-pad3_ CMOSN W=100u L=100u M=1
+m77 net-_m47-pad1_ net-_m37-pad1_ net-_m77-pad3_ net-_m77-pad3_ CMOSN W=100u L=100u M=1
+m78 net-_m77-pad3_ net-_m48-pad2_ net-_m73-pad3_ net-_m73-pad3_ CMOSN W=100u L=100u M=1
+m74 net-_m73-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m38 net-_m37-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m37 net-_m37-pad1_ net-_m26-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m81 net-_m48-pad2_ net-_m27-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m82 net-_m48-pad2_ net-_m27-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m79 net-_m53-pad2_ net-_m22-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m80 net-_m53-pad2_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m32 net-_m32-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m44 net-_m32-pad1_ net-_m27-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m27-pad2_ net-_m32-pad1_ net-_m32-pad1_ CMOSP W=100u L=100u M=1
+m45 net-_m33-pad1_ net-_m22-pad1_ net-_m32-pad1_ net-_m32-pad1_ CMOSP W=100u L=100u M=1
+m34 net-_m26-pad1_ net-_m26-pad2_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m46 net-_m26-pad1_ net-_m22-pad1_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m26 net-_m26-pad1_ net-_m26-pad2_ net-_m26-pad3_ net-_m26-pad3_ CMOSN W=100u L=100u M=1
+m27 net-_m26-pad3_ net-_m27-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m26-pad1_ net-_m27-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m51 net-_m26-pad1_ net-_m26-pad2_ net-_m51-pad3_ net-_m51-pad3_ CMOSN W=100u L=100u M=1
+m52 net-_m51-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m62 net-_m60-pad1_ net-_m26-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m60 net-_m60-pad1_ net-_m26-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m27-pad2_ net-_m26-pad2_ net-_m10-pad2_ net-_m1-pad2_ net-_m16-pad3_ net-_m11-pad2_ net-_m64-pad1_ net-_m83-pad1_ net-_m10-pad3_ net-_m60-pad1_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit.pro b/library/SubcircuitLibrary/CD_4008/Adder_2bit.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit.sch b/library/SubcircuitLibrary/CD_4008/Adder_2bit.sch
new file mode 100644
index 00000000..4f7e97e3
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit.sch
@@ -0,0 +1,2101 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4008_Adder-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M18
+U 1 1 62986DF2
+P -8800 -3350
+F 0 "M18" H -8850 -3300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8750 -3200 50 0000 R CNN
+F 2 "" H -8550 -3250 29 0000 C CNN
+F 3 "" H -8750 -3350 60 0000 C CNN
+ 1 -8800 -3350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M28
+U 1 1 62986DF3
+P -8100 -3350
+F 0 "M28" H -8150 -3300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8050 -3200 50 0000 R CNN
+F 2 "" H -7850 -3250 29 0000 C CNN
+F 3 "" H -8050 -3350 60 0000 C CNN
+ 1 -8100 -3350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 62986DF4
+P -8800 -2850
+F 0 "M19" H -8850 -2800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8750 -2700 50 0000 R CNN
+F 2 "" H -8550 -2750 29 0000 C CNN
+F 3 "" H -8750 -2850 60 0000 C CNN
+ 1 -8800 -2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 62986DF5
+P -8100 -2850
+F 0 "M29" H -8150 -2800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8050 -2700 50 0000 R CNN
+F 2 "" H -7850 -2750 29 0000 C CNN
+F 3 "" H -8050 -2850 60 0000 C CNN
+ 1 -8100 -2850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M67
+U 1 1 62986DF6
+P -6150 -1850
+F 0 "M67" H -6200 -1800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6100 -1700 50 0000 R CNN
+F 2 "" H -5900 -1750 29 0000 C CNN
+F 3 "" H -6100 -1850 60 0000 C CNN
+ 1 -6150 -1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M64
+U 1 1 62986DF7
+P -6200 -1550
+F 0 "M64" H -6200 -1700 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6100 -1600 50 0000 R CNN
+F 2 "" H -5900 -1850 29 0000 C CNN
+F 3 "" H -6100 -1750 60 0000 C CNN
+ 1 -6200 -1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 62986DF8
+P -7350 -3150
+F 0 "M42" H -7400 -3100 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7300 -3000 50 0000 R CNN
+F 2 "" H -7100 -3050 29 0000 C CNN
+F 3 "" H -7300 -3150 60 0000 C CNN
+ 1 -7350 -3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M20
+U 1 1 62986DF9
+P -8800 -2350
+F 0 "M20" H -8850 -2300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8750 -2200 50 0000 R CNN
+F 2 "" H -8550 -2250 29 0000 C CNN
+F 3 "" H -8750 -2350 60 0000 C CNN
+ 1 -8800 -2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M30
+U 1 1 62986DFA
+P -8100 -2350
+F 0 "M30" H -8150 -2300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8050 -2200 50 0000 R CNN
+F 2 "" H -7850 -2250 29 0000 C CNN
+F 3 "" H -8050 -2350 60 0000 C CNN
+ 1 -8100 -2350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M21
+U 1 1 62986DFB
+P -8800 -1850
+F 0 "M21" H -8850 -1800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8750 -1700 50 0000 R CNN
+F 2 "" H -8550 -1750 29 0000 C CNN
+F 3 "" H -8750 -1850 60 0000 C CNN
+ 1 -8800 -1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M31
+U 1 1 62986DFC
+P -8100 -1850
+F 0 "M31" H -8150 -1800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8050 -1700 50 0000 R CNN
+F 2 "" H -7850 -1750 29 0000 C CNN
+F 3 "" H -8050 -1850 60 0000 C CNN
+ 1 -8100 -1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 62986DFD
+P -7350 -2150
+F 0 "M43" H -7400 -2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7300 -2000 50 0000 R CNN
+F 2 "" H -7100 -2050 29 0000 C CNN
+F 3 "" H -7300 -2150 60 0000 C CNN
+ 1 -7350 -2150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 62986DFE
+P -9250 -1500
+F 0 "M13" H -9250 -1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9150 -1550 50 0000 R CNN
+F 2 "" H -8950 -1800 29 0000 C CNN
+F 3 "" H -9150 -1700 60 0000 C CNN
+ 1 -9250 -1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 62986DFF
+P -9250 -1050
+F 0 "M14" H -9250 -1200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9150 -1100 50 0000 R CNN
+F 2 "" H -8950 -1350 29 0000 C CNN
+F 3 "" H -9150 -1250 60 0000 C CNN
+ 1 -9250 -1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M24
+U 1 1 62986E00
+P -8400 -1500
+F 0 "M24" H -8400 -1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8300 -1550 50 0000 R CNN
+F 2 "" H -8100 -1800 29 0000 C CNN
+F 3 "" H -8300 -1700 60 0000 C CNN
+ 1 -8400 -1500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M25
+U 1 1 62986E01
+P -8400 -1050
+F 0 "M25" H -8400 -1200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8300 -1100 50 0000 R CNN
+F 2 "" H -8100 -1350 29 0000 C CNN
+F 3 "" H -8300 -1250 60 0000 C CNN
+ 1 -8400 -1050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62986E02
+P -9000 -600
+F 0 "M17" H -9000 -750 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8900 -650 50 0000 R CNN
+F 2 "" H -8700 -900 29 0000 C CNN
+F 3 "" H -8900 -800 60 0000 C CNN
+ 1 -9000 -600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M35
+U 1 1 62986E03
+P -7750 -1500
+F 0 "M35" H -7750 -1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7650 -1550 50 0000 R CNN
+F 2 "" H -7450 -1800 29 0000 C CNN
+F 3 "" H -7650 -1700 60 0000 C CNN
+ 1 -7750 -1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 62986E04
+P -7750 -1050
+F 0 "M36" H -7750 -1200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7650 -1100 50 0000 R CNN
+F 2 "" H -7450 -1350 29 0000 C CNN
+F 3 "" H -7650 -1250 60 0000 C CNN
+ 1 -7750 -1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M49
+U 1 1 62986E05
+P -6900 -1500
+F 0 "M49" H -6900 -1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6800 -1550 50 0000 R CNN
+F 2 "" H -6600 -1800 29 0000 C CNN
+F 3 "" H -6800 -1700 60 0000 C CNN
+ 1 -6900 -1500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M50
+U 1 1 62986E06
+P -6900 -1050
+F 0 "M50" H -6900 -1200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6800 -1100 50 0000 R CNN
+F 2 "" H -6600 -1350 29 0000 C CNN
+F 3 "" H -6800 -1250 60 0000 C CNN
+ 1 -6900 -1050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62986E07
+P -7500 -600
+F 0 "M41" H -7500 -750 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7400 -650 50 0000 R CNN
+F 2 "" H -7200 -900 29 0000 C CNN
+F 3 "" H -7400 -800 60 0000 C CNN
+ 1 -7500 -600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62986E08
+P -9900 -3350
+F 0 "M7" H -9950 -3300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -9850 -3200 50 0000 R CNN
+F 2 "" H -9650 -3250 29 0000 C CNN
+F 3 "" H -9850 -3350 60 0000 C CNN
+ 1 -9900 -3350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 62986E09
+P -9950 -3050
+F 0 "M6" H -9950 -3200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9850 -3100 50 0000 R CNN
+F 2 "" H -9650 -3350 29 0000 C CNN
+F 3 "" H -9850 -3250 60 0000 C CNN
+ 1 -9950 -3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 62986E0A
+P -6250 -3350
+F 0 "M61" H -6300 -3300 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6200 -3200 50 0000 R CNN
+F 2 "" H -6000 -3250 29 0000 C CNN
+F 3 "" H -6200 -3350 60 0000 C CNN
+ 1 -6250 -3350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M63
+U 1 1 62986E0B
+P -6200 -3050
+F 0 "M63" H -6200 -3200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6100 -3100 50 0000 R CNN
+F 2 "" H -5900 -3350 29 0000 C CNN
+F 3 "" H -6100 -3250 60 0000 C CNN
+ 1 -6200 -3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M58
+U 1 1 62986E0C
+P -6550 -2400
+F 0 "M58" H -6600 -2350 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6500 -2250 50 0000 R CNN
+F 2 "" H -6300 -2300 29 0000 C CNN
+F 3 "" H -6500 -2400 60 0000 C CNN
+ 1 -6550 -2400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 62986E0D
+P -6500 -2100
+F 0 "M59" H -6500 -2250 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6400 -2150 50 0000 R CNN
+F 2 "" H -6200 -2400 29 0000 C CNN
+F 3 "" H -6400 -2300 60 0000 C CNN
+ 1 -6500 -2100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 62986E13
+P -10100 600
+F 0 "M3" H -10150 650 50 0000 R CNN
+F 1 "eSim_MOS_P" H -10050 750 50 0000 R CNN
+F 2 "" H -9850 700 29 0000 C CNN
+F 3 "" H -10050 600 60 0000 C CNN
+ 1 -10100 600
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M10
+U 1 1 62986E14
+P -9400 600
+F 0 "M10" H -9450 650 50 0000 R CNN
+F 1 "eSim_MOS_P" H -9350 750 50 0000 R CNN
+F 2 "" H -9150 700 29 0000 C CNN
+F 3 "" H -9350 600 60 0000 C CNN
+ 1 -9400 600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 62986E15
+P -10100 1050
+F 0 "M4" H -10150 1100 50 0000 R CNN
+F 1 "eSim_MOS_P" H -10050 1200 50 0000 R CNN
+F 2 "" H -9850 1150 29 0000 C CNN
+F 3 "" H -10050 1050 60 0000 C CNN
+ 1 -10100 1050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62986E16
+P -9400 1050
+F 0 "M11" H -9450 1100 50 0000 R CNN
+F 1 "eSim_MOS_P" H -9350 1200 50 0000 R CNN
+F 2 "" H -9150 1150 29 0000 C CNN
+F 3 "" H -9350 1050 60 0000 C CNN
+ 1 -9400 1050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 62986E17
+P -10100 1500
+F 0 "M5" H -10150 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -10050 1650 50 0000 R CNN
+F 2 "" H -9850 1600 29 0000 C CNN
+F 3 "" H -10050 1500 60 0000 C CNN
+ 1 -10100 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62986E18
+P -9400 1500
+F 0 "M12" H -9450 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -9350 1650 50 0000 R CNN
+F 2 "" H -9150 1600 29 0000 C CNN
+F 3 "" H -9350 1500 60 0000 C CNN
+ 1 -9400 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62986E19
+P -10400 1800
+F 0 "M1" H -10400 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -10300 1750 50 0000 R CNN
+F 2 "" H -10100 1500 29 0000 C CNN
+F 3 "" H -10300 1600 60 0000 C CNN
+ 1 -10400 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62986E1A
+P -10400 2250
+F 0 "M2" H -10400 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -10300 2200 50 0000 R CNN
+F 2 "" H -10100 1950 29 0000 C CNN
+F 3 "" H -10300 2050 60 0000 C CNN
+ 1 -10400 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62986E1B
+P -9850 1800
+F 0 "M8" H -9850 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9750 1750 50 0000 R CNN
+F 2 "" H -9550 1500 29 0000 C CNN
+F 3 "" H -9750 1600 60 0000 C CNN
+ 1 -9850 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62986E1C
+P -9850 2250
+F 0 "M9" H -9850 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9750 2200 50 0000 R CNN
+F 2 "" H -9550 1950 29 0000 C CNN
+F 3 "" H -9750 2050 60 0000 C CNN
+ 1 -9850 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 62986E1D
+P -9100 1800
+F 0 "M15" H -9100 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9000 1750 50 0000 R CNN
+F 2 "" H -8800 1500 29 0000 C CNN
+F 3 "" H -9000 1600 60 0000 C CNN
+ 1 -9100 1800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 62986E1E
+P -9100 2250
+F 0 "M16" H -9100 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -9000 2200 50 0000 R CNN
+F 2 "" H -8800 1950 29 0000 C CNN
+F 3 "" H -9000 2050 60 0000 C CNN
+ 1 -9100 2250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 62986E1F
+P -8450 1450
+F 0 "M23" H -8500 1500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -8400 1600 50 0000 R CNN
+F 2 "" H -8200 1550 29 0000 C CNN
+F 3 "" H -8400 1450 60 0000 C CNN
+ 1 -8450 1450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62986E20
+P -8500 1750
+F 0 "M22" H -8500 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8400 1700 50 0000 R CNN
+F 2 "" H -8200 1450 29 0000 C CNN
+F 3 "" H -8400 1550 60 0000 C CNN
+ 1 -8500 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M54
+U 1 1 62986E21
+P -6600 4950
+F 0 "M54" H -6650 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6550 5100 50 0000 R CNN
+F 2 "" H -6350 5050 29 0000 C CNN
+F 3 "" H -6550 4950 60 0000 C CNN
+ 1 -6600 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M68
+U 1 1 62986E22
+P -5900 4950
+F 0 "M68" H -5950 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5850 5100 50 0000 R CNN
+F 2 "" H -5650 5050 29 0000 C CNN
+F 3 "" H -5850 4950 60 0000 C CNN
+ 1 -5900 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M55
+U 1 1 62986E23
+P -6600 5450
+F 0 "M55" H -6650 5500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6550 5600 50 0000 R CNN
+F 2 "" H -6350 5550 29 0000 C CNN
+F 3 "" H -6550 5450 60 0000 C CNN
+ 1 -6600 5450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M69
+U 1 1 62986E24
+P -5900 5450
+F 0 "M69" H -5950 5500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5850 5600 50 0000 R CNN
+F 2 "" H -5650 5550 29 0000 C CNN
+F 3 "" H -5850 5450 60 0000 C CNN
+ 1 -5900 5450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M84
+U 1 1 62986E25
+P -3950 6450
+F 0 "M84" H -4000 6500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3900 6600 50 0000 R CNN
+F 2 "" H -3700 6550 29 0000 C CNN
+F 3 "" H -3900 6450 60 0000 C CNN
+ 1 -3950 6450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M83
+U 1 1 62986E26
+P -4000 6750
+F 0 "M83" H -4000 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3900 6700 50 0000 R CNN
+F 2 "" H -3700 6450 29 0000 C CNN
+F 3 "" H -3900 6550 60 0000 C CNN
+ 1 -4000 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M75
+U 1 1 62986E27
+P -5150 5150
+F 0 "M75" H -5200 5200 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5100 5300 50 0000 R CNN
+F 2 "" H -4900 5250 29 0000 C CNN
+F 3 "" H -5100 5150 60 0000 C CNN
+ 1 -5150 5150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 62986E28
+P -6600 5950
+F 0 "M56" H -6650 6000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6550 6100 50 0000 R CNN
+F 2 "" H -6350 6050 29 0000 C CNN
+F 3 "" H -6550 5950 60 0000 C CNN
+ 1 -6600 5950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M70
+U 1 1 62986E29
+P -5900 5950
+F 0 "M70" H -5950 6000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5850 6100 50 0000 R CNN
+F 2 "" H -5650 6050 29 0000 C CNN
+F 3 "" H -5850 5950 60 0000 C CNN
+ 1 -5900 5950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M57
+U 1 1 62986E2A
+P -6600 6450
+F 0 "M57" H -6650 6500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6550 6600 50 0000 R CNN
+F 2 "" H -6350 6550 29 0000 C CNN
+F 3 "" H -6550 6450 60 0000 C CNN
+ 1 -6600 6450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M71
+U 1 1 62986E2B
+P -5900 6450
+F 0 "M71" H -5950 6500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5850 6600 50 0000 R CNN
+F 2 "" H -5650 6550 29 0000 C CNN
+F 3 "" H -5850 6450 60 0000 C CNN
+ 1 -5900 6450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M76
+U 1 1 62986E2C
+P -5150 6150
+F 0 "M76" H -5200 6200 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5100 6300 50 0000 R CNN
+F 2 "" H -4900 6250 29 0000 C CNN
+F 3 "" H -5100 6150 60 0000 C CNN
+ 1 -5150 6150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M47
+U 1 1 62986E2D
+P -7050 6800
+F 0 "M47" H -7050 6650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6950 6750 50 0000 R CNN
+F 2 "" H -6750 6500 29 0000 C CNN
+F 3 "" H -6950 6600 60 0000 C CNN
+ 1 -7050 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M48
+U 1 1 62986E2E
+P -7050 7250
+F 0 "M48" H -7050 7100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6950 7200 50 0000 R CNN
+F 2 "" H -6750 6950 29 0000 C CNN
+F 3 "" H -6950 7050 60 0000 C CNN
+ 1 -7050 7250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M65
+U 1 1 62986E2F
+P -6200 6800
+F 0 "M65" H -6200 6650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6100 6750 50 0000 R CNN
+F 2 "" H -5900 6500 29 0000 C CNN
+F 3 "" H -6100 6600 60 0000 C CNN
+ 1 -6200 6800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M66
+U 1 1 62986E30
+P -6200 7250
+F 0 "M66" H -6200 7100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6100 7200 50 0000 R CNN
+F 2 "" H -5900 6950 29 0000 C CNN
+F 3 "" H -6100 7050 60 0000 C CNN
+ 1 -6200 7250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M53
+U 1 1 62986E31
+P -6800 7700
+F 0 "M53" H -6800 7550 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6700 7650 50 0000 R CNN
+F 2 "" H -6500 7400 29 0000 C CNN
+F 3 "" H -6700 7500 60 0000 C CNN
+ 1 -6800 7700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M72
+U 1 1 62986E32
+P -5550 6800
+F 0 "M72" H -5550 6650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5450 6750 50 0000 R CNN
+F 2 "" H -5250 6500 29 0000 C CNN
+F 3 "" H -5450 6600 60 0000 C CNN
+ 1 -5550 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M73
+U 1 1 62986E33
+P -5550 7250
+F 0 "M73" H -5550 7100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5450 7200 50 0000 R CNN
+F 2 "" H -5250 6950 29 0000 C CNN
+F 3 "" H -5450 7050 60 0000 C CNN
+ 1 -5550 7250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M77
+U 1 1 62986E34
+P -4700 6800
+F 0 "M77" H -4700 6650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4600 6750 50 0000 R CNN
+F 2 "" H -4400 6500 29 0000 C CNN
+F 3 "" H -4600 6600 60 0000 C CNN
+ 1 -4700 6800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M78
+U 1 1 62986E35
+P -4700 7250
+F 0 "M78" H -4700 7100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4600 7200 50 0000 R CNN
+F 2 "" H -4400 6950 29 0000 C CNN
+F 3 "" H -4600 7050 60 0000 C CNN
+ 1 -4700 7250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M74
+U 1 1 62986E36
+P -5300 7700
+F 0 "M74" H -5300 7550 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5200 7650 50 0000 R CNN
+F 2 "" H -5000 7400 29 0000 C CNN
+F 3 "" H -5200 7500 60 0000 C CNN
+ 1 -5300 7700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62986E37
+P -7700 4950
+F 0 "M38" H -7750 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7650 5100 50 0000 R CNN
+F 2 "" H -7450 5050 29 0000 C CNN
+F 3 "" H -7650 4950 60 0000 C CNN
+ 1 -7700 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M37
+U 1 1 62986E38
+P -7750 5250
+F 0 "M37" H -7750 5100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7650 5200 50 0000 R CNN
+F 2 "" H -7450 4950 29 0000 C CNN
+F 3 "" H -7650 5050 60 0000 C CNN
+ 1 -7750 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M81
+U 1 1 62986E39
+P -4050 4950
+F 0 "M81" H -4100 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4000 5100 50 0000 R CNN
+F 2 "" H -3800 5050 29 0000 C CNN
+F 3 "" H -4000 4950 60 0000 C CNN
+ 1 -4050 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M82
+U 1 1 62986E3A
+P -4000 5250
+F 0 "M82" H -4000 5100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3900 5200 50 0000 R CNN
+F 2 "" H -3700 4950 29 0000 C CNN
+F 3 "" H -3900 5050 60 0000 C CNN
+ 1 -4000 5250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M79
+U 1 1 62986E3B
+P -4350 5900
+F 0 "M79" H -4400 5950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 6050 50 0000 R CNN
+F 2 "" H -4100 6000 29 0000 C CNN
+F 3 "" H -4300 5900 60 0000 C CNN
+ 1 -4350 5900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M80
+U 1 1 62986E3C
+P -4300 6200
+F 0 "M80" H -4300 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4200 6150 50 0000 R CNN
+F 2 "" H -4000 5900 29 0000 C CNN
+F 3 "" H -4200 6000 60 0000 C CNN
+ 1 -4300 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M32
+U 1 1 62986E40
+P -7900 8900
+F 0 "M32" H -7950 8950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7850 9050 50 0000 R CNN
+F 2 "" H -7650 9000 29 0000 C CNN
+F 3 "" H -7850 8900 60 0000 C CNN
+ 1 -7900 8900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M44
+U 1 1 62986E41
+P -7200 8900
+F 0 "M44" H -7250 8950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7150 9050 50 0000 R CNN
+F 2 "" H -6950 9000 29 0000 C CNN
+F 3 "" H -7150 8900 60 0000 C CNN
+ 1 -7200 8900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M33
+U 1 1 62986E42
+P -7900 9350
+F 0 "M33" H -7950 9400 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7850 9500 50 0000 R CNN
+F 2 "" H -7650 9450 29 0000 C CNN
+F 3 "" H -7850 9350 60 0000 C CNN
+ 1 -7900 9350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M45
+U 1 1 62986E43
+P -7200 9350
+F 0 "M45" H -7250 9400 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7150 9500 50 0000 R CNN
+F 2 "" H -6950 9450 29 0000 C CNN
+F 3 "" H -7150 9350 60 0000 C CNN
+ 1 -7200 9350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M34
+U 1 1 62986E44
+P -7900 9800
+F 0 "M34" H -7950 9850 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7850 9950 50 0000 R CNN
+F 2 "" H -7650 9900 29 0000 C CNN
+F 3 "" H -7850 9800 60 0000 C CNN
+ 1 -7900 9800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M46
+U 1 1 62986E45
+P -7200 9800
+F 0 "M46" H -7250 9850 50 0000 R CNN
+F 1 "eSim_MOS_P" H -7150 9950 50 0000 R CNN
+F 2 "" H -6950 9900 29 0000 C CNN
+F 3 "" H -7150 9800 60 0000 C CNN
+ 1 -7200 9800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62986E46
+P -8200 10100
+F 0 "M26" H -8200 9950 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8100 10050 50 0000 R CNN
+F 2 "" H -7900 9800 29 0000 C CNN
+F 3 "" H -8100 9900 60 0000 C CNN
+ 1 -8200 10100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M27
+U 1 1 62986E47
+P -8200 10550
+F 0 "M27" H -8200 10400 50 0000 R CNN
+F 1 "eSim_MOS_N" H -8100 10500 50 0000 R CNN
+F 2 "" H -7900 10250 29 0000 C CNN
+F 3 "" H -8100 10350 60 0000 C CNN
+ 1 -8200 10550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 62986E48
+P -7650 10100
+F 0 "M39" H -7650 9950 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7550 10050 50 0000 R CNN
+F 2 "" H -7350 9800 29 0000 C CNN
+F 3 "" H -7550 9900 60 0000 C CNN
+ 1 -7650 10100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M40
+U 1 1 62986E49
+P -7650 10550
+F 0 "M40" H -7650 10400 50 0000 R CNN
+F 1 "eSim_MOS_N" H -7550 10500 50 0000 R CNN
+F 2 "" H -7350 10250 29 0000 C CNN
+F 3 "" H -7550 10350 60 0000 C CNN
+ 1 -7650 10550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M51
+U 1 1 62986E4A
+P -6900 10100
+F 0 "M51" H -6900 9950 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6800 10050 50 0000 R CNN
+F 2 "" H -6600 9800 29 0000 C CNN
+F 3 "" H -6800 9900 60 0000 C CNN
+ 1 -6900 10100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M52
+U 1 1 62986E4B
+P -6900 10550
+F 0 "M52" H -6900 10400 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6800 10500 50 0000 R CNN
+F 2 "" H -6600 10250 29 0000 C CNN
+F 3 "" H -6800 10350 60 0000 C CNN
+ 1 -6900 10550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M62
+U 1 1 62986E4C
+P -6250 9750
+F 0 "M62" H -6300 9800 50 0000 R CNN
+F 1 "eSim_MOS_P" H -6200 9900 50 0000 R CNN
+F 2 "" H -6000 9850 29 0000 C CNN
+F 3 "" H -6200 9750 60 0000 C CNN
+ 1 -6250 9750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M60
+U 1 1 62986E4D
+P -6300 10050
+F 0 "M60" H -6300 9900 50 0000 R CNN
+F 1 "eSim_MOS_N" H -6200 10000 50 0000 R CNN
+F 2 "" H -6000 9750 29 0000 C CNN
+F 3 "" H -6200 9850 60 0000 C CNN
+ 1 -6300 10050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -9750 -3550 -5950 -3550
+Wire Wire Line
+ -5900 -2050 -5900 -2000
+Wire Wire Line
+ -6000 -2050 -5900 -2050
+Wire Wire Line
+ -6000 -1650 -6000 -1550
+Wire Wire Line
+ -5900 -1150 -5900 -1200
+Wire Wire Line
+ -6000 -1150 -5900 -1150
+Wire Wire Line
+ -8550 -3950 -8550 -3500
+Connection ~ -8550 -3550
+Wire Wire Line
+ -8350 -3500 -8350 -3550
+Connection ~ -8350 -3550
+Wire Wire Line
+ -8550 -3000 -8550 -3050
+Wire Wire Line
+ -8650 -3050 -8250 -3050
+Wire Wire Line
+ -8350 -3050 -8350 -3000
+Wire Wire Line
+ -8650 -2650 -7500 -2650
+Wire Wire Line
+ -7500 -2650 -7500 -2950
+Connection ~ -8250 -2650
+Wire Wire Line
+ -7600 -3300 -7600 -3350
+Wire Wire Line
+ -7600 -3350 -7500 -3350
+Wire Wire Line
+ -7500 -3350 -7500 -3550
+Connection ~ -8250 -3550
+Wire Wire Line
+ -8650 -2550 -7500 -2550
+Wire Wire Line
+ -8550 -2500 -8550 -2550
+Connection ~ -8550 -2550
+Wire Wire Line
+ -8350 -2500 -8350 -2550
+Connection ~ -8350 -2550
+Wire Wire Line
+ -8550 -2000 -8550 -2050
+Wire Wire Line
+ -8650 -2050 -8250 -2050
+Wire Wire Line
+ -8350 -2050 -8350 -2000
+Wire Wire Line
+ -8650 -1650 -7500 -1650
+Wire Wire Line
+ -7500 -1650 -7500 -1950
+Connection ~ -8250 -1650
+Wire Wire Line
+ -7600 -2300 -7600 -2350
+Wire Wire Line
+ -7600 -2350 -7500 -2350
+Wire Wire Line
+ -7500 -2350 -7500 -2550
+Connection ~ -8250 -2550
+Wire Wire Line
+ -9050 -1100 -9050 -1050
+Wire Wire Line
+ -9050 -1500 -7100 -1500
+Wire Wire Line
+ -9050 -650 -8600 -650
+Wire Wire Line
+ -8950 -1150 -8950 -1100
+Wire Wire Line
+ -8950 -1100 -9050 -1100
+Wire Wire Line
+ -8650 -3150 -8250 -3150
+Connection ~ -8350 -3050
+Connection ~ -8550 -3050
+Wire Wire Line
+ -8450 -3150 -8450 -3050
+Connection ~ -8450 -3050
+Connection ~ -8450 -3150
+Wire Wire Line
+ -8650 -2150 -8250 -2150
+Connection ~ -8350 -2050
+Connection ~ -8550 -2050
+Wire Wire Line
+ -8450 -2150 -8450 -2050
+Connection ~ -8450 -2050
+Connection ~ -8450 -2150
+Wire Wire Line
+ -8450 -2650 -8450 -2550
+Connection ~ -8450 -2550
+Connection ~ -8450 -2650
+Wire Wire Line
+ -8600 -1100 -8600 -1050
+Wire Wire Line
+ -8700 -1150 -8700 -1100
+Wire Wire Line
+ -8700 -1100 -8600 -1100
+Wire Wire Line
+ -8950 -700 -8950 -650
+Connection ~ -8950 -650
+Wire Wire Line
+ -8700 -700 -8700 -650
+Connection ~ -8700 -650
+Wire Wire Line
+ -8800 -600 -8800 -650
+Connection ~ -8800 -650
+Wire Wire Line
+ -8700 -200 -8700 -250
+Wire Wire Line
+ -9700 -200 -5950 -200
+Wire Wire Line
+ -7550 -1100 -7550 -1050
+Wire Wire Line
+ -7550 -650 -7100 -650
+Wire Wire Line
+ -7450 -1150 -7450 -1100
+Wire Wire Line
+ -7450 -1100 -7550 -1100
+Wire Wire Line
+ -7100 -1100 -7100 -1050
+Wire Wire Line
+ -7200 -1150 -7200 -1100
+Wire Wire Line
+ -7200 -1100 -7100 -1100
+Wire Wire Line
+ -7450 -700 -7450 -650
+Connection ~ -7450 -650
+Wire Wire Line
+ -7200 -700 -7200 -650
+Connection ~ -7200 -650
+Wire Wire Line
+ -7300 -600 -7300 -650
+Connection ~ -7300 -650
+Wire Wire Line
+ -7200 -200 -7200 -250
+Connection ~ -7550 -1500
+Connection ~ -8600 -1500
+Connection ~ -7300 -200
+Connection ~ -8700 -200
+Wire Wire Line
+ -8150 -1650 -8150 -1500
+Connection ~ -8150 -1500
+Connection ~ -8150 -1650
+Wire Wire Line
+ -6300 -1850 -6300 -1350
+Wire Wire Line
+ -8150 -1550 -6300 -1550
+Connection ~ -6300 -1550
+Connection ~ -8150 -1550
+Wire Wire Line
+ -6000 -1550 -5450 -1550
+Wire Wire Line
+ -9650 -3500 -9650 -3550
+Wire Wire Line
+ -9750 -3150 -9750 -3050
+Wire Wire Line
+ -9650 -2650 -9650 -2700
+Wire Wire Line
+ -9750 -2650 -9650 -2650
+Wire Wire Line
+ -10050 -3350 -10050 -2850
+Wire Wire Line
+ -9750 -3050 -9150 -3050
+Wire Wire Line
+ -10600 -3100 -10050 -3100
+Connection ~ -10050 -3100
+Wire Wire Line
+ -6500 -3550 -6500 -3500
+Wire Wire Line
+ -6400 -3050 -6400 -3150
+Wire Wire Line
+ -6500 -2700 -6500 -2650
+Wire Wire Line
+ -6500 -2650 -6400 -2650
+Wire Wire Line
+ -6100 -3350 -6100 -2850
+Wire Wire Line
+ -6850 -3050 -6400 -3050
+Wire Wire Line
+ -6100 -3100 -5250 -3100
+Connection ~ -6100 -3100
+Connection ~ -8650 -3550
+Connection ~ -9650 -3550
+Connection ~ -7500 -3550
+Connection ~ -6500 -3550
+Wire Wire Line
+ -5950 -3550 -5950 -2050
+Connection ~ -6400 -3550
+Connection ~ -5950 -2050
+Wire Wire Line
+ -5950 -200 -5950 -1150
+Connection ~ -7200 -200
+Connection ~ -5950 -1150
+Wire Wire Line
+ -8950 -3350 -9350 -3350
+Wire Wire Line
+ -9350 -3350 -9350 -3650
+Wire Wire Line
+ -9350 -3650 -10200 -3650
+Wire Wire Line
+ -10200 -3650 -10200 -1150
+Connection ~ -10200 -3100
+Wire Wire Line
+ -6850 -3650 -6850 -950
+Wire Wire Line
+ -6850 -3650 -7850 -3650
+Wire Wire Line
+ -7850 -3650 -7850 -3350
+Wire Wire Line
+ -7850 -3350 -7950 -3350
+Wire Wire Line
+ -9150 -3050 -9150 -1400
+Wire Wire Line
+ -9150 -2850 -8950 -2850
+Wire Wire Line
+ -6000 -3100 -6000 -2950
+Wire Wire Line
+ -6000 -2950 -7450 -2950
+Wire Wire Line
+ -7450 -2850 -7450 -2950
+Wire Wire Line
+ -7950 -2850 -7450 -2850
+Connection ~ -6000 -3100
+Wire Wire Line
+ -10200 -2350 -8950 -2350
+Wire Wire Line
+ -7850 -2850 -7850 -2350
+Wire Wire Line
+ -7850 -2350 -7950 -2350
+Connection ~ -7850 -2850
+Wire Wire Line
+ -9150 -1850 -8950 -1850
+Connection ~ -9150 -2850
+Wire Wire Line
+ -7950 -1850 -6850 -1850
+Connection ~ -6850 -3050
+Wire Wire Line
+ -6800 -2550 -6800 -2600
+Wire Wire Line
+ -6800 -2600 -6700 -2600
+Wire Wire Line
+ -6700 -2200 -6700 -2100
+Wire Wire Line
+ -6800 -1750 -6800 -1700
+Wire Wire Line
+ -6800 -1700 -6700 -1700
+Wire Wire Line
+ -6400 -2400 -6400 -1900
+Wire Wire Line
+ -6400 -2200 -5250 -2200
+Connection ~ -6400 -2200
+Wire Wire Line
+ -6700 -2200 -7000 -2200
+Wire Wire Line
+ -7000 -3150 -7000 -1950
+Wire Wire Line
+ -7000 -3150 -7200 -3150
+Wire Wire Line
+ -6250 -2150 -6250 -2200
+Wire Wire Line
+ -7200 -2150 -6250 -2150
+Connection ~ -6250 -2200
+Wire Wire Line
+ -6750 -2600 -6750 -3550
+Connection ~ -6750 -3550
+Connection ~ -6750 -2600
+Wire Wire Line
+ -10500 -1300 -9350 -1300
+Connection ~ -10200 -2350
+Wire Wire Line
+ -7850 -1850 -7850 -1600
+Wire Wire Line
+ -7850 -1600 -9450 -1600
+Wire Wire Line
+ -9450 -1600 -9450 -850
+Wire Wire Line
+ -9450 -850 -9350 -850
+Connection ~ -7850 -1850
+Wire Wire Line
+ -9150 -1400 -6800 -1400
+Wire Wire Line
+ -8300 -1400 -8300 -1300
+Connection ~ -9150 -1850
+Wire Wire Line
+ -7950 -2350 -7950 -550
+Wire Wire Line
+ -8300 -1100 -7850 -1100
+Wire Wire Line
+ -8300 -1100 -8300 -850
+Wire Wire Line
+ -6800 -1400 -6800 -1300
+Connection ~ -8300 -1400
+Wire Wire Line
+ -6850 -950 -6800 -950
+Wire Wire Line
+ -6800 -950 -6800 -850
+Connection ~ -6850 -1850
+Wire Wire Line
+ -10200 -1150 -7850 -1150
+Wire Wire Line
+ -7850 -1150 -7850 -1300
+Connection ~ -10200 -1300
+Wire Wire Line
+ -7850 -1100 -7850 -850
+Connection ~ -7950 -1100
+Wire Wire Line
+ -6350 -550 -6350 -2150
+Wire Wire Line
+ -7850 -550 -6350 -550
+Wire Wire Line
+ -7600 -550 -7600 -400
+Connection ~ -6350 -2150
+Wire Wire Line
+ -7000 -1950 -9300 -1950
+Wire Wire Line
+ -9300 -1950 -9300 -400
+Wire Wire Line
+ -9300 -400 -9100 -400
+Connection ~ -7000 -2200
+Wire Wire Line
+ -9700 -2650 -9700 -200
+Connection ~ -8800 -200
+Connection ~ -9700 -2650
+Wire Wire Line
+ -6450 -2650 -6450 -200
+Connection ~ -6450 -200
+Connection ~ -6450 -2650
+Wire Wire Line
+ -6750 -1700 -6750 -200
+Connection ~ -6750 -200
+Connection ~ -6750 -1700
+Wire Wire Line
+ -8100 -50 -8100 -200
+Connection ~ -8100 -200
+Wire Wire Line
+ -8200 1250 -8200 1300
+Wire Wire Line
+ -8300 1650 -8300 1750
+Wire Wire Line
+ -8200 2150 -8200 2100
+Wire Wire Line
+ -8300 2150 -8200 2150
+Wire Wire Line
+ -8600 1450 -8600 1950
+Wire Wire Line
+ -8300 1750 -3500 1750
+Wire Wire Line
+ -8300 1250 -8200 1250
+Wire Wire Line
+ -9950 400 -8250 400
+Wire Wire Line
+ -9950 800 -9550 800
+Wire Wire Line
+ -9950 850 -9550 850
+Wire Wire Line
+ -9950 1250 -9550 1250
+Wire Wire Line
+ -9950 1300 -9550 1300
+Wire Wire Line
+ -9950 1700 -9550 1700
+Wire Wire Line
+ -9850 1350 -9850 1300
+Connection ~ -9850 1300
+Wire Wire Line
+ -9650 1350 -9650 1300
+Connection ~ -9650 1300
+Wire Wire Line
+ -9650 900 -9650 850
+Connection ~ -9650 850
+Wire Wire Line
+ -9850 900 -9850 850
+Connection ~ -9850 850
+Wire Wire Line
+ -9850 450 -9850 400
+Connection ~ -9850 400
+Wire Wire Line
+ -9650 450 -9650 400
+Connection ~ -9650 400
+Wire Wire Line
+ -9750 800 -9750 850
+Connection ~ -9750 850
+Connection ~ -9750 800
+Wire Wire Line
+ -9750 1250 -9750 1300
+Connection ~ -9750 1300
+Connection ~ -9750 1250
+Wire Wire Line
+ -10200 1800 -9300 1800
+Connection ~ -9650 1800
+Wire Wire Line
+ -10200 2200 -10200 2250
+Wire Wire Line
+ -10100 2150 -10100 2200
+Wire Wire Line
+ -10100 2200 -10200 2200
+Wire Wire Line
+ -9550 2150 -9550 2200
+Wire Wire Line
+ -9550 2200 -9650 2200
+Wire Wire Line
+ -9650 2200 -9650 2250
+Wire Wire Line
+ -9300 2200 -9300 2250
+Wire Wire Line
+ -9400 2150 -9400 2200
+Wire Wire Line
+ -9400 2200 -9300 2200
+Wire Wire Line
+ -10200 2650 -7400 2650
+Connection ~ -9650 2650
+Wire Wire Line
+ -9400 2600 -9400 2650
+Connection ~ -9400 2650
+Wire Wire Line
+ -10100 2600 -10100 2650
+Connection ~ -10100 2650
+Wire Wire Line
+ -9750 1700 -9750 1800
+Connection ~ -9750 1800
+Connection ~ -9750 1700
+Wire Wire Line
+ -9750 1750 -8600 1750
+Connection ~ -8600 1750
+Connection ~ -9750 1750
+Wire Wire Line
+ -8250 400 -8250 1250
+Connection ~ -9550 400
+Connection ~ -8250 1250
+Wire Wire Line
+ -8250 2650 -8250 2150
+Connection ~ -9300 2650
+Connection ~ -8250 2150
+Wire Wire Line
+ -7400 2650 -7400 -50
+Wire Wire Line
+ -7400 -50 -8100 -50
+Connection ~ -8250 2650
+Wire Wire Line
+ -10250 600 -10500 600
+Wire Wire Line
+ -10500 -1300 -10500 2000
+Wire Wire Line
+ -9250 350 -9250 600
+Wire Wire Line
+ -10650 350 -8550 350
+Wire Wire Line
+ -10650 350 -10650 2450
+Wire Wire Line
+ -10650 2450 -10500 2450
+Wire Wire Line
+ -9950 2000 -9950 2250
+Wire Wire Line
+ -9950 2250 -10650 2250
+Connection ~ -10650 2250
+Wire Wire Line
+ -10250 1050 -10650 1050
+Connection ~ -10650 1050
+Wire Wire Line
+ -10250 1500 -10500 1500
+Connection ~ -10500 1500
+Wire Wire Line
+ -9000 2000 -9000 1850
+Wire Wire Line
+ -9000 1850 -10500 1850
+Connection ~ -10500 1850
+Wire Wire Line
+ -9950 2450 -9950 2300
+Wire Wire Line
+ -9950 2300 -9000 2300
+Wire Wire Line
+ -9000 2300 -9000 2450
+Wire Wire Line
+ -9550 2600 -9550 2650
+Connection ~ -9550 2650
+Wire Wire Line
+ -9250 1050 -7850 1050
+Wire Wire Line
+ -9150 1050 -9150 2300
+Wire Wire Line
+ -9150 1500 -9250 1500
+Connection ~ -9150 2300
+Connection ~ -9150 1500
+Connection ~ -10500 600
+Wire Wire Line
+ -7950 -550 -8550 -550
+Wire Wire Line
+ -8550 -550 -8550 350
+Connection ~ -9250 350
+Wire Wire Line
+ -7850 1050 -7850 -550
+Connection ~ -9150 1050
+Connection ~ -7600 -550
+Wire Wire Line
+ -8550 -3800 -9550 -3800
+Wire Wire Line
+ -9550 -3800 -9550 400
+Connection ~ -8550 -3800
+Wire Wire Line
+ -7550 4750 -3750 4750
+Wire Wire Line
+ -3700 6250 -3700 6300
+Wire Wire Line
+ -3800 6250 -3700 6250
+Wire Wire Line
+ -3800 6650 -3800 6750
+Wire Wire Line
+ -3700 7150 -3700 7100
+Wire Wire Line
+ -3800 7150 -3700 7150
+Wire Wire Line
+ -6350 550 -6350 4800
+Connection ~ -6350 4750
+Wire Wire Line
+ -6150 4800 -6150 4750
+Connection ~ -6150 4750
+Wire Wire Line
+ -6350 5300 -6350 5250
+Wire Wire Line
+ -6450 5250 -6050 5250
+Wire Wire Line
+ -6150 5250 -6150 5300
+Wire Wire Line
+ -6450 5650 -5300 5650
+Wire Wire Line
+ -5300 5650 -5300 5350
+Connection ~ -6050 5650
+Wire Wire Line
+ -5400 5000 -5400 4950
+Wire Wire Line
+ -5400 4950 -5300 4950
+Wire Wire Line
+ -5300 4950 -5300 4750
+Connection ~ -6050 4750
+Wire Wire Line
+ -6450 5750 -5300 5750
+Wire Wire Line
+ -6350 5800 -6350 5750
+Connection ~ -6350 5750
+Wire Wire Line
+ -6150 5800 -6150 5750
+Connection ~ -6150 5750
+Wire Wire Line
+ -6350 6300 -6350 6250
+Wire Wire Line
+ -6450 6250 -6050 6250
+Wire Wire Line
+ -6150 6250 -6150 6300
+Wire Wire Line
+ -6450 6650 -5300 6650
+Wire Wire Line
+ -5300 6650 -5300 6350
+Connection ~ -6050 6650
+Wire Wire Line
+ -5400 6000 -5400 5950
+Wire Wire Line
+ -5400 5950 -5300 5950
+Wire Wire Line
+ -5300 5950 -5300 5750
+Connection ~ -6050 5750
+Wire Wire Line
+ -6850 7200 -6850 7250
+Wire Wire Line
+ -6850 6800 -4900 6800
+Wire Wire Line
+ -6850 7650 -6400 7650
+Wire Wire Line
+ -6750 7150 -6750 7200
+Wire Wire Line
+ -6750 7200 -6850 7200
+Wire Wire Line
+ -6450 5150 -6050 5150
+Connection ~ -6150 5250
+Connection ~ -6350 5250
+Wire Wire Line
+ -6250 5150 -6250 5250
+Connection ~ -6250 5250
+Connection ~ -6250 5150
+Wire Wire Line
+ -6450 6150 -6050 6150
+Connection ~ -6150 6250
+Connection ~ -6350 6250
+Wire Wire Line
+ -6250 6150 -6250 6250
+Connection ~ -6250 6250
+Connection ~ -6250 6150
+Wire Wire Line
+ -6250 5650 -6250 5750
+Connection ~ -6250 5750
+Connection ~ -6250 5650
+Wire Wire Line
+ -6400 7200 -6400 7250
+Wire Wire Line
+ -6500 7150 -6500 7200
+Wire Wire Line
+ -6500 7200 -6400 7200
+Wire Wire Line
+ -6750 7600 -6750 7650
+Connection ~ -6750 7650
+Wire Wire Line
+ -6500 7600 -6500 7650
+Connection ~ -6500 7650
+Wire Wire Line
+ -6600 7700 -6600 7650
+Connection ~ -6600 7650
+Wire Wire Line
+ -6500 8100 -6500 8050
+Wire Wire Line
+ -7500 8100 -3750 8100
+Wire Wire Line
+ -5350 7200 -5350 7250
+Wire Wire Line
+ -5350 7650 -4900 7650
+Wire Wire Line
+ -5250 7150 -5250 7200
+Wire Wire Line
+ -5250 7200 -5350 7200
+Wire Wire Line
+ -4900 7200 -4900 7250
+Wire Wire Line
+ -5000 7150 -5000 7200
+Wire Wire Line
+ -5000 7200 -4900 7200
+Wire Wire Line
+ -5250 7600 -5250 7650
+Connection ~ -5250 7650
+Wire Wire Line
+ -5000 7600 -5000 7650
+Connection ~ -5000 7650
+Wire Wire Line
+ -5100 7700 -5100 7650
+Connection ~ -5100 7650
+Wire Wire Line
+ -5000 8100 -5000 8050
+Connection ~ -5350 6800
+Connection ~ -6400 6800
+Connection ~ -5100 8100
+Connection ~ -6500 8100
+Wire Wire Line
+ -5950 6650 -5950 6800
+Connection ~ -5950 6800
+Connection ~ -5950 6650
+Wire Wire Line
+ -4100 6450 -4100 6950
+Wire Wire Line
+ -5950 6750 -4100 6750
+Connection ~ -4100 6750
+Connection ~ -5950 6750
+Wire Wire Line
+ -3800 6750 -3250 6750
+Wire Wire Line
+ -7450 4800 -7450 4750
+Wire Wire Line
+ -7550 5150 -7550 5250
+Wire Wire Line
+ -7450 5650 -7450 5600
+Wire Wire Line
+ -7550 5650 -7450 5650
+Wire Wire Line
+ -7850 4950 -7850 5450
+Wire Wire Line
+ -7550 5250 -6950 5250
+Wire Wire Line
+ -8400 5200 -7850 5200
+Connection ~ -7850 5200
+Wire Wire Line
+ -4300 4750 -4300 4800
+Wire Wire Line
+ -4200 5250 -4200 5150
+Wire Wire Line
+ -4300 5600 -4300 5650
+Wire Wire Line
+ -4300 5650 -4200 5650
+Wire Wire Line
+ -3900 4950 -3900 5450
+Wire Wire Line
+ -4650 5250 -4200 5250
+Wire Wire Line
+ -3900 5200 -3050 5200
+Connection ~ -3900 5200
+Connection ~ -6450 4750
+Connection ~ -7450 4750
+Connection ~ -5300 4750
+Connection ~ -4300 4750
+Wire Wire Line
+ -3750 4750 -3750 6250
+Connection ~ -4200 4750
+Connection ~ -3750 6250
+Wire Wire Line
+ -3750 8100 -3750 7150
+Connection ~ -5000 8100
+Connection ~ -3750 7150
+Wire Wire Line
+ -6750 4950 -7150 4950
+Wire Wire Line
+ -7150 4950 -7150 4650
+Wire Wire Line
+ -7150 4650 -8000 4650
+Wire Wire Line
+ -8000 4650 -8000 7150
+Connection ~ -8000 5200
+Wire Wire Line
+ -4650 4650 -4650 7350
+Wire Wire Line
+ -4650 4650 -5650 4650
+Wire Wire Line
+ -5650 4650 -5650 4950
+Wire Wire Line
+ -5650 4950 -5750 4950
+Wire Wire Line
+ -6950 5250 -6950 6900
+Wire Wire Line
+ -6950 5450 -6750 5450
+Wire Wire Line
+ -3800 5200 -3800 5350
+Wire Wire Line
+ -3800 5350 -5250 5350
+Wire Wire Line
+ -5250 5450 -5250 5350
+Wire Wire Line
+ -5750 5450 -5250 5450
+Connection ~ -3800 5200
+Wire Wire Line
+ -8000 5950 -6750 5950
+Wire Wire Line
+ -5650 5450 -5650 5950
+Wire Wire Line
+ -5650 5950 -5750 5950
+Connection ~ -5650 5450
+Wire Wire Line
+ -6950 6450 -6750 6450
+Connection ~ -6950 5450
+Wire Wire Line
+ -5750 6450 -4650 6450
+Connection ~ -4650 5250
+Wire Wire Line
+ -4600 5750 -4600 5700
+Wire Wire Line
+ -4600 5700 -4500 5700
+Wire Wire Line
+ -4500 6100 -4500 6200
+Wire Wire Line
+ -4600 6550 -4600 6600
+Wire Wire Line
+ -4600 6600 -4500 6600
+Wire Wire Line
+ -4200 5900 -4200 6400
+Wire Wire Line
+ -4200 6100 -3500 6100
+Connection ~ -4200 6100
+Wire Wire Line
+ -4500 6100 -4800 6100
+Wire Wire Line
+ -4800 5150 -4800 6350
+Wire Wire Line
+ -4800 5150 -5000 5150
+Wire Wire Line
+ -4050 6150 -4050 6100
+Wire Wire Line
+ -5000 6150 -4050 6150
+Connection ~ -4050 6100
+Wire Wire Line
+ -4550 5700 -4550 4750
+Connection ~ -4550 4750
+Connection ~ -4550 5700
+Wire Wire Line
+ -8300 7000 -7150 7000
+Connection ~ -8000 5950
+Wire Wire Line
+ -5650 6450 -5650 6700
+Wire Wire Line
+ -5650 6700 -7250 6700
+Wire Wire Line
+ -7250 6700 -7250 7450
+Wire Wire Line
+ -7250 7450 -7150 7450
+Connection ~ -5650 6450
+Wire Wire Line
+ -6950 6900 -4600 6900
+Wire Wire Line
+ -6100 6900 -6100 7000
+Connection ~ -6950 6450
+Wire Wire Line
+ -5750 5950 -5750 7750
+Wire Wire Line
+ -6100 7200 -5650 7200
+Wire Wire Line
+ -6100 7200 -6100 7450
+Wire Wire Line
+ -4600 6900 -4600 7000
+Connection ~ -6100 6900
+Wire Wire Line
+ -4650 7350 -4600 7350
+Wire Wire Line
+ -4600 7350 -4600 7450
+Connection ~ -4650 6450
+Wire Wire Line
+ -8000 7150 -5650 7150
+Wire Wire Line
+ -5650 7150 -5650 7000
+Connection ~ -8000 7000
+Wire Wire Line
+ -5650 7200 -5650 7450
+Connection ~ -5750 7200
+Wire Wire Line
+ -4150 7750 -4150 6150
+Wire Wire Line
+ -5650 7750 -4150 7750
+Wire Wire Line
+ -5400 7750 -5400 7900
+Connection ~ -4150 6150
+Wire Wire Line
+ -4800 6350 -7100 6350
+Wire Wire Line
+ -7100 6350 -7100 7900
+Wire Wire Line
+ -7100 7900 -6900 7900
+Connection ~ -4800 6100
+Wire Wire Line
+ -7500 5650 -7500 8100
+Connection ~ -6600 8100
+Connection ~ -7500 5650
+Wire Wire Line
+ -4250 5650 -4250 8100
+Connection ~ -4250 8100
+Connection ~ -4250 5650
+Wire Wire Line
+ -4550 6600 -4550 8100
+Connection ~ -4550 8100
+Connection ~ -4550 6600
+Wire Wire Line
+ -5900 8250 -5900 8100
+Connection ~ -5900 8100
+Wire Wire Line
+ -6000 9550 -6000 9600
+Wire Wire Line
+ -6100 9950 -6100 10050
+Wire Wire Line
+ -6000 10450 -6000 10400
+Wire Wire Line
+ -6100 10450 -6000 10450
+Wire Wire Line
+ -6400 9750 -6400 10250
+Wire Wire Line
+ -6100 9550 -6000 9550
+Wire Wire Line
+ -7750 8700 -6050 8700
+Wire Wire Line
+ -7750 9100 -7350 9100
+Wire Wire Line
+ -7750 9150 -7350 9150
+Wire Wire Line
+ -7750 9550 -7350 9550
+Wire Wire Line
+ -7750 9600 -7350 9600
+Wire Wire Line
+ -7750 10000 -7350 10000
+Wire Wire Line
+ -7650 9650 -7650 9600
+Connection ~ -7650 9600
+Wire Wire Line
+ -7450 9650 -7450 9600
+Connection ~ -7450 9600
+Wire Wire Line
+ -7450 9200 -7450 9150
+Connection ~ -7450 9150
+Wire Wire Line
+ -7650 9200 -7650 9150
+Connection ~ -7650 9150
+Wire Wire Line
+ -7650 8750 -7650 8700
+Connection ~ -7650 8700
+Wire Wire Line
+ -7450 8750 -7450 8700
+Connection ~ -7450 8700
+Wire Wire Line
+ -7550 9100 -7550 9150
+Connection ~ -7550 9150
+Connection ~ -7550 9100
+Wire Wire Line
+ -7550 9550 -7550 9600
+Connection ~ -7550 9600
+Connection ~ -7550 9550
+Wire Wire Line
+ -8000 10100 -7100 10100
+Connection ~ -7450 10100
+Wire Wire Line
+ -8000 10500 -8000 10550
+Wire Wire Line
+ -7900 10450 -7900 10500
+Wire Wire Line
+ -7900 10500 -8000 10500
+Wire Wire Line
+ -7350 10450 -7350 10500
+Wire Wire Line
+ -7350 10500 -7450 10500
+Wire Wire Line
+ -7450 10500 -7450 10550
+Wire Wire Line
+ -7100 10500 -7100 10550
+Wire Wire Line
+ -7200 10450 -7200 10500
+Wire Wire Line
+ -7200 10500 -7100 10500
+Wire Wire Line
+ -9950 10950 -5200 10950
+Connection ~ -7450 10950
+Wire Wire Line
+ -7200 10900 -7200 10950
+Connection ~ -7200 10950
+Wire Wire Line
+ -7900 10900 -7900 10950
+Connection ~ -7900 10950
+Wire Wire Line
+ -7550 10000 -7550 10100
+Connection ~ -7550 10100
+Connection ~ -7550 10000
+Wire Wire Line
+ -7550 10050 -6400 10050
+Connection ~ -6400 10050
+Connection ~ -7550 10050
+Wire Wire Line
+ -6050 8700 -6050 9550
+Connection ~ -7350 8700
+Connection ~ -6050 9550
+Wire Wire Line
+ -6050 10950 -6050 10450
+Connection ~ -7100 10950
+Connection ~ -6050 10450
+Wire Wire Line
+ -5200 8250 -5200 11450
+Wire Wire Line
+ -5200 8250 -5900 8250
+Connection ~ -6050 10950
+Wire Wire Line
+ -8050 8900 -8300 8900
+Wire Wire Line
+ -8300 7000 -8300 10300
+Wire Wire Line
+ -7050 8650 -7050 8900
+Wire Wire Line
+ -8450 8650 -6350 8650
+Wire Wire Line
+ -8450 8650 -8450 10750
+Wire Wire Line
+ -8450 10750 -8300 10750
+Wire Wire Line
+ -7750 10300 -7750 10550
+Wire Wire Line
+ -7750 10550 -8450 10550
+Connection ~ -8450 10550
+Wire Wire Line
+ -8050 9350 -8450 9350
+Connection ~ -8450 9350
+Wire Wire Line
+ -8050 9800 -8300 9800
+Connection ~ -8300 9800
+Wire Wire Line
+ -6800 10300 -6800 10150
+Wire Wire Line
+ -6800 10150 -8300 10150
+Connection ~ -8300 10150
+Wire Wire Line
+ -7750 10750 -7750 10600
+Wire Wire Line
+ -7750 10600 -6800 10600
+Wire Wire Line
+ -6800 10600 -6800 10750
+Wire Wire Line
+ -7350 10900 -7350 10950
+Connection ~ -7350 10950
+Wire Wire Line
+ -7050 9350 -5650 9350
+Wire Wire Line
+ -6950 9350 -6950 10600
+Wire Wire Line
+ -6950 9800 -7050 9800
+Connection ~ -6950 10600
+Connection ~ -6950 9800
+Connection ~ -8300 8900
+Wire Wire Line
+ -5750 7750 -6350 7750
+Wire Wire Line
+ -6350 7750 -6350 8650
+Connection ~ -7050 8650
+Wire Wire Line
+ -5650 9350 -5650 7750
+Connection ~ -6950 9350
+Connection ~ -5400 7750
+Wire Wire Line
+ -6350 4500 -7350 4500
+Wire Wire Line
+ -7350 4500 -7350 8700
+Connection ~ -6350 4500
+Wire Wire Line
+ -9950 10950 -9950 2650
+Connection ~ -8000 10950
+Connection ~ -9950 2650
+Wire Wire Line
+ -3500 6100 -3500 1750
+Wire Wire Line
+ -6350 550 -3000 550
+Wire Wire Line
+ -3000 -3950 -3000 550
+Connection ~ -8550 -3950
+Wire Wire Line
+ -6100 10050 -2800 10050
+Wire Wire Line
+ -8600 -3950 -3000 -3950
+$Comp
+L PORT U1
+U 7 1 6299803F
+P -10850 -3100
+F 0 "U1" H -10800 -3000 30 0000 C CNN
+F 1 "PORT" H -10850 -3100 30 0000 C CNN
+F 2 "" H -10850 -3100 60 0000 C CNN
+F 3 "" H -10850 -3100 60 0000 C CNN
+ 7 -10850 -3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 6299837D
+P -8850 -3950
+F 0 "U1" H -8800 -3850 30 0000 C CNN
+F 1 "PORT" H -8850 -3950 30 0000 C CNN
+F 2 "" H -8850 -3950 60 0000 C CNN
+F 3 "" H -8850 -3950 60 0000 C CNN
+ 16 -8850 -3950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62998605
+P -5000 -3100
+F 0 "U1" H -4950 -3000 30 0000 C CNN
+F 1 "PORT" H -5000 -3100 30 0000 C CNN
+F 2 "" H -5000 -3100 60 0000 C CNN
+F 3 "" H -5000 -3100 60 0000 C CNN
+ 6 -5000 -3100
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62998792
+P -5000 -2200
+F 0 "U1" H -4950 -2100 30 0000 C CNN
+F 1 "PORT" H -5000 -2200 30 0000 C CNN
+F 2 "" H -5000 -2200 60 0000 C CNN
+F 3 "" H -5000 -2200 60 0000 C CNN
+ 9 -5000 -2200
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6299963D
+P -5200 -1550
+F 0 "U1" H -5150 -1450 30 0000 C CNN
+F 1 "PORT" H -5200 -1550 30 0000 C CNN
+F 2 "" H -5200 -1550 60 0000 C CNN
+F 3 "" H -5200 -1550 60 0000 C CNN
+ 10 -5200 -1550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6299FB00
+P -8650 5200
+F 0 "U1" H -8600 5300 30 0000 C CNN
+F 1 "PORT" H -8650 5200 30 0000 C CNN
+F 2 "" H -8650 5200 60 0000 C CNN
+F 3 "" H -8650 5200 60 0000 C CNN
+ 5 -8650 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 629A0EB3
+P -2800 5200
+F 0 "U1" H -2750 5300 30 0000 C CNN
+F 1 "PORT" H -2800 5200 30 0000 C CNN
+F 2 "" H -2800 5200 60 0000 C CNN
+F 3 "" H -2800 5200 60 0000 C CNN
+ 4 -2800 5200
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 629A4397
+P -3000 6750
+F 0 "U1" H -2950 6850 30 0000 C CNN
+F 1 "PORT" H -3000 6750 30 0000 C CNN
+F 2 "" H -3000 6750 60 0000 C CNN
+F 3 "" H -3000 6750 60 0000 C CNN
+ 11 -3000 6750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 17 1 629A56CE
+P -2550 10050
+F 0 "U1" H -2500 10150 30 0000 C CNN
+F 1 "PORT" H -2550 10050 30 0000 C CNN
+F 2 "" H -2550 10050 60 0000 C CNN
+F 3 "" H -2550 10050 60 0000 C CNN
+ 17 -2550 10050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 629A86A4
+P -4900 11450
+F 0 "U1" H -4850 11550 30 0000 C CNN
+F 1 "PORT" H -4900 11450 30 0000 C CNN
+F 2 "" H -4900 11450 60 0000 C CNN
+F 3 "" H -4900 11450 60 0000 C CNN
+ 8 -4900 11450
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ -5200 11450 -5150 11450
+Connection ~ -5200 10950
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit.sub b/library/SubcircuitLibrary/CD_4008/Adder_2bit.sub
new file mode 100644
index 00000000..f94f0c02
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit.sub
@@ -0,0 +1,92 @@
+* Subcircuit Adder_2bit
+.subckt Adder_2bit net-_m27-pad2_ net-_m26-pad2_ net-_m10-pad2_ net-_m1-pad2_ net-_m16-pad3_ net-_m11-pad2_ net-_m64-pad1_ net-_m83-pad1_ net-_m10-pad3_ net-_m60-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\adder_2bit\adder_2bit.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m18 net-_m18-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m28 net-_m18-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m19 net-_m19-pad1_ net-_m19-pad2_ net-_m18-pad1_ net-_m18-pad1_ CMOSP W=100u L=100u M=1
+m29 net-_m19-pad1_ net-_m10-pad2_ net-_m18-pad1_ net-_m18-pad1_ CMOSP W=100u L=100u M=1
+m67 net-_m64-pad1_ net-_m13-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m64 net-_m64-pad1_ net-_m13-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m42 net-_m19-pad1_ net-_m17-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m20 net-_m20-pad1_ net-_m1-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m30 net-_m20-pad1_ net-_m10-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m21 net-_m13-pad1_ net-_m19-pad2_ net-_m20-pad1_ net-_m20-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m13-pad1_ net-_m14-pad2_ net-_m20-pad1_ net-_m20-pad1_ CMOSP W=100u L=100u M=1
+m43 net-_m13-pad1_ net-_m11-pad2_ net-_m19-pad1_ net-_m19-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m1-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m14-pad3_ net-_m14-pad3_ CMOSN W=100u L=100u M=1
+m24 net-_m13-pad1_ net-_m19-pad2_ net-_m24-pad3_ net-_m24-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m24-pad3_ net-_m10-pad2_ net-_m14-pad3_ net-_m14-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m14-pad3_ net-_m17-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m35 net-_m13-pad1_ net-_m1-pad2_ net-_m35-pad3_ net-_m35-pad3_ CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ net-_m10-pad2_ net-_m36-pad3_ net-_m36-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m13-pad1_ net-_m19-pad2_ net-_m49-pad3_ net-_m49-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m49-pad3_ net-_m14-pad2_ net-_m36-pad3_ net-_m36-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m36-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m19-pad2_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m19-pad2_ net-_m1-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m61 net-_m14-pad2_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m63 net-_m14-pad2_ net-_m10-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m17-pad2_ net-_m11-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m59 net-_m17-pad2_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m10-pad1_ net-_m1-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m11-pad1_ net-_m10-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m12 net-_m1-pad1_ net-_m11-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ net-_m10-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m1-pad1_ net-_m10-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m1-pad1_ net-_m1-pad2_ net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m22-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m1-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m54 net-_m54-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m68 net-_m54-pad1_ net-_m48-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m55 net-_m55-pad1_ net-_m37-pad1_ net-_m54-pad1_ net-_m54-pad1_ CMOSP W=100u L=100u M=1
+m69 net-_m55-pad1_ net-_m27-pad2_ net-_m54-pad1_ net-_m54-pad1_ CMOSP W=100u L=100u M=1
+m84 net-_m83-pad1_ net-_m47-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m83 net-_m83-pad1_ net-_m47-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m75 net-_m55-pad1_ net-_m53-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m56 net-_m56-pad1_ net-_m26-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m70 net-_m56-pad1_ net-_m27-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 net-_m47-pad1_ net-_m37-pad1_ net-_m56-pad1_ net-_m56-pad1_ CMOSP W=100u L=100u M=1
+m71 net-_m47-pad1_ net-_m48-pad2_ net-_m56-pad1_ net-_m56-pad1_ CMOSP W=100u L=100u M=1
+m76 net-_m47-pad1_ net-_m22-pad1_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m47 net-_m47-pad1_ net-_m26-pad2_ net-_m47-pad3_ net-_m47-pad3_ CMOSN W=100u L=100u M=1
+m48 net-_m47-pad3_ net-_m48-pad2_ net-_m48-pad3_ net-_m48-pad3_ CMOSN W=100u L=100u M=1
+m65 net-_m47-pad1_ net-_m37-pad1_ net-_m65-pad3_ net-_m65-pad3_ CMOSN W=100u L=100u M=1
+m66 net-_m65-pad3_ net-_m27-pad2_ net-_m48-pad3_ net-_m48-pad3_ CMOSN W=100u L=100u M=1
+m53 net-_m48-pad3_ net-_m53-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m72 net-_m47-pad1_ net-_m26-pad2_ net-_m72-pad3_ net-_m72-pad3_ CMOSN W=100u L=100u M=1
+m73 net-_m72-pad3_ net-_m27-pad2_ net-_m73-pad3_ net-_m73-pad3_ CMOSN W=100u L=100u M=1
+m77 net-_m47-pad1_ net-_m37-pad1_ net-_m77-pad3_ net-_m77-pad3_ CMOSN W=100u L=100u M=1
+m78 net-_m77-pad3_ net-_m48-pad2_ net-_m73-pad3_ net-_m73-pad3_ CMOSN W=100u L=100u M=1
+m74 net-_m73-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m38 net-_m37-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m37 net-_m37-pad1_ net-_m26-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m81 net-_m48-pad2_ net-_m27-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m82 net-_m48-pad2_ net-_m27-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m79 net-_m53-pad2_ net-_m22-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m80 net-_m53-pad2_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m32 net-_m32-pad1_ net-_m26-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m44 net-_m32-pad1_ net-_m27-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m27-pad2_ net-_m32-pad1_ net-_m32-pad1_ CMOSP W=100u L=100u M=1
+m45 net-_m33-pad1_ net-_m22-pad1_ net-_m32-pad1_ net-_m32-pad1_ CMOSP W=100u L=100u M=1
+m34 net-_m26-pad1_ net-_m26-pad2_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m46 net-_m26-pad1_ net-_m22-pad1_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m26 net-_m26-pad1_ net-_m26-pad2_ net-_m26-pad3_ net-_m26-pad3_ CMOSN W=100u L=100u M=1
+m27 net-_m26-pad3_ net-_m27-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m26-pad1_ net-_m27-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m51 net-_m26-pad1_ net-_m26-pad2_ net-_m51-pad3_ net-_m51-pad3_ CMOSN W=100u L=100u M=1
+m52 net-_m51-pad3_ net-_m22-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m62 net-_m60-pad1_ net-_m26-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m60 net-_m60-pad1_ net-_m26-pad1_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends Adder_2bit \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/Adder_2bit_Previous_Values.xml b/library/SubcircuitLibrary/CD_4008/Adder_2bit_Previous_Values.xml
new file mode 100644
index 00000000..f015d34c
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/Adder_2bit_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m28><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m67><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m64><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m20><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m30><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m21><m31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m31><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m24><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m25><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m49><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m50><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m63><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m58><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m54><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m68><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m69><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m69><m84><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m84><m83><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m83><m75><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m75><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m70><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m70><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m57><m71><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m71><m76><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m76><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m47><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m48><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m65><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m66><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m53><m72><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m72><m73><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m73><m77><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m77><m78><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m78><m74><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m74><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m37><m81><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m81><m82><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m82><m79><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m79><m80><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m80><m32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m32><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m44><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m45><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m34><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m46><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m27><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m40><m51><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m51><m52><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m52><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m62><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m60></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008-cache.lib b/library/SubcircuitLibrary/CD_4008/CD_4008-cache.lib
new file mode 100644
index 00000000..fe35cb8f
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008-cache.lib
@@ -0,0 +1,66 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# Adder_2Bit
+#
+DEF Adder_2Bit X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Adder_2Bit" 0 100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -450 650 450 -550 0 1 0 N
+X B1 4 -650 150 200 R 50 50 1 1 I
+X A1 5 -650 0 200 R 50 50 1 1 I
+X B0 6 -650 -150 200 R 50 50 1 1 I
+X A0 7 -650 -300 200 R 50 50 1 1 I
+X GND 8 -650 -450 200 R 50 50 1 1 I
+X Cin 9 650 -450 200 L 50 50 1 1 O
+X S0 10 650 -300 200 L 50 50 1 1 O
+X S1 11 650 -150 200 L 50 50 1 1 O
+X VDD 16 650 550 200 L 50 50 1 1 I
+X Co 17 650 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008.cir b/library/SubcircuitLibrary/CD_4008/CD_4008.cir
new file mode 100644
index 00000000..6909def4
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008.cir
@@ -0,0 +1,13 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4008\CD_4008.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/02/22 20:13:23
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X1 Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad16_ Net-_X1-Pad17_ Adder_2Bit
+X2 Net-_U1-Pad15_ Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad8_ Net-_X1-Pad17_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad16_ Net-_U1-Pad14_ Adder_2Bit
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_U1-Pad16_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008.cir.out b/library/SubcircuitLibrary/CD_4008/CD_4008.cir.out
new file mode 100644
index 00000000..3d2544ee
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008.cir.out
@@ -0,0 +1,15 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4008\cd_4008.cir
+
+.include Adder_2bit.sub
+x1 net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad16_ net-_x1-pad17_ Adder_2bit
+x2 net-_u1-pad15_ net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad8_ net-_x1-pad17_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad16_ net-_u1-pad14_ Adder_2bit
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008.pro b/library/SubcircuitLibrary/CD_4008/CD_4008.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008.sch b/library/SubcircuitLibrary/CD_4008/CD_4008.sch
new file mode 100644
index 00000000..e10152f2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008.sch
@@ -0,0 +1,353 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD4008_ADDER_4bit-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L Adder_2Bit X1
+U 1 1 6298C667
+P 4950 4150
+F 0 "X1" H 4950 4150 60 0000 C CNN
+F 1 "Adder_2Bit" H 4950 4250 60 0000 C CNN
+F 2 "" H 4950 4150 60 0001 C CNN
+F 3 "" H 4950 4150 60 0001 C CNN
+ 1 4950 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L Adder_2Bit X2
+U 1 1 6298C668
+P 6600 4150
+F 0 "X2" H 6600 4150 60 0000 C CNN
+F 1 "Adder_2Bit" H 6600 4250 60 0000 C CNN
+F 2 "" H 6600 4150 60 0001 C CNN
+F 3 "" H 6600 4150 60 0001 C CNN
+ 1 6600 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5600 4000 5750 4000
+Wire Wire Line
+ 5750 4000 5750 4800
+Wire Wire Line
+ 5750 4800 7250 4800
+Wire Wire Line
+ 7250 4800 7250 4600
+Wire Wire Line
+ 7250 2850 7250 3600
+Wire Wire Line
+ 7250 3400 5600 3400
+Wire Wire Line
+ 5600 3400 5600 3600
+Wire Wire Line
+ 5950 4850 5950 4600
+Wire Wire Line
+ 4300 4850 5950 4850
+Wire Wire Line
+ 4300 4850 4300 4600
+Wire Wire Line
+ 2700 2000 4300 2000
+Wire Wire Line
+ 4300 2000 4300 4000
+Wire Wire Line
+ 2700 2450 3850 2450
+Wire Wire Line
+ 3850 2450 3850 4150
+Wire Wire Line
+ 3850 4150 4300 4150
+Wire Wire Line
+ 2700 2950 3600 2950
+Wire Wire Line
+ 3600 2950 3600 4300
+Wire Wire Line
+ 3600 4300 4300 4300
+Wire Wire Line
+ 2700 3500 3400 3500
+Wire Wire Line
+ 3400 3500 3400 4450
+Wire Wire Line
+ 3400 4450 4300 4450
+Wire Wire Line
+ 5650 2850 5650 4300
+Wire Wire Line
+ 5650 4300 5600 4300
+Wire Wire Line
+ 5750 3100 5700 3100
+Wire Wire Line
+ 5700 3100 5700 4450
+Wire Wire Line
+ 5700 4450 5600 4450
+Wire Wire Line
+ 2700 4050 3200 4050
+Wire Wire Line
+ 3200 4050 3200 3700
+Wire Wire Line
+ 3200 3700 5950 3700
+Wire Wire Line
+ 5950 3700 5950 4000
+Wire Wire Line
+ 2700 4500 3300 4500
+Wire Wire Line
+ 3300 4500 3300 3800
+Wire Wire Line
+ 3300 3800 5900 3800
+Wire Wire Line
+ 5900 3800 5900 4150
+Wire Wire Line
+ 5900 4150 5950 4150
+Wire Wire Line
+ 2700 5000 5800 5000
+Wire Wire Line
+ 5800 5000 5800 4300
+Wire Wire Line
+ 5800 4300 5950 4300
+Wire Wire Line
+ 2700 5550 5900 5550
+Wire Wire Line
+ 5900 5550 5900 4450
+Wire Wire Line
+ 5900 4450 5950 4450
+Wire Wire Line
+ 7250 4300 7500 4300
+Wire Wire Line
+ 7250 4450 7500 4450
+Wire Wire Line
+ 7500 4450 7500 4550
+Wire Wire Line
+ 7250 4000 7550 4000
+Wire Wire Line
+ 6400 4900 5600 4900
+Wire Wire Line
+ 5600 4900 5600 4600
+Wire Wire Line
+ 7250 2850 7300 2850
+Connection ~ 7250 3400
+Connection ~ 5200 4850
+Wire Wire Line
+ 5200 5800 5200 4850
+$Comp
+L PORT U1
+U 1 1 6298E683
+P 2450 4500
+F 0 "U1" H 2500 4600 30 0000 C CNN
+F 1 "PORT" H 2450 4500 30 0000 C CNN
+F 2 "" H 2450 4500 60 0000 C CNN
+F 3 "" H 2450 4500 60 0000 C CNN
+ 1 2450 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6298E6C8
+P 2450 5000
+F 0 "U1" H 2500 5100 30 0000 C CNN
+F 1 "PORT" H 2450 5000 30 0000 C CNN
+F 2 "" H 2450 5000 60 0000 C CNN
+F 3 "" H 2450 5000 60 0000 C CNN
+ 2 2450 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6298E74C
+P 2450 5550
+F 0 "U1" H 2500 5650 30 0000 C CNN
+F 1 "PORT" H 2450 5550 30 0000 C CNN
+F 2 "" H 2450 5550 60 0000 C CNN
+F 3 "" H 2450 5550 60 0000 C CNN
+ 3 2450 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 6298EDFF
+P 2450 4050
+F 0 "U1" H 2500 4150 30 0000 C CNN
+F 1 "PORT" H 2450 4050 30 0000 C CNN
+F 2 "" H 2450 4050 60 0000 C CNN
+F 3 "" H 2450 4050 60 0000 C CNN
+ 15 2450 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6298F2EA
+P 2450 3500
+F 0 "U1" H 2500 3600 30 0000 C CNN
+F 1 "PORT" H 2450 3500 30 0000 C CNN
+F 2 "" H 2450 3500 60 0000 C CNN
+F 3 "" H 2450 3500 60 0000 C CNN
+ 7 2450 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6298F38C
+P 2450 2950
+F 0 "U1" H 2500 3050 30 0000 C CNN
+F 1 "PORT" H 2450 2950 30 0000 C CNN
+F 2 "" H 2450 2950 60 0000 C CNN
+F 3 "" H 2450 2950 60 0000 C CNN
+ 6 2450 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6298F3CD
+P 2450 2450
+F 0 "U1" H 2500 2550 30 0000 C CNN
+F 1 "PORT" H 2450 2450 30 0000 C CNN
+F 2 "" H 2450 2450 60 0000 C CNN
+F 3 "" H 2450 2450 60 0000 C CNN
+ 5 2450 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6298F420
+P 2450 2000
+F 0 "U1" H 2500 2100 30 0000 C CNN
+F 1 "PORT" H 2450 2000 30 0000 C CNN
+F 2 "" H 2450 2000 60 0000 C CNN
+F 3 "" H 2450 2000 60 0000 C CNN
+ 4 2450 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6298FEA6
+P 4950 5800
+F 0 "U1" H 5000 5900 30 0000 C CNN
+F 1 "PORT" H 4950 5800 30 0000 C CNN
+F 2 "" H 4950 5800 60 0000 C CNN
+F 3 "" H 4950 5800 60 0000 C CNN
+ 8 4950 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62990870
+P 6650 4900
+F 0 "U1" H 6700 5000 30 0000 C CNN
+F 1 "PORT" H 6650 4900 30 0000 C CNN
+F 2 "" H 6650 4900 60 0000 C CNN
+F 3 "" H 6650 4900 60 0000 C CNN
+ 9 6650 4900
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62990AD2
+P 6000 3100
+F 0 "U1" H 6050 3200 30 0000 C CNN
+F 1 "PORT" H 6000 3100 30 0000 C CNN
+F 2 "" H 6000 3100 60 0000 C CNN
+F 3 "" H 6000 3100 60 0000 C CNN
+ 10 6000 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62990B25
+P 5900 2850
+F 0 "U1" H 5950 2950 30 0000 C CNN
+F 1 "PORT" H 5900 2850 30 0000 C CNN
+F 2 "" H 5900 2850 60 0000 C CNN
+F 3 "" H 5900 2850 60 0000 C CNN
+ 11 5900 2850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62990C76
+P 7750 4550
+F 0 "U1" H 7800 4650 30 0000 C CNN
+F 1 "PORT" H 7750 4550 30 0000 C CNN
+F 2 "" H 7750 4550 60 0000 C CNN
+F 3 "" H 7750 4550 60 0000 C CNN
+ 12 7750 4550
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62990CD3
+P 7750 4300
+F 0 "U1" H 7800 4400 30 0000 C CNN
+F 1 "PORT" H 7750 4300 30 0000 C CNN
+F 2 "" H 7750 4300 60 0000 C CNN
+F 3 "" H 7750 4300 60 0000 C CNN
+ 13 7750 4300
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62990D95
+P 7800 4000
+F 0 "U1" H 7850 4100 30 0000 C CNN
+F 1 "PORT" H 7800 4000 30 0000 C CNN
+F 2 "" H 7800 4000 60 0000 C CNN
+F 3 "" H 7800 4000 60 0000 C CNN
+ 14 7800 4000
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62990E29
+P 7550 2850
+F 0 "U1" H 7600 2950 30 0000 C CNN
+F 1 "PORT" H 7550 2850 30 0000 C CNN
+F 2 "" H 7550 2850 60 0000 C CNN
+F 3 "" H 7550 2850 60 0000 C CNN
+ 16 7550 2850
+ -1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008.sub b/library/SubcircuitLibrary/CD_4008/CD_4008.sub
new file mode 100644
index 00000000..8f8b1fc1
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008.sub
@@ -0,0 +1,9 @@
+* Subcircuit CD_4008
+.subckt CD_4008 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4008\cd_4008.cir
+.include Adder_2bit.sub
+x1 net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad16_ net-_x1-pad17_ Adder_2bit
+x2 net-_u1-pad15_ net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad8_ net-_x1-pad17_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad16_ net-_u1-pad14_ Adder_2bit
+* Control Statements
+
+.ends CD_4008 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/CD_4008_Previous_Values.xml b/library/SubcircuitLibrary/CD_4008/CD_4008_Previous_Values.xml
new file mode 100644
index 00000000..ed759a67
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/CD_4008_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel /><subcircuit><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\Adder_2bit</field></x1><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\Adder_2bit</field></x2></subcircuit></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4008/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4008/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4008/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4008/README.md b/library/SubcircuitLibrary/CD_4008/README.md
new file mode 100644
index 00000000..e07f1d56
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/README.md
@@ -0,0 +1,27 @@
+
+# CD4008 IC
+
+CD4008 is 4 bit full adder with parallel carry out IC. It is designed with 180nm CMOS technology in eSim. It is 16 pin IC.
+## Usage/Examples
+
+High Speed Arithmetic operations
+
+Miniature calculators
+
+Counters
+
+Simple logic control designs
+## Documentation
+
+To know the details of CD4008 IC please go through with the documentation : [CD4008_datasheet](https://www.alldatasheet.com/datasheet-pdf/pdf/66388/INTERSIL/CD4008.html)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4008/analysis b/library/SubcircuitLibrary/CD_4008/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4008/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011-cache.lib b/library/SubcircuitLibrary/CD_4011/CD_4011-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011.cir b/library/SubcircuitLibrary/CD_4011/CD_4011.cir
new file mode 100644
index 00000000..ec450aea
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011.cir
@@ -0,0 +1,27 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4011\CD_4011.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/26/22 10:04:49
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M5 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_N
+M8 Net-_M2-Pad1_ Net-_M6-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M6 Net-_M5-Pad3_ Net-_M6-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ eSim_MOS_N
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M13 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M13-Pad3_ Net-_M13-Pad3_ eSim_MOS_N
+M16 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M14 Net-_M13-Pad3_ Net-_M14-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M3 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M7 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M4 Net-_M3-Pad3_ Net-_M4-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ eSim_MOS_N
+M9 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_N
+M15 Net-_M11-Pad1_ Net-_M12-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M12 Net-_M11-Pad3_ Net-_M12-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad2_ Net-_M4-Pad2_ Net-_M1-Pad1_ Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M12-Pad2_ Net-_M12-Pad3_ Net-_M10-Pad2_ Net-_M14-Pad2_ Net-_M10-Pad1_ Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M6-Pad2_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011.cir.out b/library/SubcircuitLibrary/CD_4011/CD_4011.cir.out
new file mode 100644
index 00000000..b2c1ec12
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011.cir.out
@@ -0,0 +1,30 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4011\cd_4011.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m2-pad1_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m2-pad1_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m6-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m10-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m11-pad3_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m4-pad2_ net-_m1-pad1_ net-_m11-pad1_ net-_m11-pad2_ net-_m12-pad2_ net-_m12-pad3_ net-_m10-pad2_ net-_m14-pad2_ net-_m10-pad1_ net-_m2-pad1_ net-_m2-pad2_ net-_m6-pad2_ net-_m1-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011.pro b/library/SubcircuitLibrary/CD_4011/CD_4011.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011.sch b/library/SubcircuitLibrary/CD_4011/CD_4011.sch
new file mode 100644
index 00000000..a274458b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011.sch
@@ -0,0 +1,663 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4011-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M2
+U 1 1 628F017A
+P 3750 4150
+F 0 "M2" H 3700 4200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3800 4300 50 0000 R CNN
+F 2 "" H 4000 4250 29 0000 C CNN
+F 3 "" H 3800 4150 60 0000 C CNN
+ 1 3750 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 628F017B
+P 3950 4650
+F 0 "M5" H 3950 4500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4050 4600 50 0000 R CNN
+F 2 "" H 4250 4350 29 0000 C CNN
+F 3 "" H 4050 4450 60 0000 C CNN
+ 1 3950 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 628F017C
+P 4550 4150
+F 0 "M8" H 4500 4200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4600 4300 50 0000 R CNN
+F 2 "" H 4800 4250 29 0000 C CNN
+F 3 "" H 4600 4150 60 0000 C CNN
+ 1 4550 4150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 628F017D
+P 3950 5250
+F 0 "M6" H 3950 5100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4050 5200 50 0000 R CNN
+F 2 "" H 4250 4950 29 0000 C CNN
+F 3 "" H 4050 5050 60 0000 C CNN
+ 1 3950 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M10
+U 1 1 628F017E
+P 6100 4150
+F 0 "M10" H 6050 4200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6150 4300 50 0000 R CNN
+F 2 "" H 6350 4250 29 0000 C CNN
+F 3 "" H 6150 4150 60 0000 C CNN
+ 1 6100 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 628F017F
+P 6300 4650
+F 0 "M13" H 6300 4500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6400 4600 50 0000 R CNN
+F 2 "" H 6600 4350 29 0000 C CNN
+F 3 "" H 6400 4450 60 0000 C CNN
+ 1 6300 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 628F0180
+P 6900 4150
+F 0 "M16" H 6850 4200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6950 4300 50 0000 R CNN
+F 2 "" H 7150 4250 29 0000 C CNN
+F 3 "" H 6950 4150 60 0000 C CNN
+ 1 6900 4150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 628F0181
+P 6300 5250
+F 0 "M14" H 6300 5100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6400 5200 50 0000 R CNN
+F 2 "" H 6600 4950 29 0000 C CNN
+F 3 "" H 6400 5050 60 0000 C CNN
+ 1 6300 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 628F0182
+P 3750 2050
+F 0 "M1" H 3700 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3800 2200 50 0000 R CNN
+F 2 "" H 4000 2150 29 0000 C CNN
+F 3 "" H 3800 2050 60 0000 C CNN
+ 1 3750 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 628F0183
+P 3950 2550
+F 0 "M3" H 3950 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4050 2500 50 0000 R CNN
+F 2 "" H 4250 2250 29 0000 C CNN
+F 3 "" H 4050 2350 60 0000 C CNN
+ 1 3950 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 628F0184
+P 4550 2050
+F 0 "M7" H 4500 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4600 2200 50 0000 R CNN
+F 2 "" H 4800 2150 29 0000 C CNN
+F 3 "" H 4600 2050 60 0000 C CNN
+ 1 4550 2050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 628F0185
+P 3950 3150
+F 0 "M4" H 3950 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4050 3100 50 0000 R CNN
+F 2 "" H 4250 2850 29 0000 C CNN
+F 3 "" H 4050 2950 60 0000 C CNN
+ 1 3950 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M9
+U 1 1 628F0186
+P 6100 2050
+F 0 "M9" H 6050 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6150 2200 50 0000 R CNN
+F 2 "" H 6350 2150 29 0000 C CNN
+F 3 "" H 6150 2050 60 0000 C CNN
+ 1 6100 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M11
+U 1 1 628F0187
+P 6300 2550
+F 0 "M11" H 6300 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6400 2500 50 0000 R CNN
+F 2 "" H 6600 2250 29 0000 C CNN
+F 3 "" H 6400 2350 60 0000 C CNN
+ 1 6300 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M15
+U 1 1 628F0188
+P 6900 2050
+F 0 "M15" H 6850 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6950 2200 50 0000 R CNN
+F 2 "" H 7150 2150 29 0000 C CNN
+F 3 "" H 6950 2050 60 0000 C CNN
+ 1 6900 2050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M12
+U 1 1 628F0189
+P 6300 3150
+F 0 "M12" H 6300 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6400 3100 50 0000 R CNN
+F 2 "" H 6600 2850 29 0000 C CNN
+F 3 "" H 6400 2950 60 0000 C CNN
+ 1 6300 3150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3900 3950 3900 3850
+Wire Wire Line
+ 3900 3850 4400 3850
+Wire Wire Line
+ 4400 3850 4400 3950
+Wire Wire Line
+ 3900 4350 3900 4400
+Wire Wire Line
+ 3900 4400 4400 4400
+Wire Wire Line
+ 4400 4400 4400 4350
+Wire Wire Line
+ 4000 4000 4000 3850
+Connection ~ 4000 3850
+Wire Wire Line
+ 4300 4000 4300 3850
+Connection ~ 4300 3850
+Wire Wire Line
+ 4150 4400 4150 4650
+Connection ~ 4150 4400
+Wire Wire Line
+ 4150 5050 4150 5250
+Wire Wire Line
+ 4250 5000 4250 5150
+Wire Wire Line
+ 4250 5150 4150 5150
+Connection ~ 4150 5150
+Wire Wire Line
+ 4150 5650 4150 5700
+Wire Wire Line
+ 4150 5700 4250 5700
+Wire Wire Line
+ 4250 5700 4250 5600
+Wire Wire Line
+ 4150 4550 4700 4550
+Connection ~ 4150 4550
+Wire Wire Line
+ 3600 4150 3500 4150
+Wire Wire Line
+ 3500 4150 3500 4850
+Wire Wire Line
+ 3500 4850 3850 4850
+Wire Wire Line
+ 3850 5450 3800 5450
+Wire Wire Line
+ 3800 5450 3800 4450
+Wire Wire Line
+ 3800 4450 4700 4450
+Wire Wire Line
+ 4700 4450 4700 4150
+Wire Wire Line
+ 3500 4450 3150 4450
+Connection ~ 3500 4450
+Wire Wire Line
+ 3800 5050 3150 5050
+Connection ~ 3800 5050
+Wire Wire Line
+ 6250 3950 6250 3850
+Wire Wire Line
+ 6250 3850 6750 3850
+Wire Wire Line
+ 6750 3850 6750 3950
+Wire Wire Line
+ 6250 4350 6250 4400
+Wire Wire Line
+ 6250 4400 6750 4400
+Wire Wire Line
+ 6750 4400 6750 4350
+Wire Wire Line
+ 6350 4000 6350 3850
+Connection ~ 6350 3850
+Wire Wire Line
+ 6650 4000 6650 3850
+Connection ~ 6650 3850
+Wire Wire Line
+ 6500 4400 6500 4650
+Connection ~ 6500 4400
+Wire Wire Line
+ 6500 5050 6500 5250
+Wire Wire Line
+ 6600 5000 6600 5150
+Wire Wire Line
+ 6600 5150 6500 5150
+Connection ~ 6500 5150
+Wire Wire Line
+ 6500 5650 6500 5700
+Wire Wire Line
+ 6500 5700 6600 5700
+Wire Wire Line
+ 6600 5700 6600 5600
+Wire Wire Line
+ 6500 4550 7050 4550
+Connection ~ 6500 4550
+Wire Wire Line
+ 5950 4150 5850 4150
+Wire Wire Line
+ 5850 4150 5850 4850
+Wire Wire Line
+ 5850 4850 6200 4850
+Wire Wire Line
+ 6200 5450 6150 5450
+Wire Wire Line
+ 6150 5450 6150 4450
+Wire Wire Line
+ 6150 4450 7050 4450
+Wire Wire Line
+ 7050 4450 7050 4150
+Wire Wire Line
+ 5850 4450 5500 4450
+Connection ~ 5850 4450
+Wire Wire Line
+ 6150 5050 5500 5050
+Connection ~ 6150 5050
+Wire Wire Line
+ 3900 1850 3900 1750
+Wire Wire Line
+ 3900 1750 4400 1750
+Wire Wire Line
+ 4400 1750 4400 1850
+Wire Wire Line
+ 3900 2250 3900 2300
+Wire Wire Line
+ 3900 2300 4400 2300
+Wire Wire Line
+ 4400 2300 4400 2250
+Wire Wire Line
+ 4000 1900 4000 1750
+Connection ~ 4000 1750
+Wire Wire Line
+ 4300 1900 4300 1750
+Connection ~ 4300 1750
+Wire Wire Line
+ 4150 2300 4150 2550
+Connection ~ 4150 2300
+Wire Wire Line
+ 4150 2950 4150 3150
+Wire Wire Line
+ 4250 2900 4250 3050
+Wire Wire Line
+ 4250 3050 4150 3050
+Connection ~ 4150 3050
+Wire Wire Line
+ 4150 3550 4150 3600
+Wire Wire Line
+ 4150 3600 4250 3600
+Wire Wire Line
+ 4250 3600 4250 3500
+Wire Wire Line
+ 4150 2450 4700 2450
+Connection ~ 4150 2450
+Wire Wire Line
+ 3600 2050 3500 2050
+Wire Wire Line
+ 3500 2050 3500 2750
+Wire Wire Line
+ 3500 2750 3850 2750
+Wire Wire Line
+ 3850 3350 3800 3350
+Wire Wire Line
+ 3800 3350 3800 2350
+Wire Wire Line
+ 3800 2350 4700 2350
+Wire Wire Line
+ 4700 2350 4700 2050
+Wire Wire Line
+ 3500 2350 3150 2350
+Connection ~ 3500 2350
+Wire Wire Line
+ 3800 2950 3150 2950
+Connection ~ 3800 2950
+Wire Wire Line
+ 6250 1850 6250 1750
+Wire Wire Line
+ 6250 1750 6750 1750
+Wire Wire Line
+ 6750 1750 6750 1850
+Wire Wire Line
+ 6250 2250 6250 2300
+Wire Wire Line
+ 6250 2300 6750 2300
+Wire Wire Line
+ 6750 2300 6750 2250
+Wire Wire Line
+ 6350 1900 6350 1750
+Connection ~ 6350 1750
+Wire Wire Line
+ 6650 1900 6650 1750
+Connection ~ 6650 1750
+Wire Wire Line
+ 6500 2300 6500 2550
+Connection ~ 6500 2300
+Wire Wire Line
+ 6500 2950 6500 3150
+Wire Wire Line
+ 6600 2900 6600 3050
+Wire Wire Line
+ 6600 3050 6500 3050
+Connection ~ 6500 3050
+Wire Wire Line
+ 6500 3550 6500 3600
+Wire Wire Line
+ 6500 3600 6600 3600
+Wire Wire Line
+ 6600 3600 6600 3500
+Wire Wire Line
+ 6500 2450 7050 2450
+Connection ~ 6500 2450
+Wire Wire Line
+ 5950 2050 5850 2050
+Wire Wire Line
+ 5850 2050 5850 2750
+Wire Wire Line
+ 5850 2750 6200 2750
+Wire Wire Line
+ 6200 3350 6150 3350
+Wire Wire Line
+ 6150 3350 6150 2350
+Wire Wire Line
+ 6150 2350 7050 2350
+Wire Wire Line
+ 7050 2350 7050 2050
+Wire Wire Line
+ 5850 2350 5500 2350
+Connection ~ 5850 2350
+Wire Wire Line
+ 6150 2950 5500 2950
+Connection ~ 6150 2950
+Wire Wire Line
+ 4200 3600 4200 3650
+Wire Wire Line
+ 4200 3650 6550 3650
+Wire Wire Line
+ 6550 3650 6550 3600
+Connection ~ 6550 3600
+Connection ~ 4200 3600
+Wire Wire Line
+ 4200 3850 4200 3800
+Wire Wire Line
+ 4200 3800 6550 3800
+Wire Wire Line
+ 6550 3800 6550 3850
+Connection ~ 6550 3850
+Connection ~ 4200 3850
+Wire Wire Line
+ 4200 5700 4200 5750
+Wire Wire Line
+ 4200 5750 6550 5750
+Wire Wire Line
+ 6550 5750 6550 5700
+Connection ~ 6550 5700
+Connection ~ 4200 5700
+Wire Wire Line
+ 4200 1750 4200 1700
+Wire Wire Line
+ 4200 1700 6500 1700
+Wire Wire Line
+ 6500 1700 6500 1750
+Connection ~ 6500 1750
+Connection ~ 4200 1750
+Wire Wire Line
+ 5100 1700 5100 3800
+Connection ~ 5100 3800
+Connection ~ 5100 1700
+Wire Wire Line
+ 5200 3650 5200 5750
+Connection ~ 5200 5750
+Connection ~ 5200 3650
+Wire Wire Line
+ 5550 1700 5550 1500
+Wire Wire Line
+ 5550 1500 4950 1500
+Connection ~ 5550 1700
+Wire Wire Line
+ 5500 5750 5500 6050
+Wire Wire Line
+ 5500 6050 4950 6050
+Connection ~ 5500 5750
+$Comp
+L PORT U1
+U 1 1 628F08C6
+P 2900 2350
+F 0 "U1" H 2950 2450 30 0000 C CNN
+F 1 "PORT" H 2900 2350 30 0000 C CNN
+F 2 "" H 2900 2350 60 0000 C CNN
+F 3 "" H 2900 2350 60 0000 C CNN
+ 1 2900 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 628F094D
+P 2900 2950
+F 0 "U1" H 2950 3050 30 0000 C CNN
+F 1 "PORT" H 2900 2950 30 0000 C CNN
+F 2 "" H 2900 2950 60 0000 C CNN
+F 3 "" H 2900 2950 60 0000 C CNN
+ 2 2900 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 628F09C0
+P 4950 2450
+F 0 "U1" H 5000 2550 30 0000 C CNN
+F 1 "PORT" H 4950 2450 30 0000 C CNN
+F 2 "" H 4950 2450 60 0000 C CNN
+F 3 "" H 4950 2450 60 0000 C CNN
+ 3 4950 2450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 628F0A6B
+P 7300 2450
+F 0 "U1" H 7350 2550 30 0000 C CNN
+F 1 "PORT" H 7300 2450 30 0000 C CNN
+F 2 "" H 7300 2450 60 0000 C CNN
+F 3 "" H 7300 2450 60 0000 C CNN
+ 4 7300 2450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 628F0C06
+P 5250 2350
+F 0 "U1" H 5300 2450 30 0000 C CNN
+F 1 "PORT" H 5250 2350 30 0000 C CNN
+F 2 "" H 5250 2350 60 0000 C CNN
+F 3 "" H 5250 2350 60 0000 C CNN
+ 5 5250 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 628F0C9B
+P 5250 2950
+F 0 "U1" H 5300 3050 30 0000 C CNN
+F 1 "PORT" H 5250 2950 30 0000 C CNN
+F 2 "" H 5250 2950 60 0000 C CNN
+F 3 "" H 5250 2950 60 0000 C CNN
+ 6 5250 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 628F0D16
+P 4700 6050
+F 0 "U1" H 4750 6150 30 0000 C CNN
+F 1 "PORT" H 4700 6050 30 0000 C CNN
+F 2 "" H 4700 6050 60 0000 C CNN
+F 3 "" H 4700 6050 60 0000 C CNN
+ 7 4700 6050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 628F0DF3
+P 5250 4450
+F 0 "U1" H 5300 4550 30 0000 C CNN
+F 1 "PORT" H 5250 4450 30 0000 C CNN
+F 2 "" H 5250 4450 60 0000 C CNN
+F 3 "" H 5250 4450 60 0000 C CNN
+ 8 5250 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 628F0E8C
+P 5250 5050
+F 0 "U1" H 5300 5150 30 0000 C CNN
+F 1 "PORT" H 5250 5050 30 0000 C CNN
+F 2 "" H 5250 5050 60 0000 C CNN
+F 3 "" H 5250 5050 60 0000 C CNN
+ 9 5250 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 628F0F4D
+P 7300 4550
+F 0 "U1" H 7350 4650 30 0000 C CNN
+F 1 "PORT" H 7300 4550 30 0000 C CNN
+F 2 "" H 7300 4550 60 0000 C CNN
+F 3 "" H 7300 4550 60 0000 C CNN
+ 10 7300 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 628F0FE8
+P 4950 4550
+F 0 "U1" H 5000 4650 30 0000 C CNN
+F 1 "PORT" H 4950 4550 30 0000 C CNN
+F 2 "" H 4950 4550 60 0000 C CNN
+F 3 "" H 4950 4550 60 0000 C CNN
+ 11 4950 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 628F10E8
+P 2900 4450
+F 0 "U1" H 2950 4550 30 0000 C CNN
+F 1 "PORT" H 2900 4450 30 0000 C CNN
+F 2 "" H 2900 4450 60 0000 C CNN
+F 3 "" H 2900 4450 60 0000 C CNN
+ 12 2900 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 628F114F
+P 2900 5050
+F 0 "U1" H 2950 5150 30 0000 C CNN
+F 1 "PORT" H 2900 5050 30 0000 C CNN
+F 2 "" H 2900 5050 60 0000 C CNN
+F 3 "" H 2900 5050 60 0000 C CNN
+ 13 2900 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 628F11AC
+P 4700 1500
+F 0 "U1" H 4750 1600 30 0000 C CNN
+F 1 "PORT" H 4700 1500 30 0000 C CNN
+F 2 "" H 4700 1500 60 0000 C CNN
+F 3 "" H 4700 1500 60 0000 C CNN
+ 14 4700 1500
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011.sub b/library/SubcircuitLibrary/CD_4011/CD_4011.sub
new file mode 100644
index 00000000..b2753141
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011.sub
@@ -0,0 +1,24 @@
+* Subcircuit CD_4011
+.subckt CD_4011 net-_m1-pad2_ net-_m4-pad2_ net-_m1-pad1_ net-_m11-pad1_ net-_m11-pad2_ net-_m12-pad2_ net-_m12-pad3_ net-_m10-pad2_ net-_m14-pad2_ net-_m10-pad1_ net-_m2-pad1_ net-_m2-pad2_ net-_m6-pad2_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4011\cd_4011.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m2-pad1_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m2-pad1_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m6-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m10-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m11-pad3_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4011 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4011/CD_4011_Previous_Values.xml b/library/SubcircuitLibrary/CD_4011/CD_4011_Previous_Values.xml
new file mode 100644
index 00000000..e953367c
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/CD_4011_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m9><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m11><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m12></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4011/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4011/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4011/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4011/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4011/README.md b/library/SubcircuitLibrary/CD_4011/README.md
new file mode 100644
index 00000000..7e8f7317
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/README.md
@@ -0,0 +1,32 @@
+
+# CD4011 IC
+
+It is 2-input NAND Gate IC. CD4011 IC is designed with 180nm CMOS technology in eSim consisting four NAND Gates. When both the inputs are HIGH then only output is LOW, otherwise HIGH. It is also called inverted AND Gate, a type of Universal Gate.
+
+
+## Usage/Examples
+
+Employed in portable Audio Docks
+
+Used in AV Receivers
+
+Used in MP3 Players or Recorders
+
+Applied in Home Theater
+
+Incorporated in Blu-Ray Players
+
+## Documentation
+
+To know the details of CD4011 IC please go through with the documentation : [CD4011_datasheet](https://www.ti.com/lit/gpn/cd4011b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4011/analysis b/library/SubcircuitLibrary/CD_4011/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4011/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023-cache.lib b/library/SubcircuitLibrary/CD_4023/CD_4023-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023.cir b/library/SubcircuitLibrary/CD_4023/CD_4023.cir
new file mode 100644
index 00000000..5f80efd8
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023.cir
@@ -0,0 +1,29 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4023\CD_4023.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/26/22 15:14:54
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M3 Net-_M2-Pad3_ Net-_M3-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M6 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M5 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M2 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M2-Pad3_ Net-_M2-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M4-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_N
+M8 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M13 Net-_M12-Pad3_ Net-_M13-Pad2_ Net-_M13-Pad3_ Net-_M13-Pad3_ eSim_MOS_N
+M18 Net-_M12-Pad1_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M16 Net-_M12-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M12 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ eSim_MOS_N
+M14 Net-_M13-Pad3_ Net-_M14-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_N
+M7 Net-_M15-Pad1_ Net-_M7-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M17 Net-_M15-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M15 Net-_M15-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M9 Net-_M15-Pad1_ Net-_M7-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_N
+M11 Net-_M10-Pad3_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad2_ Net-_M3-Pad2_ Net-_M12-Pad2_ Net-_M13-Pad2_ Net-_M14-Pad2_ Net-_M12-Pad1_ Net-_M11-Pad3_ Net-_M4-Pad2_ Net-_M1-Pad1_ Net-_M15-Pad1_ Net-_M7-Pad2_ Net-_M10-Pad2_ Net-_M11-Pad2_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023.cir.out b/library/SubcircuitLibrary/CD_4023/CD_4023.cir.out
new file mode 100644
index 00000000..86a72392
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023.cir.out
@@ -0,0 +1,32 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4023\cd_4023.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m2-pad3_ net-_m3-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m12-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m12-pad3_ net-_m13-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m12-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m15-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m15-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m15-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m15-pad1_ net-_m7-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m11 net-_m10-pad3_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m3-pad2_ net-_m12-pad2_ net-_m13-pad2_ net-_m14-pad2_ net-_m12-pad1_ net-_m11-pad3_ net-_m4-pad2_ net-_m1-pad1_ net-_m15-pad1_ net-_m7-pad2_ net-_m10-pad2_ net-_m11-pad2_ net-_m1-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023.pro b/library/SubcircuitLibrary/CD_4023/CD_4023.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023.sch b/library/SubcircuitLibrary/CD_4023/CD_4023.sch
new file mode 100644
index 00000000..011d0fb3
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023.sch
@@ -0,0 +1,606 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4023-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M1
+U 1 1 628F45D1
+P 3150 4000
+F 0 "M1" H 3100 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3200 4150 50 0000 R CNN
+F 2 "" H 3400 4100 29 0000 C CNN
+F 3 "" H 3200 4000 60 0000 C CNN
+ 1 3150 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 628F45D2
+P 3600 4850
+F 0 "M3" H 3600 4700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3700 4800 50 0000 R CNN
+F 2 "" H 3900 4550 29 0000 C CNN
+F 3 "" H 3700 4650 60 0000 C CNN
+ 1 3600 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 628F45D3
+P 4350 4000
+F 0 "M6" H 4300 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4400 4150 50 0000 R CNN
+F 2 "" H 4600 4100 29 0000 C CNN
+F 3 "" H 4400 4000 60 0000 C CNN
+ 1 4350 4000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 628F45D4
+P 3650 4000
+F 0 "M5" H 3600 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3700 4150 50 0000 R CNN
+F 2 "" H 3900 4100 29 0000 C CNN
+F 3 "" H 3700 4000 60 0000 C CNN
+ 1 3650 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 628F45D5
+P 3600 4400
+F 0 "M2" H 3600 4250 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3700 4350 50 0000 R CNN
+F 2 "" H 3900 4100 29 0000 C CNN
+F 3 "" H 3700 4200 60 0000 C CNN
+ 1 3600 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 628F45D6
+P 3600 5300
+F 0 "M4" H 3600 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3700 5250 50 0000 R CNN
+F 2 "" H 3900 5000 29 0000 C CNN
+F 3 "" H 3700 5100 60 0000 C CNN
+ 1 3600 5300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3300 4200 3300 4250
+Wire Wire Line
+ 3300 4250 4200 4250
+Wire Wire Line
+ 3800 4200 3800 4400
+Wire Wire Line
+ 4200 4250 4200 4200
+Connection ~ 3800 4250
+Wire Wire Line
+ 3800 4800 3800 4850
+Wire Wire Line
+ 3800 5250 3800 5300
+Wire Wire Line
+ 3900 4750 3900 4800
+Wire Wire Line
+ 3900 4800 3800 4800
+Wire Wire Line
+ 3900 5200 3900 5250
+Wire Wire Line
+ 3900 5250 3800 5250
+Wire Wire Line
+ 3900 5650 3900 5700
+Wire Wire Line
+ 3800 5700 6050 5700
+Wire Wire Line
+ 3300 3800 6350 3800
+Wire Wire Line
+ 3400 3800 3400 3850
+Wire Wire Line
+ 3900 3800 3900 3850
+Wire Wire Line
+ 4100 3800 4100 3850
+Wire Wire Line
+ 3800 4350 4550 4350
+Connection ~ 3800 4350
+Wire Wire Line
+ 3000 4000 3000 4600
+Wire Wire Line
+ 2850 4600 3500 4600
+Wire Wire Line
+ 3500 4000 3500 5050
+Wire Wire Line
+ 4500 4000 4500 4300
+Wire Wire Line
+ 4500 4300 3450 4300
+Wire Wire Line
+ 3450 4300 3450 5500
+Wire Wire Line
+ 3450 5500 3500 5500
+Connection ~ 3000 4600
+Wire Wire Line
+ 3450 5000 2850 5000
+Connection ~ 3450 5000
+Wire Wire Line
+ 3500 4800 2850 4800
+Connection ~ 3500 4800
+Connection ~ 3800 3800
+Connection ~ 3400 3800
+Connection ~ 4100 3800
+Connection ~ 3900 3800
+$Comp
+L eSim_MOS_P M8
+U 1 1 628F45D7
+P 5300 4000
+F 0 "M8" H 5250 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5350 4150 50 0000 R CNN
+F 2 "" H 5550 4100 29 0000 C CNN
+F 3 "" H 5350 4000 60 0000 C CNN
+ 1 5300 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 628F45D8
+P 5750 4850
+F 0 "M13" H 5750 4700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 4800 50 0000 R CNN
+F 2 "" H 6050 4550 29 0000 C CNN
+F 3 "" H 5850 4650 60 0000 C CNN
+ 1 5750 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 628F45D9
+P 6500 4000
+F 0 "M18" H 6450 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6550 4150 50 0000 R CNN
+F 2 "" H 6750 4100 29 0000 C CNN
+F 3 "" H 6550 4000 60 0000 C CNN
+ 1 6500 4000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 628F45DA
+P 5800 4000
+F 0 "M16" H 5750 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5850 4150 50 0000 R CNN
+F 2 "" H 6050 4100 29 0000 C CNN
+F 3 "" H 5850 4000 60 0000 C CNN
+ 1 5800 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M12
+U 1 1 628F45DB
+P 5750 4400
+F 0 "M12" H 5750 4250 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 4350 50 0000 R CNN
+F 2 "" H 6050 4100 29 0000 C CNN
+F 3 "" H 5850 4200 60 0000 C CNN
+ 1 5750 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 628F45DC
+P 5750 5300
+F 0 "M14" H 5750 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 5250 50 0000 R CNN
+F 2 "" H 6050 5000 29 0000 C CNN
+F 3 "" H 5850 5100 60 0000 C CNN
+ 1 5750 5300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5450 4200 5450 4250
+Wire Wire Line
+ 5450 4250 6350 4250
+Wire Wire Line
+ 5950 4200 5950 4400
+Wire Wire Line
+ 6350 4250 6350 4200
+Connection ~ 5950 4250
+Wire Wire Line
+ 5950 4800 5950 4850
+Wire Wire Line
+ 5950 5250 5950 5300
+Wire Wire Line
+ 6050 4750 6050 4800
+Wire Wire Line
+ 6050 4800 5950 4800
+Wire Wire Line
+ 6050 5200 6050 5250
+Wire Wire Line
+ 6050 5250 5950 5250
+Wire Wire Line
+ 6050 5700 6050 5650
+Wire Wire Line
+ 5550 3800 5550 3850
+Wire Wire Line
+ 6050 3800 6050 3850
+Wire Wire Line
+ 6250 3800 6250 3850
+Wire Wire Line
+ 5950 4350 6700 4350
+Connection ~ 5950 4350
+Wire Wire Line
+ 5150 4000 5150 4600
+Wire Wire Line
+ 5000 4600 5650 4600
+Wire Wire Line
+ 5650 4000 5650 5050
+Wire Wire Line
+ 6650 4000 6650 4300
+Wire Wire Line
+ 6650 4300 5600 4300
+Wire Wire Line
+ 5600 4300 5600 5500
+Wire Wire Line
+ 5600 5500 5650 5500
+Connection ~ 5150 4600
+Wire Wire Line
+ 5600 5000 5000 5000
+Connection ~ 5600 5000
+Wire Wire Line
+ 5650 4800 5000 4800
+Connection ~ 5650 4800
+Connection ~ 5950 3800
+Connection ~ 5550 3800
+Connection ~ 6250 3800
+Connection ~ 6050 3800
+$Comp
+L eSim_MOS_P M7
+U 1 1 628F45E3
+P 5300 1850
+F 0 "M7" H 5250 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5350 2000 50 0000 R CNN
+F 2 "" H 5550 1950 29 0000 C CNN
+F 3 "" H 5350 1850 60 0000 C CNN
+ 1 5300 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 628F45E4
+P 5750 2700
+F 0 "M10" H 5750 2550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 2650 50 0000 R CNN
+F 2 "" H 6050 2400 29 0000 C CNN
+F 3 "" H 5850 2500 60 0000 C CNN
+ 1 5750 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M17
+U 1 1 628F45E5
+P 6500 1850
+F 0 "M17" H 6450 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6550 2000 50 0000 R CNN
+F 2 "" H 6750 1950 29 0000 C CNN
+F 3 "" H 6550 1850 60 0000 C CNN
+ 1 6500 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M15
+U 1 1 628F45E6
+P 5800 1850
+F 0 "M15" H 5750 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5850 2000 50 0000 R CNN
+F 2 "" H 6050 1950 29 0000 C CNN
+F 3 "" H 5850 1850 60 0000 C CNN
+ 1 5800 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 628F45E7
+P 5750 2250
+F 0 "M9" H 5750 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 2200 50 0000 R CNN
+F 2 "" H 6050 1950 29 0000 C CNN
+F 3 "" H 5850 2050 60 0000 C CNN
+ 1 5750 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M11
+U 1 1 628F45E8
+P 5750 3150
+F 0 "M11" H 5750 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5850 3100 50 0000 R CNN
+F 2 "" H 6050 2850 29 0000 C CNN
+F 3 "" H 5850 2950 60 0000 C CNN
+ 1 5750 3150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5450 2050 5450 2100
+Wire Wire Line
+ 5450 2100 6350 2100
+Wire Wire Line
+ 5950 2050 5950 2250
+Wire Wire Line
+ 6350 2100 6350 2050
+Connection ~ 5950 2100
+Wire Wire Line
+ 5950 2650 5950 2700
+Wire Wire Line
+ 5950 3100 5950 3150
+Wire Wire Line
+ 6050 2600 6050 2650
+Wire Wire Line
+ 6050 2650 5950 2650
+Wire Wire Line
+ 6050 3050 6050 3100
+Wire Wire Line
+ 6050 3100 5950 3100
+Wire Wire Line
+ 6050 3550 6050 3500
+Wire Wire Line
+ 5550 1650 5550 1700
+Wire Wire Line
+ 6050 1650 6050 1700
+Wire Wire Line
+ 6250 1650 6250 1700
+Wire Wire Line
+ 5950 2200 6700 2200
+Connection ~ 5950 2200
+Wire Wire Line
+ 5150 1850 5150 2450
+Wire Wire Line
+ 5000 2450 5650 2450
+Wire Wire Line
+ 5650 1850 5650 2900
+Wire Wire Line
+ 6650 1850 6650 2150
+Wire Wire Line
+ 6650 2150 5600 2150
+Wire Wire Line
+ 5600 2150 5600 3350
+Wire Wire Line
+ 5600 3350 5650 3350
+Connection ~ 5150 2450
+Wire Wire Line
+ 5600 2850 5000 2850
+Connection ~ 5600 2850
+Wire Wire Line
+ 5650 2650 5000 2650
+Connection ~ 5650 2650
+Connection ~ 5950 1650
+Connection ~ 5550 1650
+Connection ~ 6250 1650
+Connection ~ 6050 1650
+Connection ~ 5950 3550
+Connection ~ 5450 1650
+Connection ~ 5450 3800
+Connection ~ 4200 3800
+Connection ~ 5950 5700
+Connection ~ 3900 5700
+Connection ~ 4650 5700
+Wire Wire Line
+ 4850 1450 4850 3800
+Connection ~ 4850 3800
+Wire Wire Line
+ 5000 5700 5000 5950
+Wire Wire Line
+ 5000 5950 4450 5950
+Connection ~ 5000 5700
+$Comp
+L PORT U1
+U 1 1 628F6990
+P 2600 4600
+F 0 "U1" H 2650 4700 30 0000 C CNN
+F 1 "PORT" H 2600 4600 30 0000 C CNN
+F 2 "" H 2600 4600 60 0000 C CNN
+F 3 "" H 2600 4600 60 0000 C CNN
+ 1 2600 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 628F6A4B
+P 2600 4800
+F 0 "U1" H 2650 4900 30 0000 C CNN
+F 1 "PORT" H 2600 4800 30 0000 C CNN
+F 2 "" H 2600 4800 60 0000 C CNN
+F 3 "" H 2600 4800 60 0000 C CNN
+ 2 2600 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 628F6AB4
+P 4750 4600
+F 0 "U1" H 4800 4700 30 0000 C CNN
+F 1 "PORT" H 4750 4600 30 0000 C CNN
+F 2 "" H 4750 4600 60 0000 C CNN
+F 3 "" H 4750 4600 60 0000 C CNN
+ 3 4750 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 628F6B19
+P 4750 4800
+F 0 "U1" H 4800 4900 30 0000 C CNN
+F 1 "PORT" H 4750 4800 30 0000 C CNN
+F 2 "" H 4750 4800 60 0000 C CNN
+F 3 "" H 4750 4800 60 0000 C CNN
+ 4 4750 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 628F6B78
+P 4750 5000
+F 0 "U1" H 4800 5100 30 0000 C CNN
+F 1 "PORT" H 4750 5000 30 0000 C CNN
+F 2 "" H 4750 5000 60 0000 C CNN
+F 3 "" H 4750 5000 60 0000 C CNN
+ 5 4750 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 628F6C2E
+P 6950 4350
+F 0 "U1" H 7000 4450 30 0000 C CNN
+F 1 "PORT" H 6950 4350 30 0000 C CNN
+F 2 "" H 6950 4350 60 0000 C CNN
+F 3 "" H 6950 4350 60 0000 C CNN
+ 6 6950 4350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 628F6CC7
+P 4200 5950
+F 0 "U1" H 4250 6050 30 0000 C CNN
+F 1 "PORT" H 4200 5950 30 0000 C CNN
+F 2 "" H 4200 5950 60 0000 C CNN
+F 3 "" H 4200 5950 60 0000 C CNN
+ 7 4200 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 628F6D56
+P 2600 5000
+F 0 "U1" H 2650 5100 30 0000 C CNN
+F 1 "PORT" H 2600 5000 30 0000 C CNN
+F 2 "" H 2600 5000 60 0000 C CNN
+F 3 "" H 2600 5000 60 0000 C CNN
+ 8 2600 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 628F6E60
+P 4800 4350
+F 0 "U1" H 4850 4450 30 0000 C CNN
+F 1 "PORT" H 4800 4350 30 0000 C CNN
+F 2 "" H 4800 4350 60 0000 C CNN
+F 3 "" H 4800 4350 60 0000 C CNN
+ 9 4800 4350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 628F6F5C
+P 6950 2200
+F 0 "U1" H 7000 2300 30 0000 C CNN
+F 1 "PORT" H 6950 2200 30 0000 C CNN
+F 2 "" H 6950 2200 60 0000 C CNN
+F 3 "" H 6950 2200 60 0000 C CNN
+ 10 6950 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 628F71A3
+P 4750 2450
+F 0 "U1" H 4800 2550 30 0000 C CNN
+F 1 "PORT" H 4750 2450 30 0000 C CNN
+F 2 "" H 4750 2450 60 0000 C CNN
+F 3 "" H 4750 2450 60 0000 C CNN
+ 11 4750 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 628F7210
+P 4750 2650
+F 0 "U1" H 4800 2750 30 0000 C CNN
+F 1 "PORT" H 4750 2650 30 0000 C CNN
+F 2 "" H 4750 2650 60 0000 C CNN
+F 3 "" H 4750 2650 60 0000 C CNN
+ 12 4750 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 628F7283
+P 4750 2850
+F 0 "U1" H 4800 2950 30 0000 C CNN
+F 1 "PORT" H 4750 2850 30 0000 C CNN
+F 2 "" H 4750 2850 60 0000 C CNN
+F 3 "" H 4750 2850 60 0000 C CNN
+ 13 4750 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 628F7300
+P 4550 1450
+F 0 "U1" H 4600 1550 30 0000 C CNN
+F 1 "PORT" H 4550 1450 30 0000 C CNN
+F 2 "" H 4550 1450 60 0000 C CNN
+F 3 "" H 4550 1450 60 0000 C CNN
+ 14 4550 1450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4850 1650 6350 1650
+Wire Wire Line
+ 4650 3550 6050 3550
+Wire Wire Line
+ 4650 3550 4650 5700
+Wire Wire Line
+ 4800 1450 4850 1450
+Connection ~ 4850 1650
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023.sub b/library/SubcircuitLibrary/CD_4023/CD_4023.sub
new file mode 100644
index 00000000..1a637c95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023.sub
@@ -0,0 +1,26 @@
+* Subcircuit CD_4023
+.subckt CD_4023 net-_m1-pad2_ net-_m3-pad2_ net-_m12-pad2_ net-_m13-pad2_ net-_m14-pad2_ net-_m12-pad1_ net-_m11-pad3_ net-_m4-pad2_ net-_m1-pad1_ net-_m15-pad1_ net-_m7-pad2_ net-_m10-pad2_ net-_m11-pad2_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4023\cd_4023.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m2-pad3_ net-_m3-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m1-pad2_ net-_m2-pad3_ net-_m2-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m12-pad1_ net-_m12-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m12-pad3_ net-_m13-pad2_ net-_m13-pad3_ net-_m13-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m12-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m15-pad1_ net-_m7-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m15-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m15-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m15-pad1_ net-_m7-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m11 net-_m10-pad3_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4023 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4023/CD_4023_Previous_Values.xml b/library/SubcircuitLibrary/CD_4023/CD_4023_Previous_Values.xml
new file mode 100644
index 00000000..52cd8138
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/CD_4023_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m12><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m17><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m11></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4023/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4023/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4023/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4023/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4023/README.md b/library/SubcircuitLibrary/CD_4023/README.md
new file mode 100644
index 00000000..fe51165e
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/README.md
@@ -0,0 +1,26 @@
+
+# CD4023 IC
+
+It is 3-input NAND Gate IC. CD4023 IC is designed with 180nm CMOS technology in eSim consisting three NAND Gates. When both the inputs are HIGH then only output is LOW, otherwise HIGH. It is also called inverted AND Gate, a type of Universal logic Gate.
+
+
+## Usage/Examples
+
+Burglar alarm
+
+Freezer warning buzzer
+
+## Documentation
+
+To know the details of CD4023 IC please go through with the documentation : [CD4023_datasheet](https://www.ti.com/lit/gpn/cd4023b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4023/analysis b/library/SubcircuitLibrary/CD_4023/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4023/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070-cache.lib b/library/SubcircuitLibrary/CD_4070/CD_4070-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070.cir b/library/SubcircuitLibrary/CD_4070/CD_4070.cir
new file mode 100644
index 00000000..8fa1881b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070.cir
@@ -0,0 +1,67 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4070\CD_4070.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/29/22 16:05:10
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M21 Net-_M13-Pad2_ Net-_M14-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M25 Net-_M13-Pad2_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M9 Net-_M10-Pad3_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M13 Net-_M10-Pad3_ Net-_M13-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M1-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M14 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M3 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M5 Net-_M10-Pad1_ Net-_M1-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_N
+M6 Net-_M5-Pad3_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M17 Net-_M10-Pad1_ Net-_M1-Pad1_ Net-_M17-Pad3_ Net-_M17-Pad3_ eSim_MOS_N
+M18 Net-_M17-Pad3_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M50 Net-_M34-Pad2_ Net-_M42-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M54 Net-_M34-Pad2_ Net-_M42-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M37 Net-_M37-Pad1_ Net-_M29-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M41 Net-_M37-Pad1_ Net-_M34-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M38 Net-_M33-Pad1_ Net-_M29-Pad1_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M42 Net-_M33-Pad1_ Net-_M42-Pad2_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M31 Net-_M29-Pad1_ Net-_M29-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M29 Net-_M29-Pad1_ Net-_M29-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M33 Net-_M33-Pad1_ Net-_M29-Pad2_ Net-_M33-Pad3_ Net-_M33-Pad3_ eSim_MOS_N
+M34 Net-_M33-Pad3_ Net-_M34-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M45 Net-_M33-Pad1_ Net-_M29-Pad1_ Net-_M45-Pad3_ Net-_M45-Pad3_ eSim_MOS_N
+M46 Net-_M45-Pad3_ Net-_M42-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M23 Net-_M15-Pad2_ Net-_M16-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M27 Net-_M15-Pad2_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M15 Net-_M11-Pad1_ Net-_M15-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M12 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M16 Net-_M12-Pad1_ Net-_M16-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M4 Net-_M12-Pad2_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M12-Pad2_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M7 Net-_M12-Pad1_ Net-_M11-Pad2_ Net-_M7-Pad3_ Net-_M7-Pad3_ eSim_MOS_N
+M8 Net-_M7-Pad3_ Net-_M15-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M19 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M19-Pad3_ Net-_M19-Pad3_ eSim_MOS_N
+M20 Net-_M19-Pad3_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M52 Net-_M36-Pad2_ Net-_M44-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M56 Net-_M36-Pad2_ Net-_M44-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M39 Net-_M39-Pad1_ Net-_M30-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M43 Net-_M39-Pad1_ Net-_M36-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M40 Net-_M35-Pad1_ Net-_M30-Pad1_ Net-_M39-Pad1_ Net-_M39-Pad1_ eSim_MOS_P
+M44 Net-_M35-Pad1_ Net-_M44-Pad2_ Net-_M39-Pad1_ Net-_M39-Pad1_ eSim_MOS_P
+M32 Net-_M30-Pad1_ Net-_M30-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M30 Net-_M30-Pad1_ Net-_M30-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M35 Net-_M35-Pad1_ Net-_M30-Pad2_ Net-_M35-Pad3_ Net-_M35-Pad3_ eSim_MOS_N
+M36 Net-_M35-Pad3_ Net-_M36-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M47 Net-_M35-Pad1_ Net-_M30-Pad1_ Net-_M47-Pad3_ Net-_M47-Pad3_ eSim_MOS_N
+M48 Net-_M47-Pad3_ Net-_M44-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M26 Net-_M22-Pad1_ Net-_M10-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M22 Net-_M22-Pad1_ Net-_M10-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M28 Net-_M24-Pad1_ Net-_M12-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M24 Net-_M24-Pad1_ Net-_M12-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M53 Net-_M49-Pad1_ Net-_M35-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M49 Net-_M49-Pad1_ Net-_M35-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M55 Net-_M51-Pad1_ Net-_M33-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M51 Net-_M51-Pad1_ Net-_M33-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M11-Pad2_ Net-_M16-Pad2_ Net-_M24-Pad1_ Net-_M49-Pad1_ Net-_M30-Pad2_ Net-_M44-Pad2_ Net-_M1-Pad3_ Net-_M29-Pad2_ Net-_M42-Pad2_ Net-_M51-Pad1_ Net-_M22-Pad1_ Net-_M1-Pad2_ Net-_M14-Pad2_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070.cir.out b/library/SubcircuitLibrary/CD_4070/CD_4070.cir.out
new file mode 100644
index 00000000..8dd74c9b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070.cir.out
@@ -0,0 +1,70 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4070\cd_4070.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m21 net-_m13-pad2_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m25 net-_m13-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m10-pad3_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m10-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m10-pad1_ net-_m1-pad1_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m34-pad2_ net-_m42-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m54 net-_m34-pad2_ net-_m42-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ net-_m29-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m41 net-_m37-pad1_ net-_m34-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m38 net-_m33-pad1_ net-_m29-pad1_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m42 net-_m33-pad1_ net-_m42-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m29-pad1_ net-_m29-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m29 net-_m29-pad1_ net-_m29-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m29-pad2_ net-_m33-pad3_ net-_m33-pad3_ CMOSN W=100u L=100u M=1
+m34 net-_m33-pad3_ net-_m34-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m33-pad1_ net-_m29-pad1_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ net-_m42-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m15-pad2_ net-_m16-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m27 net-_m15-pad2_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m12-pad2_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m12-pad2_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m12-pad1_ net-_m11-pad2_ net-_m7-pad3_ net-_m7-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m15-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m12-pad1_ net-_m12-pad2_ net-_m19-pad3_ net-_m19-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m19-pad3_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m52 net-_m36-pad2_ net-_m44-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m56 net-_m36-pad2_ net-_m44-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m39-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m43 net-_m39-pad1_ net-_m36-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m40 net-_m35-pad1_ net-_m30-pad1_ net-_m39-pad1_ net-_m39-pad1_ CMOSP W=100u L=100u M=1
+m44 net-_m35-pad1_ net-_m44-pad2_ net-_m39-pad1_ net-_m39-pad1_ CMOSP W=100u L=100u M=1
+m32 net-_m30-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m30 net-_m30-pad1_ net-_m30-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m30-pad2_ net-_m35-pad3_ net-_m35-pad3_ CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ net-_m36-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m47 net-_m35-pad1_ net-_m30-pad1_ net-_m47-pad3_ net-_m47-pad3_ CMOSN W=100u L=100u M=1
+m48 net-_m47-pad3_ net-_m44-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m22-pad1_ net-_m10-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m10-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m28 net-_m24-pad1_ net-_m12-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m24-pad1_ net-_m12-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m53 net-_m49-pad1_ net-_m35-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m49 net-_m49-pad1_ net-_m35-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m55 net-_m51-pad1_ net-_m33-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m51 net-_m51-pad1_ net-_m33-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m11-pad2_ net-_m16-pad2_ net-_m24-pad1_ net-_m49-pad1_ net-_m30-pad2_ net-_m44-pad2_ net-_m1-pad3_ net-_m29-pad2_ net-_m42-pad2_ net-_m51-pad1_ net-_m22-pad1_ net-_m1-pad2_ net-_m14-pad2_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070.pro b/library/SubcircuitLibrary/CD_4070/CD_4070.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070.sch b/library/SubcircuitLibrary/CD_4070/CD_4070.sch
new file mode 100644
index 00000000..3cb5f222
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070.sch
@@ -0,0 +1,1532 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4070-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M21
+U 1 1 629348CB
+P 4750 1500
+F 0 "M21" H 4700 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4800 1650 50 0000 R CNN
+F 2 "" H 5000 1600 29 0000 C CNN
+F 3 "" H 4800 1500 60 0000 C CNN
+ 1 4750 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M25
+U 1 1 629348CC
+P 4800 1900
+F 0 "M25" H 4800 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4900 1850 50 0000 R CNN
+F 2 "" H 5100 1600 29 0000 C CNN
+F 3 "" H 4900 1700 60 0000 C CNN
+ 1 4800 1900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M9
+U 1 1 629348CD
+P 2950 1500
+F 0 "M9" H 2900 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3000 1650 50 0000 R CNN
+F 2 "" H 3200 1600 29 0000 C CNN
+F 3 "" H 3000 1500 60 0000 C CNN
+ 1 2950 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 629348CE
+P 3800 1500
+F 0 "M13" H 3750 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3850 1650 50 0000 R CNN
+F 2 "" H 4050 1600 29 0000 C CNN
+F 3 "" H 3850 1500 60 0000 C CNN
+ 1 3800 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M10
+U 1 1 629348CF
+P 2950 2050
+F 0 "M10" H 2900 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3000 2200 50 0000 R CNN
+F 2 "" H 3200 2150 29 0000 C CNN
+F 3 "" H 3000 2050 60 0000 C CNN
+ 1 2950 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 629348D0
+P 3800 2050
+F 0 "M14" H 3750 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3850 2200 50 0000 R CNN
+F 2 "" H 4050 2150 29 0000 C CNN
+F 3 "" H 3850 2050 60 0000 C CNN
+ 1 3800 2050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 629348D1
+P 1950 1500
+F 0 "M3" H 1900 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2000 1650 50 0000 R CNN
+F 2 "" H 2200 1600 29 0000 C CNN
+F 3 "" H 2000 1500 60 0000 C CNN
+ 1 1950 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 629348D2
+P 1900 1900
+F 0 "M1" H 1900 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2000 1850 50 0000 R CNN
+F 2 "" H 2200 1600 29 0000 C CNN
+F 3 "" H 2000 1700 60 0000 C CNN
+ 1 1900 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 629348D3
+P 2900 2600
+F 0 "M5" H 2900 2450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3000 2550 50 0000 R CNN
+F 2 "" H 3200 2300 29 0000 C CNN
+F 3 "" H 3000 2400 60 0000 C CNN
+ 1 2900 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 629348D4
+P 2900 3100
+F 0 "M6" H 2900 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3000 3050 50 0000 R CNN
+F 2 "" H 3200 2800 29 0000 C CNN
+F 3 "" H 3000 2900 60 0000 C CNN
+ 1 2900 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 629348D5
+P 3850 2600
+F 0 "M17" H 3850 2450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 2550 50 0000 R CNN
+F 2 "" H 4150 2300 29 0000 C CNN
+F 3 "" H 3950 2400 60 0000 C CNN
+ 1 3850 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M18
+U 1 1 629348D6
+P 3850 3100
+F 0 "M18" H 3850 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 3050 50 0000 R CNN
+F 2 "" H 4150 2800 29 0000 C CNN
+F 3 "" H 3950 2900 60 0000 C CNN
+ 1 3850 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M50
+U 1 1 629348D7
+P 9750 1500
+F 0 "M50" H 9700 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9800 1650 50 0000 R CNN
+F 2 "" H 10000 1600 29 0000 C CNN
+F 3 "" H 9800 1500 60 0000 C CNN
+ 1 9750 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 629348D8
+P 9800 1900
+F 0 "M54" H 9800 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9900 1850 50 0000 R CNN
+F 2 "" H 10100 1600 29 0000 C CNN
+F 3 "" H 9900 1700 60 0000 C CNN
+ 1 9800 1900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 629348D9
+P 7950 1500
+F 0 "M37" H 7900 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8000 1650 50 0000 R CNN
+F 2 "" H 8200 1600 29 0000 C CNN
+F 3 "" H 8000 1500 60 0000 C CNN
+ 1 7950 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M41
+U 1 1 629348DA
+P 8800 1500
+F 0 "M41" H 8750 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8850 1650 50 0000 R CNN
+F 2 "" H 9050 1600 29 0000 C CNN
+F 3 "" H 8850 1500 60 0000 C CNN
+ 1 8800 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 629348DB
+P 7950 2050
+F 0 "M38" H 7900 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8000 2200 50 0000 R CNN
+F 2 "" H 8200 2150 29 0000 C CNN
+F 3 "" H 8000 2050 60 0000 C CNN
+ 1 7950 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 629348DC
+P 8800 2050
+F 0 "M42" H 8750 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8850 2200 50 0000 R CNN
+F 2 "" H 9050 2150 29 0000 C CNN
+F 3 "" H 8850 2050 60 0000 C CNN
+ 1 8800 2050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M31
+U 1 1 629348DD
+P 6950 1500
+F 0 "M31" H 6900 1550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7000 1650 50 0000 R CNN
+F 2 "" H 7200 1600 29 0000 C CNN
+F 3 "" H 7000 1500 60 0000 C CNN
+ 1 6950 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M29
+U 1 1 629348DE
+P 6900 1900
+F 0 "M29" H 6900 1750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7000 1850 50 0000 R CNN
+F 2 "" H 7200 1600 29 0000 C CNN
+F 3 "" H 7000 1700 60 0000 C CNN
+ 1 6900 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M33
+U 1 1 629348DF
+P 7900 2600
+F 0 "M33" H 7900 2450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8000 2550 50 0000 R CNN
+F 2 "" H 8200 2300 29 0000 C CNN
+F 3 "" H 8000 2400 60 0000 C CNN
+ 1 7900 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 629348E0
+P 7900 3100
+F 0 "M34" H 7900 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8000 3050 50 0000 R CNN
+F 2 "" H 8200 2800 29 0000 C CNN
+F 3 "" H 8000 2900 60 0000 C CNN
+ 1 7900 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 629348E1
+P 8850 2600
+F 0 "M45" H 8850 2450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8950 2550 50 0000 R CNN
+F 2 "" H 9150 2300 29 0000 C CNN
+F 3 "" H 8950 2400 60 0000 C CNN
+ 1 8850 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 629348E2
+P 8850 3100
+F 0 "M46" H 8850 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8950 3050 50 0000 R CNN
+F 2 "" H 9150 2800 29 0000 C CNN
+F 3 "" H 8950 2900 60 0000 C CNN
+ 1 8850 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 629348E3
+P 4750 4200
+F 0 "M23" H 4700 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4800 4350 50 0000 R CNN
+F 2 "" H 5000 4300 29 0000 C CNN
+F 3 "" H 4800 4200 60 0000 C CNN
+ 1 4750 4200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M27
+U 1 1 629348E4
+P 4800 4600
+F 0 "M27" H 4800 4450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4900 4550 50 0000 R CNN
+F 2 "" H 5100 4300 29 0000 C CNN
+F 3 "" H 4900 4400 60 0000 C CNN
+ 1 4800 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 629348E5
+P 2950 4200
+F 0 "M11" H 2900 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3000 4350 50 0000 R CNN
+F 2 "" H 3200 4300 29 0000 C CNN
+F 3 "" H 3000 4200 60 0000 C CNN
+ 1 2950 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M15
+U 1 1 629348E6
+P 3800 4200
+F 0 "M15" H 3750 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3850 4350 50 0000 R CNN
+F 2 "" H 4050 4300 29 0000 C CNN
+F 3 "" H 3850 4200 60 0000 C CNN
+ 1 3800 4200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 629348E7
+P 2950 4750
+F 0 "M12" H 2900 4800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3000 4900 50 0000 R CNN
+F 2 "" H 3200 4850 29 0000 C CNN
+F 3 "" H 3000 4750 60 0000 C CNN
+ 1 2950 4750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 629348E8
+P 3800 4750
+F 0 "M16" H 3750 4800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3850 4900 50 0000 R CNN
+F 2 "" H 4050 4850 29 0000 C CNN
+F 3 "" H 3850 4750 60 0000 C CNN
+ 1 3800 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 629348E9
+P 1950 4200
+F 0 "M4" H 1900 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2000 4350 50 0000 R CNN
+F 2 "" H 2200 4300 29 0000 C CNN
+F 3 "" H 2000 4200 60 0000 C CNN
+ 1 1950 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 629348EA
+P 1900 4600
+F 0 "M2" H 1900 4450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2000 4550 50 0000 R CNN
+F 2 "" H 2200 4300 29 0000 C CNN
+F 3 "" H 2000 4400 60 0000 C CNN
+ 1 1900 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 629348EB
+P 2900 5300
+F 0 "M7" H 2900 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3000 5250 50 0000 R CNN
+F 2 "" H 3200 5000 29 0000 C CNN
+F 3 "" H 3000 5100 60 0000 C CNN
+ 1 2900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 629348EC
+P 2900 5800
+F 0 "M8" H 2900 5650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3000 5750 50 0000 R CNN
+F 2 "" H 3200 5500 29 0000 C CNN
+F 3 "" H 3000 5600 60 0000 C CNN
+ 1 2900 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M19
+U 1 1 629348ED
+P 3850 5300
+F 0 "M19" H 3850 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 5250 50 0000 R CNN
+F 2 "" H 4150 5000 29 0000 C CNN
+F 3 "" H 3950 5100 60 0000 C CNN
+ 1 3850 5300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 629348EE
+P 3850 5800
+F 0 "M20" H 3850 5650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 5750 50 0000 R CNN
+F 2 "" H 4150 5500 29 0000 C CNN
+F 3 "" H 3950 5600 60 0000 C CNN
+ 1 3850 5800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M52
+U 1 1 629348EF
+P 9750 4200
+F 0 "M52" H 9700 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9800 4350 50 0000 R CNN
+F 2 "" H 10000 4300 29 0000 C CNN
+F 3 "" H 9800 4200 60 0000 C CNN
+ 1 9750 4200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M56
+U 1 1 629348F0
+P 9800 4600
+F 0 "M56" H 9800 4450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9900 4550 50 0000 R CNN
+F 2 "" H 10100 4300 29 0000 C CNN
+F 3 "" H 9900 4400 60 0000 C CNN
+ 1 9800 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M39
+U 1 1 629348F1
+P 7950 4200
+F 0 "M39" H 7900 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8000 4350 50 0000 R CNN
+F 2 "" H 8200 4300 29 0000 C CNN
+F 3 "" H 8000 4200 60 0000 C CNN
+ 1 7950 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 629348F2
+P 8800 4200
+F 0 "M43" H 8750 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8850 4350 50 0000 R CNN
+F 2 "" H 9050 4300 29 0000 C CNN
+F 3 "" H 8850 4200 60 0000 C CNN
+ 1 8800 4200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M40
+U 1 1 629348F3
+P 7950 4750
+F 0 "M40" H 7900 4800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8000 4900 50 0000 R CNN
+F 2 "" H 8200 4850 29 0000 C CNN
+F 3 "" H 8000 4750 60 0000 C CNN
+ 1 7950 4750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M44
+U 1 1 629348F4
+P 8800 4750
+F 0 "M44" H 8750 4800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8850 4900 50 0000 R CNN
+F 2 "" H 9050 4850 29 0000 C CNN
+F 3 "" H 8850 4750 60 0000 C CNN
+ 1 8800 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M32
+U 1 1 629348F5
+P 6950 4200
+F 0 "M32" H 6900 4250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7000 4350 50 0000 R CNN
+F 2 "" H 7200 4300 29 0000 C CNN
+F 3 "" H 7000 4200 60 0000 C CNN
+ 1 6950 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 629348F6
+P 6900 4600
+F 0 "M30" H 6900 4450 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7000 4550 50 0000 R CNN
+F 2 "" H 7200 4300 29 0000 C CNN
+F 3 "" H 7000 4400 60 0000 C CNN
+ 1 6900 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M35
+U 1 1 629348F7
+P 7900 5300
+F 0 "M35" H 7900 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8000 5250 50 0000 R CNN
+F 2 "" H 8200 5000 29 0000 C CNN
+F 3 "" H 8000 5100 60 0000 C CNN
+ 1 7900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 629348F8
+P 7900 5800
+F 0 "M36" H 7900 5650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8000 5750 50 0000 R CNN
+F 2 "" H 8200 5500 29 0000 C CNN
+F 3 "" H 8000 5600 60 0000 C CNN
+ 1 7900 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M47
+U 1 1 629348F9
+P 8850 5300
+F 0 "M47" H 8850 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8950 5250 50 0000 R CNN
+F 2 "" H 9150 5000 29 0000 C CNN
+F 3 "" H 8950 5100 60 0000 C CNN
+ 1 8850 5300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M48
+U 1 1 629348FA
+P 8850 5800
+F 0 "M48" H 8850 5650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8950 5750 50 0000 R CNN
+F 2 "" H 9150 5500 29 0000 C CNN
+F 3 "" H 8950 5600 60 0000 C CNN
+ 1 8850 5800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M26
+U 1 1 62935D17
+P 4800 2450
+F 0 "M26" H 4750 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 2600 50 0000 R CNN
+F 2 "" H 5050 2550 29 0000 C CNN
+F 3 "" H 4850 2450 60 0000 C CNN
+ 1 4800 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62935D1D
+P 4750 2850
+F 0 "M22" H 4750 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4850 2800 50 0000 R CNN
+F 2 "" H 5050 2550 29 0000 C CNN
+F 3 "" H 4850 2650 60 0000 C CNN
+ 1 4750 2850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4600 1700 4600 1900
+Wire Wire Line
+ 4900 1500 4900 2100
+Wire Wire Line
+ 2100 1300 5000 1300
+Wire Wire Line
+ 4500 1300 4500 1350
+Wire Wire Line
+ 4500 2300 4600 2300
+Wire Wire Line
+ 4500 2300 4500 2250
+Wire Wire Line
+ 3100 1700 3650 1700
+Wire Wire Line
+ 3200 1350 3200 1300
+Connection ~ 3200 1300
+Wire Wire Line
+ 3550 1350 3550 1300
+Connection ~ 3550 1300
+Wire Wire Line
+ 3350 1850 3350 1700
+Connection ~ 3350 1700
+Wire Wire Line
+ 3100 1850 3650 1850
+Connection ~ 3350 1850
+Wire Wire Line
+ 3200 1900 3200 1850
+Connection ~ 3200 1850
+Wire Wire Line
+ 3550 1900 3550 1850
+Connection ~ 3550 1850
+Wire Wire Line
+ 3100 2250 3650 2250
+Wire Wire Line
+ 2100 1700 2100 1900
+Wire Wire Line
+ 1800 1500 1800 2100
+Wire Wire Line
+ 2200 1300 2200 1350
+Wire Wire Line
+ 2100 2300 2200 2300
+Wire Wire Line
+ 2200 2300 2200 2250
+Wire Wire Line
+ 3100 2600 3650 2600
+Wire Wire Line
+ 3100 3000 3100 3100
+Wire Wire Line
+ 3650 3000 3650 3100
+Wire Wire Line
+ 3100 3500 3100 3550
+Wire Wire Line
+ 2150 3550 10000 3550
+Wire Wire Line
+ 3650 3550 3650 3500
+Wire Wire Line
+ 3200 2950 3200 3050
+Wire Wire Line
+ 3200 3050 3100 3050
+Connection ~ 3100 3050
+Wire Wire Line
+ 3550 2950 3550 3050
+Wire Wire Line
+ 3550 3050 3650 3050
+Connection ~ 3650 3050
+Wire Wire Line
+ 3200 3450 3200 3550
+Connection ~ 3200 3550
+Wire Wire Line
+ 3550 3450 3550 3550
+Connection ~ 3550 3550
+Wire Wire Line
+ 3350 2250 3350 2600
+Connection ~ 3350 2600
+Connection ~ 3350 2250
+Wire Wire Line
+ 1300 1800 1800 1800
+Connection ~ 1800 1800
+Wire Wire Line
+ 1550 1100 1550 2800
+Wire Wire Line
+ 1550 1100 2800 1100
+Wire Wire Line
+ 2800 1100 2800 1500
+Connection ~ 1550 1800
+Wire Wire Line
+ 2100 1800 2800 1800
+Wire Wire Line
+ 2800 1800 2800 2050
+Connection ~ 2100 1800
+Wire Wire Line
+ 3950 1750 4600 1750
+Wire Wire Line
+ 3950 1750 3950 1500
+Connection ~ 4600 1750
+Wire Wire Line
+ 4900 1750 5450 1750
+Connection ~ 4900 1750
+Wire Wire Line
+ 5100 1100 5100 3300
+Wire Wire Line
+ 5100 1100 4100 1100
+Wire Wire Line
+ 4100 1100 4100 2050
+Wire Wire Line
+ 4100 2050 3950 2050
+Connection ~ 5100 1750
+Wire Wire Line
+ 2800 3300 2800 3150
+Wire Wire Line
+ 2800 3150 4250 3150
+Wire Wire Line
+ 4250 3150 4250 1750
+Connection ~ 4250 1750
+Wire Wire Line
+ 1550 2800 2800 2800
+Wire Wire Line
+ 3950 2800 3950 2550
+Wire Wire Line
+ 3950 2550 2350 2550
+Wire Wire Line
+ 2350 2550 2350 1800
+Connection ~ 2350 1800
+Wire Wire Line
+ 5100 3300 3950 3300
+Wire Wire Line
+ 3350 2400 4400 2400
+Connection ~ 3350 2400
+Wire Wire Line
+ 2150 2300 2150 3550
+Connection ~ 3100 3550
+Connection ~ 2150 2300
+Wire Wire Line
+ 4550 3550 4550 2300
+Connection ~ 3650 3550
+Connection ~ 4550 2300
+Connection ~ 3100 1300
+Connection ~ 2200 1300
+Connection ~ 4500 1300
+Connection ~ 3650 1300
+Wire Wire Line
+ 3400 1300 3400 1000
+Wire Wire Line
+ 3400 1000 8400 1000
+Connection ~ 3400 1300
+Wire Wire Line
+ 9600 1700 9600 1900
+Wire Wire Line
+ 9900 1500 9900 2100
+Wire Wire Line
+ 7100 1300 10000 1300
+Wire Wire Line
+ 9500 1300 9500 1350
+Wire Wire Line
+ 9500 2300 9600 2300
+Wire Wire Line
+ 9500 2300 9500 2250
+Wire Wire Line
+ 8100 1700 8650 1700
+Wire Wire Line
+ 8200 1350 8200 1300
+Connection ~ 8200 1300
+Wire Wire Line
+ 8550 1350 8550 1300
+Connection ~ 8550 1300
+Wire Wire Line
+ 8350 1850 8350 1700
+Connection ~ 8350 1700
+Wire Wire Line
+ 8100 1850 8650 1850
+Connection ~ 8350 1850
+Wire Wire Line
+ 8200 1900 8200 1850
+Connection ~ 8200 1850
+Wire Wire Line
+ 8550 1900 8550 1850
+Connection ~ 8550 1850
+Wire Wire Line
+ 8100 2250 8650 2250
+Wire Wire Line
+ 7100 1700 7100 1900
+Wire Wire Line
+ 6800 1500 6800 2100
+Wire Wire Line
+ 7200 1300 7200 1350
+Wire Wire Line
+ 7100 2300 7200 2300
+Wire Wire Line
+ 7200 2300 7200 2250
+Wire Wire Line
+ 8100 2600 8650 2600
+Wire Wire Line
+ 8100 3000 8100 3100
+Wire Wire Line
+ 8650 3000 8650 3100
+Wire Wire Line
+ 8100 3500 8100 3550
+Wire Wire Line
+ 8650 3550 8650 3500
+Wire Wire Line
+ 8200 2950 8200 3050
+Wire Wire Line
+ 8200 3050 8100 3050
+Connection ~ 8100 3050
+Wire Wire Line
+ 8550 2950 8550 3050
+Wire Wire Line
+ 8550 3050 8650 3050
+Connection ~ 8650 3050
+Wire Wire Line
+ 8200 3450 8200 3550
+Connection ~ 8200 3550
+Wire Wire Line
+ 8550 3450 8550 3550
+Connection ~ 8550 3550
+Wire Wire Line
+ 8350 2250 8350 2600
+Connection ~ 8350 2600
+Connection ~ 8350 2250
+Wire Wire Line
+ 6300 1800 6800 1800
+Connection ~ 6800 1800
+Wire Wire Line
+ 6550 1100 6550 2800
+Wire Wire Line
+ 6550 1100 7800 1100
+Wire Wire Line
+ 7800 1100 7800 1500
+Connection ~ 6550 1800
+Wire Wire Line
+ 7100 1800 7800 1800
+Wire Wire Line
+ 7800 1800 7800 2050
+Connection ~ 7100 1800
+Wire Wire Line
+ 8950 1750 9600 1750
+Wire Wire Line
+ 8950 1750 8950 1500
+Connection ~ 9600 1750
+Wire Wire Line
+ 9900 1750 10450 1750
+Connection ~ 9900 1750
+Wire Wire Line
+ 10100 1100 10100 3300
+Wire Wire Line
+ 10100 1100 9100 1100
+Wire Wire Line
+ 9100 1100 9100 2050
+Wire Wire Line
+ 9100 2050 8950 2050
+Connection ~ 10100 1750
+Wire Wire Line
+ 7800 3300 7800 3150
+Wire Wire Line
+ 7800 3150 9250 3150
+Wire Wire Line
+ 9250 3150 9250 1750
+Connection ~ 9250 1750
+Wire Wire Line
+ 6550 2800 7800 2800
+Wire Wire Line
+ 8950 2800 8950 2550
+Wire Wire Line
+ 8950 2550 7350 2550
+Wire Wire Line
+ 7350 2550 7350 1800
+Connection ~ 7350 1800
+Wire Wire Line
+ 10100 3300 8950 3300
+Wire Wire Line
+ 8350 2400 9450 2400
+Connection ~ 8350 2400
+Wire Wire Line
+ 7150 2300 7150 3550
+Connection ~ 8100 3550
+Connection ~ 7150 2300
+Wire Wire Line
+ 9550 3550 9550 2300
+Connection ~ 8650 3550
+Connection ~ 9550 2300
+Connection ~ 8100 1300
+Connection ~ 7200 1300
+Connection ~ 9500 1300
+Connection ~ 8650 1300
+Wire Wire Line
+ 8400 1000 8400 1300
+Connection ~ 8400 1300
+Wire Wire Line
+ 4600 4400 4600 4600
+Wire Wire Line
+ 4900 4200 4900 4800
+Wire Wire Line
+ 2100 4000 5000 4000
+Wire Wire Line
+ 4500 4000 4500 4050
+Wire Wire Line
+ 4500 5000 4600 5000
+Wire Wire Line
+ 4500 5000 4500 4950
+Wire Wire Line
+ 3100 4400 3650 4400
+Wire Wire Line
+ 3200 4050 3200 4000
+Connection ~ 3200 4000
+Wire Wire Line
+ 3550 4050 3550 4000
+Connection ~ 3550 4000
+Wire Wire Line
+ 3350 4550 3350 4400
+Connection ~ 3350 4400
+Wire Wire Line
+ 3100 4550 3650 4550
+Connection ~ 3350 4550
+Wire Wire Line
+ 3200 4600 3200 4550
+Connection ~ 3200 4550
+Wire Wire Line
+ 3550 4600 3550 4550
+Connection ~ 3550 4550
+Wire Wire Line
+ 3100 4950 3650 4950
+Wire Wire Line
+ 2100 4400 2100 4600
+Wire Wire Line
+ 1800 4200 1800 4800
+Wire Wire Line
+ 2200 4000 2200 4050
+Wire Wire Line
+ 2100 5000 2200 5000
+Wire Wire Line
+ 2200 5000 2200 4950
+Wire Wire Line
+ 3100 5300 3650 5300
+Wire Wire Line
+ 3100 5700 3100 5800
+Wire Wire Line
+ 3650 5700 3650 5800
+Wire Wire Line
+ 3100 6200 3100 6250
+Wire Wire Line
+ 2150 6250 9950 6250
+Wire Wire Line
+ 3650 6250 3650 6200
+Wire Wire Line
+ 3200 5650 3200 5750
+Wire Wire Line
+ 3200 5750 3100 5750
+Connection ~ 3100 5750
+Wire Wire Line
+ 3550 5650 3550 5750
+Wire Wire Line
+ 3550 5750 3650 5750
+Connection ~ 3650 5750
+Wire Wire Line
+ 3200 6150 3200 6250
+Connection ~ 3200 6250
+Wire Wire Line
+ 3550 6150 3550 6250
+Connection ~ 3550 6250
+Wire Wire Line
+ 3350 4950 3350 5300
+Connection ~ 3350 5300
+Connection ~ 3350 4950
+Wire Wire Line
+ 1300 4500 1800 4500
+Connection ~ 1800 4500
+Wire Wire Line
+ 1550 3800 1550 5500
+Wire Wire Line
+ 1550 3800 2800 3800
+Wire Wire Line
+ 2800 3800 2800 4200
+Connection ~ 1550 4500
+Wire Wire Line
+ 2100 4500 2800 4500
+Wire Wire Line
+ 2800 4500 2800 4750
+Connection ~ 2100 4500
+Wire Wire Line
+ 3950 4450 4600 4450
+Wire Wire Line
+ 3950 4450 3950 4200
+Connection ~ 4600 4450
+Wire Wire Line
+ 4900 4450 5450 4450
+Connection ~ 4900 4450
+Wire Wire Line
+ 5100 3800 5100 6000
+Wire Wire Line
+ 5100 3800 4100 3800
+Wire Wire Line
+ 4100 3800 4100 4750
+Wire Wire Line
+ 4100 4750 3950 4750
+Connection ~ 5100 4450
+Wire Wire Line
+ 2800 6000 2800 5850
+Wire Wire Line
+ 2800 5850 4250 5850
+Wire Wire Line
+ 4250 5850 4250 4450
+Connection ~ 4250 4450
+Wire Wire Line
+ 1550 5500 2800 5500
+Wire Wire Line
+ 3950 5500 3950 5250
+Wire Wire Line
+ 3950 5250 2350 5250
+Wire Wire Line
+ 2350 5250 2350 4500
+Connection ~ 2350 4500
+Wire Wire Line
+ 5100 6000 3950 6000
+Wire Wire Line
+ 3350 5100 4400 5100
+Connection ~ 3350 5100
+Wire Wire Line
+ 2150 5000 2150 6250
+Connection ~ 3100 6250
+Connection ~ 2150 5000
+Wire Wire Line
+ 4550 6250 4550 5000
+Connection ~ 3650 6250
+Connection ~ 4550 5000
+Connection ~ 3100 4000
+Connection ~ 2200 4000
+Connection ~ 4500 4000
+Connection ~ 3650 4000
+Wire Wire Line
+ 9600 4400 9600 4600
+Wire Wire Line
+ 9900 4200 9900 4800
+Wire Wire Line
+ 7100 4000 9950 4000
+Wire Wire Line
+ 9500 4000 9500 4050
+Wire Wire Line
+ 9500 5000 9600 5000
+Wire Wire Line
+ 9500 5000 9500 4950
+Wire Wire Line
+ 8100 4400 8650 4400
+Wire Wire Line
+ 8200 4050 8200 4000
+Connection ~ 8200 4000
+Wire Wire Line
+ 8550 4050 8550 4000
+Connection ~ 8550 4000
+Wire Wire Line
+ 8350 4550 8350 4400
+Connection ~ 8350 4400
+Wire Wire Line
+ 8100 4550 8650 4550
+Connection ~ 8350 4550
+Wire Wire Line
+ 8200 4600 8200 4550
+Connection ~ 8200 4550
+Wire Wire Line
+ 8550 4600 8550 4550
+Connection ~ 8550 4550
+Wire Wire Line
+ 8100 4950 8650 4950
+Wire Wire Line
+ 7100 4400 7100 4600
+Wire Wire Line
+ 6800 4200 6800 4800
+Wire Wire Line
+ 7200 4000 7200 4050
+Wire Wire Line
+ 7100 5000 7200 5000
+Wire Wire Line
+ 7200 5000 7200 4950
+Wire Wire Line
+ 8100 5300 8650 5300
+Wire Wire Line
+ 8100 5700 8100 5800
+Wire Wire Line
+ 8650 5700 8650 5800
+Wire Wire Line
+ 8100 6200 8100 6250
+Wire Wire Line
+ 8650 6250 8650 6200
+Wire Wire Line
+ 8200 5650 8200 5750
+Wire Wire Line
+ 8200 5750 8100 5750
+Connection ~ 8100 5750
+Wire Wire Line
+ 8550 5650 8550 5750
+Wire Wire Line
+ 8550 5750 8650 5750
+Connection ~ 8650 5750
+Wire Wire Line
+ 8200 6150 8200 6250
+Connection ~ 8200 6250
+Wire Wire Line
+ 8550 6150 8550 6250
+Connection ~ 8550 6250
+Wire Wire Line
+ 8350 4950 8350 5300
+Connection ~ 8350 5300
+Connection ~ 8350 4950
+Wire Wire Line
+ 6300 4500 6800 4500
+Connection ~ 6800 4500
+Wire Wire Line
+ 6550 3800 6550 5500
+Wire Wire Line
+ 6550 3800 7800 3800
+Wire Wire Line
+ 7800 3800 7800 4200
+Connection ~ 6550 4500
+Wire Wire Line
+ 7100 4500 7800 4500
+Wire Wire Line
+ 7800 4500 7800 4750
+Connection ~ 7100 4500
+Wire Wire Line
+ 8950 4450 9600 4450
+Wire Wire Line
+ 8950 4450 8950 4200
+Connection ~ 9600 4450
+Wire Wire Line
+ 9900 4450 10450 4450
+Connection ~ 9900 4450
+Wire Wire Line
+ 10100 3800 10100 6000
+Wire Wire Line
+ 10100 3800 9100 3800
+Wire Wire Line
+ 9100 3800 9100 4750
+Wire Wire Line
+ 9100 4750 8950 4750
+Connection ~ 10100 4450
+Wire Wire Line
+ 7800 6000 7800 5850
+Wire Wire Line
+ 7800 5850 9250 5850
+Wire Wire Line
+ 9250 5850 9250 4450
+Connection ~ 9250 4450
+Wire Wire Line
+ 6550 5500 7800 5500
+Wire Wire Line
+ 8950 5500 8950 5250
+Wire Wire Line
+ 8950 5250 7350 5250
+Wire Wire Line
+ 7350 5250 7350 4500
+Connection ~ 7350 4500
+Wire Wire Line
+ 10100 6000 8950 6000
+Wire Wire Line
+ 8350 5100 9450 5100
+Connection ~ 8350 5100
+Wire Wire Line
+ 7150 5000 7150 6250
+Connection ~ 8100 6250
+Connection ~ 7150 5000
+Wire Wire Line
+ 9550 6250 9550 5000
+Connection ~ 8650 6250
+Connection ~ 9550 5000
+Connection ~ 8100 4000
+Connection ~ 7200 4000
+Connection ~ 9500 4000
+Connection ~ 8650 4000
+Wire Wire Line
+ 5750 1000 5750 800
+Wire Wire Line
+ 5750 800 6050 800
+Connection ~ 5750 1000
+Connection ~ 7150 3550
+Connection ~ 4550 3550
+Connection ~ 7150 6250
+Connection ~ 4550 6250
+Wire Wire Line
+ 3400 4000 3400 3700
+Wire Wire Line
+ 3400 3700 8400 3700
+Wire Wire Line
+ 8400 3700 8400 4000
+Connection ~ 8400 4000
+Connection ~ 3400 4000
+Wire Wire Line
+ 5550 1000 5550 3700
+Connection ~ 5550 3700
+Connection ~ 5550 1000
+Wire Wire Line
+ 5850 3550 5850 6550
+Connection ~ 5850 6250
+Connection ~ 5850 3550
+Wire Wire Line
+ 5850 6550 5450 6550
+Wire Wire Line
+ 4950 2650 4950 2850
+Wire Wire Line
+ 4650 2450 4650 3050
+Wire Wire Line
+ 4950 3250 5050 3250
+Wire Wire Line
+ 5050 3250 5050 3200
+Wire Wire Line
+ 4950 2250 5050 2250
+Wire Wire Line
+ 5050 2250 5050 2300
+$Comp
+L eSim_MOS_P M28
+U 1 1 6293690C
+P 4800 5150
+F 0 "M28" H 4750 5200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 5300 50 0000 R CNN
+F 2 "" H 5050 5250 29 0000 C CNN
+F 3 "" H 4850 5150 60 0000 C CNN
+ 1 4800 5150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M24
+U 1 1 62936912
+P 4750 5550
+F 0 "M24" H 4750 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4850 5500 50 0000 R CNN
+F 2 "" H 5050 5250 29 0000 C CNN
+F 3 "" H 4850 5350 60 0000 C CNN
+ 1 4750 5550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4950 5350 4950 5550
+Wire Wire Line
+ 4650 5150 4650 5750
+Wire Wire Line
+ 4950 5950 5050 5950
+Wire Wire Line
+ 5050 5950 5050 5900
+Wire Wire Line
+ 4950 4950 5050 4950
+Wire Wire Line
+ 5050 4950 5050 5000
+$Comp
+L eSim_MOS_P M53
+U 1 1 62936A1C
+P 9750 5150
+F 0 "M53" H 9700 5200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9800 5300 50 0000 R CNN
+F 2 "" H 10000 5250 29 0000 C CNN
+F 3 "" H 9800 5150 60 0000 C CNN
+ 1 9750 5150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M49
+U 1 1 62936A22
+P 9700 5550
+F 0 "M49" H 9700 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9800 5500 50 0000 R CNN
+F 2 "" H 10000 5250 29 0000 C CNN
+F 3 "" H 9800 5350 60 0000 C CNN
+ 1 9700 5550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9900 5350 9900 5550
+Wire Wire Line
+ 9600 5150 9600 5750
+Wire Wire Line
+ 9900 5950 10000 5950
+Wire Wire Line
+ 10000 5950 10000 5900
+Wire Wire Line
+ 9900 4950 10000 4950
+Wire Wire Line
+ 10000 4950 10000 5000
+Wire Wire Line
+ 4400 2400 4400 2750
+Wire Wire Line
+ 4400 2750 4650 2750
+Connection ~ 4650 2750
+Wire Wire Line
+ 4950 2750 5300 2750
+Connection ~ 4950 2750
+$Comp
+L eSim_MOS_P M55
+U 1 1 6293892C
+P 9800 2450
+F 0 "M55" H 9750 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9850 2600 50 0000 R CNN
+F 2 "" H 10050 2550 29 0000 C CNN
+F 3 "" H 9850 2450 60 0000 C CNN
+ 1 9800 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M51
+U 1 1 62938932
+P 9750 2850
+F 0 "M51" H 9750 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9850 2800 50 0000 R CNN
+F 2 "" H 10050 2550 29 0000 C CNN
+F 3 "" H 9850 2650 60 0000 C CNN
+ 1 9750 2850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9950 2650 9950 2850
+Wire Wire Line
+ 9650 2450 9650 3050
+Wire Wire Line
+ 9950 3250 10050 3250
+Wire Wire Line
+ 10050 3250 10050 3200
+Wire Wire Line
+ 9950 2250 10050 2250
+Wire Wire Line
+ 10050 2250 10050 2300
+Wire Wire Line
+ 9450 2400 9450 2750
+Wire Wire Line
+ 9450 2750 9650 2750
+Connection ~ 9650 2750
+Wire Wire Line
+ 9950 2750 10400 2750
+Connection ~ 9950 2750
+Wire Wire Line
+ 10000 1300 10000 2250
+Connection ~ 9600 1300
+Connection ~ 10000 2250
+Wire Wire Line
+ 10000 3550 10000 3250
+Connection ~ 9550 3550
+Connection ~ 10000 3250
+Wire Wire Line
+ 5000 3250 5000 3550
+Connection ~ 5000 3550
+Connection ~ 5000 3250
+Wire Wire Line
+ 5000 1300 5000 2250
+Connection ~ 4600 1300
+Connection ~ 5000 2250
+Wire Wire Line
+ 4400 5100 4400 5450
+Wire Wire Line
+ 4400 5450 4650 5450
+Connection ~ 4650 5450
+Wire Wire Line
+ 4950 5450 5350 5450
+Connection ~ 4950 5450
+Wire Wire Line
+ 5000 4000 5000 4950
+Connection ~ 4600 4000
+Connection ~ 5000 4950
+Wire Wire Line
+ 5000 5950 5000 6250
+Connection ~ 5000 6250
+Connection ~ 5000 5950
+Wire Wire Line
+ 9450 5100 9450 5450
+Wire Wire Line
+ 9450 5450 9600 5450
+Connection ~ 9600 5450
+Wire Wire Line
+ 9900 5450 10400 5450
+Connection ~ 9900 5450
+Wire Wire Line
+ 9950 6250 9950 5950
+Connection ~ 9550 6250
+Connection ~ 9950 5950
+Wire Wire Line
+ 9950 4000 9950 4950
+Connection ~ 9600 4000
+Connection ~ 9950 4950
+$Comp
+L PORT U1
+U 1 1 62940A44
+P 1050 4500
+F 0 "U1" H 1100 4600 30 0000 C CNN
+F 1 "PORT" H 1050 4500 30 0000 C CNN
+F 2 "" H 1050 4500 60 0000 C CNN
+F 3 "" H 1050 4500 60 0000 C CNN
+ 1 1050 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 629421B0
+P 5700 4450
+F 0 "U1" H 5750 4550 30 0000 C CNN
+F 1 "PORT" H 5700 4450 30 0000 C CNN
+F 2 "" H 5700 4450 60 0000 C CNN
+F 3 "" H 5700 4450 60 0000 C CNN
+ 2 5700 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62942261
+P 5600 5450
+F 0 "U1" H 5650 5550 30 0000 C CNN
+F 1 "PORT" H 5600 5450 30 0000 C CNN
+F 2 "" H 5600 5450 60 0000 C CNN
+F 3 "" H 5600 5450 60 0000 C CNN
+ 3 5600 5450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62942E1E
+P 10650 5450
+F 0 "U1" H 10700 5550 30 0000 C CNN
+F 1 "PORT" H 10650 5450 30 0000 C CNN
+F 2 "" H 10650 5450 60 0000 C CNN
+F 3 "" H 10650 5450 60 0000 C CNN
+ 4 10650 5450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62942ECD
+P 6050 4500
+F 0 "U1" H 6100 4600 30 0000 C CNN
+F 1 "PORT" H 6050 4500 30 0000 C CNN
+F 2 "" H 6050 4500 60 0000 C CNN
+F 3 "" H 6050 4500 60 0000 C CNN
+ 5 6050 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62942FC0
+P 10700 4450
+F 0 "U1" H 10750 4550 30 0000 C CNN
+F 1 "PORT" H 10700 4450 30 0000 C CNN
+F 2 "" H 10700 4450 60 0000 C CNN
+F 3 "" H 10700 4450 60 0000 C CNN
+ 6 10700 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62943409
+P 5200 6550
+F 0 "U1" H 5250 6650 30 0000 C CNN
+F 1 "PORT" H 5200 6550 30 0000 C CNN
+F 2 "" H 5200 6550 60 0000 C CNN
+F 3 "" H 5200 6550 60 0000 C CNN
+ 7 5200 6550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6294598A
+P 6050 1800
+F 0 "U1" H 6100 1900 30 0000 C CNN
+F 1 "PORT" H 6050 1800 30 0000 C CNN
+F 2 "" H 6050 1800 60 0000 C CNN
+F 3 "" H 6050 1800 60 0000 C CNN
+ 8 6050 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62945A89
+P 10700 1750
+F 0 "U1" H 10750 1850 30 0000 C CNN
+F 1 "PORT" H 10700 1750 30 0000 C CNN
+F 2 "" H 10700 1750 60 0000 C CNN
+F 3 "" H 10700 1750 60 0000 C CNN
+ 9 10700 1750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62945B96
+P 10650 2750
+F 0 "U1" H 10700 2850 30 0000 C CNN
+F 1 "PORT" H 10650 2750 30 0000 C CNN
+F 2 "" H 10650 2750 60 0000 C CNN
+F 3 "" H 10650 2750 60 0000 C CNN
+ 10 10650 2750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62946EA2
+P 5550 2750
+F 0 "U1" H 5600 2850 30 0000 C CNN
+F 1 "PORT" H 5550 2750 30 0000 C CNN
+F 2 "" H 5550 2750 60 0000 C CNN
+F 3 "" H 5550 2750 60 0000 C CNN
+ 11 5550 2750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62946F6D
+P 1050 1800
+F 0 "U1" H 1100 1900 30 0000 C CNN
+F 1 "PORT" H 1050 1800 30 0000 C CNN
+F 2 "" H 1050 1800 60 0000 C CNN
+F 3 "" H 1050 1800 60 0000 C CNN
+ 12 1050 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 629481D4
+P 5700 1750
+F 0 "U1" H 5750 1850 30 0000 C CNN
+F 1 "PORT" H 5700 1750 30 0000 C CNN
+F 2 "" H 5700 1750 60 0000 C CNN
+F 3 "" H 5700 1750 60 0000 C CNN
+ 13 5700 1750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 6294829B
+P 6300 800
+F 0 "U1" H 6350 900 30 0000 C CNN
+F 1 "PORT" H 6300 800 30 0000 C CNN
+F 2 "" H 6300 800 60 0000 C CNN
+F 3 "" H 6300 800 60 0000 C CNN
+ 14 6300 800
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070.sub b/library/SubcircuitLibrary/CD_4070/CD_4070.sub
new file mode 100644
index 00000000..87dfeb51
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070.sub
@@ -0,0 +1,64 @@
+* Subcircuit CD_4070
+.subckt CD_4070 net-_m11-pad2_ net-_m16-pad2_ net-_m24-pad1_ net-_m49-pad1_ net-_m30-pad2_ net-_m44-pad2_ net-_m1-pad3_ net-_m29-pad2_ net-_m42-pad2_ net-_m51-pad1_ net-_m22-pad1_ net-_m1-pad2_ net-_m14-pad2_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4070\cd_4070.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m21 net-_m13-pad2_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m25 net-_m13-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m10-pad3_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m10-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m10-pad1_ net-_m1-pad1_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m34-pad2_ net-_m42-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m54 net-_m34-pad2_ net-_m42-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ net-_m29-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m41 net-_m37-pad1_ net-_m34-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m38 net-_m33-pad1_ net-_m29-pad1_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m42 net-_m33-pad1_ net-_m42-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m29-pad1_ net-_m29-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m29 net-_m29-pad1_ net-_m29-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m29-pad2_ net-_m33-pad3_ net-_m33-pad3_ CMOSN W=100u L=100u M=1
+m34 net-_m33-pad3_ net-_m34-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m33-pad1_ net-_m29-pad1_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ net-_m42-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m15-pad2_ net-_m16-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m27 net-_m15-pad2_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m12-pad2_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m12-pad2_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m12-pad1_ net-_m11-pad2_ net-_m7-pad3_ net-_m7-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m15-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m12-pad1_ net-_m12-pad2_ net-_m19-pad3_ net-_m19-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m19-pad3_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m52 net-_m36-pad2_ net-_m44-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m56 net-_m36-pad2_ net-_m44-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m39-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m43 net-_m39-pad1_ net-_m36-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m40 net-_m35-pad1_ net-_m30-pad1_ net-_m39-pad1_ net-_m39-pad1_ CMOSP W=100u L=100u M=1
+m44 net-_m35-pad1_ net-_m44-pad2_ net-_m39-pad1_ net-_m39-pad1_ CMOSP W=100u L=100u M=1
+m32 net-_m30-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m30 net-_m30-pad1_ net-_m30-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m30-pad2_ net-_m35-pad3_ net-_m35-pad3_ CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ net-_m36-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m47 net-_m35-pad1_ net-_m30-pad1_ net-_m47-pad3_ net-_m47-pad3_ CMOSN W=100u L=100u M=1
+m48 net-_m47-pad3_ net-_m44-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m22-pad1_ net-_m10-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m10-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m28 net-_m24-pad1_ net-_m12-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m24-pad1_ net-_m12-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m53 net-_m49-pad1_ net-_m35-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m49 net-_m49-pad1_ net-_m35-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m55 net-_m51-pad1_ net-_m33-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m51 net-_m51-pad1_ net-_m33-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4070 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4070/CD_4070_Previous_Values.xml b/library/SubcircuitLibrary/CD_4070/CD_4070_Previous_Values.xml
new file mode 100644
index 00000000..ae1f75df
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/CD_4070_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m21><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m25><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m9><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m18><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m50><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m41><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m31><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m29><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m27><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m19><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m52><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m52><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m56><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m39><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m40><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m44><m32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m32><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m47><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m48><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m26><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m28><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m24><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m53><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m49><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m51><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m51></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4070/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4070/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4070/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4070/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4070/README.md b/library/SubcircuitLibrary/CD_4070/README.md
new file mode 100644
index 00000000..f27fd979
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/README.md
@@ -0,0 +1,26 @@
+
+# CD4070 IC
+
+It is 2-input XOR Gate IC. CD4070 IC is designed with 180nm CMOS technology in eSim consisting four XOR Gates. It plays the role of odd 1’s detector. When both inputs are same, then output is LOW. It is also known as Special logic Gate.
+
+## Usage/Examples
+
+Logical Comparators
+
+Adders, Subtractors
+
+Parity Generators and Checkers
+## Documentation
+
+To know the details of CD4070 IC please go through with the documentation : [CD4070_datasheet](https://www.ti.com/lit/gpn/cd4070b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4070/analysis b/library/SubcircuitLibrary/CD_4070/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4070/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071-cache.lib b/library/SubcircuitLibrary/CD_4071/CD_4071-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071.cir b/library/SubcircuitLibrary/CD_4071/CD_4071.cir
new file mode 100644
index 00000000..03d0d508
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071.cir
@@ -0,0 +1,35 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4071\CD_4071.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/20/22 11:07:38
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M3 Net-_M3-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M4 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad1_ eSim_MOS_P
+M7 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M1-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M11-Pad1_ Net-_M1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M15 Net-_M15-Pad1_ Net-_M13-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M16 Net-_M13-Pad1_ Net-_M16-Pad2_ Net-_M15-Pad1_ Net-_M15-Pad1_ eSim_MOS_P
+M19 Net-_M13-Pad1_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M23 Net-_M21-Pad1_ Net-_M13-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M21 Net-_M21-Pad1_ Net-_M13-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M5 Net-_M5-Pad1_ Net-_M2-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M10-Pad2_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M10-Pad2_ Net-_M6-Pad2_ Net-_M5-Pad1_ Net-_M5-Pad1_ eSim_MOS_P
+M8 Net-_M10-Pad2_ Net-_M6-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M12 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M17 Net-_M17-Pad1_ Net-_M14-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M14 Net-_M14-Pad1_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M18 Net-_M14-Pad1_ Net-_M18-Pad2_ Net-_M17-Pad1_ Net-_M17-Pad1_ eSim_MOS_P
+M20 Net-_M14-Pad1_ Net-_M18-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M24 Net-_M22-Pad1_ Net-_M14-Pad1_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M22 Net-_M22-Pad1_ Net-_M14-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M2-Pad2_ Net-_M6-Pad2_ Net-_M10-Pad1_ Net-_M22-Pad1_ Net-_M14-Pad2_ Net-_M18-Pad2_ Net-_M1-Pad3_ Net-_M13-Pad2_ Net-_M16-Pad2_ Net-_M21-Pad1_ Net-_M11-Pad1_ Net-_M1-Pad2_ Net-_M4-Pad2_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071.cir.out b/library/SubcircuitLibrary/CD_4071/CD_4071.cir.out
new file mode 100644
index 00000000..27410a17
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071.cir.out
@@ -0,0 +1,38 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4071\cd_4071.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m1-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m15-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m13-pad1_ net-_m16-pad2_ net-_m15-pad1_ net-_m15-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_m13-pad1_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m21-pad1_ net-_m13-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m13-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m10-pad2_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m10-pad2_ net-_m6-pad2_ net-_m5-pad1_ net-_m5-pad1_ CMOSP W=100u L=100u M=1
+m8 net-_m10-pad2_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m17-pad1_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m14-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m14-pad1_ net-_m18-pad2_ net-_m17-pad1_ net-_m17-pad1_ CMOSP W=100u L=100u M=1
+m20 net-_m14-pad1_ net-_m18-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m24 net-_m22-pad1_ net-_m14-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m14-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m2-pad2_ net-_m6-pad2_ net-_m10-pad1_ net-_m22-pad1_ net-_m14-pad2_ net-_m18-pad2_ net-_m1-pad3_ net-_m13-pad2_ net-_m16-pad2_ net-_m21-pad1_ net-_m11-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071.pro b/library/SubcircuitLibrary/CD_4071/CD_4071.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071.sch b/library/SubcircuitLibrary/CD_4071/CD_4071.sch
new file mode 100644
index 00000000..1aca01d6
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071.sch
@@ -0,0 +1,845 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4071-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M3
+U 1 1 628727AE
+P 3100 1750
+F 0 "M3" H 3050 1800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3150 1900 50 0000 R CNN
+F 2 "" H 3350 1850 29 0000 C CNN
+F 3 "" H 3150 1750 60 0000 C CNN
+ 1 3100 1750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 628727AF
+P 2700 2800
+F 0 "M1" H 2700 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2800 2750 50 0000 R CNN
+F 2 "" H 3000 2500 29 0000 C CNN
+F 3 "" H 2800 2600 60 0000 C CNN
+ 1 2700 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 628727B0
+P 3100 2300
+F 0 "M4" H 3050 2350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3150 2450 50 0000 R CNN
+F 2 "" H 3350 2400 29 0000 C CNN
+F 3 "" H 3150 2300 60 0000 C CNN
+ 1 3100 2300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 628727B1
+P 3850 2800
+F 0 "M7" H 3850 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 2750 50 0000 R CNN
+F 2 "" H 4150 2500 29 0000 C CNN
+F 3 "" H 3950 2600 60 0000 C CNN
+ 1 3850 2800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 628727B2
+P 4800 2350
+F 0 "M11" H 4750 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 2500 50 0000 R CNN
+F 2 "" H 5050 2450 29 0000 C CNN
+F 3 "" H 4850 2350 60 0000 C CNN
+ 1 4800 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 628727B3
+P 4750 2800
+F 0 "M9" H 4750 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4850 2750 50 0000 R CNN
+F 2 "" H 5050 2500 29 0000 C CNN
+F 3 "" H 4850 2600 60 0000 C CNN
+ 1 4750 2800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3250 1950 3250 2100
+Wire Wire Line
+ 2900 3200 2900 3300
+Wire Wire Line
+ 2900 3300 3650 3300
+Wire Wire Line
+ 3650 3300 3650 3200
+Wire Wire Line
+ 2900 2800 2900 2750
+Wire Wire Line
+ 2900 2750 3650 2750
+Wire Wire Line
+ 3650 2750 3650 2800
+Wire Wire Line
+ 3250 2500 3250 2750
+Connection ~ 3250 2750
+Wire Wire Line
+ 3000 3150 3000 3300
+Connection ~ 3000 3300
+Wire Wire Line
+ 3550 3150 3550 3300
+Connection ~ 3550 3300
+Wire Wire Line
+ 4950 2550 4950 2800
+Wire Wire Line
+ 4650 2350 4600 2350
+Wire Wire Line
+ 4600 2350 4600 3000
+Wire Wire Line
+ 4600 3000 4650 3000
+Wire Wire Line
+ 4950 2150 5050 2150
+Wire Wire Line
+ 5050 2150 5050 2200
+Wire Wire Line
+ 4950 3200 5050 3200
+Wire Wire Line
+ 5050 3200 5050 3150
+Wire Wire Line
+ 3250 1550 3350 1550
+Wire Wire Line
+ 3350 1550 3350 1600
+Wire Wire Line
+ 3350 2150 3350 2050
+Wire Wire Line
+ 3350 2050 3250 2050
+Connection ~ 3250 2050
+Wire Wire Line
+ 3250 2600 4600 2600
+Connection ~ 4600 2600
+Connection ~ 3250 2600
+Wire Wire Line
+ 2950 1750 2500 1750
+Wire Wire Line
+ 2500 1750 2500 3000
+Wire Wire Line
+ 2500 3000 2600 3000
+Wire Wire Line
+ 2950 2300 2950 2500
+Wire Wire Line
+ 2200 2500 3950 2500
+Wire Wire Line
+ 3950 2500 3950 3000
+Wire Wire Line
+ 2500 2350 2200 2350
+Connection ~ 2500 2350
+Connection ~ 2950 2500
+Wire Wire Line
+ 3300 1550 3300 1500
+Wire Wire Line
+ 3300 1500 5000 1500
+Wire Wire Line
+ 5000 1500 5000 2150
+Connection ~ 5000 2150
+Connection ~ 3300 1550
+Wire Wire Line
+ 3250 3300 3250 3350
+Wire Wire Line
+ 3250 3350 8450 3350
+Wire Wire Line
+ 5000 3350 5000 3200
+Connection ~ 5000 3200
+Connection ~ 3250 3300
+Wire Wire Line
+ 4950 2650 5250 2650
+Connection ~ 4950 2650
+$Comp
+L eSim_MOS_P M15
+U 1 1 628727B4
+P 6550 1750
+F 0 "M15" H 6500 1800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 1900 50 0000 R CNN
+F 2 "" H 6800 1850 29 0000 C CNN
+F 3 "" H 6600 1750 60 0000 C CNN
+ 1 6550 1750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 628727B5
+P 6150 2800
+F 0 "M13" H 6150 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6250 2750 50 0000 R CNN
+F 2 "" H 6450 2500 29 0000 C CNN
+F 3 "" H 6250 2600 60 0000 C CNN
+ 1 6150 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 628727B6
+P 6550 2300
+F 0 "M16" H 6500 2350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 2450 50 0000 R CNN
+F 2 "" H 6800 2400 29 0000 C CNN
+F 3 "" H 6600 2300 60 0000 C CNN
+ 1 6550 2300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M19
+U 1 1 628727B7
+P 7300 2800
+F 0 "M19" H 7300 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7400 2750 50 0000 R CNN
+F 2 "" H 7600 2500 29 0000 C CNN
+F 3 "" H 7400 2600 60 0000 C CNN
+ 1 7300 2800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 628727B8
+P 8250 2350
+F 0 "M23" H 8200 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8300 2500 50 0000 R CNN
+F 2 "" H 8500 2450 29 0000 C CNN
+F 3 "" H 8300 2350 60 0000 C CNN
+ 1 8250 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 628727B9
+P 8200 2800
+F 0 "M21" H 8200 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8300 2750 50 0000 R CNN
+F 2 "" H 8500 2500 29 0000 C CNN
+F 3 "" H 8300 2600 60 0000 C CNN
+ 1 8200 2800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 1950 6700 2100
+Wire Wire Line
+ 6350 3200 6350 3300
+Wire Wire Line
+ 6350 3300 7100 3300
+Wire Wire Line
+ 7100 3300 7100 3200
+Wire Wire Line
+ 6350 2800 6350 2750
+Wire Wire Line
+ 6350 2750 7100 2750
+Wire Wire Line
+ 7100 2750 7100 2800
+Wire Wire Line
+ 6700 2500 6700 2750
+Connection ~ 6700 2750
+Wire Wire Line
+ 6450 3150 6450 3300
+Connection ~ 6450 3300
+Wire Wire Line
+ 7000 3150 7000 3300
+Connection ~ 7000 3300
+Wire Wire Line
+ 8400 2550 8400 2800
+Wire Wire Line
+ 8100 2350 8050 2350
+Wire Wire Line
+ 8050 2350 8050 3000
+Wire Wire Line
+ 8050 3000 8100 3000
+Wire Wire Line
+ 8400 2150 8500 2150
+Wire Wire Line
+ 8500 2150 8500 2200
+Wire Wire Line
+ 8400 3200 8500 3200
+Wire Wire Line
+ 8500 3200 8500 3150
+Wire Wire Line
+ 6700 1550 6800 1550
+Wire Wire Line
+ 6800 1550 6800 1600
+Wire Wire Line
+ 6800 2150 6800 2050
+Wire Wire Line
+ 6800 2050 6700 2050
+Connection ~ 6700 2050
+Wire Wire Line
+ 6700 2600 8050 2600
+Connection ~ 8050 2600
+Connection ~ 6700 2600
+Wire Wire Line
+ 6400 1750 5950 1750
+Wire Wire Line
+ 5950 1750 5950 3000
+Wire Wire Line
+ 5950 3000 6050 3000
+Wire Wire Line
+ 6400 2300 6400 2500
+Wire Wire Line
+ 5650 2500 7400 2500
+Wire Wire Line
+ 7400 2500 7400 3000
+Wire Wire Line
+ 5950 2350 5650 2350
+Connection ~ 5950 2350
+Connection ~ 6400 2500
+Wire Wire Line
+ 6750 1550 6750 1500
+Wire Wire Line
+ 6750 1500 8450 1500
+Wire Wire Line
+ 8450 1500 8450 2150
+Connection ~ 8450 2150
+Connection ~ 6750 1550
+Wire Wire Line
+ 6700 3350 6700 3300
+Wire Wire Line
+ 8450 3350 8450 3200
+Connection ~ 8450 3200
+Connection ~ 6700 3300
+Wire Wire Line
+ 8400 2650 8700 2650
+Connection ~ 8400 2650
+$Comp
+L eSim_MOS_P M5
+U 1 1 628727BA
+P 3100 3950
+F 0 "M5" H 3050 4000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3150 4100 50 0000 R CNN
+F 2 "" H 3350 4050 29 0000 C CNN
+F 3 "" H 3150 3950 60 0000 C CNN
+ 1 3100 3950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 628727BB
+P 2700 5000
+F 0 "M2" H 2700 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2800 4950 50 0000 R CNN
+F 2 "" H 3000 4700 29 0000 C CNN
+F 3 "" H 2800 4800 60 0000 C CNN
+ 1 2700 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 628727BC
+P 3100 4500
+F 0 "M6" H 3050 4550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3150 4650 50 0000 R CNN
+F 2 "" H 3350 4600 29 0000 C CNN
+F 3 "" H 3150 4500 60 0000 C CNN
+ 1 3100 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 628727BD
+P 3850 5000
+F 0 "M8" H 3850 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 4950 50 0000 R CNN
+F 2 "" H 4150 4700 29 0000 C CNN
+F 3 "" H 3950 4800 60 0000 C CNN
+ 1 3850 5000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 628727BE
+P 4800 4550
+F 0 "M12" H 4750 4600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4850 4700 50 0000 R CNN
+F 2 "" H 5050 4650 29 0000 C CNN
+F 3 "" H 4850 4550 60 0000 C CNN
+ 1 4800 4550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 628727BF
+P 4750 5000
+F 0 "M10" H 4750 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4850 4950 50 0000 R CNN
+F 2 "" H 5050 4700 29 0000 C CNN
+F 3 "" H 4850 4800 60 0000 C CNN
+ 1 4750 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3250 4150 3250 4300
+Wire Wire Line
+ 2900 5400 2900 5500
+Wire Wire Line
+ 2900 5500 3650 5500
+Wire Wire Line
+ 3650 5500 3650 5400
+Wire Wire Line
+ 2900 5000 2900 4950
+Wire Wire Line
+ 2900 4950 3650 4950
+Wire Wire Line
+ 3650 4950 3650 5000
+Wire Wire Line
+ 3250 4700 3250 4950
+Connection ~ 3250 4950
+Wire Wire Line
+ 3000 5350 3000 5500
+Connection ~ 3000 5500
+Wire Wire Line
+ 3550 5350 3550 5500
+Connection ~ 3550 5500
+Wire Wire Line
+ 4950 4750 4950 5000
+Wire Wire Line
+ 4650 4550 4600 4550
+Wire Wire Line
+ 4600 4550 4600 5200
+Wire Wire Line
+ 4600 5200 4650 5200
+Wire Wire Line
+ 4950 4350 5050 4350
+Wire Wire Line
+ 5050 4350 5050 4400
+Wire Wire Line
+ 4950 5400 5050 5400
+Wire Wire Line
+ 5050 5400 5050 5350
+Wire Wire Line
+ 3250 3750 3350 3750
+Wire Wire Line
+ 3350 3750 3350 3800
+Wire Wire Line
+ 3350 4350 3350 4250
+Wire Wire Line
+ 3350 4250 3250 4250
+Connection ~ 3250 4250
+Wire Wire Line
+ 3250 4800 4600 4800
+Connection ~ 4600 4800
+Connection ~ 3250 4800
+Wire Wire Line
+ 2950 3950 2500 3950
+Wire Wire Line
+ 2500 3950 2500 5200
+Wire Wire Line
+ 2500 5200 2600 5200
+Wire Wire Line
+ 2950 4500 2950 4700
+Wire Wire Line
+ 2200 4700 3950 4700
+Wire Wire Line
+ 3950 4700 3950 5200
+Wire Wire Line
+ 2500 4550 2200 4550
+Connection ~ 2500 4550
+Connection ~ 2950 4700
+Wire Wire Line
+ 3300 3750 3300 3700
+Wire Wire Line
+ 3300 3700 5000 3700
+Wire Wire Line
+ 5000 3700 5000 4350
+Connection ~ 5000 4350
+Connection ~ 3300 3750
+Wire Wire Line
+ 3250 5500 3250 5550
+Wire Wire Line
+ 3250 5550 8450 5550
+Wire Wire Line
+ 5000 5550 5000 5400
+Connection ~ 5000 5400
+Connection ~ 3250 5500
+Wire Wire Line
+ 4950 4850 5250 4850
+Connection ~ 4950 4850
+$Comp
+L eSim_MOS_P M17
+U 1 1 628727C0
+P 6550 3950
+F 0 "M17" H 6500 4000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 4100 50 0000 R CNN
+F 2 "" H 6800 4050 29 0000 C CNN
+F 3 "" H 6600 3950 60 0000 C CNN
+ 1 6550 3950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 628727C1
+P 6150 5000
+F 0 "M14" H 6150 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6250 4950 50 0000 R CNN
+F 2 "" H 6450 4700 29 0000 C CNN
+F 3 "" H 6250 4800 60 0000 C CNN
+ 1 6150 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 628727C2
+P 6550 4500
+F 0 "M18" H 6500 4550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 4650 50 0000 R CNN
+F 2 "" H 6800 4600 29 0000 C CNN
+F 3 "" H 6600 4500 60 0000 C CNN
+ 1 6550 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 628727C3
+P 7300 5000
+F 0 "M20" H 7300 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7400 4950 50 0000 R CNN
+F 2 "" H 7600 4700 29 0000 C CNN
+F 3 "" H 7400 4800 60 0000 C CNN
+ 1 7300 5000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 628727C4
+P 8250 4550
+F 0 "M24" H 8200 4600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8300 4700 50 0000 R CNN
+F 2 "" H 8500 4650 29 0000 C CNN
+F 3 "" H 8300 4550 60 0000 C CNN
+ 1 8250 4550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 628727C5
+P 8200 5000
+F 0 "M22" H 8200 4850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8300 4950 50 0000 R CNN
+F 2 "" H 8500 4700 29 0000 C CNN
+F 3 "" H 8300 4800 60 0000 C CNN
+ 1 8200 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 4150 6700 4300
+Wire Wire Line
+ 6350 5400 6350 5500
+Wire Wire Line
+ 6350 5500 7100 5500
+Wire Wire Line
+ 7100 5500 7100 5400
+Wire Wire Line
+ 6350 5000 6350 4950
+Wire Wire Line
+ 6350 4950 7100 4950
+Wire Wire Line
+ 7100 4950 7100 5000
+Wire Wire Line
+ 6700 4700 6700 4950
+Connection ~ 6700 4950
+Wire Wire Line
+ 6450 5350 6450 5500
+Connection ~ 6450 5500
+Wire Wire Line
+ 7000 5350 7000 5500
+Connection ~ 7000 5500
+Wire Wire Line
+ 8400 4750 8400 5000
+Wire Wire Line
+ 8100 4550 8050 4550
+Wire Wire Line
+ 8050 4550 8050 5200
+Wire Wire Line
+ 8050 5200 8100 5200
+Wire Wire Line
+ 8400 4350 8500 4350
+Wire Wire Line
+ 8500 4350 8500 4400
+Wire Wire Line
+ 8400 5400 8500 5400
+Wire Wire Line
+ 8500 5400 8500 5350
+Wire Wire Line
+ 6700 3750 6800 3750
+Wire Wire Line
+ 6800 3750 6800 3800
+Wire Wire Line
+ 6800 4350 6800 4250
+Wire Wire Line
+ 6800 4250 6700 4250
+Connection ~ 6700 4250
+Wire Wire Line
+ 6700 4800 8050 4800
+Connection ~ 8050 4800
+Connection ~ 6700 4800
+Wire Wire Line
+ 6400 3950 5950 3950
+Wire Wire Line
+ 5950 3950 5950 5200
+Wire Wire Line
+ 5950 5200 6050 5200
+Wire Wire Line
+ 6400 4500 6400 4700
+Wire Wire Line
+ 5650 4700 7400 4700
+Wire Wire Line
+ 7400 4700 7400 5200
+Wire Wire Line
+ 5950 4550 5650 4550
+Connection ~ 5950 4550
+Connection ~ 6400 4700
+Wire Wire Line
+ 6750 3750 6750 3700
+Wire Wire Line
+ 6750 3700 8450 3700
+Wire Wire Line
+ 8450 3700 8450 4350
+Connection ~ 8450 4350
+Connection ~ 6750 3750
+Wire Wire Line
+ 6700 5550 6700 5500
+Wire Wire Line
+ 8450 5550 8450 5400
+Connection ~ 8450 5400
+Connection ~ 6700 5500
+Wire Wire Line
+ 8400 4850 8700 4850
+Connection ~ 8400 4850
+Wire Wire Line
+ 4150 1500 4150 1400
+Wire Wire Line
+ 4150 1400 7450 1400
+Wire Wire Line
+ 7450 1400 7450 1500
+Connection ~ 7450 1500
+Connection ~ 4150 1500
+Wire Wire Line
+ 4750 3700 4750 3650
+Wire Wire Line
+ 4750 3650 7250 3650
+Wire Wire Line
+ 7250 3650 7250 3700
+Connection ~ 7250 3700
+Connection ~ 4750 3700
+Connection ~ 6700 3350
+Connection ~ 5000 3350
+Connection ~ 6700 5550
+Connection ~ 5000 5550
+Wire Wire Line
+ 5450 1400 5450 3650
+Connection ~ 5450 3650
+Connection ~ 5450 1400
+Wire Wire Line
+ 5550 3350 5550 5750
+Connection ~ 5550 5550
+Connection ~ 5550 3350
+$Comp
+L PORT U1
+U 1 1 6287296A
+P 1950 4550
+F 0 "U1" H 2000 4650 30 0000 C CNN
+F 1 "PORT" H 1950 4550 30 0000 C CNN
+F 2 "" H 1950 4550 60 0000 C CNN
+F 3 "" H 1950 4550 60 0000 C CNN
+ 1 1950 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62872A2C
+P 1950 4700
+F 0 "U1" H 2000 4800 30 0000 C CNN
+F 1 "PORT" H 1950 4700 30 0000 C CNN
+F 2 "" H 1950 4700 60 0000 C CNN
+F 3 "" H 1950 4700 60 0000 C CNN
+ 2 1950 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62872A8F
+P 5500 4850
+F 0 "U1" H 5550 4950 30 0000 C CNN
+F 1 "PORT" H 5500 4850 30 0000 C CNN
+F 2 "" H 5500 4850 60 0000 C CNN
+F 3 "" H 5500 4850 60 0000 C CNN
+ 3 5500 4850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62872B0A
+P 8950 4850
+F 0 "U1" H 9000 4950 30 0000 C CNN
+F 1 "PORT" H 8950 4850 30 0000 C CNN
+F 2 "" H 8950 4850 60 0000 C CNN
+F 3 "" H 8950 4850 60 0000 C CNN
+ 4 8950 4850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62872C19
+P 5400 4550
+F 0 "U1" H 5450 4650 30 0000 C CNN
+F 1 "PORT" H 5400 4550 30 0000 C CNN
+F 2 "" H 5400 4550 60 0000 C CNN
+F 3 "" H 5400 4550 60 0000 C CNN
+ 5 5400 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62872CBA
+P 5400 4700
+F 0 "U1" H 5450 4800 30 0000 C CNN
+F 1 "PORT" H 5400 4700 30 0000 C CNN
+F 2 "" H 5400 4700 60 0000 C CNN
+F 3 "" H 5400 4700 60 0000 C CNN
+ 6 5400 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62872D4F
+P 5300 5750
+F 0 "U1" H 5350 5850 30 0000 C CNN
+F 1 "PORT" H 5300 5750 30 0000 C CNN
+F 2 "" H 5300 5750 60 0000 C CNN
+F 3 "" H 5300 5750 60 0000 C CNN
+ 7 5300 5750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62872F3E
+P 5400 2350
+F 0 "U1" H 5450 2450 30 0000 C CNN
+F 1 "PORT" H 5400 2350 30 0000 C CNN
+F 2 "" H 5400 2350 60 0000 C CNN
+F 3 "" H 5400 2350 60 0000 C CNN
+ 8 5400 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62872FF3
+P 5400 2500
+F 0 "U1" H 5450 2600 30 0000 C CNN
+F 1 "PORT" H 5400 2500 30 0000 C CNN
+F 2 "" H 5400 2500 60 0000 C CNN
+F 3 "" H 5400 2500 60 0000 C CNN
+ 9 5400 2500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 628730B4
+P 8950 2650
+F 0 "U1" H 9000 2750 30 0000 C CNN
+F 1 "PORT" H 8950 2650 30 0000 C CNN
+F 2 "" H 8950 2650 60 0000 C CNN
+F 3 "" H 8950 2650 60 0000 C CNN
+ 10 8950 2650
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 6287314B
+P 5500 2650
+F 0 "U1" H 5550 2750 30 0000 C CNN
+F 1 "PORT" H 5500 2650 30 0000 C CNN
+F 2 "" H 5500 2650 60 0000 C CNN
+F 3 "" H 5500 2650 60 0000 C CNN
+ 11 5500 2650
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 6287321E
+P 1950 2350
+F 0 "U1" H 2000 2450 30 0000 C CNN
+F 1 "PORT" H 1950 2350 30 0000 C CNN
+F 2 "" H 1950 2350 60 0000 C CNN
+F 3 "" H 1950 2350 60 0000 C CNN
+ 12 1950 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 628732C3
+P 1950 2500
+F 0 "U1" H 2000 2600 30 0000 C CNN
+F 1 "PORT" H 1950 2500 30 0000 C CNN
+F 2 "" H 1950 2500 60 0000 C CNN
+F 3 "" H 1950 2500 60 0000 C CNN
+ 13 1950 2500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 628739BA
+P 3900 1400
+F 0 "U1" H 3950 1500 30 0000 C CNN
+F 1 "PORT" H 3900 1400 30 0000 C CNN
+F 2 "" H 3900 1400 60 0000 C CNN
+F 3 "" H 3900 1400 60 0000 C CNN
+ 14 3900 1400
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071.sub b/library/SubcircuitLibrary/CD_4071/CD_4071.sub
new file mode 100644
index 00000000..973024dd
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071.sub
@@ -0,0 +1,32 @@
+* Subcircuit CD_4071
+.subckt CD_4071 net-_m2-pad2_ net-_m6-pad2_ net-_m10-pad1_ net-_m22-pad1_ net-_m14-pad2_ net-_m18-pad2_ net-_m1-pad3_ net-_m13-pad2_ net-_m16-pad2_ net-_m21-pad1_ net-_m11-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4071\cd_4071.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m3 net-_m3-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m3-pad1_ net-_m3-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m1-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m15 net-_m15-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m13-pad1_ net-_m16-pad2_ net-_m15-pad1_ net-_m15-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_m13-pad1_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m21-pad1_ net-_m13-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m13-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m10-pad2_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m10-pad2_ net-_m6-pad2_ net-_m5-pad1_ net-_m5-pad1_ CMOSP W=100u L=100u M=1
+m8 net-_m10-pad2_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m17-pad1_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m14-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m14-pad1_ net-_m18-pad2_ net-_m17-pad1_ net-_m17-pad1_ CMOSP W=100u L=100u M=1
+m20 net-_m14-pad1_ net-_m18-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m24 net-_m22-pad1_ net-_m14-pad1_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m22-pad1_ net-_m14-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4071 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4071/CD_4071_Previous_Values.xml b/library/SubcircuitLibrary/CD_4071/CD_4071_Previous_Values.xml
new file mode 100644
index 00000000..942286c7
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/CD_4071_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m19><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m17><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4071/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4071/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4071/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4071/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4071/README.md b/library/SubcircuitLibrary/CD_4071/README.md
new file mode 100644
index 00000000..9f99fe20
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/README.md
@@ -0,0 +1,30 @@
+
+# CD4071 IC
+
+It is 2-input OR Gate IC. CD4071 IC is designed with 180nm CMOS technology in eSim consisting four OR Gates. When both the inputs are LOW then only output is LOW, otherwise HIGH.
+
+
+## Usage/Examples
+
+In designing basic logic circuits or Alarm circuits for example alarm for a car door system can be designed using this IC.
+
+Encoders
+
+Decoders
+
+We can design Multiplexers of any size and also De-multiplexers.
+
+## Documentation
+
+To know the details of CD4071 IC please go through with the documentation : [CD4071_datasheet](https://www.ti.com/lit/gpn/cd4071b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4071/analysis b/library/SubcircuitLibrary/CD_4071/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4071/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077-cache.lib b/library/SubcircuitLibrary/CD_4077/CD_4077-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077.cir b/library/SubcircuitLibrary/CD_4077/CD_4077.cir
new file mode 100644
index 00000000..349ff880
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077.cir
@@ -0,0 +1,59 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4077\CD_4077.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/19/22 23:08:47
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M15 Net-_M11-Pad1_ Net-_M15-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M12 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M16 Net-_M12-Pad1_ Net-_M16-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ eSim_MOS_P
+M7 Net-_M12-Pad1_ Net-_M11-Pad2_ Net-_M7-Pad3_ Net-_M7-Pad3_ eSim_MOS_N
+M19 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M19-Pad3_ Net-_M19-Pad3_ eSim_MOS_N
+M8 Net-_M7-Pad3_ Net-_M15-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M20 Net-_M19-Pad3_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M4 Net-_M12-Pad2_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M12-Pad2_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M22 Net-_M15-Pad2_ Net-_M16-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M24 Net-_M15-Pad2_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M39 Net-_M35-Pad1_ Net-_M32-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M35 Net-_M35-Pad1_ Net-_M26-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M36 Net-_M31-Pad1_ Net-_M26-Pad1_ Net-_M35-Pad1_ Net-_M35-Pad1_ eSim_MOS_P
+M40 Net-_M31-Pad1_ Net-_M40-Pad2_ Net-_M35-Pad1_ Net-_M35-Pad1_ eSim_MOS_P
+M31 Net-_M31-Pad1_ Net-_M26-Pad2_ Net-_M31-Pad3_ Net-_M31-Pad3_ eSim_MOS_N
+M43 Net-_M31-Pad1_ Net-_M26-Pad1_ Net-_M43-Pad3_ Net-_M43-Pad3_ eSim_MOS_N
+M32 Net-_M31-Pad3_ Net-_M32-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M44 Net-_M43-Pad3_ Net-_M40-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M28 Net-_M26-Pad1_ Net-_M26-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M26 Net-_M26-Pad1_ Net-_M26-Pad2_ Net-_M26-Pad3_ Net-_M26-Pad3_ eSim_MOS_N
+M46 Net-_M32-Pad2_ Net-_M40-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M48 Net-_M32-Pad2_ Net-_M40-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M13 Net-_M10-Pad3_ Net-_M13-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M10-Pad3_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M1-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M14 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_P
+M5 Net-_M10-Pad1_ Net-_M1-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_N
+M17 Net-_M10-Pad1_ Net-_M1-Pad1_ Net-_M17-Pad3_ Net-_M17-Pad3_ eSim_MOS_N
+M6 Net-_M5-Pad3_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M18 Net-_M17-Pad3_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M3 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M21 Net-_M13-Pad2_ Net-_M14-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M23 Net-_M13-Pad2_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M37 Net-_M33-Pad1_ Net-_M30-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M33 Net-_M33-Pad1_ Net-_M25-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M34 Net-_M29-Pad1_ Net-_M25-Pad1_ Net-_M33-Pad1_ Net-_M33-Pad1_ eSim_MOS_P
+M38 Net-_M29-Pad1_ Net-_M38-Pad2_ Net-_M33-Pad1_ Net-_M33-Pad1_ eSim_MOS_P
+M29 Net-_M29-Pad1_ Net-_M25-Pad2_ Net-_M29-Pad3_ Net-_M29-Pad3_ eSim_MOS_N
+M41 Net-_M29-Pad1_ Net-_M25-Pad1_ Net-_M41-Pad3_ Net-_M41-Pad3_ eSim_MOS_N
+M30 Net-_M29-Pad3_ Net-_M30-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M42 Net-_M41-Pad3_ Net-_M38-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M27 Net-_M25-Pad1_ Net-_M25-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M25 Net-_M25-Pad1_ Net-_M25-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M45 Net-_M30-Pad2_ Net-_M38-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M47 Net-_M30-Pad2_ Net-_M38-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_M1-Pad2_ Net-_M14-Pad2_ Net-_M10-Pad1_ Net-_M29-Pad1_ Net-_M25-Pad2_ Net-_M38-Pad2_ Net-_M1-Pad3_ Net-_M26-Pad2_ Net-_M40-Pad2_ Net-_M31-Pad1_ Net-_M12-Pad1_ Net-_M11-Pad2_ Net-_M16-Pad2_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077.cir.out b/library/SubcircuitLibrary/CD_4077/CD_4077.cir.out
new file mode 100644
index 00000000..07aa4263
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077.cir.out
@@ -0,0 +1,62 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4077\cd_4077.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m12-pad1_ net-_m11-pad2_ net-_m7-pad3_ net-_m7-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m12-pad1_ net-_m12-pad2_ net-_m19-pad3_ net-_m19-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m15-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m19-pad3_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m12-pad2_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m12-pad2_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m15-pad2_ net-_m16-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m15-pad2_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m35-pad1_ net-_m32-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m26-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m36 net-_m31-pad1_ net-_m26-pad1_ net-_m35-pad1_ net-_m35-pad1_ CMOSP W=100u L=100u M=1
+m40 net-_m31-pad1_ net-_m40-pad2_ net-_m35-pad1_ net-_m35-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m31-pad1_ net-_m26-pad2_ net-_m31-pad3_ net-_m31-pad3_ CMOSN W=100u L=100u M=1
+m43 net-_m31-pad1_ net-_m26-pad1_ net-_m43-pad3_ net-_m43-pad3_ CMOSN W=100u L=100u M=1
+m32 net-_m31-pad3_ net-_m32-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m44 net-_m43-pad3_ net-_m40-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m28 net-_m26-pad1_ net-_m26-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m26 net-_m26-pad1_ net-_m26-pad2_ net-_m26-pad3_ net-_m26-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m32-pad2_ net-_m40-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m48 net-_m32-pad2_ net-_m40-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m10-pad3_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m10-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m10-pad1_ net-_m1-pad1_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m13-pad2_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m23 net-_m13-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m33-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m25-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m34 net-_m29-pad1_ net-_m25-pad1_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m38 net-_m29-pad1_ net-_m38-pad2_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m29 net-_m29-pad1_ net-_m25-pad2_ net-_m29-pad3_ net-_m29-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m29-pad1_ net-_m25-pad1_ net-_m41-pad3_ net-_m41-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m29-pad3_ net-_m30-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m42 net-_m41-pad3_ net-_m38-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m27 net-_m25-pad1_ net-_m25-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m25 net-_m25-pad1_ net-_m25-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m30-pad2_ net-_m38-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m47 net-_m30-pad2_ net-_m38-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m14-pad2_ net-_m10-pad1_ net-_m29-pad1_ net-_m25-pad2_ net-_m38-pad2_ net-_m1-pad3_ net-_m26-pad2_ net-_m40-pad2_ net-_m31-pad1_ net-_m12-pad1_ net-_m11-pad2_ net-_m16-pad2_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077.pro b/library/SubcircuitLibrary/CD_4077/CD_4077.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077.sch b/library/SubcircuitLibrary/CD_4077/CD_4077.sch
new file mode 100644
index 00000000..393fedbc
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077.sch
@@ -0,0 +1,1376 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4077-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_P M15
+U 1 1 62867BD2
+P 4300 1250
+F 0 "M15" H 4250 1300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4350 1400 50 0000 R CNN
+F 2 "" H 4550 1350 29 0000 C CNN
+F 3 "" H 4350 1250 60 0000 C CNN
+ 1 4300 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62867BD3
+P 3500 1250
+F 0 "M11" H 3450 1300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3550 1400 50 0000 R CNN
+F 2 "" H 3750 1350 29 0000 C CNN
+F 3 "" H 3550 1250 60 0000 C CNN
+ 1 3500 1250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62867BD4
+P 3500 1800
+F 0 "M12" H 3450 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3550 1950 50 0000 R CNN
+F 2 "" H 3750 1900 29 0000 C CNN
+F 3 "" H 3550 1800 60 0000 C CNN
+ 1 3500 1800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 62867BD5
+P 4300 1800
+F 0 "M16" H 4250 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4350 1950 50 0000 R CNN
+F 2 "" H 4550 1900 29 0000 C CNN
+F 3 "" H 4350 1800 60 0000 C CNN
+ 1 4300 1800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 62867BD6
+P 3450 2250
+F 0 "M7" H 3450 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3550 2200 50 0000 R CNN
+F 2 "" H 3750 1950 29 0000 C CNN
+F 3 "" H 3550 2050 60 0000 C CNN
+ 1 3450 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M19
+U 1 1 62867BD7
+P 4350 2250
+F 0 "M19" H 4350 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4450 2200 50 0000 R CNN
+F 2 "" H 4650 1950 29 0000 C CNN
+F 3 "" H 4450 2050 60 0000 C CNN
+ 1 4350 2250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62867BD8
+P 3450 2750
+F 0 "M8" H 3450 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3550 2700 50 0000 R CNN
+F 2 "" H 3750 2450 29 0000 C CNN
+F 3 "" H 3550 2550 60 0000 C CNN
+ 1 3450 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 62867BD9
+P 4350 2750
+F 0 "M20" H 4350 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4450 2700 50 0000 R CNN
+F 2 "" H 4650 2450 29 0000 C CNN
+F 3 "" H 4450 2550 60 0000 C CNN
+ 1 4350 2750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 62867BDA
+P 2750 1200
+F 0 "M4" H 2700 1250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2800 1350 50 0000 R CNN
+F 2 "" H 3000 1300 29 0000 C CNN
+F 3 "" H 2800 1200 60 0000 C CNN
+ 1 2750 1200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62867BDB
+P 2700 1550
+F 0 "M2" H 2700 1400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2800 1500 50 0000 R CNN
+F 2 "" H 3000 1250 29 0000 C CNN
+F 3 "" H 2800 1350 60 0000 C CNN
+ 1 2700 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M22
+U 1 1 62867BDC
+P 5300 1200
+F 0 "M22" H 5250 1250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5350 1350 50 0000 R CNN
+F 2 "" H 5550 1300 29 0000 C CNN
+F 3 "" H 5350 1200 60 0000 C CNN
+ 1 5300 1200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M24
+U 1 1 62867BDD
+P 5350 1550
+F 0 "M24" H 5350 1400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5450 1500 50 0000 R CNN
+F 2 "" H 5650 1250 29 0000 C CNN
+F 3 "" H 5450 1350 60 0000 C CNN
+ 1 5350 1550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M39
+U 1 1 62867BDE
+P 8250 1250
+F 0 "M39" H 8200 1300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8300 1400 50 0000 R CNN
+F 2 "" H 8500 1350 29 0000 C CNN
+F 3 "" H 8300 1250 60 0000 C CNN
+ 1 8250 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M35
+U 1 1 62867BDF
+P 7450 1250
+F 0 "M35" H 7400 1300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7500 1400 50 0000 R CNN
+F 2 "" H 7700 1350 29 0000 C CNN
+F 3 "" H 7500 1250 60 0000 C CNN
+ 1 7450 1250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M36
+U 1 1 62867BE0
+P 7450 1800
+F 0 "M36" H 7400 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7500 1950 50 0000 R CNN
+F 2 "" H 7700 1900 29 0000 C CNN
+F 3 "" H 7500 1800 60 0000 C CNN
+ 1 7450 1800
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M40
+U 1 1 62867BE1
+P 8250 1800
+F 0 "M40" H 8200 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8300 1950 50 0000 R CNN
+F 2 "" H 8500 1900 29 0000 C CNN
+F 3 "" H 8300 1800 60 0000 C CNN
+ 1 8250 1800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M31
+U 1 1 62867BE2
+P 7400 2250
+F 0 "M31" H 7400 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7500 2200 50 0000 R CNN
+F 2 "" H 7700 1950 29 0000 C CNN
+F 3 "" H 7500 2050 60 0000 C CNN
+ 1 7400 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M43
+U 1 1 62867BE3
+P 8300 2250
+F 0 "M43" H 8300 2100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8400 2200 50 0000 R CNN
+F 2 "" H 8600 1950 29 0000 C CNN
+F 3 "" H 8400 2050 60 0000 C CNN
+ 1 8300 2250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M32
+U 1 1 62867BE4
+P 7400 2750
+F 0 "M32" H 7400 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7500 2700 50 0000 R CNN
+F 2 "" H 7700 2450 29 0000 C CNN
+F 3 "" H 7500 2550 60 0000 C CNN
+ 1 7400 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M44
+U 1 1 62867BE5
+P 8300 2750
+F 0 "M44" H 8300 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8400 2700 50 0000 R CNN
+F 2 "" H 8600 2450 29 0000 C CNN
+F 3 "" H 8400 2550 60 0000 C CNN
+ 1 8300 2750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M28
+U 1 1 62867BE6
+P 6700 1200
+F 0 "M28" H 6650 1250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6750 1350 50 0000 R CNN
+F 2 "" H 6950 1300 29 0000 C CNN
+F 3 "" H 6750 1200 60 0000 C CNN
+ 1 6700 1200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62867BE7
+P 6650 1550
+F 0 "M26" H 6650 1400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6750 1500 50 0000 R CNN
+F 2 "" H 6950 1250 29 0000 C CNN
+F 3 "" H 6750 1350 60 0000 C CNN
+ 1 6650 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M46
+U 1 1 62867BE8
+P 9250 1200
+F 0 "M46" H 9200 1250 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9300 1350 50 0000 R CNN
+F 2 "" H 9500 1300 29 0000 C CNN
+F 3 "" H 9300 1200 60 0000 C CNN
+ 1 9250 1200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M48
+U 1 1 62867BE9
+P 9300 1550
+F 0 "M48" H 9300 1400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9400 1500 50 0000 R CNN
+F 2 "" H 9600 1250 29 0000 C CNN
+F 3 "" H 9400 1350 60 0000 C CNN
+ 1 9300 1550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62867BEA
+P 4250 4050
+F 0 "M13" H 4200 4100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4300 4200 50 0000 R CNN
+F 2 "" H 4500 4150 29 0000 C CNN
+F 3 "" H 4300 4050 60 0000 C CNN
+ 1 4250 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M9
+U 1 1 62867BEB
+P 3450 4050
+F 0 "M9" H 3400 4100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4200 50 0000 R CNN
+F 2 "" H 3700 4150 29 0000 C CNN
+F 3 "" H 3500 4050 60 0000 C CNN
+ 1 3450 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M10
+U 1 1 62867BEC
+P 3450 4600
+F 0 "M10" H 3400 4650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4750 50 0000 R CNN
+F 2 "" H 3700 4700 29 0000 C CNN
+F 3 "" H 3500 4600 60 0000 C CNN
+ 1 3450 4600
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62867BED
+P 4250 4600
+F 0 "M14" H 4200 4650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4300 4750 50 0000 R CNN
+F 2 "" H 4500 4700 29 0000 C CNN
+F 3 "" H 4300 4600 60 0000 C CNN
+ 1 4250 4600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62867BEE
+P 3400 5050
+F 0 "M5" H 3400 4900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3500 5000 50 0000 R CNN
+F 2 "" H 3700 4750 29 0000 C CNN
+F 3 "" H 3500 4850 60 0000 C CNN
+ 1 3400 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62867BEF
+P 4300 5050
+F 0 "M17" H 4300 4900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4400 5000 50 0000 R CNN
+F 2 "" H 4600 4750 29 0000 C CNN
+F 3 "" H 4400 4850 60 0000 C CNN
+ 1 4300 5050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 62867BF0
+P 3400 5550
+F 0 "M6" H 3400 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3500 5500 50 0000 R CNN
+F 2 "" H 3700 5250 29 0000 C CNN
+F 3 "" H 3500 5350 60 0000 C CNN
+ 1 3400 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M18
+U 1 1 62867BF1
+P 4300 5550
+F 0 "M18" H 4300 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4400 5500 50 0000 R CNN
+F 2 "" H 4600 5250 29 0000 C CNN
+F 3 "" H 4400 5350 60 0000 C CNN
+ 1 4300 5550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 62867BF2
+P 2700 4000
+F 0 "M3" H 2650 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2750 4150 50 0000 R CNN
+F 2 "" H 2950 4100 29 0000 C CNN
+F 3 "" H 2750 4000 60 0000 C CNN
+ 1 2700 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62867BF3
+P 2650 4350
+F 0 "M1" H 2650 4200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2750 4300 50 0000 R CNN
+F 2 "" H 2950 4050 29 0000 C CNN
+F 3 "" H 2750 4150 60 0000 C CNN
+ 1 2650 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M21
+U 1 1 62867BF4
+P 5250 4000
+F 0 "M21" H 5200 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5300 4150 50 0000 R CNN
+F 2 "" H 5500 4100 29 0000 C CNN
+F 3 "" H 5300 4000 60 0000 C CNN
+ 1 5250 4000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M23
+U 1 1 62867BF5
+P 5300 4350
+F 0 "M23" H 5300 4200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5400 4300 50 0000 R CNN
+F 2 "" H 5600 4050 29 0000 C CNN
+F 3 "" H 5400 4150 60 0000 C CNN
+ 1 5300 4350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 62867BF6
+P 8200 4050
+F 0 "M37" H 8150 4100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8250 4200 50 0000 R CNN
+F 2 "" H 8450 4150 29 0000 C CNN
+F 3 "" H 8250 4050 60 0000 C CNN
+ 1 8200 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M33
+U 1 1 62867BF7
+P 7400 4050
+F 0 "M33" H 7350 4100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7450 4200 50 0000 R CNN
+F 2 "" H 7650 4150 29 0000 C CNN
+F 3 "" H 7450 4050 60 0000 C CNN
+ 1 7400 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M34
+U 1 1 62867BF8
+P 7400 4600
+F 0 "M34" H 7350 4650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7450 4750 50 0000 R CNN
+F 2 "" H 7650 4700 29 0000 C CNN
+F 3 "" H 7450 4600 60 0000 C CNN
+ 1 7400 4600
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62867BF9
+P 8200 4600
+F 0 "M38" H 8150 4650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8250 4750 50 0000 R CNN
+F 2 "" H 8450 4700 29 0000 C CNN
+F 3 "" H 8250 4600 60 0000 C CNN
+ 1 8200 4600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M29
+U 1 1 62867BFA
+P 7350 5050
+F 0 "M29" H 7350 4900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7450 5000 50 0000 R CNN
+F 2 "" H 7650 4750 29 0000 C CNN
+F 3 "" H 7450 4850 60 0000 C CNN
+ 1 7350 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62867BFB
+P 8250 5050
+F 0 "M41" H 8250 4900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 5000 50 0000 R CNN
+F 2 "" H 8550 4750 29 0000 C CNN
+F 3 "" H 8350 4850 60 0000 C CNN
+ 1 8250 5050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 62867BFC
+P 7350 5550
+F 0 "M30" H 7350 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7450 5500 50 0000 R CNN
+F 2 "" H 7650 5250 29 0000 C CNN
+F 3 "" H 7450 5350 60 0000 C CNN
+ 1 7350 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M42
+U 1 1 62867BFD
+P 8250 5550
+F 0 "M42" H 8250 5400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 5500 50 0000 R CNN
+F 2 "" H 8550 5250 29 0000 C CNN
+F 3 "" H 8350 5350 60 0000 C CNN
+ 1 8250 5550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M27
+U 1 1 62867BFE
+P 6650 4000
+F 0 "M27" H 6600 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6700 4150 50 0000 R CNN
+F 2 "" H 6900 4100 29 0000 C CNN
+F 3 "" H 6700 4000 60 0000 C CNN
+ 1 6650 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M25
+U 1 1 62867BFF
+P 6600 4350
+F 0 "M25" H 6600 4200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6700 4300 50 0000 R CNN
+F 2 "" H 6900 4050 29 0000 C CNN
+F 3 "" H 6700 4150 60 0000 C CNN
+ 1 6600 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M45
+U 1 1 62867C00
+P 9200 4000
+F 0 "M45" H 9150 4050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9250 4150 50 0000 R CNN
+F 2 "" H 9450 4100 29 0000 C CNN
+F 3 "" H 9250 4000 60 0000 C CNN
+ 1 9200 4000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M47
+U 1 1 62867C01
+P 9250 4350
+F 0 "M47" H 9250 4200 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9350 4300 50 0000 R CNN
+F 2 "" H 9550 4050 29 0000 C CNN
+F 3 "" H 9350 4150 60 0000 C CNN
+ 1 9250 4350
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3650 1000 3650 1050
+Wire Wire Line
+ 2900 1000 5150 1000
+Wire Wire Line
+ 4150 1000 4150 1050
+Wire Wire Line
+ 3650 1450 3650 1600
+Wire Wire Line
+ 4150 1450 4150 1600
+Wire Wire Line
+ 3650 1500 4150 1500
+Connection ~ 4150 1500
+Connection ~ 3650 1500
+Wire Wire Line
+ 3650 2000 4150 2000
+Wire Wire Line
+ 3650 2250 4150 2250
+Wire Wire Line
+ 2950 3150 9050 3150
+Wire Wire Line
+ 3900 2000 3900 2250
+Connection ~ 3900 2250
+Connection ~ 3900 2000
+Wire Wire Line
+ 3650 2650 3650 2750
+Wire Wire Line
+ 4150 2650 4150 2750
+Wire Wire Line
+ 3750 1100 3750 1000
+Connection ~ 3750 1000
+Wire Wire Line
+ 4050 1100 4050 1000
+Connection ~ 4050 1000
+Wire Wire Line
+ 3750 1650 3750 1550
+Wire Wire Line
+ 3750 1550 3650 1550
+Connection ~ 3650 1550
+Wire Wire Line
+ 4050 1650 4050 1550
+Wire Wire Line
+ 4050 1550 4150 1550
+Connection ~ 4150 1550
+Wire Wire Line
+ 3750 2600 3750 2700
+Wire Wire Line
+ 3750 2700 3650 2700
+Connection ~ 3650 2700
+Wire Wire Line
+ 4050 2600 4050 2700
+Wire Wire Line
+ 4050 2700 4150 2700
+Connection ~ 4150 2700
+Wire Wire Line
+ 3750 3100 3750 3150
+Connection ~ 3750 3150
+Wire Wire Line
+ 4050 3100 4050 3150
+Connection ~ 4050 3150
+Wire Wire Line
+ 2600 1200 2600 1750
+Wire Wire Line
+ 3000 1000 3000 1050
+Wire Wire Line
+ 2900 1950 3000 1950
+Wire Wire Line
+ 3000 1950 3000 1900
+Wire Wire Line
+ 2900 1400 2900 1550
+Wire Wire Line
+ 5450 1200 5450 1750
+Wire Wire Line
+ 5050 1000 5050 1050
+Wire Wire Line
+ 5050 1950 5150 1950
+Wire Wire Line
+ 5050 1950 5050 1900
+Wire Wire Line
+ 5150 1400 5150 1550
+Wire Wire Line
+ 3350 1250 3200 1250
+Wire Wire Line
+ 3200 1250 3200 900
+Wire Wire Line
+ 3200 900 2350 900
+Wire Wire Line
+ 2350 900 2350 2450
+Wire Wire Line
+ 1900 1500 2600 1500
+Connection ~ 2600 1500
+Connection ~ 3650 1000
+Connection ~ 3000 1000
+Connection ~ 4150 1000
+Connection ~ 5050 1000
+Wire Wire Line
+ 4450 1250 4950 1250
+Wire Wire Line
+ 4950 1250 4950 2100
+Wire Wire Line
+ 4950 1450 5150 1450
+Connection ~ 5150 1450
+Wire Wire Line
+ 2900 1500 3250 1500
+Wire Wire Line
+ 3250 1500 3250 2200
+Wire Wire Line
+ 3250 1800 3350 1800
+Connection ~ 2900 1500
+Wire Wire Line
+ 5450 1450 5750 1450
+Wire Wire Line
+ 5750 1450 5750 2050
+Wire Wire Line
+ 5750 2050 4800 2050
+Wire Wire Line
+ 4800 1800 4800 2950
+Wire Wire Line
+ 4800 1800 4450 1800
+Connection ~ 5450 1450
+Wire Wire Line
+ 2350 2450 3350 2450
+Connection ~ 2350 1500
+Wire Wire Line
+ 4950 2100 3050 2100
+Wire Wire Line
+ 3050 2100 3050 2950
+Wire Wire Line
+ 3050 2950 3350 2950
+Connection ~ 4950 1450
+Wire Wire Line
+ 4800 2950 4450 2950
+Connection ~ 4800 2050
+Wire Wire Line
+ 3250 2200 4450 2200
+Wire Wire Line
+ 4450 2200 4450 2450
+Connection ~ 3250 1800
+Wire Wire Line
+ 3900 2150 4650 2150
+Wire Wire Line
+ 4650 2150 4650 2500
+Wire Wire Line
+ 4650 2500 5550 2500
+Connection ~ 3900 2150
+Wire Wire Line
+ 2950 1950 2950 3150
+Connection ~ 3650 3150
+Connection ~ 2950 1950
+Wire Wire Line
+ 5100 3150 5100 1950
+Connection ~ 4150 3150
+Connection ~ 5100 1950
+Wire Wire Line
+ 7600 1000 7600 1050
+Wire Wire Line
+ 6850 1000 9100 1000
+Wire Wire Line
+ 8100 1000 8100 1050
+Wire Wire Line
+ 7600 1450 7600 1600
+Wire Wire Line
+ 8100 1450 8100 1600
+Wire Wire Line
+ 7600 1500 8100 1500
+Connection ~ 8100 1500
+Connection ~ 7600 1500
+Wire Wire Line
+ 7600 2000 8100 2000
+Wire Wire Line
+ 7600 2250 8100 2250
+Wire Wire Line
+ 7850 2000 7850 2250
+Connection ~ 7850 2250
+Connection ~ 7850 2000
+Wire Wire Line
+ 7600 2650 7600 2750
+Wire Wire Line
+ 8100 2650 8100 2750
+Wire Wire Line
+ 7700 1100 7700 1000
+Connection ~ 7700 1000
+Wire Wire Line
+ 8000 1100 8000 1000
+Connection ~ 8000 1000
+Wire Wire Line
+ 7700 1650 7700 1550
+Wire Wire Line
+ 7700 1550 7600 1550
+Connection ~ 7600 1550
+Wire Wire Line
+ 8000 1650 8000 1550
+Wire Wire Line
+ 8000 1550 8100 1550
+Connection ~ 8100 1550
+Wire Wire Line
+ 7700 2600 7700 2700
+Wire Wire Line
+ 7700 2700 7600 2700
+Connection ~ 7600 2700
+Wire Wire Line
+ 8000 2600 8000 2700
+Wire Wire Line
+ 8000 2700 8100 2700
+Connection ~ 8100 2700
+Wire Wire Line
+ 7700 3100 7700 3150
+Connection ~ 7700 3150
+Wire Wire Line
+ 8000 3100 8000 3150
+Connection ~ 8000 3150
+Wire Wire Line
+ 6550 1200 6550 1750
+Wire Wire Line
+ 6950 1000 6950 1050
+Wire Wire Line
+ 6850 1950 6950 1950
+Wire Wire Line
+ 6950 1950 6950 1900
+Wire Wire Line
+ 6850 1400 6850 1550
+Wire Wire Line
+ 9400 1200 9400 1750
+Wire Wire Line
+ 9000 1000 9000 1050
+Wire Wire Line
+ 9000 1950 9100 1950
+Wire Wire Line
+ 9000 1950 9000 1900
+Wire Wire Line
+ 9100 1400 9100 1550
+Wire Wire Line
+ 7300 1250 7150 1250
+Wire Wire Line
+ 7150 1250 7150 900
+Wire Wire Line
+ 7150 900 6300 900
+Wire Wire Line
+ 6300 900 6300 2450
+Wire Wire Line
+ 6300 1500 6550 1500
+Connection ~ 6550 1500
+Connection ~ 7600 1000
+Connection ~ 6950 1000
+Connection ~ 8100 1000
+Connection ~ 9000 1000
+Wire Wire Line
+ 8400 1250 8900 1250
+Wire Wire Line
+ 8900 1250 8900 2100
+Wire Wire Line
+ 8900 1450 9100 1450
+Connection ~ 9100 1450
+Wire Wire Line
+ 6850 1500 7200 1500
+Wire Wire Line
+ 7200 1500 7200 2200
+Wire Wire Line
+ 7200 1800 7300 1800
+Connection ~ 6850 1500
+Wire Wire Line
+ 9400 1450 9850 1450
+Wire Wire Line
+ 9700 1450 9700 2050
+Wire Wire Line
+ 9700 2050 8750 2050
+Wire Wire Line
+ 8750 1800 8750 2950
+Wire Wire Line
+ 8750 1800 8400 1800
+Connection ~ 9400 1450
+Wire Wire Line
+ 6300 2450 7300 2450
+Connection ~ 6300 1500
+Wire Wire Line
+ 8900 2100 7000 2100
+Wire Wire Line
+ 7000 2100 7000 2950
+Wire Wire Line
+ 7000 2950 7300 2950
+Connection ~ 8900 1450
+Wire Wire Line
+ 8750 2950 8400 2950
+Connection ~ 8750 2050
+Wire Wire Line
+ 7200 2200 8400 2200
+Wire Wire Line
+ 8400 2200 8400 2450
+Connection ~ 7200 1800
+Wire Wire Line
+ 7850 2150 8600 2150
+Wire Wire Line
+ 8600 2150 8600 2500
+Wire Wire Line
+ 8600 2500 9500 2500
+Connection ~ 7850 2150
+Wire Wire Line
+ 6900 1950 6900 3150
+Connection ~ 7600 3150
+Connection ~ 6900 1950
+Wire Wire Line
+ 9050 3150 9050 1950
+Connection ~ 8100 3150
+Connection ~ 9050 1950
+Wire Wire Line
+ 3600 3800 3600 3850
+Wire Wire Line
+ 2850 3800 5100 3800
+Wire Wire Line
+ 4100 3800 4100 3850
+Wire Wire Line
+ 3600 4250 3600 4400
+Wire Wire Line
+ 4100 4250 4100 4400
+Wire Wire Line
+ 3600 4300 4100 4300
+Connection ~ 4100 4300
+Connection ~ 3600 4300
+Wire Wire Line
+ 3600 4800 4100 4800
+Wire Wire Line
+ 3600 5050 4100 5050
+Wire Wire Line
+ 2900 5950 9000 5950
+Wire Wire Line
+ 3850 4800 3850 5050
+Connection ~ 3850 5050
+Connection ~ 3850 4800
+Wire Wire Line
+ 3600 5450 3600 5550
+Wire Wire Line
+ 4100 5450 4100 5550
+Wire Wire Line
+ 3700 3900 3700 3800
+Connection ~ 3700 3800
+Wire Wire Line
+ 4000 3900 4000 3800
+Connection ~ 4000 3800
+Wire Wire Line
+ 3700 4450 3700 4350
+Wire Wire Line
+ 3700 4350 3600 4350
+Connection ~ 3600 4350
+Wire Wire Line
+ 4000 4450 4000 4350
+Wire Wire Line
+ 4000 4350 4100 4350
+Connection ~ 4100 4350
+Wire Wire Line
+ 3700 5400 3700 5500
+Wire Wire Line
+ 3700 5500 3600 5500
+Connection ~ 3600 5500
+Wire Wire Line
+ 4000 5400 4000 5500
+Wire Wire Line
+ 4000 5500 4100 5500
+Connection ~ 4100 5500
+Wire Wire Line
+ 3700 5900 3700 5950
+Connection ~ 3700 5950
+Wire Wire Line
+ 4000 5900 4000 5950
+Connection ~ 4000 5950
+Wire Wire Line
+ 2550 4000 2550 4550
+Wire Wire Line
+ 2950 3800 2950 3850
+Wire Wire Line
+ 2850 4750 2950 4750
+Wire Wire Line
+ 2950 4750 2950 4700
+Wire Wire Line
+ 2850 4200 2850 4350
+Wire Wire Line
+ 5400 4000 5400 4550
+Wire Wire Line
+ 5000 3800 5000 3850
+Wire Wire Line
+ 5000 4750 5100 4750
+Wire Wire Line
+ 5000 4750 5000 4700
+Wire Wire Line
+ 5100 4200 5100 4350
+Wire Wire Line
+ 3300 4050 3150 4050
+Wire Wire Line
+ 3150 4050 3150 3700
+Wire Wire Line
+ 3150 3700 2300 3700
+Wire Wire Line
+ 2300 3700 2300 5250
+Wire Wire Line
+ 1900 4300 2550 4300
+Connection ~ 2550 4300
+Connection ~ 3600 3800
+Connection ~ 2950 3800
+Connection ~ 4100 3800
+Connection ~ 5000 3800
+Wire Wire Line
+ 4400 4050 4900 4050
+Wire Wire Line
+ 4900 4050 4900 4900
+Wire Wire Line
+ 4900 4250 5100 4250
+Connection ~ 5100 4250
+Wire Wire Line
+ 2850 4300 3200 4300
+Wire Wire Line
+ 3200 4300 3200 5000
+Wire Wire Line
+ 3200 4600 3300 4600
+Connection ~ 2850 4300
+Wire Wire Line
+ 5700 4250 5400 4250
+Wire Wire Line
+ 5700 4250 5700 4850
+Wire Wire Line
+ 5700 4850 4750 4850
+Wire Wire Line
+ 4750 4600 4750 5750
+Wire Wire Line
+ 4750 4600 4400 4600
+Connection ~ 5400 4250
+Wire Wire Line
+ 2300 5250 3300 5250
+Connection ~ 2300 4300
+Wire Wire Line
+ 4900 4900 3000 4900
+Wire Wire Line
+ 3000 4900 3000 5750
+Wire Wire Line
+ 3000 5750 3300 5750
+Connection ~ 4900 4250
+Wire Wire Line
+ 4750 5750 4400 5750
+Connection ~ 4750 4850
+Wire Wire Line
+ 3200 5000 4400 5000
+Wire Wire Line
+ 4400 5000 4400 5250
+Connection ~ 3200 4600
+Wire Wire Line
+ 3850 4950 4600 4950
+Wire Wire Line
+ 4600 4950 4600 5300
+Wire Wire Line
+ 4600 5300 5500 5300
+Connection ~ 3850 4950
+Wire Wire Line
+ 2900 4750 2900 5950
+Connection ~ 3600 5950
+Connection ~ 2900 4750
+Wire Wire Line
+ 5050 5950 5050 4750
+Connection ~ 4100 5950
+Connection ~ 5050 4750
+Wire Wire Line
+ 7550 3800 7550 3850
+Wire Wire Line
+ 6800 3800 9050 3800
+Wire Wire Line
+ 8050 3800 8050 3850
+Wire Wire Line
+ 7550 4250 7550 4400
+Wire Wire Line
+ 8050 4250 8050 4400
+Wire Wire Line
+ 7550 4300 8050 4300
+Connection ~ 8050 4300
+Connection ~ 7550 4300
+Wire Wire Line
+ 7550 4800 8050 4800
+Wire Wire Line
+ 7550 5050 8050 5050
+Wire Wire Line
+ 7800 4800 7800 5050
+Connection ~ 7800 5050
+Connection ~ 7800 4800
+Wire Wire Line
+ 7550 5450 7550 5550
+Wire Wire Line
+ 8050 5450 8050 5550
+Wire Wire Line
+ 7650 3900 7650 3800
+Connection ~ 7650 3800
+Wire Wire Line
+ 7950 3900 7950 3800
+Connection ~ 7950 3800
+Wire Wire Line
+ 7650 4450 7650 4350
+Wire Wire Line
+ 7650 4350 7550 4350
+Connection ~ 7550 4350
+Wire Wire Line
+ 7950 4450 7950 4350
+Wire Wire Line
+ 7950 4350 8050 4350
+Connection ~ 8050 4350
+Wire Wire Line
+ 7650 5400 7650 5500
+Wire Wire Line
+ 7650 5500 7550 5500
+Connection ~ 7550 5500
+Wire Wire Line
+ 7950 5400 7950 5500
+Wire Wire Line
+ 7950 5500 8050 5500
+Connection ~ 8050 5500
+Wire Wire Line
+ 7650 5900 7650 5950
+Connection ~ 7650 5950
+Wire Wire Line
+ 7950 5900 7950 5950
+Connection ~ 7950 5950
+Wire Wire Line
+ 6500 4000 6500 4550
+Wire Wire Line
+ 6900 3800 6900 3850
+Wire Wire Line
+ 6800 4750 6900 4750
+Wire Wire Line
+ 6900 4750 6900 4700
+Wire Wire Line
+ 6800 4200 6800 4350
+Wire Wire Line
+ 9350 4000 9350 4550
+Wire Wire Line
+ 8950 3800 8950 3850
+Wire Wire Line
+ 8950 4750 9050 4750
+Wire Wire Line
+ 8950 4750 8950 4700
+Wire Wire Line
+ 9050 4200 9050 4350
+Wire Wire Line
+ 7250 4050 7100 4050
+Wire Wire Line
+ 7100 4050 7100 3700
+Wire Wire Line
+ 7100 3700 6250 3700
+Wire Wire Line
+ 6250 3700 6250 5250
+Wire Wire Line
+ 6250 4300 6500 4300
+Connection ~ 6500 4300
+Connection ~ 7550 3800
+Connection ~ 6900 3800
+Connection ~ 8050 3800
+Connection ~ 8950 3800
+Wire Wire Line
+ 8350 4050 8850 4050
+Wire Wire Line
+ 8850 4050 8850 4900
+Wire Wire Line
+ 8850 4250 9050 4250
+Connection ~ 9050 4250
+Wire Wire Line
+ 6800 4300 7150 4300
+Wire Wire Line
+ 7150 4300 7150 5000
+Wire Wire Line
+ 7150 4600 7250 4600
+Connection ~ 6800 4300
+Wire Wire Line
+ 9350 4250 9800 4250
+Wire Wire Line
+ 9650 4250 9650 4850
+Wire Wire Line
+ 9650 4850 8700 4850
+Wire Wire Line
+ 8700 4600 8700 5750
+Wire Wire Line
+ 8700 4600 8350 4600
+Connection ~ 9350 4250
+Wire Wire Line
+ 6250 5250 7250 5250
+Connection ~ 6250 4300
+Wire Wire Line
+ 8850 4900 6950 4900
+Wire Wire Line
+ 6950 4900 6950 5750
+Wire Wire Line
+ 6950 5750 7250 5750
+Connection ~ 8850 4250
+Wire Wire Line
+ 8700 5750 8350 5750
+Connection ~ 8700 4850
+Wire Wire Line
+ 7150 5000 8350 5000
+Wire Wire Line
+ 8350 5000 8350 5250
+Connection ~ 7150 4600
+Wire Wire Line
+ 7800 4950 8550 4950
+Wire Wire Line
+ 8550 4950 8550 5300
+Wire Wire Line
+ 8550 5300 9450 5300
+Connection ~ 7800 4950
+Wire Wire Line
+ 6850 4750 6850 5950
+Connection ~ 7550 5950
+Connection ~ 6850 4750
+Wire Wire Line
+ 9000 5950 9000 4750
+Connection ~ 8050 5950
+Connection ~ 9000 4750
+Wire Wire Line
+ 5150 1000 5150 750
+Wire Wire Line
+ 5000 750 6850 750
+Wire Wire Line
+ 6850 750 6850 1000
+Wire Wire Line
+ 5100 3800 5100 3500
+Wire Wire Line
+ 5100 3500 6800 3500
+Wire Wire Line
+ 6800 3500 6800 3800
+Connection ~ 6950 3150
+Connection ~ 5100 3150
+Connection ~ 6850 5950
+Connection ~ 5050 5950
+Wire Wire Line
+ 5800 3150 5800 6200
+Connection ~ 5800 5950
+Connection ~ 5800 3150
+Wire Wire Line
+ 6000 750 6000 3500
+Connection ~ 6000 3500
+Connection ~ 6000 750
+Wire Wire Line
+ 5700 4700 5850 4700
+Connection ~ 5700 4700
+Connection ~ 9650 4250
+Connection ~ 9700 1450
+Connection ~ 5750 2050
+$Comp
+L PORT U1
+U 1 1 628776E2
+P 1650 4300
+F 0 "U1" H 1700 4400 30 0000 C CNN
+F 1 "PORT" H 1650 4300 30 0000 C CNN
+F 2 "" H 1650 4300 60 0000 C CNN
+F 3 "" H 1650 4300 60 0000 C CNN
+ 1 1650 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62877816
+P 6100 4700
+F 0 "U1" H 6150 4800 30 0000 C CNN
+F 1 "PORT" H 6100 4700 30 0000 C CNN
+F 2 "" H 6100 4700 60 0000 C CNN
+F 3 "" H 6100 4700 60 0000 C CNN
+ 2 6100 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 628778B1
+P 5750 5300
+F 0 "U1" H 5800 5400 30 0000 C CNN
+F 1 "PORT" H 5750 5300 30 0000 C CNN
+F 2 "" H 5750 5300 60 0000 C CNN
+F 3 "" H 5750 5300 60 0000 C CNN
+ 3 5750 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 628780D0
+P 9700 5300
+F 0 "U1" H 9750 5400 30 0000 C CNN
+F 1 "PORT" H 9700 5300 30 0000 C CNN
+F 2 "" H 9700 5300 60 0000 C CNN
+F 3 "" H 9700 5300 60 0000 C CNN
+ 4 9700 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62878167
+P 6000 4300
+F 0 "U1" H 6050 4400 30 0000 C CNN
+F 1 "PORT" H 6000 4300 30 0000 C CNN
+F 2 "" H 6000 4300 60 0000 C CNN
+F 3 "" H 6000 4300 60 0000 C CNN
+ 5 6000 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 628781F8
+P 10050 4250
+F 0 "U1" H 10100 4350 30 0000 C CNN
+F 1 "PORT" H 10050 4250 30 0000 C CNN
+F 2 "" H 10050 4250 60 0000 C CNN
+F 3 "" H 10050 4250 60 0000 C CNN
+ 6 10050 4250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62878287
+P 5550 6200
+F 0 "U1" H 5600 6300 30 0000 C CNN
+F 1 "PORT" H 5550 6200 30 0000 C CNN
+F 2 "" H 5550 6200 60 0000 C CNN
+F 3 "" H 5550 6200 60 0000 C CNN
+ 7 5550 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6287B799
+P 6050 1500
+F 0 "U1" H 6100 1600 30 0000 C CNN
+F 1 "PORT" H 6050 1500 30 0000 C CNN
+F 2 "" H 6050 1500 60 0000 C CNN
+F 3 "" H 6050 1500 60 0000 C CNN
+ 8 6050 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 6287B940
+P 10100 1450
+F 0 "U1" H 10150 1550 30 0000 C CNN
+F 1 "PORT" H 10100 1450 30 0000 C CNN
+F 2 "" H 10100 1450 60 0000 C CNN
+F 3 "" H 10100 1450 60 0000 C CNN
+ 9 10100 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6287B9DD
+P 9750 2500
+F 0 "U1" H 9800 2600 30 0000 C CNN
+F 1 "PORT" H 9750 2500 30 0000 C CNN
+F 2 "" H 9750 2500 60 0000 C CNN
+F 3 "" H 9750 2500 60 0000 C CNN
+ 10 9750 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 6287CC98
+P 5800 2500
+F 0 "U1" H 5850 2600 30 0000 C CNN
+F 1 "PORT" H 5800 2500 30 0000 C CNN
+F 2 "" H 5800 2500 60 0000 C CNN
+F 3 "" H 5800 2500 60 0000 C CNN
+ 11 5800 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 6287CD45
+P 1650 1500
+F 0 "U1" H 1700 1600 30 0000 C CNN
+F 1 "PORT" H 1650 1500 30 0000 C CNN
+F 2 "" H 1650 1500 60 0000 C CNN
+F 3 "" H 1650 1500 60 0000 C CNN
+ 12 1650 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 6287D802
+P 6000 2050
+F 0 "U1" H 6050 2150 30 0000 C CNN
+F 1 "PORT" H 6000 2050 30 0000 C CNN
+F 2 "" H 6000 2050 60 0000 C CNN
+F 3 "" H 6000 2050 60 0000 C CNN
+ 13 6000 2050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 6287D8A7
+P 4750 750
+F 0 "U1" H 4800 850 30 0000 C CNN
+F 1 "PORT" H 4750 750 30 0000 C CNN
+F 2 "" H 4750 750 60 0000 C CNN
+F 3 "" H 4750 750 60 0000 C CNN
+ 14 4750 750
+ 1 0 0 -1
+$EndComp
+Connection ~ 5150 750
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077.sub b/library/SubcircuitLibrary/CD_4077/CD_4077.sub
new file mode 100644
index 00000000..aa351499
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077.sub
@@ -0,0 +1,56 @@
+* Subcircuit CD_4077
+.subckt CD_4077 net-_m1-pad2_ net-_m14-pad2_ net-_m10-pad1_ net-_m29-pad1_ net-_m25-pad2_ net-_m38-pad2_ net-_m1-pad3_ net-_m26-pad2_ net-_m40-pad2_ net-_m31-pad1_ net-_m12-pad1_ net-_m11-pad2_ net-_m16-pad2_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4077\cd_4077.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m7 net-_m12-pad1_ net-_m11-pad2_ net-_m7-pad3_ net-_m7-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m12-pad1_ net-_m12-pad2_ net-_m19-pad3_ net-_m19-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m15-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m19-pad3_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m12-pad2_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m12-pad2_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m15-pad2_ net-_m16-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m15-pad2_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m39 net-_m35-pad1_ net-_m32-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m26-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m36 net-_m31-pad1_ net-_m26-pad1_ net-_m35-pad1_ net-_m35-pad1_ CMOSP W=100u L=100u M=1
+m40 net-_m31-pad1_ net-_m40-pad2_ net-_m35-pad1_ net-_m35-pad1_ CMOSP W=100u L=100u M=1
+m31 net-_m31-pad1_ net-_m26-pad2_ net-_m31-pad3_ net-_m31-pad3_ CMOSN W=100u L=100u M=1
+m43 net-_m31-pad1_ net-_m26-pad1_ net-_m43-pad3_ net-_m43-pad3_ CMOSN W=100u L=100u M=1
+m32 net-_m31-pad3_ net-_m32-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m44 net-_m43-pad3_ net-_m40-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m28 net-_m26-pad1_ net-_m26-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m26 net-_m26-pad1_ net-_m26-pad2_ net-_m26-pad3_ net-_m26-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m32-pad2_ net-_m40-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m48 net-_m32-pad2_ net-_m40-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m10-pad3_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m10-pad1_ net-_m14-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m10-pad1_ net-_m1-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m10-pad1_ net-_m1-pad1_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m13-pad2_ net-_m14-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m23 net-_m13-pad2_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m33-pad1_ net-_m30-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m33 net-_m33-pad1_ net-_m25-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m34 net-_m29-pad1_ net-_m25-pad1_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m38 net-_m29-pad1_ net-_m38-pad2_ net-_m33-pad1_ net-_m33-pad1_ CMOSP W=100u L=100u M=1
+m29 net-_m29-pad1_ net-_m25-pad2_ net-_m29-pad3_ net-_m29-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m29-pad1_ net-_m25-pad1_ net-_m41-pad3_ net-_m41-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m29-pad3_ net-_m30-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m42 net-_m41-pad3_ net-_m38-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m27 net-_m25-pad1_ net-_m25-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m25 net-_m25-pad1_ net-_m25-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m30-pad2_ net-_m38-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m47 net-_m30-pad2_ net-_m38-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4077 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4077/CD_4077_Previous_Values.xml b/library/SubcircuitLibrary/CD_4077/CD_4077_Previous_Values.xml
new file mode 100644
index 00000000..fa4a68a2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/CD_4077_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m19><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m22><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m24><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m39><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m36><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m40><m31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m31><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m43><m32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m32><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m44><m28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m28><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m46><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m48><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m18><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m3><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m21><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m23><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m34><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m29><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m42><m27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m27><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m25><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m45><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m47></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4077/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4077/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4077/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4077/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4077/README.md b/library/SubcircuitLibrary/CD_4077/README.md
new file mode 100644
index 00000000..2d40325c
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/README.md
@@ -0,0 +1,28 @@
+
+# CD4077 IC
+
+It is 2-input XNOR Gate IC. CD4077 IC is designed with 180nm CMOS technology in eSim consisting four XNOR Gates. It plays the role of even 1’s detector. When both inputs are same, then output is HIGH, else LOW. It is also known as Special logic Gate.
+
+## Usage/Examples
+
+Logical Comparators
+
+Adders, Subtractors
+
+Parity Generators and Checkers
+
+Touch sensor circuit
+## Documentation
+
+To know the details of CD4077 IC please go through with the documentation : [CD4077_datasheet](https://www.ti.com/lit/gpn/cd4077b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4077/analysis b/library/SubcircuitLibrary/CD_4077/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4077/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081-cache.lib b/library/SubcircuitLibrary/CD_4081/CD_4081-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081.cir b/library/SubcircuitLibrary/CD_4081/CD_4081.cir
new file mode 100644
index 00000000..03101ff9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081.cir
@@ -0,0 +1,35 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD_4081\CD_4081.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/30/22 21:25:36
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M8 Net-_M10-Pad2_ Net-_M6-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M2 Net-_M10-Pad2_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M12 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M5 Net-_M10-Pad2_ Net-_M2-Pad2_ Net-_M5-Pad3_ Net-_M5-Pad3_ eSim_MOS_N
+M6 Net-_M5-Pad3_ Net-_M6-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M23 Net-_M23-Pad1_ Net-_M14-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M20 Net-_M14-Pad1_ Net-_M18-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M14 Net-_M14-Pad1_ Net-_M14-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M24 Net-_M23-Pad1_ Net-_M14-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M17 Net-_M14-Pad1_ Net-_M14-Pad2_ Net-_M17-Pad3_ Net-_M17-Pad3_ eSim_MOS_N
+M18 Net-_M17-Pad3_ Net-_M18-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M9 Net-_M11-Pad1_ Net-_M1-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M7 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M11 Net-_M11-Pad1_ Net-_M1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M3 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M4-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M21 Net-_M21-Pad1_ Net-_M13-Pad1_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M19 Net-_M13-Pad1_ Net-_M16-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M22 Net-_M21-Pad1_ Net-_M13-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M15 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M16-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 Net-_M2-Pad2_ Net-_M6-Pad2_ Net-_M10-Pad1_ Net-_M23-Pad1_ Net-_M14-Pad2_ Net-_M18-Pad2_ Net-_M10-Pad3_ Net-_M13-Pad2_ Net-_M16-Pad2_ Net-_M21-Pad1_ Net-_M11-Pad1_ Net-_M1-Pad2_ Net-_M4-Pad2_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081.cir.out b/library/SubcircuitLibrary/CD_4081/CD_4081.cir.out
new file mode 100644
index 00000000..b4c78312
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081.cir.out
@@ -0,0 +1,38 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd_4081\cd_4081.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m10-pad2_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m10-pad2_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m10-pad2_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m6-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m23-pad1_ net-_m14-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m14-pad1_ net-_m18-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m14-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m23-pad1_ net-_m14-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m17 net-_m14-pad1_ net-_m14-pad2_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m18-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m13-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m13-pad1_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m21-pad1_ net-_m13-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m13-pad1_ net-_m13-pad2_ net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m16-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_m2-pad2_ net-_m6-pad2_ net-_m10-pad1_ net-_m23-pad1_ net-_m14-pad2_ net-_m18-pad2_ net-_m10-pad3_ net-_m13-pad2_ net-_m16-pad2_ net-_m21-pad1_ net-_m11-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m1-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081.pro b/library/SubcircuitLibrary/CD_4081/CD_4081.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081.sch b/library/SubcircuitLibrary/CD_4081/CD_4081.sch
new file mode 100644
index 00000000..7a89dcc8
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081.sch
@@ -0,0 +1,745 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD_4081-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_MOS_N M10
+U 1 1 6294E1FE
+P 4000 4900
+F 0 "M10" H 4000 4750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 4850 50 0000 R CNN
+F 2 "" H 4300 4600 29 0000 C CNN
+F 3 "" H 4100 4700 60 0000 C CNN
+ 1 4000 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 6294E1FF
+P 3450 4450
+F 0 "M8" H 3400 4500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4600 50 0000 R CNN
+F 2 "" H 3700 4550 29 0000 C CNN
+F 3 "" H 3500 4450 60 0000 C CNN
+ 1 3450 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 6294E200
+P 2700 4450
+F 0 "M2" H 2650 4500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2750 4600 50 0000 R CNN
+F 2 "" H 2950 4550 29 0000 C CNN
+F 3 "" H 2750 4450 60 0000 C CNN
+ 1 2700 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 6294E201
+P 4050 4550
+F 0 "M12" H 4000 4600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4100 4700 50 0000 R CNN
+F 2 "" H 4300 4650 29 0000 C CNN
+F 3 "" H 4100 4550 60 0000 C CNN
+ 1 4050 4550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 6294E202
+P 2850 4900
+F 0 "M5" H 2850 4750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2950 4850 50 0000 R CNN
+F 2 "" H 3150 4600 29 0000 C CNN
+F 3 "" H 2950 4700 60 0000 C CNN
+ 1 2850 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M6
+U 1 1 6294E203
+P 2850 5400
+F 0 "M6" H 2850 5250 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2950 5350 50 0000 R CNN
+F 2 "" H 3150 5100 29 0000 C CNN
+F 3 "" H 2950 5200 60 0000 C CNN
+ 1 2850 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M23
+U 1 1 6294E204
+P 7100 4900
+F 0 "M23" H 7100 4750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7200 4850 50 0000 R CNN
+F 2 "" H 7400 4600 29 0000 C CNN
+F 3 "" H 7200 4700 60 0000 C CNN
+ 1 7100 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M20
+U 1 1 6294E205
+P 6550 4450
+F 0 "M20" H 6500 4500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6600 4600 50 0000 R CNN
+F 2 "" H 6800 4550 29 0000 C CNN
+F 3 "" H 6600 4450 60 0000 C CNN
+ 1 6550 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 6294E206
+P 5800 4450
+F 0 "M14" H 5750 4500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5850 4600 50 0000 R CNN
+F 2 "" H 6050 4550 29 0000 C CNN
+F 3 "" H 5850 4450 60 0000 C CNN
+ 1 5800 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 6294E207
+P 7150 4550
+F 0 "M24" H 7100 4600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7200 4700 50 0000 R CNN
+F 2 "" H 7400 4650 29 0000 C CNN
+F 3 "" H 7200 4550 60 0000 C CNN
+ 1 7150 4550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 6294E208
+P 5950 4900
+F 0 "M17" H 5950 4750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6050 4850 50 0000 R CNN
+F 2 "" H 6250 4600 29 0000 C CNN
+F 3 "" H 6050 4700 60 0000 C CNN
+ 1 5950 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M18
+U 1 1 6294E209
+P 5950 5400
+F 0 "M18" H 5950 5250 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6050 5350 50 0000 R CNN
+F 2 "" H 6250 5100 29 0000 C CNN
+F 3 "" H 6050 5200 60 0000 C CNN
+ 1 5950 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 6294E20A
+P 4000 2800
+F 0 "M9" H 4000 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 2750 50 0000 R CNN
+F 2 "" H 4300 2500 29 0000 C CNN
+F 3 "" H 4100 2600 60 0000 C CNN
+ 1 4000 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 6294E20B
+P 3450 2350
+F 0 "M7" H 3400 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 2500 50 0000 R CNN
+F 2 "" H 3700 2450 29 0000 C CNN
+F 3 "" H 3500 2350 60 0000 C CNN
+ 1 3450 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 6294E20C
+P 2700 2350
+F 0 "M1" H 2650 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2750 2500 50 0000 R CNN
+F 2 "" H 2950 2450 29 0000 C CNN
+F 3 "" H 2750 2350 60 0000 C CNN
+ 1 2700 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 6294E20D
+P 4050 2450
+F 0 "M11" H 4000 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4100 2600 50 0000 R CNN
+F 2 "" H 4300 2550 29 0000 C CNN
+F 3 "" H 4100 2450 60 0000 C CNN
+ 1 4050 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 6294E20E
+P 2850 2800
+F 0 "M3" H 2850 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2950 2750 50 0000 R CNN
+F 2 "" H 3150 2500 29 0000 C CNN
+F 3 "" H 2950 2600 60 0000 C CNN
+ 1 2850 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 6294E20F
+P 2850 3300
+F 0 "M4" H 2850 3150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2950 3250 50 0000 R CNN
+F 2 "" H 3150 3000 29 0000 C CNN
+F 3 "" H 2950 3100 60 0000 C CNN
+ 1 2850 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 6294E210
+P 7050 2800
+F 0 "M21" H 7050 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7150 2750 50 0000 R CNN
+F 2 "" H 7350 2500 29 0000 C CNN
+F 3 "" H 7150 2600 60 0000 C CNN
+ 1 7050 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 6294E211
+P 6500 2350
+F 0 "M19" H 6450 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6550 2500 50 0000 R CNN
+F 2 "" H 6750 2450 29 0000 C CNN
+F 3 "" H 6550 2350 60 0000 C CNN
+ 1 6500 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 6294E212
+P 5750 2350
+F 0 "M13" H 5700 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5800 2500 50 0000 R CNN
+F 2 "" H 6000 2450 29 0000 C CNN
+F 3 "" H 5800 2350 60 0000 C CNN
+ 1 5750 2350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M22
+U 1 1 6294E213
+P 7100 2450
+F 0 "M22" H 7050 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7150 2600 50 0000 R CNN
+F 2 "" H 7350 2550 29 0000 C CNN
+F 3 "" H 7150 2450 60 0000 C CNN
+ 1 7100 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 6294E214
+P 5900 2800
+F 0 "M15" H 5900 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6000 2750 50 0000 R CNN
+F 2 "" H 6200 2500 29 0000 C CNN
+F 3 "" H 6000 2600 60 0000 C CNN
+ 1 5900 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 6294E215
+P 5900 3300
+F 0 "M16" H 5900 3150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6000 3250 50 0000 R CNN
+F 2 "" H 6200 3000 29 0000 C CNN
+F 3 "" H 6000 3100 60 0000 C CNN
+ 1 5900 3300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2850 4250 7350 4250
+Wire Wire Line
+ 2850 4650 3300 4650
+Wire Wire Line
+ 3050 4650 3050 4900
+Connection ~ 3050 4650
+Wire Wire Line
+ 3050 5300 3050 5400
+Wire Wire Line
+ 3150 5750 3150 5800
+Wire Wire Line
+ 3050 5800 7350 5800
+Wire Wire Line
+ 3150 5250 3150 5300
+Wire Wire Line
+ 3150 5300 3050 5300
+Wire Wire Line
+ 3200 4300 3200 4250
+Connection ~ 3200 4250
+Wire Wire Line
+ 2950 4300 2950 4250
+Connection ~ 2950 4250
+Wire Wire Line
+ 4200 4350 4300 4350
+Wire Wire Line
+ 4300 4350 4300 4400
+Wire Wire Line
+ 4200 5300 4300 5300
+Wire Wire Line
+ 4300 5300 4300 5250
+Wire Wire Line
+ 4200 4750 4200 4900
+Wire Wire Line
+ 3900 4550 3900 5100
+Wire Wire Line
+ 3050 4800 3900 4800
+Connection ~ 3050 4800
+Connection ~ 3900 4800
+Wire Wire Line
+ 2550 4450 2550 5100
+Wire Wire Line
+ 2550 5100 2750 5100
+Wire Wire Line
+ 3600 4450 3600 5400
+Wire Wire Line
+ 3600 5400 2750 5400
+Wire Wire Line
+ 2750 5400 2750 5600
+Wire Wire Line
+ 2550 4750 2200 4750
+Connection ~ 2550 4750
+Wire Wire Line
+ 2750 5500 2200 5500
+Connection ~ 2750 5500
+Wire Wire Line
+ 4200 4800 4500 4800
+Connection ~ 4200 4800
+Wire Wire Line
+ 5950 4650 6400 4650
+Wire Wire Line
+ 6150 4650 6150 4900
+Connection ~ 6150 4650
+Wire Wire Line
+ 6150 5300 6150 5400
+Wire Wire Line
+ 6250 5800 6250 5750
+Wire Wire Line
+ 6250 5250 6250 5300
+Wire Wire Line
+ 6250 5300 6150 5300
+Wire Wire Line
+ 6300 4300 6300 4250
+Connection ~ 6300 4250
+Wire Wire Line
+ 6050 4300 6050 4250
+Connection ~ 6050 4250
+Wire Wire Line
+ 7300 4350 7400 4350
+Wire Wire Line
+ 7400 4350 7400 4400
+Wire Wire Line
+ 7300 5300 7400 5300
+Wire Wire Line
+ 7400 5300 7400 5250
+Wire Wire Line
+ 7300 4750 7300 4900
+Wire Wire Line
+ 7000 4550 7000 5100
+Wire Wire Line
+ 6150 4800 7000 4800
+Connection ~ 6150 4800
+Connection ~ 7000 4800
+Wire Wire Line
+ 5650 4450 5650 5100
+Wire Wire Line
+ 5650 5100 5850 5100
+Wire Wire Line
+ 6700 4450 6700 5400
+Wire Wire Line
+ 6700 5400 5850 5400
+Wire Wire Line
+ 5850 5400 5850 5600
+Wire Wire Line
+ 5650 4750 5300 4750
+Connection ~ 5650 4750
+Wire Wire Line
+ 5850 5500 5300 5500
+Connection ~ 5850 5500
+Wire Wire Line
+ 7300 4800 7600 4800
+Connection ~ 7300 4800
+Wire Wire Line
+ 2850 2150 7300 2150
+Wire Wire Line
+ 2850 2550 3300 2550
+Wire Wire Line
+ 3050 2550 3050 2800
+Connection ~ 3050 2550
+Wire Wire Line
+ 3050 3200 3050 3300
+Wire Wire Line
+ 3150 3650 3150 3700
+Wire Wire Line
+ 3050 3700 7300 3700
+Wire Wire Line
+ 3150 3150 3150 3200
+Wire Wire Line
+ 3150 3200 3050 3200
+Wire Wire Line
+ 3200 2200 3200 2150
+Connection ~ 3200 2150
+Wire Wire Line
+ 2950 2200 2950 2150
+Connection ~ 2950 2150
+Wire Wire Line
+ 4200 2250 4300 2250
+Wire Wire Line
+ 4300 2250 4300 2300
+Wire Wire Line
+ 4200 3200 4300 3200
+Wire Wire Line
+ 4300 3200 4300 3150
+Wire Wire Line
+ 4200 2650 4200 2800
+Wire Wire Line
+ 3900 2450 3900 3000
+Wire Wire Line
+ 3050 2700 3900 2700
+Connection ~ 3050 2700
+Connection ~ 3900 2700
+Wire Wire Line
+ 2550 2350 2550 3000
+Wire Wire Line
+ 2550 3000 2750 3000
+Wire Wire Line
+ 3600 2350 3600 3300
+Wire Wire Line
+ 3600 3300 2750 3300
+Wire Wire Line
+ 2750 3300 2750 3500
+Wire Wire Line
+ 2550 2650 2200 2650
+Connection ~ 2550 2650
+Wire Wire Line
+ 2750 3400 2200 3400
+Connection ~ 2750 3400
+Wire Wire Line
+ 4200 2700 4500 2700
+Connection ~ 4200 2700
+Wire Wire Line
+ 5900 2550 6350 2550
+Wire Wire Line
+ 6100 2550 6100 2800
+Connection ~ 6100 2550
+Wire Wire Line
+ 6100 3200 6100 3300
+Wire Wire Line
+ 6200 3700 6200 3650
+Wire Wire Line
+ 6200 3150 6200 3200
+Wire Wire Line
+ 6200 3200 6100 3200
+Wire Wire Line
+ 6250 2200 6250 2150
+Connection ~ 6250 2150
+Wire Wire Line
+ 6000 2200 6000 2150
+Connection ~ 6000 2150
+Wire Wire Line
+ 7250 2250 7350 2250
+Wire Wire Line
+ 7350 2250 7350 2300
+Wire Wire Line
+ 7250 3200 7350 3200
+Wire Wire Line
+ 7350 3200 7350 3150
+Wire Wire Line
+ 7250 2650 7250 2800
+Wire Wire Line
+ 6950 2450 6950 3000
+Wire Wire Line
+ 6100 2700 6950 2700
+Connection ~ 6100 2700
+Connection ~ 6950 2700
+Wire Wire Line
+ 5600 2350 5600 3000
+Wire Wire Line
+ 5600 3000 5800 3000
+Wire Wire Line
+ 6650 2350 6650 3300
+Wire Wire Line
+ 6650 3300 5800 3300
+Wire Wire Line
+ 5800 3300 5800 3500
+Wire Wire Line
+ 5600 2650 5250 2650
+Connection ~ 5600 2650
+Wire Wire Line
+ 5800 3400 5250 3400
+Connection ~ 5800 3400
+Wire Wire Line
+ 7250 2700 7550 2700
+Connection ~ 7250 2700
+Connection ~ 5950 4250
+Connection ~ 3300 4250
+Connection ~ 5900 2150
+Connection ~ 3300 2150
+Connection ~ 6100 3700
+Connection ~ 3150 3700
+Connection ~ 6150 5800
+Connection ~ 3150 5800
+Wire Wire Line
+ 4950 3700 4950 6050
+Connection ~ 4950 5800
+Connection ~ 4950 3700
+Wire Wire Line
+ 4800 1850 4800 4250
+Connection ~ 4800 4250
+Connection ~ 4800 2150
+Wire Wire Line
+ 7300 2150 7300 2250
+Connection ~ 6350 2150
+Connection ~ 7300 2250
+Wire Wire Line
+ 7300 3700 7300 3200
+Connection ~ 6200 3700
+Connection ~ 7300 3200
+Wire Wire Line
+ 4250 3200 4250 3700
+Connection ~ 4250 3700
+Connection ~ 4250 3200
+Wire Wire Line
+ 4250 2250 4250 2150
+Connection ~ 4250 2150
+Connection ~ 4250 2250
+Wire Wire Line
+ 4250 4350 4250 4250
+Connection ~ 4250 4250
+Connection ~ 4250 4350
+Wire Wire Line
+ 4250 5300 4250 5800
+Connection ~ 4250 5800
+Connection ~ 4250 5300
+Wire Wire Line
+ 7350 4250 7350 4350
+Connection ~ 6400 4250
+Connection ~ 7350 4350
+Wire Wire Line
+ 7350 5800 7350 5300
+Connection ~ 6250 5800
+Connection ~ 7350 5300
+$Comp
+L PORT U1
+U 1 1 629516D8
+P 1950 4750
+F 0 "U1" H 2000 4850 30 0000 C CNN
+F 1 "PORT" H 1950 4750 30 0000 C CNN
+F 2 "" H 1950 4750 60 0000 C CNN
+F 3 "" H 1950 4750 60 0000 C CNN
+ 1 1950 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62951745
+P 1950 5500
+F 0 "U1" H 2000 5600 30 0000 C CNN
+F 1 "PORT" H 1950 5500 30 0000 C CNN
+F 2 "" H 1950 5500 60 0000 C CNN
+F 3 "" H 1950 5500 60 0000 C CNN
+ 2 1950 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 629517B4
+P 4750 4800
+F 0 "U1" H 4800 4900 30 0000 C CNN
+F 1 "PORT" H 4750 4800 30 0000 C CNN
+F 2 "" H 4750 4800 60 0000 C CNN
+F 3 "" H 4750 4800 60 0000 C CNN
+ 3 4750 4800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62951900
+P 7850 4800
+F 0 "U1" H 7900 4900 30 0000 C CNN
+F 1 "PORT" H 7850 4800 30 0000 C CNN
+F 2 "" H 7850 4800 60 0000 C CNN
+F 3 "" H 7850 4800 60 0000 C CNN
+ 4 7850 4800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62951991
+P 5050 4750
+F 0 "U1" H 5100 4850 30 0000 C CNN
+F 1 "PORT" H 5050 4750 30 0000 C CNN
+F 2 "" H 5050 4750 60 0000 C CNN
+F 3 "" H 5050 4750 60 0000 C CNN
+ 5 5050 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 629519FC
+P 5050 5500
+F 0 "U1" H 5100 5600 30 0000 C CNN
+F 1 "PORT" H 5050 5500 30 0000 C CNN
+F 2 "" H 5050 5500 60 0000 C CNN
+F 3 "" H 5050 5500 60 0000 C CNN
+ 6 5050 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6295226B
+P 4700 6050
+F 0 "U1" H 4750 6150 30 0000 C CNN
+F 1 "PORT" H 4700 6050 30 0000 C CNN
+F 2 "" H 4700 6050 60 0000 C CNN
+F 3 "" H 4700 6050 60 0000 C CNN
+ 7 4700 6050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62952B28
+P 5000 2650
+F 0 "U1" H 5050 2750 30 0000 C CNN
+F 1 "PORT" H 5000 2650 30 0000 C CNN
+F 2 "" H 5000 2650 60 0000 C CNN
+F 3 "" H 5000 2650 60 0000 C CNN
+ 8 5000 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62952BC3
+P 5000 3400
+F 0 "U1" H 5050 3500 30 0000 C CNN
+F 1 "PORT" H 5000 3400 30 0000 C CNN
+F 2 "" H 5000 3400 60 0000 C CNN
+F 3 "" H 5000 3400 60 0000 C CNN
+ 9 5000 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62952C34
+P 7800 2700
+F 0 "U1" H 7850 2800 30 0000 C CNN
+F 1 "PORT" H 7800 2700 30 0000 C CNN
+F 2 "" H 7800 2700 60 0000 C CNN
+F 3 "" H 7800 2700 60 0000 C CNN
+ 10 7800 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62952CD1
+P 4750 2700
+F 0 "U1" H 4800 2800 30 0000 C CNN
+F 1 "PORT" H 4750 2700 30 0000 C CNN
+F 2 "" H 4750 2700 60 0000 C CNN
+F 3 "" H 4750 2700 60 0000 C CNN
+ 11 4750 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62952D8E
+P 1950 2650
+F 0 "U1" H 2000 2750 30 0000 C CNN
+F 1 "PORT" H 1950 2650 30 0000 C CNN
+F 2 "" H 1950 2650 60 0000 C CNN
+F 3 "" H 1950 2650 60 0000 C CNN
+ 12 1950 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62952E35
+P 1950 3400
+F 0 "U1" H 2000 3500 30 0000 C CNN
+F 1 "PORT" H 1950 3400 30 0000 C CNN
+F 2 "" H 1950 3400 60 0000 C CNN
+F 3 "" H 1950 3400 60 0000 C CNN
+ 13 1950 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62953458
+P 4550 1850
+F 0 "U1" H 4600 1950 30 0000 C CNN
+F 1 "PORT" H 4550 1850 30 0000 C CNN
+F 2 "" H 4550 1850 60 0000 C CNN
+F 3 "" H 4550 1850 60 0000 C CNN
+ 14 4550 1850
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081.sub b/library/SubcircuitLibrary/CD_4081/CD_4081.sub
new file mode 100644
index 00000000..f5050506
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081.sub
@@ -0,0 +1,32 @@
+* Subcircuit CD_4081
+.subckt CD_4081 net-_m2-pad2_ net-_m6-pad2_ net-_m10-pad1_ net-_m23-pad1_ net-_m14-pad2_ net-_m18-pad2_ net-_m10-pad3_ net-_m13-pad2_ net-_m16-pad2_ net-_m21-pad1_ net-_m11-pad1_ net-_m1-pad2_ net-_m4-pad2_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd_4081\cd_4081.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m8 net-_m10-pad2_ net-_m6-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m10-pad2_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m5 net-_m10-pad2_ net-_m2-pad2_ net-_m5-pad3_ net-_m5-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m6-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m23 net-_m23-pad1_ net-_m14-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 net-_m14-pad1_ net-_m18-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m14 net-_m14-pad1_ net-_m14-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m24 net-_m23-pad1_ net-_m14-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m17 net-_m14-pad1_ net-_m14-pad2_ net-_m17-pad3_ net-_m17-pad3_ CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m18-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m1-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m1-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m4-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m13-pad1_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m19 net-_m13-pad1_ net-_m16-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m22 net-_m21-pad1_ net-_m13-pad1_ net-_m1-pad3_ net-_m1-pad3_ CMOSP W=100u L=100u M=1
+m15 net-_m13-pad1_ net-_m13-pad2_ net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m16-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD_4081 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4081/CD_4081_Previous_Values.xml b/library/SubcircuitLibrary/CD_4081/CD_4081_Previous_Values.xml
new file mode 100644
index 00000000..5166d2ba
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/CD_4081_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m6><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m23><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m20><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m18><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m22><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4081/NMOS-180nm.lib b/library/SubcircuitLibrary/CD_4081/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD_4081/PMOS-180nm.lib b/library/SubcircuitLibrary/CD_4081/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD_4081/README.md b/library/SubcircuitLibrary/CD_4081/README.md
new file mode 100644
index 00000000..5e6b11c7
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/README.md
@@ -0,0 +1,34 @@
+
+# CD4081 IC
+
+It is 2-input AND Gate IC. CD4081 IC is designed with 180nm CMOS technology in eSim consisting four AND Gates. When both the inputs are HIGH then only output is HIGH, otherwise LOW.
+
+
+## Usage/Examples
+
+Logic buffers, inverters, and decoders
+
+Implementing logic circuits
+
+Signal conditioning
+
+Enable gate
+
+Inhibit gate
+
+Measurement of frequency
+
+## Documentation
+
+To know the details of CD4081 IC please go through with the documentation : [CD4081_datasheet](https://www.ti.com/lit/gpn/cd4081b)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD_4081/analysis b/library/SubcircuitLibrary/CD_4081/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD_4081/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM386/D.lib b/library/SubcircuitLibrary/LM386/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/LM386/LM386-cache.lib b/library/SubcircuitLibrary/LM386/LM386-cache.lib
new file mode 100644
index 00000000..fa8f67b2
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386-cache.lib
@@ -0,0 +1,126 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LM386/LM386.cir b/library/SubcircuitLibrary/LM386/LM386.cir
new file mode 100644
index 00000000..d08cae25
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386.cir
@@ -0,0 +1,31 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM386\LM386.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/24/22 20:52:17
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q4 Net-_Q4-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_Q2-Pad3_ eSim_PNP
+Q5 Net-_Q4-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q6 Net-_Q1-Pad1_ Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+Q8 Net-_Q10-Pad2_ Net-_D2-Pad2_ Net-_Q10-Pad1_ eSim_PNP
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q1-Pad1_ eSim_NPN
+Q7 Net-_D2-Pad2_ Net-_Q4-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q9 Net-_Q9-Pad1_ Net-_D1-Pad1_ Net-_Q10-Pad1_ eSim_NPN
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+R5 Net-_Q2-Pad3_ Net-_R5-Pad2_ 150
+R6 Net-_R5-Pad2_ Net-_Q5-Pad3_ 1.35k
+R4 Net-_R3-Pad2_ Net-_Q2-Pad3_ 15k
+R3 Net-_Q9-Pad1_ Net-_R3-Pad2_ 15k
+R7 Net-_Q5-Pad3_ Net-_Q10-Pad1_ 17k
+R2 Net-_Q6-Pad2_ Net-_Q1-Pad1_ 50k
+R1 Net-_Q1-Pad2_ Net-_Q1-Pad1_ 50k
+R8 Net-_Q9-Pad1_ Net-_D1-Pad1_ 1.5k
+U1 Net-_Q5-Pad3_ Net-_Q1-Pad2_ Net-_Q6-Pad2_ Net-_Q1-Pad1_ Net-_Q10-Pad1_ Net-_Q9-Pad1_ Net-_R3-Pad2_ Net-_R5-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM386/LM386.cir.out b/library/SubcircuitLibrary/LM386/LM386.cir.out
new file mode 100644
index 00000000..2c5505af
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386.cir.out
@@ -0,0 +1,35 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm386\lm386.cir
+
+.include D.lib
+.include PNP.lib
+.include NPN.lib
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A
+q5 net-_q4-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q6 net-_q1-pad1_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q8 net-_q10-pad2_ net-_d2-pad2_ net-_q10-pad1_ Q2N2907A
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q1-pad1_ Q2N2222
+q7 net-_d2-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q9 net-_q9-pad1_ net-_d1-pad1_ net-_q10-pad1_ Q2N2222
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+r5 net-_q2-pad3_ net-_r5-pad2_ 150
+r6 net-_r5-pad2_ net-_q5-pad3_ 1.35k
+r4 net-_r3-pad2_ net-_q2-pad3_ 15k
+r3 net-_q9-pad1_ net-_r3-pad2_ 15k
+r7 net-_q5-pad3_ net-_q10-pad1_ 17k
+r2 net-_q6-pad2_ net-_q1-pad1_ 50k
+r1 net-_q1-pad2_ net-_q1-pad1_ 50k
+r8 net-_q9-pad1_ net-_d1-pad1_ 1.5k
+* u1 net-_q5-pad3_ net-_q1-pad2_ net-_q6-pad2_ net-_q1-pad1_ net-_q10-pad1_ net-_q9-pad1_ net-_r3-pad2_ net-_r5-pad2_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LM386/LM386.pro b/library/SubcircuitLibrary/LM386/LM386.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/LM386/LM386.sch b/library/SubcircuitLibrary/LM386/LM386.sch
new file mode 100644
index 00000000..65d81e0b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386.sch
@@ -0,0 +1,476 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:LM386-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_NPN Q3
+U 1 1 628CA42B
+P 4800 5150
+F 0 "Q3" H 4700 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 4750 5300 50 0000 R CNN
+F 2 "" H 5000 5250 29 0000 C CNN
+F 3 "" H 4800 5150 60 0000 C CNN
+ 1 4800 5150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 628CA42C
+P 5900 5150
+F 0 "Q4" H 5800 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 5850 5300 50 0000 R CNN
+F 2 "" H 6100 5250 29 0000 C CNN
+F 3 "" H 5900 5150 60 0000 C CNN
+ 1 5900 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 628CA42D
+P 4600 4050
+F 0 "Q2" H 4500 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 4550 4200 50 0000 R CNN
+F 2 "" H 4800 4150 29 0000 C CNN
+F 3 "" H 4600 4050 60 0000 C CNN
+ 1 4600 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 628CA42E
+P 6100 4050
+F 0 "Q5" H 6000 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 6050 4200 50 0000 R CNN
+F 2 "" H 6300 4150 29 0000 C CNN
+F 3 "" H 6100 4050 60 0000 C CNN
+ 1 6100 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 628CA42F
+P 3900 4500
+F 0 "Q1" H 3800 4550 50 0000 R CNN
+F 1 "eSim_PNP" H 3850 4650 50 0000 R CNN
+F 2 "" H 4100 4600 29 0000 C CNN
+F 3 "" H 3900 4500 60 0000 C CNN
+ 1 3900 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 628CA430
+P 6650 4550
+F 0 "Q6" H 6550 4600 50 0000 R CNN
+F 1 "eSim_PNP" H 6600 4700 50 0000 R CNN
+F 2 "" H 6850 4650 29 0000 C CNN
+F 3 "" H 6650 4550 60 0000 C CNN
+ 1 6650 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 628CA431
+P 8000 4300
+F 0 "Q8" H 7900 4350 50 0000 R CNN
+F 1 "eSim_PNP" H 7950 4450 50 0000 R CNN
+F 2 "" H 8200 4400 29 0000 C CNN
+F 3 "" H 8000 4300 60 0000 C CNN
+ 1 8000 4300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 628CA432
+P 8450 5150
+F 0 "Q10" H 8350 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 8400 5300 50 0000 R CNN
+F 2 "" H 8650 5250 29 0000 C CNN
+F 3 "" H 8450 5150 60 0000 C CNN
+ 1 8450 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 628CA433
+P 7300 5150
+F 0 "Q7" H 7200 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 5300 50 0000 R CNN
+F 2 "" H 7500 5250 29 0000 C CNN
+F 3 "" H 7300 5150 60 0000 C CNN
+ 1 7300 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 628CA434
+P 8450 3300
+F 0 "Q9" H 8350 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 8400 3450 50 0000 R CNN
+F 2 "" H 8650 3400 29 0000 C CNN
+F 3 "" H 8450 3300 60 0000 C CNN
+ 1 8450 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 628CA435
+P 7400 4000
+F 0 "D2" H 7400 4100 50 0000 C CNN
+F 1 "eSim_Diode" H 7400 3900 50 0000 C CNN
+F 2 "" H 7400 4000 60 0000 C CNN
+F 3 "" H 7400 4000 60 0000 C CNN
+ 1 7400 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 628CA436
+P 7400 3250
+F 0 "D1" H 7400 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 7400 3150 50 0000 C CNN
+F 2 "" H 7400 3250 60 0000 C CNN
+F 3 "" H 7400 3250 60 0000 C CNN
+ 1 7400 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 628CA437
+P 5000 3650
+F 0 "R5" H 5050 3780 50 0000 C CNN
+F 1 "150" H 5050 3600 50 0000 C CNN
+F 2 "" H 5050 3630 30 0000 C CNN
+F 3 "" V 5050 3700 30 0000 C CNN
+ 1 5000 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 628CA438
+P 5700 3650
+F 0 "R6" H 5750 3780 50 0000 C CNN
+F 1 "1.35k" H 5750 3600 50 0000 C CNN
+F 2 "" H 5750 3630 30 0000 C CNN
+F 3 "" V 5750 3700 30 0000 C CNN
+ 1 5700 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 628CA439
+P 4650 3000
+F 0 "R4" H 4700 3130 50 0000 C CNN
+F 1 "15k" H 4700 2950 50 0000 C CNN
+F 2 "" H 4700 2980 30 0000 C CNN
+F 3 "" V 4700 3050 30 0000 C CNN
+ 1 4650 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 628CA43A
+P 4650 2450
+F 0 "R3" H 4700 2580 50 0000 C CNN
+F 1 "15k" H 4700 2400 50 0000 C CNN
+F 2 "" H 4700 2430 30 0000 C CNN
+F 3 "" V 4700 2500 30 0000 C CNN
+ 1 4650 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 628CA43B
+P 6650 3650
+F 0 "R7" H 6700 3780 50 0000 C CNN
+F 1 "17k" H 6700 3600 50 0000 C CNN
+F 2 "" H 6700 3630 30 0000 C CNN
+F 3 "" V 6700 3700 30 0000 C CNN
+ 1 6650 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 628CA43C
+P 6850 5050
+F 0 "R2" H 6900 5180 50 0000 C CNN
+F 1 "50k" H 6900 5000 50 0000 C CNN
+F 2 "" H 6900 5030 30 0000 C CNN
+F 3 "" V 6900 5100 30 0000 C CNN
+ 1 6850 5050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3700 5350 9800 5350
+Connection ~ 4700 5350
+Connection ~ 6000 5350
+Wire Wire Line
+ 4400 4050 4000 4050
+Wire Wire Line
+ 4000 4050 4000 4300
+Wire Wire Line
+ 4700 3200 4700 3850
+Wire Wire Line
+ 4700 2650 4700 2900
+Wire Wire Line
+ 5200 3600 5600 3600
+Wire Wire Line
+ 4900 3600 4700 3600
+Connection ~ 4700 3600
+Wire Wire Line
+ 4700 4250 4700 4950
+Wire Wire Line
+ 6000 4250 6000 4950
+Wire Wire Line
+ 5900 3600 6550 3600
+Wire Wire Line
+ 6850 3600 10400 3600
+Wire Wire Line
+ 8550 3500 8550 4950
+Connection ~ 8550 3600
+Wire Wire Line
+ 7400 3400 7400 3850
+Wire Wire Line
+ 7400 4150 7400 4950
+Connection ~ 7400 5350
+Wire Wire Line
+ 7800 4300 7400 4300
+Connection ~ 7400 4300
+Wire Wire Line
+ 8100 4500 8100 5150
+Wire Wire Line
+ 8100 5150 8250 5150
+Wire Wire Line
+ 8100 4100 8100 3900
+Wire Wire Line
+ 8100 3900 8550 3900
+Connection ~ 8550 3900
+Wire Wire Line
+ 6000 3150 6000 3850
+Connection ~ 6000 3600
+Wire Wire Line
+ 6300 4050 6550 4050
+Wire Wire Line
+ 6550 4050 6550 4350
+Wire Wire Line
+ 5000 5150 5700 5150
+Wire Wire Line
+ 4700 4600 5400 4600
+Wire Wire Line
+ 5400 4600 5400 5150
+Connection ~ 5400 5150
+Connection ~ 4700 4600
+Wire Wire Line
+ 4000 4700 4000 5350
+Connection ~ 4000 5350
+Wire Wire Line
+ 6550 4750 6550 5350
+Connection ~ 6550 5350
+Wire Wire Line
+ 6850 4550 6900 4550
+Wire Wire Line
+ 6900 3900 6900 4950
+Wire Wire Line
+ 6900 5250 6900 5350
+Connection ~ 6900 5350
+Wire Wire Line
+ 6000 4750 7100 4750
+Wire Wire Line
+ 7100 4750 7100 5150
+Connection ~ 6000 4750
+Wire Wire Line
+ 4700 2350 8950 2350
+Wire Wire Line
+ 8550 2350 8550 3100
+Wire Wire Line
+ 7400 2800 7400 3100
+Wire Wire Line
+ 8250 3300 7750 3300
+Wire Wire Line
+ 7750 3300 7750 2850
+Wire Wire Line
+ 7750 2850 7400 2850
+Connection ~ 8550 2350
+Connection ~ 8550 5350
+Wire Wire Line
+ 3200 4050 3200 3900
+Wire Wire Line
+ 3200 3900 6900 3900
+Connection ~ 6900 4550
+Wire Wire Line
+ 3700 4500 3700 4800
+$Comp
+L resistor R1
+U 1 1 628CA447
+P 3650 4900
+F 0 "R1" H 3700 5030 50 0000 C CNN
+F 1 "50k" H 3700 4850 50 0000 C CNN
+F 2 "" H 3700 4880 30 0000 C CNN
+F 3 "" V 3700 4950 30 0000 C CNN
+ 1 3650 4900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3700 5100 3700 5350
+$Comp
+L resistor R8
+U 1 1 628CA448
+P 7350 2600
+F 0 "R8" H 7400 2730 50 0000 C CNN
+F 1 "1.5k" H 7400 2550 50 0000 C CNN
+F 2 "" H 7400 2580 30 0000 C CNN
+F 3 "" V 7400 2650 30 0000 C CNN
+ 1 7350 2600
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 7400 2500 7400 2350
+Connection ~ 7400 2350
+Connection ~ 7400 2850
+$Comp
+L PORT U1
+U 1 1 628CA6F2
+P 6250 3150
+F 0 "U1" H 6300 3250 30 0000 C CNN
+F 1 "PORT" H 6250 3150 30 0000 C CNN
+F 2 "" H 6250 3150 60 0000 C CNN
+F 3 "" H 6250 3150 60 0000 C CNN
+ 1 6250 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 628CA797
+P 3050 4500
+F 0 "U1" H 3100 4600 30 0000 C CNN
+F 1 "PORT" H 3050 4500 30 0000 C CNN
+F 2 "" H 3050 4500 60 0000 C CNN
+F 3 "" H 3050 4500 60 0000 C CNN
+ 2 3050 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 628CAA82
+P 2950 4050
+F 0 "U1" H 3000 4150 30 0000 C CNN
+F 1 "PORT" H 2950 4050 30 0000 C CNN
+F 2 "" H 2950 4050 60 0000 C CNN
+F 3 "" H 2950 4050 60 0000 C CNN
+ 3 2950 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 628CB3C2
+P 10050 5350
+F 0 "U1" H 10100 5450 30 0000 C CNN
+F 1 "PORT" H 10050 5350 30 0000 C CNN
+F 2 "" H 10050 5350 60 0000 C CNN
+F 3 "" H 10050 5350 60 0000 C CNN
+ 4 10050 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 628CB505
+P 10650 3600
+F 0 "U1" H 10700 3700 30 0000 C CNN
+F 1 "PORT" H 10650 3600 30 0000 C CNN
+F 2 "" H 10650 3600 60 0000 C CNN
+F 3 "" H 10650 3600 60 0000 C CNN
+ 5 10650 3600
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 628CBD1A
+P 9200 2350
+F 0 "U1" H 9250 2450 30 0000 C CNN
+F 1 "PORT" H 9200 2350 30 0000 C CNN
+F 2 "" H 9200 2350 60 0000 C CNN
+F 3 "" H 9200 2350 60 0000 C CNN
+ 6 9200 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 628CC4F2
+P 4200 2800
+F 0 "U1" H 4250 2900 30 0000 C CNN
+F 1 "PORT" H 4200 2800 30 0000 C CNN
+F 2 "" H 4200 2800 60 0000 C CNN
+F 3 "" H 4200 2800 60 0000 C CNN
+ 7 4200 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 628CC571
+P 5100 3150
+F 0 "U1" H 5150 3250 30 0000 C CNN
+F 1 "PORT" H 5100 3150 30 0000 C CNN
+F 2 "" H 5100 3150 60 0000 C CNN
+F 3 "" H 5100 3150 60 0000 C CNN
+ 8 5100 3150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4450 2800 4700 2800
+Connection ~ 4700 2800
+Wire Wire Line
+ 5350 3150 5350 3600
+Connection ~ 5350 3600
+Wire Wire Line
+ 3300 4500 3700 4500
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM386/LM386.sub b/library/SubcircuitLibrary/LM386/LM386.sub
new file mode 100644
index 00000000..a683b68b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386.sub
@@ -0,0 +1,29 @@
+* Subcircuit LM386
+.subckt LM386 net-_q5-pad3_ net-_q1-pad2_ net-_q6-pad2_ net-_q1-pad1_ net-_q10-pad1_ net-_q9-pad1_ net-_r3-pad2_ net-_r5-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm386\lm386.cir
+.include D.lib
+.include PNP.lib
+.include NPN.lib
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_q2-pad3_ Q2N2907A
+q5 net-_q4-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q6 net-_q1-pad1_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q8 net-_q10-pad2_ net-_d2-pad2_ net-_q10-pad1_ Q2N2907A
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q1-pad1_ Q2N2222
+q7 net-_d2-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q9 net-_q9-pad1_ net-_d1-pad1_ net-_q10-pad1_ Q2N2222
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+r5 net-_q2-pad3_ net-_r5-pad2_ 150
+r6 net-_r5-pad2_ net-_q5-pad3_ 1.35k
+r4 net-_r3-pad2_ net-_q2-pad3_ 15k
+r3 net-_q9-pad1_ net-_r3-pad2_ 15k
+r7 net-_q5-pad3_ net-_q10-pad1_ 17k
+r2 net-_q6-pad2_ net-_q1-pad1_ 50k
+r1 net-_q1-pad2_ net-_q1-pad1_ 50k
+r8 net-_q9-pad1_ net-_d1-pad1_ 1.5k
+* Control Statements
+
+.ends LM386 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM386/LM386_Previous_Values.xml b/library/SubcircuitLibrary/LM386/LM386_Previous_Values.xml
new file mode 100644
index 00000000..09dc0357
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/LM386_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM386/NPN.lib b/library/SubcircuitLibrary/LM386/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/LM386/PNP.lib b/library/SubcircuitLibrary/LM386/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/LM386/README.md b/library/SubcircuitLibrary/LM386/README.md
new file mode 100644
index 00000000..55a6f475
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/README.md
@@ -0,0 +1,47 @@
+
+# LM386 Amplifier
+
+LM386 is power amplifier IC designed for use in low voltage consumer applications. It is used in various field of electronics applications like Radio amplifier, TV sound systems, power converter etc. The gain of the IC can be varied from 20 to 200 using external circuit or components.
+
+
+## Usage/Examples
+
+Wien bridge oscillator
+
+Power converters
+
+Ultrasonic drivers
+
+Small servo drivers
+
+Intercoms
+
+Line drivers
+
+TV sound systems
+
+Portable tape player amplifiers
+
+AM to FM radio amplifiers
+
+Audio boosters
+
+Used in speakers of laptop & portable
+
+Used for voice record from microphone, battery operated speakers.
+
+
+## Documentation
+
+To know the details of LM386 IC please go through with the documentation : [LM386_datasheet](https://www.ti.com/lit/ds/symlink/lm386.pdf)
+
+## Comments/Notes
+
+Please note this is a complete analog IC. It works fine at the time of simulation. But remember there may be minor error for very high gain.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM386/analysis b/library/SubcircuitLibrary/LM386/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/LM386/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809-cache.lib b/library/SubcircuitLibrary/LM_7809/LM_7809-cache.lib
new file mode 100644
index 00000000..27408fec
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809-cache.lib
@@ -0,0 +1,138 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS capacitor
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# zener
+#
+DEF zener U 0 40 Y Y 1 F N
+F0 "U" -50 -100 60 H V C CNN
+F1 "zener" 0 100 60 H V C CNN
+F2 "" 50 0 60 H V C CNN
+F3 "" 50 0 60 H V C CNN
+DRAW
+P 2 0 1 0 100 -50 50 -100 N
+P 2 0 1 0 100 50 100 -50 N
+P 2 0 1 0 100 50 150 100 N
+P 4 0 1 0 0 50 0 -50 100 0 0 50 N
+X ~ IN -200 0 200 R 50 43 1 1 I
+X ~ OUT 300 0 200 L 50 43 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809.cir b/library/SubcircuitLibrary/LM_7809/LM_7809.cir
new file mode 100644
index 00000000..ac173e2b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809.cir
@@ -0,0 +1,51 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM_7809\LM_7809.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/14/22 00:48:35
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+Q6 Net-_C1-Pad2_ Net-_Q3-Pad2_ Net-_Q6-Pad3_ eSim_NPN
+Q4 Net-_Q2-Pad3_ Net-_Q3-Pad1_ Net-_Q3-Pad2_ eSim_NPN
+Q14 Net-_C1-Pad1_ Net-_Q11-Pad3_ Net-_Q14-Pad3_ eSim_NPN
+Q11 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+Q5 Net-_Q5-Pad1_ Net-_Q10-Pad3_ Net-_Q2-Pad3_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q8 Net-_Q12-Pad2_ Net-_Q10-Pad1_ Net-_Q5-Pad1_ eSim_NPN
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q2 Net-_Q12-Pad2_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+Q9 Net-_Q12-Pad1_ Net-_Q9-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q12-Pad1_ Net-_Q16-Pad3_ eSim_NPN
+Q17 Net-_Q16-Pad1_ Net-_Q16-Pad3_ Net-_Q17-Pad3_ eSim_NPN
+Q13 Net-_Q12-Pad1_ Net-_Q13-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+Q7 Net-_Q12-Pad2_ Net-_Q12-Pad2_ Net-_Q7-Pad3_ eSim_PNP
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q12-Pad3_ eSim_PNP
+Q15 Net-_Q14-Pad3_ Net-_C1-Pad1_ Net-_Q12-Pad1_ eSim_PNP
+R6 Net-_Q2-Pad3_ Net-_Q3-Pad1_ 1K
+R10 Net-_Q10-Pad3_ Net-_Q2-Pad3_ 6K
+R11 Net-_Q2-Pad3_ Net-_C1-Pad2_ 20K
+R7 Net-_Q3-Pad2_ Net-_Q14-Pad3_ 6K
+R9 Net-_Q6-Pad3_ Net-_Q14-Pad3_ 1K
+R12 Net-_Q11-Pad3_ Net-_Q14-Pad3_ 6K
+R18 Net-_Q17-Pad3_ Net-_Q10-Pad1_ 0.3
+R19 Net-_Q10-Pad1_ Net-_Q10-Pad2_ 385
+R20 Net-_Q10-Pad2_ Net-_Q14-Pad3_ 293
+R16 Net-_Q16-Pad3_ Net-_Q10-Pad1_ 200
+R17 Net-_Q17-Pad3_ Net-_Q13-Pad2_ 240
+R1 Net-_Q16-Pad1_ Net-_Q1-Pad2_ 100K
+R8 Net-_Q16-Pad1_ Net-_Q7-Pad3_ 100
+R13 Net-_Q16-Pad1_ Net-_Q12-Pad3_ 50
+R2 Net-_Q16-Pad1_ Net-_Q1-Pad1_ 500
+R15 Net-_Q16-Pad1_ Net-_R15-Pad2_ 10K
+R3 Net-_Q1-Pad3_ Net-_Q2-Pad2_ 3.3K
+R4 Net-_Q2-Pad2_ Net-_Q9-Pad2_ 2.7K
+R5 Net-_Q9-Pad2_ Net-_Q14-Pad3_ 500
+R14 Net-_Q12-Pad1_ Net-_C1-Pad1_ 6K
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30pF
+U3 Net-_Q12-Pad1_ Net-_R15-Pad2_ zener
+U2 Net-_Q14-Pad3_ Net-_Q1-Pad2_ zener
+U1 Net-_Q16-Pad1_ Net-_Q10-Pad1_ Net-_Q14-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809.cir.out b/library/SubcircuitLibrary/LM_7809/LM_7809.cir.out
new file mode 100644
index 00000000..0f5b6f84
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809.cir.out
@@ -0,0 +1,60 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm_7809\lm_7809.cir
+
+.include NPN.lib
+.include PNP.lib
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q14-pad3_ Q2N2222
+q6 net-_c1-pad2_ net-_q3-pad2_ net-_q6-pad3_ Q2N2222
+q4 net-_q2-pad3_ net-_q3-pad1_ net-_q3-pad2_ Q2N2222
+q14 net-_c1-pad1_ net-_q11-pad3_ net-_q14-pad3_ Q2N2222
+q11 net-_c1-pad1_ net-_c1-pad2_ net-_q11-pad3_ Q2N2222
+q5 net-_q5-pad1_ net-_q10-pad3_ net-_q2-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q8 net-_q12-pad2_ net-_q10-pad1_ net-_q5-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q2 net-_q12-pad2_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+q9 net-_q12-pad1_ net-_q9-pad2_ net-_q14-pad3_ Q2N2222
+q16 net-_q16-pad1_ net-_q12-pad1_ net-_q16-pad3_ Q2N2222
+q17 net-_q16-pad1_ net-_q16-pad3_ net-_q17-pad3_ Q2N2222
+q13 net-_q12-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+q7 net-_q12-pad2_ net-_q12-pad2_ net-_q7-pad3_ Q2N2907A
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2907A
+q15 net-_q14-pad3_ net-_c1-pad1_ net-_q12-pad1_ Q2N2907A
+r6 net-_q2-pad3_ net-_q3-pad1_ 1k
+r10 net-_q10-pad3_ net-_q2-pad3_ 6k
+r11 net-_q2-pad3_ net-_c1-pad2_ 20k
+r7 net-_q3-pad2_ net-_q14-pad3_ 6k
+r9 net-_q6-pad3_ net-_q14-pad3_ 1k
+r12 net-_q11-pad3_ net-_q14-pad3_ 6k
+r18 net-_q17-pad3_ net-_q10-pad1_ 0.3
+r19 net-_q10-pad1_ net-_q10-pad2_ 385
+r20 net-_q10-pad2_ net-_q14-pad3_ 293
+r16 net-_q16-pad3_ net-_q10-pad1_ 200
+r17 net-_q17-pad3_ net-_q13-pad2_ 240
+r1 net-_q16-pad1_ net-_q1-pad2_ 100k
+r8 net-_q16-pad1_ net-_q7-pad3_ 100
+r13 net-_q16-pad1_ net-_q12-pad3_ 50
+r2 net-_q16-pad1_ net-_q1-pad1_ 500
+r15 net-_q16-pad1_ net-_r15-pad2_ 10k
+r3 net-_q1-pad3_ net-_q2-pad2_ 3.3k
+r4 net-_q2-pad2_ net-_q9-pad2_ 2.7k
+r5 net-_q9-pad2_ net-_q14-pad3_ 500
+r14 net-_q12-pad1_ net-_c1-pad1_ 6k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30pf
+* u3 net-_q12-pad1_ net-_r15-pad2_ zener
+* u2 net-_q14-pad3_ net-_q1-pad2_ zener
+* u1 net-_q16-pad1_ net-_q10-pad1_ net-_q14-pad3_ port
+a1 net-_q12-pad1_ net-_r15-pad2_ u3
+a2 net-_q14-pad3_ net-_q1-pad2_ u2
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809.pro b/library/SubcircuitLibrary/LM_7809/LM_7809.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809.sch b/library/SubcircuitLibrary/LM_7809/LM_7809.sch
new file mode 100644
index 00000000..9cd1c1e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809.sch
@@ -0,0 +1,743 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:LM_7809-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_NPN Q3
+U 1 1 627E1EA8
+P 4050 5650
+F 0 "Q3" H 3950 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 4000 5800 50 0000 R CNN
+F 2 "" H 4250 5750 29 0000 C CNN
+F 3 "" H 4050 5650 60 0000 C CNN
+ 1 4050 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 627E1EA9
+P 4850 5650
+F 0 "Q6" H 4750 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 5800 50 0000 R CNN
+F 2 "" H 5050 5750 29 0000 C CNN
+F 3 "" H 4850 5650 60 0000 C CNN
+ 1 4850 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 627E1EAA
+P 4350 5050
+F 0 "Q4" H 4250 5100 50 0000 R CNN
+F 1 "eSim_NPN" H 4300 5200 50 0000 R CNN
+F 2 "" H 4550 5150 29 0000 C CNN
+F 3 "" H 4350 5050 60 0000 C CNN
+ 1 4350 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 627E1EAB
+P 6100 5850
+F 0 "Q14" H 6000 5900 50 0000 R CNN
+F 1 "eSim_NPN" H 6050 6000 50 0000 R CNN
+F 2 "" H 6300 5950 29 0000 C CNN
+F 3 "" H 6100 5850 60 0000 C CNN
+ 1 6100 5850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 627E1EAC
+P 5500 5450
+F 0 "Q11" H 5400 5500 50 0000 R CNN
+F 1 "eSim_NPN" H 5450 5600 50 0000 R CNN
+F 2 "" H 5700 5550 29 0000 C CNN
+F 3 "" H 5500 5450 60 0000 C CNN
+ 1 5500 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 627E1EAD
+P 4550 4250
+F 0 "Q5" H 4450 4300 50 0000 R CNN
+F 1 "eSim_NPN" H 4500 4400 50 0000 R CNN
+F 2 "" H 4750 4350 29 0000 C CNN
+F 3 "" H 4550 4250 60 0000 C CNN
+ 1 4550 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 627E1EAE
+P 5250 3850
+F 0 "Q10" H 5150 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 5200 4000 50 0000 R CNN
+F 2 "" H 5450 3950 29 0000 C CNN
+F 3 "" H 5250 3850 60 0000 C CNN
+ 1 5250 3850
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 627E1EAF
+P 4900 3500
+F 0 "Q8" H 4800 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 3650 50 0000 R CNN
+F 2 "" H 5100 3600 29 0000 C CNN
+F 3 "" H 4900 3500 60 0000 C CNN
+ 1 4900 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 627E1EB0
+P 3600 2550
+F 0 "Q1" H 3500 2600 50 0000 R CNN
+F 1 "eSim_NPN" H 3550 2700 50 0000 R CNN
+F 2 "" H 3800 2650 29 0000 C CNN
+F 3 "" H 3600 2550 60 0000 C CNN
+ 1 3600 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 627E1EB1
+P 4050 3750
+F 0 "Q2" H 3950 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 4000 3900 50 0000 R CNN
+F 2 "" H 4250 3850 29 0000 C CNN
+F 3 "" H 4050 3750 60 0000 C CNN
+ 1 4050 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 627E1EB2
+P 5050 2800
+F 0 "Q9" H 4950 2850 50 0000 R CNN
+F 1 "eSim_NPN" H 5000 2950 50 0000 R CNN
+F 2 "" H 5250 2900 29 0000 C CNN
+F 3 "" H 5050 2800 60 0000 C CNN
+ 1 5050 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 627E1EB3
+P 6600 2000
+F 0 "Q16" H 6500 2050 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 2150 50 0000 R CNN
+F 2 "" H 6800 2100 29 0000 C CNN
+F 3 "" H 6600 2000 60 0000 C CNN
+ 1 6600 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 627E1EB4
+P 7250 2800
+F 0 "Q17" H 7150 2850 50 0000 R CNN
+F 1 "eSim_NPN" H 7200 2950 50 0000 R CNN
+F 2 "" H 7450 2900 29 0000 C CNN
+F 3 "" H 7250 2800 60 0000 C CNN
+ 1 7250 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 627E1EB5
+P 6000 3050
+F 0 "Q13" H 5900 3100 50 0000 R CNN
+F 1 "eSim_NPN" H 5950 3200 50 0000 R CNN
+F 2 "" H 6200 3150 29 0000 C CNN
+F 3 "" H 6000 3050 60 0000 C CNN
+ 1 6000 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 627E1EB6
+P 4900 1500
+F 0 "Q7" H 4800 1550 50 0000 R CNN
+F 1 "eSim_PNP" H 4850 1650 50 0000 R CNN
+F 2 "" H 5100 1600 29 0000 C CNN
+F 3 "" H 4900 1500 60 0000 C CNN
+ 1 4900 1500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 627E1EB7
+P 5700 1500
+F 0 "Q12" H 5600 1550 50 0000 R CNN
+F 1 "eSim_PNP" H 5650 1650 50 0000 R CNN
+F 2 "" H 5900 1600 29 0000 C CNN
+F 3 "" H 5700 1500 60 0000 C CNN
+ 1 5700 1500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q15
+U 1 1 627E1EB8
+P 6400 4500
+F 0 "Q15" H 6300 4550 50 0000 R CNN
+F 1 "eSim_PNP" H 6350 4650 50 0000 R CNN
+F 2 "" H 6600 4600 29 0000 C CNN
+F 3 "" H 6400 4500 60 0000 C CNN
+ 1 6400 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 627E1EB9
+P 4100 4600
+F 0 "R6" H 4150 4730 50 0000 C CNN
+F 1 "1K" H 4150 4550 50 0000 C CNN
+F 2 "" H 4150 4580 30 0000 C CNN
+F 3 "" V 4150 4650 30 0000 C CNN
+ 1 4100 4600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 627E1EBA
+P 5100 4250
+F 0 "R10" H 5150 4400 50 0000 C CNN
+F 1 "6K" H 5150 4200 50 0000 C CNN
+F 2 "" H 5150 4230 30 0000 C CNN
+F 3 "" V 5150 4300 30 0000 C CNN
+ 1 5100 4250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 627E1EBB
+P 5100 4700
+F 0 "R11" H 5150 4850 50 0000 C CNN
+F 1 "20K" H 5150 4650 50 0000 C CNN
+F 2 "" H 5150 4680 30 0000 C CNN
+F 3 "" V 5150 4750 30 0000 C CNN
+ 1 5100 4700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 627E1EBC
+P 4400 6050
+F 0 "R7" H 4450 6200 50 0000 C CNN
+F 1 "6K" H 4450 6000 50 0000 C CNN
+F 2 "" H 4450 6030 30 0000 C CNN
+F 3 "" V 4450 6100 30 0000 C CNN
+ 1 4400 6050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 627E1EBD
+P 4900 6050
+F 0 "R9" H 4950 6200 50 0000 C CNN
+F 1 "1K" H 4950 6000 50 0000 C CNN
+F 2 "" H 4950 6030 30 0000 C CNN
+F 3 "" V 4950 6100 30 0000 C CNN
+ 1 4900 6050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R12
+U 1 1 627E1EBE
+P 5550 6050
+F 0 "R12" H 5600 6200 50 0000 C CNN
+F 1 "6K" H 5600 6000 50 0000 C CNN
+F 2 "" H 5600 6030 30 0000 C CNN
+F 3 "" V 5600 6100 30 0000 C CNN
+ 1 5550 6050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R18
+U 1 1 627E1EBF
+P 7300 3250
+F 0 "R18" H 7350 3400 50 0000 C CNN
+F 1 "0.3" H 7350 3200 50 0000 C CNN
+F 2 "" H 7350 3230 30 0000 C CNN
+F 3 "" V 7350 3300 30 0000 C CNN
+ 1 7300 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 627E1EC0
+P 7300 4200
+F 0 "R19" H 7350 4350 50 0000 C CNN
+F 1 "385" H 7350 4150 50 0000 C CNN
+F 2 "" H 7350 4180 30 0000 C CNN
+F 3 "" V 7350 4250 30 0000 C CNN
+ 1 7300 4200
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R20
+U 1 1 627E1EC1
+P 7300 5550
+F 0 "R20" H 7350 5700 50 0000 C CNN
+F 1 "293" H 7350 5500 50 0000 C CNN
+F 2 "" H 7350 5530 30 0000 C CNN
+F 3 "" V 7350 5600 30 0000 C CNN
+ 1 7300 5550
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 627E1EC2
+P 6650 3250
+F 0 "R16" H 6700 3400 50 0000 C CNN
+F 1 "200" H 6700 3200 50 0000 C CNN
+F 2 "" H 6700 3230 30 0000 C CNN
+F 3 "" V 6700 3300 30 0000 C CNN
+ 1 6650 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 627E1EC3
+P 6950 3000
+F 0 "R17" H 7000 3150 50 0000 C CNN
+F 1 "240" H 7000 2950 50 0000 C CNN
+F 2 "" H 7000 2980 30 0000 C CNN
+F 3 "" V 7000 3050 30 0000 C CNN
+ 1 6950 3000
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 627E1EC4
+P 3050 750
+F 0 "R1" H 3100 900 50 0000 C CNN
+F 1 "100K" H 3100 700 50 0000 C CNN
+F 2 "" H 3100 730 30 0000 C CNN
+F 3 "" V 3100 800 30 0000 C CNN
+ 1 3050 750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 627E1EC5
+P 4750 750
+F 0 "R8" H 4800 900 50 0000 C CNN
+F 1 "100" H 4800 700 50 0000 C CNN
+F 2 "" H 4800 730 30 0000 C CNN
+F 3 "" V 4800 800 30 0000 C CNN
+ 1 4750 750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 627E1EC6
+P 5750 750
+F 0 "R13" H 5800 900 50 0000 C CNN
+F 1 "50" H 5800 700 50 0000 C CNN
+F 2 "" H 5800 730 30 0000 C CNN
+F 3 "" V 5800 800 30 0000 C CNN
+ 1 5750 750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 627E1EC7
+P 3650 750
+F 0 "R2" H 3700 900 50 0000 C CNN
+F 1 "500" H 3700 700 50 0000 C CNN
+F 2 "" H 3700 730 30 0000 C CNN
+F 3 "" V 3700 800 30 0000 C CNN
+ 1 3650 750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 627E1EC8
+P 6150 750
+F 0 "R15" H 6200 900 50 0000 C CNN
+F 1 "10K" H 6200 700 50 0000 C CNN
+F 2 "" H 6200 730 30 0000 C CNN
+F 3 "" V 6200 800 30 0000 C CNN
+ 1 6150 750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 627E1EC9
+P 3650 3150
+F 0 "R3" H 3700 3280 50 0000 C CNN
+F 1 "3.3K" H 3700 3100 50 0000 C CNN
+F 2 "" H 3700 3130 30 0000 C CNN
+F 3 "" V 3700 3200 30 0000 C CNN
+ 1 3650 3150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 627E1ECA
+P 3650 4100
+F 0 "R4" H 3700 4230 50 0000 C CNN
+F 1 "2.7K" H 3700 4050 50 0000 C CNN
+F 2 "" H 3700 4080 30 0000 C CNN
+F 3 "" V 3700 4150 30 0000 C CNN
+ 1 3650 4100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 627E1ECB
+P 3650 5250
+F 0 "R5" H 3700 5380 50 0000 C CNN
+F 1 "500" H 3700 5200 50 0000 C CNN
+F 2 "" H 3700 5230 30 0000 C CNN
+F 3 "" V 3700 5300 30 0000 C CNN
+ 1 3650 5250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 627E1ECC
+P 5750 4200
+F 0 "R14" H 5800 4350 50 0000 C CNN
+F 1 "6K" H 5800 4150 50 0000 C CNN
+F 2 "" H 5800 4180 30 0000 C CNN
+F 3 "" V 5800 4250 30 0000 C CNN
+ 1 5750 4200
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 627E1ECD
+P 5300 5100
+F 0 "C1" H 5325 5200 50 0000 L CNN
+F 1 "30pF" H 5325 5000 50 0000 L CNN
+F 2 "" H 5338 4950 30 0000 C CNN
+F 3 "" H 5300 5100 60 0000 C CNN
+ 1 5300 5100
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5100 3500 8800 3500
+Wire Wire Line
+ 2400 650 7350 650
+Connection ~ 3700 650
+Connection ~ 4800 650
+Connection ~ 5800 650
+Connection ~ 6200 650
+Wire Wire Line
+ 3100 950 3100 4900
+Wire Wire Line
+ 7350 6450 3100 6450
+Wire Wire Line
+ 7350 5750 7350 6450
+Wire Wire Line
+ 7350 4400 7350 5450
+Wire Wire Line
+ 7350 3000 7350 3150
+Wire Wire Line
+ 7350 3450 7350 4100
+Connection ~ 7350 3500
+Wire Wire Line
+ 6700 3450 6700 3500
+Connection ~ 6700 3500
+Wire Wire Line
+ 3400 2550 3100 2550
+Connection ~ 3100 2550
+Wire Wire Line
+ 3700 950 3700 2350
+Wire Wire Line
+ 3700 2750 3700 3050
+Wire Wire Line
+ 3700 3350 3700 4000
+Wire Wire Line
+ 3700 4300 3700 5150
+Wire Wire Line
+ 3700 5450 3700 6450
+Connection ~ 3700 6450
+Wire Wire Line
+ 4950 6250 4950 6450
+Connection ~ 4950 6450
+Wire Wire Line
+ 5600 6250 5600 6450
+Connection ~ 5600 6450
+Wire Wire Line
+ 4450 6250 4450 6450
+Connection ~ 4450 6450
+Wire Wire Line
+ 5150 4050 5150 4150
+Wire Wire Line
+ 5150 4450 5150 4600
+Wire Wire Line
+ 5150 4900 5150 4950
+Wire Wire Line
+ 5150 4950 4950 4950
+Wire Wire Line
+ 4950 4950 4950 5450
+Wire Wire Line
+ 4950 5850 4950 5950
+Wire Wire Line
+ 4250 5650 4650 5650
+Wire Wire Line
+ 4450 4450 4450 4850
+Wire Wire Line
+ 4450 5250 4450 5950
+Connection ~ 4450 5650
+Wire Wire Line
+ 4800 950 4800 1300
+Wire Wire Line
+ 4800 1700 4800 3300
+Wire Wire Line
+ 4800 3700 4800 3850
+Wire Wire Line
+ 4800 3850 4450 3850
+Wire Wire Line
+ 4450 3850 4450 4050
+Wire Wire Line
+ 4800 3250 4150 3250
+Wire Wire Line
+ 4150 3250 4150 3550
+Connection ~ 4800 3250
+Wire Wire Line
+ 4150 3950 4150 4500
+Wire Wire Line
+ 3850 3750 3700 3750
+Connection ~ 3700 3750
+Wire Wire Line
+ 4150 4800 4150 4850
+Wire Wire Line
+ 4150 4850 3950 4850
+Wire Wire Line
+ 3950 4850 3950 5450
+Wire Wire Line
+ 3950 5850 3950 6450
+Connection ~ 3950 6450
+Wire Wire Line
+ 4150 5050 3950 5050
+Connection ~ 3950 5050
+Wire Wire Line
+ 4150 4450 5150 4450
+Connection ~ 4150 4450
+Connection ~ 4450 4450
+Wire Wire Line
+ 5450 3850 7150 3850
+Wire Wire Line
+ 7150 3850 7150 4850
+Wire Wire Line
+ 7150 4850 7350 4850
+Connection ~ 7350 4850
+Wire Wire Line
+ 5800 1700 5800 4100
+Wire Wire Line
+ 4950 5100 5150 5100
+Connection ~ 4950 5100
+Wire Wire Line
+ 5800 4400 5800 5250
+Wire Wire Line
+ 5800 5250 5600 5250
+Wire Wire Line
+ 5600 5650 5600 5950
+Wire Wire Line
+ 4950 5450 5300 5450
+Wire Wire Line
+ 5450 5100 6200 5100
+Connection ~ 5800 5100
+Wire Wire Line
+ 6200 5100 6200 5650
+Wire Wire Line
+ 5900 5850 5600 5850
+Connection ~ 5600 5850
+Wire Wire Line
+ 6200 6050 6200 6450
+Connection ~ 6200 6450
+Wire Wire Line
+ 6700 650 6700 1800
+Connection ~ 6700 650
+Wire Wire Line
+ 6700 2200 6700 3150
+Wire Wire Line
+ 7050 3050 7350 3050
+Connection ~ 7350 3050
+Wire Wire Line
+ 5900 3250 5900 3500
+Connection ~ 5900 3500
+Wire Wire Line
+ 6200 3050 6750 3050
+Wire Wire Line
+ 6200 950 6200 1150
+Wire Wire Line
+ 6700 2800 7050 2800
+Connection ~ 6700 2800
+Wire Wire Line
+ 7350 650 7350 2600
+Wire Wire Line
+ 5100 1500 5500 1500
+Wire Wire Line
+ 5800 950 5800 1300
+Wire Wire Line
+ 5300 1500 5300 1800
+Wire Wire Line
+ 5300 1800 4800 1800
+Connection ~ 4800 1800
+Connection ~ 5300 1500
+Wire Wire Line
+ 4850 2800 3850 2800
+Wire Wire Line
+ 3850 2800 3850 4500
+Wire Wire Line
+ 3850 4500 3700 4500
+Connection ~ 3700 4500
+Wire Wire Line
+ 5150 3000 5150 3200
+Wire Wire Line
+ 5150 3200 3800 3200
+Wire Wire Line
+ 3800 3200 3800 6450
+Connection ~ 3800 6450
+Wire Wire Line
+ 6500 4700 6500 6450
+Connection ~ 6500 6450
+Wire Wire Line
+ 6200 4500 5800 4500
+Connection ~ 5800 4500
+Wire Wire Line
+ 6500 4300 6500 4000
+Wire Wire Line
+ 6500 4000 5800 4000
+Connection ~ 5800 4000
+Wire Wire Line
+ 5150 2600 5150 2000
+Wire Wire Line
+ 5150 2000 6400 2000
+Connection ~ 5800 2000
+Wire Wire Line
+ 5900 2850 5900 2000
+Connection ~ 5900 2000
+Wire Wire Line
+ 5150 3650 5150 3500
+Connection ~ 5150 3500
+Wire Wire Line
+ 4750 4250 4950 4250
+Wire Wire Line
+ 4950 4250 4950 4100
+Wire Wire Line
+ 4950 4100 5150 4100
+Connection ~ 5150 4100
+$Comp
+L zener U3
+U 1 1 627E1ED2
+P 6200 1450
+F 0 "U3" H 6150 1350 60 0000 C CNN
+F 1 "zener" H 6200 1550 60 0000 C CNN
+F 2 "" H 6250 1450 60 0000 C CNN
+F 3 "" H 6250 1450 60 0000 C CNN
+ 1 6200 1450
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 6200 1650 6200 2000
+Connection ~ 6200 2000
+$Comp
+L zener U2
+U 1 1 627E1ED3
+P 3100 5200
+F 0 "U2" H 3050 5100 60 0000 C CNN
+F 1 "zener" H 3100 5300 60 0000 C CNN
+F 2 "" H 3150 5200 60 0000 C CNN
+F 3 "" H 3150 5200 60 0000 C CNN
+ 1 3100 5200
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 3100 6450 3100 5400
+Connection ~ 3100 650
+$Comp
+L PORT U1
+U 1 1 627EEACD
+P 2150 650
+F 0 "U1" H 2200 750 30 0000 C CNN
+F 1 "PORT" H 2150 650 30 0000 C CNN
+F 2 "" H 2150 650 60 0000 C CNN
+F 3 "" H 2150 650 60 0000 C CNN
+ 1 2150 650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 627EFDCA
+P 9050 3500
+F 0 "U1" H 9100 3600 30 0000 C CNN
+F 1 "PORT" H 9050 3500 30 0000 C CNN
+F 2 "" H 9050 3500 60 0000 C CNN
+F 3 "" H 9050 3500 60 0000 C CNN
+ 2 9050 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 627F2063
+P 5300 6800
+F 0 "U1" H 5350 6900 30 0000 C CNN
+F 1 "PORT" H 5300 6800 30 0000 C CNN
+F 2 "" H 5300 6800 60 0000 C CNN
+F 3 "" H 5300 6800 60 0000 C CNN
+ 3 5300 6800
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 5300 6550 5300 6450
+Connection ~ 5300 6450
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809.sub b/library/SubcircuitLibrary/LM_7809/LM_7809.sub
new file mode 100644
index 00000000..3af8c373
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809.sub
@@ -0,0 +1,54 @@
+* Subcircuit LM_7809
+.subckt LM_7809 net-_q16-pad1_ net-_q10-pad1_ net-_q14-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\lm_7809\lm_7809.cir
+.include NPN.lib
+.include PNP.lib
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q14-pad3_ Q2N2222
+q6 net-_c1-pad2_ net-_q3-pad2_ net-_q6-pad3_ Q2N2222
+q4 net-_q2-pad3_ net-_q3-pad1_ net-_q3-pad2_ Q2N2222
+q14 net-_c1-pad1_ net-_q11-pad3_ net-_q14-pad3_ Q2N2222
+q11 net-_c1-pad1_ net-_c1-pad2_ net-_q11-pad3_ Q2N2222
+q5 net-_q5-pad1_ net-_q10-pad3_ net-_q2-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q8 net-_q12-pad2_ net-_q10-pad1_ net-_q5-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q2 net-_q12-pad2_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+q9 net-_q12-pad1_ net-_q9-pad2_ net-_q14-pad3_ Q2N2222
+q16 net-_q16-pad1_ net-_q12-pad1_ net-_q16-pad3_ Q2N2222
+q17 net-_q16-pad1_ net-_q16-pad3_ net-_q17-pad3_ Q2N2222
+q13 net-_q12-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+q7 net-_q12-pad2_ net-_q12-pad2_ net-_q7-pad3_ Q2N2907A
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2907A
+q15 net-_q14-pad3_ net-_c1-pad1_ net-_q12-pad1_ Q2N2907A
+r6 net-_q2-pad3_ net-_q3-pad1_ 1k
+r10 net-_q10-pad3_ net-_q2-pad3_ 6k
+r11 net-_q2-pad3_ net-_c1-pad2_ 20k
+r7 net-_q3-pad2_ net-_q14-pad3_ 6k
+r9 net-_q6-pad3_ net-_q14-pad3_ 1k
+r12 net-_q11-pad3_ net-_q14-pad3_ 6k
+r18 net-_q17-pad3_ net-_q10-pad1_ 0.3
+r19 net-_q10-pad1_ net-_q10-pad2_ 385
+r20 net-_q10-pad2_ net-_q14-pad3_ 293
+r16 net-_q16-pad3_ net-_q10-pad1_ 200
+r17 net-_q17-pad3_ net-_q13-pad2_ 240
+r1 net-_q16-pad1_ net-_q1-pad2_ 100k
+r8 net-_q16-pad1_ net-_q7-pad3_ 100
+r13 net-_q16-pad1_ net-_q12-pad3_ 50
+r2 net-_q16-pad1_ net-_q1-pad1_ 500
+r15 net-_q16-pad1_ net-_r15-pad2_ 10k
+r3 net-_q1-pad3_ net-_q2-pad2_ 3.3k
+r4 net-_q2-pad2_ net-_q9-pad2_ 2.7k
+r5 net-_q9-pad2_ net-_q14-pad3_ 500
+r14 net-_q12-pad1_ net-_c1-pad1_ 6k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30pf
+* u3 net-_q12-pad1_ net-_r15-pad2_ zener
+* u2 net-_q14-pad3_ net-_q1-pad2_ zener
+a1 net-_q12-pad1_ net-_r15-pad2_ u3
+a2 net-_q14-pad3_ net-_q1-pad2_ u2
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends LM_7809 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM_7809/LM_7809_Previous_Values.xml b/library/SubcircuitLibrary/LM_7809/LM_7809_Previous_Values.xml
new file mode 100644
index 00000000..8aa8f5b8
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/LM_7809_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u5 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u5><u4 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)">5.6</field6><field7 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field7><field8 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field8><field9 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field9><field10 name="Enter Switch for Limiting (default=FALSE)">FALSE</field10></u4><u3 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u3><u2 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)">5.6</field6><field7 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field7><field8 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field8><field9 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field9><field10 name="Enter Switch for Limiting (default=FALSE)">FALSE</field10></u2></model><devicemodel><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q15></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM_7809/NPN.lib b/library/SubcircuitLibrary/LM_7809/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/LM_7809/PNP.lib b/library/SubcircuitLibrary/LM_7809/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/LM_7809/README.md b/library/SubcircuitLibrary/LM_7809/README.md
new file mode 100644
index 00000000..96898d44
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/README.md
@@ -0,0 +1,35 @@
+
+# LM7809 Voltage Regulator
+
+LM7809 is a voltage regulator IC which belongs to 78xx series. It produces 9 volt constant DC output with the higher input voltages. It is used in various electronics devices or gadgets to maintain a constant DC power supply.
+
+
+## Usage/Examples
+
+Voltage Step Down
+
+Power Supplies
+
+Motor Drivers
+
+Battery Chargers
+
+Solar Supplies
+
+Microcontroller power supplies
+
+
+## Documentation
+
+To know the details of LM7809 IC please go through with the documentation [LM7809_datasheet](https://pdf.datasheet.live/7cb7272b/fairchildsemi.com/LM7809.pdf)
+
+## Comments/Notes
+
+Please note this is a complete analog IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022
diff --git a/library/SubcircuitLibrary/LM_7809/analysis b/library/SubcircuitLibrary/LM_7809/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM_7809/desktop.ini b/library/SubcircuitLibrary/LM_7809/desktop.ini
new file mode 100644
index 00000000..d957fd18
--- /dev/null
+++ b/library/SubcircuitLibrary/LM_7809/desktop.ini
@@ -0,0 +1,4 @@
+[ViewState]
+Mode=
+Vid=
+FolderType=Generic