summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanto Kar2024-11-21 21:15:32 +0530
committerGitHub2024-11-21 21:15:32 +0530
commit5aa4943922ff5af9bbb840782aaf26e72de40576 (patch)
tree41653e7a4f4e1d07dbaa49a2e2430a625b656fad
parent70dbdd89d848221c612f6111b9d84e52211c3287 (diff)
parent4ce3b233c5e66fb14e2c0bf6bd55a0892b0acfb1 (diff)
downloadeSim-5aa4943922ff5af9bbb840782aaf26e72de40576.tar.gz
eSim-5aa4943922ff5af9bbb840782aaf26e72de40576.tar.bz2
eSim-5aa4943922ff5af9bbb840782aaf26e72de40576.zip
Merge pull request #288 from Eyantra698Sumanto/master
Subcircuit Files of ICs(Contributor: Anjali Thakur)
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub-cache.lib142
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir33
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir.out36
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sch512
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sub30
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/AS321_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/AS321_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib151
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir57
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out66
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.pro73
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch879
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub60
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM140K_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/D.lib2
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160-cache.lib137
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160.cir62
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160.cir.out74
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160.pro73
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160.sch1068
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160.sub68
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub-cache.lib137
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir62
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir.out74
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sch1096
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sub68
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/LM160_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM160_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib142
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir55
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out58
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch951
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub52
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub-cache.lib123
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir48
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir.out53
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sch771
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sub47
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM4250_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib160
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir49
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out65
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch726
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub59
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/D.lib2
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub-cache.lib163
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir78
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir.out90
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub.pro73
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sch1298
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sub84
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/LT1011_sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/analysis1
-rw-r--r--library/SubcircuitLibrary/LT1011_sub/schottky.lib1
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub-cache.lib147
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir47
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir.out51
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.pro73
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sch753
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sub45
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/MC1741_sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/PowerDiode.lib20
-rw-r--r--library/SubcircuitLibrary/MC1741_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/D.lib2
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib184
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir72
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out80
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch1133
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub74
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib184
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir72
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out80
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch1133
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub74
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/analysis1
-rw-r--r--library/SubcircuitLibrary/UA777_sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/UA777_sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub-cache.lib102
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir51
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir.out54
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub.sch936
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub.sub48
-rw-r--r--library/SubcircuitLibrary/UA777_sub/UA777_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/UA777_sub/analysis1
121 files changed, 16217 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub-cache.lib b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub-cache.lib
new file mode 100644
index 00000000..c3224acc
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub-cache.lib
@@ -0,0 +1,142 @@
+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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+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
+#
+#End Library
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir
new file mode 100644
index 00000000..cdd5dbac
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir
@@ -0,0 +1,33 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\AS321_Sub\AS321_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/14/24 17:22:58
+
+* 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: /
+I1 Net-_I1-Pad1_ Net-_I1-Pad2_ 6uA
+I2 Net-_I1-Pad1_ Net-_I2-Pad2_ 4uA
+I4 Net-_I1-Pad1_ Net-_C1-Pad1_ 100uA
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_I1-Pad2_ eSim_PNP
+Q1 Net-_I3-Pad2_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q5-Pad2_ Net-_I1-Pad2_ eSim_PNP
+Q6 Net-_I3-Pad2_ Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_I3-Pad2_ eSim_NPN
+Q4 Net-_C1-Pad2_ Net-_Q2-Pad1_ Net-_I3-Pad2_ eSim_NPN
+Q7 Net-_I3-Pad2_ Net-_C1-Pad2_ Net-_I2-Pad2_ eSim_PNP
+Q8 Net-_I1-Pad1_ Net-_I2-Pad2_ Net-_I3-Pad1_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+I3 Net-_I3-Pad1_ Net-_I3-Pad2_ 50uA
+Q9 Net-_C1-Pad1_ Net-_I3-Pad1_ Net-_I3-Pad2_ eSim_NPN
+Q10 Net-_C1-Pad1_ Net-_Q10-Pad2_ Net-_I5-Pad1_ eSim_NPN
+I5 Net-_I5-Pad1_ Net-_I3-Pad2_ 50uA
+Q13 Net-_I3-Pad2_ Net-_C1-Pad1_ Net-_I5-Pad1_ eSim_PNP
+R3 Net-_Q10-Pad2_ Net-_I5-Pad1_ 500
+Q11 Net-_I1-Pad1_ Net-_C1-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_I1-Pad1_ Net-_Q11-Pad3_ Net-_Q10-Pad2_ eSim_NPN
+R2 Net-_Q1-Pad2_ Net-_I5-Pad1_ 8k
+R1 Net-_R1-Pad1_ Net-_Q1-Pad2_ 2k
+U1 Net-_Q6-Pad2_ Net-_I3-Pad2_ Net-_R1-Pad1_ Net-_I5-Pad1_ Net-_I1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir.out b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir.out
new file mode 100644
index 00000000..e3b8f404
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.cir.out
@@ -0,0 +1,36 @@
+* c:\fossee\esim\library\subcircuitlibrary\as321_sub\as321_sub.cir
+
+.include NPN.lib
+.include PNP.lib
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i3-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i3-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i3-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i3-pad2_ Q2N2222
+q7 net-_i3-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i3 net-_i3-pad1_ net-_i3-pad2_ 50ua
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i3-pad2_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+i5 net-_i5-pad1_ net-_i3-pad2_ 50ua
+q13 net-_i3-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+r3 net-_q10-pad2_ net-_i5-pad1_ 500
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r2 net-_q1-pad2_ net-_i5-pad1_ 8k
+r1 net-_r1-pad1_ net-_q1-pad2_ 2k
+* u1 net-_q6-pad2_ net-_i3-pad2_ net-_r1-pad1_ net-_i5-pad1_ net-_i1-pad1_ port
+.tran 0.1e-03 100e-03 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/AS321_Sub/AS321_Sub.pro b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sch b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sch
new file mode 100644
index 00000000..1c690259
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sch
@@ -0,0 +1,512 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:AS321-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 dc I1
+U 1 1 6693BAFF
+P 3850 2600
+F 0 "I1" H 3650 2700 60 0000 C CNN
+F 1 "6uA" H 3650 2550 60 0000 C CNN
+F 2 "R1" H 3550 2600 60 0000 C CNN
+F 3 "" H 3850 2600 60 0000 C CNN
+ 1 3850 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 6693BB00
+P 6650 2700
+F 0 "I2" H 6450 2800 60 0000 C CNN
+F 1 "4uA" H 6450 2650 60 0000 C CNN
+F 2 "R1" H 6350 2700 60 0000 C CNN
+F 3 "" H 6650 2700 60 0000 C CNN
+ 1 6650 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 6693BB01
+P 7950 2650
+F 0 "I4" H 7750 2750 60 0000 C CNN
+F 1 "100uA" H 7750 2600 60 0000 C CNN
+F 2 "R1" H 7650 2650 60 0000 C CNN
+F 3 "" H 7950 2650 60 0000 C CNN
+ 1 7950 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 6693BB02
+P 3250 4100
+F 0 "Q2" H 3150 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 3200 4250 50 0000 R CNN
+F 2 "" H 3450 4200 29 0000 C CNN
+F 3 "" H 3250 4100 60 0000 C CNN
+ 1 3250 4100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 6693BB03
+P 2650 4750
+F 0 "Q1" H 2550 4800 50 0000 R CNN
+F 1 "eSim_PNP" H 2600 4900 50 0000 R CNN
+F 2 "" H 2850 4850 29 0000 C CNN
+F 3 "" H 2650 4750 60 0000 C CNN
+ 1 2650 4750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 6693BB04
+P 4450 4100
+F 0 "Q5" H 4350 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 4400 4250 50 0000 R CNN
+F 2 "" H 4650 4200 29 0000 C CNN
+F 3 "" H 4450 4100 60 0000 C CNN
+ 1 4450 4100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 6693BB05
+P 5050 4700
+F 0 "Q6" H 4950 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 5000 4850 50 0000 R CNN
+F 2 "" H 5250 4800 29 0000 C CNN
+F 3 "" H 5050 4700 60 0000 C CNN
+ 1 5050 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 6693BB06
+P 3450 5700
+F 0 "Q3" H 3350 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 3400 5850 50 0000 R CNN
+F 2 "" H 3650 5800 29 0000 C CNN
+F 3 "" H 3450 5700 60 0000 C CNN
+ 1 3450 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 6693BB07
+P 4250 5700
+F 0 "Q4" H 4150 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 4200 5850 50 0000 R CNN
+F 2 "" H 4450 5800 29 0000 C CNN
+F 3 "" H 4250 5700 60 0000 C CNN
+ 1 4250 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 6693BB08
+P 6550 5400
+F 0 "Q7" H 6450 5450 50 0000 R CNN
+F 1 "eSim_PNP" H 6500 5550 50 0000 R CNN
+F 2 "" H 6750 5500 29 0000 C CNN
+F 3 "" H 6550 5400 60 0000 C CNN
+ 1 6550 5400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 6693BB09
+P 7250 4850
+F 0 "Q8" H 7150 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 7200 5000 50 0000 R CNN
+F 2 "" H 7450 4950 29 0000 C CNN
+F 3 "" H 7250 4850 60 0000 C CNN
+ 1 7250 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 6693BB0A
+P 6050 4300
+F 0 "C1" H 6075 4400 50 0000 L CNN
+F 1 "20pF" H 6075 4200 50 0000 L CNN
+F 2 "" H 6088 4150 30 0000 C CNN
+F 3 "" H 6050 4300 60 0000 C CNN
+ 1 6050 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 6693BB0B
+P 7350 5650
+F 0 "I3" H 7150 5750 60 0000 C CNN
+F 1 "50uA" H 7150 5600 60 0000 C CNN
+F 2 "R1" H 7050 5650 60 0000 C CNN
+F 3 "" H 7350 5650 60 0000 C CNN
+ 1 7350 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 6693BB0C
+P 7850 5150
+F 0 "Q9" H 7750 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 7800 5300 50 0000 R CNN
+F 2 "" H 8050 5250 29 0000 C CNN
+F 3 "" H 7850 5150 60 0000 C CNN
+ 1 7850 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6693BB0D
+P 8550 4000
+F 0 "Q10" H 8450 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 8500 4150 50 0000 R CNN
+F 2 "" H 8750 4100 29 0000 C CNN
+F 3 "" H 8550 4000 60 0000 C CNN
+ 1 8550 4000
+ -1 0 0 -1
+$EndComp
+$Comp
+L dc I5
+U 1 1 6693BB0E
+P 8450 5750
+F 0 "I5" H 8250 5850 60 0000 C CNN
+F 1 "50uA" H 8250 5700 60 0000 C CNN
+F 2 "R1" H 8150 5750 60 0000 C CNN
+F 3 "" H 8450 5750 60 0000 C CNN
+ 1 8450 5750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 6693BB0F
+P 9250 4800
+F 0 "Q13" H 9150 4850 50 0000 R CNN
+F 1 "eSim_PNP" H 9200 4950 50 0000 R CNN
+F 2 "" H 9450 4900 29 0000 C CNN
+F 3 "" H 9250 4800 60 0000 C CNN
+ 1 9250 4800
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 6693BB10
+P 9300 4200
+F 0 "R3" H 9350 4330 50 0000 C CNN
+F 1 "500" H 9350 4150 50 0000 C CNN
+F 2 "" H 9350 4180 30 0000 C CNN
+F 3 "" V 9350 4250 30 0000 C CNN
+ 1 9300 4200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 6693BB11
+P 8850 3300
+F 0 "Q11" H 8750 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 8800 3450 50 0000 R CNN
+F 2 "" H 9050 3400 29 0000 C CNN
+F 3 "" H 8850 3300 60 0000 C CNN
+ 1 8850 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 6693BB12
+P 9250 3700
+F 0 "Q12" H 9150 3750 50 0000 R CNN
+F 1 "eSim_NPN" H 9200 3850 50 0000 R CNN
+F 2 "" H 9450 3800 29 0000 C CNN
+F 3 "" H 9250 3700 60 0000 C CNN
+ 1 9250 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 6693BB1D
+P 6700 1400
+F 0 "R2" H 6750 1530 50 0000 C CNN
+F 1 "8k" H 6750 1350 50 0000 C CNN
+F 2 "" H 6750 1380 30 0000 C CNN
+F 3 "" V 6750 1450 30 0000 C CNN
+ 1 6700 1400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3350 3900 3350 3750
+Wire Wire Line
+ 3350 3750 4350 3750
+Wire Wire Line
+ 4350 3750 4350 3900
+Wire Wire Line
+ 3850 3050 3850 3750
+Connection ~ 3850 3750
+Wire Wire Line
+ 3050 4100 2750 4100
+Wire Wire Line
+ 2750 4100 2750 4550
+Wire Wire Line
+ 4650 4100 4950 4100
+Wire Wire Line
+ 4950 4100 4950 4500
+Wire Wire Line
+ 3350 4300 3350 5500
+Wire Wire Line
+ 4350 4300 4350 5500
+Wire Wire Line
+ 4050 5700 3650 5700
+Wire Wire Line
+ 3350 5900 3350 6300
+Wire Wire Line
+ 4350 5900 4350 6300
+Wire Wire Line
+ 2750 4950 2750 6300
+Wire Wire Line
+ 5250 4700 5550 4700
+Wire Wire Line
+ 5550 4700 5550 5200
+Wire Wire Line
+ 6350 5400 4350 5400
+Connection ~ 4350 5400
+Wire Wire Line
+ 6650 3150 6650 5200
+Wire Wire Line
+ 6650 5600 6650 6300
+Wire Wire Line
+ 2350 6300 9350 6300
+Connection ~ 3350 6300
+Connection ~ 4350 6300
+Wire Wire Line
+ 4950 4900 4950 6300
+Connection ~ 4950 6300
+Wire Wire Line
+ 3850 2150 3850 1850
+Wire Wire Line
+ 3850 1850 9850 1850
+Wire Wire Line
+ 6650 2250 6650 1850
+Connection ~ 6650 1850
+Wire Wire Line
+ 7050 4850 6650 4850
+Connection ~ 6650 4850
+Wire Wire Line
+ 7350 1850 7350 4650
+Connection ~ 7350 1850
+Connection ~ 6650 6300
+Wire Wire Line
+ 6050 5400 6050 4450
+Connection ~ 6050 5400
+Wire Wire Line
+ 6050 3300 6050 4150
+Wire Wire Line
+ 7950 1850 7950 2200
+Connection ~ 7950 1850
+Wire Wire Line
+ 7950 3100 7950 4950
+Wire Wire Line
+ 7350 5200 7350 5050
+Wire Wire Line
+ 7350 6300 7350 6100
+Wire Wire Line
+ 7650 5150 7500 5150
+Wire Wire Line
+ 7500 5150 7500 5100
+Wire Wire Line
+ 7500 5100 7350 5100
+Connection ~ 7350 5100
+Wire Wire Line
+ 7950 6300 7950 5350
+Connection ~ 7350 6300
+Wire Wire Line
+ 8450 4200 8450 5300
+Wire Wire Line
+ 8450 6300 8450 6200
+Connection ~ 7950 6300
+Wire Wire Line
+ 9050 4800 7950 4800
+Connection ~ 7950 4800
+Wire Wire Line
+ 6050 3300 8650 3300
+Connection ~ 7950 3300
+Connection ~ 8450 3300
+Wire Wire Line
+ 8950 1850 8950 3100
+Connection ~ 8950 1850
+Wire Wire Line
+ 8950 3500 8950 3700
+Wire Wire Line
+ 8950 3700 9050 3700
+Wire Wire Line
+ 9350 3900 9350 4100
+Wire Wire Line
+ 9350 4400 9350 4600
+Wire Wire Line
+ 9350 6300 9350 5000
+Connection ~ 8450 6300
+Wire Wire Line
+ 8750 4000 9350 4000
+Connection ~ 9350 4000
+Wire Wire Line
+ 8450 4500 9750 4500
+Connection ~ 8450 4500
+Connection ~ 9350 4500
+Wire Wire Line
+ 8450 3300 8450 3800
+Wire Wire Line
+ 9350 3500 9350 1850
+Connection ~ 9350 1850
+Wire Wire Line
+ 9850 1850 9850 2200
+Wire Wire Line
+ 3850 5700 3850 5400
+Wire Wire Line
+ 3850 5400 3350 5400
+Connection ~ 3350 5400
+Connection ~ 3850 5700
+Connection ~ 2750 6300
+Wire Wire Line
+ 2450 4750 2200 4750
+Wire Wire Line
+ 2350 6300 2350 6600
+Wire Wire Line
+ 2300 4750 2300 1350
+Wire Wire Line
+ 2300 1350 6600 1350
+Connection ~ 2300 4750
+Wire Wire Line
+ 6900 1350 9350 1350
+Wire Wire Line
+ 9350 1350 9350 1050
+Wire Wire Line
+ 9350 1050 10450 1050
+Wire Wire Line
+ 10450 1050 10450 3650
+Wire Wire Line
+ 10450 3650 9550 3650
+Wire Wire Line
+ 9550 3650 9550 4500
+Connection ~ 9550 4500
+$Comp
+L resistor R1
+U 1 1 6693BB1F
+P 2000 4800
+F 0 "R1" H 2050 4930 50 0000 C CNN
+F 1 "2k" H 2050 4750 50 0000 C CNN
+F 2 "" H 2050 4780 30 0000 C CNN
+F 3 "" V 2050 4850 30 0000 C CNN
+ 1 2000 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5550 5200 1550 5200
+Wire Wire Line
+ 1900 4750 1450 4750
+$Comp
+L PORT U1
+U 1 1 6693C4E1
+P 1300 5200
+F 0 "U1" H 1350 5300 30 0000 C CNN
+F 1 "PORT" H 1300 5200 30 0000 C CNN
+F 2 "" H 1300 5200 60 0000 C CNN
+F 3 "" H 1300 5200 60 0000 C CNN
+ 1 1300 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6693C574
+P 2100 6600
+F 0 "U1" H 2150 6700 30 0000 C CNN
+F 1 "PORT" H 2100 6600 30 0000 C CNN
+F 2 "" H 2100 6600 60 0000 C CNN
+F 3 "" H 2100 6600 60 0000 C CNN
+ 2 2100 6600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6693C657
+P 1200 4750
+F 0 "U1" H 1250 4850 30 0000 C CNN
+F 1 "PORT" H 1200 4750 30 0000 C CNN
+F 2 "" H 1200 4750 60 0000 C CNN
+F 3 "" H 1200 4750 60 0000 C CNN
+ 3 1200 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6693C710
+P 9750 4750
+F 0 "U1" H 9800 4850 30 0000 C CNN
+F 1 "PORT" H 9750 4750 30 0000 C CNN
+F 2 "" H 9750 4750 60 0000 C CNN
+F 3 "" H 9750 4750 60 0000 C CNN
+ 4 9750 4750
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6693C78B
+P 9850 2450
+F 0 "U1" H 9900 2550 30 0000 C CNN
+F 1 "PORT" H 9850 2450 30 0000 C CNN
+F 2 "" H 9850 2450 60 0000 C CNN
+F 3 "" H 9850 2450 60 0000 C CNN
+ 5 9850 2450
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sub b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sub
new file mode 100644
index 00000000..ffab8334
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub.sub
@@ -0,0 +1,30 @@
+* Subcircuit AS321_Sub
+.subckt AS321_Sub net-_q6-pad2_ net-_i3-pad2_ net-_r1-pad1_ net-_i5-pad1_ net-_i1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\as321_sub\as321_sub.cir
+.include NPN.lib
+.include PNP.lib
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i3-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i3-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i3-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i3-pad2_ Q2N2222
+q7 net-_i3-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i3 net-_i3-pad1_ net-_i3-pad2_ 50ua
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i3-pad2_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+i5 net-_i5-pad1_ net-_i3-pad2_ 50ua
+q13 net-_i3-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+r3 net-_q10-pad2_ net-_i5-pad1_ 500
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r2 net-_q1-pad2_ net-_i5-pad1_ 8k
+r1 net-_r1-pad1_ net-_q1-pad2_ 2k
+* Control Statements
+
+.ends AS321_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AS321_Sub/AS321_Sub_Previous_Values.xml b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub_Previous_Values.xml
new file mode 100644
index 00000000..e129004c
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/AS321_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><i1 name="Source type">6ua</i1><i2 name="Source type">4ua</i2><i4 name="Source type">100ua</i4><i3 name="Source type">50ua</i3><i5 name="Source type">50ua</i5></source><model /><devicemodel><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q13><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12></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">0</field1><field2 name="Step Time">0.1</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/AS321_Sub/NPN.lib b/library/SubcircuitLibrary/AS321_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/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/AS321_Sub/PNP.lib b/library/SubcircuitLibrary/AS321_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/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/AS321_Sub/analysis b/library/SubcircuitLibrary/AS321_Sub/analysis
new file mode 100644
index 00000000..402d01b4
--- /dev/null
+++ b/library/SubcircuitLibrary/AS321_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.1e-03 100e-03 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib
new file mode 100644
index 00000000..64bbe7a8
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB-cache.lib
@@ -0,0 +1,151 @@
+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_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+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/LM140K_Sub/LM140k_SUB.cir b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir
new file mode 100644
index 00000000..8ea27a81
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir
@@ -0,0 +1,57 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM140k_SUB\LM140k_SUB.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 08/31/24 15:45:18
+
+* 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: /
+R1 Net-_C3-Pad1_ Net-_Q1-Pad2_ 80K
+Q1 Net-_C3-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+R2 Net-_Q1-Pad3_ Net-_Q3-Pad2_ 7K
+U1 Net-_C4-Pad2_ Net-_Q1-Pad2_ zener
+R3 Net-_Q3-Pad2_ Net-_Q2-Pad2_ 4.97k
+R4 Net-_Q2-Pad2_ Net-_C4-Pad2_ 830
+Q4 Net-_Q3-Pad1_ Net-_Q3-Pad1_ Net-_C3-Pad1_ eSim_PNP
+Q8 Net-_Q12-Pad1_ Net-_Q3-Pad1_ Net-_C3-Pad1_ eSim_PNP
+Q5 Net-_Q3-Pad1_ Net-_Q1-Pad3_ Net-_Q5-Pad3_ eSim_NPN
+Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+Q6 Net-_Q5-Pad3_ Net-_Q13-Pad2_ Net-_Q6-Pad3_ eSim_NPN
+R5 Net-_Q3-Pad3_ Net-_Q6-Pad3_ 500
+R7 Net-_Q6-Pad3_ Net-_Q7-Pad2_ 1.9k
+Q7 Net-_Q6-Pad3_ Net-_Q7-Pad2_ Net-_C1-Pad2_ eSim_NPN
+R9 Net-_Q10-Pad3_ Net-_C4-Pad2_ 12.1k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 4pF
+R6 Net-_C1-Pad2_ Net-_C4-Pad2_ 1.2k
+Q2 Net-_Q12-Pad1_ Net-_Q2-Pad2_ Net-_C4-Pad2_ eSim_NPN
+R8 Net-_Q7-Pad2_ Net-_C1-Pad1_ 26
+Q9 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_C4-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_C1-Pad1_ Net-_Q10-Pad3_ eSim_NPN
+U2 Net-_Q12-Pad2_ Net-_R13-Pad2_ zener
+R13 Net-_C3-Pad1_ Net-_R13-Pad2_ 16k
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+R12 Net-_Q11-Pad3_ Net-_C4-Pad2_ 1k
+Q11 Net-_C2-Pad2_ Net-_Q10-Pad3_ Net-_Q11-Pad3_ eSim_NPN
+R11 Net-_Q10-Pad1_ Net-_C2-Pad2_ 16.5k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q12-Pad3_ eSim_NPN
+R10 Net-_Q12-Pad3_ Net-_C4-Pad1_ 100
+R15 Net-_Q19-Pad3_ Net-_Q12-Pad2_ 380
+Q17 Net-_C3-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad1_ eSim_NPN
+Q19 Net-_C3-Pad1_ Net-_Q13-Pad1_ Net-_Q19-Pad3_ eSim_NPN
+R18 Net-_Q13-Pad1_ Net-_Q12-Pad2_ 1.62k
+R19 Net-_C4-Pad1_ Net-_Q19-Pad3_ 0.25
+R20 Net-_Q13-Pad2_ Net-_C4-Pad1_ 1.39k
+R16 Net-_Q12-Pad1_ Net-_Q18-Pad3_ 850
+R17 Net-_Q18-Pad3_ Net-_C2-Pad1_ 4k
+Q16 Net-_C2-Pad1_ Net-_Q14-Pad3_ Net-_C4-Pad2_ eSim_NPN
+C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 20pF
+Q14 Net-_C2-Pad1_ Net-_C2-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R14 Net-_Q15-Pad3_ Net-_C4-Pad2_ 4k
+Q15 Net-_Q14-Pad3_ Net-_Q14-Pad3_ Net-_Q15-Pad3_ eSim_NPN
+Q18 Net-_C4-Pad2_ Net-_C2-Pad1_ Net-_Q18-Pad3_ eSim_PNP
+R21 Net-_C4-Pad2_ Net-_Q13-Pad2_ 2.67k
+C3 Net-_C3-Pad1_ GND 0.01uF
+C4 Net-_C4-Pad1_ Net-_C4-Pad2_ 0.01uF
+U3 Net-_C3-Pad1_ Net-_C4-Pad1_ Net-_C4-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out
new file mode 100644
index 00000000..2c66171e
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.cir.out
@@ -0,0 +1,66 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm140k_sub\lm140k_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+r1 net-_c3-pad1_ net-_q1-pad2_ 80k
+q1 net-_c3-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r2 net-_q1-pad3_ net-_q3-pad2_ 7k
+* u1 net-_c4-pad2_ net-_q1-pad2_ zener
+r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k
+r4 net-_q2-pad2_ net-_c4-pad2_ 830
+q4 net-_q3-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q8 net-_q12-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q13-pad2_ net-_q6-pad3_ Q2N2222
+r5 net-_q3-pad3_ net-_q6-pad3_ 500
+r7 net-_q6-pad3_ net-_q7-pad2_ 1.9k
+q7 net-_q6-pad3_ net-_q7-pad2_ net-_c1-pad2_ Q2N2222
+r9 net-_q10-pad3_ net-_c4-pad2_ 12.1k
+c1 net-_c1-pad1_ net-_c1-pad2_ 4pf
+r6 net-_c1-pad2_ net-_c4-pad2_ 1.2k
+q2 net-_q12-pad1_ net-_q2-pad2_ net-_c4-pad2_ Q2N2222
+r8 net-_q7-pad2_ net-_c1-pad1_ 26
+q9 net-_c1-pad1_ net-_c1-pad2_ net-_c4-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_r13-pad2_ zener
+r13 net-_c3-pad1_ net-_r13-pad2_ 16k
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+r12 net-_q11-pad3_ net-_c4-pad2_ 1k
+q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222
+r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222
+r10 net-_q12-pad3_ net-_c4-pad1_ 100
+r15 net-_q19-pad3_ net-_q12-pad2_ 380
+q17 net-_c3-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222
+q19 net-_c3-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222
+r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k
+r19 net-_c4-pad1_ net-_q19-pad3_ 0.25
+r20 net-_q13-pad2_ net-_c4-pad1_ 1.39k
+r16 net-_q12-pad1_ net-_q18-pad3_ 850
+r17 net-_q18-pad3_ net-_c2-pad1_ 4k
+q16 net-_c2-pad1_ net-_q14-pad3_ net-_c4-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222
+r14 net-_q15-pad3_ net-_c4-pad2_ 4k
+q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222
+q18 net-_c4-pad2_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A
+r21 net-_c4-pad2_ net-_q13-pad2_ 2.67k
+c3 net-_c3-pad1_ gnd 0.01uf
+c4 net-_c4-pad1_ net-_c4-pad2_ 0.01uf
+* u3 net-_c3-pad1_ net-_c4-pad1_ net-_c4-pad2_ port
+a1 net-_c4-pad2_ net-_q1-pad2_ u1
+a2 net-_q12-pad2_ net-_r13-pad2_ u2
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 0.01e-00 0.1e-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/LM140K_Sub/LM140k_SUB.pro b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch
new file mode 100644
index 00000000..9ab6657e
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sch
@@ -0,0 +1,879 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM140k_SUB-cache
+LIBS:LM140k-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 11827
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R1
+U 1 1 66D35F60
+P 3450 3750
+F 0 "R1" H 3500 3880 50 0000 C CNN
+F 1 "80K" H 3500 3700 50 0000 C CNN
+F 2 "" H 3500 3730 30 0000 C CNN
+F 3 "" V 3500 3800 30 0000 C CNN
+ 1 3450 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 66D35F61
+P 3800 4400
+F 0 "Q1" H 3700 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 4550 50 0000 R CNN
+F 2 "" H 4000 4500 29 0000 C CNN
+F 3 "" H 3800 4400 60 0000 C CNN
+ 1 3800 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66D35F62
+P 3750 5200
+F 0 "R2" H 3800 5330 50 0000 C CNN
+F 1 "7K" H 3800 5150 50 0000 C CNN
+F 2 "" H 3800 5180 30 0000 C CNN
+F 3 "" V 3800 5250 30 0000 C CNN
+ 1 3750 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66D35F63
+P 3500 6600
+F 0 "U1" H 3450 6500 60 0000 C CNN
+F 1 "zener" H 3500 6700 60 0000 C CNN
+F 2 "" H 3550 6600 60 0000 C CNN
+F 3 "" H 3550 6600 60 0000 C CNN
+ 1 3500 6600
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66D35F64
+P 3750 7100
+F 0 "R3" H 3800 7230 50 0000 C CNN
+F 1 "4.97k" H 3800 7050 50 0000 C CNN
+F 2 "" H 3800 7080 30 0000 C CNN
+F 3 "" V 3800 7150 30 0000 C CNN
+ 1 3750 7100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66D35F65
+P 3750 7800
+F 0 "R4" H 3800 7930 50 0000 C CNN
+F 1 "830" H 3800 7750 50 0000 C CNN
+F 2 "" H 3800 7780 30 0000 C CNN
+F 3 "" V 3800 7850 30 0000 C CNN
+ 1 3750 7800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 66D35F66
+P 5350 2850
+F 0 "Q4" H 5250 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 5300 3000 50 0000 R CNN
+F 2 "" H 5550 2950 29 0000 C CNN
+F 3 "" H 5350 2850 60 0000 C CNN
+ 1 5350 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 66D35F67
+P 5950 2850
+F 0 "Q8" H 5850 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 5900 3000 50 0000 R CNN
+F 2 "" H 6150 2950 29 0000 C CNN
+F 3 "" H 5950 2850 60 0000 C CNN
+ 1 5950 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 66D35F68
+P 5350 4850
+F 0 "Q5" H 5250 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 5000 50 0000 R CNN
+F 2 "" H 5550 4950 29 0000 C CNN
+F 3 "" H 5350 4850 60 0000 C CNN
+ 1 5350 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66D35F69
+P 5000 5700
+F 0 "Q3" H 4900 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 5850 50 0000 R CNN
+F 2 "" H 5200 5800 29 0000 C CNN
+F 3 "" H 5000 5700 60 0000 C CNN
+ 1 5000 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66D35F6A
+P 5800 5700
+F 0 "Q6" H 5700 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 5750 5850 50 0000 R CNN
+F 2 "" H 6000 5800 29 0000 C CNN
+F 3 "" H 5800 5700 60 0000 C CNN
+ 1 5800 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 66D35F6B
+P 5050 6250
+F 0 "R5" H 5100 6380 50 0000 C CNN
+F 1 "500" H 5100 6200 50 0000 C CNN
+F 2 "" H 5100 6230 30 0000 C CNN
+F 3 "" V 5100 6300 30 0000 C CNN
+ 1 5050 6250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 66D35F6C
+P 6500 6600
+F 0 "R7" H 6550 6730 50 0000 C CNN
+F 1 "1.9k" H 6550 6550 50 0000 C CNN
+F 2 "" H 6550 6580 30 0000 C CNN
+F 3 "" V 6550 6650 30 0000 C CNN
+ 1 6500 6600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 66D35F6D
+P 5800 7000
+F 0 "Q7" H 5700 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 5750 7150 50 0000 R CNN
+F 2 "" H 6000 7100 29 0000 C CNN
+F 3 "" H 5800 7000 60 0000 C CNN
+ 1 5800 7000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 66D35F6E
+P 7350 8400
+F 0 "R9" H 7400 8530 50 0000 C CNN
+F 1 "12.1k" H 7400 8350 50 0000 C CNN
+F 2 "" H 7400 8380 30 0000 C CNN
+F 3 "" V 7400 8450 30 0000 C CNN
+ 1 7350 8400
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 66D35F6F
+P 6200 7550
+F 0 "C1" H 6225 7650 50 0000 L CNN
+F 1 "4pF" H 6225 7450 50 0000 L CNN
+F 2 "" H 6238 7400 30 0000 C CNN
+F 3 "" H 6200 7550 60 0000 C CNN
+ 1 6200 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66D35F70
+P 5650 8100
+F 0 "R6" H 5700 8230 50 0000 C CNN
+F 1 "1.2k" H 5700 8050 50 0000 C CNN
+F 2 "" H 5700 8080 30 0000 C CNN
+F 3 "" V 5700 8150 30 0000 C CNN
+ 1 5650 8100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 66D35F71
+P 4300 7600
+F 0 "Q2" H 4200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 7750 50 0000 R CNN
+F 2 "" H 4500 7700 29 0000 C CNN
+F 3 "" H 4300 7600 60 0000 C CNN
+ 1 4300 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 66D35F72
+P 6500 7250
+F 0 "R8" H 6550 7380 50 0000 C CNN
+F 1 "26" H 6550 7200 50 0000 C CNN
+F 2 "" H 6550 7230 30 0000 C CNN
+F 3 "" V 6550 7300 30 0000 C CNN
+ 1 6500 7250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 66D35F73
+P 6450 7950
+F 0 "Q9" H 6350 8000 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 8100 50 0000 R CNN
+F 2 "" H 6650 8050 29 0000 C CNN
+F 3 "" H 6450 7950 60 0000 C CNN
+ 1 6450 7950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 66D35F74
+P 7300 7550
+F 0 "Q10" H 7200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 7700 50 0000 R CNN
+F 2 "" H 7500 7650 29 0000 C CNN
+F 3 "" H 7300 7550 60 0000 C CNN
+ 1 7300 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U2
+U 1 1 66D35F75
+P 8800 4150
+F 0 "U2" H 8750 4050 60 0000 C CNN
+F 1 "zener" H 8800 4250 60 0000 C CNN
+F 2 "" H 8850 4150 60 0000 C CNN
+F 3 "" H 8850 4150 60 0000 C CNN
+ 1 8800 4150
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 66D35F76
+P 8750 3500
+F 0 "R13" H 8800 3630 50 0000 C CNN
+F 1 "16k" H 8800 3450 50 0000 C CNN
+F 2 "" H 8800 3480 30 0000 C CNN
+F 3 "" V 8800 3550 30 0000 C CNN
+ 1 8750 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 66D35F77
+P 8150 5700
+F 0 "Q13" H 8050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 5850 50 0000 R CNN
+F 2 "" H 8350 5800 29 0000 C CNN
+F 3 "" H 8150 5700 60 0000 C CNN
+ 1 8150 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 66D35F78
+P 8000 8450
+F 0 "R12" H 8050 8580 50 0000 C CNN
+F 1 "1k" H 8050 8400 50 0000 C CNN
+F 2 "" H 8050 8430 30 0000 C CNN
+F 3 "" V 8050 8500 30 0000 C CNN
+ 1 8000 8450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66D35F79
+P 7950 7800
+F 0 "Q11" H 7850 7850 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7950 50 0000 R CNN
+F 2 "" H 8150 7900 29 0000 C CNN
+F 3 "" H 7950 7800 60 0000 C CNN
+ 1 7950 7800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 66D35F7A
+P 8000 6300
+F 0 "R11" H 8050 6430 50 0000 C CNN
+F 1 "16.5k" H 8050 6250 50 0000 C CNN
+F 2 "" H 8050 6280 30 0000 C CNN
+F 3 "" V 8050 6350 30 0000 C CNN
+ 1 8000 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 66D35F7B
+P 8150 4600
+F 0 "Q12" H 8050 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 4750 50 0000 R CNN
+F 2 "" H 8350 4700 29 0000 C CNN
+F 3 "" H 8150 4600 60 0000 C CNN
+ 1 8150 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 66D35F7C
+P 8000 5050
+F 0 "R10" H 8050 5180 50 0000 C CNN
+F 1 "100" H 8050 5000 50 0000 C CNN
+F 2 "" H 8050 5030 30 0000 C CNN
+F 3 "" V 8050 5100 30 0000 C CNN
+ 1 8000 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 66D35F7D
+P 9200 4550
+F 0 "R15" H 9250 4680 50 0000 C CNN
+F 1 "380" H 9250 4500 50 0000 C CNN
+F 2 "" H 9250 4530 30 0000 C CNN
+F 3 "" V 9250 4600 30 0000 C CNN
+ 1 9200 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 66D35F7E
+P 9800 3100
+F 0 "Q17" H 9700 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 9750 3250 50 0000 R CNN
+F 2 "" H 10000 3200 29 0000 C CNN
+F 3 "" H 9800 3100 60 0000 C CNN
+ 1 9800 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 66D35F7F
+P 10650 3400
+F 0 "Q19" H 10550 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 10600 3550 50 0000 R CNN
+F 2 "" H 10850 3500 29 0000 C CNN
+F 3 "" H 10650 3400 60 0000 C CNN
+ 1 10650 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 66D35F80
+P 10100 3900
+F 0 "R18" H 10150 4030 50 0000 C CNN
+F 1 "1.62k" H 10150 3850 50 0000 C CNN
+F 2 "" H 10150 3880 30 0000 C CNN
+F 3 "" V 10150 3950 30 0000 C CNN
+ 1 10100 3900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 66D35F81
+P 10800 5000
+F 0 "R19" H 10850 5130 50 0000 C CNN
+F 1 "0.25" H 10850 4950 50 0000 C CNN
+F 2 "" H 10850 4980 30 0000 C CNN
+F 3 "" V 10850 5050 30 0000 C CNN
+ 1 10800 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R20
+U 1 1 66D35F82
+P 10800 5550
+F 0 "R20" H 10850 5680 50 0000 C CNN
+F 1 "1.39k" H 10850 5500 50 0000 C CNN
+F 2 "" H 10850 5530 30 0000 C CNN
+F 3 "" V 10850 5600 30 0000 C CNN
+ 1 10800 5550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 66D35F83
+P 9400 6150
+F 0 "R16" H 9450 6280 50 0000 C CNN
+F 1 "850" H 9450 6100 50 0000 C CNN
+F 2 "" H 9450 6130 30 0000 C CNN
+F 3 "" V 9450 6200 30 0000 C CNN
+ 1 9400 6150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 66D35F84
+P 9400 6650
+F 0 "R17" H 9450 6780 50 0000 C CNN
+F 1 "4k" H 9450 6600 50 0000 C CNN
+F 2 "" H 9450 6630 30 0000 C CNN
+F 3 "" V 9450 6700 30 0000 C CNN
+ 1 9400 6650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66D35F85
+P 9350 7750
+F 0 "Q16" H 9250 7800 50 0000 R CNN
+F 1 "eSim_NPN" H 9300 7900 50 0000 R CNN
+F 2 "" H 9550 7850 29 0000 C CNN
+F 3 "" H 9350 7750 60 0000 C CNN
+ 1 9350 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 66D35F86
+P 8550 6950
+F 0 "C2" H 8575 7050 50 0000 L CNN
+F 1 "20pF" H 8575 6850 50 0000 L CNN
+F 2 "" H 8588 6800 30 0000 C CNN
+F 3 "" H 8550 6950 60 0000 C CNN
+ 1 8550 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 66D35F87
+P 8750 7450
+F 0 "Q14" H 8650 7500 50 0000 R CNN
+F 1 "eSim_NPN" H 8700 7600 50 0000 R CNN
+F 2 "" H 8950 7550 29 0000 C CNN
+F 3 "" H 8750 7450 60 0000 C CNN
+ 1 8750 7450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66D35F88
+P 8800 8600
+F 0 "R14" H 8850 8730 50 0000 C CNN
+F 1 "4k" H 8850 8550 50 0000 C CNN
+F 2 "" H 8850 8580 30 0000 C CNN
+F 3 "" V 8850 8650 30 0000 C CNN
+ 1 8800 8600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 66D35F89
+P 8950 8150
+F 0 "Q15" H 8850 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 8900 8300 50 0000 R CNN
+F 2 "" H 9150 8250 29 0000 C CNN
+F 3 "" H 8950 8150 60 0000 C CNN
+ 1 8950 8150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 66D35F8A
+P 9950 6950
+F 0 "Q18" H 9850 7000 50 0000 R CNN
+F 1 "eSim_PNP" H 9900 7100 50 0000 R CNN
+F 2 "" H 10150 7050 29 0000 C CNN
+F 3 "" H 9950 6950 60 0000 C CNN
+ 1 9950 6950
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 66D35F8B
+P 10800 7300
+F 0 "R21" H 10850 7430 50 0000 C CNN
+F 1 "2.67k" H 10850 7250 50 0000 C CNN
+F 2 "" H 10850 7280 30 0000 C CNN
+F 3 "" V 10850 7350 30 0000 C CNN
+ 1 10800 7300
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 3500 2300 3500 3650
+Wire Wire Line
+ 5450 3050 5450 4650
+Wire Wire Line
+ 3800 5100 3800 4600
+Wire Wire Line
+ 3800 2300 3800 4200
+Wire Wire Line
+ 3500 3950 3500 6300
+Wire Wire Line
+ 3800 5400 3800 7000
+Wire Wire Line
+ 3800 7300 3800 7700
+Wire Wire Line
+ 3500 6800 3500 8950
+Wire Wire Line
+ 3800 8000 3800 8950
+Wire Wire Line
+ 4100 7600 3800 7600
+Connection ~ 3800 7600
+Wire Wire Line
+ 4400 4500 4400 7400
+Wire Wire Line
+ 5450 4600 5100 4600
+Wire Wire Line
+ 5100 4600 5100 5500
+Connection ~ 5450 4600
+Wire Wire Line
+ 5450 5050 5450 5300
+Wire Wire Line
+ 5450 5300 5700 5300
+Wire Wire Line
+ 5700 5300 5700 5500
+Wire Wire Line
+ 5700 5900 5700 6800
+Wire Wire Line
+ 5700 7200 5700 8000
+Wire Wire Line
+ 6000 7000 6550 7000
+Wire Wire Line
+ 5100 5900 5100 6150
+Wire Wire Line
+ 5100 6450 5100 6500
+Wire Wire Line
+ 5100 6500 6300 6500
+Wire Wire Line
+ 6300 6500 6300 6350
+Wire Wire Line
+ 6300 6350 6550 6350
+Wire Wire Line
+ 6550 6350 6550 6500
+Wire Wire Line
+ 6550 6800 6550 7150
+Connection ~ 6550 7000
+Wire Wire Line
+ 6550 7450 6550 7750
+Wire Wire Line
+ 6550 8150 6550 8950
+Wire Wire Line
+ 6350 7550 7100 7550
+Connection ~ 6550 7550
+Wire Wire Line
+ 6050 7550 5700 7550
+Connection ~ 5700 7550
+Wire Wire Line
+ 5700 8300 5700 8950
+Wire Wire Line
+ 6250 7950 5700 7950
+Connection ~ 5700 7950
+Wire Wire Line
+ 4800 5700 3800 5700
+Connection ~ 3800 5700
+Wire Wire Line
+ 7400 7750 7400 8300
+Wire Wire Line
+ 7400 8600 7400 8950
+Wire Wire Line
+ 8050 8650 8050 8950
+Wire Wire Line
+ 8050 8000 8050 8350
+Wire Wire Line
+ 7750 7800 7400 7800
+Connection ~ 7400 7800
+Wire Wire Line
+ 8050 5900 8050 6200
+Wire Wire Line
+ 8050 6500 8050 7600
+Wire Wire Line
+ 8050 5250 8050 5300
+Wire Wire Line
+ 8050 5300 11500 5300
+Wire Wire Line
+ 8050 5500 8050 5400
+Wire Wire Line
+ 8050 5400 10400 5400
+Wire Wire Line
+ 8050 3100 8050 4400
+Wire Wire Line
+ 8050 4950 8050 4800
+Wire Wire Line
+ 8800 4350 8800 4600
+Connection ~ 8800 4600
+Wire Wire Line
+ 8350 4600 9000 4600
+Wire Wire Line
+ 8800 3850 8800 3700
+Wire Wire Line
+ 8800 2300 8800 3400
+Connection ~ 8050 3100
+Wire Wire Line
+ 5000 2850 5000 3450
+Connection ~ 5450 3450
+Wire Wire Line
+ 4400 4500 6250 4500
+Wire Wire Line
+ 6050 3050 6050 3100
+Wire Wire Line
+ 6050 3100 9600 3100
+Wire Wire Line
+ 6250 4500 6250 3100
+Connection ~ 6250 3100
+Wire Wire Line
+ 3500 2300 11500 2300
+Wire Wire Line
+ 9900 2300 9900 2900
+Connection ~ 8800 2300
+Wire Wire Line
+ 9900 3300 9900 3400
+Wire Wire Line
+ 9900 3400 10450 3400
+Wire Wire Line
+ 8800 4450 10150 4450
+Wire Wire Line
+ 10150 4450 10150 4100
+Connection ~ 8800 4450
+Wire Wire Line
+ 10150 3800 10150 3400
+Connection ~ 10150 3400
+Wire Wire Line
+ 9300 4600 10750 4600
+Wire Wire Line
+ 10400 5400 10400 3400
+Connection ~ 10400 3400
+Wire Wire Line
+ 10750 2300 10750 3200
+Connection ~ 9900 2300
+Connection ~ 10750 4600
+Connection ~ 9450 3100
+Wire Wire Line
+ 10750 4800 10750 3600
+Wire Wire Line
+ 10750 5100 10750 5350
+Connection ~ 10750 5300
+Wire Wire Line
+ 10750 5650 10750 7100
+Connection ~ 10750 5700
+Wire Wire Line
+ 7400 7350 7400 6000
+Wire Wire Line
+ 7400 6000 8050 6000
+Connection ~ 8050 6000
+Wire Wire Line
+ 9450 6550 9450 6350
+Wire Wire Line
+ 9450 3100 9450 6050
+Wire Wire Line
+ 9450 6850 9450 7550
+Wire Wire Line
+ 8700 6950 9750 6950
+Connection ~ 9450 6950
+Wire Wire Line
+ 8400 6950 8050 6950
+Connection ~ 8050 6950
+Wire Wire Line
+ 8850 7250 8850 6950
+Connection ~ 8850 6950
+Wire Wire Line
+ 8550 7450 8050 7450
+Connection ~ 8050 7450
+Wire Wire Line
+ 8850 7650 8850 7950
+Wire Wire Line
+ 8850 8350 8850 8500
+Wire Wire Line
+ 3500 8950 10950 8950
+Connection ~ 6550 8950
+Connection ~ 7400 8950
+Connection ~ 8050 8950
+Wire Wire Line
+ 8850 7850 9250 7850
+Wire Wire Line
+ 9250 7850 9250 8150
+Wire Wire Line
+ 9250 8150 9150 8150
+Connection ~ 8850 7850
+Wire Wire Line
+ 9150 7750 8850 7750
+Connection ~ 8850 7750
+Wire Wire Line
+ 8850 8950 8850 8800
+Wire Wire Line
+ 9450 8950 9450 7950
+Connection ~ 8850 8950
+Wire Wire Line
+ 10050 6750 10050 6450
+Wire Wire Line
+ 10050 6450 9450 6450
+Connection ~ 9450 6450
+Wire Wire Line
+ 10050 8950 10050 7150
+Connection ~ 9450 8950
+Wire Wire Line
+ 10750 8950 10750 7400
+Connection ~ 10050 8950
+Connection ~ 5700 8950
+Connection ~ 3800 8950
+Wire Wire Line
+ 4400 7800 4400 8950
+Connection ~ 4400 8950
+Connection ~ 5750 2300
+Connection ~ 3800 2300
+Connection ~ 10750 8950
+Wire Wire Line
+ 11500 2300 11500 2450
+Connection ~ 10750 2300
+Wire Wire Line
+ 5150 4850 3800 4850
+Connection ~ 3800 4850
+Connection ~ 5700 6500
+Connection ~ 3500 4400
+Wire Wire Line
+ 6000 5700 10750 5700
+Wire Wire Line
+ 5150 2850 5000 2850
+Wire Wire Line
+ 5100 2850 5750 2850
+Wire Wire Line
+ 5450 2650 5450 2500
+Wire Wire Line
+ 5450 2500 6050 2500
+Wire Wire Line
+ 6050 2500 6050 2650
+Wire Wire Line
+ 5750 2500 5750 2300
+Connection ~ 5750 2500
+Connection ~ 8350 5700
+Connection ~ 5100 2850
+Wire Wire Line
+ 5000 3450 5450 3450
+Wire Wire Line
+ 3800 4200 3900 4200
+Wire Wire Line
+ 3800 4600 3900 4600
+Wire Wire Line
+ 3600 4400 3500 4400
+$Comp
+L capacitor C3
+U 1 1 66D35F90
+P 11050 2600
+F 0 "C3" H 11075 2700 50 0000 L CNN
+F 1 "0.01uF" H 11075 2500 50 0000 L CNN
+F 2 "" H 11088 2450 30 0000 C CNN
+F 3 "" H 11050 2600 60 0000 C CNN
+ 1 11050 2600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11050 2450 11050 2300
+Connection ~ 11050 2300
+$Comp
+L eSim_GND #PWR1
+U 1 1 66D35F91
+P 11050 3050
+F 0 "#PWR1" H 11050 2800 50 0001 C CNN
+F 1 "eSim_GND" H 11050 2900 50 0000 C CNN
+F 2 "" H 11050 3050 50 0001 C CNN
+F 3 "" H 11050 3050 50 0001 C CNN
+ 1 11050 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11050 3050 11050 2750
+$Comp
+L capacitor C4
+U 1 1 66D35F92
+P 11200 6300
+F 0 "C4" H 11225 6400 50 0000 L CNN
+F 1 "0.01uF" H 11225 6200 50 0000 L CNN
+F 2 "" H 11238 6150 30 0000 C CNN
+F 3 "" H 11200 6300 60 0000 C CNN
+ 1 11200 6300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 11200 6150 11200 5300
+Connection ~ 11200 5300
+Wire Wire Line
+ 11200 6450 11200 8350
+Wire Wire Line
+ 11200 8350 10850 8350
+Wire Wire Line
+ 10850 8350 10850 8950
+Connection ~ 10850 8950
+$Comp
+L PORT U3
+U 2 1 66D3811B
+P 11750 5300
+F 0 "U3" H 11800 5400 30 0000 C CNN
+F 1 "PORT" H 11750 5300 30 0000 C CNN
+F 2 "" H 11750 5300 60 0000 C CNN
+F 3 "" H 11750 5300 60 0000 C CNN
+ 2 11750 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U3
+U 3 1 66D381E3
+P 11200 8950
+F 0 "U3" H 11250 9050 30 0000 C CNN
+F 1 "PORT" H 11200 8950 30 0000 C CNN
+F 2 "" H 11200 8950 60 0000 C CNN
+F 3 "" H 11200 8950 60 0000 C CNN
+ 3 11200 8950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U3
+U 1 1 66D3831E
+P 11750 2450
+F 0 "U3" H 11800 2550 30 0000 C CNN
+F 1 "PORT" H 11750 2450 30 0000 C CNN
+F 2 "" H 11750 2450 60 0000 C CNN
+F 3 "" H 11750 2450 60 0000 C CNN
+ 1 11750 2450
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub
new file mode 100644
index 00000000..e6bb6d76
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB.sub
@@ -0,0 +1,60 @@
+* Subcircuit LM140k_SUB
+.subckt LM140k_SUB net-_c3-pad1_ net-_c4-pad1_ net-_c4-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm140k_sub\lm140k_sub.cir
+.include PNP.lib
+.include NPN.lib
+r1 net-_c3-pad1_ net-_q1-pad2_ 80k
+q1 net-_c3-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r2 net-_q1-pad3_ net-_q3-pad2_ 7k
+* u1 net-_c4-pad2_ net-_q1-pad2_ zener
+r3 net-_q3-pad2_ net-_q2-pad2_ 4.97k
+r4 net-_q2-pad2_ net-_c4-pad2_ 830
+q4 net-_q3-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q8 net-_q12-pad1_ net-_q3-pad1_ net-_c3-pad1_ Q2N2907A
+q5 net-_q3-pad1_ net-_q1-pad3_ net-_q5-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q13-pad2_ net-_q6-pad3_ Q2N2222
+r5 net-_q3-pad3_ net-_q6-pad3_ 500
+r7 net-_q6-pad3_ net-_q7-pad2_ 1.9k
+q7 net-_q6-pad3_ net-_q7-pad2_ net-_c1-pad2_ Q2N2222
+r9 net-_q10-pad3_ net-_c4-pad2_ 12.1k
+c1 net-_c1-pad1_ net-_c1-pad2_ 4pf
+r6 net-_c1-pad2_ net-_c4-pad2_ 1.2k
+q2 net-_q12-pad1_ net-_q2-pad2_ net-_c4-pad2_ Q2N2222
+r8 net-_q7-pad2_ net-_c1-pad1_ 26
+q9 net-_c1-pad1_ net-_c1-pad2_ net-_c4-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_c1-pad1_ net-_q10-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_r13-pad2_ zener
+r13 net-_c3-pad1_ net-_r13-pad2_ 16k
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q10-pad1_ Q2N2222
+r12 net-_q11-pad3_ net-_c4-pad2_ 1k
+q11 net-_c2-pad2_ net-_q10-pad3_ net-_q11-pad3_ Q2N2222
+r11 net-_q10-pad1_ net-_c2-pad2_ 16.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q12-pad3_ Q2N2222
+r10 net-_q12-pad3_ net-_c4-pad1_ 100
+r15 net-_q19-pad3_ net-_q12-pad2_ 380
+q17 net-_c3-pad1_ net-_q12-pad1_ net-_q13-pad1_ Q2N2222
+q19 net-_c3-pad1_ net-_q13-pad1_ net-_q19-pad3_ Q2N2222
+r18 net-_q13-pad1_ net-_q12-pad2_ 1.62k
+r19 net-_c4-pad1_ net-_q19-pad3_ 0.25
+r20 net-_q13-pad2_ net-_c4-pad1_ 1.39k
+r16 net-_q12-pad1_ net-_q18-pad3_ 850
+r17 net-_q18-pad3_ net-_c2-pad1_ 4k
+q16 net-_c2-pad1_ net-_q14-pad3_ net-_c4-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+q14 net-_c2-pad1_ net-_c2-pad2_ net-_q14-pad3_ Q2N2222
+r14 net-_q15-pad3_ net-_c4-pad2_ 4k
+q15 net-_q14-pad3_ net-_q14-pad3_ net-_q15-pad3_ Q2N2222
+q18 net-_c4-pad2_ net-_c2-pad1_ net-_q18-pad3_ Q2N2907A
+r21 net-_c4-pad2_ net-_q13-pad2_ 2.67k
+c3 net-_c3-pad1_ gnd 0.01uf
+c4 net-_c4-pad1_ net-_c4-pad2_ 0.01uf
+a1 net-_c4-pad2_ net-_q1-pad2_ u1
+a2 net-_q12-pad2_ net-_r13-pad2_ u2
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 LM140k_SUB \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml
new file mode 100644
index 00000000..54f5c0f2
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/LM140k_SUB_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 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></u1><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><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LM140K_Sub/NPN.lib b/library/SubcircuitLibrary/LM140K_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/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/LM140K_Sub/PNP.lib b/library/SubcircuitLibrary/LM140K_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/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/LM140K_Sub/analysis b/library/SubcircuitLibrary/LM140K_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140K_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM160_Sub/D.lib b/library/SubcircuitLibrary/LM160_Sub/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/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/LM160_Sub/LM160-cache.lib b/library/SubcircuitLibrary/LM160_Sub/LM160-cache.lib
new file mode 100644
index 00000000..bfc9a8eb
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160-cache.lib
@@ -0,0 +1,137 @@
+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_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+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_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/LM160_Sub/LM160.cir b/library/SubcircuitLibrary/LM160_Sub/LM160.cir
new file mode 100644
index 00000000..d77c718a
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160.cir
@@ -0,0 +1,62 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM160\LM160.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/03/24 23:07:48
+
+* 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: /
+R4 Net-_Q6-Pad1_ Net-_Q13-Pad3_ 1k
+R8 Net-_Q6-Pad1_ Net-_Q13-Pad2_ 4k
+R9 Net-_Q6-Pad1_ Net-_Q14-Pad3_ 1.4k
+R13 Net-_Q6-Pad1_ Net-_Q18-Pad1_ 85
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q13-Pad3_ eSim_NPN
+Q17 Net-_Q14-Pad3_ Net-_Q13-Pad1_ Net-_D1-Pad1_ eSim_NPN
+Q14 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+Q15 Net-_Q14-Pad3_ Net-_Q13-Pad1_ Net-_Q15-Pad3_ eSim_NPN
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q18 Net-_Q18-Pad1_ Net-_Q14-Pad3_ Net-_D1-Pad1_ eSim_NPN
+R10 Net-_Q15-Pad3_ Net-_Q21-Pad2_ 205
+R11 Net-_Q21-Pad2_ GND 800
+Q21 Net-_D1-Pad2_ Net-_Q21-Pad2_ GND eSim_NPN
+Q4 Net-_Q25-Pad1_ Net-_Q3-Pad1_ Net-_Q4-Pad3_ eSim_NPN
+U2 Net-_Q12-Pad2_ Net-_Q4-Pad3_ zener
+Q6 Net-_Q6-Pad1_ Net-_Q1-Pad1_ Net-_Q6-Pad3_ eSim_NPN
+U3 Net-_Q7-Pad1_ Net-_Q6-Pad3_ zener
+Q8 Net-_Q8-Pad1_ Net-_Q7-Pad1_ Net-_Q10-Pad1_ eSim_NPN
+R5 Net-_Q13-Pad3_ Net-_Q8-Pad1_ 1.3k
+Q9 Net-_Q13-Pad3_ Net-_Q8-Pad1_ GND eSim_NPN
+Q11 Net-_Q11-Pad1_ Net-_Q11-Pad2_ GND eSim_NPN
+Q12 Net-_Q11-Pad2_ Net-_Q12-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+R7 Net-_Q11-Pad1_ Net-_Q11-Pad2_ 1.3k
+R6 Net-_Q25-Pad1_ Net-_Q11-Pad1_ 1k
+R3 Net-_Q25-Pad1_ Net-_Q3-Pad1_ 1450
+Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+R1 Net-_Q25-Pad1_ Net-_Q1-Pad1_ 1450
+Q2 Net-_Q1-Pad3_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+R2 Net-_Q2-Pad3_ Net-_Q10-Pad3_ 400
+Q5 Net-_Q12-Pad2_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q7 Net-_Q7-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R12 Net-_Q25-Pad1_ Net-_Q16-Pad2_ 4k
+R14 Net-_Q25-Pad1_ Net-_Q19-Pad3_ 1.4k
+R17 Net-_Q25-Pad1_ Net-_Q23-Pad1_ 85
+Q16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_Q11-Pad1_ eSim_NPN
+Q22 Net-_Q19-Pad3_ Net-_Q16-Pad1_ Net-_D2-Pad1_ eSim_NPN
+Q19 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_Q19-Pad3_ eSim_NPN
+Q20 Net-_Q19-Pad3_ Net-_Q16-Pad1_ Net-_Q20-Pad3_ eSim_NPN
+D2 Net-_D2-Pad1_ Net-_D2-Pad2_ eSim_Diode
+Q23 Net-_Q23-Pad1_ Net-_Q19-Pad3_ Net-_D2-Pad1_ eSim_NPN
+R15 Net-_Q20-Pad3_ Net-_Q24-Pad2_ 205
+R16 Net-_Q24-Pad2_ GND 800
+Q24 Net-_D2-Pad2_ Net-_Q24-Pad2_ GND eSim_NPN
+Q25 Net-_Q25-Pad1_ Net-_Q25-Pad2_ Net-_Q25-Pad3_ eSim_NPN
+R18 Net-_Q25-Pad3_ Net-_Q2-Pad2_ 3.2k
+R19 Net-_Q2-Pad2_ Net-_Q10-Pad2_ 387
+R20 Net-_Q25-Pad1_ Net-_Q25-Pad2_ 5k
+U4 Net-_Q10-Pad3_ Net-_Q25-Pad2_ zener
+Q26 Net-_Q10-Pad2_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+U1 Net-_Q25-Pad1_ Net-_Q3-Pad2_ Net-_Q1-Pad2_ Net-_Q10-Pad3_ Net-_D1-Pad2_ GND Net-_D2-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160.cir.out b/library/SubcircuitLibrary/LM160_Sub/LM160.cir.out
new file mode 100644
index 00000000..0ee03bd3
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160.cir.out
@@ -0,0 +1,74 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm160\lm160.cir
+
+.include NPN.lib
+.include D.lib
+r4 net-_q6-pad1_ net-_q13-pad3_ 1k
+r8 net-_q6-pad1_ net-_q13-pad2_ 4k
+r9 net-_q6-pad1_ net-_q14-pad3_ 1.4k
+r13 net-_q6-pad1_ net-_q18-pad1_ 85
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+q17 net-_q14-pad3_ net-_q13-pad1_ net-_d1-pad1_ Q2N2222
+q14 net-_q13-pad1_ net-_q13-pad2_ net-_q14-pad3_ Q2N2222
+q15 net-_q14-pad3_ net-_q13-pad1_ net-_q15-pad3_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q18 net-_q18-pad1_ net-_q14-pad3_ net-_d1-pad1_ Q2N2222
+r10 net-_q15-pad3_ net-_q21-pad2_ 205
+r11 net-_q21-pad2_ gnd 800
+q21 net-_d1-pad2_ net-_q21-pad2_ gnd Q2N2222
+q4 net-_q25-pad1_ net-_q3-pad1_ net-_q4-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_q4-pad3_ zener
+q6 net-_q6-pad1_ net-_q1-pad1_ net-_q6-pad3_ Q2N2222
+* u3 net-_q7-pad1_ net-_q6-pad3_ zener
+q8 net-_q8-pad1_ net-_q7-pad1_ net-_q10-pad1_ Q2N2222
+r5 net-_q13-pad3_ net-_q8-pad1_ 1.3k
+q9 net-_q13-pad3_ net-_q8-pad1_ gnd Q2N2222
+q11 net-_q11-pad1_ net-_q11-pad2_ gnd Q2N2222
+q12 net-_q11-pad2_ net-_q12-pad2_ net-_q10-pad1_ Q2N2222
+r7 net-_q11-pad1_ net-_q11-pad2_ 1.3k
+r6 net-_q25-pad1_ net-_q11-pad1_ 1k
+r3 net-_q25-pad1_ net-_q3-pad1_ 1450
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q1-pad3_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r1 net-_q25-pad1_ net-_q1-pad1_ 1450
+q2 net-_q1-pad3_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r2 net-_q2-pad3_ net-_q10-pad3_ 400
+q5 net-_q12-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q7 net-_q7-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r12 net-_q25-pad1_ net-_q16-pad2_ 4k
+r14 net-_q25-pad1_ net-_q19-pad3_ 1.4k
+r17 net-_q25-pad1_ net-_q23-pad1_ 85
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_q11-pad1_ Q2N2222
+q22 net-_q19-pad3_ net-_q16-pad1_ net-_d2-pad1_ Q2N2222
+q19 net-_q16-pad1_ net-_q16-pad2_ net-_q19-pad3_ Q2N2222
+q20 net-_q19-pad3_ net-_q16-pad1_ net-_q20-pad3_ Q2N2222
+d2 net-_d2-pad1_ net-_d2-pad2_ 1N4148
+q23 net-_q23-pad1_ net-_q19-pad3_ net-_d2-pad1_ Q2N2222
+r15 net-_q20-pad3_ net-_q24-pad2_ 205
+r16 net-_q24-pad2_ gnd 800
+q24 net-_d2-pad2_ net-_q24-pad2_ gnd Q2N2222
+q25 net-_q25-pad1_ net-_q25-pad2_ net-_q25-pad3_ Q2N2222
+r18 net-_q25-pad3_ net-_q2-pad2_ 3.2k
+r19 net-_q2-pad2_ net-_q10-pad2_ 387
+r20 net-_q25-pad1_ net-_q25-pad2_ 5k
+* u4 net-_q10-pad3_ net-_q25-pad2_ zener
+q26 net-_q10-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+* u1 net-_q25-pad1_ net-_q3-pad2_ net-_q1-pad2_ net-_q10-pad3_ net-_d1-pad2_ gnd net-_d2-pad2_ port
+a1 net-_q12-pad2_ net-_q4-pad3_ u2
+a2 net-_q7-pad1_ net-_q6-pad3_ u3
+a3 net-_q10-pad3_ net-_q25-pad2_ u4
+* 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 )
+* 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 u4 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-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/LM160_Sub/LM160.pro b/library/SubcircuitLibrary/LM160_Sub/LM160.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160.sch b/library/SubcircuitLibrary/LM160_Sub/LM160.sch
new file mode 100644
index 00000000..d5ddc636
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160.sch
@@ -0,0 +1,1068 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM160-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 11827
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R4
+U 1 1 668585EA
+P 4200 1250
+F 0 "R4" H 4250 1380 50 0000 C CNN
+F 1 "1k" H 4250 1200 50 0000 C CNN
+F 2 "" H 4250 1230 30 0000 C CNN
+F 3 "" V 4250 1300 30 0000 C CNN
+ 1 4200 1250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 668585EB
+P 7050 1400
+F 0 "R8" H 7100 1530 50 0000 C CNN
+F 1 "4k" H 7100 1350 50 0000 C CNN
+F 2 "" H 7100 1380 30 0000 C CNN
+F 3 "" V 7100 1450 30 0000 C CNN
+ 1 7050 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 668585EC
+P 7650 1400
+F 0 "R9" H 7700 1530 50 0000 C CNN
+F 1 "1.4k" H 7700 1350 50 0000 C CNN
+F 2 "" H 7700 1380 30 0000 C CNN
+F 3 "" V 7700 1450 30 0000 C CNN
+ 1 7650 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 668585ED
+P 8250 1400
+F 0 "R13" H 8300 1530 50 0000 C CNN
+F 1 "85" H 8300 1350 50 0000 C CNN
+F 2 "" H 8300 1380 30 0000 C CNN
+F 3 "" V 8300 1450 30 0000 C CNN
+ 1 8250 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 668585EE
+P 6800 2150
+F 0 "Q13" H 6700 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 6750 2300 50 0000 R CNN
+F 2 "" H 7000 2250 29 0000 C CNN
+F 3 "" H 6800 2150 60 0000 C CNN
+ 1 6800 2150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 668585EF
+P 8050 2950
+F 0 "Q17" H 7950 3000 50 0000 R CNN
+F 1 "eSim_NPN" H 8000 3100 50 0000 R CNN
+F 2 "" H 8250 3050 29 0000 C CNN
+F 3 "" H 8050 2950 60 0000 C CNN
+ 1 8050 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 668585F0
+P 7400 2150
+F 0 "Q14" H 7300 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 7350 2300 50 0000 R CNN
+F 2 "" H 7600 2250 29 0000 C CNN
+F 3 "" H 7400 2150 60 0000 C CNN
+ 1 7400 2150
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 668585F1
+P 7400 2950
+F 0 "Q15" H 7300 3000 50 0000 R CNN
+F 1 "eSim_NPN" H 7350 3100 50 0000 R CNN
+F 2 "" H 7600 3050 29 0000 C CNN
+F 3 "" H 7400 2950 60 0000 C CNN
+ 1 7400 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 668585F2
+P 8500 3500
+F 0 "D1" H 8500 3600 50 0000 C CNN
+F 1 "eSim_Diode" H 8500 3400 50 0000 C CNN
+F 2 "" H 8500 3500 60 0000 C CNN
+F 3 "" H 8500 3500 60 0000 C CNN
+ 1 8500 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 668585F3
+P 8200 2250
+F 0 "Q18" H 8100 2300 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 2400 50 0000 R CNN
+F 2 "" H 8400 2350 29 0000 C CNN
+F 3 "" H 8200 2250 60 0000 C CNN
+ 1 8200 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 668585F4
+P 7650 3700
+F 0 "R10" H 7700 3830 50 0000 C CNN
+F 1 "205" H 7700 3650 50 0000 C CNN
+F 2 "" H 7700 3680 30 0000 C CNN
+F 3 "" V 7700 3750 30 0000 C CNN
+ 1 7650 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 668585F5
+P 7650 4400
+F 0 "R11" H 7700 4530 50 0000 C CNN
+F 1 "800" H 7700 4350 50 0000 C CNN
+F 2 "" H 7700 4380 30 0000 C CNN
+F 3 "" V 7700 4450 30 0000 C CNN
+ 1 7650 4400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 668585F6
+P 8400 4100
+F 0 "Q21" H 8300 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 4250 50 0000 R CNN
+F 2 "" H 8600 4200 29 0000 C CNN
+F 3 "" H 8400 4100 60 0000 C CNN
+ 1 8400 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 668585F7
+P 3450 5500
+F 0 "Q4" H 3350 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 3700 5700 50 0000 R CNN
+F 2 "" H 3650 5600 29 0000 C CNN
+F 3 "" H 3450 5500 60 0000 C CNN
+ 1 3450 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U2
+U 1 1 668585F8
+P 3550 6400
+F 0 "U2" H 3500 6300 60 0000 C CNN
+F 1 "zener" H 3550 6500 60 0000 C CNN
+F 2 "" H 3600 6400 60 0000 C CNN
+F 3 "" H 3600 6400 60 0000 C CNN
+ 1 3550 6400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 668585F9
+P 3800 5800
+F 0 "Q6" H 3700 5850 50 0000 R CNN
+F 1 "eSim_NPN" H 4050 5600 50 0000 R CNN
+F 2 "" H 4000 5900 29 0000 C CNN
+F 3 "" H 3800 5800 60 0000 C CNN
+ 1 3800 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U3
+U 1 1 668585FA
+P 3900 6400
+F 0 "U3" H 3850 6300 60 0000 C CNN
+F 1 "zener" H 3900 6500 60 0000 C CNN
+F 2 "" H 3950 6400 60 0000 C CNN
+F 3 "" H 3950 6400 60 0000 C CNN
+ 1 3900 6400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 668585FB
+P 4150 7050
+F 0 "Q8" H 4050 7100 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 7200 50 0000 R CNN
+F 2 "" H 4350 7150 29 0000 C CNN
+F 3 "" H 4150 7050 60 0000 C CNN
+ 1 4150 7050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 668585FC
+P 4200 6300
+F 0 "R5" H 4250 6430 50 0000 C CNN
+F 1 "1.3k" H 4250 6250 50 0000 C CNN
+F 2 "" H 4250 6280 30 0000 C CNN
+F 3 "" V 4250 6350 30 0000 C CNN
+ 1 4200 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 668585FD
+P 4650 6700
+F 0 "Q9" H 4550 6750 50 0000 R CNN
+F 1 "eSim_NPN" H 4600 6850 50 0000 R CNN
+F 2 "" H 4850 6800 29 0000 C CNN
+F 3 "" H 4650 6700 60 0000 C CNN
+ 1 4650 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 668585FE
+P 5200 6700
+F 0 "Q11" H 5100 6750 50 0000 R CNN
+F 1 "eSim_NPN" H 5150 6850 50 0000 R CNN
+F 2 "" H 5400 6800 29 0000 C CNN
+F 3 "" H 5200 6700 60 0000 C CNN
+ 1 5200 6700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 668585FF
+P 5900 7250
+F 0 "Q12" H 5800 7300 50 0000 R CNN
+F 1 "eSim_NPN" H 5850 7400 50 0000 R CNN
+F 2 "" H 6100 7350 29 0000 C CNN
+F 3 "" H 5900 7250 60 0000 C CNN
+ 1 5900 7250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 66858600
+P 5750 6300
+F 0 "R7" H 5800 6430 50 0000 C CNN
+F 1 "1.3k" H 5800 6250 50 0000 C CNN
+F 2 "" H 5800 6280 30 0000 C CNN
+F 3 "" V 5800 6350 30 0000 C CNN
+ 1 5750 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_GND #PWR1
+U 1 1 66858601
+P 4950 7250
+F 0 "#PWR1" H 4950 7000 50 0001 C CNN
+F 1 "eSim_GND" H 4950 7100 50 0000 C CNN
+F 2 "" H 4950 7250 50 0001 C CNN
+F 3 "" H 4950 7250 50 0001 C CNN
+ 1 4950 7250
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66858602
+P 5750 5500
+F 0 "R6" H 5800 5630 50 0000 C CNN
+F 1 "1k" H 5800 5450 50 0000 C CNN
+F 2 "" H 5800 5480 30 0000 C CNN
+F 3 "" V 5800 5550 30 0000 C CNN
+ 1 5750 5500
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66858603
+P 3000 5200
+F 0 "R3" H 3050 5350 50 0000 C CNN
+F 1 "1450" H 3050 5150 50 0000 C CNN
+F 2 "" H 3050 5180 30 0000 C CNN
+F 3 "" V 3050 5250 30 0000 C CNN
+ 1 3000 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66858604
+P 3150 6450
+F 0 "Q3" H 3050 6500 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 6600 50 0000 R CNN
+F 2 "" H 3350 6550 29 0000 C CNN
+F 3 "" H 3150 6450 60 0000 C CNN
+ 1 3150 6450
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 66858605
+P 2450 6500
+F 0 "Q1" H 2350 6550 50 0000 R CNN
+F 1 "eSim_NPN" H 2400 6650 50 0000 R CNN
+F 2 "" H 2650 6600 29 0000 C CNN
+F 3 "" H 2450 6500 60 0000 C CNN
+ 1 2450 6500
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66858606
+P 2500 5250
+F 0 "R1" H 2550 5380 50 0000 C CNN
+F 1 "1450" H 2550 5200 50 0000 C CNN
+F 2 "" H 2550 5230 30 0000 C CNN
+F 3 "" V 2550 5300 30 0000 C CNN
+ 1 2500 5250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 66858607
+P 3000 8300
+F 0 "Q2" H 2900 8350 50 0000 R CNN
+F 1 "eSim_NPN" H 2950 8450 50 0000 R CNN
+F 2 "" H 3200 8400 29 0000 C CNN
+F 3 "" H 3000 8300 60 0000 C CNN
+ 1 3000 8300
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66858608
+P 2850 9150
+F 0 "R2" H 2900 9280 50 0000 C CNN
+F 1 "400" H 2900 9100 50 0000 C CNN
+F 2 "" H 2900 9130 30 0000 C CNN
+F 3 "" V 2900 9200 30 0000 C CNN
+ 1 2850 9150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 66858609
+P 3650 9950
+F 0 "Q5" H 3550 10000 50 0000 R CNN
+F 1 "eSim_NPN" H 3600 10100 50 0000 R CNN
+F 2 "" H 3850 10050 29 0000 C CNN
+F 3 "" H 3650 9950 60 0000 C CNN
+ 1 3650 9950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6685860A
+P 4100 9950
+F 0 "Q7" H 4000 10000 50 0000 R CNN
+F 1 "eSim_NPN" H 4050 10100 50 0000 R CNN
+F 2 "" H 4300 10050 29 0000 C CNN
+F 3 "" H 4100 9950 60 0000 C CNN
+ 1 4100 9950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6685860B
+P 5000 9950
+F 0 "Q10" H 4900 10000 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 10100 50 0000 R CNN
+F 2 "" H 5200 10050 29 0000 C CNN
+F 3 "" H 5000 9950 60 0000 C CNN
+ 1 5000 9950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR2
+U 1 1 6685860C
+P 8500 4800
+F 0 "#PWR2" H 8500 4550 50 0001 C CNN
+F 1 "eSim_GND" H 8500 4650 50 0000 C CNN
+F 2 "" H 8500 4800 50 0001 C CNN
+F 3 "" H 8500 4800 50 0001 C CNN
+ 1 8500 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 6685860D
+P 8000 5450
+F 0 "R12" H 8050 5580 50 0000 C CNN
+F 1 "4k" H 8050 5400 50 0000 C CNN
+F 2 "" H 8050 5430 30 0000 C CNN
+F 3 "" V 8050 5500 30 0000 C CNN
+ 1 8000 5450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 6685860E
+P 8600 5450
+F 0 "R14" H 8650 5580 50 0000 C CNN
+F 1 "1.4k" H 8650 5400 50 0000 C CNN
+F 2 "" H 8650 5430 30 0000 C CNN
+F 3 "" V 8650 5500 30 0000 C CNN
+ 1 8600 5450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 6685860F
+P 9200 5450
+F 0 "R17" H 9250 5580 50 0000 C CNN
+F 1 "85" H 9250 5400 50 0000 C CNN
+F 2 "" H 9250 5430 30 0000 C CNN
+F 3 "" V 9250 5500 30 0000 C CNN
+ 1 9200 5450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66858610
+P 7750 6200
+F 0 "Q16" H 7650 6250 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 6350 50 0000 R CNN
+F 2 "" H 7950 6300 29 0000 C CNN
+F 3 "" H 7750 6200 60 0000 C CNN
+ 1 7750 6200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 66858611
+P 9000 7000
+F 0 "Q22" H 8900 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 8950 7150 50 0000 R CNN
+F 2 "" H 9200 7100 29 0000 C CNN
+F 3 "" H 9000 7000 60 0000 C CNN
+ 1 9000 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 66858612
+P 8350 6200
+F 0 "Q19" H 8250 6250 50 0000 R CNN
+F 1 "eSim_NPN" H 8300 6350 50 0000 R CNN
+F 2 "" H 8550 6300 29 0000 C CNN
+F 3 "" H 8350 6200 60 0000 C CNN
+ 1 8350 6200
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 66858613
+P 8350 7000
+F 0 "Q20" H 8250 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 8300 7150 50 0000 R CNN
+F 2 "" H 8550 7100 29 0000 C CNN
+F 3 "" H 8350 7000 60 0000 C CNN
+ 1 8350 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 66858614
+P 9450 7550
+F 0 "D2" H 9450 7650 50 0000 C CNN
+F 1 "eSim_Diode" H 9450 7450 50 0000 C CNN
+F 2 "" H 9450 7550 60 0000 C CNN
+F 3 "" H 9450 7550 60 0000 C CNN
+ 1 9450 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 66858615
+P 9150 6300
+F 0 "Q23" H 9050 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 9100 6450 50 0000 R CNN
+F 2 "" H 9350 6400 29 0000 C CNN
+F 3 "" H 9150 6300 60 0000 C CNN
+ 1 9150 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 66858616
+P 8600 7750
+F 0 "R15" H 8650 7880 50 0000 C CNN
+F 1 "205" H 8650 7700 50 0000 C CNN
+F 2 "" H 8650 7730 30 0000 C CNN
+F 3 "" V 8650 7800 30 0000 C CNN
+ 1 8600 7750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 66858617
+P 8600 8450
+F 0 "R16" H 8650 8580 50 0000 C CNN
+F 1 "800" H 8650 8400 50 0000 C CNN
+F 2 "" H 8650 8430 30 0000 C CNN
+F 3 "" V 8650 8500 30 0000 C CNN
+ 1 8600 8450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 66858618
+P 9350 8150
+F 0 "Q24" H 9250 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 9300 8300 50 0000 R CNN
+F 2 "" H 9550 8250 29 0000 C CNN
+F 3 "" H 9350 8150 60 0000 C CNN
+ 1 9350 8150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR3
+U 1 1 66858619
+P 9450 9150
+F 0 "#PWR3" H 9450 8900 50 0001 C CNN
+F 1 "eSim_GND" H 9450 9000 50 0000 C CNN
+F 2 "" H 9450 9150 50 0001 C CNN
+F 3 "" H 9450 9150 50 0001 C CNN
+ 1 9450 9150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 6685861A
+P 10350 8100
+F 0 "Q25" H 10250 8150 50 0000 R CNN
+F 1 "eSim_NPN" H 10300 8250 50 0000 R CNN
+F 2 "" H 10550 8200 29 0000 C CNN
+F 3 "" H 10350 8100 60 0000 C CNN
+ 1 10350 8100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 6685861B
+P 10200 8600
+F 0 "R18" H 10250 8730 50 0000 C CNN
+F 1 "3.2k" H 10250 8550 50 0000 C CNN
+F 2 "" H 10250 8580 30 0000 C CNN
+F 3 "" V 10250 8650 30 0000 C CNN
+ 1 10200 8600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 6685861C
+P 10200 9450
+F 0 "R19" H 10250 9580 50 0000 C CNN
+F 1 "387" H 10250 9400 50 0000 C CNN
+F 2 "" H 10250 9430 30 0000 C CNN
+F 3 "" V 10250 9500 30 0000 C CNN
+ 1 10200 9450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R20
+U 1 1 6685861D
+P 11150 5950
+F 0 "R20" H 11200 6080 50 0000 C CNN
+F 1 "5k" H 11200 5900 50 0000 C CNN
+F 2 "" H 11200 5930 30 0000 C CNN
+F 3 "" V 11200 6000 30 0000 C CNN
+ 1 11150 5950
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U4
+U 1 1 6685861E
+P 11250 9450
+F 0 "U4" H 11200 9350 60 0000 C CNN
+F 1 "zener" H 11250 9550 60 0000 C CNN
+F 2 "" H 11300 9450 60 0000 C CNN
+F 3 "" H 11300 9450 60 0000 C CNN
+ 1 11250 9450
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q26
+U 1 1 6685861F
+P 10350 10050
+F 0 "Q26" H 10250 10100 50 0000 R CNN
+F 1 "eSim_NPN" H 10300 10200 50 0000 R CNN
+F 2 "" H 10550 10150 29 0000 C CNN
+F 3 "" H 10350 10050 60 0000 C CNN
+ 1 10350 10050
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4250 1150 4250 1050
+Wire Wire Line
+ 3850 1050 8300 1050
+Wire Wire Line
+ 8300 1050 8300 1300
+Wire Wire Line
+ 7100 1300 7100 1050
+Connection ~ 7100 1050
+Wire Wire Line
+ 7700 1300 7700 1050
+Connection ~ 7700 1050
+Wire Wire Line
+ 4250 2250 6600 2250
+Wire Wire Line
+ 7150 2250 7200 2250
+Wire Wire Line
+ 7000 2250 7000 2650
+Wire Wire Line
+ 7000 2650 7150 2650
+Wire Wire Line
+ 7150 2650 7150 2250
+Wire Wire Line
+ 6800 1950 6800 1800
+Wire Wire Line
+ 6800 1800 7400 1800
+Wire Wire Line
+ 7400 1800 7400 1950
+Wire Wire Line
+ 7100 1600 7100 1800
+Connection ~ 7100 1800
+Wire Wire Line
+ 7700 1600 7700 2600
+Wire Wire Line
+ 7100 2650 7100 2950
+Connection ~ 7100 2650
+Wire Wire Line
+ 7500 2750 7500 2600
+Wire Wire Line
+ 7500 2600 8150 2600
+Wire Wire Line
+ 8150 2600 8150 2750
+Connection ~ 7700 2600
+Wire Wire Line
+ 7100 2950 7850 2950
+Connection ~ 7700 2250
+Connection ~ 7200 2950
+Wire Wire Line
+ 7500 3150 7700 3150
+Wire Wire Line
+ 7700 3150 7700 3600
+Wire Wire Line
+ 7700 3900 7700 4300
+Connection ~ 7700 4100
+Wire Wire Line
+ 8500 3650 8500 3900
+Wire Wire Line
+ 7700 4100 8200 4100
+Wire Wire Line
+ 7700 4600 7700 4700
+Wire Wire Line
+ 7700 4700 9000 4700
+Wire Wire Line
+ 8300 1600 8300 2050
+Wire Wire Line
+ 7600 2250 8000 2250
+Wire Wire Line
+ 8150 3150 8150 3250
+Wire Wire Line
+ 8150 3250 8500 3250
+Wire Wire Line
+ 8500 2800 8500 3350
+Wire Wire Line
+ 8300 2450 8300 2800
+Wire Wire Line
+ 8300 2800 8500 2800
+Connection ~ 8500 3250
+Connection ~ 8500 4700
+Connection ~ 4250 2250
+Wire Wire Line
+ 3850 1050 3850 5600
+Connection ~ 4250 1050
+Wire Wire Line
+ 3550 5700 3550 6100
+Wire Wire Line
+ 4250 1450 4250 6200
+Wire Wire Line
+ 3850 5600 3900 5600
+Wire Wire Line
+ 3900 6000 3900 6100
+Wire Wire Line
+ 4250 6500 4250 6850
+Wire Wire Line
+ 3950 7050 3900 7050
+Connection ~ 3900 7050
+Wire Wire Line
+ 4450 6700 4250 6700
+Connection ~ 4250 6700
+Wire Wire Line
+ 4750 6500 4750 6050
+Wire Wire Line
+ 4750 6050 4250 6050
+Connection ~ 4250 6050
+Wire Wire Line
+ 4250 7250 4250 7500
+Wire Wire Line
+ 4250 7500 5800 7500
+Wire Wire Line
+ 4750 6900 4750 7050
+Wire Wire Line
+ 4750 7050 5100 7050
+Wire Wire Line
+ 5100 7050 5100 6900
+Wire Wire Line
+ 5100 6500 5100 6050
+Wire Wire Line
+ 5100 6050 7450 6050
+Wire Wire Line
+ 4950 7050 4950 7250
+Connection ~ 4950 7050
+Wire Wire Line
+ 5800 7500 5800 7450
+Wire Wire Line
+ 5800 6500 5800 7050
+Wire Wire Line
+ 5400 6700 5800 6700
+Connection ~ 5800 6700
+Wire Wire Line
+ 5800 5700 5800 6200
+Connection ~ 5800 6050
+Wire Wire Line
+ 3550 7800 6400 7800
+Wire Wire Line
+ 6400 7800 6400 7250
+Wire Wire Line
+ 6400 7250 6100 7250
+Wire Wire Line
+ 5800 5000 5800 5400
+Wire Wire Line
+ 3550 5300 3550 5000
+Connection ~ 3550 5000
+Wire Wire Line
+ 3050 5100 3050 5000
+Connection ~ 3050 5000
+Wire Wire Line
+ 3050 5400 3050 6250
+Wire Wire Line
+ 3050 5500 3250 5500
+Connection ~ 3050 5500
+Wire Wire Line
+ 3350 6450 3450 6450
+Wire Wire Line
+ 3450 6450 3450 6950
+Wire Wire Line
+ 3450 6950 1700 6950
+Wire Wire Line
+ 2550 6700 2550 6800
+Wire Wire Line
+ 2550 6800 3050 6800
+Wire Wire Line
+ 3050 6800 3050 6650
+Wire Wire Line
+ 2550 5450 2550 6300
+Wire Wire Line
+ 2550 5150 2550 5000
+Connection ~ 2550 5000
+Connection ~ 2850 6800
+Wire Wire Line
+ 2850 6800 2850 8100
+Wire Wire Line
+ 2850 8100 2900 8100
+Wire Wire Line
+ 3200 8300 7300 8300
+Connection ~ 3550 7800
+Wire Wire Line
+ 2900 8500 2900 9050
+Wire Wire Line
+ 2900 9350 2900 10500
+Wire Wire Line
+ 2300 10500 11250 10500
+Wire Wire Line
+ 3550 6600 3550 9750
+Wire Wire Line
+ 3550 10150 3550 10500
+Connection ~ 3550 10500
+Wire Wire Line
+ 3900 6600 3900 9650
+Wire Wire Line
+ 3900 9650 4000 9650
+Wire Wire Line
+ 4000 9650 4000 9750
+Wire Wire Line
+ 3850 9950 9800 9950
+Connection ~ 4300 9950
+Connection ~ 5200 9950
+Wire Wire Line
+ 5000 7500 5000 9750
+Wire Wire Line
+ 5000 9750 4900 9750
+Connection ~ 5000 7500
+Connection ~ 5800 5000
+Wire Wire Line
+ 8500 4300 8500 4800
+Wire Wire Line
+ 8050 5000 8050 5350
+Connection ~ 8050 5000
+Wire Wire Line
+ 9250 5000 9250 5350
+Wire Wire Line
+ 8650 5000 8650 5350
+Wire Wire Line
+ 8100 6300 8150 6300
+Wire Wire Line
+ 7950 6300 7950 6700
+Wire Wire Line
+ 7950 6700 8100 6700
+Wire Wire Line
+ 8100 6700 8100 6300
+Wire Wire Line
+ 7750 6000 7750 5850
+Wire Wire Line
+ 7750 5850 8350 5850
+Wire Wire Line
+ 8350 5850 8350 6000
+Wire Wire Line
+ 8050 5650 8050 5850
+Connection ~ 8050 5850
+Wire Wire Line
+ 8650 5650 8650 6650
+Wire Wire Line
+ 8050 6700 8050 7000
+Connection ~ 8050 6700
+Wire Wire Line
+ 8450 6800 8450 6650
+Wire Wire Line
+ 8450 6650 9100 6650
+Wire Wire Line
+ 9100 6650 9100 6800
+Connection ~ 8650 6650
+Wire Wire Line
+ 8050 7000 8800 7000
+Connection ~ 8650 6300
+Connection ~ 8150 7000
+Wire Wire Line
+ 8450 7200 8650 7200
+Wire Wire Line
+ 8650 7200 8650 7650
+Wire Wire Line
+ 8650 7950 8650 8350
+Connection ~ 8650 8150
+Wire Wire Line
+ 9450 7700 9450 7950
+Wire Wire Line
+ 8650 8150 9150 8150
+Wire Wire Line
+ 8650 8650 8650 9000
+Wire Wire Line
+ 9250 5650 9250 6100
+Wire Wire Line
+ 8550 6300 8950 6300
+Wire Wire Line
+ 9100 7200 9100 7300
+Wire Wire Line
+ 9100 7300 9450 7300
+Wire Wire Line
+ 9450 6850 9450 7400
+Wire Wire Line
+ 9250 6500 9250 6850
+Wire Wire Line
+ 9250 6850 9450 6850
+Connection ~ 9450 7300
+Wire Wire Line
+ 9450 8350 9450 9150
+Connection ~ 8650 5000
+Connection ~ 9250 5000
+Wire Wire Line
+ 8650 9000 9450 9000
+Connection ~ 9450 9000
+Wire Wire Line
+ 10250 5000 10250 7900
+Connection ~ 10250 5000
+Wire Wire Line
+ 10250 8300 10250 8500
+Wire Wire Line
+ 1650 5000 11200 5000
+Wire Wire Line
+ 11200 5000 11200 5850
+Wire Wire Line
+ 11200 6150 11250 6150
+Wire Wire Line
+ 11250 6150 11250 9150
+Wire Wire Line
+ 10550 8100 11250 8100
+Connection ~ 11250 8100
+Wire Wire Line
+ 9450 7800 12000 7800
+Connection ~ 9450 7800
+Wire Wire Line
+ 7300 8300 7300 8900
+Wire Wire Line
+ 7300 8900 10250 8900
+Connection ~ 10250 8900
+Wire Wire Line
+ 10250 8800 10250 9350
+Wire Wire Line
+ 10250 9650 10250 9850
+Wire Wire Line
+ 10250 9750 10650 9750
+Wire Wire Line
+ 10650 9750 10650 10050
+Wire Wire Line
+ 10650 10050 9800 10050
+Connection ~ 10250 9750
+Wire Wire Line
+ 9800 10050 9800 9950
+Connection ~ 10550 10050
+Wire Wire Line
+ 4000 10150 4000 10500
+Connection ~ 4000 10500
+Wire Wire Line
+ 4900 10150 4900 10500
+Connection ~ 4900 10500
+Wire Wire Line
+ 10250 10500 10250 10250
+Wire Wire Line
+ 11250 10500 11250 9650
+Connection ~ 10250 10500
+Wire Wire Line
+ 3600 5800 2550 5800
+Connection ~ 2550 5800
+Wire Wire Line
+ 2250 6500 2050 6500
+Wire Wire Line
+ 7450 6050 7450 6300
+Wire Wire Line
+ 7450 6300 7550 6300
+Connection ~ 2900 10500
+$Comp
+L PORT U1
+U 1 1 6685D7A3
+P 1400 5000
+F 0 "U1" H 1450 5100 30 0000 C CNN
+F 1 "PORT" H 1400 5000 30 0000 C CNN
+F 2 "" H 1400 5000 60 0000 C CNN
+F 3 "" H 1400 5000 60 0000 C CNN
+ 1 1400 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6685E440
+P 2050 6750
+F 0 "U1" H 2100 6850 30 0000 C CNN
+F 1 "PORT" H 2050 6750 30 0000 C CNN
+F 2 "" H 2050 6750 60 0000 C CNN
+F 3 "" H 2050 6750 60 0000 C CNN
+ 3 2050 6750
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6685E849
+P 1700 7200
+F 0 "U1" H 1750 7300 30 0000 C CNN
+F 1 "PORT" H 1700 7200 30 0000 C CNN
+F 2 "" H 1700 7200 60 0000 C CNN
+F 3 "" H 1700 7200 60 0000 C CNN
+ 2 1700 7200
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6685ED47
+P 2050 10500
+F 0 "U1" H 2100 10600 30 0000 C CNN
+F 1 "PORT" H 2050 10500 30 0000 C CNN
+F 2 "" H 2050 10500 60 0000 C CNN
+F 3 "" H 2050 10500 60 0000 C CNN
+ 4 2050 10500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6685F38F
+P 12000 7550
+F 0 "U1" H 12050 7650 30 0000 C CNN
+F 1 "PORT" H 12000 7550 30 0000 C CNN
+F 2 "" H 12000 7550 60 0000 C CNN
+F 3 "" H 12000 7550 60 0000 C CNN
+ 7 12000 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6685FCB8
+P 9250 4700
+F 0 "U1" H 9300 4800 30 0000 C CNN
+F 1 "PORT" H 9250 4700 30 0000 C CNN
+F 2 "" H 9250 4700 60 0000 C CNN
+F 3 "" H 9250 4700 60 0000 C CNN
+ 6 9250 4700
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 8500 3750 9250 3750
+Connection ~ 8500 3750
+$Comp
+L PORT U1
+U 5 1 6686062D
+P 9250 3500
+F 0 "U1" H 9300 3600 30 0000 C CNN
+F 1 "PORT" H 9250 3500 30 0000 C CNN
+F 2 "" H 9250 3500 60 0000 C CNN
+F 3 "" H 9250 3500 60 0000 C CNN
+ 5 9250 3500
+ 0 1 1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160.sub b/library/SubcircuitLibrary/LM160_Sub/LM160.sub
new file mode 100644
index 00000000..1c54d31c
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160.sub
@@ -0,0 +1,68 @@
+* Subcircuit LM160
+.subckt LM160 net-_q25-pad1_ net-_q3-pad2_ net-_q1-pad2_ net-_q10-pad3_ net-_d1-pad2_ gnd net-_d2-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm160\lm160.cir
+.include NPN.lib
+.include D.lib
+r4 net-_q6-pad1_ net-_q13-pad3_ 1k
+r8 net-_q6-pad1_ net-_q13-pad2_ 4k
+r9 net-_q6-pad1_ net-_q14-pad3_ 1.4k
+r13 net-_q6-pad1_ net-_q18-pad1_ 85
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+q17 net-_q14-pad3_ net-_q13-pad1_ net-_d1-pad1_ Q2N2222
+q14 net-_q13-pad1_ net-_q13-pad2_ net-_q14-pad3_ Q2N2222
+q15 net-_q14-pad3_ net-_q13-pad1_ net-_q15-pad3_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q18 net-_q18-pad1_ net-_q14-pad3_ net-_d1-pad1_ Q2N2222
+r10 net-_q15-pad3_ net-_q21-pad2_ 205
+r11 net-_q21-pad2_ gnd 800
+q21 net-_d1-pad2_ net-_q21-pad2_ gnd Q2N2222
+q4 net-_q25-pad1_ net-_q3-pad1_ net-_q4-pad3_ Q2N2222
+* u2 net-_q12-pad2_ net-_q4-pad3_ zener
+q6 net-_q6-pad1_ net-_q1-pad1_ net-_q6-pad3_ Q2N2222
+* u3 net-_q7-pad1_ net-_q6-pad3_ zener
+q8 net-_q8-pad1_ net-_q7-pad1_ net-_q10-pad1_ Q2N2222
+r5 net-_q13-pad3_ net-_q8-pad1_ 1.3k
+q9 net-_q13-pad3_ net-_q8-pad1_ gnd Q2N2222
+q11 net-_q11-pad1_ net-_q11-pad2_ gnd Q2N2222
+q12 net-_q11-pad2_ net-_q12-pad2_ net-_q10-pad1_ Q2N2222
+r7 net-_q11-pad1_ net-_q11-pad2_ 1.3k
+r6 net-_q25-pad1_ net-_q11-pad1_ 1k
+r3 net-_q25-pad1_ net-_q3-pad1_ 1450
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q1-pad3_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r1 net-_q25-pad1_ net-_q1-pad1_ 1450
+q2 net-_q1-pad3_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r2 net-_q2-pad3_ net-_q10-pad3_ 400
+q5 net-_q12-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q7 net-_q7-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r12 net-_q25-pad1_ net-_q16-pad2_ 4k
+r14 net-_q25-pad1_ net-_q19-pad3_ 1.4k
+r17 net-_q25-pad1_ net-_q23-pad1_ 85
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_q11-pad1_ Q2N2222
+q22 net-_q19-pad3_ net-_q16-pad1_ net-_d2-pad1_ Q2N2222
+q19 net-_q16-pad1_ net-_q16-pad2_ net-_q19-pad3_ Q2N2222
+q20 net-_q19-pad3_ net-_q16-pad1_ net-_q20-pad3_ Q2N2222
+d2 net-_d2-pad1_ net-_d2-pad2_ 1N4148
+q23 net-_q23-pad1_ net-_q19-pad3_ net-_d2-pad1_ Q2N2222
+r15 net-_q20-pad3_ net-_q24-pad2_ 205
+r16 net-_q24-pad2_ gnd 800
+q24 net-_d2-pad2_ net-_q24-pad2_ gnd Q2N2222
+q25 net-_q25-pad1_ net-_q25-pad2_ net-_q25-pad3_ Q2N2222
+r18 net-_q25-pad3_ net-_q2-pad2_ 3.2k
+r19 net-_q2-pad2_ net-_q10-pad2_ 387
+r20 net-_q25-pad1_ net-_q25-pad2_ 5k
+* u4 net-_q10-pad3_ net-_q25-pad2_ zener
+q26 net-_q10-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+a1 net-_q12-pad2_ net-_q4-pad3_ u2
+a2 net-_q7-pad1_ net-_q6-pad3_ u3
+a3 net-_q10-pad3_ net-_q25-pad2_ u4
+* 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 )
+* 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 u4 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 LM160 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160_Previous_Values.xml b/library/SubcircuitLibrary/LM160_Sub/LM160_Previous_Values.xml
new file mode 100644
index 00000000..ba0ddb35
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u2 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></u2><u3 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></u3><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field14><field15 name="Enter Switch for Limiting (default=FALSE)">FALSE</field15></u4></model><devicemodel><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q18><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q21><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q20><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q23><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q26></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LM160_Sub/LM160_Sub-cache.lib b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub-cache.lib
new file mode 100644
index 00000000..bfc9a8eb
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub-cache.lib
@@ -0,0 +1,137 @@
+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_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+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_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/LM160_Sub/LM160_Sub.cir b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir
new file mode 100644
index 00000000..12cb0d46
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir
@@ -0,0 +1,62 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM160_Sub\LM160_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/06/24 16:26:27
+
+* 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: /
+R24 Net-_Q32-Pad1_ Net-_Q35-Pad1_ 1k
+R28 Net-_Q32-Pad1_ Net-_Q39-Pad2_ 4k
+R29 Net-_Q32-Pad1_ Net-_Q40-Pad3_ 1.4k
+R33 Net-_Q32-Pad1_ Net-_Q44-Pad1_ 85
+Q39 Net-_Q39-Pad1_ Net-_Q39-Pad2_ Net-_Q35-Pad1_ eSim_NPN
+Q43 Net-_Q40-Pad3_ Net-_Q39-Pad1_ Net-_D3-Pad1_ eSim_NPN
+Q40 Net-_Q39-Pad1_ Net-_Q39-Pad2_ Net-_Q40-Pad3_ eSim_NPN
+Q41 Net-_Q40-Pad3_ Net-_Q39-Pad1_ Net-_Q41-Pad3_ eSim_NPN
+D3 Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_Diode
+Q44 Net-_Q44-Pad1_ Net-_Q40-Pad3_ Net-_D3-Pad1_ eSim_NPN
+R30 Net-_Q41-Pad3_ Net-_Q47-Pad2_ 205
+R31 Net-_Q47-Pad2_ GND 800
+Q47 Net-_D3-Pad2_ Net-_Q47-Pad2_ GND eSim_NPN
+Q30 Net-_Q30-Pad1_ Net-_Q29-Pad1_ Net-_Q30-Pad3_ eSim_NPN
+U7 Net-_Q31-Pad1_ Net-_Q30-Pad3_ zener
+Q32 Net-_Q32-Pad1_ Net-_Q27-Pad1_ Net-_Q32-Pad3_ eSim_NPN
+U8 Net-_Q33-Pad1_ Net-_Q32-Pad3_ zener
+Q34 Net-_Q34-Pad1_ Net-_Q33-Pad1_ Net-_Q34-Pad3_ eSim_NPN
+R25 Net-_Q35-Pad1_ Net-_Q34-Pad1_ 1.3k
+Q35 Net-_Q35-Pad1_ Net-_Q34-Pad1_ GND eSim_NPN
+Q37 Net-_Q37-Pad1_ Net-_Q37-Pad2_ GND eSim_NPN
+Q38 Net-_Q37-Pad2_ Net-_Q31-Pad1_ Net-_Q34-Pad3_ eSim_NPN
+R27 Net-_Q37-Pad1_ Net-_Q37-Pad2_ 1.3k
+R26 Net-_Q30-Pad1_ Net-_Q37-Pad1_ 1k
+R23 Net-_Q30-Pad1_ Net-_Q29-Pad1_ 1450
+Q29 Net-_Q29-Pad1_ Net-_Q29-Pad2_ Net-_Q27-Pad3_ eSim_NPN
+Q27 Net-_Q27-Pad1_ Net-_Q27-Pad2_ Net-_Q27-Pad3_ eSim_NPN
+R21 Net-_Q30-Pad1_ Net-_Q27-Pad1_ 1450
+Q28 Net-_Q27-Pad3_ Net-_Q28-Pad2_ Net-_Q28-Pad3_ eSim_NPN
+R22 Net-_Q28-Pad3_ Net-_Q31-Pad3_ 400
+Q31 Net-_Q31-Pad1_ Net-_Q31-Pad2_ Net-_Q31-Pad3_ eSim_NPN
+Q33 Net-_Q33-Pad1_ Net-_Q31-Pad2_ Net-_Q31-Pad3_ eSim_NPN
+Q36 Net-_Q34-Pad3_ Net-_Q31-Pad2_ Net-_Q31-Pad3_ eSim_NPN
+R32 Net-_Q30-Pad1_ Net-_Q42-Pad2_ 4k
+R34 Net-_Q30-Pad1_ Net-_Q45-Pad3_ 1.4k
+R37 Net-_Q30-Pad1_ Net-_Q49-Pad1_ 85
+Q42 Net-_Q42-Pad1_ Net-_Q42-Pad2_ Net-_Q37-Pad1_ eSim_NPN
+Q48 Net-_Q45-Pad3_ Net-_Q42-Pad1_ Net-_D4-Pad1_ eSim_NPN
+Q45 Net-_Q42-Pad1_ Net-_Q42-Pad2_ Net-_Q45-Pad3_ eSim_NPN
+Q46 Net-_Q45-Pad3_ Net-_Q42-Pad1_ Net-_Q46-Pad3_ eSim_NPN
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+Q49 Net-_Q49-Pad1_ Net-_Q45-Pad3_ Net-_D4-Pad1_ eSim_NPN
+R35 Net-_Q46-Pad3_ Net-_Q50-Pad2_ 205
+R36 Net-_Q50-Pad2_ GND 800
+Q50 Net-_D4-Pad2_ Net-_Q50-Pad2_ GND eSim_NPN
+Q51 Net-_Q30-Pad1_ Net-_Q51-Pad2_ Net-_Q51-Pad3_ eSim_NPN
+R38 Net-_Q51-Pad3_ Net-_Q28-Pad2_ 3.2k
+R39 Net-_Q28-Pad2_ Net-_Q31-Pad2_ 387
+R40 Net-_Q30-Pad1_ Net-_Q51-Pad2_ 5k
+U9 Net-_Q31-Pad3_ Net-_Q51-Pad2_ zener
+Q52 Net-_Q31-Pad2_ Net-_Q31-Pad2_ Net-_Q31-Pad3_ eSim_NPN
+U6 GND Net-_Q29-Pad2_ Net-_Q27-Pad2_ Net-_Q31-Pad3_ GND Net-_D4-Pad2_ Net-_D3-Pad2_ Net-_Q30-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir.out b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir.out
new file mode 100644
index 00000000..657cd1bd
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.cir.out
@@ -0,0 +1,74 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm160_sub\lm160_sub.cir
+
+.include NPN.lib
+.include D.lib
+r24 net-_q32-pad1_ net-_q35-pad1_ 1k
+r28 net-_q32-pad1_ net-_q39-pad2_ 4k
+r29 net-_q32-pad1_ net-_q40-pad3_ 1.4k
+r33 net-_q32-pad1_ net-_q44-pad1_ 85
+q39 net-_q39-pad1_ net-_q39-pad2_ net-_q35-pad1_ Q2N2222
+q43 net-_q40-pad3_ net-_q39-pad1_ net-_d3-pad1_ Q2N2222
+q40 net-_q39-pad1_ net-_q39-pad2_ net-_q40-pad3_ Q2N2222
+q41 net-_q40-pad3_ net-_q39-pad1_ net-_q41-pad3_ Q2N2222
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+q44 net-_q44-pad1_ net-_q40-pad3_ net-_d3-pad1_ Q2N2222
+r30 net-_q41-pad3_ net-_q47-pad2_ 205
+r31 net-_q47-pad2_ gnd 800
+q47 net-_d3-pad2_ net-_q47-pad2_ gnd Q2N2222
+q30 net-_q30-pad1_ net-_q29-pad1_ net-_q30-pad3_ Q2N2222
+* u7 net-_q31-pad1_ net-_q30-pad3_ zener
+q32 net-_q32-pad1_ net-_q27-pad1_ net-_q32-pad3_ Q2N2222
+* u8 net-_q33-pad1_ net-_q32-pad3_ zener
+q34 net-_q34-pad1_ net-_q33-pad1_ net-_q34-pad3_ Q2N2222
+r25 net-_q35-pad1_ net-_q34-pad1_ 1.3k
+q35 net-_q35-pad1_ net-_q34-pad1_ gnd Q2N2222
+q37 net-_q37-pad1_ net-_q37-pad2_ gnd Q2N2222
+q38 net-_q37-pad2_ net-_q31-pad1_ net-_q34-pad3_ Q2N2222
+r27 net-_q37-pad1_ net-_q37-pad2_ 1.3k
+r26 net-_q30-pad1_ net-_q37-pad1_ 1k
+r23 net-_q30-pad1_ net-_q29-pad1_ 1450
+q29 net-_q29-pad1_ net-_q29-pad2_ net-_q27-pad3_ Q2N2222
+q27 net-_q27-pad1_ net-_q27-pad2_ net-_q27-pad3_ Q2N2222
+r21 net-_q30-pad1_ net-_q27-pad1_ 1450
+q28 net-_q27-pad3_ net-_q28-pad2_ net-_q28-pad3_ Q2N2222
+r22 net-_q28-pad3_ net-_q31-pad3_ 400
+q31 net-_q31-pad1_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+q33 net-_q33-pad1_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+q36 net-_q34-pad3_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+r32 net-_q30-pad1_ net-_q42-pad2_ 4k
+r34 net-_q30-pad1_ net-_q45-pad3_ 1.4k
+r37 net-_q30-pad1_ net-_q49-pad1_ 85
+q42 net-_q42-pad1_ net-_q42-pad2_ net-_q37-pad1_ Q2N2222
+q48 net-_q45-pad3_ net-_q42-pad1_ net-_d4-pad1_ Q2N2222
+q45 net-_q42-pad1_ net-_q42-pad2_ net-_q45-pad3_ Q2N2222
+q46 net-_q45-pad3_ net-_q42-pad1_ net-_q46-pad3_ Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+q49 net-_q49-pad1_ net-_q45-pad3_ net-_d4-pad1_ Q2N2222
+r35 net-_q46-pad3_ net-_q50-pad2_ 205
+r36 net-_q50-pad2_ gnd 800
+q50 net-_d4-pad2_ net-_q50-pad2_ gnd Q2N2222
+q51 net-_q30-pad1_ net-_q51-pad2_ net-_q51-pad3_ Q2N2222
+r38 net-_q51-pad3_ net-_q28-pad2_ 3.2k
+r39 net-_q28-pad2_ net-_q31-pad2_ 387
+r40 net-_q30-pad1_ net-_q51-pad2_ 5k
+* u9 net-_q31-pad3_ net-_q51-pad2_ zener
+q52 net-_q31-pad2_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+* u6 gnd net-_q29-pad2_ net-_q27-pad2_ net-_q31-pad3_ gnd net-_d4-pad2_ net-_d3-pad2_ net-_q30-pad1_ port
+a1 net-_q31-pad1_ net-_q30-pad3_ u7
+a2 net-_q33-pad1_ net-_q32-pad3_ u8
+a3 net-_q31-pad3_ net-_q51-pad2_ u9
+* Schematic Name: zener, NgSpice Name: zener
+.model u7 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 u8 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 u9 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-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/LM160_Sub/LM160_Sub.pro b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sch b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sch
new file mode 100644
index 00000000..42c2add7
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sch
@@ -0,0 +1,1096 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM160_Sub-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 11827
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R24
+U 1 1 6689596E
+P 4450 950
+F 0 "R24" H 4500 1080 50 0000 C CNN
+F 1 "1k" H 4500 900 50 0000 C CNN
+F 2 "" H 4500 930 30 0000 C CNN
+F 3 "" V 4500 1000 30 0000 C CNN
+ 1 4450 950
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R28
+U 1 1 6689596F
+P 7300 1100
+F 0 "R28" H 7350 1230 50 0000 C CNN
+F 1 "4k" H 7350 1050 50 0000 C CNN
+F 2 "" H 7350 1080 30 0000 C CNN
+F 3 "" V 7350 1150 30 0000 C CNN
+ 1 7300 1100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R29
+U 1 1 66895970
+P 7900 1100
+F 0 "R29" H 7950 1230 50 0000 C CNN
+F 1 "1.4k" H 7950 1050 50 0000 C CNN
+F 2 "" H 7950 1080 30 0000 C CNN
+F 3 "" V 7950 1150 30 0000 C CNN
+ 1 7900 1100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R33
+U 1 1 66895971
+P 8500 1100
+F 0 "R33" H 8550 1230 50 0000 C CNN
+F 1 "85" H 8550 1050 50 0000 C CNN
+F 2 "" H 8550 1080 30 0000 C CNN
+F 3 "" V 8550 1150 30 0000 C CNN
+ 1 8500 1100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q39
+U 1 1 66895972
+P 7050 1850
+F 0 "Q39" H 6950 1900 50 0000 R CNN
+F 1 "eSim_NPN" H 7000 2000 50 0000 R CNN
+F 2 "" H 7250 1950 29 0000 C CNN
+F 3 "" H 7050 1850 60 0000 C CNN
+ 1 7050 1850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q43
+U 1 1 66895973
+P 8300 2650
+F 0 "Q43" H 8200 2700 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 2800 50 0000 R CNN
+F 2 "" H 8500 2750 29 0000 C CNN
+F 3 "" H 8300 2650 60 0000 C CNN
+ 1 8300 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q40
+U 1 1 66895974
+P 7650 1850
+F 0 "Q40" H 7550 1900 50 0000 R CNN
+F 1 "eSim_NPN" H 7600 2000 50 0000 R CNN
+F 2 "" H 7850 1950 29 0000 C CNN
+F 3 "" H 7650 1850 60 0000 C CNN
+ 1 7650 1850
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q41
+U 1 1 66895975
+P 7650 2650
+F 0 "Q41" H 7550 2700 50 0000 R CNN
+F 1 "eSim_NPN" H 7600 2800 50 0000 R CNN
+F 2 "" H 7850 2750 29 0000 C CNN
+F 3 "" H 7650 2650 60 0000 C CNN
+ 1 7650 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 66895976
+P 8750 3200
+F 0 "D3" H 8750 3300 50 0000 C CNN
+F 1 "eSim_Diode" H 8750 3100 50 0000 C CNN
+F 2 "" H 8750 3200 60 0000 C CNN
+F 3 "" H 8750 3200 60 0000 C CNN
+ 1 8750 3200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q44
+U 1 1 66895977
+P 8450 1950
+F 0 "Q44" H 8350 2000 50 0000 R CNN
+F 1 "eSim_NPN" H 8400 2100 50 0000 R CNN
+F 2 "" H 8650 2050 29 0000 C CNN
+F 3 "" H 8450 1950 60 0000 C CNN
+ 1 8450 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R30
+U 1 1 66895978
+P 7900 3400
+F 0 "R30" H 7950 3530 50 0000 C CNN
+F 1 "205" H 7950 3350 50 0000 C CNN
+F 2 "" H 7950 3380 30 0000 C CNN
+F 3 "" V 7950 3450 30 0000 C CNN
+ 1 7900 3400
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R31
+U 1 1 66895979
+P 7900 4100
+F 0 "R31" H 7950 4230 50 0000 C CNN
+F 1 "800" H 7950 4050 50 0000 C CNN
+F 2 "" H 7950 4080 30 0000 C CNN
+F 3 "" V 7950 4150 30 0000 C CNN
+ 1 7900 4100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q47
+U 1 1 6689597A
+P 8650 3800
+F 0 "Q47" H 8550 3850 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 3950 50 0000 R CNN
+F 2 "" H 8850 3900 29 0000 C CNN
+F 3 "" H 8650 3800 60 0000 C CNN
+ 1 8650 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q30
+U 1 1 6689597B
+P 3700 5200
+F 0 "Q30" H 3600 5250 50 0000 R CNN
+F 1 "eSim_NPN" H 3650 5350 50 0000 R CNN
+F 2 "" H 3900 5300 29 0000 C CNN
+F 3 "" H 3700 5200 60 0000 C CNN
+ 1 3700 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U7
+U 1 1 6689597C
+P 3800 6100
+F 0 "U7" H 3750 6000 60 0000 C CNN
+F 1 "zener" H 3800 6200 60 0000 C CNN
+F 2 "" H 3850 6100 60 0000 C CNN
+F 3 "" H 3850 6100 60 0000 C CNN
+ 1 3800 6100
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 6689597D
+P 4050 5500
+F 0 "Q32" H 3950 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 4000 5650 50 0000 R CNN
+F 2 "" H 4250 5600 29 0000 C CNN
+F 3 "" H 4050 5500 60 0000 C CNN
+ 1 4050 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U8
+U 1 1 6689597E
+P 4150 6100
+F 0 "U8" H 4100 6000 60 0000 C CNN
+F 1 "zener" H 4150 6200 60 0000 C CNN
+F 2 "" H 4200 6100 60 0000 C CNN
+F 3 "" H 4200 6100 60 0000 C CNN
+ 1 4150 6100
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q34
+U 1 1 6689597F
+P 4400 6750
+F 0 "Q34" H 4300 6800 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 6900 50 0000 R CNN
+F 2 "" H 4600 6850 29 0000 C CNN
+F 3 "" H 4400 6750 60 0000 C CNN
+ 1 4400 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 66895980
+P 4450 6000
+F 0 "R25" H 4500 6130 50 0000 C CNN
+F 1 "1.3k" H 4500 5950 50 0000 C CNN
+F 2 "" H 4500 5980 30 0000 C CNN
+F 3 "" V 4500 6050 30 0000 C CNN
+ 1 4450 6000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q35
+U 1 1 66895981
+P 4900 6400
+F 0 "Q35" H 4800 6450 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 6550 50 0000 R CNN
+F 2 "" H 5100 6500 29 0000 C CNN
+F 3 "" H 4900 6400 60 0000 C CNN
+ 1 4900 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q37
+U 1 1 66895982
+P 5450 6400
+F 0 "Q37" H 5350 6450 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 6550 50 0000 R CNN
+F 2 "" H 5650 6500 29 0000 C CNN
+F 3 "" H 5450 6400 60 0000 C CNN
+ 1 5450 6400
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q38
+U 1 1 66895983
+P 6150 6950
+F 0 "Q38" H 6050 7000 50 0000 R CNN
+F 1 "eSim_NPN" H 6100 7100 50 0000 R CNN
+F 2 "" H 6350 7050 29 0000 C CNN
+F 3 "" H 6150 6950 60 0000 C CNN
+ 1 6150 6950
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R27
+U 1 1 66895984
+P 6000 6000
+F 0 "R27" H 6050 6130 50 0000 C CNN
+F 1 "1.3k" H 6050 5950 50 0000 C CNN
+F 2 "" H 6050 5980 30 0000 C CNN
+F 3 "" V 6050 6050 30 0000 C CNN
+ 1 6000 6000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_GND #PWR2
+U 1 1 66895985
+P 5200 6950
+F 0 "#PWR2" H 5200 6700 50 0001 C CNN
+F 1 "eSim_GND" H 5200 6800 50 0000 C CNN
+F 2 "" H 5200 6950 50 0001 C CNN
+F 3 "" H 5200 6950 50 0001 C CNN
+ 1 5200 6950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R26
+U 1 1 66895986
+P 6000 5200
+F 0 "R26" H 6050 5330 50 0000 C CNN
+F 1 "1k" H 6050 5150 50 0000 C CNN
+F 2 "" H 6050 5180 30 0000 C CNN
+F 3 "" V 6050 5250 30 0000 C CNN
+ 1 6000 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 66895987
+P 3250 4900
+F 0 "R23" H 3300 5030 50 0000 C CNN
+F 1 "1450" H 3300 4850 50 0000 C CNN
+F 2 "" H 3300 4880 30 0000 C CNN
+F 3 "" V 3300 4950 30 0000 C CNN
+ 1 3250 4900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q29
+U 1 1 66895988
+P 3400 6150
+F 0 "Q29" H 3300 6200 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 6300 50 0000 R CNN
+F 2 "" H 3600 6250 29 0000 C CNN
+F 3 "" H 3400 6150 60 0000 C CNN
+ 1 3400 6150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 66895989
+P 2700 6200
+F 0 "Q27" H 2600 6250 50 0000 R CNN
+F 1 "eSim_NPN" H 2650 6350 50 0000 R CNN
+F 2 "" H 2900 6300 29 0000 C CNN
+F 3 "" H 2700 6200 60 0000 C CNN
+ 1 2700 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 6689598A
+P 2750 4950
+F 0 "R21" H 2800 5080 50 0000 C CNN
+F 1 "1450" H 2800 4900 50 0000 C CNN
+F 2 "" H 2800 4930 30 0000 C CNN
+F 3 "" V 2800 5000 30 0000 C CNN
+ 1 2750 4950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 6689598B
+P 3250 8000
+F 0 "Q28" H 3150 8050 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 8150 50 0000 R CNN
+F 2 "" H 3450 8100 29 0000 C CNN
+F 3 "" H 3250 8000 60 0000 C CNN
+ 1 3250 8000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 6689598C
+P 3100 8850
+F 0 "R22" H 3150 8980 50 0000 C CNN
+F 1 "400" H 3150 8800 50 0000 C CNN
+F 2 "" H 3150 8830 30 0000 C CNN
+F 3 "" V 3150 8900 30 0000 C CNN
+ 1 3100 8850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 6689598D
+P 3900 9650
+F 0 "Q31" H 3800 9700 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 9800 50 0000 R CNN
+F 2 "" H 4100 9750 29 0000 C CNN
+F 3 "" H 3900 9650 60 0000 C CNN
+ 1 3900 9650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q33
+U 1 1 6689598E
+P 4350 9650
+F 0 "Q33" H 4250 9700 50 0000 R CNN
+F 1 "eSim_NPN" H 4300 9800 50 0000 R CNN
+F 2 "" H 4550 9750 29 0000 C CNN
+F 3 "" H 4350 9650 60 0000 C CNN
+ 1 4350 9650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q36
+U 1 1 6689598F
+P 5250 9650
+F 0 "Q36" H 5150 9700 50 0000 R CNN
+F 1 "eSim_NPN" H 5200 9800 50 0000 R CNN
+F 2 "" H 5450 9750 29 0000 C CNN
+F 3 "" H 5250 9650 60 0000 C CNN
+ 1 5250 9650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR3
+U 1 1 66895990
+P 8750 4500
+F 0 "#PWR3" H 8750 4250 50 0001 C CNN
+F 1 "eSim_GND" H 8750 4350 50 0000 C CNN
+F 2 "" H 8750 4500 50 0001 C CNN
+F 3 "" H 8750 4500 50 0001 C CNN
+ 1 8750 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R32
+U 1 1 66895991
+P 8250 5150
+F 0 "R32" H 8300 5280 50 0000 C CNN
+F 1 "4k" H 8300 5100 50 0000 C CNN
+F 2 "" H 8300 5130 30 0000 C CNN
+F 3 "" V 8300 5200 30 0000 C CNN
+ 1 8250 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R34
+U 1 1 66895992
+P 8850 5150
+F 0 "R34" H 8900 5280 50 0000 C CNN
+F 1 "1.4k" H 8900 5100 50 0000 C CNN
+F 2 "" H 8900 5130 30 0000 C CNN
+F 3 "" V 8900 5200 30 0000 C CNN
+ 1 8850 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R37
+U 1 1 66895993
+P 9450 5150
+F 0 "R37" H 9500 5280 50 0000 C CNN
+F 1 "85" H 9500 5100 50 0000 C CNN
+F 2 "" H 9500 5130 30 0000 C CNN
+F 3 "" V 9500 5200 30 0000 C CNN
+ 1 9450 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q42
+U 1 1 66895994
+P 8000 5900
+F 0 "Q42" H 7900 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 7950 6050 50 0000 R CNN
+F 2 "" H 8200 6000 29 0000 C CNN
+F 3 "" H 8000 5900 60 0000 C CNN
+ 1 8000 5900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q48
+U 1 1 66895995
+P 9250 6700
+F 0 "Q48" H 9150 6750 50 0000 R CNN
+F 1 "eSim_NPN" H 9200 6850 50 0000 R CNN
+F 2 "" H 9450 6800 29 0000 C CNN
+F 3 "" H 9250 6700 60 0000 C CNN
+ 1 9250 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q45
+U 1 1 66895996
+P 8600 5900
+F 0 "Q45" H 8500 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 6050 50 0000 R CNN
+F 2 "" H 8800 6000 29 0000 C CNN
+F 3 "" H 8600 5900 60 0000 C CNN
+ 1 8600 5900
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q46
+U 1 1 66895997
+P 8600 6700
+F 0 "Q46" H 8500 6750 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 6850 50 0000 R CNN
+F 2 "" H 8800 6800 29 0000 C CNN
+F 3 "" H 8600 6700 60 0000 C CNN
+ 1 8600 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 66895998
+P 9700 7250
+F 0 "D4" H 9700 7350 50 0000 C CNN
+F 1 "eSim_Diode" H 9700 7150 50 0000 C CNN
+F 2 "" H 9700 7250 60 0000 C CNN
+F 3 "" H 9700 7250 60 0000 C CNN
+ 1 9700 7250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q49
+U 1 1 66895999
+P 9400 6000
+F 0 "Q49" H 9300 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 9350 6150 50 0000 R CNN
+F 2 "" H 9600 6100 29 0000 C CNN
+F 3 "" H 9400 6000 60 0000 C CNN
+ 1 9400 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R35
+U 1 1 6689599A
+P 8850 7450
+F 0 "R35" H 8900 7580 50 0000 C CNN
+F 1 "205" H 8900 7400 50 0000 C CNN
+F 2 "" H 8900 7430 30 0000 C CNN
+F 3 "" V 8900 7500 30 0000 C CNN
+ 1 8850 7450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R36
+U 1 1 6689599B
+P 8850 8150
+F 0 "R36" H 8900 8280 50 0000 C CNN
+F 1 "800" H 8900 8100 50 0000 C CNN
+F 2 "" H 8900 8130 30 0000 C CNN
+F 3 "" V 8900 8200 30 0000 C CNN
+ 1 8850 8150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q50
+U 1 1 6689599C
+P 9600 7850
+F 0 "Q50" H 9500 7900 50 0000 R CNN
+F 1 "eSim_NPN" H 9550 8000 50 0000 R CNN
+F 2 "" H 9800 7950 29 0000 C CNN
+F 3 "" H 9600 7850 60 0000 C CNN
+ 1 9600 7850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR4
+U 1 1 6689599D
+P 9700 8850
+F 0 "#PWR4" H 9700 8600 50 0001 C CNN
+F 1 "eSim_GND" H 9700 8700 50 0000 C CNN
+F 2 "" H 9700 8850 50 0001 C CNN
+F 3 "" H 9700 8850 50 0001 C CNN
+ 1 9700 8850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q51
+U 1 1 6689599E
+P 10600 7800
+F 0 "Q51" H 10500 7850 50 0000 R CNN
+F 1 "eSim_NPN" H 10550 7950 50 0000 R CNN
+F 2 "" H 10800 7900 29 0000 C CNN
+F 3 "" H 10600 7800 60 0000 C CNN
+ 1 10600 7800
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R38
+U 1 1 6689599F
+P 10450 8300
+F 0 "R38" H 10500 8430 50 0000 C CNN
+F 1 "3.2k" H 10500 8250 50 0000 C CNN
+F 2 "" H 10500 8280 30 0000 C CNN
+F 3 "" V 10500 8350 30 0000 C CNN
+ 1 10450 8300
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R39
+U 1 1 668959A0
+P 10450 9150
+F 0 "R39" H 10500 9280 50 0000 C CNN
+F 1 "387" H 10500 9100 50 0000 C CNN
+F 2 "" H 10500 9130 30 0000 C CNN
+F 3 "" V 10500 9200 30 0000 C CNN
+ 1 10450 9150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R40
+U 1 1 668959A1
+P 11400 5650
+F 0 "R40" H 11450 5780 50 0000 C CNN
+F 1 "5k" H 11450 5600 50 0000 C CNN
+F 2 "" H 11450 5630 30 0000 C CNN
+F 3 "" V 11450 5700 30 0000 C CNN
+ 1 11400 5650
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U9
+U 1 1 668959A2
+P 11500 9150
+F 0 "U9" H 11450 9050 60 0000 C CNN
+F 1 "zener" H 11500 9250 60 0000 C CNN
+F 2 "" H 11550 9150 60 0000 C CNN
+F 3 "" H 11550 9150 60 0000 C CNN
+ 1 11500 9150
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q52
+U 1 1 668959A3
+P 10600 9750
+F 0 "Q52" H 10500 9800 50 0000 R CNN
+F 1 "eSim_NPN" H 10550 9900 50 0000 R CNN
+F 2 "" H 10800 9850 29 0000 C CNN
+F 3 "" H 10600 9750 60 0000 C CNN
+ 1 10600 9750
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4500 850 4500 750
+Wire Wire Line
+ 4100 750 8550 750
+Wire Wire Line
+ 8550 750 8550 1000
+Wire Wire Line
+ 7350 1000 7350 750
+Connection ~ 7350 750
+Wire Wire Line
+ 7950 1000 7950 750
+Connection ~ 7950 750
+Wire Wire Line
+ 4500 1950 6850 1950
+Wire Wire Line
+ 7400 1950 7450 1950
+Wire Wire Line
+ 7250 1950 7250 2350
+Wire Wire Line
+ 7250 2350 7400 2350
+Wire Wire Line
+ 7400 2350 7400 1950
+Wire Wire Line
+ 7050 1650 7050 1500
+Wire Wire Line
+ 7050 1500 7650 1500
+Wire Wire Line
+ 7650 1500 7650 1650
+Wire Wire Line
+ 7350 1300 7350 1500
+Connection ~ 7350 1500
+Wire Wire Line
+ 7950 1300 7950 2300
+Wire Wire Line
+ 7350 2350 7350 2650
+Connection ~ 7350 2350
+Wire Wire Line
+ 7750 2450 7750 2300
+Wire Wire Line
+ 7750 2300 8400 2300
+Wire Wire Line
+ 8400 2300 8400 2450
+Connection ~ 7950 2300
+Wire Wire Line
+ 7350 2650 8100 2650
+Connection ~ 7950 1950
+Connection ~ 7450 2650
+Wire Wire Line
+ 7750 2850 7950 2850
+Wire Wire Line
+ 7950 2850 7950 3300
+Wire Wire Line
+ 7950 3600 7950 4000
+Connection ~ 7950 3800
+Wire Wire Line
+ 8750 3350 8750 3600
+Wire Wire Line
+ 7950 3800 8450 3800
+Wire Wire Line
+ 7950 4300 7950 4400
+Wire Wire Line
+ 7950 4400 9250 4400
+Wire Wire Line
+ 8550 1300 8550 1750
+Wire Wire Line
+ 7850 1950 8250 1950
+Wire Wire Line
+ 8400 2850 8400 2950
+Wire Wire Line
+ 8400 2950 8750 2950
+Wire Wire Line
+ 8750 2500 8750 3050
+Wire Wire Line
+ 8550 2150 8550 2500
+Wire Wire Line
+ 8550 2500 8750 2500
+Connection ~ 8750 2950
+Connection ~ 8750 4400
+Connection ~ 4500 1950
+Wire Wire Line
+ 4100 750 4100 5300
+Connection ~ 4500 750
+Wire Wire Line
+ 3800 5400 3800 5800
+Wire Wire Line
+ 4500 1150 4500 5900
+Wire Wire Line
+ 4100 5300 4150 5300
+Wire Wire Line
+ 4150 5700 4150 5800
+Wire Wire Line
+ 4500 6200 4500 6550
+Wire Wire Line
+ 4200 6750 4150 6750
+Connection ~ 4150 6750
+Wire Wire Line
+ 4700 6400 4500 6400
+Connection ~ 4500 6400
+Wire Wire Line
+ 5000 6200 5000 5750
+Wire Wire Line
+ 5000 5750 4500 5750
+Connection ~ 4500 5750
+Wire Wire Line
+ 4500 6950 4500 7200
+Wire Wire Line
+ 4500 7200 6050 7200
+Wire Wire Line
+ 5000 6600 5000 6750
+Wire Wire Line
+ 5000 6750 5350 6750
+Wire Wire Line
+ 5350 6750 5350 6600
+Wire Wire Line
+ 5350 6200 5350 5750
+Wire Wire Line
+ 5350 5750 7700 5750
+Wire Wire Line
+ 5200 6750 5200 6950
+Connection ~ 5200 6750
+Wire Wire Line
+ 6050 7200 6050 7150
+Wire Wire Line
+ 6050 6200 6050 6750
+Wire Wire Line
+ 5650 6400 6050 6400
+Connection ~ 6050 6400
+Wire Wire Line
+ 6050 5400 6050 5900
+Connection ~ 6050 5750
+Wire Wire Line
+ 3800 7500 6650 7500
+Wire Wire Line
+ 6650 7500 6650 6950
+Wire Wire Line
+ 6650 6950 6350 6950
+Wire Wire Line
+ 6050 4700 6050 5100
+Wire Wire Line
+ 3800 5000 3800 4700
+Connection ~ 3800 4700
+Wire Wire Line
+ 3300 4800 3300 4700
+Connection ~ 3300 4700
+Wire Wire Line
+ 3300 5100 3300 5950
+Wire Wire Line
+ 3300 5200 3500 5200
+Connection ~ 3300 5200
+Wire Wire Line
+ 3600 6150 3700 6150
+Wire Wire Line
+ 3700 6150 3700 6650
+Wire Wire Line
+ 2800 6400 2800 6500
+Wire Wire Line
+ 2800 6500 3300 6500
+Wire Wire Line
+ 3300 6500 3300 6350
+Wire Wire Line
+ 2800 5150 2800 6000
+Wire Wire Line
+ 2800 4850 2800 4700
+Connection ~ 2800 4700
+Connection ~ 3100 6500
+Wire Wire Line
+ 3100 6500 3100 7800
+Wire Wire Line
+ 3100 7800 3150 7800
+Wire Wire Line
+ 3450 8000 7550 8000
+Connection ~ 3800 7500
+Wire Wire Line
+ 3150 8200 3150 8750
+Wire Wire Line
+ 3150 9050 3150 10200
+Wire Wire Line
+ 2550 10200 11500 10200
+Wire Wire Line
+ 3800 6300 3800 9450
+Wire Wire Line
+ 3800 9850 3800 10200
+Connection ~ 3800 10200
+Wire Wire Line
+ 4150 6300 4150 9350
+Wire Wire Line
+ 4150 9350 4250 9350
+Wire Wire Line
+ 4250 9350 4250 9450
+Wire Wire Line
+ 4100 9650 10050 9650
+Connection ~ 4550 9650
+Connection ~ 5450 9650
+Wire Wire Line
+ 5250 7200 5250 9450
+Wire Wire Line
+ 5250 9450 5150 9450
+Connection ~ 5250 7200
+Connection ~ 6050 4700
+Wire Wire Line
+ 8750 4000 8750 4500
+Wire Wire Line
+ 8300 4700 8300 5050
+Connection ~ 8300 4700
+Wire Wire Line
+ 9500 4700 9500 5050
+Wire Wire Line
+ 8900 4700 8900 5050
+Wire Wire Line
+ 8350 6000 8400 6000
+Wire Wire Line
+ 8200 6000 8200 6400
+Wire Wire Line
+ 8200 6400 8350 6400
+Wire Wire Line
+ 8350 6400 8350 6000
+Wire Wire Line
+ 8000 5700 8000 5550
+Wire Wire Line
+ 8000 5550 8600 5550
+Wire Wire Line
+ 8600 5550 8600 5700
+Wire Wire Line
+ 8300 5350 8300 5550
+Connection ~ 8300 5550
+Wire Wire Line
+ 8900 5350 8900 6350
+Wire Wire Line
+ 8300 6400 8300 6700
+Connection ~ 8300 6400
+Wire Wire Line
+ 8700 6500 8700 6350
+Wire Wire Line
+ 8700 6350 9350 6350
+Wire Wire Line
+ 9350 6350 9350 6500
+Connection ~ 8900 6350
+Wire Wire Line
+ 8300 6700 9050 6700
+Connection ~ 8900 6000
+Connection ~ 8400 6700
+Wire Wire Line
+ 8700 6900 8900 6900
+Wire Wire Line
+ 8900 6900 8900 7350
+Wire Wire Line
+ 8900 7650 8900 8050
+Connection ~ 8900 7850
+Wire Wire Line
+ 9700 7400 9700 7650
+Wire Wire Line
+ 8900 7850 9400 7850
+Wire Wire Line
+ 8900 8350 8900 8700
+Wire Wire Line
+ 9500 5350 9500 5800
+Wire Wire Line
+ 8800 6000 9200 6000
+Wire Wire Line
+ 9350 6900 9350 7000
+Wire Wire Line
+ 9350 7000 9700 7000
+Wire Wire Line
+ 9700 6550 9700 7100
+Wire Wire Line
+ 9500 6200 9500 6550
+Wire Wire Line
+ 9500 6550 9700 6550
+Connection ~ 9700 7000
+Wire Wire Line
+ 9700 8050 9700 8850
+Connection ~ 8900 4700
+Connection ~ 9500 4700
+Wire Wire Line
+ 8900 8700 9700 8700
+Connection ~ 9700 8700
+Wire Wire Line
+ 10500 4700 10500 7600
+Connection ~ 10500 4700
+Wire Wire Line
+ 10500 8000 10500 8200
+Wire Wire Line
+ 1900 4700 11450 4700
+Wire Wire Line
+ 11450 4700 11450 5550
+Wire Wire Line
+ 11450 5850 11500 5850
+Wire Wire Line
+ 11500 5850 11500 8850
+Wire Wire Line
+ 10800 7800 11500 7800
+Connection ~ 11500 7800
+Wire Wire Line
+ 9700 7500 12250 7500
+Connection ~ 9700 7500
+Wire Wire Line
+ 7550 8000 7550 8600
+Wire Wire Line
+ 7550 8600 10500 8600
+Connection ~ 10500 8600
+Wire Wire Line
+ 10500 8500 10500 9050
+Wire Wire Line
+ 10500 9350 10500 9550
+Wire Wire Line
+ 10500 9450 10900 9450
+Wire Wire Line
+ 10900 9450 10900 9750
+Wire Wire Line
+ 10900 9750 10050 9750
+Connection ~ 10500 9450
+Wire Wire Line
+ 10050 9750 10050 9650
+Connection ~ 10800 9750
+Wire Wire Line
+ 4250 9850 4250 10200
+Connection ~ 4250 10200
+Wire Wire Line
+ 5150 9850 5150 10200
+Connection ~ 5150 10200
+Wire Wire Line
+ 10500 10200 10500 9950
+Wire Wire Line
+ 11500 10200 11500 9350
+Connection ~ 10500 10200
+Wire Wire Line
+ 3850 5500 2800 5500
+Connection ~ 2800 5500
+Wire Wire Line
+ 7700 5750 7700 6000
+Wire Wire Line
+ 7700 6000 7800 6000
+Connection ~ 3150 10200
+Wire Wire Line
+ 1900 5000 1900 4700
+$Comp
+L PORT U6
+U 2 1 66897BD4
+P 1300 6650
+F 0 "U6" H 1350 6750 30 0000 C CNN
+F 1 "PORT" H 1300 6650 30 0000 C CNN
+F 2 "" H 1300 6650 60 0000 C CNN
+F 3 "" H 1300 6650 60 0000 C CNN
+ 2 1300 6650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1700 2400 2150 2400
+Wire Wire Line
+ 2150 2400 2150 2550
+$Comp
+L eSim_GND #PWR1
+U 1 1 66898117
+P 2150 2550
+F 0 "#PWR1" H 2150 2300 50 0001 C CNN
+F 1 "eSim_GND" H 2150 2400 50 0000 C CNN
+F 2 "" H 2150 2550 50 0001 C CNN
+F 3 "" H 2150 2550 50 0001 C CNN
+ 1 2150 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U6
+U 1 1 66898D2C
+P 1450 2400
+F 0 "U6" H 1500 2500 30 0000 C CNN
+F 1 "PORT" H 1450 2400 30 0000 C CNN
+F 2 "" H 1450 2400 60 0000 C CNN
+F 3 "" H 1450 2400 60 0000 C CNN
+ 1 1450 2400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3700 6650 1550 6650
+$Comp
+L PORT U6
+U 4 1 66899B01
+P 2300 10200
+F 0 "U6" H 2350 10300 30 0000 C CNN
+F 1 "PORT" H 2300 10200 30 0000 C CNN
+F 2 "" H 2300 10200 60 0000 C CNN
+F 3 "" H 2300 10200 60 0000 C CNN
+ 4 2300 10200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1550 6200 2500 6200
+$Comp
+L PORT U6
+U 5 1 6689A826
+P 9500 4400
+F 0 "U6" H 9550 4500 30 0000 C CNN
+F 1 "PORT" H 9500 4400 30 0000 C CNN
+F 2 "" H 9500 4400 60 0000 C CNN
+F 3 "" H 9500 4400 60 0000 C CNN
+ 5 9500 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U6
+U 6 1 6689B463
+P 12500 7500
+F 0 "U6" H 12550 7600 30 0000 C CNN
+F 1 "PORT" H 12500 7500 30 0000 C CNN
+F 2 "" H 12500 7500 60 0000 C CNN
+F 3 "" H 12500 7500 60 0000 C CNN
+ 6 12500 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U6
+U 8 1 6689BF0A
+P 1650 5000
+F 0 "U6" H 1700 5100 30 0000 C CNN
+F 1 "PORT" H 1650 5000 30 0000 C CNN
+F 2 "" H 1650 5000 60 0000 C CNN
+F 3 "" H 1650 5000 60 0000 C CNN
+ 8 1650 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U6
+U 7 1 6689C683
+P 9600 3450
+F 0 "U6" H 9650 3550 30 0000 C CNN
+F 1 "PORT" H 9600 3450 30 0000 C CNN
+F 2 "" H 9600 3450 60 0000 C CNN
+F 3 "" H 9600 3450 60 0000 C CNN
+ 7 9600 3450
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 8750 3450 9350 3450
+Connection ~ 8750 3450
+$Comp
+L PORT U6
+U 3 1 6689CF38
+P 1300 6200
+F 0 "U6" H 1350 6300 30 0000 C CNN
+F 1 "PORT" H 1300 6200 30 0000 C CNN
+F 2 "" H 1300 6200 60 0000 C CNN
+F 3 "" H 1300 6200 60 0000 C CNN
+ 3 1300 6200
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sub b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sub
new file mode 100644
index 00000000..af9e5138
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub.sub
@@ -0,0 +1,68 @@
+* Subcircuit LM160_Sub
+.subckt LM160_Sub gnd net-_q29-pad2_ net-_q27-pad2_ net-_q31-pad3_ gnd net-_d4-pad2_ net-_d3-pad2_ net-_q30-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\lm160_sub\lm160_sub.cir
+.include NPN.lib
+.include D.lib
+r24 net-_q32-pad1_ net-_q35-pad1_ 1k
+r28 net-_q32-pad1_ net-_q39-pad2_ 4k
+r29 net-_q32-pad1_ net-_q40-pad3_ 1.4k
+r33 net-_q32-pad1_ net-_q44-pad1_ 85
+q39 net-_q39-pad1_ net-_q39-pad2_ net-_q35-pad1_ Q2N2222
+q43 net-_q40-pad3_ net-_q39-pad1_ net-_d3-pad1_ Q2N2222
+q40 net-_q39-pad1_ net-_q39-pad2_ net-_q40-pad3_ Q2N2222
+q41 net-_q40-pad3_ net-_q39-pad1_ net-_q41-pad3_ Q2N2222
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+q44 net-_q44-pad1_ net-_q40-pad3_ net-_d3-pad1_ Q2N2222
+r30 net-_q41-pad3_ net-_q47-pad2_ 205
+r31 net-_q47-pad2_ gnd 800
+q47 net-_d3-pad2_ net-_q47-pad2_ gnd Q2N2222
+q30 net-_q30-pad1_ net-_q29-pad1_ net-_q30-pad3_ Q2N2222
+* u7 net-_q31-pad1_ net-_q30-pad3_ zener
+q32 net-_q32-pad1_ net-_q27-pad1_ net-_q32-pad3_ Q2N2222
+* u8 net-_q33-pad1_ net-_q32-pad3_ zener
+q34 net-_q34-pad1_ net-_q33-pad1_ net-_q34-pad3_ Q2N2222
+r25 net-_q35-pad1_ net-_q34-pad1_ 1.3k
+q35 net-_q35-pad1_ net-_q34-pad1_ gnd Q2N2222
+q37 net-_q37-pad1_ net-_q37-pad2_ gnd Q2N2222
+q38 net-_q37-pad2_ net-_q31-pad1_ net-_q34-pad3_ Q2N2222
+r27 net-_q37-pad1_ net-_q37-pad2_ 1.3k
+r26 net-_q30-pad1_ net-_q37-pad1_ 1k
+r23 net-_q30-pad1_ net-_q29-pad1_ 1450
+q29 net-_q29-pad1_ net-_q29-pad2_ net-_q27-pad3_ Q2N2222
+q27 net-_q27-pad1_ net-_q27-pad2_ net-_q27-pad3_ Q2N2222
+r21 net-_q30-pad1_ net-_q27-pad1_ 1450
+q28 net-_q27-pad3_ net-_q28-pad2_ net-_q28-pad3_ Q2N2222
+r22 net-_q28-pad3_ net-_q31-pad3_ 400
+q31 net-_q31-pad1_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+q33 net-_q33-pad1_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+q36 net-_q34-pad3_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+r32 net-_q30-pad1_ net-_q42-pad2_ 4k
+r34 net-_q30-pad1_ net-_q45-pad3_ 1.4k
+r37 net-_q30-pad1_ net-_q49-pad1_ 85
+q42 net-_q42-pad1_ net-_q42-pad2_ net-_q37-pad1_ Q2N2222
+q48 net-_q45-pad3_ net-_q42-pad1_ net-_d4-pad1_ Q2N2222
+q45 net-_q42-pad1_ net-_q42-pad2_ net-_q45-pad3_ Q2N2222
+q46 net-_q45-pad3_ net-_q42-pad1_ net-_q46-pad3_ Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+q49 net-_q49-pad1_ net-_q45-pad3_ net-_d4-pad1_ Q2N2222
+r35 net-_q46-pad3_ net-_q50-pad2_ 205
+r36 net-_q50-pad2_ gnd 800
+q50 net-_d4-pad2_ net-_q50-pad2_ gnd Q2N2222
+q51 net-_q30-pad1_ net-_q51-pad2_ net-_q51-pad3_ Q2N2222
+r38 net-_q51-pad3_ net-_q28-pad2_ 3.2k
+r39 net-_q28-pad2_ net-_q31-pad2_ 387
+r40 net-_q30-pad1_ net-_q51-pad2_ 5k
+* u9 net-_q31-pad3_ net-_q51-pad2_ zener
+q52 net-_q31-pad2_ net-_q31-pad2_ net-_q31-pad3_ Q2N2222
+a1 net-_q31-pad1_ net-_q30-pad3_ u7
+a2 net-_q33-pad1_ net-_q32-pad3_ u8
+a3 net-_q31-pad3_ net-_q51-pad2_ u9
+* Schematic Name: zener, NgSpice Name: zener
+.model u7 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 u8 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 u9 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 LM160_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM160_Sub/LM160_Sub_Previous_Values.xml b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub_Previous_Values.xml
new file mode 100644
index 00000000..0d58ec96
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/LM160_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u2 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></u2><u3 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></u3><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field14><field15 name="Enter Switch for Limiting (default=FALSE)">FALSE</field15></u4><u7 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></u7><u8 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></u8><u9 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field14><field15 name="Enter Switch for Limiting (default=FALSE)">FALSE</field15></u9></model><devicemodel><q39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q39><q43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q43><q40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q40><q41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q41><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q44><q47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q47><q30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q30><q32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q32><q34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q34><q35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q35><q37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q37><q38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q38><q29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q29><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q28><q31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q31><q33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q33><q36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q36><q42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q42><q48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q48><q45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q45><q46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q46><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q49><q50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q50><q51><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q51><q52><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q52></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LM160_Sub/NPN.lib b/library/SubcircuitLibrary/LM160_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/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/LM160_Sub/analysis b/library/SubcircuitLibrary/LM160_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM160_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib
new file mode 100644
index 00000000..c3224acc
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib
@@ -0,0 +1,142 @@
+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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+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
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir
new file mode 100644
index 00000000..5ad8d920
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir
@@ -0,0 +1,55 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM358_Sub\LM358_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/14/24 10:45:14
+
+* 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: /
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_I1-Pad2_ eSim_PNP
+Q1 Net-_I10-Pad2_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q5-Pad2_ Net-_I1-Pad2_ eSim_PNP
+Q6 Net-_I10-Pad2_ Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+I1 Net-_I1-Pad1_ Net-_I1-Pad2_ 6uA
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q4 Net-_C1-Pad2_ Net-_Q2-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q7 Net-_I10-Pad2_ Net-_C1-Pad2_ Net-_I2-Pad2_ eSim_PNP
+Q8 Net-_I1-Pad1_ Net-_I2-Pad2_ Net-_I3-Pad1_ eSim_NPN
+Q9 Net-_C1-Pad1_ Net-_I3-Pad1_ Net-_I10-Pad2_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+I4 Net-_I1-Pad1_ Net-_C1-Pad1_ 100uA
+Q11 Net-_I1-Pad1_ Net-_C1-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q10 Net-_C1-Pad1_ Net-_Q10-Pad2_ Net-_I5-Pad1_ eSim_NPN
+Q12 Net-_I1-Pad1_ Net-_Q11-Pad3_ Net-_Q10-Pad2_ eSim_NPN
+R3 Net-_Q10-Pad2_ Net-_I5-Pad1_ 300
+Q13 Net-_I10-Pad2_ Net-_C1-Pad1_ Net-_I5-Pad1_ eSim_PNP
+I5 Net-_I5-Pad1_ Net-_I10-Pad2_ 50uA
+R1 Net-_R1-Pad1_ Net-_Q1-Pad2_ 4k
+R2 Net-_Q1-Pad2_ Net-_I5-Pad1_ 10k
+I2 Net-_I1-Pad1_ Net-_I2-Pad2_ 4uA
+I3 Net-_I3-Pad1_ Net-_I10-Pad2_ 50uA
+U1 Net-_I5-Pad1_ Net-_R1-Pad1_ Net-_Q6-Pad2_ Net-_I10-Pad2_ Net-_Q19-Pad2_ Net-_R4-Pad1_ Net-_I10-Pad1_ Net-_I1-Pad1_ PORT
+Q15 Net-_Q15-Pad1_ Net-_Q14-Pad3_ Net-_I6-Pad2_ eSim_PNP
+Q14 Net-_I10-Pad2_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_PNP
+Q18 Net-_C2-Pad2_ Net-_Q18-Pad2_ Net-_I6-Pad2_ eSim_PNP
+Q19 Net-_I10-Pad2_ Net-_Q19-Pad2_ Net-_Q18-Pad2_ eSim_PNP
+I6 Net-_I1-Pad1_ Net-_I6-Pad2_ 6uA
+Q16 Net-_Q15-Pad1_ Net-_Q15-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q17 Net-_C2-Pad2_ Net-_Q15-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q20 Net-_I10-Pad2_ Net-_C2-Pad2_ Net-_I7-Pad2_ eSim_PNP
+Q21 Net-_I1-Pad1_ Net-_I7-Pad2_ Net-_I8-Pad1_ eSim_NPN
+Q22 Net-_C2-Pad1_ Net-_I8-Pad1_ Net-_I10-Pad2_ eSim_NPN
+C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 20pF
+I9 Net-_I1-Pad1_ Net-_C2-Pad1_ 100uA
+Q24 Net-_I1-Pad1_ Net-_C2-Pad1_ Net-_Q24-Pad3_ eSim_NPN
+Q23 Net-_C2-Pad1_ Net-_Q23-Pad2_ Net-_I10-Pad1_ eSim_NPN
+Q25 Net-_I1-Pad1_ Net-_Q24-Pad3_ Net-_Q23-Pad2_ eSim_NPN
+R6 Net-_Q23-Pad2_ Net-_I10-Pad1_ 300
+Q26 Net-_I10-Pad2_ Net-_C2-Pad1_ Net-_I10-Pad1_ eSim_PNP
+I10 Net-_I10-Pad1_ Net-_I10-Pad2_ 50uA
+R4 Net-_R4-Pad1_ Net-_Q14-Pad2_ 4k
+R5 Net-_Q14-Pad2_ Net-_I10-Pad1_ 10k
+I7 Net-_I1-Pad1_ Net-_I7-Pad2_ 4uA
+I8 Net-_I8-Pad1_ Net-_I10-Pad2_ 50uA
+
+.end
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out
new file mode 100644
index 00000000..204485a1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out
@@ -0,0 +1,58 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm358_sub\lm358_sub.cir
+
+.include NPN.lib
+.include PNP.lib
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i10-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i10-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q7 net-_i10-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i10-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r3 net-_q10-pad2_ net-_i5-pad1_ 300
+q13 net-_i10-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+i5 net-_i5-pad1_ net-_i10-pad2_ 50ua
+r1 net-_r1-pad1_ net-_q1-pad2_ 4k
+r2 net-_q1-pad2_ net-_i5-pad1_ 10k
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i3 net-_i3-pad1_ net-_i10-pad2_ 50ua
+* u1 net-_i5-pad1_ net-_r1-pad1_ net-_q6-pad2_ net-_i10-pad2_ net-_q19-pad2_ net-_r4-pad1_ net-_i10-pad1_ net-_i1-pad1_ port
+q15 net-_q15-pad1_ net-_q14-pad3_ net-_i6-pad2_ Q2N2907A
+q14 net-_i10-pad2_ net-_q14-pad2_ net-_q14-pad3_ Q2N2907A
+q18 net-_c2-pad2_ net-_q18-pad2_ net-_i6-pad2_ Q2N2907A
+q19 net-_i10-pad2_ net-_q19-pad2_ net-_q18-pad2_ Q2N2907A
+i6 net-_i1-pad1_ net-_i6-pad2_ 6ua
+q16 net-_q15-pad1_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q17 net-_c2-pad2_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q20 net-_i10-pad2_ net-_c2-pad2_ net-_i7-pad2_ Q2N2907A
+q21 net-_i1-pad1_ net-_i7-pad2_ net-_i8-pad1_ Q2N2222
+q22 net-_c2-pad1_ net-_i8-pad1_ net-_i10-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+i9 net-_i1-pad1_ net-_c2-pad1_ 100ua
+q24 net-_i1-pad1_ net-_c2-pad1_ net-_q24-pad3_ Q2N2222
+q23 net-_c2-pad1_ net-_q23-pad2_ net-_i10-pad1_ Q2N2222
+q25 net-_i1-pad1_ net-_q24-pad3_ net-_q23-pad2_ Q2N2222
+r6 net-_q23-pad2_ net-_i10-pad1_ 300
+q26 net-_i10-pad2_ net-_c2-pad1_ net-_i10-pad1_ Q2N2907A
+i10 net-_i10-pad1_ net-_i10-pad2_ 50ua
+r4 net-_r4-pad1_ net-_q14-pad2_ 4k
+r5 net-_q14-pad2_ net-_i10-pad1_ 10k
+i7 net-_i1-pad1_ net-_i7-pad2_ 4ua
+i8 net-_i8-pad1_ net-_i10-pad2_ 50ua
+.tran 0.1e-03 100e-03 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/LM358_Sub/LM358_Sub.pro b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
new file mode 100644
index 00000000..39e44889
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
@@ -0,0 +1,951 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM358-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 23654 9859
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_PNP Q2
+U 1 1 66935C27
+P 2850 3550
+F 0 "Q2" H 2750 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 2800 3700 50 0000 R CNN
+F 2 "" H 3050 3650 29 0000 C CNN
+F 3 "" H 2850 3550 60 0000 C CNN
+ 1 2850 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 66935C28
+P 2450 4100
+F 0 "Q1" H 2350 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 2400 4250 50 0000 R CNN
+F 2 "" H 2650 4200 29 0000 C CNN
+F 3 "" H 2450 4100 60 0000 C CNN
+ 1 2450 4100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 66935C29
+P 4200 3500
+F 0 "Q5" H 4100 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 4150 3650 50 0000 R CNN
+F 2 "" H 4400 3600 29 0000 C CNN
+F 3 "" H 4200 3500 60 0000 C CNN
+ 1 4200 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 66935C2A
+P 4700 4100
+F 0 "Q6" H 4600 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 4650 4250 50 0000 R CNN
+F 2 "" H 4900 4200 29 0000 C CNN
+F 3 "" H 4700 4100 60 0000 C CNN
+ 1 4700 4100
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I1
+U 1 1 66935C2B
+P 3500 2550
+F 0 "I1" H 3300 2650 60 0000 C CNN
+F 1 "6uA" H 3300 2500 60 0000 C CNN
+F 2 "R1" H 3200 2550 60 0000 C CNN
+F 3 "" H 3500 2550 60 0000 C CNN
+ 1 3500 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66935C2C
+P 3100 5650
+F 0 "Q3" H 3000 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 3050 5800 50 0000 R CNN
+F 2 "" H 3300 5750 29 0000 C CNN
+F 3 "" H 3100 5650 60 0000 C CNN
+ 1 3100 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66935C2D
+P 4000 5650
+F 0 "Q4" H 3900 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 5800 50 0000 R CNN
+F 2 "" H 4200 5750 29 0000 C CNN
+F 3 "" H 4000 5650 60 0000 C CNN
+ 1 4000 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 66935C2E
+P 5900 4900
+F 0 "Q7" H 5800 4950 50 0000 R CNN
+F 1 "eSim_PNP" H 5850 5050 50 0000 R CNN
+F 2 "" H 6100 5000 29 0000 C CNN
+F 3 "" H 5900 4900 60 0000 C CNN
+ 1 5900 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 66935C2F
+P 7000 4000
+F 0 "Q8" H 6900 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 6950 4150 50 0000 R CNN
+F 2 "" H 7200 4100 29 0000 C CNN
+F 3 "" H 7000 4000 60 0000 C CNN
+ 1 7000 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 66935C30
+P 7800 5200
+F 0 "Q9" H 7700 5250 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 5350 50 0000 R CNN
+F 2 "" H 8000 5300 29 0000 C CNN
+F 3 "" H 7800 5200 60 0000 C CNN
+ 1 7800 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 66935C31
+P 5550 3950
+F 0 "C1" H 5575 4050 50 0000 L CNN
+F 1 "20pF" H 5575 3850 50 0000 L CNN
+F 2 "" H 5588 3800 30 0000 C CNN
+F 3 "" H 5550 3950 60 0000 C CNN
+ 1 5550 3950
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 66935C32
+P 7900 2600
+F 0 "I4" H 7700 2700 60 0000 C CNN
+F 1 "100uA" H 7700 2550 60 0000 C CNN
+F 2 "R1" H 7600 2600 60 0000 C CNN
+F 3 "" H 7900 2600 60 0000 C CNN
+ 1 7900 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66935C33
+P 9100 3100
+F 0 "Q11" H 9000 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 9050 3250 50 0000 R CNN
+F 2 "" H 9300 3200 29 0000 C CNN
+F 3 "" H 9100 3100 60 0000 C CNN
+ 1 9100 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 66935C34
+P 8900 3750
+F 0 "Q10" H 8800 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 3900 50 0000 R CNN
+F 2 "" H 9100 3850 29 0000 C CNN
+F 3 "" H 8900 3750 60 0000 C CNN
+ 1 8900 3750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 66935C35
+P 9900 3300
+F 0 "Q12" H 9800 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 3450 50 0000 R CNN
+F 2 "" H 10100 3400 29 0000 C CNN
+F 3 "" H 9900 3300 60 0000 C CNN
+ 1 9900 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66935C36
+P 9950 4000
+F 0 "R3" H 10000 4130 50 0000 C CNN
+F 1 "300" H 10000 3950 50 0000 C CNN
+F 2 "" H 10000 3980 30 0000 C CNN
+F 3 "" V 10000 4050 30 0000 C CNN
+ 1 9950 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 66935C37
+P 9900 4900
+F 0 "Q13" H 9800 4950 50 0000 R CNN
+F 1 "eSim_PNP" H 9850 5050 50 0000 R CNN
+F 2 "" H 10100 5000 29 0000 C CNN
+F 3 "" H 9900 4900 60 0000 C CNN
+ 1 9900 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L dc I5
+U 1 1 66935C38
+P 8750 5550
+F 0 "I5" H 8550 5650 60 0000 C CNN
+F 1 "50uA" H 8550 5500 60 0000 C CNN
+F 2 "R1" H 8450 5550 60 0000 C CNN
+F 3 "" H 8750 5550 60 0000 C CNN
+ 1 8750 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66935C39
+P 1600 4150
+F 0 "R1" H 1650 4280 50 0000 C CNN
+F 1 "4k" H 1650 4100 50 0000 C CNN
+F 2 "" H 1650 4130 30 0000 C CNN
+F 3 "" V 1650 4200 30 0000 C CNN
+ 1 1600 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66935C3D
+P 5800 1900
+F 0 "R2" H 5850 2030 50 0000 C CNN
+F 1 "10k" H 5850 1850 50 0000 C CNN
+F 2 "" H 5850 1880 30 0000 C CNN
+F 3 "" V 5850 1950 30 0000 C CNN
+ 1 5800 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 66935C43
+P 6000 2800
+F 0 "I2" H 5800 2900 60 0000 C CNN
+F 1 "4uA" H 5800 2750 60 0000 C CNN
+F 2 "R1" H 5700 2800 60 0000 C CNN
+F 3 "" H 6000 2800 60 0000 C CNN
+ 1 6000 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 66935C47
+P 7100 5950
+F 0 "I3" H 6900 6050 60 0000 C CNN
+F 1 "50uA" H 6900 5900 60 0000 C CNN
+F 2 "R1" H 6800 5950 60 0000 C CNN
+F 3 "" H 7100 5950 60 0000 C CNN
+ 1 7100 5950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2650 3550 2550 3550
+Wire Wire Line
+ 2550 3550 2550 3900
+Wire Wire Line
+ 2950 3350 2950 3200
+Wire Wire Line
+ 2950 3200 4100 3200
+Wire Wire Line
+ 4100 3200 4100 3300
+Wire Wire Line
+ 4400 3500 4600 3500
+Wire Wire Line
+ 4600 3500 4600 3900
+Wire Wire Line
+ 4100 3700 4100 5450
+Wire Wire Line
+ 2950 3750 2950 5450
+Wire Wire Line
+ 2950 5450 3000 5450
+Wire Wire Line
+ 3300 5650 3800 5650
+Wire Wire Line
+ 2950 5100 3600 5100
+Wire Wire Line
+ 3600 5100 3600 5650
+Connection ~ 3600 5650
+Connection ~ 2950 5100
+Wire Wire Line
+ 1800 4100 2250 4100
+Wire Wire Line
+ 4900 4100 5200 4100
+Wire Wire Line
+ 5200 4100 5200 4500
+Wire Wire Line
+ 5200 4500 1650 4500
+Wire Wire Line
+ 3500 3000 3500 3200
+Connection ~ 3500 3200
+Wire Wire Line
+ 6000 4700 6000 3250
+Wire Wire Line
+ 6800 4000 6000 4000
+Connection ~ 6000 4000
+Wire Wire Line
+ 3500 2100 3500 2050
+Wire Wire Line
+ 3500 2050 10600 2050
+Wire Wire Line
+ 6000 2350 6000 2050
+Connection ~ 6000 2050
+Wire Wire Line
+ 6000 5100 6000 6650
+Wire Wire Line
+ 5700 4900 4100 4900
+Connection ~ 4100 4900
+Wire Wire Line
+ 5550 4900 5550 4100
+Connection ~ 5550 4900
+Wire Wire Line
+ 7100 2050 7100 3800
+Wire Wire Line
+ 7100 4200 7100 5500
+Wire Wire Line
+ 5550 3100 5550 3800
+Wire Wire Line
+ 7900 3050 7900 5000
+Connection ~ 7100 2050
+Wire Wire Line
+ 7900 2050 7900 2150
+Wire Wire Line
+ 9200 2050 9200 2900
+Connection ~ 7900 2050
+Wire Wire Line
+ 10000 2050 10000 3100
+Connection ~ 9200 2050
+Wire Wire Line
+ 10000 3500 10000 3900
+Wire Wire Line
+ 8750 4450 11150 4450
+Wire Wire Line
+ 10000 4200 10000 4700
+Connection ~ 10000 4450
+Wire Wire Line
+ 7100 5200 7600 5200
+Wire Wire Line
+ 9700 4900 8550 4900
+Wire Wire Line
+ 8550 4900 8550 4400
+Wire Wire Line
+ 8550 4400 7900 4400
+Connection ~ 7900 4400
+Wire Wire Line
+ 10000 6650 10000 5100
+Wire Wire Line
+ 3000 5850 3000 7050
+Wire Wire Line
+ 4100 5850 4100 7050
+Wire Wire Line
+ 8750 6000 8750 6650
+Wire Wire Line
+ 5750 6650 10000 6650
+Wire Wire Line
+ 7900 5400 7900 6650
+Connection ~ 7900 6650
+Wire Wire Line
+ 5750 7050 5750 6650
+Wire Wire Line
+ 1800 7050 5750 7050
+Connection ~ 6000 6650
+Wire Wire Line
+ 4600 4300 4600 7050
+Connection ~ 4600 7050
+Connection ~ 4100 7050
+Wire Wire Line
+ 2050 4100 2050 1850
+Wire Wire Line
+ 2050 1850 5700 1850
+Connection ~ 2050 4100
+Wire Wire Line
+ 6000 1850 10900 1850
+Connection ~ 10000 2050
+Wire Wire Line
+ 2550 4300 2550 7050
+Connection ~ 3000 7050
+Connection ~ 2550 7050
+Connection ~ 7100 5200
+Wire Wire Line
+ 7100 6400 7100 6650
+Connection ~ 7100 6650
+Wire Wire Line
+ 10900 1850 10900 4450
+Connection ~ 8750 4450
+Connection ~ 8750 6650
+Connection ~ 10900 4450
+Wire Wire Line
+ 8750 3950 8750 5100
+Wire Wire Line
+ 9100 3750 10000 3750
+Connection ~ 10000 3750
+Wire Wire Line
+ 5550 3100 8900 3100
+Connection ~ 8800 3100
+Wire Wire Line
+ 9200 3300 9700 3300
+Connection ~ 7900 3100
+Wire Wire Line
+ 8800 3100 8800 3550
+Wire Wire Line
+ 8750 3950 8800 3950
+Wire Wire Line
+ 1500 4100 1350 4100
+$Comp
+L PORT U1
+U 1 1 66936445
+P 11150 4700
+F 0 "U1" H 11200 4800 30 0000 C CNN
+F 1 "PORT" H 11150 4700 30 0000 C CNN
+F 2 "" H 11150 4700 60 0000 C CNN
+F 3 "" H 11150 4700 60 0000 C CNN
+ 1 11150 4700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6693653C
+P 11500 3400
+F 0 "U1" H 11550 3500 30 0000 C CNN
+F 1 "PORT" H 11500 3400 30 0000 C CNN
+F 2 "" H 11500 3400 60 0000 C CNN
+F 3 "" H 11500 3400 60 0000 C CNN
+ 6 11500 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 669366C9
+P 1100 4100
+F 0 "U1" H 1150 4200 30 0000 C CNN
+F 1 "PORT" H 1100 4100 30 0000 C CNN
+F 2 "" H 1100 4100 60 0000 C CNN
+F 3 "" H 1100 4100 60 0000 C CNN
+ 2 1100 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 66936742
+P 1400 4500
+F 0 "U1" H 1450 4600 30 0000 C CNN
+F 1 "PORT" H 1400 4500 30 0000 C CNN
+F 2 "" H 1400 4500 60 0000 C CNN
+F 3 "" H 1400 4500 60 0000 C CNN
+ 3 1400 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 66936821
+P 1550 7050
+F 0 "U1" H 1600 7150 30 0000 C CNN
+F 1 "PORT" H 1550 7050 30 0000 C CNN
+F 2 "" H 1550 7050 60 0000 C CNN
+F 3 "" H 1550 7050 60 0000 C CNN
+ 4 1550 7050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q15
+U 1 1 66937662
+P 13250 2850
+F 0 "Q15" H 13150 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 13200 3000 50 0000 R CNN
+F 2 "" H 13450 2950 29 0000 C CNN
+F 3 "" H 13250 2850 60 0000 C CNN
+ 1 13250 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 66937668
+P 12850 3400
+F 0 "Q14" H 12750 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 12800 3550 50 0000 R CNN
+F 2 "" H 13050 3500 29 0000 C CNN
+F 3 "" H 12850 3400 60 0000 C CNN
+ 1 12850 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 6693766E
+P 14600 2800
+F 0 "Q18" H 14500 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 14550 2950 50 0000 R CNN
+F 2 "" H 14800 2900 29 0000 C CNN
+F 3 "" H 14600 2800 60 0000 C CNN
+ 1 14600 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 66937674
+P 15100 3400
+F 0 "Q19" H 15000 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 15050 3550 50 0000 R CNN
+F 2 "" H 15300 3500 29 0000 C CNN
+F 3 "" H 15100 3400 60 0000 C CNN
+ 1 15100 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I6
+U 1 1 6693767A
+P 13900 1850
+F 0 "I6" H 13700 1950 60 0000 C CNN
+F 1 "6uA" H 13700 1800 60 0000 C CNN
+F 2 "R1" H 13600 1850 60 0000 C CNN
+F 3 "" H 13900 1850 60 0000 C CNN
+ 1 13900 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66937680
+P 13500 4950
+F 0 "Q16" H 13400 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 13450 5100 50 0000 R CNN
+F 2 "" H 13700 5050 29 0000 C CNN
+F 3 "" H 13500 4950 60 0000 C CNN
+ 1 13500 4950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 66937686
+P 14400 4950
+F 0 "Q17" H 14300 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 14350 5100 50 0000 R CNN
+F 2 "" H 14600 5050 29 0000 C CNN
+F 3 "" H 14400 4950 60 0000 C CNN
+ 1 14400 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 6693768C
+P 16300 4200
+F 0 "Q20" H 16200 4250 50 0000 R CNN
+F 1 "eSim_PNP" H 16250 4350 50 0000 R CNN
+F 2 "" H 16500 4300 29 0000 C CNN
+F 3 "" H 16300 4200 60 0000 C CNN
+ 1 16300 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 66937692
+P 17400 3300
+F 0 "Q21" H 17300 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 17350 3450 50 0000 R CNN
+F 2 "" H 17600 3400 29 0000 C CNN
+F 3 "" H 17400 3300 60 0000 C CNN
+ 1 17400 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 66937698
+P 18200 4500
+F 0 "Q22" H 18100 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 18150 4650 50 0000 R CNN
+F 2 "" H 18400 4600 29 0000 C CNN
+F 3 "" H 18200 4500 60 0000 C CNN
+ 1 18200 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 6693769E
+P 15950 3250
+F 0 "C2" H 15975 3350 50 0000 L CNN
+F 1 "20pF" H 15975 3150 50 0000 L CNN
+F 2 "" H 15988 3100 30 0000 C CNN
+F 3 "" H 15950 3250 60 0000 C CNN
+ 1 15950 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I9
+U 1 1 669376A4
+P 18300 1900
+F 0 "I9" H 18100 2000 60 0000 C CNN
+F 1 "100uA" H 18100 1850 60 0000 C CNN
+F 2 "R1" H 18000 1900 60 0000 C CNN
+F 3 "" H 18300 1900 60 0000 C CNN
+ 1 18300 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 669376AA
+P 19500 2400
+F 0 "Q24" H 19400 2450 50 0000 R CNN
+F 1 "eSim_NPN" H 19450 2550 50 0000 R CNN
+F 2 "" H 19700 2500 29 0000 C CNN
+F 3 "" H 19500 2400 60 0000 C CNN
+ 1 19500 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 669376B0
+P 19300 3050
+F 0 "Q23" H 19200 3100 50 0000 R CNN
+F 1 "eSim_NPN" H 19250 3200 50 0000 R CNN
+F 2 "" H 19500 3150 29 0000 C CNN
+F 3 "" H 19300 3050 60 0000 C CNN
+ 1 19300 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 669376B6
+P 20300 2600
+F 0 "Q25" H 20200 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 20250 2750 50 0000 R CNN
+F 2 "" H 20500 2700 29 0000 C CNN
+F 3 "" H 20300 2600 60 0000 C CNN
+ 1 20300 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 669376BC
+P 20350 3300
+F 0 "R6" H 20400 3430 50 0000 C CNN
+F 1 "300" H 20400 3250 50 0000 C CNN
+F 2 "" H 20400 3280 30 0000 C CNN
+F 3 "" V 20400 3350 30 0000 C CNN
+ 1 20350 3300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 669376C2
+P 20300 4200
+F 0 "Q26" H 20200 4250 50 0000 R CNN
+F 1 "eSim_PNP" H 20250 4350 50 0000 R CNN
+F 2 "" H 20500 4300 29 0000 C CNN
+F 3 "" H 20300 4200 60 0000 C CNN
+ 1 20300 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L dc I10
+U 1 1 669376C8
+P 19150 4850
+F 0 "I10" H 18950 4950 60 0000 C CNN
+F 1 "50uA" H 18950 4800 60 0000 C CNN
+F 2 "R1" H 18850 4850 60 0000 C CNN
+F 3 "" H 19150 4850 60 0000 C CNN
+ 1 19150 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 669376CE
+P 12000 3450
+F 0 "R4" H 12050 3580 50 0000 C CNN
+F 1 "4k" H 12050 3400 50 0000 C CNN
+F 2 "" H 12050 3430 30 0000 C CNN
+F 3 "" V 12050 3500 30 0000 C CNN
+ 1 12000 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 669376D4
+P 16200 1200
+F 0 "R5" H 16250 1330 50 0000 C CNN
+F 1 "10k" H 16250 1150 50 0000 C CNN
+F 2 "" H 16250 1180 30 0000 C CNN
+F 3 "" V 16250 1250 30 0000 C CNN
+ 1 16200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I7
+U 1 1 669376DA
+P 16400 2100
+F 0 "I7" H 16200 2200 60 0000 C CNN
+F 1 "4uA" H 16200 2050 60 0000 C CNN
+F 2 "R1" H 16100 2100 60 0000 C CNN
+F 3 "" H 16400 2100 60 0000 C CNN
+ 1 16400 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I8
+U 1 1 669376E0
+P 17500 5250
+F 0 "I8" H 17300 5350 60 0000 C CNN
+F 1 "50uA" H 17300 5200 60 0000 C CNN
+F 2 "R1" H 17200 5250 60 0000 C CNN
+F 3 "" H 17500 5250 60 0000 C CNN
+ 1 17500 5250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 13050 2850 12950 2850
+Wire Wire Line
+ 12950 2850 12950 3200
+Wire Wire Line
+ 13350 2650 13350 2500
+Wire Wire Line
+ 13350 2500 14500 2500
+Wire Wire Line
+ 14500 2500 14500 2600
+Wire Wire Line
+ 14800 2800 15000 2800
+Wire Wire Line
+ 15000 2800 15000 3200
+Wire Wire Line
+ 14500 3000 14500 4750
+Wire Wire Line
+ 13350 3050 13350 4750
+Wire Wire Line
+ 13350 4750 13400 4750
+Wire Wire Line
+ 13700 4950 14200 4950
+Wire Wire Line
+ 13350 4400 14000 4400
+Wire Wire Line
+ 14000 4400 14000 4950
+Connection ~ 14000 4950
+Connection ~ 13350 4400
+Wire Wire Line
+ 12200 3400 12650 3400
+Wire Wire Line
+ 15300 3400 15600 3400
+Wire Wire Line
+ 15600 3400 15600 3800
+Wire Wire Line
+ 15600 3800 12050 3800
+Wire Wire Line
+ 13900 2300 13900 2500
+Connection ~ 13900 2500
+Wire Wire Line
+ 16400 4000 16400 2550
+Wire Wire Line
+ 17200 3300 16400 3300
+Connection ~ 16400 3300
+Wire Wire Line
+ 13900 1400 13900 1350
+Wire Wire Line
+ 13900 1350 21000 1350
+Wire Wire Line
+ 16400 1650 16400 1350
+Connection ~ 16400 1350
+Wire Wire Line
+ 16400 4400 16400 5950
+Wire Wire Line
+ 16100 4200 14500 4200
+Connection ~ 14500 4200
+Wire Wire Line
+ 15950 4200 15950 3400
+Connection ~ 15950 4200
+Wire Wire Line
+ 17500 1350 17500 3100
+Wire Wire Line
+ 17500 3500 17500 4800
+Wire Wire Line
+ 15950 2400 15950 3100
+Wire Wire Line
+ 18300 2350 18300 4300
+Connection ~ 17500 1350
+Wire Wire Line
+ 18300 1350 18300 1450
+Wire Wire Line
+ 19600 1350 19600 2200
+Connection ~ 18300 1350
+Wire Wire Line
+ 20400 1350 20400 2400
+Connection ~ 19600 1350
+Wire Wire Line
+ 20400 2800 20400 3200
+Wire Wire Line
+ 19150 3750 21550 3750
+Wire Wire Line
+ 20400 3500 20400 4000
+Connection ~ 20400 3750
+Wire Wire Line
+ 17500 4500 18000 4500
+Wire Wire Line
+ 20100 4200 18950 4200
+Wire Wire Line
+ 18950 4200 18950 3700
+Wire Wire Line
+ 18950 3700 18300 3700
+Connection ~ 18300 3700
+Wire Wire Line
+ 20400 5950 20400 4400
+Wire Wire Line
+ 13400 5150 13400 6350
+Wire Wire Line
+ 14500 5150 14500 6350
+Wire Wire Line
+ 19150 5300 19150 5950
+Wire Wire Line
+ 16150 5950 20400 5950
+Wire Wire Line
+ 18300 4700 18300 5950
+Connection ~ 18300 5950
+Wire Wire Line
+ 16150 6350 16150 5950
+Wire Wire Line
+ 10900 6350 16150 6350
+Connection ~ 16400 5950
+Wire Wire Line
+ 15000 3600 15000 6350
+Connection ~ 15000 6350
+Connection ~ 14500 6350
+Wire Wire Line
+ 12450 3400 12450 1150
+Wire Wire Line
+ 12450 1150 16100 1150
+Connection ~ 12450 3400
+Wire Wire Line
+ 16400 1150 21300 1150
+Connection ~ 20400 1350
+Wire Wire Line
+ 12950 3600 12950 6350
+Connection ~ 13400 6350
+Connection ~ 12950 6350
+Connection ~ 17500 4500
+Wire Wire Line
+ 17500 5700 17500 5950
+Connection ~ 17500 5950
+Wire Wire Line
+ 21300 1150 21300 3750
+Connection ~ 19150 3750
+Connection ~ 19150 5950
+Connection ~ 21300 3750
+Wire Wire Line
+ 19150 3250 19150 4400
+Wire Wire Line
+ 19500 3050 20400 3050
+Connection ~ 20400 3050
+Wire Wire Line
+ 15950 2400 19300 2400
+Connection ~ 19200 2400
+Wire Wire Line
+ 19600 2600 20100 2600
+Connection ~ 18300 2400
+Wire Wire Line
+ 19200 2400 19200 2850
+Wire Wire Line
+ 19150 3250 19200 3250
+Wire Wire Line
+ 11900 3400 11750 3400
+$Comp
+L PORT U1
+U 5 1 669381BE
+P 11800 3800
+F 0 "U1" H 11850 3900 30 0000 C CNN
+F 1 "PORT" H 11800 3800 30 0000 C CNN
+F 2 "" H 11800 3800 60 0000 C CNN
+F 3 "" H 11800 3800 60 0000 C CNN
+ 5 11800 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6693824D
+P 10600 2300
+F 0 "U1" H 10650 2400 30 0000 C CNN
+F 1 "PORT" H 10600 2300 30 0000 C CNN
+F 2 "" H 10600 2300 60 0000 C CNN
+F 3 "" H 10600 2300 60 0000 C CNN
+ 8 10600 2300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 669382D4
+P 21800 3750
+F 0 "U1" H 21850 3850 30 0000 C CNN
+F 1 "PORT" H 21800 3750 30 0000 C CNN
+F 2 "" H 21800 3750 60 0000 C CNN
+F 3 "" H 21800 3750 60 0000 C CNN
+ 7 21800 3750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 21000 1350 21000 800
+Wire Wire Line
+ 21000 800 11200 800
+Wire Wire Line
+ 11200 800 11200 1950
+Wire Wire Line
+ 11200 1950 10500 1950
+Wire Wire Line
+ 10500 1950 10500 2050
+Connection ~ 10500 2050
+Wire Wire Line
+ 10900 6350 10900 7500
+Wire Wire Line
+ 10900 7500 2000 7500
+Wire Wire Line
+ 2000 7500 2000 7050
+Connection ~ 2000 7050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub
new file mode 100644
index 00000000..2841d6c0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub
@@ -0,0 +1,52 @@
+* Subcircuit LM358_Sub
+.subckt LM358_Sub net-_i5-pad1_ net-_r1-pad1_ net-_q6-pad2_ net-_i10-pad2_ net-_q19-pad2_ net-_r4-pad1_ net-_i10-pad1_ net-_i1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\lm358_sub\lm358_sub.cir
+.include NPN.lib
+.include PNP.lib
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i10-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i10-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q7 net-_i10-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i10-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r3 net-_q10-pad2_ net-_i5-pad1_ 300
+q13 net-_i10-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+i5 net-_i5-pad1_ net-_i10-pad2_ 50ua
+r1 net-_r1-pad1_ net-_q1-pad2_ 4k
+r2 net-_q1-pad2_ net-_i5-pad1_ 10k
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i3 net-_i3-pad1_ net-_i10-pad2_ 50ua
+q15 net-_q15-pad1_ net-_q14-pad3_ net-_i6-pad2_ Q2N2907A
+q14 net-_i10-pad2_ net-_q14-pad2_ net-_q14-pad3_ Q2N2907A
+q18 net-_c2-pad2_ net-_q18-pad2_ net-_i6-pad2_ Q2N2907A
+q19 net-_i10-pad2_ net-_q19-pad2_ net-_q18-pad2_ Q2N2907A
+i6 net-_i1-pad1_ net-_i6-pad2_ 6ua
+q16 net-_q15-pad1_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q17 net-_c2-pad2_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q20 net-_i10-pad2_ net-_c2-pad2_ net-_i7-pad2_ Q2N2907A
+q21 net-_i1-pad1_ net-_i7-pad2_ net-_i8-pad1_ Q2N2222
+q22 net-_c2-pad1_ net-_i8-pad1_ net-_i10-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+i9 net-_i1-pad1_ net-_c2-pad1_ 100ua
+q24 net-_i1-pad1_ net-_c2-pad1_ net-_q24-pad3_ Q2N2222
+q23 net-_c2-pad1_ net-_q23-pad2_ net-_i10-pad1_ Q2N2222
+q25 net-_i1-pad1_ net-_q24-pad3_ net-_q23-pad2_ Q2N2222
+r6 net-_q23-pad2_ net-_i10-pad1_ 300
+q26 net-_i10-pad2_ net-_c2-pad1_ net-_i10-pad1_ Q2N2907A
+i10 net-_i10-pad1_ net-_i10-pad2_ 50ua
+r4 net-_r4-pad1_ net-_q14-pad2_ 4k
+r5 net-_q14-pad2_ net-_i10-pad1_ 10k
+i7 net-_i1-pad1_ net-_i7-pad2_ 4ua
+i8 net-_i8-pad1_ net-_i10-pad2_ 50ua
+* Control Statements
+
+.ends LM358_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml
new file mode 100644
index 00000000..50a3554d
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><i1 name="Source type">6ua</i1><i4 name="Source type">100ua</i4><i5 name="Source type">50ua</i5><i2 name="Source type">4ua</i2><i3 name="Source type">50ua</i3><i6 name="Source type">6ua</i6><i9 name="Source type">100ua</i9><i10 name="Source type">50ua</i10><i7 name="Source type">4ua</i7><i8 name="Source type">50ua</i8></source><model /><devicemodel><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q13><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q15><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q19><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q21><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q23><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q26></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">0</field1><field2 name="Step Time">0.1</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM358_Sub/NPN.lib b/library/SubcircuitLibrary/LM358_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/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/LM358_Sub/PNP.lib b/library/SubcircuitLibrary/LM358_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/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/LM358_Sub/analysis b/library/SubcircuitLibrary/LM358_Sub/analysis
new file mode 100644
index 00000000..402d01b4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.1e-03 100e-03 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub-cache.lib b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub-cache.lib
new file mode 100644
index 00000000..b61a5bef
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub-cache.lib
@@ -0,0 +1,123 @@
+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_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 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/LM4250_Sub/LM4250_Sub.cir b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir
new file mode 100644
index 00000000..d0beeaac
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir
@@ -0,0 +1,48 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM4250_Sub\LM4250_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/14/24 16:48:29
+
+* 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: /
+R3 Net-_Q17-Pad1_ Net-_Q1-Pad3_ 290
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q1-Pad3_ eSim_PNP
+R8 Net-_Q17-Pad1_ Net-_Q4-Pad3_ 5k
+Q4 Net-_Q4-Pad1_ Net-_Q1-Pad1_ Net-_Q4-Pad3_ eSim_PNP
+R7 Net-_R15-Pad1_ Net-_Q17-Pad1_ 100
+R9 Net-_Q4-Pad1_ Net-_Q6-Pad3_ 1k
+R4 Net-_Q4-Pad1_ Net-_Q2-Pad3_ 5.9k
+Q2 Net-_Q2-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_PNP
+Q6 Net-_C1-Pad1_ Net-_Q6-Pad2_ Net-_Q6-Pad3_ eSim_PNP
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_Q3-Pad3_ eSim_NPN
+Q5 Net-_C1-Pad1_ Net-_Q2-Pad1_ Net-_Q5-Pad3_ eSim_NPN
+R10 Net-_Q5-Pad3_ Net-_Q14-Pad3_ 5k
+R5 Net-_Q3-Pad3_ Net-_Q14-Pad3_ 5k
+Q7 Net-_Q14-Pad3_ Net-_C1-Pad1_ Net-_Q10-Pad1_ eSim_PNP
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_NPN
+Q8 Net-_Q10-Pad3_ Net-_Q2-Pad1_ Net-_Q8-Pad3_ eSim_NPN
+R12 Net-_Q8-Pad3_ Net-_Q14-Pad3_ 690
+Q9 Net-_Q10-Pad1_ Net-_Q1-Pad1_ Net-_Q9-Pad3_ eSim_PNP
+R13 Net-_Q17-Pad1_ Net-_Q9-Pad3_ 5k
+Q11 Net-_Q11-Pad1_ Net-_Q1-Pad1_ Net-_Q11-Pad3_ eSim_PNP
+R15 Net-_R15-Pad1_ Net-_Q11-Pad3_ 45
+Q12 Net-_Q11-Pad1_ Net-_Q11-Pad1_ Net-_Q12-Pad3_ eSim_NPN
+Q13 Net-_Q12-Pad3_ Net-_Q12-Pad3_ Net-_C1-Pad2_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30pF
+Q14 Net-_C1-Pad2_ Net-_Q10-Pad3_ Net-_Q14-Pad3_ eSim_NPN
+Q17 Net-_Q17-Pad1_ Net-_Q11-Pad1_ Net-_Q15-Pad2_ eSim_NPN
+Q15 Net-_Q11-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R16 Net-_Q15-Pad2_ Net-_Q15-Pad3_ 10
+R17 Net-_Q15-Pad3_ Net-_R17-Pad2_ 100
+R20 Net-_R14-Pad1_ Net-_R17-Pad2_ 100
+R2 Net-_Q2-Pad2_ Net-_R2-Pad2_ 1k
+R14 Net-_R14-Pad1_ Net-_Q2-Pad2_ 6k
+R18 Net-_R17-Pad2_ Net-_Q16-Pad3_ 50
+R19 Net-_Q16-Pad3_ Net-_Q16-Pad2_ 100
+Q16 Net-_C1-Pad2_ Net-_Q16-Pad2_ Net-_Q16-Pad3_ eSim_PNP
+Q18 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q16-Pad2_ eSim_PNP
+U1 Net-_Q3-Pad3_ Net-_R2-Pad2_ Net-_Q6-Pad2_ Net-_Q14-Pad3_ Net-_Q5-Pad3_ Net-_R14-Pad1_ Net-_R15-Pad1_ PORT
+U2 Net-_Q1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir.out b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir.out
new file mode 100644
index 00000000..8645616f
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.cir.out
@@ -0,0 +1,53 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm4250_sub\lm4250_sub.cir
+
+.include NPN.lib
+.include PNP.lib
+r3 net-_q17-pad1_ net-_q1-pad3_ 290
+q1 net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad3_ Q2N2907A
+r8 net-_q17-pad1_ net-_q4-pad3_ 5k
+q4 net-_q4-pad1_ net-_q1-pad1_ net-_q4-pad3_ Q2N2907A
+r7 net-_r15-pad1_ net-_q17-pad1_ 100
+r9 net-_q4-pad1_ net-_q6-pad3_ 1k
+r4 net-_q4-pad1_ net-_q2-pad3_ 5.9k
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2907A
+q6 net-_c1-pad1_ net-_q6-pad2_ net-_q6-pad3_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q3-pad3_ Q2N2222
+q5 net-_c1-pad1_ net-_q2-pad1_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad3_ net-_q14-pad3_ 5k
+r5 net-_q3-pad3_ net-_q14-pad3_ 5k
+q7 net-_q14-pad3_ net-_c1-pad1_ net-_q10-pad1_ Q2N2907A
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ Q2N2222
+q8 net-_q10-pad3_ net-_q2-pad1_ net-_q8-pad3_ Q2N2222
+r12 net-_q8-pad3_ net-_q14-pad3_ 690
+q9 net-_q10-pad1_ net-_q1-pad1_ net-_q9-pad3_ Q2N2907A
+r13 net-_q17-pad1_ net-_q9-pad3_ 5k
+q11 net-_q11-pad1_ net-_q1-pad1_ net-_q11-pad3_ Q2N2907A
+r15 net-_r15-pad1_ net-_q11-pad3_ 45
+q12 net-_q11-pad1_ net-_q11-pad1_ net-_q12-pad3_ Q2N2222
+q13 net-_q12-pad3_ net-_q12-pad3_ net-_c1-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 30pf
+q14 net-_c1-pad2_ net-_q10-pad3_ net-_q14-pad3_ Q2N2222
+q17 net-_q17-pad1_ net-_q11-pad1_ net-_q15-pad2_ Q2N2222
+q15 net-_q11-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r16 net-_q15-pad2_ net-_q15-pad3_ 10
+r17 net-_q15-pad3_ net-_r17-pad2_ 100
+r20 net-_r14-pad1_ net-_r17-pad2_ 100
+r2 net-_q2-pad2_ net-_r2-pad2_ 1k
+r14 net-_r14-pad1_ net-_q2-pad2_ 6k
+r1 net-_q1-pad1_ net-_q14-pad3_ 10k
+r6 net-_q14-pad3_ net-_q3-pad3_ 5k
+r11 net-_q5-pad3_ net-_q14-pad3_ 5k
+r18 net-_r17-pad2_ net-_q16-pad3_ 50
+r19 net-_q16-pad3_ net-_q16-pad2_ 100
+q16 net-_c1-pad2_ net-_q16-pad2_ net-_q16-pad3_ Q2N2907A
+q18 net-_q14-pad3_ net-_c1-pad2_ net-_q16-pad2_ Q2N2907A
+* u1 gnd net-_r2-pad2_ net-_q6-pad2_ net-_q14-pad3_ gnd net-_r14-pad1_ net-_r15-pad1_ gnd port
+.tran 0.1e-03 100e-03 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/LM4250_Sub/LM4250_Sub.pro b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sch b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sch
new file mode 100644
index 00000000..39f11329
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sch
@@ -0,0 +1,771 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM4250-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 12614
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R3
+U 1 1 6693A961
+P 4150 2450
+F 0 "R3" H 4200 2580 50 0000 C CNN
+F 1 "290" H 4200 2400 50 0000 C CNN
+F 2 "" H 4200 2430 30 0000 C CNN
+F 3 "" V 4200 2500 30 0000 C CNN
+ 1 4150 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 6693A962
+P 4100 3100
+F 0 "Q1" H 4000 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 4050 3250 50 0000 R CNN
+F 2 "" H 4300 3200 29 0000 C CNN
+F 3 "" H 4100 3100 60 0000 C CNN
+ 1 4100 3100
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 4200 2650 4200 2900
+$Comp
+L resistor R8
+U 1 1 6693A963
+P 5000 2600
+F 0 "R8" H 5050 2730 50 0000 C CNN
+F 1 "5k" H 5050 2550 50 0000 C CNN
+F 2 "" H 5050 2580 30 0000 C CNN
+F 3 "" V 5050 2650 30 0000 C CNN
+ 1 5000 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 6693A964
+P 4950 3400
+F 0 "Q4" H 4850 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 4900 3550 50 0000 R CNN
+F 2 "" H 5150 3500 29 0000 C CNN
+F 3 "" H 4950 3400 60 0000 C CNN
+ 1 4950 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 6693A965
+P 5000 1900
+F 0 "R7" H 5050 2030 50 0000 C CNN
+F 1 "100" H 5050 1850 50 0000 C CNN
+F 2 "" H 5050 1880 30 0000 C CNN
+F 3 "" V 5050 1950 30 0000 C CNN
+ 1 5000 1900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4200 3300 4200 3400
+Wire Wire Line
+ 2800 3400 4750 3400
+Connection ~ 4200 3400
+Wire Wire Line
+ 3900 3100 3750 3100
+Wire Wire Line
+ 3750 3100 3750 3400
+Connection ~ 3750 3400
+Wire Wire Line
+ 5050 3200 5050 2800
+Wire Wire Line
+ 5050 2500 5050 2100
+Wire Wire Line
+ 4200 2350 4200 2200
+Connection ~ 5050 2200
+$Comp
+L resistor R9
+U 1 1 6693A966
+P 5050 4300
+F 0 "R9" H 5100 4430 50 0000 C CNN
+F 1 "1k" H 5100 4250 50 0000 C CNN
+F 2 "" H 5100 4280 30 0000 C CNN
+F 3 "" V 5100 4350 30 0000 C CNN
+ 1 5050 4300
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5050 3600 5050 4200
+Wire Wire Line
+ 5050 4200 5100 4200
+$Comp
+L resistor R4
+U 1 1 6693A967
+P 4200 4300
+F 0 "R4" H 4250 4430 50 0000 C CNN
+F 1 "5.9k" H 4250 4250 50 0000 C CNN
+F 2 "" H 4250 4280 30 0000 C CNN
+F 3 "" V 4250 4350 30 0000 C CNN
+ 1 4200 4300
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4250 4200 4250 3750
+Wire Wire Line
+ 4250 3750 5050 3750
+Connection ~ 5050 3750
+$Comp
+L eSim_PNP Q2
+U 1 1 6693A968
+P 4150 5100
+F 0 "Q2" H 4050 5150 50 0000 R CNN
+F 1 "eSim_PNP" H 4100 5250 50 0000 R CNN
+F 2 "" H 4350 5200 29 0000 C CNN
+F 3 "" H 4150 5100 60 0000 C CNN
+ 1 4150 5100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 6693A969
+P 5200 5100
+F 0 "Q6" H 5100 5150 50 0000 R CNN
+F 1 "eSim_PNP" H 5150 5250 50 0000 R CNN
+F 2 "" H 5400 5200 29 0000 C CNN
+F 3 "" H 5200 5100 60 0000 C CNN
+ 1 5200 5100
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3500 5550 5650 5550
+Wire Wire Line
+ 5100 4500 5100 4900
+Wire Wire Line
+ 4250 4500 4250 4900
+Wire Wire Line
+ 4250 5300 4250 6900
+$Comp
+L eSim_NPN Q3
+U 1 1 6693A96A
+P 4350 7100
+F 0 "Q3" H 4250 7150 50 0000 R CNN
+F 1 "eSim_NPN" H 4300 7250 50 0000 R CNN
+F 2 "" H 4550 7200 29 0000 C CNN
+F 3 "" H 4350 7100 60 0000 C CNN
+ 1 4350 7100
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5650 5550 5650 5100
+$Comp
+L eSim_NPN Q5
+U 1 1 6693A96B
+P 5000 6850
+F 0 "Q5" H 4900 6900 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 7000 50 0000 R CNN
+F 2 "" H 5200 6950 29 0000 C CNN
+F 3 "" H 5000 6850 60 0000 C CNN
+ 1 5000 6850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4800 6850 4250 6850
+Connection ~ 4250 6850
+Wire Wire Line
+ 4550 7100 4650 7100
+Wire Wire Line
+ 4650 7100 4650 6850
+Connection ~ 4650 6850
+Wire Wire Line
+ 5100 5300 5100 6650
+$Comp
+L resistor R10
+U 1 1 6693A96C
+P 5050 7500
+F 0 "R10" H 5100 7630 50 0000 C CNN
+F 1 "5k" H 5100 7450 50 0000 C CNN
+F 2 "" H 5100 7480 30 0000 C CNN
+F 3 "" V 5100 7550 30 0000 C CNN
+ 1 5050 7500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5100 7050 5100 7400
+Wire Wire Line
+ 4250 7300 4250 7450
+$Comp
+L resistor R5
+U 1 1 6693A96D
+P 4200 7550
+F 0 "R5" H 4250 7680 50 0000 C CNN
+F 1 "5k" H 4250 7500 50 0000 C CNN
+F 2 "" H 4250 7530 30 0000 C CNN
+F 3 "" V 4250 7600 30 0000 C CNN
+ 1 4200 7550
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4250 7750 4250 8050
+Wire Wire Line
+ 4250 8050 11400 8050
+Wire Wire Line
+ 5100 8050 5100 7700
+Connection ~ 4250 7400
+Connection ~ 5100 7150
+Wire Wire Line
+ 5050 1600 5050 1800
+Wire Wire Line
+ 5050 1600 11900 1600
+Wire Wire Line
+ 5100 5700 6750 5700
+Connection ~ 5100 5700
+Wire Wire Line
+ 5900 5700 5900 5100
+Wire Wire Line
+ 5900 5100 8350 5100
+Connection ~ 5900 5700
+$Comp
+L eSim_PNP Q7
+U 1 1 6693A96E
+P 6950 5700
+F 0 "Q7" H 6850 5750 50 0000 R CNN
+F 1 "eSim_PNP" H 6900 5850 50 0000 R CNN
+F 2 "" H 7150 5800 29 0000 C CNN
+F 3 "" H 6950 5700 60 0000 C CNN
+ 1 6950 5700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6693A96F
+P 7550 6000
+F 0 "Q10" H 7450 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 7500 6150 50 0000 R CNN
+F 2 "" H 7750 6100 29 0000 C CNN
+F 3 "" H 7550 6000 60 0000 C CNN
+ 1 7550 6000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7050 5500 7050 5400
+Wire Wire Line
+ 7350 6000 7250 6000
+Wire Wire Line
+ 7250 6000 7250 5400
+Connection ~ 7250 5400
+Wire Wire Line
+ 7650 3550 7650 5800
+$Comp
+L eSim_NPN Q8
+U 1 1 6693A970
+P 7400 6850
+F 0 "Q8" H 7300 6900 50 0000 R CNN
+F 1 "eSim_NPN" H 7350 7000 50 0000 R CNN
+F 2 "" H 7600 6950 29 0000 C CNN
+F 3 "" H 7400 6850 60 0000 C CNN
+ 1 7400 6850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7050 8050 7050 5900
+Connection ~ 5100 8050
+Wire Wire Line
+ 7200 6850 4700 6850
+Wire Wire Line
+ 7500 6650 7500 6450
+$Comp
+L resistor R12
+U 1 1 6693A971
+P 7450 7450
+F 0 "R12" H 7500 7580 50 0000 C CNN
+F 1 "690" H 7500 7400 50 0000 C CNN
+F 2 "" H 7500 7430 30 0000 C CNN
+F 3 "" V 7500 7500 30 0000 C CNN
+ 1 7450 7450
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 7500 7050 7500 7350
+Wire Wire Line
+ 7500 8050 7500 7650
+Connection ~ 7050 8050
+$Comp
+L eSim_PNP Q9
+U 1 1 6693A972
+P 7550 3350
+F 0 "Q9" H 7450 3400 50 0000 R CNN
+F 1 "eSim_PNP" H 7500 3500 50 0000 R CNN
+F 2 "" H 7750 3450 29 0000 C CNN
+F 3 "" H 7550 3350 60 0000 C CNN
+ 1 7550 3350
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 7650 3150 7650 2700
+$Comp
+L resistor R13
+U 1 1 6693A973
+P 7600 2500
+F 0 "R13" H 7650 2630 50 0000 C CNN
+F 1 "5k" H 7650 2450 50 0000 C CNN
+F 2 "" H 7650 2480 30 0000 C CNN
+F 3 "" V 7650 2550 30 0000 C CNN
+ 1 7600 2500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 7650 2400 7650 2200
+Connection ~ 7650 2200
+Connection ~ 4650 3400
+$Comp
+L eSim_PNP Q11
+U 1 1 6693A974
+P 8600 3350
+F 0 "Q11" H 8500 3400 50 0000 R CNN
+F 1 "eSim_PNP" H 8550 3500 50 0000 R CNN
+F 2 "" H 8800 3450 29 0000 C CNN
+F 3 "" H 8600 3350 60 0000 C CNN
+ 1 8600 3350
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 5800 3350 8400 3350
+Connection ~ 7150 3350
+$Comp
+L resistor R15
+U 1 1 6693A975
+P 8600 1900
+F 0 "R15" H 8650 2030 50 0000 C CNN
+F 1 "45" H 8650 1850 50 0000 C CNN
+F 2 "" H 8650 1880 30 0000 C CNN
+F 3 "" V 8650 1950 30 0000 C CNN
+ 1 8600 1900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 8650 1800 8650 1600
+Connection ~ 8650 1600
+Wire Wire Line
+ 8650 2100 8650 3150
+Wire Wire Line
+ 8650 3150 8700 3150
+$Comp
+L eSim_NPN Q12
+U 1 1 6693A976
+P 8600 4100
+F 0 "Q12" H 8500 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 4250 50 0000 R CNN
+F 2 "" H 8800 4200 29 0000 C CNN
+F 3 "" H 8600 4100 60 0000 C CNN
+ 1 8600 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 6693A977
+P 8600 4700
+F 0 "Q13" H 8500 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 4850 50 0000 R CNN
+F 2 "" H 8800 4800 29 0000 C CNN
+F 3 "" H 8600 4700 60 0000 C CNN
+ 1 8600 4700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8700 3550 8700 3900
+Wire Wire Line
+ 8700 4300 8700 4500
+Wire Wire Line
+ 8400 4100 7950 4100
+Wire Wire Line
+ 7950 4100 7950 3650
+Wire Wire Line
+ 7950 3650 10000 3650
+Wire Wire Line
+ 8400 4700 7950 4700
+Wire Wire Line
+ 7950 4700 7950 4350
+Wire Wire Line
+ 7950 4350 8700 4350
+Connection ~ 8700 4350
+$Comp
+L capacitor_polarised C1
+U 1 1 6693A978
+P 8500 5100
+F 0 "C1" H 8525 5200 50 0000 L CNN
+F 1 "30pF" H 8525 5000 50 0000 L CNN
+F 2 "" H 8500 5100 50 0001 C CNN
+F 3 "" H 8500 5100 50 0001 C CNN
+ 1 8500 5100
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 8700 4900 8700 6250
+Wire Wire Line
+ 8700 5100 8650 5100
+Wire Wire Line
+ 7050 5400 7650 5400
+Connection ~ 7650 5400
+Wire Wire Line
+ 7650 6200 7650 6450
+Connection ~ 7650 6450
+Connection ~ 8700 5100
+$Comp
+L eSim_NPN Q14
+U 1 1 6693A979
+P 8600 6450
+F 0 "Q14" H 8500 6500 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 6600 50 0000 R CNN
+F 2 "" H 8800 6550 29 0000 C CNN
+F 3 "" H 8600 6450 60 0000 C CNN
+ 1 8600 6450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7500 6450 8400 6450
+Wire Wire Line
+ 8700 8050 8700 6650
+Connection ~ 7500 8050
+$Comp
+L eSim_NPN Q17
+U 1 1 6693A97A
+P 10200 3650
+F 0 "Q17" H 10100 3700 50 0000 R CNN
+F 1 "eSim_NPN" H 10150 3800 50 0000 R CNN
+F 2 "" H 10400 3750 29 0000 C CNN
+F 3 "" H 10200 3650 60 0000 C CNN
+ 1 10200 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6693A97B
+P 9750 4200
+F 0 "Q15" H 9650 4250 50 0000 R CNN
+F 1 "eSim_NPN" H 9700 4350 50 0000 R CNN
+F 2 "" H 9950 4300 29 0000 C CNN
+F 3 "" H 9750 4200 60 0000 C CNN
+ 1 9750 4200
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9650 4000 9650 3650
+Connection ~ 9650 3650
+$Comp
+L resistor R16
+U 1 1 6693A97C
+P 10250 4500
+F 0 "R16" H 10300 4630 50 0000 C CNN
+F 1 "10" H 10300 4450 50 0000 C CNN
+F 2 "" H 10300 4480 30 0000 C CNN
+F 3 "" V 10300 4550 30 0000 C CNN
+ 1 10250 4500
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 6693A97D
+P 10250 5150
+F 0 "R17" H 10300 5280 50 0000 C CNN
+F 1 "100" H 10300 5100 50 0000 C CNN
+F 2 "" H 10300 5130 30 0000 C CNN
+F 3 "" V 10300 5200 30 0000 C CNN
+ 1 10250 5150
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 10300 3850 10300 4400
+Wire Wire Line
+ 9950 4200 10300 4200
+Connection ~ 10300 4200
+Wire Wire Line
+ 9650 4400 9650 4900
+Wire Wire Line
+ 9650 4900 10300 4900
+Wire Wire Line
+ 10300 4700 10300 5050
+Connection ~ 10300 4900
+Wire Wire Line
+ 10300 5350 10300 5850
+Wire Wire Line
+ 10300 5600 10800 5600
+Connection ~ 10300 5600
+$Comp
+L resistor R20
+U 1 1 6693A97E
+P 11000 5550
+F 0 "R20" H 11050 5680 50 0000 C CNN
+F 1 "100" H 11050 5500 50 0000 C CNN
+F 2 "" H 11050 5530 30 0000 C CNN
+F 3 "" V 11050 5600 30 0000 C CNN
+ 1 11000 5550
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 11100 5600 12000 5600
+Connection ~ 8700 8050
+Wire Wire Line
+ 4200 2200 10300 2200
+Wire Wire Line
+ 10300 2200 10300 3450
+$Comp
+L resistor R2
+U 1 1 6693A980
+P 3750 5050
+F 0 "R2" H 3800 5180 50 0000 C CNN
+F 1 "1k" H 3800 5000 50 0000 C CNN
+F 2 "" H 3800 5030 30 0000 C CNN
+F 3 "" V 3800 5100 30 0000 C CNN
+ 1 3750 5050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3950 5100 3850 5100
+Wire Wire Line
+ 3950 5100 3950 3950
+Wire Wire Line
+ 3950 3950 3200 3950
+Wire Wire Line
+ 3200 3950 3200 1200
+Wire Wire Line
+ 3200 1200 7450 1200
+$Comp
+L resistor R14
+U 1 1 6693A981
+P 7650 1150
+F 0 "R14" H 7700 1280 50 0000 C CNN
+F 1 "6k" H 7700 1100 50 0000 C CNN
+F 2 "" H 7700 1130 30 0000 C CNN
+F 3 "" V 7700 1200 30 0000 C CNN
+ 1 7650 1150
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 7750 1200 11300 1200
+Wire Wire Line
+ 5650 5100 5400 5100
+Connection ~ 8700 3650
+Connection ~ 8700 5800
+Wire Wire Line
+ 8700 5800 9100 5800
+Wire Wire Line
+ 9100 5800 9100 7050
+$Comp
+L resistor R18
+U 1 1 6693A98F
+P 10250 5950
+F 0 "R18" H 10300 6080 50 0000 C CNN
+F 1 "50" H 10300 5900 50 0000 C CNN
+F 2 "" H 10300 5930 30 0000 C CNN
+F 3 "" V 10300 6000 30 0000 C CNN
+ 1 10250 5950
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 6693A990
+P 10250 6400
+F 0 "R19" H 10300 6530 50 0000 C CNN
+F 1 "100" H 10300 6350 50 0000 C CNN
+F 2 "" H 10300 6380 30 0000 C CNN
+F 3 "" V 10300 6450 30 0000 C CNN
+ 1 10250 6400
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 10300 6150 10300 6300
+$Comp
+L eSim_PNP Q16
+U 1 1 6693A991
+P 9750 6700
+F 0 "Q16" H 9650 6750 50 0000 R CNN
+F 1 "eSim_PNP" H 9700 6850 50 0000 R CNN
+F 2 "" H 9950 6800 29 0000 C CNN
+F 3 "" H 9750 6700 60 0000 C CNN
+ 1 9750 6700
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 9650 6500 9650 6200
+Wire Wire Line
+ 9650 6200 10300 6200
+Connection ~ 10300 6200
+Wire Wire Line
+ 9950 6700 10300 6700
+Wire Wire Line
+ 10300 6600 10300 6950
+$Comp
+L eSim_PNP Q18
+U 1 1 6693A992
+P 10200 7150
+F 0 "Q18" H 10100 7200 50 0000 R CNN
+F 1 "eSim_PNP" H 10150 7300 50 0000 R CNN
+F 2 "" H 10400 7250 29 0000 C CNN
+F 3 "" H 10200 7150 60 0000 C CNN
+ 1 10200 7150
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 9650 6900 9650 7150
+Wire Wire Line
+ 9650 7150 10000 7150
+Connection ~ 10300 6700
+Wire Wire Line
+ 9100 7050 9650 7050
+Connection ~ 9650 7050
+Wire Wire Line
+ 10300 7350 10300 8050
+Connection ~ 10300 8050
+Wire Wire Line
+ 11300 1200 11300 5600
+Connection ~ 11300 5600
+Wire Wire Line
+ 11400 8050 11400 8400
+Wire Wire Line
+ 5800 3350 5800 3400
+Wire Wire Line
+ 5800 3400 4650 3400
+Connection ~ 7350 3350
+Connection ~ 4700 6850
+Wire Wire Line
+ 3550 5100 3400 5100
+$Comp
+L PORT U1
+U 6 1 6693BBD6
+P 12000 5850
+F 0 "U1" H 12050 5950 30 0000 C CNN
+F 1 "PORT" H 12000 5850 30 0000 C CNN
+F 2 "" H 12000 5850 60 0000 C CNN
+F 3 "" H 12000 5850 60 0000 C CNN
+ 6 12000 5850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6693BC77
+P 11900 1850
+F 0 "U1" H 11950 1950 30 0000 C CNN
+F 1 "PORT" H 11900 1850 30 0000 C CNN
+F 2 "" H 11900 1850 60 0000 C CNN
+F 3 "" H 11900 1850 60 0000 C CNN
+ 7 11900 1850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6693BD50
+P 5600 7150
+F 0 "U1" H 5650 7250 30 0000 C CNN
+F 1 "PORT" H 5600 7150 30 0000 C CNN
+F 2 "" H 5600 7150 60 0000 C CNN
+F 3 "" H 5600 7150 60 0000 C CNN
+ 5 5600 7150
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6693BE17
+P 3800 7400
+F 0 "U1" H 3850 7500 30 0000 C CNN
+F 1 "PORT" H 3800 7400 30 0000 C CNN
+F 2 "" H 3800 7400 60 0000 C CNN
+F 3 "" H 3800 7400 60 0000 C CNN
+ 1 3800 7400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6693BEEA
+P 3150 5100
+F 0 "U1" H 3200 5200 30 0000 C CNN
+F 1 "PORT" H 3150 5100 30 0000 C CNN
+F 2 "" H 3150 5100 60 0000 C CNN
+F 3 "" H 3150 5100 60 0000 C CNN
+ 2 3150 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6693BFAF
+P 3250 5550
+F 0 "U1" H 3300 5650 30 0000 C CNN
+F 1 "PORT" H 3250 5550 30 0000 C CNN
+F 2 "" H 3250 5550 60 0000 C CNN
+F 3 "" H 3250 5550 60 0000 C CNN
+ 3 3250 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6693C08C
+P 11400 8650
+F 0 "U1" H 11450 8750 30 0000 C CNN
+F 1 "PORT" H 11400 8650 30 0000 C CNN
+F 2 "" H 11400 8650 60 0000 C CNN
+F 3 "" H 11400 8650 60 0000 C CNN
+ 4 11400 8650
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 4050 7400 4250 7400
+Wire Wire Line
+ 5350 7150 5100 7150
+Wire Wire Line
+ 2800 3400 2800 3600
+$Comp
+L PORT U2
+U 8 1 66945A84
+P 2550 3600
+F 0 "U2" H 2600 3700 30 0000 C CNN
+F 1 "PORT" H 2550 3600 30 0000 C CNN
+F 2 "" H 2550 3600 60 0000 C CNN
+F 3 "" H 2550 3600 60 0000 C CNN
+ 8 2550 3600
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sub b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sub
new file mode 100644
index 00000000..b22e42a7
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub.sub
@@ -0,0 +1,47 @@
+* Subcircuit LM4250_Sub
+.subckt LM4250_Sub gnd net-_r2-pad2_ net-_q6-pad2_ net-_q14-pad3_ gnd net-_r14-pad1_ net-_r15-pad1_ gnd
+* c:\fossee\esim\library\subcircuitlibrary\lm4250_sub\lm4250_sub.cir
+.include NPN.lib
+.include PNP.lib
+r3 net-_q17-pad1_ net-_q1-pad3_ 290
+q1 net-_q1-pad1_ net-_q1-pad1_ net-_q1-pad3_ Q2N2907A
+r8 net-_q17-pad1_ net-_q4-pad3_ 5k
+q4 net-_q4-pad1_ net-_q1-pad1_ net-_q4-pad3_ Q2N2907A
+r7 net-_r15-pad1_ net-_q17-pad1_ 100
+r9 net-_q4-pad1_ net-_q6-pad3_ 1k
+r4 net-_q4-pad1_ net-_q2-pad3_ 5.9k
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2907A
+q6 net-_c1-pad1_ net-_q6-pad2_ net-_q6-pad3_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q3-pad3_ Q2N2222
+q5 net-_c1-pad1_ net-_q2-pad1_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad3_ net-_q14-pad3_ 5k
+r5 net-_q3-pad3_ net-_q14-pad3_ 5k
+q7 net-_q14-pad3_ net-_c1-pad1_ net-_q10-pad1_ Q2N2907A
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ Q2N2222
+q8 net-_q10-pad3_ net-_q2-pad1_ net-_q8-pad3_ Q2N2222
+r12 net-_q8-pad3_ net-_q14-pad3_ 690
+q9 net-_q10-pad1_ net-_q1-pad1_ net-_q9-pad3_ Q2N2907A
+r13 net-_q17-pad1_ net-_q9-pad3_ 5k
+q11 net-_q11-pad1_ net-_q1-pad1_ net-_q11-pad3_ Q2N2907A
+r15 net-_r15-pad1_ net-_q11-pad3_ 45
+q12 net-_q11-pad1_ net-_q11-pad1_ net-_q12-pad3_ Q2N2222
+q13 net-_q12-pad3_ net-_q12-pad3_ net-_c1-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 30pf
+q14 net-_c1-pad2_ net-_q10-pad3_ net-_q14-pad3_ Q2N2222
+q17 net-_q17-pad1_ net-_q11-pad1_ net-_q15-pad2_ Q2N2222
+q15 net-_q11-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r16 net-_q15-pad2_ net-_q15-pad3_ 10
+r17 net-_q15-pad3_ net-_r17-pad2_ 100
+r20 net-_r14-pad1_ net-_r17-pad2_ 100
+r2 net-_q2-pad2_ net-_r2-pad2_ 1k
+r14 net-_r14-pad1_ net-_q2-pad2_ 6k
+r1 net-_q1-pad1_ net-_q14-pad3_ 10k
+r6 net-_q14-pad3_ net-_q3-pad3_ 5k
+r11 net-_q5-pad3_ net-_q14-pad3_ 5k
+r18 net-_r17-pad2_ net-_q16-pad3_ 50
+r19 net-_q16-pad3_ net-_q16-pad2_ 100
+q16 net-_c1-pad2_ net-_q16-pad2_ net-_q16-pad3_ Q2N2907A
+q18 net-_q14-pad3_ net-_c1-pad2_ net-_q16-pad2_ Q2N2907A
+* Control Statements
+
+.ends LM4250_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub_Previous_Values.xml b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub_Previous_Values.xml
new file mode 100644
index 00000000..701ec824
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/LM4250_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q9><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q16><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.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">0</field1><field2 name="Step Time">0.1</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM4250_Sub/NPN.lib b/library/SubcircuitLibrary/LM4250_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/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/LM4250_Sub/PNP.lib b/library/SubcircuitLibrary/LM4250_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/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/LM4250_Sub/analysis b/library/SubcircuitLibrary/LM4250_Sub/analysis
new file mode 100644
index 00000000..402d01b4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM4250_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.1e-03 100e-03 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib
new file mode 100644
index 00000000..809d9541
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib
@@ -0,0 +1,160 @@
+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_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 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/LM78L_Sub/LM78L_sub.cir b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir
new file mode 100644
index 00000000..040b159c
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir
@@ -0,0 +1,49 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM78L_sub\LM78L_sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/19/24 13:33:00
+
+* 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: /
+R1 Net-_J1-Pad1_ Net-_Q2-Pad3_ 418
+J1 Net-_J1-Pad1_ Net-_J1-Pad2_ Net-_J1-Pad3_ jfet_n
+Q2 Net-_Q1-Pad3_ Net-_Q1-Pad1_ Net-_Q2-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q8 Net-_Q12-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q1-Pad3_ eSim_NPN
+Q4 Net-_Q1-Pad1_ Net-_Q1-Pad3_ Net-_Q4-Pad3_ eSim_NPN
+R2 Net-_Q4-Pad3_ Net-_Q7-Pad2_ 576
+Q7 Net-_Q7-Pad1_ Net-_Q7-Pad2_ Net-_Q4-Pad3_ eSim_PNP
+R3 Net-_Q7-Pad2_ Net-_R3-Pad2_ 3.41k
+U1 ? Net-_J1-Pad3_ zener
+R4 Net-_R3-Pad2_ Net-_Q11-Pad2_ 3.89k
+Q5 Net-_Q11-Pad2_ Net-_Q11-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+Q6 Net-_Q5-Pad3_ Net-_Q5-Pad3_ Net-_J1-Pad2_ eSim_NPN
+U2 Net-_J1-Pad2_ Net-_Q1-Pad3_ zener
+R5 Net-_Q7-Pad1_ Net-_J1-Pad2_ 7.8k
+Q9 Net-_Q12-Pad3_ Net-_Q7-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q12 Net-_J1-Pad2_ Net-_C1-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+R8 Net-_Q12-Pad3_ Net-_C1-Pad1_ 5.76k
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q13 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R6 Net-_Q10-Pad2_ Net-_R3-Pad2_ 13k
+Q14 Net-_Q12-Pad3_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R9 Net-_Q14-Pad3_ Net-_R13-Pad1_ 100
+U4 Net-_Q14-Pad2_ Net-_R10-Pad1_ zener
+R11 Net-_Q16-Pad3_ Net-_Q14-Pad2_ 100
+Q15 Net-_J1-Pad1_ Net-_Q12-Pad3_ Net-_Q10-Pad1_ eSim_NPN
+R13 Net-_R13-Pad1_ Net-_Q10-Pad1_ 2.5k
+Q16 Net-_J1-Pad1_ Net-_Q10-Pad1_ Net-_Q16-Pad3_ eSim_NPN
+R14 Net-_R13-Pad1_ Net-_Q16-Pad3_ 1.9
+R10 Net-_R10-Pad1_ Net-_R10-Pad2_ 5k
+U3 Net-_R10-Pad2_ Net-_J1-Pad1_ zener
+Q11 Net-_Q10-Pad3_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R7 Net-_Q11-Pad3_ Net-_J1-Pad2_ 2.84k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5pF
+R12 Net-_R12-Pad1_ Net-_C1-Pad2_ 15k
+R15 Net-_R12-Pad1_ Net-_R13-Pad1_ 1.5k
+R16 Net-_J1-Pad2_ Net-_R12-Pad1_ 2.23k
+U5 Net-_J1-Pad1_ Net-_R13-Pad1_ Net-_J1-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out
new file mode 100644
index 00000000..08bd6f0a
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out
@@ -0,0 +1,65 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm78l_sub\lm78l_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q7-pad2_ 576
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A
+r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k
+* u1 ? net-_j1-pad3_ zener
+r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k
+q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+r5 net-_q7-pad1_ net-_j1-pad2_ 7.8k
+q9 net-_q12-pad3_ net-_q7-pad1_ net-_j1-pad2_ Q2N2222
+q12 net-_j1-pad2_ net-_c1-pad1_ net-_q12-pad3_ Q2N2907A
+r8 net-_q12-pad3_ net-_c1-pad1_ 5.76k
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q13 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad2_ net-_r3-pad2_ 13k
+q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222
+r9 net-_q14-pad3_ net-_r13-pad1_ 100
+* u4 net-_q14-pad2_ net-_r10-pad1_ zener
+r11 net-_q16-pad3_ net-_q14-pad2_ 100
+q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222
+r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k
+q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222
+r14 net-_r13-pad1_ net-_q16-pad3_ 1.9
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u3 net-_r10-pad2_ net-_j1-pad1_ zener
+q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_j1-pad2_ 2.84k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5pf
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+r15 net-_r12-pad1_ net-_r13-pad1_ 1.5k
+r16 net-_j1-pad2_ net-_r12-pad1_ 2.23k
+* u5 net-_j1-pad1_ net-_r13-pad1_ net-_j1-pad2_ port
+a1 ? net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_q14-pad2_ net-_r10-pad1_ u4
+a4 net-_r10-pad2_ net-_j1-pad1_ u3
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 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 u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-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/LM78L_Sub/LM78L_sub.pro b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch
new file mode 100644
index 00000000..d2b2a0a1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch
@@ -0,0 +1,726 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM78L-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11236
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R1
+U 1 1 6671981A
+P 2850 1550
+F 0 "R1" H 2900 1680 50 0000 C CNN
+F 1 "418" H 2900 1500 50 0000 C CNN
+F 2 "" H 2900 1530 30 0000 C CNN
+F 3 "" V 2900 1600 30 0000 C CNN
+ 1 2850 1550
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 6671981B
+P 1700 2100
+F 0 "J1" H 1600 2150 50 0000 R CNN
+F 1 "jfet_n" H 1650 2250 50 0000 R CNN
+F 2 "" H 1900 2200 29 0000 C CNN
+F 3 "" H 1700 2100 60 0000 C CNN
+ 1 1700 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 6671981C
+P 3000 2200
+F 0 "Q2" H 2900 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 2950 2350 50 0000 R CNN
+F 2 "" H 3200 2300 29 0000 C CNN
+F 3 "" H 3000 2200 60 0000 C CNN
+ 1 3000 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 6671981D
+P 3750 2200
+F 0 "Q3" H 3650 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 3700 2350 50 0000 R CNN
+F 2 "" H 3950 2300 29 0000 C CNN
+F 3 "" H 3750 2200 60 0000 C CNN
+ 1 3750 2200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 6671981E
+P 4350 2200
+F 0 "Q8" H 4250 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 4300 2350 50 0000 R CNN
+F 2 "" H 4550 2300 29 0000 C CNN
+F 3 "" H 4350 2200 60 0000 C CNN
+ 1 4350 2200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6671981F
+P 2100 2750
+F 0 "Q1" H 2000 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 2050 2900 50 0000 R CNN
+F 2 "" H 2300 2850 29 0000 C CNN
+F 3 "" H 2100 2750 60 0000 C CNN
+ 1 2100 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66719820
+P 3800 3200
+F 0 "Q4" H 3700 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 3350 50 0000 R CNN
+F 2 "" H 4000 3300 29 0000 C CNN
+F 3 "" H 3800 3200 60 0000 C CNN
+ 1 3800 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66719821
+P 3850 3700
+F 0 "R2" H 3900 3830 50 0000 C CNN
+F 1 "576" H 3900 3650 50 0000 C CNN
+F 2 "" H 3900 3680 30 0000 C CNN
+F 3 "" V 3900 3750 30 0000 C CNN
+ 1 3850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 66719822
+P 4300 4150
+F 0 "Q7" H 4200 4200 50 0000 R CNN
+F 1 "eSim_PNP" H 4250 4300 50 0000 R CNN
+F 2 "" H 4500 4250 29 0000 C CNN
+F 3 "" H 4300 4150 60 0000 C CNN
+ 1 4300 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66719823
+P 3850 4650
+F 0 "R3" H 3900 4780 50 0000 C CNN
+F 1 "3.41k" H 3900 4600 50 0000 C CNN
+F 2 "" H 3900 4630 30 0000 C CNN
+F 3 "" V 3900 4700 30 0000 C CNN
+ 1 3850 4650
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66719824
+P 1800 5300
+F 0 "U1" H 1750 5200 60 0000 C CNN
+F 1 "zener" H 1800 5400 60 0000 C CNN
+F 2 "" H 1850 5300 60 0000 C CNN
+F 3 "" H 1850 5300 60 0000 C CNN
+ 1 1800 5300
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66719825
+P 3850 5550
+F 0 "R4" H 3900 5680 50 0000 C CNN
+F 1 "3.89k" H 3900 5500 50 0000 C CNN
+F 2 "" H 3900 5530 30 0000 C CNN
+F 3 "" V 3900 5600 30 0000 C CNN
+ 1 3850 5550
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1800 2300 1800 5000
+Wire Wire Line
+ 1900 2750 1800 2750
+Connection ~ 1800 2750
+Wire Wire Line
+ 1800 1900 1800 1250
+Wire Wire Line
+ 1800 1250 11450 1250
+Wire Wire Line
+ 2900 1450 2900 1250
+Connection ~ 2900 1250
+Wire Wire Line
+ 2900 1750 2900 2000
+Wire Wire Line
+ 2200 2550 3850 2550
+Wire Wire Line
+ 2200 2950 2200 3200
+Wire Wire Line
+ 3900 3400 3900 3600
+Wire Wire Line
+ 3900 3900 3900 4550
+Wire Wire Line
+ 4100 4150 3900 4150
+Connection ~ 3900 4150
+Wire Wire Line
+ 3900 3500 4400 3500
+Wire Wire Line
+ 4400 3500 4400 3950
+Connection ~ 3900 3500
+Wire Wire Line
+ 3900 4850 3900 5450
+Wire Wire Line
+ 3900 5050 5300 5050
+Connection ~ 3900 5050
+$Comp
+L eSim_NPN Q5
+U 1 1 66719826
+P 3800 6300
+F 0 "Q5" H 3700 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 6450 50 0000 R CNN
+F 2 "" H 4000 6400 29 0000 C CNN
+F 3 "" H 3800 6300 60 0000 C CNN
+ 1 3800 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66719827
+P 3800 7050
+F 0 "Q6" H 3700 7100 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 7200 50 0000 R CNN
+F 2 "" H 4000 7150 29 0000 C CNN
+F 3 "" H 3800 7050 60 0000 C CNN
+ 1 3800 7050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3900 5750 3900 6100
+Wire Wire Line
+ 3900 6500 3900 6850
+$Comp
+L zener U2
+U 1 1 66719828
+P 2900 5150
+F 0 "U2" H 2850 5050 60 0000 C CNN
+F 1 "zener" H 2900 5250 60 0000 C CNN
+F 2 "" H 2950 5150 60 0000 C CNN
+F 3 "" H 2950 5150 60 0000 C CNN
+ 1 2900 5150
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2900 4850 2900 2400
+Wire Wire Line
+ 3850 2400 3850 3000
+Wire Wire Line
+ 3850 3000 3900 3000
+Wire Wire Line
+ 2200 3200 3600 3200
+Connection ~ 3850 2550
+Wire Wire Line
+ 3400 2200 3400 2450
+Wire Wire Line
+ 3400 2450 3850 2450
+Connection ~ 3850 2450
+Connection ~ 3400 2200
+Connection ~ 2900 3200
+Wire Wire Line
+ 3850 2000 3850 1900
+Wire Wire Line
+ 3850 1900 4450 1900
+Wire Wire Line
+ 4450 1900 4450 2000
+Wire Wire Line
+ 4150 1900 4150 1250
+Connection ~ 4150 1250
+Connection ~ 4150 1900
+Wire Wire Line
+ 4450 2400 4450 2500
+Wire Wire Line
+ 4450 2500 9350 2500
+Wire Wire Line
+ 3200 2200 4150 2200
+Wire Wire Line
+ 2900 5350 2900 7500
+Wire Wire Line
+ 1200 7500 11700 7500
+Wire Wire Line
+ 3900 7500 3900 7250
+Wire Wire Line
+ 1800 5450 1800 7500
+Connection ~ 2900 7500
+Wire Wire Line
+ 3600 7050 3300 7050
+Wire Wire Line
+ 3300 7050 3300 6650
+Wire Wire Line
+ 3300 6650 3900 6650
+Connection ~ 3900 6650
+Wire Wire Line
+ 3250 6300 3250 5900
+Wire Wire Line
+ 3250 5900 3900 5900
+Connection ~ 3900 5900
+Wire Wire Line
+ 1500 2100 1200 2100
+Wire Wire Line
+ 1200 2100 1200 7500
+Connection ~ 1800 7500
+Wire Wire Line
+ 4400 4350 4400 5450
+$Comp
+L resistor R5
+U 1 1 66719829
+P 4350 5550
+F 0 "R5" H 4400 5680 50 0000 C CNN
+F 1 "7.8k" H 4400 5500 50 0000 C CNN
+F 2 "" H 4400 5530 30 0000 C CNN
+F 3 "" V 4400 5600 30 0000 C CNN
+ 1 4350 5550
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4400 7500 4400 5750
+Connection ~ 3900 7500
+$Comp
+L eSim_NPN Q9
+U 1 1 6671982A
+P 5000 5300
+F 0 "Q9" H 4900 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 5450 50 0000 R CNN
+F 2 "" H 5200 5400 29 0000 C CNN
+F 3 "" H 5000 5300 60 0000 C CNN
+ 1 5000 5300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4800 5300 4400 5300
+Connection ~ 4400 5300
+Wire Wire Line
+ 5100 5100 5100 2500
+Connection ~ 5100 2500
+$Comp
+L eSim_PNP Q12
+U 1 1 6671982B
+P 6750 3600
+F 0 "Q12" H 6650 3650 50 0000 R CNN
+F 1 "eSim_PNP" H 6700 3750 50 0000 R CNN
+F 2 "" H 6950 3700 29 0000 C CNN
+F 3 "" H 6750 3600 60 0000 C CNN
+ 1 6750 3600
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 6671982C
+P 7450 3000
+F 0 "R8" H 7500 3130 50 0000 C CNN
+F 1 "5.76k" H 7500 2950 50 0000 C CNN
+F 2 "" H 7500 2980 30 0000 C CNN
+F 3 "" V 7500 3050 30 0000 C CNN
+ 1 7450 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6671982D
+P 6100 5050
+F 0 "Q10" H 6000 5100 50 0000 R CNN
+F 1 "eSim_NPN" H 6050 5200 50 0000 R CNN
+F 2 "" H 6300 5150 29 0000 C CNN
+F 3 "" H 6100 5050 60 0000 C CNN
+ 1 6100 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 6671982E
+P 7600 5000
+F 0 "Q13" H 7500 5050 50 0000 R CNN
+F 1 "eSim_NPN" H 7550 5150 50 0000 R CNN
+F 2 "" H 7800 5100 29 0000 C CNN
+F 3 "" H 7600 5000 60 0000 C CNN
+ 1 7600 5000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 6671982F
+P 5500 5000
+F 0 "R6" H 5550 5130 50 0000 C CNN
+F 1 "13k" H 5550 4950 50 0000 C CNN
+F 2 "" H 5550 4980 30 0000 C CNN
+F 3 "" V 5550 5050 30 0000 C CNN
+ 1 5500 5000
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 5900 5050 5600 5050
+Wire Wire Line
+ 6650 3400 6650 2500
+Connection ~ 6650 2500
+Wire Wire Line
+ 6650 3800 6650 7500
+Wire Wire Line
+ 6950 3600 7500 3600
+Wire Wire Line
+ 7500 3200 7500 4800
+Wire Wire Line
+ 7500 2500 7500 2900
+Connection ~ 7500 3600
+Wire Wire Line
+ 6200 4850 6200 3950
+Wire Wire Line
+ 6200 3950 10050 3950
+$Comp
+L eSim_NPN Q14
+U 1 1 66719830
+P 8200 3100
+F 0 "Q14" H 8100 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 3250 50 0000 R CNN
+F 2 "" H 8400 3200 29 0000 C CNN
+F 3 "" H 8200 3100 60 0000 C CNN
+ 1 8200 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 66719831
+P 8050 3500
+F 0 "R9" H 8100 3630 50 0000 C CNN
+F 1 "100" H 8100 3450 50 0000 C CNN
+F 2 "" H 8100 3480 30 0000 C CNN
+F 3 "" V 8100 3550 30 0000 C CNN
+ 1 8050 3500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 8100 2500 8100 2900
+Connection ~ 7500 2500
+$Comp
+L zener U4
+U 1 1 66719832
+P 8700 2850
+F 0 "U4" H 8650 2750 60 0000 C CNN
+F 1 "zener" H 8700 2950 60 0000 C CNN
+F 2 "" H 8750 2850 60 0000 C CNN
+F 3 "" H 8750 2850 60 0000 C CNN
+ 1 8700 2850
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 8700 2350 8700 2550
+Connection ~ 8100 2500
+Wire Wire Line
+ 8400 3100 9050 3100
+Wire Wire Line
+ 8700 3100 8700 3050
+Wire Wire Line
+ 8100 3300 8100 3400
+Wire Wire Line
+ 8100 3700 8100 3800
+Wire Wire Line
+ 8100 3800 11150 3800
+$Comp
+L resistor R11
+U 1 1 66719833
+P 9250 3050
+F 0 "R11" H 9300 3180 50 0000 C CNN
+F 1 "100" H 9300 3000 50 0000 C CNN
+F 2 "" H 9300 3030 30 0000 C CNN
+F 3 "" V 9300 3100 30 0000 C CNN
+ 1 9250 3050
+ -1 0 0 1
+$EndComp
+Connection ~ 8700 3100
+$Comp
+L eSim_NPN Q15
+U 1 1 66719834
+P 9550 2500
+F 0 "Q15" H 9450 2550 50 0000 R CNN
+F 1 "eSim_NPN" H 9500 2650 50 0000 R CNN
+F 2 "" H 9750 2600 29 0000 C CNN
+F 3 "" H 9550 2500 60 0000 C CNN
+ 1 9550 2500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9650 2700 9650 2750
+Wire Wire Line
+ 9650 2750 10450 2750
+Wire Wire Line
+ 10050 3950 10050 2750
+Connection ~ 10050 2750
+$Comp
+L resistor R13
+U 1 1 66719835
+P 10400 3550
+F 0 "R13" H 10450 3680 50 0000 C CNN
+F 1 "2.5k" H 10450 3500 50 0000 C CNN
+F 2 "" H 10450 3530 30 0000 C CNN
+F 3 "" V 10450 3600 30 0000 C CNN
+ 1 10400 3550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 10350 3350 10350 2750
+Connection ~ 10350 2750
+Wire Wire Line
+ 10350 3650 10350 3800
+Connection ~ 10350 3800
+$Comp
+L eSim_NPN Q16
+U 1 1 66719836
+P 10650 2750
+F 0 "Q16" H 10550 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 10600 2900 50 0000 R CNN
+F 2 "" H 10850 2850 29 0000 C CNN
+F 3 "" H 10650 2750 60 0000 C CNN
+ 1 10650 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66719837
+P 10800 3550
+F 0 "R14" H 10850 3680 50 0000 C CNN
+F 1 "1.9" H 10850 3500 50 0000 C CNN
+F 2 "" H 10850 3530 30 0000 C CNN
+F 3 "" V 10850 3600 30 0000 C CNN
+ 1 10800 3550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 9350 3100 10750 3100
+Wire Wire Line
+ 10750 2950 10750 3350
+Connection ~ 10750 3100
+Wire Wire Line
+ 10750 3650 10750 4350
+Connection ~ 10750 3800
+$Comp
+L resistor R10
+U 1 1 66719838
+P 8750 2250
+F 0 "R10" H 8800 2380 50 0000 C CNN
+F 1 "5k" H 8800 2200 50 0000 C CNN
+F 2 "" H 8800 2230 30 0000 C CNN
+F 3 "" V 8800 2300 30 0000 C CNN
+ 1 8750 2250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U3
+U 1 1 66719839
+P 8700 1750
+F 0 "U3" H 8650 1650 60 0000 C CNN
+F 1 "zener" H 8700 1850 60 0000 C CNN
+F 2 "" H 8750 1750 60 0000 C CNN
+F 3 "" H 8750 1750 60 0000 C CNN
+ 1 8700 1750
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 8700 1950 8700 2050
+Wire Wire Line
+ 8700 1250 8700 1450
+Wire Wire Line
+ 9650 1250 9650 2300
+Connection ~ 8700 1250
+Wire Wire Line
+ 10750 1250 10750 2550
+Connection ~ 9650 1250
+Connection ~ 10750 1250
+$Comp
+L eSim_NPN Q11
+U 1 1 6671983A
+P 6400 6300
+F 0 "Q11" H 6300 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 6350 6450 50 0000 R CNN
+F 2 "" H 6600 6400 29 0000 C CNN
+F 3 "" H 6400 6300 60 0000 C CNN
+ 1 6400 6300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6200 5250 6200 5350
+Wire Wire Line
+ 6200 5350 7500 5350
+Wire Wire Line
+ 7500 5350 7500 5200
+Wire Wire Line
+ 6500 6100 6500 5350
+Connection ~ 6500 5350
+Wire Wire Line
+ 5100 7500 5100 5500
+Connection ~ 4400 7500
+$Comp
+L resistor R7
+U 1 1 6671983B
+P 6450 6850
+F 0 "R7" H 6500 6980 50 0000 C CNN
+F 1 "2.84k" H 6500 6800 50 0000 C CNN
+F 2 "" H 6500 6830 30 0000 C CNN
+F 3 "" V 6500 6900 30 0000 C CNN
+ 1 6450 6850
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6500 6750 6500 6500
+Wire Wire Line
+ 6500 7500 6500 7050
+Connection ~ 5100 7500
+Connection ~ 6500 7500
+$Comp
+L capacitor_polarised C1
+U 1 1 6671983C
+P 8150 4550
+F 0 "C1" H 8175 4650 50 0000 L CNN
+F 1 "5pF" H 8175 4450 50 0000 L CNN
+F 2 "" H 8150 4550 50 0001 C CNN
+F 3 "" H 8150 4550 50 0001 C CNN
+ 1 8150 4550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 8000 4550 7500 4550
+Connection ~ 7500 4550
+Wire Wire Line
+ 8300 4550 8500 4550
+Wire Wire Line
+ 8500 4550 8500 5000
+Wire Wire Line
+ 7800 5000 9300 5000
+$Comp
+L resistor R12
+U 1 1 6671983D
+P 9500 4950
+F 0 "R12" H 9550 5080 50 0000 C CNN
+F 1 "15k" H 9550 4900 50 0000 C CNN
+F 2 "" H 9550 4930 30 0000 C CNN
+F 3 "" V 9550 5000 30 0000 C CNN
+ 1 9500 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 6671983E
+P 10800 4550
+F 0 "R15" H 10850 4680 50 0000 C CNN
+F 1 "1.5k" H 10850 4500 50 0000 C CNN
+F 2 "" H 10850 4530 30 0000 C CNN
+F 3 "" V 10850 4600 30 0000 C CNN
+ 1 10800 4550
+ 0 -1 -1 0
+$EndComp
+Connection ~ 8500 5000
+Wire Wire Line
+ 9600 5000 10750 5000
+Wire Wire Line
+ 10750 4650 10750 5950
+Connection ~ 6650 7500
+$Comp
+L resistor R16
+U 1 1 6671983F
+P 10800 6150
+F 0 "R16" H 10850 6280 50 0000 C CNN
+F 1 "2.23k" H 10850 6100 50 0000 C CNN
+F 2 "" H 10850 6130 30 0000 C CNN
+F 3 "" V 10850 6200 30 0000 C CNN
+ 1 10800 6150
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 10800 6250 10800 7500
+Wire Wire Line
+ 10800 6250 10750 6250
+Connection ~ 10750 5000
+Connection ~ 10800 7500
+Wire Wire Line
+ 3250 6300 6200 6300
+Connection ~ 3550 2200
+Connection ~ 3600 6300
+$Comp
+L PORT U5
+U 2 1 66719C33
+P 11400 3800
+F 0 "U5" H 11450 3900 30 0000 C CNN
+F 1 "PORT" H 11400 3800 30 0000 C CNN
+F 2 "" H 11400 3800 60 0000 C CNN
+F 3 "" H 11400 3800 60 0000 C CNN
+ 2 11400 3800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 1 1 66719F7B
+P 11700 1250
+F 0 "U5" H 11750 1350 30 0000 C CNN
+F 1 "PORT" H 11700 1250 30 0000 C CNN
+F 2 "" H 11700 1250 60 0000 C CNN
+F 3 "" H 11700 1250 60 0000 C CNN
+ 1 11700 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 3 1 6671A2F2
+P 11950 7500
+F 0 "U5" H 12000 7600 30 0000 C CNN
+F 1 "PORT" H 11950 7500 30 0000 C CNN
+F 2 "" H 11950 7500 60 0000 C CNN
+F 3 "" H 11950 7500 60 0000 C CNN
+ 3 11950 7500
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub
new file mode 100644
index 00000000..ac44fde1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub
@@ -0,0 +1,59 @@
+* Subcircuit LM78L_sub
+.subckt LM78L_sub net-_j1-pad1_ net-_r13-pad1_ net-_j1-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm78l_sub\lm78l_sub.cir
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q7-pad2_ 576
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A
+r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k
+* u1 ? net-_j1-pad3_ zener
+r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k
+q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+r5 net-_q7-pad1_ net-_j1-pad2_ 7.8k
+q9 net-_q12-pad3_ net-_q7-pad1_ net-_j1-pad2_ Q2N2222
+q12 net-_j1-pad2_ net-_c1-pad1_ net-_q12-pad3_ Q2N2907A
+r8 net-_q12-pad3_ net-_c1-pad1_ 5.76k
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q13 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad2_ net-_r3-pad2_ 13k
+q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222
+r9 net-_q14-pad3_ net-_r13-pad1_ 100
+* u4 net-_q14-pad2_ net-_r10-pad1_ zener
+r11 net-_q16-pad3_ net-_q14-pad2_ 100
+q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222
+r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k
+q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222
+r14 net-_r13-pad1_ net-_q16-pad3_ 1.9
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u3 net-_r10-pad2_ net-_j1-pad1_ zener
+q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_j1-pad2_ 2.84k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5pf
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+r15 net-_r12-pad1_ net-_r13-pad1_ 1.5k
+r16 net-_j1-pad2_ net-_r12-pad1_ 2.23k
+a1 ? net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_q14-pad2_ net-_r10-pad1_ u4
+a4 net-_r10-pad2_ net-_j1-pad1_ u3
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 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 u3 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 LM78L_sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml
new file mode 100644
index 00000000..0a2fd9c4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 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></u1><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><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field14><field15 name="Enter Switch for Limiting (default=FALSE)">FALSE</field15></u4><u3 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)">5.6</field16><field17 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field17><field18 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field18><field19 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field19><field20 name="Enter Switch for Limiting (default=FALSE)">FALSE</field20></u3></model><devicemodel><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LM78L_Sub/NJF.lib b/library/SubcircuitLibrary/LM78L_Sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/LM78L_Sub/NPN.lib b/library/SubcircuitLibrary/LM78L_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/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/LM78L_Sub/PNP.lib b/library/SubcircuitLibrary/LM78L_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/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/LM78L_Sub/analysis b/library/SubcircuitLibrary/LM78L_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LT1011_sub/D.lib b/library/SubcircuitLibrary/LT1011_sub/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/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/LT1011_sub/LT1011_sub-cache.lib b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub-cache.lib
new file mode 100644
index 00000000..3132c1cf
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub-cache.lib
@@ -0,0 +1,163 @@
+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_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 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/LT1011_sub/LT1011_sub.cir b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir
new file mode 100644
index 00000000..93abefee
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir
@@ -0,0 +1,78 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LT1011_sub\LT1011_sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/07/24 17:05:56
+
+* 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: /
+R30 Net-_J2-Pad1_ Net-_Q35-Pad3_ 3k
+Q35 Net-_D7-Pad2_ Net-_Q35-Pad2_ Net-_Q35-Pad3_ eSim_PNP
+Q34 Net-_J2-Pad2_ Net-_D5-Pad2_ Net-_D7-Pad2_ eSim_PNP
+Q37 Net-_J2-Pad2_ Net-_D6-Pad2_ Net-_D8-Pad2_ eSim_PNP
+Q38 Net-_J2-Pad1_ Net-_J2-Pad1_ Net-_Q38-Pad3_ eSim_NPN
+R31 Net-_Q38-Pad3_ Net-_Q35-Pad2_ 160
+D7 Net-_D5-Pad1_ Net-_D7-Pad2_ eSim_Diode
+Q39 Net-_Q35-Pad2_ Net-_D7-Pad2_ Net-_D5-Pad1_ eSim_NPN
+R33 Net-_Q44-Pad3_ Net-_R33-Pad2_ 300
+R43 Net-_Q53-Pad3_ Net-_Q50-Pad1_ 4k
+R35 Net-_J2-Pad1_ Net-_Q44-Pad3_ 1.3k
+R36 Net-_J2-Pad1_ Net-_Q45-Pad3_ 1.3k
+Q44 Net-_Q43-Pad3_ Net-_Q35-Pad2_ Net-_Q44-Pad3_ eSim_PNP
+Q45 Net-_Q35-Pad2_ Net-_Q35-Pad2_ Net-_Q45-Pad3_ eSim_PNP
+U5 Net-_U5-PadIN_ Net-_Q43-Pad3_ zener
+U6 Net-_U5-PadIN_ Net-_Q35-Pad2_ zener
+Q43 Net-_J2-Pad2_ Net-_D5-Pad1_ Net-_Q43-Pad3_ eSim_PNP
+Q41 Net-_Q35-Pad2_ Net-_D8-Pad2_ Net-_D5-Pad1_ eSim_NPN
+D8 Net-_D5-Pad1_ Net-_D8-Pad2_ eSim_Diode
+Q40 Net-_D5-Pad1_ Net-_Q40-Pad2_ Net-_Q40-Pad3_ eSim_NPN
+Q42 Net-_D5-Pad1_ Net-_Q40-Pad2_ Net-_Q42-Pad3_ eSim_NPN
+R34 Net-_Q42-Pad3_ Net-_J2-Pad2_ 1.6k
+R42 Net-_Q51-Pad3_ Net-_J2-Pad2_ 275
+R50 Net-_J2-Pad1_ Net-_Q54-Pad1_ 800
+R39 Net-_Q54-Pad3_ Net-_Q45-Pad3_ 300
+Q53 Net-_J2-Pad1_ Net-_Q50-Pad1_ Net-_Q53-Pad3_ eSim_NPN
+Q58 Net-_Q58-Pad1_ Net-_Q53-Pad3_ Net-_Q54-Pad1_ eSim_PNP
+R41 Net-_J2-Pad1_ Net-_Q50-Pad1_ 800
+R32 Net-_Q40-Pad3_ Net-_J2-Pad2_ 1.6k
+Q46 Net-_J2-Pad2_ Net-_D5-Pad1_ Net-_Q35-Pad2_ eSim_PNP
+Q48 Net-_Q47-Pad3_ Net-_Q40-Pad2_ Net-_Q48-Pad3_ eSim_NPN
+R38 Net-_Q47-Pad1_ Net-_Q35-Pad2_ 3.2k
+Q47 Net-_Q47-Pad1_ Net-_Q43-Pad3_ Net-_Q47-Pad3_ eSim_NPN
+R40 Net-_Q49-Pad1_ Net-_Q35-Pad2_ 3.2k
+Q50 Net-_Q50-Pad1_ Net-_Q47-Pad1_ Net-_Q50-Pad3_ eSim_NPN
+R37 Net-_Q48-Pad3_ Net-_J2-Pad2_ 500
+Q51 Net-_Q50-Pad3_ Net-_Q40-Pad2_ Net-_Q51-Pad3_ eSim_NPN
+Q49 Net-_Q49-Pad1_ Net-_Q35-Pad2_ Net-_Q47-Pad3_ eSim_NPN
+Q54 Net-_Q54-Pad1_ Net-_Q54-Pad1_ Net-_Q54-Pad3_ eSim_NPN
+Q56 Net-_Q54-Pad1_ Net-_Q49-Pad1_ Net-_Q50-Pad3_ eSim_NPN
+R46 Net-_R46-Pad1_ Net-_Q40-Pad2_ 200
+Q57 Net-_Q53-Pad3_ Net-_Q57-Pad2_ Net-_Q57-Pad3_ eSim_NPN
+R48 Net-_R46-Pad1_ Net-_Q57-Pad3_ 800
+R49 Net-_R45-Pad2_ Net-_R46-Pad1_ 700
+R45 Net-_Q52-Pad2_ Net-_R45-Pad2_ 940
+Q52 Net-_Q40-Pad2_ Net-_Q52-Pad2_ Net-_J2-Pad2_ eSim_NPN
+Q55 Net-_Q55-Pad1_ Net-_Q55-Pad1_ Net-_J2-Pad2_ eSim_NPN
+R44 Net-_Q52-Pad2_ Net-_Q55-Pad1_ 960
+R47 Net-_R45-Pad2_ Net-_J2-Pad2_ 4.8k
+Q65 Net-_J2-Pad1_ Net-_Q58-Pad1_ Net-_Q65-Pad3_ eSim_NPN
+R54 Net-_Q65-Pad3_ Net-_Q66-Pad2_ 170
+R53 Net-_Q58-Pad1_ Net-_Q65-Pad3_ 4k
+Q66 Net-_Q64-Pad2_ Net-_Q66-Pad2_ Net-_Q62-Pad2_ eSim_NPN
+J2 Net-_J2-Pad1_ Net-_J2-Pad2_ Net-_J2-Pad3_ jfet_n
+Q59 Net-_Q57-Pad2_ Net-_J2-Pad3_ Net-_Q59-Pad3_ eSim_NPN
+R51 Net-_Q57-Pad2_ Net-_J2-Pad3_ 200
+Q60 Net-_Q59-Pad3_ Net-_Q59-Pad3_ Net-_Q60-Pad3_ eSim_NPN
+Q61 Net-_Q60-Pad3_ Net-_Q60-Pad3_ Net-_J2-Pad2_ eSim_NPN
+Q63 Net-_Q58-Pad1_ Net-_Q58-Pad1_ Net-_Q63-Pad3_ eSim_NPN
+Q64 Net-_J2-Pad2_ Net-_Q64-Pad2_ Net-_Q63-Pad3_ eSim_PNP
+R55 Net-_Q66-Pad2_ Net-_Q62-Pad2_ 470
+Q62 Net-_Q58-Pad1_ Net-_Q62-Pad2_ Net-_Q62-Pad3_ eSim_NPN
+R52 Net-_Q62-Pad3_ Net-_R52-Pad2_ 400
+R57 Net-_Q62-Pad2_ Net-_R52-Pad2_ 4
+Q36 Net-_D7-Pad2_ Net-_D8-Pad2_ Net-_Q35-Pad3_ eSim_PNP
+D5 Net-_D5-Pad1_ Net-_D5-Pad2_ eSim_Diode
+D6 Net-_D5-Pad1_ Net-_D6-Pad2_ eSim_Diode
+U4 Net-_R52-Pad2_ Net-_D5-Pad2_ Net-_D6-Pad2_ Net-_J2-Pad2_ Net-_R33-Pad2_ Net-_Q54-Pad3_ Net-_Q64-Pad2_ Net-_J2-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir.out b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir.out
new file mode 100644
index 00000000..005251da
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.cir.out
@@ -0,0 +1,90 @@
+* c:\fossee\esim\library\subcircuitlibrary\lt1011_sub\lt1011_sub.cir
+
+.include NPN.lib
+.include PNP.lib
+.include schottky.lib
+.include NJF.lib
+.include D.lib
+r30 net-_j2-pad1_ net-_q35-pad3_ 3k
+q35 net-_d7-pad2_ net-_q35-pad2_ net-_q35-pad3_ Q2N2907A
+q34 net-_j2-pad2_ net-_d5-pad2_ net-_d7-pad2_ Q2N2907A
+q37 net-_j2-pad2_ net-_d6-pad2_ net-_d8-pad2_ Q2N2907A
+q38 net-_j2-pad1_ net-_j2-pad1_ net-_q38-pad3_ Q2N2222
+r31 net-_q38-pad3_ net-_q35-pad2_ 160
+d7 net-_d5-pad1_ net-_d7-pad2_ 1N4148
+q39 net-_q35-pad2_ net-_d7-pad2_ net-_d5-pad1_ Q2N2222
+r33 net-_q44-pad3_ net-_r33-pad2_ 300
+r43 net-_q53-pad3_ net-_q50-pad1_ 4k
+r35 net-_j2-pad1_ net-_q44-pad3_ 1.3k
+r36 net-_j2-pad1_ net-_q45-pad3_ 1.3k
+q44 net-_q43-pad3_ net-_q35-pad2_ net-_q44-pad3_ Q2N2907A
+q45 net-_q35-pad2_ net-_q35-pad2_ net-_q45-pad3_ Q2N2907A
+* u5 net-_u5-padin_ net-_q43-pad3_ zener
+* u6 net-_u5-padin_ net-_q35-pad2_ zener
+q43 net-_j2-pad2_ net-_d5-pad1_ net-_q43-pad3_ Q2N2907A
+q41 net-_q35-pad2_ net-_d8-pad2_ net-_d5-pad1_ Q2N2222
+d8 net-_d5-pad1_ net-_d8-pad2_ 1N4148
+q40 net-_d5-pad1_ net-_q40-pad2_ net-_q40-pad3_ Q2N2222
+q42 net-_d5-pad1_ net-_q40-pad2_ net-_q42-pad3_ Q2N2222
+r34 net-_q42-pad3_ net-_j2-pad2_ 1.6k
+r42 net-_q51-pad3_ net-_j2-pad2_ 275
+r50 net-_j2-pad1_ net-_q54-pad1_ 800
+r39 net-_q54-pad3_ net-_q45-pad3_ 300
+q53 net-_j2-pad1_ net-_q50-pad1_ net-_q53-pad3_ Q2N2222
+q58 net-_q58-pad1_ net-_q53-pad3_ net-_q54-pad1_ Q2N2907A
+r41 net-_j2-pad1_ net-_q50-pad1_ 800
+r32 net-_q40-pad3_ net-_j2-pad2_ 1.6k
+q46 net-_j2-pad2_ net-_d5-pad1_ net-_q35-pad2_ Q2N2907A
+q48 net-_q47-pad3_ net-_q40-pad2_ net-_q48-pad3_ Q2N2222
+r38 net-_q47-pad1_ net-_q35-pad2_ 3.2k
+q47 net-_q47-pad1_ net-_q43-pad3_ net-_q47-pad3_ Q2N2222
+r40 net-_q49-pad1_ net-_q35-pad2_ 3.2k
+q50 net-_q50-pad1_ net-_q47-pad1_ net-_q50-pad3_ Q2N2222
+r37 net-_q48-pad3_ net-_j2-pad2_ 500
+q51 net-_q50-pad3_ net-_q40-pad2_ net-_q51-pad3_ Q2N2222
+q49 net-_q49-pad1_ net-_q35-pad2_ net-_q47-pad3_ Q2N2222
+q54 net-_q54-pad1_ net-_q54-pad1_ net-_q54-pad3_ Q2N2222
+q56 net-_q54-pad1_ net-_q49-pad1_ net-_q50-pad3_ Q2N2222
+r46 net-_r46-pad1_ net-_q40-pad2_ 200
+q57 net-_q53-pad3_ net-_q57-pad2_ net-_q57-pad3_ Q2N2222
+r48 net-_r46-pad1_ net-_q57-pad3_ 800
+r49 net-_r45-pad2_ net-_r46-pad1_ 700
+r45 net-_q52-pad2_ net-_r45-pad2_ 940
+q52 net-_q40-pad2_ net-_q52-pad2_ net-_j2-pad2_ Q2N2222
+q55 net-_q55-pad1_ net-_q55-pad1_ net-_j2-pad2_ Q2N2222
+r44 net-_q52-pad2_ net-_q55-pad1_ 960
+r47 net-_r45-pad2_ net-_j2-pad2_ 4.8k
+q65 net-_j2-pad1_ net-_q58-pad1_ net-_q65-pad3_ Q2N2222
+r54 net-_q65-pad3_ net-_q66-pad2_ 170
+r53 net-_q58-pad1_ net-_q65-pad3_ 4k
+q66 net-_q64-pad2_ net-_q66-pad2_ net-_q62-pad2_ Q2N2222
+j2 net-_j2-pad1_ net-_j2-pad2_ net-_j2-pad3_ J2N3819
+q59 net-_q57-pad2_ net-_j2-pad3_ net-_q59-pad3_ Q2N2222
+r51 net-_q57-pad2_ net-_j2-pad3_ 200
+q60 net-_q59-pad3_ net-_q59-pad3_ net-_q60-pad3_ Q2N2222
+q61 net-_q60-pad3_ net-_q60-pad3_ net-_j2-pad2_ Q2N2222
+q63 net-_q58-pad1_ net-_q58-pad1_ net-_q63-pad3_ Q2N2222
+q64 net-_j2-pad2_ net-_q64-pad2_ net-_q63-pad3_ Q2N2907A
+r55 net-_q66-pad2_ net-_q62-pad2_ 470
+q62 net-_q58-pad1_ net-_q62-pad2_ net-_q62-pad3_ Q2N2222
+r52 net-_q62-pad3_ net-_r52-pad2_ 400
+r57 net-_q62-pad2_ net-_r52-pad2_ 4
+q36 net-_d7-pad2_ net-_d8-pad2_ net-_q35-pad3_ Q2N2907A
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N5819
+d6 net-_d5-pad1_ net-_d6-pad2_ 1N5819
+* u4 net-_r52-pad2_ net-_d5-pad2_ net-_d6-pad2_ net-_j2-pad2_ net-_r33-pad2_ net-_q54-pad3_ net-_q64-pad2_ net-_j2-pad1_ port
+a1 net-_u5-padin_ net-_q43-pad3_ u5
+a2 net-_u5-padin_ net-_q35-pad2_ u6
+* Schematic Name: zener, NgSpice Name: zener
+.model u5 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 u6 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-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/LT1011_sub/LT1011_sub.pro b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sch b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sch
new file mode 100644
index 00000000..627f9d8e
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sch
@@ -0,0 +1,1298 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LT1011_sub-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 15780 9859
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R30
+U 1 1 6689A85E
+P 2300 2100
+F 0 "R30" H 2350 2230 50 0000 C CNN
+F 1 "3k" H 2350 2050 50 0000 C CNN
+F 2 "" H 2350 2080 30 0000 C CNN
+F 3 "" V 2350 2150 30 0000 C CNN
+ 1 2300 2100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q35
+U 1 1 6689A85F
+P 2600 2600
+F 0 "Q35" H 2500 2650 50 0000 R CNN
+F 1 "eSim_PNP" H 2550 2750 50 0000 R CNN
+F 2 "" H 2800 2700 29 0000 C CNN
+F 3 "" H 2600 2600 60 0000 C CNN
+ 1 2600 2600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q34
+U 1 1 6689A860
+P 2300 3900
+F 0 "Q34" H 2200 3950 50 0000 R CNN
+F 1 "eSim_PNP" H 2250 4050 50 0000 R CNN
+F 2 "" H 2500 4000 29 0000 C CNN
+F 3 "" H 2300 3900 60 0000 C CNN
+ 1 2300 3900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q37
+U 1 1 6689A861
+P 2850 5450
+F 0 "Q37" H 2750 5500 50 0000 R CNN
+F 1 "eSim_PNP" H 2800 5600 50 0000 R CNN
+F 2 "" H 3050 5550 29 0000 C CNN
+F 3 "" H 2850 5450 60 0000 C CNN
+ 1 2850 5450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q38
+U 1 1 6689A862
+P 3600 2050
+F 0 "Q38" H 3500 2100 50 0000 R CNN
+F 1 "eSim_NPN" H 3550 2200 50 0000 R CNN
+F 2 "" H 3800 2150 29 0000 C CNN
+F 3 "" H 3600 2050 60 0000 C CNN
+ 1 3600 2050
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R31
+U 1 1 6689A863
+P 3450 2500
+F 0 "R31" H 3500 2630 50 0000 C CNN
+F 1 "160" H 3500 2450 50 0000 C CNN
+F 2 "" H 3500 2480 30 0000 C CNN
+F 3 "" V 3500 2550 30 0000 C CNN
+ 1 3450 2500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 6689A864
+P 3600 3550
+F 0 "D7" H 3600 3650 50 0000 C CNN
+F 1 "eSim_Diode" H 3600 3450 50 0000 C CNN
+F 2 "" H 3600 3550 60 0000 C CNN
+F 3 "" H 3600 3550 60 0000 C CNN
+ 1 3600 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q39
+U 1 1 6689A865
+P 3900 3400
+F 0 "Q39" H 3800 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 3550 50 0000 R CNN
+F 2 "" H 4100 3500 29 0000 C CNN
+F 3 "" H 3900 3400 60 0000 C CNN
+ 1 3900 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R33
+U 1 1 6689A866
+P 4650 2500
+F 0 "R33" H 4700 2650 50 0000 C CNN
+F 1 "300" H 4700 2450 50 0000 C CNN
+F 2 "" H 4700 2480 30 0000 C CNN
+F 3 "" V 4700 2550 30 0000 C CNN
+ 1 4650 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R43
+U 1 1 6689A867
+P 7750 2500
+F 0 "R43" H 7800 2630 50 0000 C CNN
+F 1 "4k" H 7800 2450 50 0000 C CNN
+F 2 "" H 7800 2480 30 0000 C CNN
+F 3 "" V 7800 2550 30 0000 C CNN
+ 1 7750 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R35
+U 1 1 6689A868
+P 4850 2050
+F 0 "R35" H 4900 2180 50 0000 C CNN
+F 1 "1.3k" H 4900 2000 50 0000 C CNN
+F 2 "" H 4900 2030 30 0000 C CNN
+F 3 "" V 4900 2100 30 0000 C CNN
+ 1 4850 2050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R36
+U 1 1 6689A869
+P 5950 2100
+F 0 "R36" H 6000 2230 50 0000 C CNN
+F 1 "1.3k" H 6000 2050 50 0000 C CNN
+F 2 "" H 6000 2080 30 0000 C CNN
+F 3 "" V 6000 2150 30 0000 C CNN
+ 1 5950 2100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q44
+U 1 1 6689A86A
+P 5200 3050
+F 0 "Q44" H 5100 3100 50 0000 R CNN
+F 1 "eSim_PNP" H 5200 2950 50 0000 R CNN
+F 2 "" H 5400 3150 29 0000 C CNN
+F 3 "" H 5200 3050 60 0000 C CNN
+ 1 5200 3050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q45
+U 1 1 6689A86B
+P 5600 3050
+F 0 "Q45" H 5900 3000 50 0000 R CNN
+F 1 "eSim_PNP" H 5550 3200 50 0000 R CNN
+F 2 "" H 5800 3150 29 0000 C CNN
+F 3 "" H 5600 3050 60 0000 C CNN
+ 1 5600 3050
+ 1 0 0 1
+$EndComp
+$Comp
+L zener U5
+U 1 1 6689A86C
+P 5200 3600
+F 0 "U5" H 5150 3500 60 0000 C CNN
+F 1 "zener" H 5200 3700 60 0000 C CNN
+F 2 "" H 5250 3600 60 0000 C CNN
+F 3 "" H 5250 3600 60 0000 C CNN
+ 1 5200 3600
+ -1 0 0 -1
+$EndComp
+$Comp
+L zener U6
+U 1 1 6689A86D
+P 5650 3600
+F 0 "U6" H 5600 3500 60 0000 C CNN
+F 1 "zener" H 5650 3700 60 0000 C CNN
+F 2 "" H 5700 3600 60 0000 C CNN
+F 3 "" H 5700 3600 60 0000 C CNN
+ 1 5650 3600
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q43
+U 1 1 6689A86E
+P 5000 4150
+F 0 "Q43" H 4900 4200 50 0000 R CNN
+F 1 "eSim_PNP" H 4950 4300 50 0000 R CNN
+F 2 "" H 5200 4250 29 0000 C CNN
+F 3 "" H 5000 4150 60 0000 C CNN
+ 1 5000 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q41
+U 1 1 6689A86F
+P 4600 4600
+F 0 "Q41" H 4500 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 4550 4750 50 0000 R CNN
+F 2 "" H 4800 4700 29 0000 C CNN
+F 3 "" H 4600 4600 60 0000 C CNN
+ 1 4600 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 6689A870
+P 4300 5000
+F 0 "D8" H 4300 5100 50 0000 C CNN
+F 1 "eSim_Diode" H 4300 4900 50 0000 C CNN
+F 2 "" H 4300 5000 60 0000 C CNN
+F 3 "" H 4300 5000 60 0000 C CNN
+ 1 4300 5000
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q40
+U 1 1 6689A871
+P 4100 6100
+F 0 "Q40" H 4000 6150 50 0000 R CNN
+F 1 "eSim_NPN" H 4050 6250 50 0000 R CNN
+F 2 "" H 4300 6200 29 0000 C CNN
+F 3 "" H 4100 6100 60 0000 C CNN
+ 1 4100 6100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q42
+U 1 1 6689A872
+P 4800 6100
+F 0 "Q42" H 4700 6150 50 0000 R CNN
+F 1 "eSim_NPN" H 4750 6250 50 0000 R CNN
+F 2 "" H 5000 6200 29 0000 C CNN
+F 3 "" H 4800 6100 60 0000 C CNN
+ 1 4800 6100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R34
+U 1 1 6689A873
+P 4650 7000
+F 0 "R34" H 4700 7130 50 0000 C CNN
+F 1 "1.6k" H 4700 6950 50 0000 C CNN
+F 2 "" H 4700 6980 30 0000 C CNN
+F 3 "" V 4700 7050 30 0000 C CNN
+ 1 4650 7000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R42
+U 1 1 6689A874
+P 7300 6950
+F 0 "R42" H 7350 7080 50 0000 C CNN
+F 1 "275" H 7350 6900 50 0000 C CNN
+F 2 "" H 7350 6930 30 0000 C CNN
+F 3 "" V 7350 7000 30 0000 C CNN
+ 1 7300 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R50
+U 1 1 6689A875
+P 9800 2000
+F 0 "R50" H 9850 2130 50 0000 C CNN
+F 1 "800" H 9850 1950 50 0000 C CNN
+F 2 "" H 9850 1980 30 0000 C CNN
+F 3 "" V 9850 2050 30 0000 C CNN
+ 1 9800 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R39
+U 1 1 6689A876
+P 6450 2500
+F 0 "R39" H 6500 2630 50 0000 C CNN
+F 1 "300" H 6500 2450 50 0000 C CNN
+F 2 "" H 6500 2480 30 0000 C CNN
+F 3 "" V 6500 2550 30 0000 C CNN
+ 1 6450 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q53
+U 1 1 6689A877
+P 8250 2300
+F 0 "Q53" H 8150 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 8200 2450 50 0000 R CNN
+F 2 "" H 8450 2400 29 0000 C CNN
+F 3 "" H 8250 2300 60 0000 C CNN
+ 1 8250 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q58
+U 1 1 6689A878
+P 9750 2550
+F 0 "Q58" H 9650 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 9700 2700 50 0000 R CNN
+F 2 "" H 9950 2650 29 0000 C CNN
+F 3 "" H 9750 2550 60 0000 C CNN
+ 1 9750 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R41
+U 1 1 6689A879
+P 7300 2000
+F 0 "R41" H 7350 2130 50 0000 C CNN
+F 1 "800" H 7350 1950 50 0000 C CNN
+F 2 "" H 7350 1980 30 0000 C CNN
+F 3 "" V 7350 2050 30 0000 C CNN
+ 1 7300 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R32
+U 1 1 6689A87A
+P 3950 6950
+F 0 "R32" H 4000 7080 50 0000 C CNN
+F 1 "1.6k" H 4000 6900 50 0000 C CNN
+F 2 "" H 4000 6930 30 0000 C CNN
+F 3 "" V 4000 7000 30 0000 C CNN
+ 1 3950 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q46
+U 1 1 6689A87B
+P 5900 5450
+F 0 "Q46" H 5800 5500 50 0000 R CNN
+F 1 "eSim_PNP" H 5850 5600 50 0000 R CNN
+F 2 "" H 6100 5550 29 0000 C CNN
+F 3 "" H 5900 5450 60 0000 C CNN
+ 1 5900 5450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q48
+U 1 1 6689A87C
+P 6250 6100
+F 0 "Q48" H 6150 6150 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 6250 50 0000 R CNN
+F 2 "" H 6450 6200 29 0000 C CNN
+F 3 "" H 6250 6100 60 0000 C CNN
+ 1 6250 6100
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R38
+U 1 1 6689A87D
+P 6400 3350
+F 0 "R38" H 6450 3480 50 0000 C CNN
+F 1 "3.2k" H 6450 3300 50 0000 C CNN
+F 2 "" H 6450 3330 30 0000 C CNN
+F 3 "" V 6450 3400 30 0000 C CNN
+ 1 6400 3350
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q47
+U 1 1 6689A87E
+P 6250 3900
+F 0 "Q47" H 6150 3950 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 4050 50 0000 R CNN
+F 2 "" H 6450 4000 29 0000 C CNN
+F 3 "" H 6250 3900 60 0000 C CNN
+ 1 6250 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R40
+U 1 1 6689A87F
+P 6750 3350
+F 0 "R40" H 6800 3480 50 0000 C CNN
+F 1 "3.2k" H 6800 3300 50 0000 C CNN
+F 2 "" H 6800 3330 30 0000 C CNN
+F 3 "" V 6800 3400 30 0000 C CNN
+ 1 6750 3350
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q50
+U 1 1 6689A880
+P 7250 3650
+F 0 "Q50" H 7150 3700 50 0000 R CNN
+F 1 "eSim_NPN" H 7200 3800 50 0000 R CNN
+F 2 "" H 7450 3750 29 0000 C CNN
+F 3 "" H 7250 3650 60 0000 C CNN
+ 1 7250 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R37
+U 1 1 6689A881
+P 6300 6950
+F 0 "R37" H 6350 7080 50 0000 C CNN
+F 1 "500" H 6350 6900 50 0000 C CNN
+F 2 "" H 6350 6930 30 0000 C CNN
+F 3 "" V 6350 7000 30 0000 C CNN
+ 1 6300 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q51
+U 1 1 6689A882
+P 7450 6100
+F 0 "Q51" H 7350 6150 50 0000 R CNN
+F 1 "eSim_NPN" H 7400 6250 50 0000 R CNN
+F 2 "" H 7650 6200 29 0000 C CNN
+F 3 "" H 7450 6100 60 0000 C CNN
+ 1 7450 6100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q49
+U 1 1 6689A883
+P 6600 5050
+F 0 "Q49" H 6500 5100 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 5200 50 0000 R CNN
+F 2 "" H 6800 5150 29 0000 C CNN
+F 3 "" H 6600 5050 60 0000 C CNN
+ 1 6600 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q54
+U 1 1 6689A884
+P 8500 3700
+F 0 "Q54" H 8400 3750 50 0000 R CNN
+F 1 "eSim_NPN" H 8450 3850 50 0000 R CNN
+F 2 "" H 8700 3800 29 0000 C CNN
+F 3 "" H 8500 3700 60 0000 C CNN
+ 1 8500 3700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q56
+U 1 1 6689A885
+P 8800 4800
+F 0 "Q56" H 8700 4850 50 0000 R CNN
+F 1 "eSim_NPN" H 8750 4950 50 0000 R CNN
+F 2 "" H 9000 4900 29 0000 C CNN
+F 3 "" H 8800 4800 60 0000 C CNN
+ 1 8800 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R46
+U 1 1 6689A886
+P 8850 6050
+F 0 "R46" H 8900 6180 50 0000 C CNN
+F 1 "200" H 8900 6000 50 0000 C CNN
+F 2 "" H 8900 6030 30 0000 C CNN
+F 3 "" V 8900 6100 30 0000 C CNN
+ 1 8850 6050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q57
+U 1 1 6689A887
+P 9300 4800
+F 0 "Q57" H 9200 4850 50 0000 R CNN
+F 1 "eSim_NPN" H 9250 4950 50 0000 R CNN
+F 2 "" H 9500 4900 29 0000 C CNN
+F 3 "" H 9300 4800 60 0000 C CNN
+ 1 9300 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R48
+U 1 1 6689A888
+P 9250 5650
+F 0 "R48" H 9300 5780 50 0000 C CNN
+F 1 "800" H 9300 5600 50 0000 C CNN
+F 2 "" H 9300 5630 30 0000 C CNN
+F 3 "" V 9300 5700 30 0000 C CNN
+ 1 9250 5650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R49
+U 1 1 6689A889
+P 9250 6500
+F 0 "R49" H 9300 6630 50 0000 C CNN
+F 1 "700" H 9300 6450 50 0000 C CNN
+F 2 "" H 9300 6480 30 0000 C CNN
+F 3 "" V 9300 6550 30 0000 C CNN
+ 1 9250 6500
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R45
+U 1 1 6689A88A
+P 8750 6700
+F 0 "R45" H 8800 6850 50 0000 C CNN
+F 1 "940" H 8800 6650 50 0000 C CNN
+F 2 "" H 8800 6680 30 0000 C CNN
+F 3 "" V 8800 6750 30 0000 C CNN
+ 1 8750 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q52
+U 1 1 6689A88B
+P 8100 6650
+F 0 "Q52" H 8000 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 8050 6800 50 0000 R CNN
+F 2 "" H 8300 6750 29 0000 C CNN
+F 3 "" H 8100 6650 60 0000 C CNN
+ 1 8100 6650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q55
+U 1 1 6689A88C
+P 8550 7450
+F 0 "Q55" H 8450 7500 50 0000 R CNN
+F 1 "eSim_NPN" H 8500 7600 50 0000 R CNN
+F 2 "" H 8750 7550 29 0000 C CNN
+F 3 "" H 8550 7450 60 0000 C CNN
+ 1 8550 7450
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R44
+U 1 1 6689A88D
+P 8400 6900
+F 0 "R44" H 8450 7050 50 0000 C CNN
+F 1 "960" H 8450 6850 50 0000 C CNN
+F 2 "" H 8450 6880 30 0000 C CNN
+F 3 "" V 8450 6950 30 0000 C CNN
+ 1 8400 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R47
+U 1 1 6689A88E
+P 9150 7050
+F 0 "R47" H 9200 7200 50 0000 C CNN
+F 1 "4.8k" H 9200 7000 50 0000 C CNN
+F 2 "" H 9200 7030 30 0000 C CNN
+F 3 "" V 9200 7100 30 0000 C CNN
+ 1 9150 7050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q65
+U 1 1 6689A88F
+P 12750 2900
+F 0 "Q65" H 12650 2950 50 0000 R CNN
+F 1 "eSim_NPN" H 12700 3050 50 0000 R CNN
+F 2 "" H 12950 3000 29 0000 C CNN
+F 3 "" H 12750 2900 60 0000 C CNN
+ 1 12750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R54
+U 1 1 6689A890
+P 12800 3450
+F 0 "R54" H 12850 3580 50 0000 C CNN
+F 1 "170" H 12850 3400 50 0000 C CNN
+F 2 "" H 12850 3430 30 0000 C CNN
+F 3 "" V 12850 3500 30 0000 C CNN
+ 1 12800 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R53
+U 1 1 6689A891
+P 12400 3100
+F 0 "R53" H 12450 3230 50 0000 C CNN
+F 1 "4k" H 12450 3050 50 0000 C CNN
+F 2 "" H 12450 3080 30 0000 C CNN
+F 3 "" V 12450 3150 30 0000 C CNN
+ 1 12400 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q66
+U 1 1 6689A892
+P 13150 4300
+F 0 "Q66" H 13050 4350 50 0000 R CNN
+F 1 "eSim_NPN" H 13100 4450 50 0000 R CNN
+F 2 "" H 13350 4400 29 0000 C CNN
+F 3 "" H 13150 4300 60 0000 C CNN
+ 1 13150 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L jfet_n J2
+U 1 1 6689A893
+P 10350 4100
+F 0 "J2" H 10250 4150 50 0000 R CNN
+F 1 "jfet_n" H 10300 4250 50 0000 R CNN
+F 2 "" H 10550 4200 29 0000 C CNN
+F 3 "" H 10350 4100 60 0000 C CNN
+ 1 10350 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q59
+U 1 1 6689A894
+P 9850 5600
+F 0 "Q59" H 9750 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 9800 5750 50 0000 R CNN
+F 2 "" H 10050 5700 29 0000 C CNN
+F 3 "" H 9850 5600 60 0000 C CNN
+ 1 9850 5600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R51
+U 1 1 6689A895
+P 9950 4850
+F 0 "R51" H 10000 4980 50 0000 C CNN
+F 1 "200" H 10000 4800 50 0000 C CNN
+F 2 "" H 10000 4830 30 0000 C CNN
+F 3 "" V 10000 4900 30 0000 C CNN
+ 1 9950 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q60
+U 1 1 6689A896
+P 9850 6500
+F 0 "Q60" H 9750 6550 50 0000 R CNN
+F 1 "eSim_NPN" H 9800 6650 50 0000 R CNN
+F 2 "" H 10050 6600 29 0000 C CNN
+F 3 "" H 9850 6500 60 0000 C CNN
+ 1 9850 6500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q61
+U 1 1 6689A897
+P 9850 7400
+F 0 "Q61" H 9750 7450 50 0000 R CNN
+F 1 "eSim_NPN" H 9800 7550 50 0000 R CNN
+F 2 "" H 10050 7500 29 0000 C CNN
+F 3 "" H 9850 7400 60 0000 C CNN
+ 1 9850 7400
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q63
+U 1 1 6689A898
+P 11550 3450
+F 0 "Q63" H 11450 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 11500 3600 50 0000 R CNN
+F 2 "" H 11750 3550 29 0000 C CNN
+F 3 "" H 11550 3450 60 0000 C CNN
+ 1 11550 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q64
+U 1 1 6689A899
+P 11900 3900
+F 0 "Q64" H 11800 3950 50 0000 R CNN
+F 1 "eSim_PNP" H 11850 4050 50 0000 R CNN
+F 2 "" H 12100 4000 29 0000 C CNN
+F 3 "" H 11900 3900 60 0000 C CNN
+ 1 11900 3900
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R55
+U 1 1 6689A89A
+P 12800 4800
+F 0 "R55" H 12850 4930 50 0000 C CNN
+F 1 "470" H 12850 4750 50 0000 C CNN
+F 2 "" H 12850 4780 30 0000 C CNN
+F 3 "" V 12850 4850 30 0000 C CNN
+ 1 12800 4800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q62
+U 1 1 6689A89B
+P 11400 5600
+F 0 "Q62" H 11300 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 11350 5750 50 0000 R CNN
+F 2 "" H 11600 5700 29 0000 C CNN
+F 3 "" H 11400 5600 60 0000 C CNN
+ 1 11400 5600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R52
+U 1 1 6689A89C
+P 11250 6100
+F 0 "R52" H 11300 6230 50 0000 C CNN
+F 1 "400" H 11300 6050 50 0000 C CNN
+F 2 "" H 11300 6080 30 0000 C CNN
+F 3 "" V 11300 6150 30 0000 C CNN
+ 1 11250 6100
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R57
+U 1 1 6689A89D
+P 13200 6150
+F 0 "R57" H 13250 6280 50 0000 C CNN
+F 1 "4" H 13250 6100 50 0000 C CNN
+F 2 "" H 13250 6130 30 0000 C CNN
+F 3 "" V 13250 6200 30 0000 C CNN
+ 1 13200 6150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q36
+U 1 1 6689A8A9
+P 2600 3100
+F 0 "Q36" H 2500 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 2550 3250 50 0000 R CNN
+F 2 "" H 2800 3200 29 0000 C CNN
+F 3 "" H 2600 3100 60 0000 C CNN
+ 1 2600 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 6689A8AA
+P 3300 3900
+F 0 "D5" H 3300 4000 50 0000 C CNN
+F 1 "eSim_Diode" H 3300 3800 50 0000 C CNN
+F 2 "" H 3300 3900 60 0000 C CNN
+F 3 "" H 3300 3900 60 0000 C CNN
+ 1 3300 3900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 6689A8AB
+P 3550 5450
+F 0 "D6" H 3550 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 3550 5350 50 0000 C CNN
+F 2 "" H 3550 5450 60 0000 C CNN
+F 3 "" H 3550 5450 60 0000 C CNN
+ 1 3550 5450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U4
+U 1 1 668A1312
+P 13250 7200
+F 0 "U4" H 13300 7300 30 0000 C CNN
+F 1 "PORT" H 13250 7200 30 0000 C CNN
+F 2 "" H 13250 7200 60 0000 C CNN
+F 3 "" H 13250 7200 60 0000 C CNN
+ 1 13250 7200
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U4
+U 2 1 668A14F3
+P 950 3900
+F 0 "U4" H 1000 4000 30 0000 C CNN
+F 1 "PORT" H 950 3900 30 0000 C CNN
+F 2 "" H 950 3900 60 0000 C CNN
+F 3 "" H 950 3900 60 0000 C CNN
+ 2 950 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U4
+U 3 1 668A18C5
+P 1350 5450
+F 0 "U4" H 1400 5550 30 0000 C CNN
+F 1 "PORT" H 1350 5450 30 0000 C CNN
+F 2 "" H 1350 5450 60 0000 C CNN
+F 3 "" H 1350 5450 60 0000 C CNN
+ 3 1350 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U4
+U 4 1 668A1AB4
+P 10550 8100
+F 0 "U4" H 10600 8200 30 0000 C CNN
+F 1 "PORT" H 10550 8100 30 0000 C CNN
+F 2 "" H 10550 8100 60 0000 C CNN
+F 3 "" H 10550 8100 60 0000 C CNN
+ 4 10550 8100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U4
+U 8 1 668A1E73
+P 13500 2050
+F 0 "U4" V 13550 2150 30 0000 C CNN
+F 1 "PORT" H 13500 2050 30 0000 C CNN
+F 2 "" H 13500 2050 60 0000 C CNN
+F 3 "" H 13500 2050 60 0000 C CNN
+ 8 13500 2050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U4
+U 7 1 668A2605
+P 14000 4150
+F 0 "U4" H 14050 4250 30 0000 C CNN
+F 1 "PORT" H 14000 4150 30 0000 C CNN
+F 2 "" H 14000 4150 60 0000 C CNN
+F 3 "" H 14000 4150 60 0000 C CNN
+ 7 14000 4150
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 2350 1800 13500 1800
+Wire Wire Line
+ 3500 1850 3500 1800
+Connection ~ 3500 1800
+Wire Wire Line
+ 3800 2050 4100 2050
+Wire Wire Line
+ 4100 2050 4100 1800
+Connection ~ 4100 1800
+Wire Wire Line
+ 3500 2250 3500 2400
+Wire Wire Line
+ 3500 2700 3500 3050
+Connection ~ 3500 3050
+Wire Wire Line
+ 4250 2550 4450 2550
+Wire Wire Line
+ 4900 1950 4900 1800
+Connection ~ 4900 1800
+Wire Wire Line
+ 4900 2250 4900 2550
+Wire Wire Line
+ 4750 2550 5100 2550
+Wire Wire Line
+ 5100 2550 5100 2850
+Connection ~ 4900 2550
+Wire Wire Line
+ 6000 2000 6000 1800
+Connection ~ 6000 1800
+Wire Wire Line
+ 5700 2850 5700 2550
+Wire Wire Line
+ 5700 2550 6250 2550
+Wire Wire Line
+ 6000 2550 6000 2300
+Connection ~ 6000 2550
+Wire Wire Line
+ 6550 2550 6900 2550
+Connection ~ 7350 1800
+Wire Wire Line
+ 7350 2200 7350 3450
+Wire Wire Line
+ 7350 2550 7550 2550
+Wire Wire Line
+ 7350 1800 7350 1900
+Wire Wire Line
+ 8050 2300 7350 2300
+Connection ~ 7350 2300
+Wire Wire Line
+ 8350 2100 8350 1800
+Connection ~ 8350 1800
+Wire Wire Line
+ 7850 2550 9550 2550
+Wire Wire Line
+ 8350 2500 8350 2550
+Connection ~ 8350 2550
+Wire Wire Line
+ 6900 2900 8400 2900
+Connection ~ 6900 2550
+Wire Wire Line
+ 3700 3400 2400 3400
+Connection ~ 2400 3400
+Wire Wire Line
+ 4000 3200 4000 3050
+Connection ~ 4000 3050
+Wire Wire Line
+ 2400 4100 2400 6150
+Wire Wire Line
+ 3600 3700 3600 3900
+Wire Wire Line
+ 3450 3900 4000 3900
+Wire Wire Line
+ 4000 3600 4000 5900
+Connection ~ 3600 3900
+Connection ~ 4000 3900
+Connection ~ 4000 5450
+Wire Wire Line
+ 2950 4600 4400 4600
+Connection ~ 2950 4600
+Wire Wire Line
+ 4300 4850 4300 4600
+Connection ~ 4300 4600
+Wire Wire Line
+ 4300 5450 4300 5150
+Wire Wire Line
+ 3700 5450 5700 5450
+Wire Wire Line
+ 4700 4400 4700 3050
+Connection ~ 4700 3050
+Wire Wire Line
+ 4700 4800 4700 5900
+Connection ~ 4300 5450
+Connection ~ 4700 5450
+Wire Wire Line
+ 4000 6300 4000 6850
+Wire Wire Line
+ 4700 6300 4700 6900
+Wire Wire Line
+ 4000 7150 4000 7700
+Wire Wire Line
+ 2950 5650 2950 7700
+Wire Wire Line
+ 2950 7700 10550 7700
+Wire Wire Line
+ 4700 7700 4700 7200
+Wire Wire Line
+ 5100 3250 5100 3400
+Wire Wire Line
+ 5100 3400 4900 3400
+Wire Wire Line
+ 4900 3400 4900 3800
+Wire Wire Line
+ 5450 3600 5400 3600
+Wire Wire Line
+ 5700 3250 5700 3400
+Wire Wire Line
+ 5700 3400 6000 3400
+Wire Wire Line
+ 6000 3600 5950 3600
+Wire Wire Line
+ 4900 3800 5100 3800
+Wire Wire Line
+ 5100 3800 5100 3950
+Connection ~ 4900 3600
+Wire Wire Line
+ 4800 4150 4000 4150
+Connection ~ 4000 4150
+Connection ~ 6000 3600
+Wire Wire Line
+ 6000 3050 6000 5250
+Wire Wire Line
+ 6000 5650 6000 7700
+Wire Wire Line
+ 5100 4350 5100 5850
+Wire Wire Line
+ 5100 5850 6000 5850
+Connection ~ 6000 5850
+Connection ~ 4700 7700
+Connection ~ 4000 7700
+Connection ~ 6000 3050
+Wire Wire Line
+ 6350 3150 6350 3050
+Connection ~ 6350 3050
+Wire Wire Line
+ 5100 3900 6050 3900
+Wire Wire Line
+ 6350 3450 6350 3700
+Wire Wire Line
+ 6350 4100 6350 5900
+Connection ~ 5100 3900
+Wire Wire Line
+ 6700 3050 6700 3150
+Connection ~ 6350 3650
+Connection ~ 7350 2550
+Wire Wire Line
+ 8400 2900 8400 3500
+Wire Wire Line
+ 7350 3850 7350 5900
+Wire Wire Line
+ 6350 6850 6350 6300
+Wire Wire Line
+ 6350 7700 6350 7150
+Connection ~ 6000 7700
+Wire Wire Line
+ 6700 3450 6700 4850
+Wire Wire Line
+ 6000 5050 6400 5050
+Connection ~ 6000 5050
+Wire Wire Line
+ 6700 5250 6700 5450
+Wire Wire Line
+ 6700 5450 6350 5450
+Connection ~ 6350 5450
+Wire Wire Line
+ 7350 6850 7350 6300
+Wire Wire Line
+ 7350 7700 7350 7150
+Connection ~ 6350 7700
+Wire Wire Line
+ 8900 3700 8700 3700
+Connection ~ 8900 3700
+Wire Wire Line
+ 8400 3900 8400 4200
+Wire Wire Line
+ 8400 4200 8900 4200
+Connection ~ 8900 4200
+Wire Wire Line
+ 8600 4800 6700 4800
+Connection ~ 6700 4800
+Wire Wire Line
+ 8900 5000 8900 5050
+Wire Wire Line
+ 8900 5050 7350 5050
+Connection ~ 7350 5050
+Wire Wire Line
+ 8600 2250 8600 3400
+Wire Wire Line
+ 8600 3400 8900 3400
+Wire Wire Line
+ 8900 3400 8900 4600
+Wire Wire Line
+ 9850 1800 9850 1900
+Wire Wire Line
+ 9850 2200 9850 2350
+Wire Wire Line
+ 8600 2250 9850 2250
+Connection ~ 9850 2250
+Wire Wire Line
+ 9200 4600 9200 2550
+Connection ~ 9200 2550
+Wire Wire Line
+ 9200 5000 9200 5450
+Wire Wire Line
+ 9200 5750 9200 6300
+Wire Wire Line
+ 8950 6100 9200 6100
+Connection ~ 9200 6100
+Connection ~ 8000 6100
+Wire Wire Line
+ 8000 6450 8000 6100
+Wire Wire Line
+ 8950 6650 9200 6650
+Wire Wire Line
+ 9200 6600 9200 6950
+Wire Wire Line
+ 8300 6650 8650 6650
+Connection ~ 8450 6650
+Wire Wire Line
+ 8450 6800 8450 6650
+Wire Wire Line
+ 8450 7100 8450 7250
+Wire Wire Line
+ 8450 7700 8450 7650
+Connection ~ 7350 7700
+Wire Wire Line
+ 8750 7450 9050 7450
+Wire Wire Line
+ 9050 7450 9050 7200
+Wire Wire Line
+ 9050 7200 8450 7200
+Connection ~ 8450 7200
+Wire Wire Line
+ 8000 6850 8000 7700
+Connection ~ 8000 7700
+Connection ~ 9200 6650
+Wire Wire Line
+ 9200 7700 9200 7250
+Connection ~ 8450 7700
+Wire Wire Line
+ 9850 2900 12550 2900
+Connection ~ 6000 3400
+Wire Wire Line
+ 12450 3000 12450 2900
+Connection ~ 12450 2900
+Wire Wire Line
+ 12850 3100 12850 3350
+Wire Wire Line
+ 12450 3300 12850 3300
+Connection ~ 12850 3300
+Wire Wire Line
+ 12850 3650 12850 4700
+Connection ~ 9850 1800
+Wire Wire Line
+ 9500 4800 9850 4800
+Wire Wire Line
+ 9750 4800 9750 5400
+Wire Wire Line
+ 10250 4300 10250 5600
+Wire Wire Line
+ 10250 4800 10150 4800
+Connection ~ 9750 4800
+Wire Wire Line
+ 10250 3900 10250 1800
+Connection ~ 10250 1800
+Wire Wire Line
+ 10250 5600 10050 5600
+Connection ~ 10250 4800
+Wire Wire Line
+ 9750 5800 9750 6300
+Wire Wire Line
+ 9750 6700 9750 7200
+Wire Wire Line
+ 10050 7400 10300 7400
+Wire Wire Line
+ 10300 7400 10300 7150
+Wire Wire Line
+ 10300 7150 9750 7150
+Connection ~ 9750 7150
+Wire Wire Line
+ 9750 7700 9750 7600
+Connection ~ 9200 7700
+Wire Wire Line
+ 10050 6500 10300 6500
+Wire Wire Line
+ 10300 6500 10300 6250
+Wire Wire Line
+ 10300 6250 9750 6250
+Connection ~ 9750 6250
+Wire Wire Line
+ 10550 4100 10550 7850
+Connection ~ 9750 7700
+Wire Wire Line
+ 9850 2750 9850 2900
+Connection ~ 11300 2900
+Wire Wire Line
+ 11350 3450 11300 3450
+Connection ~ 11300 3450
+Wire Wire Line
+ 11650 3650 11800 3650
+Wire Wire Line
+ 11800 3650 11800 3700
+Wire Wire Line
+ 11800 4100 11800 4200
+Wire Wire Line
+ 11800 4200 10750 4200
+Wire Wire Line
+ 10750 4200 10750 4100
+Wire Wire Line
+ 10750 4100 10550 4100
+Wire Wire Line
+ 11650 3250 11650 3150
+Wire Wire Line
+ 11650 3150 11300 3150
+Connection ~ 11300 3150
+Wire Wire Line
+ 12850 4300 12950 4300
+Wire Wire Line
+ 13250 4100 13250 3900
+Connection ~ 13250 3900
+Connection ~ 12850 4300
+Wire Wire Line
+ 13250 4500 13250 6050
+Wire Wire Line
+ 12850 5000 12850 5600
+Wire Wire Line
+ 11300 2900 11300 5400
+Wire Wire Line
+ 11600 5600 13250 5600
+Connection ~ 12850 5600
+Wire Wire Line
+ 11300 6000 11300 5800
+Connection ~ 13250 5600
+Wire Wire Line
+ 11300 6300 11300 6600
+Wire Wire Line
+ 11300 6600 13250 6600
+Wire Wire Line
+ 12850 1800 12850 2700
+Wire Wire Line
+ 2400 6150 2950 6150
+Connection ~ 2950 6150
+Connection ~ 3600 3400
+Wire Wire Line
+ 4300 6100 8650 6100
+Connection ~ 13250 6600
+Connection ~ 12850 1800
+Connection ~ 10550 7700
+Wire Wire Line
+ 6900 1550 6900 2900
+Wire Wire Line
+ 2950 3100 2950 5250
+Connection ~ 3050 3050
+Wire Wire Line
+ 2350 2000 2350 1800
+Wire Wire Line
+ 2400 3300 2400 3700
+Wire Wire Line
+ 2500 2400 2300 2400
+Wire Wire Line
+ 2300 2400 2300 2900
+Wire Wire Line
+ 2300 2900 2500 2900
+Wire Wire Line
+ 2500 3300 2150 3300
+Wire Wire Line
+ 2150 3300 2150 2800
+Wire Wire Line
+ 2150 2800 2500 2800
+Wire Wire Line
+ 2350 2300 2350 2350
+Wire Wire Line
+ 2350 2350 2200 2350
+Wire Wire Line
+ 2200 2350 2200 2500
+Wire Wire Line
+ 2200 2500 2300 2500
+Connection ~ 2300 2500
+Connection ~ 2400 3300
+Wire Wire Line
+ 2800 2600 3050 2600
+Connection ~ 2950 3100
+Wire Wire Line
+ 3050 2600 3050 3050
+Wire Wire Line
+ 2950 3100 2800 3100
+Connection ~ 5000 6100
+Wire Wire Line
+ 3050 3050 6700 3050
+Connection ~ 5400 3050
+Wire Wire Line
+ 7050 3650 6350 3650
+Wire Wire Line
+ 12100 3900 14000 3900
+Connection ~ 6050 6100
+Connection ~ 7650 6100
+Wire Wire Line
+ 1600 5450 3400 5450
+Connection ~ 2650 5450
+Wire Wire Line
+ 13250 6350 13250 6950
+Wire Wire Line
+ 1200 3900 3150 3900
+Connection ~ 2100 3900
+Wire Wire Line
+ 4250 1550 4250 2550
+$Comp
+L PORT U4
+U 6 1 668A1127
+P 6900 1300
+F 0 "U4" H 6950 1400 30 0000 C CNN
+F 1 "PORT" H 6900 1300 30 0000 C CNN
+F 2 "" H 6900 1300 60 0000 C CNN
+F 3 "" H 6900 1300 60 0000 C CNN
+ 6 6900 1300
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U4
+U 5 1 668A16D8
+P 4250 1300
+F 0 "U4" H 4300 1400 30 0000 C CNN
+F 1 "PORT" H 4250 1300 30 0000 C CNN
+F 2 "" H 4250 1300 60 0000 C CNN
+F 3 "" H 4250 1300 60 0000 C CNN
+ 5 4250 1300
+ 0 1 1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sub b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sub
new file mode 100644
index 00000000..fc6bc6ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub.sub
@@ -0,0 +1,84 @@
+* Subcircuit LT1011_sub
+.subckt LT1011_sub net-_r52-pad2_ net-_d5-pad2_ net-_d6-pad2_ net-_j2-pad2_ net-_r33-pad2_ net-_q54-pad3_ net-_q64-pad2_ net-_j2-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\lt1011_sub\lt1011_sub.cir
+.include NPN.lib
+.include PNP.lib
+.include schottky.lib
+.include NJF.lib
+.include D.lib
+r30 net-_j2-pad1_ net-_q35-pad3_ 3k
+q35 net-_d7-pad2_ net-_q35-pad2_ net-_q35-pad3_ Q2N2907A
+q34 net-_j2-pad2_ net-_d5-pad2_ net-_d7-pad2_ Q2N2907A
+q37 net-_j2-pad2_ net-_d6-pad2_ net-_d8-pad2_ Q2N2907A
+q38 net-_j2-pad1_ net-_j2-pad1_ net-_q38-pad3_ Q2N2222
+r31 net-_q38-pad3_ net-_q35-pad2_ 160
+d7 net-_d5-pad1_ net-_d7-pad2_ 1N4148
+q39 net-_q35-pad2_ net-_d7-pad2_ net-_d5-pad1_ Q2N2222
+r33 net-_q44-pad3_ net-_r33-pad2_ 300
+r43 net-_q53-pad3_ net-_q50-pad1_ 4k
+r35 net-_j2-pad1_ net-_q44-pad3_ 1.3k
+r36 net-_j2-pad1_ net-_q45-pad3_ 1.3k
+q44 net-_q43-pad3_ net-_q35-pad2_ net-_q44-pad3_ Q2N2907A
+q45 net-_q35-pad2_ net-_q35-pad2_ net-_q45-pad3_ Q2N2907A
+* u5 net-_u5-padin_ net-_q43-pad3_ zener
+* u6 net-_u5-padin_ net-_q35-pad2_ zener
+q43 net-_j2-pad2_ net-_d5-pad1_ net-_q43-pad3_ Q2N2907A
+q41 net-_q35-pad2_ net-_d8-pad2_ net-_d5-pad1_ Q2N2222
+d8 net-_d5-pad1_ net-_d8-pad2_ 1N4148
+q40 net-_d5-pad1_ net-_q40-pad2_ net-_q40-pad3_ Q2N2222
+q42 net-_d5-pad1_ net-_q40-pad2_ net-_q42-pad3_ Q2N2222
+r34 net-_q42-pad3_ net-_j2-pad2_ 1.6k
+r42 net-_q51-pad3_ net-_j2-pad2_ 275
+r50 net-_j2-pad1_ net-_q54-pad1_ 800
+r39 net-_q54-pad3_ net-_q45-pad3_ 300
+q53 net-_j2-pad1_ net-_q50-pad1_ net-_q53-pad3_ Q2N2222
+q58 net-_q58-pad1_ net-_q53-pad3_ net-_q54-pad1_ Q2N2907A
+r41 net-_j2-pad1_ net-_q50-pad1_ 800
+r32 net-_q40-pad3_ net-_j2-pad2_ 1.6k
+q46 net-_j2-pad2_ net-_d5-pad1_ net-_q35-pad2_ Q2N2907A
+q48 net-_q47-pad3_ net-_q40-pad2_ net-_q48-pad3_ Q2N2222
+r38 net-_q47-pad1_ net-_q35-pad2_ 3.2k
+q47 net-_q47-pad1_ net-_q43-pad3_ net-_q47-pad3_ Q2N2222
+r40 net-_q49-pad1_ net-_q35-pad2_ 3.2k
+q50 net-_q50-pad1_ net-_q47-pad1_ net-_q50-pad3_ Q2N2222
+r37 net-_q48-pad3_ net-_j2-pad2_ 500
+q51 net-_q50-pad3_ net-_q40-pad2_ net-_q51-pad3_ Q2N2222
+q49 net-_q49-pad1_ net-_q35-pad2_ net-_q47-pad3_ Q2N2222
+q54 net-_q54-pad1_ net-_q54-pad1_ net-_q54-pad3_ Q2N2222
+q56 net-_q54-pad1_ net-_q49-pad1_ net-_q50-pad3_ Q2N2222
+r46 net-_r46-pad1_ net-_q40-pad2_ 200
+q57 net-_q53-pad3_ net-_q57-pad2_ net-_q57-pad3_ Q2N2222
+r48 net-_r46-pad1_ net-_q57-pad3_ 800
+r49 net-_r45-pad2_ net-_r46-pad1_ 700
+r45 net-_q52-pad2_ net-_r45-pad2_ 940
+q52 net-_q40-pad2_ net-_q52-pad2_ net-_j2-pad2_ Q2N2222
+q55 net-_q55-pad1_ net-_q55-pad1_ net-_j2-pad2_ Q2N2222
+r44 net-_q52-pad2_ net-_q55-pad1_ 960
+r47 net-_r45-pad2_ net-_j2-pad2_ 4.8k
+q65 net-_j2-pad1_ net-_q58-pad1_ net-_q65-pad3_ Q2N2222
+r54 net-_q65-pad3_ net-_q66-pad2_ 170
+r53 net-_q58-pad1_ net-_q65-pad3_ 4k
+q66 net-_q64-pad2_ net-_q66-pad2_ net-_q62-pad2_ Q2N2222
+j2 net-_j2-pad1_ net-_j2-pad2_ net-_j2-pad3_ J2N3819
+q59 net-_q57-pad2_ net-_j2-pad3_ net-_q59-pad3_ Q2N2222
+r51 net-_q57-pad2_ net-_j2-pad3_ 200
+q60 net-_q59-pad3_ net-_q59-pad3_ net-_q60-pad3_ Q2N2222
+q61 net-_q60-pad3_ net-_q60-pad3_ net-_j2-pad2_ Q2N2222
+q63 net-_q58-pad1_ net-_q58-pad1_ net-_q63-pad3_ Q2N2222
+q64 net-_j2-pad2_ net-_q64-pad2_ net-_q63-pad3_ Q2N2907A
+r55 net-_q66-pad2_ net-_q62-pad2_ 470
+q62 net-_q58-pad1_ net-_q62-pad2_ net-_q62-pad3_ Q2N2222
+r52 net-_q62-pad3_ net-_r52-pad2_ 400
+r57 net-_q62-pad2_ net-_r52-pad2_ 4
+q36 net-_d7-pad2_ net-_d8-pad2_ net-_q35-pad3_ Q2N2907A
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N5819
+d6 net-_d5-pad1_ net-_d6-pad2_ 1N5819
+a1 net-_u5-padin_ net-_q43-pad3_ u5
+a2 net-_u5-padin_ net-_q35-pad2_ u6
+* Schematic Name: zener, NgSpice Name: zener
+.model u5 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 u6 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 LT1011_sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LT1011_sub/LT1011_sub_Previous_Values.xml b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub_Previous_Values.xml
new file mode 100644
index 00000000..bcf8e835
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/LT1011_sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u2 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></u2><u3 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></u3><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><u6 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></u6></model><devicemodel><q35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q35><q34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q34><q37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q37><q38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q38><d7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d7><q39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q39><q44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q44><q45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q45><q43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q43><q41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q41><d8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d8><q40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q40><q42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q42><q53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q53><q58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q58><q46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q46><q48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q48><q47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q47><q50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q50><q51><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q51><q49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q49><q54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q54><q56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q56><q57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q57><q52><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q52><q55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q55><q65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q65><q66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q66><j2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j2><q59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q59><q60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q60><q61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q61><q63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q63><q64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q64><q62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q62><q36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q36><d5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d5><d6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d6></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/LT1011_sub/NJF.lib b/library/SubcircuitLibrary/LT1011_sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/LT1011_sub/NPN.lib b/library/SubcircuitLibrary/LT1011_sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/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/LT1011_sub/PNP.lib b/library/SubcircuitLibrary/LT1011_sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/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/LT1011_sub/analysis b/library/SubcircuitLibrary/LT1011_sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LT1011_sub/schottky.lib b/library/SubcircuitLibrary/LT1011_sub/schottky.lib
new file mode 100644
index 00000000..9579f735
--- /dev/null
+++ b/library/SubcircuitLibrary/LT1011_sub/schottky.lib
@@ -0,0 +1 @@
+.model 1N5819 D(IS=390n RS=0.115 BV=40.0 IBV=1.00m CJO=203p M=0.333 N=1.70 TT=4.32u)
diff --git a/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub-cache.lib b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub-cache.lib
new file mode 100644
index 00000000..c1629264
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub-cache.lib
@@ -0,0 +1,147 @@
+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_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+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/MC1741_Sub/MC1741_sub.cir b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir
new file mode 100644
index 00000000..0a958155
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir
@@ -0,0 +1,47 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC1741_sub\MC1741_sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/09/24 14:51:22
+
+* 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: /
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q1 Net-_D1-Pad2_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q7 Net-_D1-Pad2_ Net-_Q7-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+Q2 Net-_Q2-Pad1_ Net-_Q2-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q2-Pad2_ Net-_Q5-Pad3_ eSim_PNP
+Q8 Net-_Q2-Pad2_ Net-_D1-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q4 Net-_D1-Pad1_ Net-_Q2-Pad1_ Net-_Q3-Pad2_ eSim_NPN
+Q3 Net-_Q2-Pad1_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+R2 Net-_Q3-Pad3_ Net-_D3-Pad2_ 1.0k
+R3 Net-_Q3-Pad2_ Net-_D3-Pad2_ 50k
+R4 Net-_Q6-Pad3_ Net-_D3-Pad2_ 1.0k
+Q6 Net-_C1-Pad2_ Net-_Q3-Pad2_ Net-_Q6-Pad3_ eSim_NPN
+Q9 Net-_Q2-Pad2_ Net-_D3-Pad1_ Net-_Q9-Pad3_ eSim_NPN
+R5 Net-_Q9-Pad3_ Net-_D3-Pad2_ 5.0k
+D2 Net-_D1-Pad1_ Net-_D2-Pad2_ eSim_Diode
+R7 Net-_D2-Pad2_ Net-_D3-Pad1_ 39k
+D3 Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_Diode
+Q12 Net-_C1-Pad1_ Net-_D2-Pad2_ Net-_D1-Pad1_ eSim_PNP
+R9 Net-_C1-Pad1_ Net-_Q13-Pad2_ 4.5k
+R10 Net-_D4-Pad2_ Net-_Q13-Pad2_ 7.5k
+Q11 Net-_D4-Pad2_ Net-_C1-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+Q14 Net-_D4-Pad2_ Net-_Q11-Pad3_ Net-_Q10-Pad2_ eSim_NPN
+Q10 Net-_C1-Pad2_ Net-_Q10-Pad2_ Net-_D3-Pad2_ eSim_NPN
+R8 Net-_D3-Pad2_ Net-_Q11-Pad3_ 50k
+R11 Net-_D3-Pad2_ Net-_Q10-Pad2_ 50
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+D5 Net-_D5-Pad1_ Net-_D4-Pad1_ eSim_Diode
+Q16 Net-_D1-Pad1_ Net-_C1-Pad1_ Net-_Q15-Pad2_ eSim_NPN
+Q15 Net-_C1-Pad1_ Net-_Q15-Pad2_ Net-_D5-Pad1_ eSim_NPN
+R12 Net-_D5-Pad1_ Net-_Q15-Pad2_ 25
+R13 Net-_Q17-Pad3_ Net-_D5-Pad1_ 50
+Q17 Net-_D3-Pad2_ Net-_D4-Pad2_ Net-_Q17-Pad3_ eSim_PNP
+R1 Net-_Q7-Pad2_ Net-_R1-Pad2_ 3k
+R6 Net-_D5-Pad1_ Net-_Q7-Pad2_ 6k
+Q13 Net-_C1-Pad1_ Net-_Q13-Pad2_ Net-_D4-Pad2_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p
+U1 Net-_Q3-Pad3_ Net-_R1-Pad2_ Net-_Q1-Pad2_ Net-_D3-Pad2_ Net-_Q6-Pad3_ Net-_D5-Pad1_ Net-_D1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir.out b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir.out
new file mode 100644
index 00000000..417b5698
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.cir.out
@@ -0,0 +1,51 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc1741_sub\mc1741_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+.include PowerDiode.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ PowerDiode
+q1 net-_d1-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q7 net-_d1-pad2_ net-_q7-pad2_ net-_q5-pad3_ Q2N2222
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q2-pad2_ net-_q5-pad3_ Q2N2907A
+q8 net-_q2-pad2_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+q4 net-_d1-pad1_ net-_q2-pad1_ net-_q3-pad2_ Q2N2222
+q3 net-_q2-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+r2 net-_q3-pad3_ net-_d3-pad2_ 1.0k
+r3 net-_q3-pad2_ net-_d3-pad2_ 50k
+r4 net-_q6-pad3_ net-_d3-pad2_ 1.0k
+q6 net-_c1-pad2_ net-_q3-pad2_ net-_q6-pad3_ Q2N2222
+q9 net-_q2-pad2_ net-_d3-pad1_ net-_q9-pad3_ Q2N2222
+r5 net-_q9-pad3_ net-_d3-pad2_ 5.0k
+d2 net-_d1-pad1_ net-_d2-pad2_ PowerDiode
+r7 net-_d2-pad2_ net-_d3-pad1_ 39k
+d3 net-_d3-pad1_ net-_d3-pad2_ PowerDiode
+q12 net-_c1-pad1_ net-_d2-pad2_ net-_d1-pad1_ Q2N2907A
+r9 net-_c1-pad1_ net-_q13-pad2_ 4.5k
+r10 net-_d4-pad2_ net-_q13-pad2_ 7.5k
+q11 net-_d4-pad2_ net-_c1-pad2_ net-_q11-pad3_ Q2N2222
+q14 net-_d4-pad2_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+q10 net-_c1-pad2_ net-_q10-pad2_ net-_d3-pad2_ Q2N2222
+r8 net-_d3-pad2_ net-_q11-pad3_ 50k
+r11 net-_d3-pad2_ net-_q10-pad2_ 50
+d4 net-_d4-pad1_ net-_d4-pad2_ PowerDiode
+d5 net-_d5-pad1_ net-_d4-pad1_ PowerDiode
+q16 net-_d1-pad1_ net-_c1-pad1_ net-_q15-pad2_ Q2N2222
+q15 net-_c1-pad1_ net-_q15-pad2_ net-_d5-pad1_ Q2N2222
+r12 net-_d5-pad1_ net-_q15-pad2_ 25
+r13 net-_q17-pad3_ net-_d5-pad1_ 50
+q17 net-_d3-pad2_ net-_d4-pad2_ net-_q17-pad3_ Q2N2907A
+r1 net-_q7-pad2_ net-_r1-pad2_ 3k
+r6 net-_d5-pad1_ net-_q7-pad2_ 6k
+q13 net-_c1-pad1_ net-_q13-pad2_ net-_d4-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+* u1 net-_q3-pad3_ net-_r1-pad2_ net-_q1-pad2_ net-_d3-pad2_ net-_q6-pad3_ net-_d5-pad1_ net-_d1-pad1_ port
+.tran 0.01e-00 0.1e-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/MC1741_Sub/MC1741_sub.pro b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sch b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sch
new file mode 100644
index 00000000..44252410
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sch
@@ -0,0 +1,753 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:MC1741_sub-cache
+LIBS:MC1741-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_Diode D1
+U 1 1 668D06D2
+P 2100 1700
+F 0 "D1" H 2100 1800 50 0000 C CNN
+F 1 "eSim_Diode" H 2100 1600 50 0000 C CNN
+F 2 "" H 2100 1700 60 0000 C CNN
+F 3 "" H 2100 1700 60 0000 C CNN
+ 1 2100 1700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 668D06D3
+P 2000 2450
+F 0 "Q1" H 1900 2500 50 0000 R CNN
+F 1 "eSim_NPN" H 1950 2600 50 0000 R CNN
+F 2 "" H 2200 2550 29 0000 C CNN
+F 3 "" H 2000 2450 60 0000 C CNN
+ 1 2000 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 668D06D4
+P 3550 2450
+F 0 "Q7" H 3450 2500 50 0000 R CNN
+F 1 "eSim_NPN" H 3500 2600 50 0000 R CNN
+F 2 "" H 3750 2550 29 0000 C CNN
+F 3 "" H 3550 2450 60 0000 C CNN
+ 1 3550 2450
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 668D06D5
+P 2300 3050
+F 0 "Q2" H 2200 3100 50 0000 R CNN
+F 1 "eSim_PNP" H 2250 3200 50 0000 R CNN
+F 2 "" H 2500 3150 29 0000 C CNN
+F 3 "" H 2300 3050 60 0000 C CNN
+ 1 2300 3050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 668D06D6
+P 3200 3050
+F 0 "Q5" H 3100 3100 50 0000 R CNN
+F 1 "eSim_PNP" H 3150 3200 50 0000 R CNN
+F 2 "" H 3400 3150 29 0000 C CNN
+F 3 "" H 3200 3050 60 0000 C CNN
+ 1 3200 3050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 668D06D7
+P 4250 1750
+F 0 "Q8" H 4150 1800 50 0000 R CNN
+F 1 "eSim_PNP" H 4200 1900 50 0000 R CNN
+F 2 "" H 4450 1850 29 0000 C CNN
+F 3 "" H 4250 1750 60 0000 C CNN
+ 1 4250 1750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 668D06D8
+P 2650 3750
+F 0 "Q4" H 2550 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 2600 3900 50 0000 R CNN
+F 2 "" H 2850 3850 29 0000 C CNN
+F 3 "" H 2650 3750 60 0000 C CNN
+ 1 2650 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 668D06D9
+P 2300 4450
+F 0 "Q3" H 2200 4500 50 0000 R CNN
+F 1 "eSim_NPN" H 2250 4600 50 0000 R CNN
+F 2 "" H 2500 4550 29 0000 C CNN
+F 3 "" H 2300 4450 60 0000 C CNN
+ 1 2300 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 668D06DA
+P 2150 5150
+F 0 "R2" H 2200 5280 50 0000 C CNN
+F 1 "1.0k" H 2200 5100 50 0000 C CNN
+F 2 "" H 2200 5130 30 0000 C CNN
+F 3 "" V 2200 5200 30 0000 C CNN
+ 1 2150 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 668D06DB
+P 2700 5150
+F 0 "R3" H 2750 5280 50 0000 C CNN
+F 1 "50k" H 2750 5100 50 0000 C CNN
+F 2 "" H 2750 5130 30 0000 C CNN
+F 3 "" V 2750 5200 30 0000 C CNN
+ 1 2700 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 668D06DC
+P 3250 5150
+F 0 "R4" H 3300 5280 50 0000 C CNN
+F 1 "1.0k" H 3300 5100 50 0000 C CNN
+F 2 "" H 3300 5130 30 0000 C CNN
+F 3 "" V 3300 5200 30 0000 C CNN
+ 1 3250 5150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 668D06DD
+P 3200 4450
+F 0 "Q6" H 3100 4500 50 0000 R CNN
+F 1 "eSim_NPN" H 3150 4600 50 0000 R CNN
+F 2 "" H 3400 4550 29 0000 C CNN
+F 3 "" H 3200 4450 60 0000 C CNN
+ 1 3200 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 668D06DE
+P 4400 4400
+F 0 "Q9" H 4300 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 4550 50 0000 R CNN
+F 2 "" H 4600 4500 29 0000 C CNN
+F 3 "" H 4400 4400 60 0000 C CNN
+ 1 4400 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 668D06DF
+P 4250 5050
+F 0 "R5" H 4300 5180 50 0000 C CNN
+F 1 "5.0k" H 4300 5000 50 0000 C CNN
+F 2 "" H 4300 5030 30 0000 C CNN
+F 3 "" V 4300 5100 30 0000 C CNN
+ 1 4250 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 668D06E0
+P 5550 1700
+F 0 "D2" H 5550 1800 50 0000 C CNN
+F 1 "eSim_Diode" H 5550 1600 50 0000 C CNN
+F 2 "" H 5550 1700 60 0000 C CNN
+F 3 "" H 5550 1700 60 0000 C CNN
+ 1 5550 1700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 668D06E1
+P 5500 2450
+F 0 "R7" H 5550 2580 50 0000 C CNN
+F 1 "39k" H 5550 2400 50 0000 C CNN
+F 2 "" H 5550 2430 30 0000 C CNN
+F 3 "" V 5550 2500 30 0000 C CNN
+ 1 5500 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 668D06E2
+P 5550 5100
+F 0 "D3" H 5550 5200 50 0000 C CNN
+F 1 "eSim_Diode" H 5550 5000 50 0000 C CNN
+F 2 "" H 5550 5100 60 0000 C CNN
+F 3 "" H 5550 5100 60 0000 C CNN
+ 1 5550 5100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 668D06E3
+P 6850 1800
+F 0 "Q12" H 6750 1850 50 0000 R CNN
+F 1 "eSim_PNP" H 6800 1950 50 0000 R CNN
+F 2 "" H 7050 1900 29 0000 C CNN
+F 3 "" H 6850 1800 60 0000 C CNN
+ 1 6850 1800
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 668D06E4
+P 6450 2200
+F 0 "R9" H 6500 2330 50 0000 C CNN
+F 1 "4.5k" H 6500 2150 50 0000 C CNN
+F 2 "" H 6500 2180 30 0000 C CNN
+F 3 "" V 6500 2250 30 0000 C CNN
+ 1 6450 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 668D06E5
+P 6450 3150
+F 0 "R10" H 6500 3280 50 0000 C CNN
+F 1 "7.5k" H 6500 3100 50 0000 C CNN
+F 2 "" H 6500 3130 30 0000 C CNN
+F 3 "" V 6500 3200 30 0000 C CNN
+ 1 6450 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 668D06E6
+P 6250 3700
+F 0 "Q11" H 6150 3750 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 3850 50 0000 R CNN
+F 2 "" H 6450 3800 29 0000 C CNN
+F 3 "" H 6250 3700 60 0000 C CNN
+ 1 6250 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 668D06E7
+P 6850 4100
+F 0 "Q14" H 6750 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6800 4250 50 0000 R CNN
+F 2 "" H 7050 4200 29 0000 C CNN
+F 3 "" H 6850 4100 60 0000 C CNN
+ 1 6850 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 668D06E8
+P 5900 4850
+F 0 "Q10" H 5800 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 5850 5000 50 0000 R CNN
+F 2 "" H 6100 4950 29 0000 C CNN
+F 3 "" H 5900 4850 60 0000 C CNN
+ 1 5900 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 668D06E9
+P 6400 5300
+F 0 "R8" H 6450 5430 50 0000 C CNN
+F 1 "50k" H 6450 5250 50 0000 C CNN
+F 2 "" H 6450 5280 30 0000 C CNN
+F 3 "" V 6450 5350 30 0000 C CNN
+ 1 6400 5300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 668D06EA
+P 7000 5300
+F 0 "R11" H 7050 5430 50 0000 C CNN
+F 1 "50" H 7050 5250 50 0000 C CNN
+F 2 "" H 7050 5280 30 0000 C CNN
+F 3 "" V 7050 5350 30 0000 C CNN
+ 1 7000 5300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 668D06EB
+P 7750 3200
+F 0 "D4" H 7750 3300 50 0000 C CNN
+F 1 "eSim_Diode" H 7750 3100 50 0000 C CNN
+F 2 "" H 7750 3200 60 0000 C CNN
+F 3 "" H 7750 3200 60 0000 C CNN
+ 1 7750 3200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 668D06EC
+P 8250 3200
+F 0 "D5" H 8250 3300 50 0000 C CNN
+F 1 "eSim_Diode" H 8250 3100 50 0000 C CNN
+F 2 "" H 8250 3200 60 0000 C CNN
+F 3 "" H 8250 3200 60 0000 C CNN
+ 1 8250 3200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 668D06ED
+P 9300 2100
+F 0 "Q16" H 9200 2150 50 0000 R CNN
+F 1 "eSim_NPN" H 9250 2250 50 0000 R CNN
+F 2 "" H 9500 2200 29 0000 C CNN
+F 3 "" H 9300 2100 60 0000 C CNN
+ 1 9300 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 668D06EE
+P 8900 2500
+F 0 "Q15" H 8800 2550 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 2650 50 0000 R CNN
+F 2 "" H 9100 2600 29 0000 C CNN
+F 3 "" H 8900 2500 60 0000 C CNN
+ 1 8900 2500
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 668D06EF
+P 9450 2850
+F 0 "R12" H 9500 2980 50 0000 C CNN
+F 1 "25" H 9500 2800 50 0000 C CNN
+F 2 "" H 9500 2830 30 0000 C CNN
+F 3 "" V 9500 2900 30 0000 C CNN
+ 1 9450 2850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 668D06F0
+P 9450 3950
+F 0 "R13" H 9500 4080 50 0000 C CNN
+F 1 "50" H 9500 3900 50 0000 C CNN
+F 2 "" H 9500 3930 30 0000 C CNN
+F 3 "" V 9500 4000 30 0000 C CNN
+ 1 9450 3950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_PNP Q17
+U 1 1 668D06F1
+P 9300 5100
+F 0 "Q17" H 9200 5150 50 0000 R CNN
+F 1 "eSim_PNP" H 9250 5250 50 0000 R CNN
+F 2 "" H 9500 5200 29 0000 C CNN
+F 3 "" H 9300 5100 60 0000 C CNN
+ 1 9300 5100
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 668D06FF
+P 1650 3250
+F 0 "R1" H 1700 3380 50 0000 C CNN
+F 1 "3k" H 1700 3200 50 0000 C CNN
+F 2 "" H 1700 3230 30 0000 C CNN
+F 3 "" V 1700 3300 30 0000 C CNN
+ 1 1650 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 668D0700
+P 5300 750
+F 0 "R6" H 5350 880 50 0000 C CNN
+F 1 "6k" H 5350 700 50 0000 C CNN
+F 2 "" H 5350 730 30 0000 C CNN
+F 3 "" V 5350 800 30 0000 C CNN
+ 1 5300 750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 668D0701
+P 6850 2700
+F 0 "Q13" H 6750 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 6800 2850 50 0000 R CNN
+F 2 "" H 7050 2800 29 0000 C CNN
+F 3 "" H 6850 2700 60 0000 C CNN
+ 1 6850 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2100 1850 2100 2250
+Wire Wire Line
+ 3450 2250 3450 1750
+Wire Wire Line
+ 3450 1750 4050 1750
+Wire Wire Line
+ 2100 2650 2100 2750
+Wire Wire Line
+ 2100 2750 2200 2750
+Wire Wire Line
+ 2200 2750 2200 2850
+Wire Wire Line
+ 3450 2650 3450 2750
+Wire Wire Line
+ 3450 2750 3300 2750
+Wire Wire Line
+ 3300 2750 3300 2850
+Wire Wire Line
+ 2500 3050 3000 3050
+Wire Wire Line
+ 2200 3250 2200 4250
+Wire Wire Line
+ 2450 3750 2200 3750
+Connection ~ 2200 3750
+Wire Wire Line
+ 2500 4450 3000 4450
+Wire Wire Line
+ 2200 4650 2200 5050
+Wire Wire Line
+ 2750 3950 2750 5050
+Wire Wire Line
+ 3300 4650 3300 5050
+Wire Wire Line
+ 2200 5350 2200 5600
+Wire Wire Line
+ 2200 5600 10000 5600
+Wire Wire Line
+ 3300 5600 3300 5350
+Wire Wire Line
+ 2750 5350 2750 5600
+Connection ~ 2750 5600
+Wire Wire Line
+ 3300 4250 3300 3250
+Wire Wire Line
+ 2750 3550 2750 1300
+Wire Wire Line
+ 2100 1550 2100 1300
+Wire Wire Line
+ 2100 1300 9950 1300
+Connection ~ 2750 1300
+Wire Wire Line
+ 4350 1550 4350 1300
+Connection ~ 4350 1300
+Connection ~ 2750 4450
+Wire Wire Line
+ 4350 1950 4350 4200
+Wire Wire Line
+ 4350 4200 4300 4200
+Wire Wire Line
+ 4300 4600 4300 4950
+Wire Wire Line
+ 4300 5600 4300 5250
+Connection ~ 3300 5600
+Wire Wire Line
+ 2850 3050 2850 3400
+Wire Wire Line
+ 2850 3400 4350 3400
+Connection ~ 4350 3400
+Connection ~ 2850 3050
+Wire Wire Line
+ 3750 2450 3900 2450
+Wire Wire Line
+ 3900 2450 3900 3300
+Wire Wire Line
+ 2100 2050 3450 2050
+Connection ~ 3450 2050
+Connection ~ 2100 2050
+Wire Wire Line
+ 5550 1550 5550 1300
+Connection ~ 5550 1300
+Wire Wire Line
+ 5550 1850 5550 2350
+Wire Wire Line
+ 4600 4400 5550 4400
+Wire Wire Line
+ 5550 2650 5550 4950
+Connection ~ 5550 4400
+Wire Wire Line
+ 5550 5600 5550 5250
+Connection ~ 4300 5600
+Wire Wire Line
+ 3300 3700 6050 3700
+Connection ~ 3300 3700
+Wire Wire Line
+ 6950 1300 6950 1600
+Wire Wire Line
+ 5550 1950 6200 1950
+Wire Wire Line
+ 6200 1950 6200 1800
+Wire Wire Line
+ 6200 1800 6650 1800
+Connection ~ 5550 1950
+Wire Wire Line
+ 6950 2000 6950 2500
+Wire Wire Line
+ 6550 3200 7600 3200
+Wire Wire Line
+ 6950 2900 6950 3900
+Wire Wire Line
+ 6550 2250 6950 2250
+Connection ~ 6950 2250
+Wire Wire Line
+ 6250 2250 6050 2250
+Wire Wire Line
+ 6050 2250 6050 3200
+Wire Wire Line
+ 6050 3200 6250 3200
+Wire Wire Line
+ 6650 2700 6050 2700
+Connection ~ 6050 2700
+Connection ~ 5800 3700
+Connection ~ 6950 3200
+Wire Wire Line
+ 6350 3900 6350 5100
+Wire Wire Line
+ 6650 4100 6350 4100
+Connection ~ 6350 4100
+Wire Wire Line
+ 5800 5600 5800 5050
+Connection ~ 5550 5600
+Connection ~ 5800 5600
+Wire Wire Line
+ 6100 4850 6950 4850
+Connection ~ 6950 4850
+Wire Wire Line
+ 6350 5400 6350 5600
+Connection ~ 6350 5600
+Wire Wire Line
+ 6950 4300 6950 5100
+Wire Wire Line
+ 6950 5600 6950 5400
+Wire Wire Line
+ 7900 3200 8100 3200
+Connection ~ 6950 1300
+Wire Wire Line
+ 9400 1300 9400 1900
+Connection ~ 9400 1300
+Wire Wire Line
+ 8800 2300 8800 2100
+Connection ~ 8800 2100
+Wire Wire Line
+ 9400 2950 9400 3750
+Wire Wire Line
+ 8400 3200 10050 3200
+Wire Wire Line
+ 9400 2300 9400 2650
+Wire Wire Line
+ 9100 2500 9400 2500
+Connection ~ 9400 2500
+Wire Wire Line
+ 9400 4050 9400 4900
+Wire Wire Line
+ 9400 5600 9400 5300
+Connection ~ 6950 5600
+Wire Wire Line
+ 8100 5100 9100 5100
+Wire Wire Line
+ 8100 3450 8100 5100
+Wire Wire Line
+ 6350 3500 6350 3450
+Wire Wire Line
+ 6350 3450 8100 3450
+Connection ~ 6950 3450
+Wire Wire Line
+ 8800 2700 8800 3000
+Wire Wire Line
+ 8800 3000 9400 3000
+Connection ~ 9400 3000
+Connection ~ 9400 3200
+Connection ~ 9400 5600
+Wire Wire Line
+ 1800 2450 1350 2450
+Wire Wire Line
+ 2000 3300 2000 2850
+Wire Wire Line
+ 2000 2850 1600 2850
+Wire Wire Line
+ 1600 2850 1600 800
+Wire Wire Line
+ 1600 800 5100 800
+Connection ~ 3300 5000
+Connection ~ 2200 4700
+Wire Wire Line
+ 5400 800 9600 800
+Wire Wire Line
+ 9600 800 9600 3200
+Connection ~ 9600 3200
+Wire Wire Line
+ 3900 3300 1750 3300
+Connection ~ 2000 3300
+Wire Wire Line
+ 5800 2850 5800 4650
+Connection ~ 6950 2100
+Wire Wire Line
+ 5800 2100 9100 2100
+Wire Wire Line
+ 5800 2550 5800 2100
+$Comp
+L capacitor_polarised C1
+U 1 1 668D0702
+P 5800 2700
+F 0 "C1" H 5825 2800 50 0000 L CNN
+F 1 "30p" H 5825 2600 50 0000 L CNN
+F 2 "" H 5800 2700 50 0001 C CNN
+F 3 "" H 5800 2700 50 0001 C CNN
+ 1 5800 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1450 3300 1150 3300
+Wire Wire Line
+ 1150 3300 1150 3550
+Wire Wire Line
+ 9950 1300 9950 1600
+Wire Wire Line
+ 10000 5600 10000 5200
+Wire Wire Line
+ 10000 5200 10050 5200
+$Comp
+L PORT U1
+U 3 1 668D1606
+P 1100 2450
+F 0 "U1" H 1150 2550 30 0000 C CNN
+F 1 "PORT" H 1100 2450 30 0000 C CNN
+F 2 "" H 1100 2450 60 0000 C CNN
+F 3 "" H 1100 2450 60 0000 C CNN
+ 3 1100 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 668D16C1
+P 10050 2950
+F 0 "U1" H 10100 3050 30 0000 C CNN
+F 1 "PORT" H 10050 2950 30 0000 C CNN
+F 2 "" H 10050 2950 60 0000 C CNN
+F 3 "" H 10050 2950 60 0000 C CNN
+ 6 10050 2950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 668D1772
+P 9950 1850
+F 0 "U1" H 10000 1950 30 0000 C CNN
+F 1 "PORT" H 9950 1850 30 0000 C CNN
+F 2 "" H 9950 1850 60 0000 C CNN
+F 3 "" H 9950 1850 60 0000 C CNN
+ 7 9950 1850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 668D1914
+P 10050 4950
+F 0 "U1" H 10100 5050 30 0000 C CNN
+F 1 "PORT" H 10050 4950 30 0000 C CNN
+F 2 "" H 10050 4950 60 0000 C CNN
+F 3 "" H 10050 4950 60 0000 C CNN
+ 4 10050 4950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 5 1 668D1989
+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
+ 5 1300 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 668D1A04
+P 1250 4700
+F 0 "U1" H 1300 4800 30 0000 C CNN
+F 1 "PORT" H 1250 4700 30 0000 C CNN
+F 2 "" H 1250 4700 60 0000 C CNN
+F 3 "" H 1250 4700 60 0000 C CNN
+ 1 1250 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 668D1A85
+P 900 3550
+F 0 "U1" H 950 3650 30 0000 C CNN
+F 1 "PORT" H 900 3550 30 0000 C CNN
+F 2 "" H 900 3550 60 0000 C CNN
+F 3 "" H 900 3550 60 0000 C CNN
+ 2 900 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1500 4700 2200 4700
+Wire Wire Line
+ 3300 5000 1550 5000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sub b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sub
new file mode 100644
index 00000000..a65f6b25
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub.sub
@@ -0,0 +1,45 @@
+* Subcircuit MC1741_sub
+.subckt MC1741_sub net-_q3-pad3_ net-_r1-pad2_ net-_q1-pad2_ net-_d3-pad2_ net-_q6-pad3_ net-_d5-pad1_ net-_d1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc1741_sub\mc1741_sub.cir
+.include PNP.lib
+.include NPN.lib
+.include PowerDiode.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ PowerDiode
+q1 net-_d1-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q7 net-_d1-pad2_ net-_q7-pad2_ net-_q5-pad3_ Q2N2222
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q2-pad2_ net-_q5-pad3_ Q2N2907A
+q8 net-_q2-pad2_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+q4 net-_d1-pad1_ net-_q2-pad1_ net-_q3-pad2_ Q2N2222
+q3 net-_q2-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+r2 net-_q3-pad3_ net-_d3-pad2_ 1.0k
+r3 net-_q3-pad2_ net-_d3-pad2_ 50k
+r4 net-_q6-pad3_ net-_d3-pad2_ 1.0k
+q6 net-_c1-pad2_ net-_q3-pad2_ net-_q6-pad3_ Q2N2222
+q9 net-_q2-pad2_ net-_d3-pad1_ net-_q9-pad3_ Q2N2222
+r5 net-_q9-pad3_ net-_d3-pad2_ 5.0k
+d2 net-_d1-pad1_ net-_d2-pad2_ PowerDiode
+r7 net-_d2-pad2_ net-_d3-pad1_ 39k
+d3 net-_d3-pad1_ net-_d3-pad2_ PowerDiode
+q12 net-_c1-pad1_ net-_d2-pad2_ net-_d1-pad1_ Q2N2907A
+r9 net-_c1-pad1_ net-_q13-pad2_ 4.5k
+r10 net-_d4-pad2_ net-_q13-pad2_ 7.5k
+q11 net-_d4-pad2_ net-_c1-pad2_ net-_q11-pad3_ Q2N2222
+q14 net-_d4-pad2_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+q10 net-_c1-pad2_ net-_q10-pad2_ net-_d3-pad2_ Q2N2222
+r8 net-_d3-pad2_ net-_q11-pad3_ 50k
+r11 net-_d3-pad2_ net-_q10-pad2_ 50
+d4 net-_d4-pad1_ net-_d4-pad2_ PowerDiode
+d5 net-_d5-pad1_ net-_d4-pad1_ PowerDiode
+q16 net-_d1-pad1_ net-_c1-pad1_ net-_q15-pad2_ Q2N2222
+q15 net-_c1-pad1_ net-_q15-pad2_ net-_d5-pad1_ Q2N2222
+r12 net-_d5-pad1_ net-_q15-pad2_ 25
+r13 net-_q17-pad3_ net-_d5-pad1_ 50
+q17 net-_d3-pad2_ net-_d4-pad2_ net-_q17-pad3_ Q2N2907A
+r1 net-_q7-pad2_ net-_r1-pad2_ 3k
+r6 net-_d5-pad1_ net-_q7-pad2_ 6k
+q13 net-_c1-pad1_ net-_q13-pad2_ net-_d4-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+* Control Statements
+
+.ends MC1741_sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub_Previous_Values.xml b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub_Previous_Values.xml
new file mode 100644
index 00000000..aaf7895b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/MC1741_sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\PowerDiode.lib</field></d1><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\PowerDiode.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\PowerDiode.lib</field></d3><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\PowerDiode.lib</field></d4><d5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\PowerDiode.lib</field></d5><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q17><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/MC1741_Sub/NPN.lib b/library/SubcircuitLibrary/MC1741_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/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/MC1741_Sub/PNP.lib b/library/SubcircuitLibrary/MC1741_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/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/MC1741_Sub/PowerDiode.lib b/library/SubcircuitLibrary/MC1741_Sub/PowerDiode.lib
new file mode 100644
index 00000000..a2f61dce
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/PowerDiode.lib
@@ -0,0 +1,20 @@
+.MODEL PowerDiode D(
++ Vj=.75
++ Nbvl=14.976
++ Cjo=175p
++ Rs=.25
++ Isr=1.859n
++ Eg=1.11
++ M=.5516
++ Nbv=1.6989
++ N=1
++ Tbv1=-21.277u
++ bv=1800
++ Fc=.5
++ Ikf=0
++ Nr=2
++ Ibv=20.245m
++ Is=2.2E-15
++ Xti=3
++ Ibvl=1.9556m
+) \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC1741_Sub/analysis b/library/SubcircuitLibrary/MC1741_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/MC1741_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/D.lib b/library/SubcircuitLibrary/MC7900_Sub/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/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/MC7900_Sub/MC7900_Sub-cache.lib b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib
new file mode 100644
index 00000000..cd2ad9a3
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib
@@ -0,0 +1,184 @@
+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_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+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_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 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/MC7900_Sub/MC7900_Sub.cir b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir
new file mode 100644
index 00000000..f7b934ad
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir
@@ -0,0 +1,72 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC7900_Sub\MC7900_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/28/24 16:30:41
+
+* 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: /
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D3 Net-_D2-Pad2_ Net-_D3-Pad2_ eSim_Diode
+Q1 Net-_Q1-Pad1_ Net-_D3-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_D4-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R1 Net-_D1-Pad1_ Net-_Q1-Pad3_ 3.6k
+J1 Net-_D3-Pad2_ Net-_J1-Pad2_ Net-_J1-Pad2_ jfet_n
+Q4 Net-_D4-Pad2_ Net-_Q1-Pad1_ Net-_Q2-Pad2_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q6 Net-_Q2-Pad2_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q7 Net-_Q7-Pad1_ Net-_Q5-Pad3_ Net-_D4-Pad2_ eSim_NPN
+Q5 Net-_D1-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R3 Net-_D1-Pad1_ Net-_Q5-Pad2_ 2.4k
+R2 Net-_Q5-Pad3_ Net-_D4-Pad2_ 1.2k
+Q9 Net-_D1-Pad1_ Net-_Q7-Pad1_ Net-_Q10-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R4 Net-_Q5-Pad2_ Net-_Q7-Pad1_ 25
+R6 Net-_Q10-Pad2_ Net-_D4-Pad2_ 12k
+Q11 Net-_D1-Pad1_ Net-_Q10-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_D4-Pad2_ Net-_Q12-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q13 Net-_Q12-Pad2_ Net-_Q11-Pad3_ Net-_D4-Pad2_ eSim_NPN
+R8 Net-_Q10-Pad3_ Net-_D4-Pad2_ 1.0k
+Q14 Net-_Q14-Pad1_ Net-_Q14-Pad2_ Net-_D1-Pad1_ eSim_PNP
+R12 Net-_D1-Pad1_ Net-_Q14-Pad2_ 2.0k
+R14 Net-_Q14-Pad2_ Net-_Q17-Pad2_ 1.0k
+R13 Net-_D1-Pad1_ Net-_Q14-Pad2_ 8.0k
+R15 Net-_Q17-Pad2_ Net-_D4-Pad2_ 1.6k
+Q17 Net-_Q14-Pad2_ Net-_Q17-Pad2_ Net-_D4-Pad2_ eSim_NPN
+R16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ 20k
+R7 Net-_D1-Pad1_ Net-_Q10-Pad1_ 14.7k
+R9 Net-_Q11-Pad3_ Net-_D4-Pad1_ 4.0k
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R10 Net-_D1-Pad1_ Net-_Q12-Pad2_ 2.0k
+Q19 Net-_D1-Pad1_ Net-_D4-Pad2_ Net-_Q18-Pad3_ eSim_NPN
+Q22 Net-_D1-Pad1_ Net-_Q22-Pad2_ Net-_Q21-Pad3_ eSim_NPN
+R21 Net-_D1-Pad1_ Net-_Q26-Pad1_ 4.5k
+R11 Net-_Q14-Pad1_ Net-_J1-Pad2_ 2.0k
+Q18 Net-_Q16-Pad1_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q20 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q21 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q23 Net-_C1-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q8 Net-_Q18-Pad2_ Net-_Q2-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+R5 Net-_Q8-Pad3_ Net-_J1-Pad2_ 1.1k
+Q15 Net-_C1-Pad2_ Net-_Q14-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R17 Net-_C1-Pad1_ Net-_Q16-Pad1_ 20k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+C2 Net-_C1-Pad2_ Net-_C2-Pad2_ 10pF
+Q24 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q25 Net-_C1-Pad2_ Net-_C2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R18 Net-_Q27-Pad1_ Net-_R18-Pad2_ 10k
+U1 Net-_C2-Pad2_ Net-_R18-Pad2_ zener
+Q26 Net-_Q26-Pad1_ Net-_C1-Pad2_ Net-_Q26-Pad3_ eSim_NPN
+R22 Net-_Q26-Pad3_ Net-_Q28-Pad3_ 10k
+R19 Net-_Q28-Pad3_ Net-_C2-Pad2_ 240
+R20 Net-_Q27-Pad3_ Net-_C2-Pad2_ 750
+Q27 Net-_Q27-Pad1_ Net-_Q26-Pad3_ Net-_Q27-Pad3_ eSim_NPN
+Q28 Net-_Q27-Pad1_ Net-_Q27-Pad3_ Net-_Q28-Pad3_ eSim_NPN
+R25 Net-_Q28-Pad3_ Net-_J1-Pad2_ 0.3
+R24 Net-_Q22-Pad2_ Net-_Q27-Pad1_ 1k
+R23 Net-_D1-Pad1_ Net-_Q22-Pad2_ 185
+U2 Net-_J1-Pad2_ Net-_Q27-Pad1_ Net-_D1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out
new file mode 100644
index 00000000..bb5e461a
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out
@@ -0,0 +1,80 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc7900_sub\mc7900_sub.cir
+
+.include NJF.lib
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+* u2 net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_ port
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-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/MC7900_Sub/MC7900_Sub.pro b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch
new file mode 100644
index 00000000..d0287c62
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch
@@ -0,0 +1,1133 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:MC7900-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11040
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_Diode D1
+U 1 1 667E8260
+P 2350 2600
+F 0 "D1" H 2350 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 2500 50 0000 C CNN
+F 2 "" H 2350 2600 60 0000 C CNN
+F 3 "" H 2350 2600 60 0000 C CNN
+ 1 2350 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 667E8261
+P 2350 3100
+F 0 "D2" H 2350 3200 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3000 50 0000 C CNN
+F 2 "" H 2350 3100 60 0000 C CNN
+F 3 "" H 2350 3100 60 0000 C CNN
+ 1 2350 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 667E8262
+P 2350 3600
+F 0 "D3" H 2350 3700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3500 50 0000 C CNN
+F 2 "" H 2350 3600 60 0000 C CNN
+F 3 "" H 2350 3600 60 0000 C CNN
+ 1 2350 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 667E8263
+P 2950 4050
+F 0 "Q1" H 2850 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 4200 50 0000 R CNN
+F 2 "" H 3150 4150 29 0000 C CNN
+F 3 "" H 2950 4050 60 0000 C CNN
+ 1 2950 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 667E8264
+P 3600 4050
+F 0 "Q3" H 3500 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 3550 4200 50 0000 R CNN
+F 2 "" H 3800 4150 29 0000 C CNN
+F 3 "" H 3600 4050 60 0000 C CNN
+ 1 3600 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 667E8265
+P 3200 3000
+F 0 "R1" H 3250 3130 50 0000 C CNN
+F 1 "3.6k" H 3250 2950 50 0000 C CNN
+F 2 "" H 3250 2980 30 0000 C CNN
+F 3 "" V 3250 3050 30 0000 C CNN
+ 1 3200 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 667E8266
+P 2250 6150
+F 0 "J1" H 2150 6200 50 0000 R CNN
+F 1 "jfet_n" H 2200 6300 50 0000 R CNN
+F 2 "" H 2450 6250 29 0000 C CNN
+F 3 "" H 2250 6150 60 0000 C CNN
+ 1 2250 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 667E8267
+P 3800 5500
+F 0 "Q4" H 3700 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5650 50 0000 R CNN
+F 2 "" H 4000 5600 29 0000 C CNN
+F 3 "" H 3800 5500 60 0000 C CNN
+ 1 3800 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 667E8268
+P 3400 6650
+F 0 "Q2" H 3300 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 6800 50 0000 R CNN
+F 2 "" H 3600 6750 29 0000 C CNN
+F 3 "" H 3400 6650 60 0000 C CNN
+ 1 3400 6650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 667E8269
+P 4000 6650
+F 0 "Q6" H 3900 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 6800 50 0000 R CNN
+F 2 "" H 4200 6750 29 0000 C CNN
+F 3 "" H 4000 6650 60 0000 C CNN
+ 1 4000 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 667E826A
+P 4400 3450
+F 0 "Q7" H 4300 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 3600 50 0000 R CNN
+F 2 "" H 4600 3550 29 0000 C CNN
+F 3 "" H 4400 3450 60 0000 C CNN
+ 1 4400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 667E826B
+P 4000 2700
+F 0 "Q5" H 3900 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 2900 50 0000 R CNN
+F 2 "" H 4200 2800 29 0000 C CNN
+F 3 "" H 4000 2700 60 0000 C CNN
+ 1 4000 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 667E826C
+P 4450 2450
+F 0 "R3" H 4500 2580 50 0000 C CNN
+F 1 "2.4k" H 4500 2400 50 0000 C CNN
+F 2 "" H 4500 2430 30 0000 C CNN
+F 3 "" V 4500 2500 30 0000 C CNN
+ 1 4450 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 667E826D
+P 3850 3650
+F 0 "R2" H 3900 3780 50 0000 C CNN
+F 1 "1.2k" H 3900 3600 50 0000 C CNN
+F 2 "" H 3900 3630 30 0000 C CNN
+F 3 "" V 3900 3700 30 0000 C CNN
+ 1 3850 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 667E826E
+P 5100 3150
+F 0 "Q9" H 5000 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 5050 3300 50 0000 R CNN
+F 2 "" H 5300 3250 29 0000 C CNN
+F 3 "" H 5100 3150 60 0000 C CNN
+ 1 5100 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 667E826F
+P 5650 3450
+F 0 "Q10" H 5550 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 5600 3600 50 0000 R CNN
+F 2 "" H 5850 3550 29 0000 C CNN
+F 3 "" H 5650 3450 60 0000 C CNN
+ 1 5650 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 667E8270
+P 4450 2900
+F 0 "R4" H 4500 3030 50 0000 C CNN
+F 1 "25" H 4500 2850 50 0000 C CNN
+F 2 "" H 4500 2880 30 0000 C CNN
+F 3 "" V 4500 2950 30 0000 C CNN
+ 1 4450 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 667E8271
+P 5150 3750
+F 0 "R6" H 5200 3880 50 0000 C CNN
+F 1 "12k" H 5200 3700 50 0000 C CNN
+F 2 "" H 5200 3730 30 0000 C CNN
+F 3 "" V 5200 3800 30 0000 C CNN
+ 1 5150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 667E8272
+P 6150 3000
+F 0 "Q11" H 6050 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 6100 3150 50 0000 R CNN
+F 2 "" H 6350 3100 29 0000 C CNN
+F 3 "" H 6150 3000 60 0000 C CNN
+ 1 6150 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 667E8273
+P 6700 2550
+F 0 "Q12" H 6600 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 6650 2700 50 0000 R CNN
+F 2 "" H 6900 2650 29 0000 C CNN
+F 3 "" H 6700 2550 60 0000 C CNN
+ 1 6700 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 667E8274
+P 7150 3300
+F 0 "Q13" H 7050 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 3450 50 0000 R CNN
+F 2 "" H 7350 3400 29 0000 C CNN
+F 3 "" H 7150 3300 60 0000 C CNN
+ 1 7150 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 667E8275
+P 5700 3800
+F 0 "R8" H 5750 3930 50 0000 C CNN
+F 1 "1.0k" H 5750 3750 50 0000 C CNN
+F 2 "" H 5750 3780 30 0000 C CNN
+F 3 "" V 5750 3850 30 0000 C CNN
+ 1 5700 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 667E8276
+P 7750 2800
+F 0 "Q14" H 7650 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 7700 2950 50 0000 R CNN
+F 2 "" H 7950 2900 29 0000 C CNN
+F 3 "" H 7750 2800 60 0000 C CNN
+ 1 7750 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 667E8277
+P 8250 2450
+F 0 "R12" H 8300 2580 50 0000 C CNN
+F 1 "2.0k" H 8300 2400 50 0000 C CNN
+F 2 "" H 8300 2430 30 0000 C CNN
+F 3 "" V 8300 2500 30 0000 C CNN
+ 1 8250 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 667E8278
+P 8850 3000
+F 0 "R14" H 8900 3130 50 0000 C CNN
+F 1 "1.0k" H 8900 2950 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 resistor R13
+U 1 1 667E8279
+P 8850 2450
+F 0 "R13" H 8900 2580 50 0000 C CNN
+F 1 "8.0k" H 8900 2400 50 0000 C CNN
+F 2 "" H 8900 2430 30 0000 C CNN
+F 3 "" V 8900 2500 30 0000 C CNN
+ 1 8850 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 667E827A
+P 8850 3700
+F 0 "R15" H 8900 3830 50 0000 C CNN
+F 1 "1.6k" H 8900 3650 50 0000 C CNN
+F 2 "" H 8900 3680 30 0000 C CNN
+F 3 "" V 8900 3750 30 0000 C CNN
+ 1 8850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 667E827B
+P 8400 3400
+F 0 "Q17" H 8300 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 3550 50 0000 R CNN
+F 2 "" H 8600 3500 29 0000 C CNN
+F 3 "" H 8400 3400 60 0000 C CNN
+ 1 8400 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 667E827C
+P 8950 7500
+F 0 "R16" H 9000 7630 50 0000 C CNN
+F 1 "20k" H 9000 7450 50 0000 C CNN
+F 2 "" H 9000 7480 30 0000 C CNN
+F 3 "" V 9000 7550 30 0000 C CNN
+ 1 8950 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 667E827D
+P 5700 2600
+F 0 "R7" H 5750 2730 50 0000 C CNN
+F 1 "14.7k" H 5750 2550 50 0000 C CNN
+F 2 "" H 5750 2580 30 0000 C CNN
+F 3 "" V 5750 2650 30 0000 C CNN
+ 1 5700 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 667E827E
+P 6200 3450
+F 0 "R9" H 6250 3580 50 0000 C CNN
+F 1 "4.0k" H 6250 3400 50 0000 C CNN
+F 2 "" H 6250 3430 30 0000 C CNN
+F 3 "" V 6250 3500 30 0000 C CNN
+ 1 6200 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 667E827F
+P 6250 3850
+F 0 "D4" H 6250 3950 50 0000 C CNN
+F 1 "eSim_Diode" H 6250 3750 50 0000 C CNN
+F 2 "" H 6250 3850 60 0000 C CNN
+F 3 "" H 6250 3850 60 0000 C CNN
+ 1 6250 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 667E8280
+P 7200 2550
+F 0 "R10" H 7250 2680 50 0000 C CNN
+F 1 "2.0k" H 7250 2500 50 0000 C CNN
+F 2 "" H 7250 2530 30 0000 C CNN
+F 3 "" V 7250 2600 30 0000 C CNN
+ 1 7200 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 667E8281
+P 9650 4050
+F 0 "Q19" H 9550 4100 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 4200 50 0000 R CNN
+F 2 "" H 9850 4150 29 0000 C CNN
+F 3 "" H 9650 4050 60 0000 C CNN
+ 1 9650 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 667E8282
+P 11100 4100
+F 0 "Q22" H 11000 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 11050 4250 50 0000 R CNN
+F 2 "" H 11300 4200 29 0000 C CNN
+F 3 "" H 11100 4100 60 0000 C CNN
+ 1 11100 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 667E8283
+P 14500 3000
+F 0 "R21" H 14550 3130 50 0000 C CNN
+F 1 "4.5k" H 14550 2950 50 0000 C CNN
+F 2 "" H 14550 2980 30 0000 C CNN
+F 3 "" V 14550 3050 30 0000 C CNN
+ 1 14500 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 667E8284
+P 7600 7300
+F 0 "R11" H 7650 7430 50 0000 C CNN
+F 1 "2.0k" H 7650 7250 50 0000 C CNN
+F 2 "" H 7650 7280 30 0000 C CNN
+F 3 "" V 7650 7350 30 0000 C CNN
+ 1 7600 7300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 667E8285
+P 9450 4700
+F 0 "Q18" H 9350 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 9400 4850 50 0000 R CNN
+F 2 "" H 9650 4800 29 0000 C CNN
+F 3 "" H 9450 4700 60 0000 C CNN
+ 1 9450 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 667E8286
+P 10100 4700
+F 0 "Q20" H 10000 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10050 4850 50 0000 R CNN
+F 2 "" H 10300 4800 29 0000 C CNN
+F 3 "" H 10100 4700 60 0000 C CNN
+ 1 10100 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q21
+U 1 1 667E8287
+P 10700 4700
+F 0 "Q21" H 10600 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10650 4850 50 0000 R CNN
+F 2 "" H 10900 4800 29 0000 C CNN
+F 3 "" H 10700 4700 60 0000 C CNN
+ 1 10700 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q23
+U 1 1 667E8288
+P 11350 4700
+F 0 "Q23" H 11250 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 11300 4850 50 0000 R CNN
+F 2 "" H 11550 4800 29 0000 C CNN
+F 3 "" H 11350 4700 60 0000 C CNN
+ 1 11350 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 667E8289
+P 4850 6650
+F 0 "Q8" H 4750 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 6800 50 0000 R CNN
+F 2 "" H 5050 6750 29 0000 C CNN
+F 3 "" H 4850 6650 60 0000 C CNN
+ 1 4850 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 667E828A
+P 4900 7400
+F 0 "R5" H 4950 7530 50 0000 C CNN
+F 1 "1.1k" H 4950 7350 50 0000 C CNN
+F 2 "" H 4950 7380 30 0000 C CNN
+F 3 "" V 4950 7450 30 0000 C CNN
+ 1 4900 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 667E828B
+P 7950 7000
+F 0 "Q15" H 7850 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7150 50 0000 R CNN
+F 2 "" H 8150 7100 29 0000 C CNN
+F 3 "" H 7950 7000 60 0000 C CNN
+ 1 7950 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 667E828C
+P 8300 7550
+F 0 "Q16" H 8200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 7700 50 0000 R CNN
+F 2 "" H 8500 7650 29 0000 C CNN
+F 3 "" H 8300 7550 60 0000 C CNN
+ 1 8300 7550
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 667E828D
+P 9800 7500
+F 0 "R17" H 9850 7630 50 0000 C CNN
+F 1 "20k" H 9850 7450 50 0000 C CNN
+F 2 "" H 9850 7480 30 0000 C CNN
+F 3 "" V 9850 7550 30 0000 C CNN
+ 1 9800 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L capacitor_polarised C1
+U 1 1 667E828E
+P 11150 6450
+F 0 "C1" H 11175 6550 50 0000 L CNN
+F 1 "20pF" H 11175 6350 50 0000 L CNN
+F 2 "" H 11150 6450 50 0001 C CNN
+F 3 "" H 11150 6450 50 0001 C CNN
+ 1 11150 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L capacitor_polarised C2
+U 1 1 667E828F
+P 12900 6450
+F 0 "C2" H 12925 6550 50 0000 L CNN
+F 1 "10pF" H 12925 6350 50 0000 L CNN
+F 2 "" H 12900 6450 50 0001 C CNN
+F 3 "" H 12900 6450 50 0001 C CNN
+ 1 12900 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 667E8290
+P 11800 7550
+F 0 "Q24" H 11700 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 11750 7700 50 0000 R CNN
+F 2 "" H 12000 7650 29 0000 C CNN
+F 3 "" H 11800 7550 60 0000 C CNN
+ 1 11800 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 667E8291
+P 12300 7600
+F 0 "Q25" H 12200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 12250 7750 50 0000 R CNN
+F 2 "" H 12500 7700 29 0000 C CNN
+F 3 "" H 12300 7600 60 0000 C CNN
+ 1 12300 7600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 667E8292
+P 13500 4800
+F 0 "R18" H 13550 4930 50 0000 C CNN
+F 1 "10k" H 13550 4750 50 0000 C CNN
+F 2 "" H 13550 4780 30 0000 C CNN
+F 3 "" V 13550 4850 30 0000 C CNN
+ 1 13500 4800
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 667E8293
+P 13550 5400
+F 0 "U1" H 13500 5300 60 0000 C CNN
+F 1 "zener" H 13550 5500 60 0000 C CNN
+F 2 "" H 13600 5400 60 0000 C CNN
+F 3 "" H 13600 5400 60 0000 C CNN
+ 1 13550 5400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q26
+U 1 1 667E8294
+P 14150 5700
+F 0 "Q26" H 14050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 14100 5850 50 0000 R CNN
+F 2 "" H 14350 5800 29 0000 C CNN
+F 3 "" H 14150 5700 60 0000 C CNN
+ 1 14150 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 667E8295
+P 14600 6900
+F 0 "R22" H 14650 7030 50 0000 C CNN
+F 1 "10k" H 14650 6850 50 0000 C CNN
+F 2 "" H 14650 6880 30 0000 C CNN
+F 3 "" V 14650 6950 30 0000 C CNN
+ 1 14600 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 667E8296
+P 14250 7550
+F 0 "R19" H 14300 7680 50 0000 C CNN
+F 1 "240" H 14300 7500 50 0000 C CNN
+F 2 "" H 14300 7530 30 0000 C CNN
+F 3 "" V 14300 7600 30 0000 C CNN
+ 1 14250 7550
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 667E8297
+P 14250 7900
+F 0 "R20" H 14300 8030 50 0000 C CNN
+F 1 "750" H 14300 7850 50 0000 C CNN
+F 2 "" H 14300 7880 30 0000 C CNN
+F 3 "" V 14300 7950 30 0000 C CNN
+ 1 14250 7900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 667E8298
+P 15100 6000
+F 0 "Q27" H 15000 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 15050 6150 50 0000 R CNN
+F 2 "" H 15300 6100 29 0000 C CNN
+F 3 "" H 15100 6000 60 0000 C CNN
+ 1 15100 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 667E8299
+P 15700 6350
+F 0 "Q28" H 15600 6400 50 0000 R CNN
+F 1 "eSim_NPN" H 15650 6500 50 0000 R CNN
+F 2 "" H 15900 6450 29 0000 C CNN
+F 3 "" H 15700 6350 60 0000 C CNN
+ 1 15700 6350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 667E829A
+P 15750 7900
+F 0 "R25" H 15800 8050 50 0000 C CNN
+F 1 "0.3" H 15800 7850 50 0000 C CNN
+F 2 "" H 15800 7880 30 0000 C CNN
+F 3 "" V 15800 7950 30 0000 C CNN
+ 1 15750 7900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 2350 2750 2350 2950
+Wire Wire Line
+ 2350 3250 2350 3450
+Wire Wire Line
+ 3050 3850 3050 3700
+Wire Wire Line
+ 3050 3700 3500 3700
+Wire Wire Line
+ 3500 3700 3500 3850
+Wire Wire Line
+ 3250 3200 3250 3700
+Connection ~ 3250 3700
+Wire Wire Line
+ 2350 2450 2350 2250
+Wire Wire Line
+ 3250 2900 3250 2250
+Connection ~ 3250 2250
+Wire Wire Line
+ 2350 3750 2350 5950
+Wire Wire Line
+ 3050 4250 3050 4450
+Wire Wire Line
+ 3050 4450 3500 4450
+Wire Wire Line
+ 3500 4450 3500 4250
+Wire Wire Line
+ 3300 4450 3300 6450
+Connection ~ 3300 4450
+Wire Wire Line
+ 4100 6450 4100 6250
+Wire Wire Line
+ 3800 6650 3600 6650
+Wire Wire Line
+ 4100 6250 3650 6250
+Wire Wire Line
+ 3650 6250 3650 6650
+Connection ~ 3650 6650
+Wire Wire Line
+ 3600 5500 3300 5500
+Connection ~ 3300 5500
+Connection ~ 3900 4050
+Wire Wire Line
+ 3900 2900 3900 3550
+Wire Wire Line
+ 4100 8250 4100 6850
+Wire Wire Line
+ 2350 6350 2350 8250
+Wire Wire Line
+ 15800 8250 1850 8250
+Wire Wire Line
+ 3300 6850 3300 8250
+Connection ~ 3300 8250
+Wire Wire Line
+ 3900 2500 3900 2250
+Connection ~ 3900 2250
+Wire Wire Line
+ 4500 2650 4500 2800
+Wire Wire Line
+ 4500 2250 4500 2350
+Wire Wire Line
+ 3900 3850 3900 5300
+Wire Wire Line
+ 4200 3450 3900 3450
+Connection ~ 3900 3450
+Wire Wire Line
+ 4500 3250 4500 3100
+Wire Wire Line
+ 4200 2700 4500 2700
+Connection ~ 4500 2700
+Wire Wire Line
+ 2050 6150 1850 6150
+Wire Wire Line
+ 1850 6150 1850 8250
+Connection ~ 2350 8250
+Wire Wire Line
+ 4500 3650 4500 4050
+Connection ~ 4500 4050
+Wire Wire Line
+ 4900 3150 4500 3150
+Connection ~ 4500 3150
+Wire Wire Line
+ 5200 2250 5200 2950
+Connection ~ 4500 2250
+Wire Wire Line
+ 5200 3650 5200 3350
+Wire Wire Line
+ 5200 3950 5200 4050
+Connection ~ 5200 4050
+Wire Wire Line
+ 2750 4050 2350 4050
+Connection ~ 2350 4050
+Connection ~ 5200 2250
+Wire Wire Line
+ 5750 2250 5750 2500
+Wire Wire Line
+ 5750 2800 5750 3250
+Wire Wire Line
+ 5750 3650 5750 3700
+Wire Wire Line
+ 5750 4000 5750 4050
+Connection ~ 5750 4050
+Wire Wire Line
+ 5950 3000 5750 3000
+Connection ~ 5750 3000
+Wire Wire Line
+ 6250 2250 6250 2800
+Connection ~ 5750 2250
+Wire Wire Line
+ 6250 3200 6250 3350
+Wire Wire Line
+ 6250 3700 6250 3650
+Wire Wire Line
+ 6250 4000 6250 4050
+Connection ~ 6250 4050
+Wire Wire Line
+ 6600 2250 6600 2350
+Connection ~ 6250 2250
+Wire Wire Line
+ 6600 2750 6600 4050
+Connection ~ 6600 4050
+Wire Wire Line
+ 7250 2250 7250 2450
+Connection ~ 6600 2250
+Wire Wire Line
+ 6900 2550 6950 2550
+Wire Wire Line
+ 7650 2250 7650 2600
+Connection ~ 7250 2250
+Wire Wire Line
+ 7650 3000 7650 7200
+Wire Wire Line
+ 8300 2250 8300 2350
+Connection ~ 7650 2250
+Wire Wire Line
+ 8300 2650 8300 3200
+Wire Wire Line
+ 8300 4050 8300 3600
+Wire Wire Line
+ 7950 2800 8900 2800
+Connection ~ 8300 2800
+Wire Wire Line
+ 8900 2250 8900 2350
+Connection ~ 8300 2250
+Wire Wire Line
+ 8900 2900 8900 2650
+Wire Wire Line
+ 8900 3600 8900 3200
+Wire Wire Line
+ 8600 3400 8900 3400
+Connection ~ 8900 3400
+Wire Wire Line
+ 8900 4050 8900 3900
+Connection ~ 8300 4050
+Wire Wire Line
+ 5450 3450 5200 3450
+Connection ~ 5200 3450
+Connection ~ 8900 2800
+Connection ~ 8900 4050
+Wire Wire Line
+ 3800 4050 9450 4050
+Wire Wire Line
+ 9750 2250 9750 3850
+Connection ~ 8900 2250
+Wire Wire Line
+ 11000 2250 11000 3900
+Connection ~ 9750 2250
+Wire Wire Line
+ 2350 2250 16150 2250
+Wire Wire Line
+ 9350 4500 9350 4300
+Wire Wire Line
+ 9350 4300 10000 4300
+Wire Wire Line
+ 10000 4300 10000 4500
+Wire Wire Line
+ 9750 4250 9750 4300
+Connection ~ 9750 4300
+Wire Wire Line
+ 10800 4500 10800 4400
+Wire Wire Line
+ 10800 4400 11450 4400
+Wire Wire Line
+ 11450 4400 11450 4500
+Wire Wire Line
+ 11000 4300 11000 4400
+Connection ~ 11000 4400
+Wire Wire Line
+ 10500 4700 10300 4700
+Wire Wire Line
+ 3650 6650 4650 6650
+Wire Wire Line
+ 4950 7300 4950 6850
+Wire Wire Line
+ 4950 8250 4950 7600
+Connection ~ 4100 8250
+Connection ~ 4950 8250
+Wire Wire Line
+ 7650 7500 7650 8250
+Connection ~ 7650 8250
+Wire Wire Line
+ 8200 7350 8200 4900
+Wire Wire Line
+ 8200 8250 8200 7750
+Wire Wire Line
+ 8750 7550 8500 7550
+Wire Wire Line
+ 9050 7550 9600 7550
+Wire Wire Line
+ 8050 7200 8050 8250
+Connection ~ 8050 8250
+Wire Wire Line
+ 7750 7000 7650 7000
+Connection ~ 7650 7000
+Wire Wire Line
+ 8050 6800 8050 5700
+Wire Wire Line
+ 10800 4900 10800 5100
+Wire Wire Line
+ 10800 5100 4950 5100
+Wire Wire Line
+ 4950 5100 4950 6450
+Wire Wire Line
+ 10000 4900 10000 5100
+Connection ~ 10000 5100
+Wire Wire Line
+ 10400 4700 10400 5100
+Connection ~ 10400 5100
+Connection ~ 10400 4700
+Wire Wire Line
+ 8200 4900 9050 4900
+Wire Wire Line
+ 9050 4900 9050 5000
+Wire Wire Line
+ 9050 5000 9350 5000
+Wire Wire Line
+ 9350 5000 9350 4900
+Wire Wire Line
+ 9100 7000 9100 7550
+Connection ~ 9100 7550
+Wire Wire Line
+ 11450 4900 11450 5050
+Wire Wire Line
+ 11450 5050 11900 5050
+Wire Wire Line
+ 11900 5050 11900 7350
+Connection ~ 11900 5700
+Connection ~ 11900 6450
+Wire Wire Line
+ 11000 6450 10350 6450
+Wire Wire Line
+ 10350 6450 10350 7550
+Connection ~ 10350 7550
+Wire Wire Line
+ 8050 5700 13950 5700
+Wire Wire Line
+ 11300 6450 11900 6450
+Wire Wire Line
+ 12200 7400 12200 5700
+Connection ~ 12200 5700
+Wire Wire Line
+ 12750 6450 12200 6450
+Connection ~ 12200 6450
+Wire Wire Line
+ 12500 7600 14050 7600
+Wire Wire Line
+ 13050 6450 13550 6450
+Connection ~ 13550 6450
+Wire Wire Line
+ 9100 7000 8200 7000
+Connection ~ 8200 7000
+Wire Wire Line
+ 11900 8250 11900 7750
+Connection ~ 8200 8250
+Wire Wire Line
+ 12200 8250 12200 7800
+Connection ~ 13550 7600
+Wire Wire Line
+ 14250 5500 14250 5350
+Wire Wire Line
+ 14250 5350 14550 5350
+Wire Wire Line
+ 14550 5350 14550 3200
+Wire Wire Line
+ 14250 5900 14250 6000
+Wire Wire Line
+ 14250 6000 14900 6000
+Wire Wire Line
+ 14650 6000 14650 6800
+Wire Wire Line
+ 14650 7100 14650 7600
+Wire Wire Line
+ 15800 7600 14350 7600
+Connection ~ 14650 6000
+Wire Wire Line
+ 15200 6200 15200 6350
+Wire Wire Line
+ 15200 6350 15500 6350
+Wire Wire Line
+ 15400 7950 15400 6350
+Connection ~ 15400 6350
+Wire Wire Line
+ 15200 5800 15200 5500
+Wire Wire Line
+ 15200 5500 15800 5500
+Connection ~ 15800 5500
+Wire Wire Line
+ 14050 7950 13550 7950
+Connection ~ 13550 7950
+Wire Wire Line
+ 13550 5100 13550 5000
+Wire Wire Line
+ 13550 4500 13550 4700
+Connection ~ 15800 4500
+Wire Wire Line
+ 14550 2250 14550 2900
+Connection ~ 11000 2250
+Wire Wire Line
+ 15800 4200 15800 6150
+Connection ~ 14550 2250
+Wire Wire Line
+ 15800 2250 15800 2950
+Wire Wire Line
+ 15800 3250 15800 3900
+Connection ~ 15400 7950
+Wire Wire Line
+ 6950 3300 6250 3300
+Connection ~ 6250 3300
+Wire Wire Line
+ 7250 3100 7250 2750
+Wire Wire Line
+ 6950 2550 6950 2850
+Wire Wire Line
+ 6950 2850 7250 2850
+Connection ~ 7250 2850
+Wire Wire Line
+ 7250 3500 7250 4050
+Connection ~ 7250 4050
+Wire Wire Line
+ 3900 5700 3900 6250
+Connection ~ 3900 6250
+Wire Wire Line
+ 9650 4700 11150 4700
+Wire Wire Line
+ 9900 7550 11600 7550
+Connection ~ 12200 8250
+Connection ~ 11900 8250
+Connection ~ 14650 7600
+Wire Wire Line
+ 13550 7950 13550 5600
+Wire Wire Line
+ 14350 7950 15400 7950
+Wire Wire Line
+ 15800 6550 15800 7800
+Connection ~ 15800 7600
+Wire Wire Line
+ 15800 8100 15800 8500
+Connection ~ 15800 8250
+Wire Wire Line
+ 16150 2250 16150 2500
+Connection ~ 15800 2250
+Wire Wire Line
+ 15800 8500 16300 8500
+$Comp
+L resistor R24
+U 1 1 667E82A0
+P 15750 4000
+F 0 "R24" H 15800 4130 50 0000 C CNN
+F 1 "1k" H 15800 3950 50 0000 C CNN
+F 2 "" H 15800 3980 30 0000 C CNN
+F 3 "" V 15800 4050 30 0000 C CNN
+ 1 15750 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 667E82A1
+P 15750 3050
+F 0 "R23" H 15800 3180 50 0000 C CNN
+F 1 "185" H 15800 3000 50 0000 C CNN
+F 2 "" H 15800 3030 30 0000 C CNN
+F 3 "" V 15800 3100 30 0000 C CNN
+ 1 15750 3050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 11300 4100 15400 4100
+Wire Wire Line
+ 15400 4100 15400 3650
+Wire Wire Line
+ 15400 3650 15800 3650
+Connection ~ 15800 3650
+Wire Wire Line
+ 13550 4500 16250 4500
+$Comp
+L PORT U2
+U 1 1 667E84EA
+P 16550 8500
+F 0 "U2" H 16600 8600 30 0000 C CNN
+F 1 "PORT" H 16550 8500 30 0000 C CNN
+F 2 "" H 16550 8500 60 0000 C CNN
+F 3 "" H 16550 8500 60 0000 C CNN
+ 1 16550 8500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 2 1 667E85EB
+P 16500 4500
+F 0 "U2" H 16550 4600 30 0000 C CNN
+F 1 "PORT" H 16500 4500 30 0000 C CNN
+F 2 "" H 16500 4500 60 0000 C CNN
+F 3 "" H 16500 4500 60 0000 C CNN
+ 2 16500 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 3 1 667E885A
+P 16150 2750
+F 0 "U2" H 16200 2850 30 0000 C CNN
+F 1 "PORT" H 16150 2750 30 0000 C CNN
+F 2 "" H 16150 2750 60 0000 C CNN
+F 3 "" H 16150 2750 60 0000 C CNN
+ 3 16150 2750
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub
new file mode 100644
index 00000000..cbe3c75d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub
@@ -0,0 +1,74 @@
+* Subcircuit MC7900_Sub
+.subckt MC7900_Sub net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc7900_sub\mc7900_sub.cir
+.include NJF.lib
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 MC7900_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml
new file mode 100644
index 00000000..e3c4309d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 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></u1></model><devicemodel><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q21><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q23><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q26><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q28></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/MC7900_Sub/MC7905_Sub-cache.lib b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib
new file mode 100644
index 00000000..cd2ad9a3
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib
@@ -0,0 +1,184 @@
+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_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+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_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 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/MC7900_Sub/MC7905_Sub.cir b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir
new file mode 100644
index 00000000..47d9c680
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir
@@ -0,0 +1,72 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC7905_Sub\MC7905_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/18/24 17:13:43
+
+* 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: /
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D3 Net-_D2-Pad2_ Net-_D3-Pad2_ eSim_Diode
+Q1 Net-_Q1-Pad1_ Net-_D3-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_D4-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R1 Net-_D1-Pad1_ Net-_Q1-Pad3_ 3.6k
+J1 Net-_D3-Pad2_ Net-_J1-Pad2_ Net-_J1-Pad2_ jfet_n
+Q4 Net-_D4-Pad2_ Net-_Q1-Pad1_ Net-_Q2-Pad2_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q6 Net-_Q2-Pad2_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q7 Net-_Q7-Pad1_ Net-_Q5-Pad3_ Net-_D4-Pad2_ eSim_NPN
+Q5 Net-_D1-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R3 Net-_D1-Pad1_ Net-_Q5-Pad2_ 2.4k
+R2 Net-_Q5-Pad3_ Net-_D4-Pad2_ 1.2k
+Q9 Net-_D1-Pad1_ Net-_Q7-Pad1_ Net-_Q10-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R4 Net-_Q5-Pad2_ Net-_Q7-Pad1_ 25
+R6 Net-_Q10-Pad2_ Net-_D4-Pad2_ 12k
+Q11 Net-_D1-Pad1_ Net-_Q10-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_D4-Pad2_ Net-_Q12-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q13 Net-_Q12-Pad2_ Net-_Q11-Pad3_ Net-_D4-Pad2_ eSim_NPN
+R8 Net-_Q10-Pad3_ Net-_D4-Pad2_ 1.0k
+Q14 Net-_Q14-Pad1_ Net-_Q14-Pad2_ Net-_D1-Pad1_ eSim_PNP
+R12 Net-_D1-Pad1_ Net-_Q14-Pad2_ 2.0k
+R14 Net-_Q14-Pad2_ Net-_Q17-Pad2_ 1.0k
+R13 Net-_D1-Pad1_ Net-_Q14-Pad2_ 8.0k
+R15 Net-_Q17-Pad2_ Net-_D4-Pad2_ 1.6k
+Q17 Net-_Q14-Pad2_ Net-_Q17-Pad2_ Net-_D4-Pad2_ eSim_NPN
+R16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ 20k
+R7 Net-_D1-Pad1_ Net-_Q10-Pad1_ 14.7k
+R9 Net-_Q11-Pad3_ Net-_D4-Pad1_ 4.0k
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R10 Net-_D1-Pad1_ Net-_Q12-Pad2_ 2.0k
+Q19 Net-_D1-Pad1_ Net-_D4-Pad2_ Net-_Q18-Pad3_ eSim_NPN
+Q22 Net-_D1-Pad1_ Net-_Q22-Pad2_ Net-_Q21-Pad3_ eSim_NPN
+R21 Net-_D1-Pad1_ Net-_Q26-Pad1_ 4.5k
+R11 Net-_Q14-Pad1_ Net-_J1-Pad2_ 2.0k
+Q18 Net-_Q16-Pad1_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q20 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q21 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q23 Net-_C1-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q8 Net-_Q18-Pad2_ Net-_Q2-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+R5 Net-_Q8-Pad3_ Net-_J1-Pad2_ 1.1k
+Q15 Net-_C1-Pad2_ Net-_Q14-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R17 Net-_C1-Pad1_ Net-_Q16-Pad1_ 20k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+C2 Net-_C1-Pad2_ Net-_C2-Pad2_ 10pF
+Q24 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q25 Net-_C1-Pad2_ Net-_C2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R18 Net-_Q27-Pad1_ Net-_R18-Pad2_ 10k
+U1 Net-_C2-Pad2_ Net-_R18-Pad2_ zener
+Q26 Net-_Q26-Pad1_ Net-_C1-Pad2_ Net-_Q26-Pad3_ eSim_NPN
+R22 Net-_Q26-Pad3_ Net-_Q28-Pad3_ 10k
+R19 Net-_Q28-Pad3_ Net-_C2-Pad2_ 240
+R20 Net-_Q27-Pad3_ Net-_C2-Pad2_ 750
+Q27 Net-_Q27-Pad1_ Net-_Q26-Pad3_ Net-_Q27-Pad3_ eSim_NPN
+Q28 Net-_Q27-Pad1_ Net-_Q27-Pad3_ Net-_Q28-Pad3_ eSim_NPN
+R25 Net-_Q28-Pad3_ Net-_J1-Pad2_ 0.3
+R24 Net-_Q22-Pad2_ Net-_Q27-Pad1_ 1k
+R23 Net-_D1-Pad1_ Net-_Q22-Pad2_ 185
+U2 Net-_J1-Pad2_ Net-_Q27-Pad1_ Net-_D1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out
new file mode 100644
index 00000000..d8bdc37d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out
@@ -0,0 +1,80 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc7905_sub\mc7905_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+* u2 net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_ port
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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/MC7900_Sub/MC7905_Sub.pro b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch
new file mode 100644
index 00000000..5ff0891c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch
@@ -0,0 +1,1133 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:MC7905_Sub-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11040
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_Diode D1
+U 1 1 66717300
+P 2350 2600
+F 0 "D1" H 2350 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 2500 50 0000 C CNN
+F 2 "" H 2350 2600 60 0000 C CNN
+F 3 "" H 2350 2600 60 0000 C CNN
+ 1 2350 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 66717301
+P 2350 3100
+F 0 "D2" H 2350 3200 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3000 50 0000 C CNN
+F 2 "" H 2350 3100 60 0000 C CNN
+F 3 "" H 2350 3100 60 0000 C CNN
+ 1 2350 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 66717302
+P 2350 3600
+F 0 "D3" H 2350 3700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3500 50 0000 C CNN
+F 2 "" H 2350 3600 60 0000 C CNN
+F 3 "" H 2350 3600 60 0000 C CNN
+ 1 2350 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 66717303
+P 2950 4050
+F 0 "Q1" H 2850 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 4200 50 0000 R CNN
+F 2 "" H 3150 4150 29 0000 C CNN
+F 3 "" H 2950 4050 60 0000 C CNN
+ 1 2950 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 66717304
+P 3600 4050
+F 0 "Q3" H 3500 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 3550 4200 50 0000 R CNN
+F 2 "" H 3800 4150 29 0000 C CNN
+F 3 "" H 3600 4050 60 0000 C CNN
+ 1 3600 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66717305
+P 3200 3000
+F 0 "R1" H 3250 3130 50 0000 C CNN
+F 1 "3.6k" H 3250 2950 50 0000 C CNN
+F 2 "" H 3250 2980 30 0000 C CNN
+F 3 "" V 3250 3050 30 0000 C CNN
+ 1 3200 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 66717306
+P 2250 6150
+F 0 "J1" H 2150 6200 50 0000 R CNN
+F 1 "jfet_n" H 2200 6300 50 0000 R CNN
+F 2 "" H 2450 6250 29 0000 C CNN
+F 3 "" H 2250 6150 60 0000 C CNN
+ 1 2250 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66717307
+P 3800 5500
+F 0 "Q4" H 3700 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5650 50 0000 R CNN
+F 2 "" H 4000 5600 29 0000 C CNN
+F 3 "" H 3800 5500 60 0000 C CNN
+ 1 3800 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 66717308
+P 3400 6650
+F 0 "Q2" H 3300 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 6800 50 0000 R CNN
+F 2 "" H 3600 6750 29 0000 C CNN
+F 3 "" H 3400 6650 60 0000 C CNN
+ 1 3400 6650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66717309
+P 4000 6650
+F 0 "Q6" H 3900 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 6800 50 0000 R CNN
+F 2 "" H 4200 6750 29 0000 C CNN
+F 3 "" H 4000 6650 60 0000 C CNN
+ 1 4000 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6671730A
+P 4400 3450
+F 0 "Q7" H 4300 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 3600 50 0000 R CNN
+F 2 "" H 4600 3550 29 0000 C CNN
+F 3 "" H 4400 3450 60 0000 C CNN
+ 1 4400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 6671730B
+P 4000 2700
+F 0 "Q5" H 3900 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 2900 50 0000 R CNN
+F 2 "" H 4200 2800 29 0000 C CNN
+F 3 "" H 4000 2700 60 0000 C CNN
+ 1 4000 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 6671730C
+P 4450 2450
+F 0 "R3" H 4500 2580 50 0000 C CNN
+F 1 "2.4k" H 4500 2400 50 0000 C CNN
+F 2 "" H 4500 2430 30 0000 C CNN
+F 3 "" V 4500 2500 30 0000 C CNN
+ 1 4450 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 6671730D
+P 3850 3650
+F 0 "R2" H 3900 3780 50 0000 C CNN
+F 1 "1.2k" H 3900 3600 50 0000 C CNN
+F 2 "" H 3900 3630 30 0000 C CNN
+F 3 "" V 3900 3700 30 0000 C CNN
+ 1 3850 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 6671730E
+P 5100 3150
+F 0 "Q9" H 5000 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 5050 3300 50 0000 R CNN
+F 2 "" H 5300 3250 29 0000 C CNN
+F 3 "" H 5100 3150 60 0000 C CNN
+ 1 5100 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6671730F
+P 5650 3450
+F 0 "Q10" H 5550 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 5600 3600 50 0000 R CNN
+F 2 "" H 5850 3550 29 0000 C CNN
+F 3 "" H 5650 3450 60 0000 C CNN
+ 1 5650 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66717310
+P 4450 2900
+F 0 "R4" H 4500 3030 50 0000 C CNN
+F 1 "25" H 4500 2850 50 0000 C CNN
+F 2 "" H 4500 2880 30 0000 C CNN
+F 3 "" V 4500 2950 30 0000 C CNN
+ 1 4450 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66717311
+P 5150 3750
+F 0 "R6" H 5200 3880 50 0000 C CNN
+F 1 "12k" H 5200 3700 50 0000 C CNN
+F 2 "" H 5200 3730 30 0000 C CNN
+F 3 "" V 5200 3800 30 0000 C CNN
+ 1 5150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66717312
+P 6150 3000
+F 0 "Q11" H 6050 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 6100 3150 50 0000 R CNN
+F 2 "" H 6350 3100 29 0000 C CNN
+F 3 "" H 6150 3000 60 0000 C CNN
+ 1 6150 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 66717313
+P 6700 2550
+F 0 "Q12" H 6600 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 6650 2700 50 0000 R CNN
+F 2 "" H 6900 2650 29 0000 C CNN
+F 3 "" H 6700 2550 60 0000 C CNN
+ 1 6700 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 66717314
+P 7150 3300
+F 0 "Q13" H 7050 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 3450 50 0000 R CNN
+F 2 "" H 7350 3400 29 0000 C CNN
+F 3 "" H 7150 3300 60 0000 C CNN
+ 1 7150 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 66717315
+P 5700 3800
+F 0 "R8" H 5750 3930 50 0000 C CNN
+F 1 "1.0k" H 5750 3750 50 0000 C CNN
+F 2 "" H 5750 3780 30 0000 C CNN
+F 3 "" V 5750 3850 30 0000 C CNN
+ 1 5700 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 66717316
+P 7750 2800
+F 0 "Q14" H 7650 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 7700 2950 50 0000 R CNN
+F 2 "" H 7950 2900 29 0000 C CNN
+F 3 "" H 7750 2800 60 0000 C CNN
+ 1 7750 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 66717317
+P 8250 2450
+F 0 "R12" H 8300 2580 50 0000 C CNN
+F 1 "2.0k" H 8300 2400 50 0000 C CNN
+F 2 "" H 8300 2430 30 0000 C CNN
+F 3 "" V 8300 2500 30 0000 C CNN
+ 1 8250 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66717318
+P 8850 3000
+F 0 "R14" H 8900 3130 50 0000 C CNN
+F 1 "1.0k" H 8900 2950 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 resistor R13
+U 1 1 66717319
+P 8850 2450
+F 0 "R13" H 8900 2580 50 0000 C CNN
+F 1 "8.0k" H 8900 2400 50 0000 C CNN
+F 2 "" H 8900 2430 30 0000 C CNN
+F 3 "" V 8900 2500 30 0000 C CNN
+ 1 8850 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 6671731A
+P 8850 3700
+F 0 "R15" H 8900 3830 50 0000 C CNN
+F 1 "1.6k" H 8900 3650 50 0000 C CNN
+F 2 "" H 8900 3680 30 0000 C CNN
+F 3 "" V 8900 3750 30 0000 C CNN
+ 1 8850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 6671731B
+P 8400 3400
+F 0 "Q17" H 8300 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 3550 50 0000 R CNN
+F 2 "" H 8600 3500 29 0000 C CNN
+F 3 "" H 8400 3400 60 0000 C CNN
+ 1 8400 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 6671731C
+P 8950 7500
+F 0 "R16" H 9000 7630 50 0000 C CNN
+F 1 "20k" H 9000 7450 50 0000 C CNN
+F 2 "" H 9000 7480 30 0000 C CNN
+F 3 "" V 9000 7550 30 0000 C CNN
+ 1 8950 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 6671731D
+P 5700 2600
+F 0 "R7" H 5750 2730 50 0000 C CNN
+F 1 "14.7k" H 5750 2550 50 0000 C CNN
+F 2 "" H 5750 2580 30 0000 C CNN
+F 3 "" V 5750 2650 30 0000 C CNN
+ 1 5700 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 6671731E
+P 6200 3450
+F 0 "R9" H 6250 3580 50 0000 C CNN
+F 1 "4.0k" H 6250 3400 50 0000 C CNN
+F 2 "" H 6250 3430 30 0000 C CNN
+F 3 "" V 6250 3500 30 0000 C CNN
+ 1 6200 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 6671731F
+P 6250 3850
+F 0 "D4" H 6250 3950 50 0000 C CNN
+F 1 "eSim_Diode" H 6250 3750 50 0000 C CNN
+F 2 "" H 6250 3850 60 0000 C CNN
+F 3 "" H 6250 3850 60 0000 C CNN
+ 1 6250 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 66717320
+P 7200 2550
+F 0 "R10" H 7250 2680 50 0000 C CNN
+F 1 "2.0k" H 7250 2500 50 0000 C CNN
+F 2 "" H 7250 2530 30 0000 C CNN
+F 3 "" V 7250 2600 30 0000 C CNN
+ 1 7200 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 66717321
+P 9650 4050
+F 0 "Q19" H 9550 4100 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 4200 50 0000 R CNN
+F 2 "" H 9850 4150 29 0000 C CNN
+F 3 "" H 9650 4050 60 0000 C CNN
+ 1 9650 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 66717322
+P 11100 4100
+F 0 "Q22" H 11000 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 11050 4250 50 0000 R CNN
+F 2 "" H 11300 4200 29 0000 C CNN
+F 3 "" H 11100 4100 60 0000 C CNN
+ 1 11100 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 66717323
+P 14500 3000
+F 0 "R21" H 14550 3130 50 0000 C CNN
+F 1 "4.5k" H 14550 2950 50 0000 C CNN
+F 2 "" H 14550 2980 30 0000 C CNN
+F 3 "" V 14550 3050 30 0000 C CNN
+ 1 14500 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 66717324
+P 7600 7300
+F 0 "R11" H 7650 7430 50 0000 C CNN
+F 1 "2.0k" H 7650 7250 50 0000 C CNN
+F 2 "" H 7650 7280 30 0000 C CNN
+F 3 "" V 7650 7350 30 0000 C CNN
+ 1 7600 7300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 66717325
+P 9450 4700
+F 0 "Q18" H 9350 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 9400 4850 50 0000 R CNN
+F 2 "" H 9650 4800 29 0000 C CNN
+F 3 "" H 9450 4700 60 0000 C CNN
+ 1 9450 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 66717326
+P 10100 4700
+F 0 "Q20" H 10000 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10050 4850 50 0000 R CNN
+F 2 "" H 10300 4800 29 0000 C CNN
+F 3 "" H 10100 4700 60 0000 C CNN
+ 1 10100 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q21
+U 1 1 66717327
+P 10700 4700
+F 0 "Q21" H 10600 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10650 4850 50 0000 R CNN
+F 2 "" H 10900 4800 29 0000 C CNN
+F 3 "" H 10700 4700 60 0000 C CNN
+ 1 10700 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q23
+U 1 1 66717328
+P 11350 4700
+F 0 "Q23" H 11250 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 11300 4850 50 0000 R CNN
+F 2 "" H 11550 4800 29 0000 C CNN
+F 3 "" H 11350 4700 60 0000 C CNN
+ 1 11350 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 66717329
+P 4850 6650
+F 0 "Q8" H 4750 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 6800 50 0000 R CNN
+F 2 "" H 5050 6750 29 0000 C CNN
+F 3 "" H 4850 6650 60 0000 C CNN
+ 1 4850 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 6671732A
+P 4900 7400
+F 0 "R5" H 4950 7530 50 0000 C CNN
+F 1 "1.1k" H 4950 7350 50 0000 C CNN
+F 2 "" H 4950 7380 30 0000 C CNN
+F 3 "" V 4950 7450 30 0000 C CNN
+ 1 4900 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6671732B
+P 7950 7000
+F 0 "Q15" H 7850 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7150 50 0000 R CNN
+F 2 "" H 8150 7100 29 0000 C CNN
+F 3 "" H 7950 7000 60 0000 C CNN
+ 1 7950 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 6671732C
+P 8300 7550
+F 0 "Q16" H 8200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 7700 50 0000 R CNN
+F 2 "" H 8500 7650 29 0000 C CNN
+F 3 "" H 8300 7550 60 0000 C CNN
+ 1 8300 7550
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 6671732D
+P 9800 7500
+F 0 "R17" H 9850 7630 50 0000 C CNN
+F 1 "20k" H 9850 7450 50 0000 C CNN
+F 2 "" H 9850 7480 30 0000 C CNN
+F 3 "" V 9850 7550 30 0000 C CNN
+ 1 9800 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L capacitor_polarised C1
+U 1 1 6671732E
+P 11150 6450
+F 0 "C1" H 11175 6550 50 0000 L CNN
+F 1 "20pF" H 11175 6350 50 0000 L CNN
+F 2 "" H 11150 6450 50 0001 C CNN
+F 3 "" H 11150 6450 50 0001 C CNN
+ 1 11150 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L capacitor_polarised C2
+U 1 1 6671732F
+P 12900 6450
+F 0 "C2" H 12925 6550 50 0000 L CNN
+F 1 "10pF" H 12925 6350 50 0000 L CNN
+F 2 "" H 12900 6450 50 0001 C CNN
+F 3 "" H 12900 6450 50 0001 C CNN
+ 1 12900 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 66717330
+P 11800 7550
+F 0 "Q24" H 11700 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 11750 7700 50 0000 R CNN
+F 2 "" H 12000 7650 29 0000 C CNN
+F 3 "" H 11800 7550 60 0000 C CNN
+ 1 11800 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 66717331
+P 12300 7600
+F 0 "Q25" H 12200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 12250 7750 50 0000 R CNN
+F 2 "" H 12500 7700 29 0000 C CNN
+F 3 "" H 12300 7600 60 0000 C CNN
+ 1 12300 7600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 66717332
+P 13500 4800
+F 0 "R18" H 13550 4930 50 0000 C CNN
+F 1 "10k" H 13550 4750 50 0000 C CNN
+F 2 "" H 13550 4780 30 0000 C CNN
+F 3 "" V 13550 4850 30 0000 C CNN
+ 1 13500 4800
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66717333
+P 13550 5400
+F 0 "U1" H 13500 5300 60 0000 C CNN
+F 1 "zener" H 13550 5500 60 0000 C CNN
+F 2 "" H 13600 5400 60 0000 C CNN
+F 3 "" H 13600 5400 60 0000 C CNN
+ 1 13550 5400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q26
+U 1 1 66717334
+P 14150 5700
+F 0 "Q26" H 14050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 14100 5850 50 0000 R CNN
+F 2 "" H 14350 5800 29 0000 C CNN
+F 3 "" H 14150 5700 60 0000 C CNN
+ 1 14150 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 66717335
+P 14600 6900
+F 0 "R22" H 14650 7030 50 0000 C CNN
+F 1 "10k" H 14650 6850 50 0000 C CNN
+F 2 "" H 14650 6880 30 0000 C CNN
+F 3 "" V 14650 6950 30 0000 C CNN
+ 1 14600 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 66717336
+P 14250 7550
+F 0 "R19" H 14300 7680 50 0000 C CNN
+F 1 "240" H 14300 7500 50 0000 C CNN
+F 2 "" H 14300 7530 30 0000 C CNN
+F 3 "" V 14300 7600 30 0000 C CNN
+ 1 14250 7550
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 66717337
+P 14250 7900
+F 0 "R20" H 14300 8030 50 0000 C CNN
+F 1 "750" H 14300 7850 50 0000 C CNN
+F 2 "" H 14300 7880 30 0000 C CNN
+F 3 "" V 14300 7950 30 0000 C CNN
+ 1 14250 7900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 66717338
+P 15100 6000
+F 0 "Q27" H 15000 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 15050 6150 50 0000 R CNN
+F 2 "" H 15300 6100 29 0000 C CNN
+F 3 "" H 15100 6000 60 0000 C CNN
+ 1 15100 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 66717339
+P 15700 6350
+F 0 "Q28" H 15600 6400 50 0000 R CNN
+F 1 "eSim_NPN" H 15650 6500 50 0000 R CNN
+F 2 "" H 15900 6450 29 0000 C CNN
+F 3 "" H 15700 6350 60 0000 C CNN
+ 1 15700 6350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 6671733A
+P 15750 7900
+F 0 "R25" H 15800 8050 50 0000 C CNN
+F 1 "0.3" H 15800 7850 50 0000 C CNN
+F 2 "" H 15800 7880 30 0000 C CNN
+F 3 "" V 15800 7950 30 0000 C CNN
+ 1 15750 7900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 2350 2750 2350 2950
+Wire Wire Line
+ 2350 3250 2350 3450
+Wire Wire Line
+ 3050 3850 3050 3700
+Wire Wire Line
+ 3050 3700 3500 3700
+Wire Wire Line
+ 3500 3700 3500 3850
+Wire Wire Line
+ 3250 3200 3250 3700
+Connection ~ 3250 3700
+Wire Wire Line
+ 2350 2450 2350 2250
+Wire Wire Line
+ 3250 2900 3250 2250
+Connection ~ 3250 2250
+Wire Wire Line
+ 2350 3750 2350 5950
+Wire Wire Line
+ 3050 4250 3050 4450
+Wire Wire Line
+ 3050 4450 3500 4450
+Wire Wire Line
+ 3500 4450 3500 4250
+Wire Wire Line
+ 3300 4450 3300 6450
+Connection ~ 3300 4450
+Wire Wire Line
+ 4100 6450 4100 6250
+Wire Wire Line
+ 3800 6650 3600 6650
+Wire Wire Line
+ 4100 6250 3650 6250
+Wire Wire Line
+ 3650 6250 3650 6650
+Connection ~ 3650 6650
+Wire Wire Line
+ 3600 5500 3300 5500
+Connection ~ 3300 5500
+Connection ~ 3900 4050
+Wire Wire Line
+ 3900 2900 3900 3550
+Wire Wire Line
+ 4100 8250 4100 6850
+Wire Wire Line
+ 2350 6350 2350 8250
+Wire Wire Line
+ 15800 8250 1850 8250
+Wire Wire Line
+ 3300 6850 3300 8250
+Connection ~ 3300 8250
+Wire Wire Line
+ 3900 2500 3900 2250
+Connection ~ 3900 2250
+Wire Wire Line
+ 4500 2650 4500 2800
+Wire Wire Line
+ 4500 2250 4500 2350
+Wire Wire Line
+ 3900 3850 3900 5300
+Wire Wire Line
+ 4200 3450 3900 3450
+Connection ~ 3900 3450
+Wire Wire Line
+ 4500 3250 4500 3100
+Wire Wire Line
+ 4200 2700 4500 2700
+Connection ~ 4500 2700
+Wire Wire Line
+ 2050 6150 1850 6150
+Wire Wire Line
+ 1850 6150 1850 8250
+Connection ~ 2350 8250
+Wire Wire Line
+ 4500 3650 4500 4050
+Connection ~ 4500 4050
+Wire Wire Line
+ 4900 3150 4500 3150
+Connection ~ 4500 3150
+Wire Wire Line
+ 5200 2250 5200 2950
+Connection ~ 4500 2250
+Wire Wire Line
+ 5200 3650 5200 3350
+Wire Wire Line
+ 5200 3950 5200 4050
+Connection ~ 5200 4050
+Wire Wire Line
+ 2750 4050 2350 4050
+Connection ~ 2350 4050
+Connection ~ 5200 2250
+Wire Wire Line
+ 5750 2250 5750 2500
+Wire Wire Line
+ 5750 2800 5750 3250
+Wire Wire Line
+ 5750 3650 5750 3700
+Wire Wire Line
+ 5750 4000 5750 4050
+Connection ~ 5750 4050
+Wire Wire Line
+ 5950 3000 5750 3000
+Connection ~ 5750 3000
+Wire Wire Line
+ 6250 2250 6250 2800
+Connection ~ 5750 2250
+Wire Wire Line
+ 6250 3200 6250 3350
+Wire Wire Line
+ 6250 3700 6250 3650
+Wire Wire Line
+ 6250 4000 6250 4050
+Connection ~ 6250 4050
+Wire Wire Line
+ 6600 2250 6600 2350
+Connection ~ 6250 2250
+Wire Wire Line
+ 6600 2750 6600 4050
+Connection ~ 6600 4050
+Wire Wire Line
+ 7250 2250 7250 2450
+Connection ~ 6600 2250
+Wire Wire Line
+ 6900 2550 6950 2550
+Wire Wire Line
+ 7650 2250 7650 2600
+Connection ~ 7250 2250
+Wire Wire Line
+ 7650 3000 7650 7200
+Wire Wire Line
+ 8300 2250 8300 2350
+Connection ~ 7650 2250
+Wire Wire Line
+ 8300 2650 8300 3200
+Wire Wire Line
+ 8300 4050 8300 3600
+Wire Wire Line
+ 7950 2800 8900 2800
+Connection ~ 8300 2800
+Wire Wire Line
+ 8900 2250 8900 2350
+Connection ~ 8300 2250
+Wire Wire Line
+ 8900 2900 8900 2650
+Wire Wire Line
+ 8900 3600 8900 3200
+Wire Wire Line
+ 8600 3400 8900 3400
+Connection ~ 8900 3400
+Wire Wire Line
+ 8900 4050 8900 3900
+Connection ~ 8300 4050
+Wire Wire Line
+ 5450 3450 5200 3450
+Connection ~ 5200 3450
+Connection ~ 8900 2800
+Connection ~ 8900 4050
+Wire Wire Line
+ 3800 4050 9450 4050
+Wire Wire Line
+ 9750 2250 9750 3850
+Connection ~ 8900 2250
+Wire Wire Line
+ 11000 2250 11000 3900
+Connection ~ 9750 2250
+Wire Wire Line
+ 2350 2250 16150 2250
+Wire Wire Line
+ 9350 4500 9350 4300
+Wire Wire Line
+ 9350 4300 10000 4300
+Wire Wire Line
+ 10000 4300 10000 4500
+Wire Wire Line
+ 9750 4250 9750 4300
+Connection ~ 9750 4300
+Wire Wire Line
+ 10800 4500 10800 4400
+Wire Wire Line
+ 10800 4400 11450 4400
+Wire Wire Line
+ 11450 4400 11450 4500
+Wire Wire Line
+ 11000 4300 11000 4400
+Connection ~ 11000 4400
+Wire Wire Line
+ 10500 4700 10300 4700
+Wire Wire Line
+ 3650 6650 4650 6650
+Wire Wire Line
+ 4950 7300 4950 6850
+Wire Wire Line
+ 4950 8250 4950 7600
+Connection ~ 4100 8250
+Connection ~ 4950 8250
+Wire Wire Line
+ 7650 7500 7650 8250
+Connection ~ 7650 8250
+Wire Wire Line
+ 8200 7350 8200 4900
+Wire Wire Line
+ 8200 8250 8200 7750
+Wire Wire Line
+ 8750 7550 8500 7550
+Wire Wire Line
+ 9050 7550 9600 7550
+Wire Wire Line
+ 8050 7200 8050 8250
+Connection ~ 8050 8250
+Wire Wire Line
+ 7750 7000 7650 7000
+Connection ~ 7650 7000
+Wire Wire Line
+ 8050 6800 8050 5700
+Wire Wire Line
+ 10800 4900 10800 5100
+Wire Wire Line
+ 10800 5100 4950 5100
+Wire Wire Line
+ 4950 5100 4950 6450
+Wire Wire Line
+ 10000 4900 10000 5100
+Connection ~ 10000 5100
+Wire Wire Line
+ 10400 4700 10400 5100
+Connection ~ 10400 5100
+Connection ~ 10400 4700
+Wire Wire Line
+ 8200 4900 9050 4900
+Wire Wire Line
+ 9050 4900 9050 5000
+Wire Wire Line
+ 9050 5000 9350 5000
+Wire Wire Line
+ 9350 5000 9350 4900
+Wire Wire Line
+ 9100 7000 9100 7550
+Connection ~ 9100 7550
+Wire Wire Line
+ 11450 4900 11450 5050
+Wire Wire Line
+ 11450 5050 11900 5050
+Wire Wire Line
+ 11900 5050 11900 7350
+Connection ~ 11900 5700
+Connection ~ 11900 6450
+Wire Wire Line
+ 11000 6450 10350 6450
+Wire Wire Line
+ 10350 6450 10350 7550
+Connection ~ 10350 7550
+Wire Wire Line
+ 8050 5700 13950 5700
+Wire Wire Line
+ 11300 6450 11900 6450
+Wire Wire Line
+ 12200 7400 12200 5700
+Connection ~ 12200 5700
+Wire Wire Line
+ 12750 6450 12200 6450
+Connection ~ 12200 6450
+Wire Wire Line
+ 12500 7600 14050 7600
+Wire Wire Line
+ 13050 6450 13550 6450
+Connection ~ 13550 6450
+Wire Wire Line
+ 9100 7000 8200 7000
+Connection ~ 8200 7000
+Wire Wire Line
+ 11900 8250 11900 7750
+Connection ~ 8200 8250
+Wire Wire Line
+ 12200 8250 12200 7800
+Connection ~ 13550 7600
+Wire Wire Line
+ 14250 5500 14250 5350
+Wire Wire Line
+ 14250 5350 14550 5350
+Wire Wire Line
+ 14550 5350 14550 3200
+Wire Wire Line
+ 14250 5900 14250 6000
+Wire Wire Line
+ 14250 6000 14900 6000
+Wire Wire Line
+ 14650 6000 14650 6800
+Wire Wire Line
+ 14650 7100 14650 7600
+Wire Wire Line
+ 15800 7600 14350 7600
+Connection ~ 14650 6000
+Wire Wire Line
+ 15200 6200 15200 6350
+Wire Wire Line
+ 15200 6350 15500 6350
+Wire Wire Line
+ 15400 7950 15400 6350
+Connection ~ 15400 6350
+Wire Wire Line
+ 15200 5800 15200 5500
+Wire Wire Line
+ 15200 5500 15800 5500
+Connection ~ 15800 5500
+Wire Wire Line
+ 14050 7950 13550 7950
+Connection ~ 13550 7950
+Wire Wire Line
+ 13550 5100 13550 5000
+Wire Wire Line
+ 13550 4500 13550 4700
+Connection ~ 15800 4500
+Wire Wire Line
+ 14550 2250 14550 2900
+Connection ~ 11000 2250
+Wire Wire Line
+ 15800 4200 15800 6150
+Connection ~ 14550 2250
+Wire Wire Line
+ 15800 2250 15800 2950
+Wire Wire Line
+ 15800 3250 15800 3900
+Connection ~ 15400 7950
+Wire Wire Line
+ 6950 3300 6250 3300
+Connection ~ 6250 3300
+Wire Wire Line
+ 7250 3100 7250 2750
+Wire Wire Line
+ 6950 2550 6950 2850
+Wire Wire Line
+ 6950 2850 7250 2850
+Connection ~ 7250 2850
+Wire Wire Line
+ 7250 3500 7250 4050
+Connection ~ 7250 4050
+Wire Wire Line
+ 3900 5700 3900 6250
+Connection ~ 3900 6250
+Wire Wire Line
+ 9650 4700 11150 4700
+Wire Wire Line
+ 9900 7550 11600 7550
+Connection ~ 12200 8250
+Connection ~ 11900 8250
+Connection ~ 14650 7600
+Wire Wire Line
+ 13550 7950 13550 5600
+Wire Wire Line
+ 14350 7950 15400 7950
+Wire Wire Line
+ 15800 6550 15800 7800
+Connection ~ 15800 7600
+Wire Wire Line
+ 15800 8100 15800 8500
+Connection ~ 15800 8250
+Wire Wire Line
+ 16150 2250 16150 2500
+Connection ~ 15800 2250
+$Comp
+L resistor R24
+U 1 1 66717340
+P 15750 4000
+F 0 "R24" H 15800 4130 50 0000 C CNN
+F 1 "1k" H 15800 3950 50 0000 C CNN
+F 2 "" H 15800 3980 30 0000 C CNN
+F 3 "" V 15800 4050 30 0000 C CNN
+ 1 15750 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 66717341
+P 15750 3050
+F 0 "R23" H 15800 3180 50 0000 C CNN
+F 1 "185" H 15800 3000 50 0000 C CNN
+F 2 "" H 15800 3030 30 0000 C CNN
+F 3 "" V 15800 3100 30 0000 C CNN
+ 1 15750 3050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 11300 4100 15400 4100
+Wire Wire Line
+ 15400 4100 15400 3650
+Wire Wire Line
+ 15400 3650 15800 3650
+Connection ~ 15800 3650
+Wire Wire Line
+ 13550 4500 16250 4500
+$Comp
+L PORT U2
+U 3 1 6671790A
+P 16600 2500
+F 0 "U2" H 16650 2600 30 0000 C CNN
+F 1 "PORT" H 16600 2500 30 0000 C CNN
+F 2 "" H 16600 2500 60 0000 C CNN
+F 3 "" H 16600 2500 60 0000 C CNN
+ 3 16600 2500
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 16150 2500 16350 2500
+$Comp
+L PORT U2
+U 2 1 66717DCD
+P 16500 4500
+F 0 "U2" H 16550 4600 30 0000 C CNN
+F 1 "PORT" H 16500 4500 30 0000 C CNN
+F 2 "" H 16500 4500 60 0000 C CNN
+F 3 "" H 16500 4500 60 0000 C CNN
+ 2 16500 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 1 1 66718145
+P 15800 8750
+F 0 "U2" H 15850 8850 30 0000 C CNN
+F 1 "PORT" H 15800 8750 30 0000 C CNN
+F 2 "" H 15800 8750 60 0000 C CNN
+F 3 "" H 15800 8750 60 0000 C CNN
+ 1 15800 8750
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub
new file mode 100644
index 00000000..17d07b4f
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub
@@ -0,0 +1,74 @@
+* Subcircuit MC7905_Sub
+.subckt MC7905_Sub net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc7905_sub\mc7905_sub.cir
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 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 MC7905_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml
new file mode 100644
index 00000000..b15c7c6c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 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></u1></model><devicemodel><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q21><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q23><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q26><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q28></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/MC7900_Sub/NJF.lib b/library/SubcircuitLibrary/MC7900_Sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/MC7900_Sub/NPN.lib b/library/SubcircuitLibrary/MC7900_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/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/MC7900_Sub/PNP.lib b/library/SubcircuitLibrary/MC7900_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/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/MC7900_Sub/analysis b/library/SubcircuitLibrary/MC7900_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/UA777_sub/NPN.lib b/library/SubcircuitLibrary/UA777_sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/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/UA777_sub/PNP.lib b/library/SubcircuitLibrary/UA777_sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/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/UA777_sub/UA777_Sub-cache.lib b/library/SubcircuitLibrary/UA777_sub/UA777_Sub-cache.lib
new file mode 100644
index 00000000..f970ce61
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub-cache.lib
@@ -0,0 +1,102 @@
+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_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/UA777_sub/UA777_Sub.cir b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir
new file mode 100644
index 00000000..68168c63
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir
@@ -0,0 +1,51 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\UA777_Sub\UA777_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/07/24 22:52:52
+
+* 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: /
+Q2 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q3 Net-_Q3-Pad1_ Net-_Q10-Pad1_ Net-_Q1-Pad3_ eSim_PNP
+Q6 Net-_Q6-Pad1_ Net-_Q10-Pad1_ Net-_Q6-Pad3_ eSim_PNP
+Q8 Net-_Q1-Pad1_ Net-_Q8-Pad2_ Net-_Q6-Pad3_ eSim_NPN
+Q5 Net-_Q12-Pad3_ Net-_Q3-Pad1_ Net-_Q4-Pad2_ eSim_NPN
+Q4 Net-_Q3-Pad1_ Net-_Q4-Pad2_ Net-_Q4-Pad3_ eSim_NPN
+Q7 Net-_Q6-Pad1_ Net-_Q4-Pad2_ Net-_Q7-Pad3_ eSim_NPN
+R2 Net-_Q4-Pad3_ Net-_Q11-Pad3_ 1k
+R3 Net-_Q4-Pad2_ Net-_Q11-Pad3_ 50k
+R4 Net-_Q7-Pad3_ Net-_Q11-Pad3_ 1k
+Q9 Net-_Q10-Pad1_ Net-_Q1-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+R5 Net-_Q13-Pad1_ Net-_Q6-Pad1_ 300
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R6 Net-_Q10-Pad3_ Net-_Q11-Pad3_ 10k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+R7 Net-_Q10-Pad2_ Net-_Q12-Pad1_ 40k
+Q11 Net-_Q10-Pad2_ Net-_Q10-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+Q15 Net-_Q15-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+Q17 Net-_Q17-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+Q14 Net-_Q12-Pad3_ Net-_Q13-Pad1_ Net-_Q14-Pad3_ eSim_NPN
+Q16 Net-_Q15-Pad1_ Net-_Q14-Pad3_ Net-_Q16-Pad3_ eSim_NPN
+R10 Net-_Q11-Pad3_ Net-_Q16-Pad3_ 100
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R9 Net-_Q11-Pad3_ Net-_Q14-Pad3_ 50k
+Q25 Net-_Q12-Pad3_ Net-_Q17-Pad1_ Net-_Q23-Pad2_ eSim_NPN
+Q23 Net-_Q17-Pad1_ Net-_Q23-Pad2_ Net-_Q23-Pad3_ eSim_NPN
+Q19 Net-_Q17-Pad1_ Net-_Q17-Pad1_ Net-_Q19-Pad3_ eSim_NPN
+Q21 Net-_Q17-Pad1_ Net-_Q19-Pad3_ Net-_Q21-Pad3_ eSim_NPN
+R11 Net-_Q19-Pad3_ Net-_Q21-Pad3_ 50k
+Q22 Net-_Q11-Pad3_ Net-_Q15-Pad1_ Net-_Q21-Pad3_ eSim_PNP
+Q20 Net-_Q11-Pad3_ Net-_Q15-Pad1_ Net-_Q13-Pad1_ eSim_PNP
+Q18 Net-_Q13-Pad2_ Net-_Q13-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+Q24 Net-_Q13-Pad2_ Net-_Q24-Pad2_ Net-_Q23-Pad3_ eSim_PNP
+Q26 Net-_Q11-Pad3_ Net-_Q21-Pad3_ Net-_Q24-Pad2_ eSim_PNP
+R12 Net-_Q11-Pad3_ Net-_Q13-Pad2_ 50k
+R13 Net-_Q23-Pad2_ Net-_Q23-Pad3_ 27
+R14 Net-_Q23-Pad3_ Net-_Q24-Pad2_ 22
+R1 Net-_Q8-Pad2_ Net-_R1-Pad2_ 1k
+R8 Net-_Q8-Pad2_ Net-_Q23-Pad3_ 4k
+U1 Net-_Q6-Pad1_ Net-_R1-Pad2_ Net-_Q1-Pad2_ Net-_Q11-Pad3_ Net-_Q3-Pad1_ Net-_Q23-Pad3_ Net-_Q12-Pad3_ Net-_Q15-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir.out b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir.out
new file mode 100644
index 00000000..f801379c
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.cir.out
@@ -0,0 +1,54 @@
+* c:\fossee\esim\library\subcircuitlibrary\ua777_sub\ua777_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+q2 net-_q1-pad1_ net-_q1-pad1_ net-_q12-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q10-pad1_ net-_q1-pad3_ Q2N2907A
+q6 net-_q6-pad1_ net-_q10-pad1_ net-_q6-pad3_ Q2N2907A
+q8 net-_q1-pad1_ net-_q8-pad2_ net-_q6-pad3_ Q2N2222
+q5 net-_q12-pad3_ net-_q3-pad1_ net-_q4-pad2_ Q2N2222
+q4 net-_q3-pad1_ net-_q4-pad2_ net-_q4-pad3_ Q2N2222
+q7 net-_q6-pad1_ net-_q4-pad2_ net-_q7-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q11-pad3_ 1k
+r3 net-_q4-pad2_ net-_q11-pad3_ 50k
+r4 net-_q7-pad3_ net-_q11-pad3_ 1k
+q9 net-_q10-pad1_ net-_q1-pad1_ net-_q12-pad3_ Q2N2907A
+r5 net-_q13-pad1_ net-_q6-pad1_ 300
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad3_ net-_q11-pad3_ 10k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+r7 net-_q10-pad2_ net-_q12-pad1_ 40k
+q11 net-_q10-pad2_ net-_q10-pad2_ net-_q11-pad3_ Q2N2222
+q15 net-_q15-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+q17 net-_q17-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+q14 net-_q12-pad3_ net-_q13-pad1_ net-_q14-pad3_ Q2N2222
+q16 net-_q15-pad1_ net-_q14-pad3_ net-_q16-pad3_ Q2N2222
+r10 net-_q11-pad3_ net-_q16-pad3_ 100
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q11-pad3_ Q2N2222
+r9 net-_q11-pad3_ net-_q14-pad3_ 50k
+q25 net-_q12-pad3_ net-_q17-pad1_ net-_q23-pad2_ Q2N2222
+q23 net-_q17-pad1_ net-_q23-pad2_ net-_q23-pad3_ Q2N2222
+q19 net-_q17-pad1_ net-_q17-pad1_ net-_q19-pad3_ Q2N2222
+q21 net-_q17-pad1_ net-_q19-pad3_ net-_q21-pad3_ Q2N2222
+r11 net-_q19-pad3_ net-_q21-pad3_ 50k
+q22 net-_q11-pad3_ net-_q15-pad1_ net-_q21-pad3_ Q2N2907A
+q20 net-_q11-pad3_ net-_q15-pad1_ net-_q13-pad1_ Q2N2907A
+q18 net-_q13-pad2_ net-_q13-pad2_ net-_q11-pad3_ Q2N2222
+q24 net-_q13-pad2_ net-_q24-pad2_ net-_q23-pad3_ Q2N2907A
+q26 net-_q11-pad3_ net-_q21-pad3_ net-_q24-pad2_ Q2N2907A
+r12 net-_q11-pad3_ net-_q13-pad2_ 50k
+r13 net-_q23-pad2_ net-_q23-pad3_ 27
+r14 net-_q23-pad3_ net-_q24-pad2_ 22
+r1 net-_q8-pad2_ net-_r1-pad2_ 1k
+r8 net-_q8-pad2_ net-_q23-pad3_ 4k
+* u1 net-_q6-pad1_ net-_r1-pad2_ net-_q1-pad2_ net-_q11-pad3_ net-_q3-pad1_ net-_q23-pad3_ net-_q12-pad3_ net-_q15-pad1_ port
+.tran 0.01e-00 0.1e-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/UA777_sub/UA777_Sub.pro b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sch b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sch
new file mode 100644
index 00000000..d1f4d7d3
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sch
@@ -0,0 +1,936 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:UA777_Sub-cache
+LIBS:UA777-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17000 11827
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_PNP Q2
+U 1 1 668B8CF5
+P 3100 2750
+F 0 "Q2" H 3000 2800 50 0000 R CNN
+F 1 "eSim_PNP" H 3050 2900 50 0000 R CNN
+F 2 "" H 3300 2850 29 0000 C CNN
+F 3 "" H 3100 2750 60 0000 C CNN
+ 1 3100 2750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 668B8CF6
+P 2900 3500
+F 0 "Q1" H 2800 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 2850 3650 50 0000 R CNN
+F 2 "" H 3100 3600 29 0000 C CNN
+F 3 "" H 2900 3500 60 0000 C CNN
+ 1 2900 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 668B8CF7
+P 3300 4250
+F 0 "Q3" H 3200 4300 50 0000 R CNN
+F 1 "eSim_PNP" H 3250 4400 50 0000 R CNN
+F 2 "" H 3500 4350 29 0000 C CNN
+F 3 "" H 3300 4250 60 0000 C CNN
+ 1 3300 4250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 668B8CF8
+P 4350 4250
+F 0 "Q6" H 4250 4300 50 0000 R CNN
+F 1 "eSim_PNP" H 4300 4400 50 0000 R CNN
+F 2 "" H 4550 4350 29 0000 C CNN
+F 3 "" H 4350 4250 60 0000 C CNN
+ 1 4350 4250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 668B8CF9
+P 4550 3500
+F 0 "Q8" H 4450 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 4500 3650 50 0000 R CNN
+F 2 "" H 4750 3600 29 0000 C CNN
+F 3 "" H 4550 3500 60 0000 C CNN
+ 1 4550 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 668B8CFA
+P 3450 5150
+F 0 "Q5" H 3350 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 3400 5300 50 0000 R CNN
+F 2 "" H 3650 5250 29 0000 C CNN
+F 3 "" H 3450 5150 60 0000 C CNN
+ 1 3450 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 668B8CFB
+P 3300 6000
+F 0 "Q4" H 3200 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 3250 6150 50 0000 R CNN
+F 2 "" H 3500 6100 29 0000 C CNN
+F 3 "" H 3300 6000 60 0000 C CNN
+ 1 3300 6000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 668B8CFC
+P 4400 6000
+F 0 "Q7" H 4300 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 6150 50 0000 R CNN
+F 2 "" H 4600 6100 29 0000 C CNN
+F 3 "" H 4400 6000 60 0000 C CNN
+ 1 4400 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 668B8CFD
+P 3150 6850
+F 0 "R2" H 3200 6980 50 0000 C CNN
+F 1 "1k" H 3200 6800 50 0000 C CNN
+F 2 "" H 3200 6830 30 0000 C CNN
+F 3 "" V 3200 6900 30 0000 C CNN
+ 1 3150 6850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 668B8CFE
+P 4000 6800
+F 0 "R3" H 4050 6930 50 0000 C CNN
+F 1 "50k" H 4050 6750 50 0000 C CNN
+F 2 "" H 4050 6780 30 0000 C CNN
+F 3 "" V 4050 6850 30 0000 C CNN
+ 1 4000 6800
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 668B8CFF
+P 4450 6800
+F 0 "R4" H 4500 6930 50 0000 C CNN
+F 1 "1k" H 4500 6750 50 0000 C CNN
+F 2 "" H 4500 6780 30 0000 C CNN
+F 3 "" V 4500 6850 30 0000 C CNN
+ 1 4450 6800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 668B8D00
+P 5600 2750
+F 0 "Q9" H 5500 2800 50 0000 R CNN
+F 1 "eSim_PNP" H 5550 2900 50 0000 R CNN
+F 2 "" H 5800 2850 29 0000 C CNN
+F 3 "" H 5600 2750 60 0000 C CNN
+ 1 5600 2750
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 668B8D01
+P 5250 5550
+F 0 "R5" H 5300 5680 50 0000 C CNN
+F 1 "300" H 5300 5500 50 0000 C CNN
+F 2 "" H 5300 5530 30 0000 C CNN
+F 3 "" V 5300 5600 30 0000 C CNN
+ 1 5250 5550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 668B8D02
+P 5800 6400
+F 0 "Q10" H 5700 6450 50 0000 R CNN
+F 1 "eSim_NPN" H 5750 6550 50 0000 R CNN
+F 2 "" H 6000 6500 29 0000 C CNN
+F 3 "" H 5800 6400 60 0000 C CNN
+ 1 5800 6400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 668B8D03
+P 5650 6900
+F 0 "R6" H 5700 7030 50 0000 C CNN
+F 1 "10k" H 5700 6850 50 0000 C CNN
+F 2 "" H 5700 6880 30 0000 C CNN
+F 3 "" V 5700 6950 30 0000 C CNN
+ 1 5650 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 668B8D04
+P 7050 2700
+F 0 "Q12" H 6950 2750 50 0000 R CNN
+F 1 "eSim_PNP" H 7000 2850 50 0000 R CNN
+F 2 "" H 7250 2800 29 0000 C CNN
+F 3 "" H 7050 2700 60 0000 C CNN
+ 1 7050 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 668B8D05
+P 7000 4650
+F 0 "R7" H 7050 4780 50 0000 C CNN
+F 1 "40k" H 7050 4600 50 0000 C CNN
+F 2 "" H 7050 4630 30 0000 C CNN
+F 3 "" V 7050 4700 30 0000 C CNN
+ 1 7000 4650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 668B8D06
+P 6750 6400
+F 0 "Q11" H 6650 6450 50 0000 R CNN
+F 1 "eSim_NPN" H 6700 6550 50 0000 R CNN
+F 2 "" H 6950 6500 29 0000 C CNN
+F 3 "" H 6750 6400 60 0000 C CNN
+ 1 6750 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q15
+U 1 1 668B8D07
+P 8700 2700
+F 0 "Q15" H 8600 2750 50 0000 R CNN
+F 1 "eSim_PNP" H 8650 2850 50 0000 R CNN
+F 2 "" H 8900 2800 29 0000 C CNN
+F 3 "" H 8700 2700 60 0000 C CNN
+ 1 8700 2700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q17
+U 1 1 668B8D08
+P 9300 2700
+F 0 "Q17" H 9200 2750 50 0000 R CNN
+F 1 "eSim_PNP" H 9250 2850 50 0000 R CNN
+F 2 "" H 9500 2800 29 0000 C CNN
+F 3 "" H 9300 2700 60 0000 C CNN
+ 1 9300 2700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 668B8D09
+P 8300 5850
+F 0 "Q14" H 8200 5900 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 6000 50 0000 R CNN
+F 2 "" H 8500 5950 29 0000 C CNN
+F 3 "" H 8300 5850 60 0000 C CNN
+ 1 8300 5850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 668B8D0A
+P 8700 6250
+F 0 "Q16" H 8600 6300 50 0000 R CNN
+F 1 "eSim_NPN" H 8650 6400 50 0000 R CNN
+F 2 "" H 8900 6350 29 0000 C CNN
+F 3 "" H 8700 6250 60 0000 C CNN
+ 1 8700 6250
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 668B8D0B
+P 8850 6900
+F 0 "R10" H 8900 7030 50 0000 C CNN
+F 1 "100" H 8900 6850 50 0000 C CNN
+F 2 "" H 8900 6880 30 0000 C CNN
+F 3 "" V 8900 6950 30 0000 C CNN
+ 1 8850 6900
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 668B8D0C
+P 7600 6400
+F 0 "Q13" H 7500 6450 50 0000 R CNN
+F 1 "eSim_NPN" H 7550 6550 50 0000 R CNN
+F 2 "" H 7800 6500 29 0000 C CNN
+F 3 "" H 7600 6400 60 0000 C CNN
+ 1 7600 6400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 668B8D0D
+P 8450 6950
+F 0 "R9" H 8500 7080 50 0000 C CNN
+F 1 "50k" H 8500 6900 50 0000 C CNN
+F 2 "" H 8500 6930 30 0000 C CNN
+F 3 "" V 8500 7000 30 0000 C CNN
+ 1 8450 6950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 668B8D0E
+P 12250 3250
+F 0 "Q25" H 12150 3300 50 0000 R CNN
+F 1 "eSim_NPN" H 12200 3400 50 0000 R CNN
+F 2 "" H 12450 3350 29 0000 C CNN
+F 3 "" H 12250 3250 60 0000 C CNN
+ 1 12250 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 668B8D0F
+P 12150 3950
+F 0 "Q23" H 12050 4000 50 0000 R CNN
+F 1 "eSim_NPN" H 12100 4100 50 0000 R CNN
+F 2 "" H 12350 4050 29 0000 C CNN
+F 3 "" H 12150 3950 60 0000 C CNN
+ 1 12150 3950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 668B8D10
+P 10350 4050
+F 0 "Q19" H 10250 4100 50 0000 R CNN
+F 1 "eSim_NPN" H 10300 4200 50 0000 R CNN
+F 2 "" H 10550 4150 29 0000 C CNN
+F 3 "" H 10350 4050 60 0000 C CNN
+ 1 10350 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 668B8D11
+P 11000 4700
+F 0 "Q21" H 10900 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 10950 4850 50 0000 R CNN
+F 2 "" H 11200 4800 29 0000 C CNN
+F 3 "" H 11000 4700 60 0000 C CNN
+ 1 11000 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 668B8D12
+P 10650 5200
+F 0 "R11" H 10700 5330 50 0000 C CNN
+F 1 "50k" H 10700 5150 50 0000 C CNN
+F 2 "" H 10700 5180 30 0000 C CNN
+F 3 "" V 10700 5250 30 0000 C CNN
+ 1 10650 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 668B8D13
+P 11000 5900
+F 0 "Q22" H 10900 5950 50 0000 R CNN
+F 1 "eSim_PNP" H 10950 6050 50 0000 R CNN
+F 2 "" H 11200 6000 29 0000 C CNN
+F 3 "" H 11000 5900 60 0000 C CNN
+ 1 11000 5900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 668B8D14
+P 10400 5900
+F 0 "Q20" H 10300 5950 50 0000 R CNN
+F 1 "eSim_PNP" H 10350 6050 50 0000 R CNN
+F 2 "" H 10600 6000 29 0000 C CNN
+F 3 "" H 10400 5900 60 0000 C CNN
+ 1 10400 5900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 668B8D15
+P 9400 7000
+F 0 "Q18" H 9300 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 9350 7150 50 0000 R CNN
+F 2 "" H 9600 7100 29 0000 C CNN
+F 3 "" H 9400 7000 60 0000 C CNN
+ 1 9400 7000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 668B8D16
+P 12150 5550
+F 0 "Q24" H 12050 5600 50 0000 R CNN
+F 1 "eSim_PNP" H 12100 5700 50 0000 R CNN
+F 2 "" H 12350 5650 29 0000 C CNN
+F 3 "" H 12150 5550 60 0000 C CNN
+ 1 12150 5550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 668B8D17
+P 12750 5850
+F 0 "Q26" H 12650 5900 50 0000 R CNN
+F 1 "eSim_PNP" H 12700 6000 50 0000 R CNN
+F 2 "" H 12950 5950 29 0000 C CNN
+F 3 "" H 12750 5850 60 0000 C CNN
+ 1 12750 5850
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 5000 3500 4750 3500
+Wire Wire Line
+ 3300 2750 5400 2750
+Wire Wire Line
+ 3000 2950 3000 3300
+Wire Wire Line
+ 3000 3700 3000 4050
+Wire Wire Line
+ 3000 4050 3200 4050
+Wire Wire Line
+ 3500 4250 4150 4250
+Wire Wire Line
+ 4450 3700 4450 4050
+Wire Wire Line
+ 4450 2750 4450 3300
+Connection ~ 4450 2750
+Wire Wire Line
+ 3000 3100 4450 3100
+Connection ~ 4450 3100
+Connection ~ 3000 3100
+Wire Wire Line
+ 3200 4450 3200 5800
+Wire Wire Line
+ 3250 5150 3200 5150
+Connection ~ 3200 5150
+Wire Wire Line
+ 3500 6000 4200 6000
+Wire Wire Line
+ 3550 5350 3550 5550
+Wire Wire Line
+ 3550 5550 3800 5550
+Wire Wire Line
+ 3800 5550 3800 6000
+Connection ~ 3800 6000
+Wire Wire Line
+ 3200 6200 3200 6750
+Wire Wire Line
+ 4050 6700 4050 6000
+Connection ~ 4050 6000
+Wire Wire Line
+ 4500 6700 4500 6200
+Wire Wire Line
+ 3200 7050 3200 7300
+Wire Wire Line
+ 3200 7300 13600 7300
+Wire Wire Line
+ 4500 7300 4500 7000
+Wire Wire Line
+ 4050 7000 4050 7300
+Connection ~ 4050 7300
+Wire Wire Line
+ 4450 4450 4450 5800
+Wire Wire Line
+ 4450 5800 4500 5800
+Wire Wire Line
+ 3750 4250 3750 4650
+Connection ~ 3750 4250
+Wire Wire Line
+ 3000 2550 3000 2100
+Wire Wire Line
+ 3000 2100 13200 2100
+Wire Wire Line
+ 5700 2550 5700 2100
+Connection ~ 5700 2100
+Wire Wire Line
+ 5050 5600 4450 5600
+Connection ~ 4450 5600
+Wire Wire Line
+ 5700 7300 5700 7100
+Connection ~ 4500 7300
+Wire Wire Line
+ 5700 6800 5700 6600
+Wire Wire Line
+ 5700 2950 5700 6200
+Wire Wire Line
+ 6950 2500 6950 2100
+Connection ~ 6950 2100
+Wire Wire Line
+ 3750 4650 5700 4650
+Connection ~ 5700 4650
+Wire Wire Line
+ 6950 2900 6950 4450
+Wire Wire Line
+ 6950 4750 6950 6200
+Wire Wire Line
+ 6950 6200 6850 6200
+Wire Wire Line
+ 6850 7300 6850 6600
+Connection ~ 5700 7300
+Wire Wire Line
+ 6000 6400 6550 6400
+Wire Wire Line
+ 6300 6400 6300 5800
+Wire Wire Line
+ 6300 5800 6950 5800
+Connection ~ 6950 5800
+Connection ~ 6300 6400
+Wire Wire Line
+ 6950 3350 7700 3350
+Wire Wire Line
+ 7700 3350 7700 2700
+Connection ~ 7700 2700
+Connection ~ 6950 3350
+Wire Wire Line
+ 8800 2500 8800 2350
+Wire Wire Line
+ 8800 2350 9400 2350
+Wire Wire Line
+ 9400 2350 9400 2500
+Wire Wire Line
+ 9000 2100 9000 2350
+Connection ~ 9000 2350
+Wire Wire Line
+ 8800 2900 8800 6050
+Wire Wire Line
+ 9400 3250 12050 3250
+Wire Wire Line
+ 8400 2100 8400 5650
+Connection ~ 8400 2100
+Wire Wire Line
+ 7500 6200 7500 5600
+Connection ~ 7500 5600
+Wire Wire Line
+ 7500 7300 7500 6600
+Connection ~ 6850 7300
+Wire Wire Line
+ 8400 6050 8400 6750
+Wire Wire Line
+ 8400 6250 8500 6250
+Connection ~ 8400 6250
+Wire Wire Line
+ 8800 6700 8800 6450
+Wire Wire Line
+ 8400 7300 8400 7050
+Connection ~ 7500 7300
+Wire Wire Line
+ 8800 7300 8800 7000
+Connection ~ 8400 7300
+Wire Wire Line
+ 7800 6400 8150 6400
+Wire Wire Line
+ 8150 6400 8150 6550
+Wire Wire Line
+ 12050 3750 12050 3650
+Wire Wire Line
+ 12050 3650 11850 3650
+Wire Wire Line
+ 11850 3650 11850 3250
+Connection ~ 11850 3250
+Wire Wire Line
+ 12050 4150 12050 5350
+Wire Wire Line
+ 12350 3450 12800 3450
+Wire Wire Line
+ 12350 3950 12800 3950
+Connection ~ 12800 3950
+Wire Wire Line
+ 9400 2900 9400 3250
+Wire Wire Line
+ 12350 2100 12350 3050
+Connection ~ 9000 2100
+Wire Wire Line
+ 11100 3250 11100 4500
+Connection ~ 11100 3250
+Wire Wire Line
+ 10450 3850 10450 3700
+Wire Wire Line
+ 10450 3700 11100 3700
+Connection ~ 11100 3700
+Wire Wire Line
+ 10150 4050 9850 4050
+Wire Wire Line
+ 9850 4050 9850 3450
+Wire Wire Line
+ 9850 3450 11100 3450
+Connection ~ 11100 3450
+Wire Wire Line
+ 10800 4700 10450 4700
+Wire Wire Line
+ 10450 4250 10450 5150
+Wire Wire Line
+ 10450 5150 10550 5150
+Connection ~ 10450 4700
+Wire Wire Line
+ 10850 5150 11100 5150
+Wire Wire Line
+ 11100 4900 11100 5700
+Connection ~ 11100 5150
+Wire Wire Line
+ 10500 5400 10500 5700
+Wire Wire Line
+ 10200 5900 10050 5900
+Wire Wire Line
+ 10050 5900 10050 6300
+Wire Wire Line
+ 10050 6300 10700 6300
+Wire Wire Line
+ 10700 6300 10700 5900
+Wire Wire Line
+ 10700 5900 10800 5900
+Wire Wire Line
+ 10400 6300 10400 6400
+Wire Wire Line
+ 10400 6400 9400 6400
+Wire Wire Line
+ 9400 6400 9400 5900
+Wire Wire Line
+ 9400 5900 8800 5900
+Connection ~ 8800 5900
+Connection ~ 10400 6300
+Wire Wire Line
+ 10500 6100 10500 6400
+Wire Wire Line
+ 10500 6400 11100 6400
+Wire Wire Line
+ 11100 6400 11100 6100
+Wire Wire Line
+ 10900 7300 10900 6400
+Connection ~ 8800 7300
+Connection ~ 10900 6400
+Wire Wire Line
+ 9600 7000 10000 7000
+Wire Wire Line
+ 10000 7000 10000 6550
+Connection ~ 10000 6550
+Wire Wire Line
+ 9300 6550 9300 6800
+Connection ~ 9300 6550
+Wire Wire Line
+ 9300 7200 9300 7300
+Connection ~ 9300 7300
+Wire Wire Line
+ 12800 5650 12850 5650
+Wire Wire Line
+ 11100 5400 11550 5400
+Wire Wire Line
+ 11550 5400 11550 6000
+Wire Wire Line
+ 11550 6000 12250 6000
+Wire Wire Line
+ 12250 6000 12250 5850
+Wire Wire Line
+ 12250 5850 12550 5850
+Connection ~ 11100 5400
+Wire Wire Line
+ 12350 5550 12800 5550
+Connection ~ 12800 5550
+$Comp
+L resistor R12
+U 1 1 668B8D18
+P 12050 7000
+F 0 "R12" H 12100 7130 50 0000 C CNN
+F 1 "50k" H 12100 6950 50 0000 C CNN
+F 2 "" H 12100 6980 30 0000 C CNN
+F 3 "" V 12100 7050 30 0000 C CNN
+ 1 12050 7000
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 12050 5750 12050 6800
+Wire Wire Line
+ 12050 6800 12000 6800
+Wire Wire Line
+ 12000 7300 12000 7100
+Connection ~ 10900 7300
+Wire Wire Line
+ 12850 7300 12850 6050
+Connection ~ 12000 7300
+Wire Wire Line
+ 8150 6550 12050 6550
+Connection ~ 12050 6550
+$Comp
+L resistor R13
+U 1 1 668B8D19
+P 12750 4250
+F 0 "R13" H 12800 4380 50 0000 C CNN
+F 1 "27" H 12800 4200 50 0000 C CNN
+F 2 "" H 12800 4230 30 0000 C CNN
+F 3 "" V 12800 4300 30 0000 C CNN
+ 1 12750 4250
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 12800 3450 12800 4150
+Wire Wire Line
+ 12800 4450 12800 5000
+Wire Wire Line
+ 12800 4550 12050 4550
+Connection ~ 12050 4550
+$Comp
+L resistor R14
+U 1 1 668B8D1A
+P 12750 5100
+F 0 "R14" H 12800 5230 50 0000 C CNN
+F 1 "22" H 12800 5050 50 0000 C CNN
+F 2 "" H 12800 5080 30 0000 C CNN
+F 3 "" V 12800 5150 30 0000 C CNN
+ 1 12750 5100
+ 0 1 1 0
+$EndComp
+Connection ~ 12800 4550
+Wire Wire Line
+ 12800 5300 12800 5650
+Wire Wire Line
+ 12800 4850 13950 4850
+Connection ~ 12800 4850
+$Comp
+L resistor R1
+U 1 1 668B8D1E
+P 2150 2750
+F 0 "R1" H 2200 2880 50 0000 C CNN
+F 1 "1k" H 2200 2700 50 0000 C CNN
+F 2 "" H 2200 2730 30 0000 C CNN
+F 3 "" V 2200 2800 30 0000 C CNN
+ 1 2150 2750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 2250 2800 2750 2800
+Wire Wire Line
+ 2750 2800 2750 1700
+Wire Wire Line
+ 2750 1700 5000 1700
+Wire Wire Line
+ 5000 1700 5000 3500
+Wire Wire Line
+ 2700 3500 2500 3500
+Wire Wire Line
+ 2550 2800 2550 1150
+Wire Wire Line
+ 2550 1150 7950 1150
+Connection ~ 2550 2800
+$Comp
+L resistor R8
+U 1 1 668B8D21
+P 8050 1200
+F 0 "R8" H 8100 1330 50 0000 C CNN
+F 1 "4k" H 8100 1150 50 0000 C CNN
+F 2 "" H 8100 1180 30 0000 C CNN
+F 3 "" V 8100 1250 30 0000 C CNN
+ 1 8050 1200
+ 1 0 0 -1
+$EndComp
+Connection ~ 13250 4850
+Connection ~ 12850 7300
+Wire Wire Line
+ 8250 1150 15150 1150
+Wire Wire Line
+ 15150 1150 15150 3950
+Wire Wire Line
+ 13200 2100 13200 2350
+Connection ~ 12350 2100
+Wire Wire Line
+ 15150 3950 13250 3950
+Wire Wire Line
+ 13250 3950 13250 4850
+Wire Wire Line
+ 3550 4950 3550 2350
+Wire Wire Line
+ 3550 2350 7800 2350
+Wire Wire Line
+ 7800 2350 7800 1700
+Wire Wire Line
+ 7800 1700 13300 1700
+Wire Wire Line
+ 13300 1700 13300 2150
+Wire Wire Line
+ 13300 2150 13200 2150
+Connection ~ 13200 2150
+Wire Wire Line
+ 7250 2700 9100 2700
+Connection ~ 8500 2700
+Wire Wire Line
+ 5350 5600 7950 5600
+Wire Wire Line
+ 7950 5600 7950 5850
+Wire Wire Line
+ 7950 5850 8100 5850
+Wire Wire Line
+ 7800 5600 7800 5250
+Wire Wire Line
+ 7800 5250 10150 5250
+Wire Wire Line
+ 10150 5250 10150 5400
+Wire Wire Line
+ 10150 5400 10500 5400
+Connection ~ 7800 5600
+Wire Wire Line
+ 4450 5050 5200 5050
+Wire Wire Line
+ 5200 5050 5200 1700
+Connection ~ 4450 5050
+Wire Wire Line
+ 8800 3750 8100 3750
+Connection ~ 8800 3750
+Wire Wire Line
+ 3200 4750 2500 4750
+Connection ~ 3200 4750
+Wire Wire Line
+ 1950 2800 1550 2800
+$Comp
+L PORT U1
+U 4 1 668C16FF
+P 13600 6950
+F 0 "U1" H 13650 7050 30 0000 C CNN
+F 1 "PORT" H 13600 6950 30 0000 C CNN
+F 2 "" H 13600 6950 60 0000 C CNN
+F 3 "" H 13600 6950 60 0000 C CNN
+ 4 13600 6950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 1 1 668C17E4
+P 5200 1450
+F 0 "U1" H 5250 1550 30 0000 C CNN
+F 1 "PORT" H 5200 1450 30 0000 C CNN
+F 2 "" H 5200 1450 60 0000 C CNN
+F 3 "" H 5200 1450 60 0000 C CNN
+ 1 5200 1450
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 668C1903
+P 1300 2800
+F 0 "U1" H 1350 2900 30 0000 C CNN
+F 1 "PORT" H 1300 2800 30 0000 C CNN
+F 2 "" H 1300 2800 60 0000 C CNN
+F 3 "" H 1300 2800 60 0000 C CNN
+ 2 1300 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 668C19DA
+P 13450 2350
+F 0 "U1" H 13500 2450 30 0000 C CNN
+F 1 "PORT" H 13450 2350 30 0000 C CNN
+F 2 "" H 13450 2350 60 0000 C CNN
+F 3 "" H 13450 2350 60 0000 C CNN
+ 7 13450 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 668C1A79
+P 2250 3500
+F 0 "U1" H 2300 3600 30 0000 C CNN
+F 1 "PORT" H 2250 3500 30 0000 C CNN
+F 2 "" H 2250 3500 60 0000 C CNN
+F 3 "" H 2250 3500 60 0000 C CNN
+ 3 2250 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 668C1BB1
+P 8100 1400
+F 0 "U1" H 8150 1500 30 0000 C CNN
+F 1 "PORT" H 8100 1400 30 0000 C CNN
+F 2 "" H 8100 1400 60 0000 C CNN
+F 3 "" H 8100 1400 60 0000 C CNN
+ 8 8100 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 668C1D8E
+P 14200 4850
+F 0 "U1" H 14250 4950 30 0000 C CNN
+F 1 "PORT" H 14200 4850 30 0000 C CNN
+F 2 "" H 14200 4850 60 0000 C CNN
+F 3 "" H 14200 4850 60 0000 C CNN
+ 6 14200 4850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 668C1E19
+P 2250 4750
+F 0 "U1" H 2300 4850 30 0000 C CNN
+F 1 "PORT" H 2250 4750 30 0000 C CNN
+F 2 "" H 2250 4750 60 0000 C CNN
+F 3 "" H 2250 4750 60 0000 C CNN
+ 5 2250 4750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8100 3750 8100 1650
+Wire Wire Line
+ 13600 7300 13600 7200
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sub b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sub
new file mode 100644
index 00000000..7ad80218
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub.sub
@@ -0,0 +1,48 @@
+* Subcircuit UA777_Sub
+.subckt UA777_Sub net-_q6-pad1_ net-_r1-pad2_ net-_q1-pad2_ net-_q11-pad3_ net-_q3-pad1_ net-_q23-pad3_ net-_q12-pad3_ net-_q15-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\ua777_sub\ua777_sub.cir
+.include PNP.lib
+.include NPN.lib
+q2 net-_q1-pad1_ net-_q1-pad1_ net-_q12-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q3 net-_q3-pad1_ net-_q10-pad1_ net-_q1-pad3_ Q2N2907A
+q6 net-_q6-pad1_ net-_q10-pad1_ net-_q6-pad3_ Q2N2907A
+q8 net-_q1-pad1_ net-_q8-pad2_ net-_q6-pad3_ Q2N2222
+q5 net-_q12-pad3_ net-_q3-pad1_ net-_q4-pad2_ Q2N2222
+q4 net-_q3-pad1_ net-_q4-pad2_ net-_q4-pad3_ Q2N2222
+q7 net-_q6-pad1_ net-_q4-pad2_ net-_q7-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q11-pad3_ 1k
+r3 net-_q4-pad2_ net-_q11-pad3_ 50k
+r4 net-_q7-pad3_ net-_q11-pad3_ 1k
+q9 net-_q10-pad1_ net-_q1-pad1_ net-_q12-pad3_ Q2N2907A
+r5 net-_q13-pad1_ net-_q6-pad1_ 300
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad3_ net-_q11-pad3_ 10k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+r7 net-_q10-pad2_ net-_q12-pad1_ 40k
+q11 net-_q10-pad2_ net-_q10-pad2_ net-_q11-pad3_ Q2N2222
+q15 net-_q15-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+q17 net-_q17-pad1_ net-_q12-pad1_ net-_q12-pad3_ Q2N2907A
+q14 net-_q12-pad3_ net-_q13-pad1_ net-_q14-pad3_ Q2N2222
+q16 net-_q15-pad1_ net-_q14-pad3_ net-_q16-pad3_ Q2N2222
+r10 net-_q11-pad3_ net-_q16-pad3_ 100
+q13 net-_q13-pad1_ net-_q13-pad2_ net-_q11-pad3_ Q2N2222
+r9 net-_q11-pad3_ net-_q14-pad3_ 50k
+q25 net-_q12-pad3_ net-_q17-pad1_ net-_q23-pad2_ Q2N2222
+q23 net-_q17-pad1_ net-_q23-pad2_ net-_q23-pad3_ Q2N2222
+q19 net-_q17-pad1_ net-_q17-pad1_ net-_q19-pad3_ Q2N2222
+q21 net-_q17-pad1_ net-_q19-pad3_ net-_q21-pad3_ Q2N2222
+r11 net-_q19-pad3_ net-_q21-pad3_ 50k
+q22 net-_q11-pad3_ net-_q15-pad1_ net-_q21-pad3_ Q2N2907A
+q20 net-_q11-pad3_ net-_q15-pad1_ net-_q13-pad1_ Q2N2907A
+q18 net-_q13-pad2_ net-_q13-pad2_ net-_q11-pad3_ Q2N2222
+q24 net-_q13-pad2_ net-_q24-pad2_ net-_q23-pad3_ Q2N2907A
+q26 net-_q11-pad3_ net-_q21-pad3_ net-_q24-pad2_ Q2N2907A
+r12 net-_q11-pad3_ net-_q13-pad2_ 50k
+r13 net-_q23-pad2_ net-_q23-pad3_ 27
+r14 net-_q23-pad3_ net-_q24-pad2_ 22
+r1 net-_q8-pad2_ net-_r1-pad2_ 1k
+r8 net-_q8-pad2_ net-_q23-pad3_ 4k
+* Control Statements
+
+.ends UA777_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/UA777_sub/UA777_Sub_Previous_Values.xml b/library/SubcircuitLibrary/UA777_sub/UA777_Sub_Previous_Values.xml
new file mode 100644
index 00000000..8056bdea
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/UA777_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q15><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q17><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q23><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q21><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q22><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q18><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q24><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q26></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">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><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/UA777_sub/analysis b/library/SubcircuitLibrary/UA777_sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/UA777_sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file