summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/SubcircuitLibrary/L603/D.lib2
-rw-r--r--library/SubcircuitLibrary/L603/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/L603/analysis1
-rw-r--r--library/SubcircuitLibrary/L603/l603-cache.lib107
-rw-r--r--library/SubcircuitLibrary/L603/l603.cir75
-rw-r--r--library/SubcircuitLibrary/L603/l603.cir.out78
-rw-r--r--library/SubcircuitLibrary/L603/l603.pro73
-rw-r--r--library/SubcircuitLibrary/L603/l603.sch1357
-rw-r--r--library/SubcircuitLibrary/L603/l603.sub72
-rw-r--r--library/SubcircuitLibrary/L603/l603_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/L604/03-cache.lib107
-rw-r--r--library/SubcircuitLibrary/L604/03.sch1357
-rw-r--r--library/SubcircuitLibrary/L604/D.lib2
-rw-r--r--library/SubcircuitLibrary/L604/L604-cache.lib107
-rw-r--r--library/SubcircuitLibrary/L604/L604.cir75
-rw-r--r--library/SubcircuitLibrary/L604/L604.cir.out78
-rw-r--r--library/SubcircuitLibrary/L604/L604.pro73
-rw-r--r--library/SubcircuitLibrary/L604/L604.sch1356
-rw-r--r--library/SubcircuitLibrary/L604/L604.sub72
-rw-r--r--library/SubcircuitLibrary/L604/L604_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/L604/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/L604/analysis1
-rw-r--r--library/SubcircuitLibrary/L604/schematicof06-cache.lib107
-rw-r--r--library/SubcircuitLibrary/SN55461/D.lib2
-rw-r--r--library/SubcircuitLibrary/SN55461/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/SN55461/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/SN55461/analysis1
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461-cache.lib126
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461.cir39
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461.cir.out42
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461.pro73
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461.sch673
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461.sub36
-rw-r--r--library/SubcircuitLibrary/SN55461/sn55461_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/SN74LS09/D.lib2
-rw-r--r--library/SubcircuitLibrary/SN74LS09/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/SN74LS09/analysis1
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__-cache.lib143
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir59
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir.out110
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__.pro73
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__.sch1076
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09__.sub104
-rw-r--r--library/SubcircuitLibrary/SN74LS09/sn74ls09___Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/SN74LS21/D.lib2
-rw-r--r--library/SubcircuitLibrary/SN74LS21/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21-cache.lib107
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21.cir57
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21.cir.out60
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21.pro73
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21.sch964
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21.sub54
-rw-r--r--library/SubcircuitLibrary/SN74LS21/SN74LS21_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/SN74LS21/analysis1
-rw-r--r--library/SubcircuitLibrary/lm205/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/lm205/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/lm205/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/lm205/analysis1
-rw-r--r--library/SubcircuitLibrary/lm205/lm205-cache.lib158
-rw-r--r--library/SubcircuitLibrary/lm205/lm205.cir43
-rw-r--r--library/SubcircuitLibrary/lm205/lm205.cir.out50
-rw-r--r--library/SubcircuitLibrary/lm205/lm205.pro73
-rw-r--r--library/SubcircuitLibrary/lm205/lm205.sch755
-rw-r--r--library/SubcircuitLibrary/lm205/lm205.sub44
-rw-r--r--library/SubcircuitLibrary/lm205/lm205_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/ref5010/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/ref5010/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/ref5010/analysis1
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741-cache.lib119
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741.cir43
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741.cir.out46
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741.pro44
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741.sch697
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741.sub40
-rw-r--r--library/SubcircuitLibrary/ref5010/lm_741_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/ref5010/npn_1.lib29
-rw-r--r--library/SubcircuitLibrary/ref5010/pnp_1.lib29
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2-cache.lib134
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2.cir21
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2.cir.out23
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2.pro73
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2.sch342
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2.sub17
-rw-r--r--library/SubcircuitLibrary/ref5010/ref5010_2_Previous_Values.xml1
84 files changed, 11812 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/L603/D.lib b/library/SubcircuitLibrary/L603/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/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/L603/NPN.lib b/library/SubcircuitLibrary/L603/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/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/L603/analysis b/library/SubcircuitLibrary/L603/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/L603/l603-cache.lib b/library/SubcircuitLibrary/L603/l603-cache.lib
new file mode 100644
index 00000000..2a23e8a6
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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/L603/l603.cir b/library/SubcircuitLibrary/L603/l603.cir
new file mode 100644
index 00000000..1e90a398
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603.cir
@@ -0,0 +1,75 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\l603\l603.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/16/25 10:26:50
+
+* 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: /
+R20 Net-_D24-Pad2_ Net-_Q15-Pad2_ 2.7k
+Q15 Net-_D18-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R23 Net-_Q15-Pad2_ Net-_Q15-Pad3_ 7.2k
+R24 Net-_Q15-Pad3_ GND 3k
+Q16 Net-_D18-Pad1_ Net-_Q15-Pad3_ GND eSim_NPN
+D18 Net-_D18-Pad1_ COM eSim_Diode
+D24 GND Net-_D24-Pad2_ eSim_Diode
+D22 GND Net-_D18-Pad1_ eSim_Diode
+R1 Net-_D5-Pad2_ Net-_Q1-Pad2_ 2.7k
+Q1 Net-_D1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+R3 Net-_Q1-Pad2_ Net-_Q1-Pad3_ 7.2k
+R4 Net-_Q1-Pad3_ GND 3k
+Q3 Net-_D1-Pad1_ Net-_Q1-Pad3_ GND eSim_NPN
+D1 Net-_D1-Pad1_ COM eSim_Diode
+D5 GND Net-_D5-Pad2_ eSim_Diode
+D3 GND Net-_D1-Pad1_ eSim_Diode
+R7 Net-_D13-Pad2_ Net-_Q5-Pad2_ 2.7k
+Q5 Net-_D10-Pad2_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R10 Net-_Q5-Pad2_ Net-_Q5-Pad3_ 7.2k
+R11 Net-_Q5-Pad3_ GND 3k
+Q6 Net-_D10-Pad2_ Net-_Q5-Pad3_ GND eSim_NPN
+D7 Net-_D10-Pad2_ COM eSim_Diode
+D13 GND Net-_D13-Pad2_ eSim_Diode
+D10 GND Net-_D10-Pad2_ eSim_Diode
+R8 Net-_D15-Pad2_ Net-_Q7-Pad2_ 2.7k
+Q7 Net-_D11-Pad2_ Net-_Q7-Pad2_ Net-_Q7-Pad3_ eSim_NPN
+R12 Net-_Q7-Pad2_ Net-_Q7-Pad3_ 7.2k
+R13 Net-_Q7-Pad3_ GND 3k
+Q9 Net-_D11-Pad2_ Net-_Q7-Pad3_ GND eSim_NPN
+D8 Net-_D11-Pad2_ COM eSim_Diode
+D15 GND Net-_D15-Pad2_ eSim_Diode
+D11 GND Net-_D11-Pad2_ eSim_Diode
+R17 Net-_D23-Pad2_ Net-_Q13-Pad2_ 2.7k
+Q13 Net-_D16-Pad1_ Net-_Q13-Pad2_ Net-_Q13-Pad3_ eSim_NPN
+R21 Net-_Q13-Pad2_ Net-_Q13-Pad3_ 7.2k
+R22 Net-_Q13-Pad3_ GND 3k
+Q14 Net-_D16-Pad1_ Net-_Q13-Pad3_ GND eSim_NPN
+D16 Net-_D16-Pad1_ COM eSim_Diode
+D23 GND Net-_D23-Pad2_ eSim_Diode
+D20 GND Net-_D16-Pad1_ eSim_Diode
+R2 Net-_D6-Pad2_ Net-_Q2-Pad2_ 2.7k
+Q2 Net-_D2-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+R5 Net-_Q2-Pad2_ Net-_Q2-Pad3_ 7.2k
+R6 Net-_Q2-Pad3_ GND 3k
+Q4 Net-_D2-Pad1_ Net-_Q2-Pad3_ GND eSim_NPN
+D2 Net-_D2-Pad1_ COM eSim_Diode
+D6 GND Net-_D6-Pad2_ eSim_Diode
+D4 GND Net-_D2-Pad1_ eSim_Diode
+R9 Net-_D17-Pad2_ Net-_Q8-Pad2_ 2.7k
+Q8 Net-_D12-Pad2_ Net-_Q8-Pad2_ Net-_Q10-Pad2_ eSim_NPN
+R14 Net-_Q8-Pad2_ Net-_Q10-Pad2_ 7.2k
+R15 Net-_Q10-Pad2_ GND 3k
+Q10 Net-_D12-Pad2_ Net-_Q10-Pad2_ GND eSim_NPN
+D9 Net-_D12-Pad2_ COM eSim_Diode
+D17 GND Net-_D17-Pad2_ eSim_Diode
+D12 GND Net-_D12-Pad2_ eSim_Diode
+R16 Net-_D21-Pad2_ Net-_Q11-Pad2_ 2.7k
+Q11 Net-_D14-Pad1_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R18 Net-_Q11-Pad2_ Net-_Q11-Pad3_ 7.2k
+R19 Net-_Q11-Pad3_ GND 3k
+Q12 Net-_D14-Pad1_ Net-_Q11-Pad3_ GND eSim_NPN
+D14 Net-_D14-Pad1_ COM eSim_Diode
+D21 GND Net-_D21-Pad2_ eSim_Diode
+D19 GND Net-_D14-Pad1_ eSim_Diode
+U1 Net-_D1-Pad1_ Net-_D2-Pad1_ Net-_D5-Pad2_ Net-_D6-Pad2_ GND COM Net-_D10-Pad2_ Net-_D13-Pad2_ Net-_D11-Pad2_ Net-_D15-Pad2_ Net-_D12-Pad2_ Net-_D17-Pad2_ Net-_D14-Pad1_ Net-_D21-Pad2_ Net-_D16-Pad1_ Net-_D23-Pad2_ Net-_D18-Pad1_ Net-_D24-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/L603/l603.cir.out b/library/SubcircuitLibrary/L603/l603.cir.out
new file mode 100644
index 00000000..fc872980
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603.cir.out
@@ -0,0 +1,78 @@
+* d:\fossee\esim\library\subcircuitlibrary\l603\l603.cir
+
+.include NPN.lib
+.include D.lib
+r20 net-_d24-pad2_ net-_q15-pad2_ 2.7k
+q15 net-_d18-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r23 net-_q15-pad2_ net-_q15-pad3_ 7.2k
+r24 net-_q15-pad3_ gnd 3k
+q16 net-_d18-pad1_ net-_q15-pad3_ gnd Q2N2222
+d18 net-_d18-pad1_ com 1N4148
+d24 gnd net-_d24-pad2_ 1N4148
+d22 gnd net-_d18-pad1_ 1N4148
+r1 net-_d5-pad2_ net-_q1-pad2_ 2.7k
+q1 net-_d1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r3 net-_q1-pad2_ net-_q1-pad3_ 7.2k
+r4 net-_q1-pad3_ gnd 3k
+q3 net-_d1-pad1_ net-_q1-pad3_ gnd Q2N2222
+d1 net-_d1-pad1_ com 1N4148
+d5 gnd net-_d5-pad2_ 1N4148
+d3 gnd net-_d1-pad1_ 1N4148
+r7 net-_d13-pad2_ net-_q5-pad2_ 2.7k
+q5 net-_d10-pad2_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad2_ net-_q5-pad3_ 7.2k
+r11 net-_q5-pad3_ gnd 3k
+q6 net-_d10-pad2_ net-_q5-pad3_ gnd Q2N2222
+d7 net-_d10-pad2_ com 1N4148
+d13 gnd net-_d13-pad2_ 1N4148
+d10 gnd net-_d10-pad2_ 1N4148
+r8 net-_d15-pad2_ net-_q7-pad2_ 2.7k
+q7 net-_d11-pad2_ net-_q7-pad2_ net-_q7-pad3_ Q2N2222
+r12 net-_q7-pad2_ net-_q7-pad3_ 7.2k
+r13 net-_q7-pad3_ gnd 3k
+q9 net-_d11-pad2_ net-_q7-pad3_ gnd Q2N2222
+d8 net-_d11-pad2_ com 1N4148
+d15 gnd net-_d15-pad2_ 1N4148
+d11 gnd net-_d11-pad2_ 1N4148
+r17 net-_d23-pad2_ net-_q13-pad2_ 2.7k
+q13 net-_d16-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+r21 net-_q13-pad2_ net-_q13-pad3_ 7.2k
+r22 net-_q13-pad3_ gnd 3k
+q14 net-_d16-pad1_ net-_q13-pad3_ gnd Q2N2222
+d16 net-_d16-pad1_ com 1N4148
+d23 gnd net-_d23-pad2_ 1N4148
+d20 gnd net-_d16-pad1_ 1N4148
+r2 net-_d6-pad2_ net-_q2-pad2_ 2.7k
+q2 net-_d2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r5 net-_q2-pad2_ net-_q2-pad3_ 7.2k
+r6 net-_q2-pad3_ gnd 3k
+q4 net-_d2-pad1_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ com 1N4148
+d6 gnd net-_d6-pad2_ 1N4148
+d4 gnd net-_d2-pad1_ 1N4148
+r9 net-_d17-pad2_ net-_q8-pad2_ 2.7k
+q8 net-_d12-pad2_ net-_q8-pad2_ net-_q10-pad2_ Q2N2222
+r14 net-_q8-pad2_ net-_q10-pad2_ 7.2k
+r15 net-_q10-pad2_ gnd 3k
+q10 net-_d12-pad2_ net-_q10-pad2_ gnd Q2N2222
+d9 net-_d12-pad2_ com 1N4148
+d17 gnd net-_d17-pad2_ 1N4148
+d12 gnd net-_d12-pad2_ 1N4148
+r16 net-_d21-pad2_ net-_q11-pad2_ 2.7k
+q11 net-_d14-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r18 net-_q11-pad2_ net-_q11-pad3_ 7.2k
+r19 net-_q11-pad3_ gnd 3k
+q12 net-_d14-pad1_ net-_q11-pad3_ gnd Q2N2222
+d14 net-_d14-pad1_ com 1N4148
+d21 gnd net-_d21-pad2_ 1N4148
+d19 gnd net-_d14-pad1_ 1N4148
+* u1 net-_d1-pad1_ net-_d2-pad1_ net-_d5-pad2_ net-_d6-pad2_ gnd com net-_d10-pad2_ net-_d13-pad2_ net-_d11-pad2_ net-_d15-pad2_ net-_d12-pad2_ net-_d17-pad2_ net-_d14-pad1_ net-_d21-pad2_ net-_d16-pad1_ net-_d23-pad2_ net-_d18-pad1_ net-_d24-pad2_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/L603/l603.pro b/library/SubcircuitLibrary/L603/l603.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603.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/L603/l603.sch b/library/SubcircuitLibrary/L603/l603.sch
new file mode 100644
index 00000000..ee5562af
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603.sch
@@ -0,0 +1,1357 @@
+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:l602 sheeet-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 resistor R20
+U 1 1 67B16FCC
+P 4800 6000
+F 0 "R20" H 4850 6130 50 0000 C CNN
+F 1 "2.7k" H 4850 5950 50 0000 C CNN
+F 2 "" H 4850 5980 30 0000 C CNN
+F 3 "" V 4850 6050 30 0000 C CNN
+ 1 4800 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 67B16FCD
+P 5600 5950
+F 0 "Q15" H 5500 6000 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 6100 50 0000 R CNN
+F 2 "" H 5800 6050 29 0000 C CNN
+F 3 "" H 5600 5950 60 0000 C CNN
+ 1 5600 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R23
+U 1 1 67B16FCE
+P 5200 6800
+F 0 "R23" H 5250 6930 50 0000 C CNN
+F 1 "7.2k" H 5250 6750 50 0000 C CNN
+F 2 "" H 5250 6780 30 0000 C CNN
+F 3 "" V 5250 6850 30 0000 C CNN
+ 1 5200 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R24
+U 1 1 67B16FCF
+P 6350 6800
+F 0 "R24" H 6400 6930 50 0000 C CNN
+F 1 "3k" H 6400 6750 50 0000 C CNN
+F 2 "" H 6400 6780 30 0000 C CNN
+F 3 "" V 6400 6850 30 0000 C CNN
+ 1 6350 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 67B16FD0
+P 6600 6300
+F 0 "Q16" H 6500 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 6450 50 0000 R CNN
+F 2 "" H 6800 6400 29 0000 C CNN
+F 3 "" H 6600 6300 60 0000 C CNN
+ 1 6600 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D18
+U 1 1 67B16FD1
+P 7050 5450
+F 0 "D18" H 7050 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 5350 50 0000 C CNN
+F 2 "" H 7050 5450 60 0000 C CNN
+F 3 "" H 7050 5450 60 0000 C CNN
+ 1 7050 5450
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 5450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D24
+U 1 1 67B16FD2
+P 5800 7250
+F 0 "D24" H 5800 7350 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 7150 50 0000 C CNN
+F 2 "" H 5800 7250 60 0000 C CNN
+F 3 "" H 5800 7250 60 0000 C CNN
+ 1 5800 7250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D22
+U 1 1 67B16FD3
+P 7100 6500
+F 0 "D22" H 7100 6600 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 6400 50 0000 C CNN
+F 2 "" H 7100 6500 60 0000 C CNN
+F 3 "" H 7100 6500 60 0000 C CNN
+ 1 7100 6500
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 67B16FD4
+P 7850 1100
+F 0 "R1" H 7900 1230 50 0000 C CNN
+F 1 "2.7k" H 7900 1050 50 0000 C CNN
+F 2 "" H 7900 1080 30 0000 C CNN
+F 3 "" V 7900 1150 30 0000 C CNN
+ 1 7850 1100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 67B16FD5
+P 8650 1050
+F 0 "Q1" H 8550 1100 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 1200 50 0000 R CNN
+F 2 "" H 8850 1150 29 0000 C CNN
+F 3 "" H 8650 1050 60 0000 C CNN
+ 1 8650 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 67B16FD6
+P 8250 1900
+F 0 "R3" H 8300 2030 50 0000 C CNN
+F 1 "7.2k" H 8300 1850 50 0000 C CNN
+F 2 "" H 8300 1880 30 0000 C CNN
+F 3 "" V 8300 1950 30 0000 C CNN
+ 1 8250 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 67B16FD7
+P 9400 1900
+F 0 "R4" H 9450 2030 50 0000 C CNN
+F 1 "3k" H 9450 1850 50 0000 C CNN
+F 2 "" H 9450 1880 30 0000 C CNN
+F 3 "" V 9450 1950 30 0000 C CNN
+ 1 9400 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 67B16FD8
+P 9650 1400
+F 0 "Q3" H 9550 1450 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 1550 50 0000 R CNN
+F 2 "" H 9850 1500 29 0000 C CNN
+F 3 "" H 9650 1400 60 0000 C CNN
+ 1 9650 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 67B16FD9
+P 10100 550
+F 0 "D1" H 10100 650 50 0000 C CNN
+F 1 "eSim_Diode" H 10100 450 50 0000 C CNN
+F 2 "" H 10100 550 60 0000 C CNN
+F 3 "" H 10100 550 60 0000 C CNN
+ 1 10100 550
+ 1 0 0 -1
+$EndComp
+Text GLabel 10500 550 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D5
+U 1 1 67B16FDA
+P 8850 2350
+F 0 "D5" H 8850 2450 50 0000 C CNN
+F 1 "eSim_Diode" H 8850 2250 50 0000 C CNN
+F 2 "" H 8850 2350 60 0000 C CNN
+F 3 "" H 8850 2350 60 0000 C CNN
+ 1 8850 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 67B16FDB
+P 10150 1600
+F 0 "D3" H 10150 1700 50 0000 C CNN
+F 1 "eSim_Diode" H 10150 1500 50 0000 C CNN
+F 2 "" H 10150 1600 60 0000 C CNN
+F 3 "" H 10150 1600 60 0000 C CNN
+ 1 10150 1600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 67B16FDC
+P 8400 3050
+F 0 "R7" H 8450 3180 50 0000 C CNN
+F 1 "2.7k" H 8450 3000 50 0000 C CNN
+F 2 "" H 8450 3030 30 0000 C CNN
+F 3 "" V 8450 3100 30 0000 C CNN
+ 1 8400 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 67B16FDD
+P 9200 3000
+F 0 "Q5" H 9100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 9150 3150 50 0000 R CNN
+F 2 "" H 9400 3100 29 0000 C CNN
+F 3 "" H 9200 3000 60 0000 C CNN
+ 1 9200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 67B16FDE
+P 8800 3850
+F 0 "R10" H 8850 3980 50 0000 C CNN
+F 1 "7.2k" H 8850 3800 50 0000 C CNN
+F 2 "" H 8850 3830 30 0000 C CNN
+F 3 "" V 8850 3900 30 0000 C CNN
+ 1 8800 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 67B16FDF
+P 9950 3850
+F 0 "R11" H 10000 3980 50 0000 C CNN
+F 1 "3k" H 10000 3800 50 0000 C CNN
+F 2 "" H 10000 3830 30 0000 C CNN
+F 3 "" V 10000 3900 30 0000 C CNN
+ 1 9950 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 67B16FE0
+P 10200 3350
+F 0 "Q6" H 10100 3400 50 0000 R CNN
+F 1 "eSim_NPN" H 10150 3500 50 0000 R CNN
+F 2 "" H 10400 3450 29 0000 C CNN
+F 3 "" H 10200 3350 60 0000 C CNN
+ 1 10200 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 67B16FE1
+P 10650 2500
+F 0 "D7" H 10650 2600 50 0000 C CNN
+F 1 "eSim_Diode" H 10650 2400 50 0000 C CNN
+F 2 "" H 10650 2500 60 0000 C CNN
+F 3 "" H 10650 2500 60 0000 C CNN
+ 1 10650 2500
+ 1 0 0 -1
+$EndComp
+Text GLabel 11050 2500 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D13
+U 1 1 67B16FE2
+P 9400 4300
+F 0 "D13" H 9400 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 4200 50 0000 C CNN
+F 2 "" H 9400 4300 60 0000 C CNN
+F 3 "" H 9400 4300 60 0000 C CNN
+ 1 9400 4300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 67B16FE3
+P 10700 3550
+F 0 "D10" H 10700 3650 50 0000 C CNN
+F 1 "eSim_Diode" H 10700 3450 50 0000 C CNN
+F 2 "" H 10700 3550 60 0000 C CNN
+F 3 "" H 10700 3550 60 0000 C CNN
+ 1 10700 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 67B16FE4
+P 1350 3550
+F 0 "R8" H 1400 3680 50 0000 C CNN
+F 1 "2.7k" H 1400 3500 50 0000 C CNN
+F 2 "" H 1400 3530 30 0000 C CNN
+F 3 "" V 1400 3600 30 0000 C CNN
+ 1 1350 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 67B16FE5
+P 2150 3500
+F 0 "Q7" H 2050 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 3650 50 0000 R CNN
+F 2 "" H 2350 3600 29 0000 C CNN
+F 3 "" H 2150 3500 60 0000 C CNN
+ 1 2150 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 67B16FE6
+P 1750 4350
+F 0 "R12" H 1800 4480 50 0000 C CNN
+F 1 "7.2k" H 1800 4300 50 0000 C CNN
+F 2 "" H 1800 4330 30 0000 C CNN
+F 3 "" V 1800 4400 30 0000 C CNN
+ 1 1750 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R13
+U 1 1 67B16FE7
+P 2900 4350
+F 0 "R13" H 2950 4480 50 0000 C CNN
+F 1 "3k" H 2950 4300 50 0000 C CNN
+F 2 "" H 2950 4330 30 0000 C CNN
+F 3 "" V 2950 4400 30 0000 C CNN
+ 1 2900 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 67B16FE8
+P 3150 3850
+F 0 "Q9" H 3050 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 4000 50 0000 R CNN
+F 2 "" H 3350 3950 29 0000 C CNN
+F 3 "" H 3150 3850 60 0000 C CNN
+ 1 3150 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 67B16FE9
+P 3600 3000
+F 0 "D8" H 3600 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 3600 2900 50 0000 C CNN
+F 2 "" H 3600 3000 60 0000 C CNN
+F 3 "" H 3600 3000 60 0000 C CNN
+ 1 3600 3000
+ 1 0 0 -1
+$EndComp
+Text GLabel 4000 3000 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D15
+U 1 1 67B16FEA
+P 2350 4800
+F 0 "D15" H 2350 4900 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 4700 50 0000 C CNN
+F 2 "" H 2350 4800 60 0000 C CNN
+F 3 "" H 2350 4800 60 0000 C CNN
+ 1 2350 4800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 67B16FEB
+P 3650 4050
+F 0 "D11" H 3650 4150 50 0000 C CNN
+F 1 "eSim_Diode" H 3650 3950 50 0000 C CNN
+F 2 "" H 3650 4050 60 0000 C CNN
+F 3 "" H 3650 4050 60 0000 C CNN
+ 1 3650 4050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 67B16FEC
+P 1450 5600
+F 0 "R17" H 1500 5730 50 0000 C CNN
+F 1 "2.7k" H 1500 5550 50 0000 C CNN
+F 2 "" H 1500 5580 30 0000 C CNN
+F 3 "" V 1500 5650 30 0000 C CNN
+ 1 1450 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 67B16FED
+P 2250 5550
+F 0 "Q13" H 2150 5600 50 0000 R CNN
+F 1 "eSim_NPN" H 2200 5700 50 0000 R CNN
+F 2 "" H 2450 5650 29 0000 C CNN
+F 3 "" H 2250 5550 60 0000 C CNN
+ 1 2250 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 67B16FEE
+P 1850 6400
+F 0 "R21" H 1900 6530 50 0000 C CNN
+F 1 "7.2k" H 1900 6350 50 0000 C CNN
+F 2 "" H 1900 6380 30 0000 C CNN
+F 3 "" V 1900 6450 30 0000 C CNN
+ 1 1850 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 67B16FEF
+P 3000 6400
+F 0 "R22" H 3050 6530 50 0000 C CNN
+F 1 "3k" H 3050 6350 50 0000 C CNN
+F 2 "" H 3050 6380 30 0000 C CNN
+F 3 "" V 3050 6450 30 0000 C CNN
+ 1 3000 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 67B16FF0
+P 3250 5900
+F 0 "Q14" H 3150 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 6050 50 0000 R CNN
+F 2 "" H 3450 6000 29 0000 C CNN
+F 3 "" H 3250 5900 60 0000 C CNN
+ 1 3250 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 67B16FF1
+P 3700 5050
+F 0 "D16" H 3700 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 3700 4950 50 0000 C CNN
+F 2 "" H 3700 5050 60 0000 C CNN
+F 3 "" H 3700 5050 60 0000 C CNN
+ 1 3700 5050
+ 1 0 0 -1
+$EndComp
+Text GLabel 4100 5050 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D23
+U 1 1 67B16FF2
+P 2450 6850
+F 0 "D23" H 2450 6950 50 0000 C CNN
+F 1 "eSim_Diode" H 2450 6750 50 0000 C CNN
+F 2 "" H 2450 6850 60 0000 C CNN
+F 3 "" H 2450 6850 60 0000 C CNN
+ 1 2450 6850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D20
+U 1 1 67B16FF3
+P 3750 6100
+F 0 "D20" H 3750 6200 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 6000 50 0000 C CNN
+F 2 "" H 3750 6100 60 0000 C CNN
+F 3 "" H 3750 6100 60 0000 C CNN
+ 1 3750 6100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 67B16FF4
+P 1600 1200
+F 0 "R2" H 1650 1330 50 0000 C CNN
+F 1 "2.7k" H 1650 1150 50 0000 C CNN
+F 2 "" H 1650 1180 30 0000 C CNN
+F 3 "" V 1650 1250 30 0000 C CNN
+ 1 1600 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 67B16FF5
+P 2400 1150
+F 0 "Q2" H 2300 1200 50 0000 R CNN
+F 1 "eSim_NPN" H 2350 1300 50 0000 R CNN
+F 2 "" H 2600 1250 29 0000 C CNN
+F 3 "" H 2400 1150 60 0000 C CNN
+ 1 2400 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 67B16FF6
+P 2000 2000
+F 0 "R5" H 2050 2130 50 0000 C CNN
+F 1 "7.2k" H 2050 1950 50 0000 C CNN
+F 2 "" H 2050 1980 30 0000 C CNN
+F 3 "" V 2050 2050 30 0000 C CNN
+ 1 2000 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 67B16FF7
+P 3150 2000
+F 0 "R6" H 3200 2130 50 0000 C CNN
+F 1 "3k" H 3200 1950 50 0000 C CNN
+F 2 "" H 3200 1980 30 0000 C CNN
+F 3 "" V 3200 2050 30 0000 C CNN
+ 1 3150 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 67B16FF8
+P 3400 1500
+F 0 "Q4" H 3300 1550 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 1650 50 0000 R CNN
+F 2 "" H 3600 1600 29 0000 C CNN
+F 3 "" H 3400 1500 60 0000 C CNN
+ 1 3400 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 67B16FF9
+P 3850 650
+F 0 "D2" H 3850 750 50 0000 C CNN
+F 1 "eSim_Diode" H 3850 550 50 0000 C CNN
+F 2 "" H 3850 650 60 0000 C CNN
+F 3 "" H 3850 650 60 0000 C CNN
+ 1 3850 650
+ 1 0 0 -1
+$EndComp
+Text GLabel 4250 650 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D6
+U 1 1 67B16FFA
+P 2600 2450
+F 0 "D6" H 2600 2550 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 2350 50 0000 C CNN
+F 2 "" H 2600 2450 60 0000 C CNN
+F 3 "" H 2600 2450 60 0000 C CNN
+ 1 2600 2450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 67B16FFB
+P 3900 1700
+F 0 "D4" H 3900 1800 50 0000 C CNN
+F 1 "eSim_Diode" H 3900 1600 50 0000 C CNN
+F 2 "" H 3900 1700 60 0000 C CNN
+F 3 "" H 3900 1700 60 0000 C CNN
+ 1 3900 1700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 67B16FFC
+P 4800 3800
+F 0 "R9" H 4850 3930 50 0000 C CNN
+F 1 "2.7k" H 4850 3750 50 0000 C CNN
+F 2 "" H 4850 3780 30 0000 C CNN
+F 3 "" V 4850 3850 30 0000 C CNN
+ 1 4800 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 67B16FFD
+P 5600 3750
+F 0 "Q8" H 5500 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 3900 50 0000 R CNN
+F 2 "" H 5800 3850 29 0000 C CNN
+F 3 "" H 5600 3750 60 0000 C CNN
+ 1 5600 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 67B16FFE
+P 5200 4600
+F 0 "R14" H 5250 4730 50 0000 C CNN
+F 1 "7.2k" H 5250 4550 50 0000 C CNN
+F 2 "" H 5250 4580 30 0000 C CNN
+F 3 "" V 5250 4650 30 0000 C CNN
+ 1 5200 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 67B16FFF
+P 6350 4600
+F 0 "R15" H 6400 4730 50 0000 C CNN
+F 1 "3k" H 6400 4550 50 0000 C CNN
+F 2 "" H 6400 4580 30 0000 C CNN
+F 3 "" V 6400 4650 30 0000 C CNN
+ 1 6350 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 67B17000
+P 6600 4100
+F 0 "Q10" H 6500 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 4250 50 0000 R CNN
+F 2 "" H 6800 4200 29 0000 C CNN
+F 3 "" H 6600 4100 60 0000 C CNN
+ 1 6600 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D9
+U 1 1 67B17001
+P 7050 3250
+F 0 "D9" H 7050 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 3150 50 0000 C CNN
+F 2 "" H 7050 3250 60 0000 C CNN
+F 3 "" H 7050 3250 60 0000 C CNN
+ 1 7050 3250
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 3250 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D17
+U 1 1 67B17002
+P 5800 5050
+F 0 "D17" H 5800 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 4950 50 0000 C CNN
+F 2 "" H 5800 5050 60 0000 C CNN
+F 3 "" H 5800 5050 60 0000 C CNN
+ 1 5800 5050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 67B17003
+P 7100 4300
+F 0 "D12" H 7100 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 4200 50 0000 C CNN
+F 2 "" H 7100 4300 60 0000 C CNN
+F 3 "" H 7100 4300 60 0000 C CNN
+ 1 7100 4300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 67B17004
+P 8100 5000
+F 0 "R16" H 8150 5130 50 0000 C CNN
+F 1 "2.7k" H 8150 4950 50 0000 C CNN
+F 2 "" H 8150 4980 30 0000 C CNN
+F 3 "" V 8150 5050 30 0000 C CNN
+ 1 8100 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 67B17005
+P 8900 4950
+F 0 "Q11" H 8800 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 5100 50 0000 R CNN
+F 2 "" H 9100 5050 29 0000 C CNN
+F 3 "" H 8900 4950 60 0000 C CNN
+ 1 8900 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 67B17006
+P 8500 5800
+F 0 "R18" H 8550 5930 50 0000 C CNN
+F 1 "7.2k" H 8550 5750 50 0000 C CNN
+F 2 "" H 8550 5780 30 0000 C CNN
+F 3 "" V 8550 5850 30 0000 C CNN
+ 1 8500 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R19
+U 1 1 67B17007
+P 9650 5800
+F 0 "R19" H 9700 5930 50 0000 C CNN
+F 1 "3k" H 9700 5750 50 0000 C CNN
+F 2 "" H 9700 5780 30 0000 C CNN
+F 3 "" V 9700 5850 30 0000 C CNN
+ 1 9650 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 67B17008
+P 9900 5300
+F 0 "Q12" H 9800 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 5450 50 0000 R CNN
+F 2 "" H 10100 5400 29 0000 C CNN
+F 3 "" H 9900 5300 60 0000 C CNN
+ 1 9900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 67B17009
+P 10350 4450
+F 0 "D14" H 10350 4550 50 0000 C CNN
+F 1 "eSim_Diode" H 10350 4350 50 0000 C CNN
+F 2 "" H 10350 4450 60 0000 C CNN
+F 3 "" H 10350 4450 60 0000 C CNN
+ 1 10350 4450
+ 1 0 0 -1
+$EndComp
+Text GLabel 10750 4450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D21
+U 1 1 67B1700A
+P 9100 6250
+F 0 "D21" H 9100 6350 50 0000 C CNN
+F 1 "eSim_Diode" H 9100 6150 50 0000 C CNN
+F 2 "" H 9100 6250 60 0000 C CNN
+F 3 "" H 9100 6250 60 0000 C CNN
+ 1 9100 6250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D19
+U 1 1 67B1700B
+P 10400 5500
+F 0 "D19" H 10400 5600 50 0000 C CNN
+F 1 "eSim_Diode" H 10400 5400 50 0000 C CNN
+F 2 "" H 10400 5500 60 0000 C CNN
+F 3 "" H 10400 5500 60 0000 C CNN
+ 1 10400 5500
+ 0 -1 -1 0
+$EndComp
+Text GLabel 5450 2050 0 60 Input ~ 0
+COM
+Text GLabel 6050 2000 1 60 Input ~ 0
+GND
+Text GLabel 4350 2450 2 60 Input ~ 0
+GND
+Text GLabel 4100 4800 2 60 Input ~ 0
+GND
+Text GLabel 7400 5150 2 60 Input ~ 0
+GND
+Text GLabel 10650 2250 2 60 Input ~ 0
+GND
+Text GLabel 11050 4150 2 60 Input ~ 0
+GND
+Text GLabel 10800 6200 2 60 Input ~ 0
+GND
+Text GLabel 7600 7250 2 60 Input ~ 0
+GND
+Text GLabel 4000 7350 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 5700 5750 7450 5750
+Wire Wire Line
+ 6700 5450 6700 6100
+Connection ~ 6700 5750
+Wire Wire Line
+ 6700 5450 6900 5450
+Wire Wire Line
+ 7200 5450 7450 5450
+Wire Wire Line
+ 5400 5950 5000 5950
+Wire Wire Line
+ 5100 6750 5100 5950
+Connection ~ 5100 5950
+Wire Wire Line
+ 5400 6750 6250 6750
+Wire Wire Line
+ 5700 6750 5700 6150
+Wire Wire Line
+ 6400 6300 5700 6300
+Connection ~ 5700 6300
+Connection ~ 5700 6750
+Wire Wire Line
+ 4200 7250 5650 7250
+Wire Wire Line
+ 5950 7250 7600 7250
+Wire Wire Line
+ 6700 7250 6700 6500
+Wire Wire Line
+ 6550 6750 6700 6750
+Connection ~ 6700 6750
+Wire Wire Line
+ 7100 7250 7100 6650
+Connection ~ 6700 7250
+Wire Wire Line
+ 7100 5750 7100 6350
+Connection ~ 7100 5750
+Wire Wire Line
+ 8750 850 10500 850
+Wire Wire Line
+ 9750 550 9750 1200
+Connection ~ 9750 850
+Wire Wire Line
+ 9750 550 9950 550
+Wire Wire Line
+ 10250 550 10500 550
+Wire Wire Line
+ 8450 1050 8050 1050
+Wire Wire Line
+ 6900 1050 7750 1050
+Wire Wire Line
+ 8150 1850 8150 1050
+Connection ~ 8150 1050
+Wire Wire Line
+ 8450 1850 9300 1850
+Wire Wire Line
+ 8750 1850 8750 1250
+Wire Wire Line
+ 9450 1400 8750 1400
+Connection ~ 8750 1400
+Connection ~ 8750 1850
+Wire Wire Line
+ 7050 1050 7050 2350
+Wire Wire Line
+ 7050 2350 8700 2350
+Connection ~ 7050 1050
+Wire Wire Line
+ 9000 2350 10150 2350
+Wire Wire Line
+ 9750 2350 9750 1600
+Wire Wire Line
+ 9600 1850 9750 1850
+Connection ~ 9750 1850
+Wire Wire Line
+ 10150 2350 10150 1750
+Connection ~ 9750 2350
+Wire Wire Line
+ 10150 850 10150 1450
+Connection ~ 10150 850
+Wire Wire Line
+ 9300 2800 11050 2800
+Wire Wire Line
+ 10300 2500 10300 3150
+Connection ~ 10300 2800
+Wire Wire Line
+ 10300 2500 10500 2500
+Wire Wire Line
+ 10800 2500 11050 2500
+Wire Wire Line
+ 9000 3000 8600 3000
+Wire Wire Line
+ 8700 3800 8700 3000
+Connection ~ 8700 3000
+Wire Wire Line
+ 9000 3800 9850 3800
+Wire Wire Line
+ 9300 3800 9300 3200
+Wire Wire Line
+ 10000 3350 9300 3350
+Connection ~ 9300 3350
+Connection ~ 9300 3800
+Wire Wire Line
+ 7850 3000 7850 4300
+Wire Wire Line
+ 7850 4300 9250 4300
+Connection ~ 7850 3000
+Wire Wire Line
+ 9550 4300 10700 4300
+Wire Wire Line
+ 10300 4300 10300 3550
+Wire Wire Line
+ 10150 3800 10300 3800
+Connection ~ 10300 3800
+Wire Wire Line
+ 10700 4300 10700 3700
+Connection ~ 10300 4300
+Wire Wire Line
+ 10700 2800 10700 3400
+Connection ~ 10700 2800
+Wire Wire Line
+ 2250 3300 4000 3300
+Wire Wire Line
+ 3250 3000 3250 3650
+Connection ~ 3250 3300
+Wire Wire Line
+ 3250 3000 3450 3000
+Wire Wire Line
+ 3750 3000 4000 3000
+Wire Wire Line
+ 1950 3500 1550 3500
+Wire Wire Line
+ 1650 4300 1650 3500
+Connection ~ 1650 3500
+Wire Wire Line
+ 1950 4300 2800 4300
+Wire Wire Line
+ 2250 4300 2250 3700
+Wire Wire Line
+ 2950 3850 2250 3850
+Connection ~ 2250 3850
+Connection ~ 2250 4300
+Wire Wire Line
+ 2500 4800 4100 4800
+Wire Wire Line
+ 3250 4800 3250 4050
+Wire Wire Line
+ 3100 4300 3250 4300
+Connection ~ 3250 4300
+Wire Wire Line
+ 3650 4800 3650 4200
+Connection ~ 3250 4800
+Wire Wire Line
+ 3650 3300 3650 3900
+Connection ~ 3650 3300
+Wire Wire Line
+ 2350 5350 4100 5350
+Wire Wire Line
+ 3350 5050 3350 5700
+Connection ~ 3350 5350
+Wire Wire Line
+ 3350 5050 3550 5050
+Wire Wire Line
+ 3850 5050 4100 5050
+Wire Wire Line
+ 2050 5550 1650 5550
+Wire Wire Line
+ 1750 6350 1750 5550
+Connection ~ 1750 5550
+Wire Wire Line
+ 2050 6350 2900 6350
+Wire Wire Line
+ 2350 6350 2350 5750
+Wire Wire Line
+ 3050 5900 2350 5900
+Connection ~ 2350 5900
+Connection ~ 2350 6350
+Wire Wire Line
+ 800 6850 2300 6850
+Wire Wire Line
+ 2600 6850 3750 6850
+Wire Wire Line
+ 3350 6850 3350 6100
+Wire Wire Line
+ 3200 6350 3350 6350
+Connection ~ 3350 6350
+Wire Wire Line
+ 3750 6250 3750 7350
+Connection ~ 3350 6850
+Wire Wire Line
+ 3750 5350 3750 5950
+Connection ~ 3750 5350
+Wire Wire Line
+ 2500 950 4250 950
+Wire Wire Line
+ 3500 650 3500 1300
+Connection ~ 3500 950
+Wire Wire Line
+ 3500 650 3700 650
+Wire Wire Line
+ 4000 650 4250 650
+Wire Wire Line
+ 2200 1150 1800 1150
+Wire Wire Line
+ 1900 1950 1900 1150
+Connection ~ 1900 1150
+Wire Wire Line
+ 2200 1950 3050 1950
+Wire Wire Line
+ 2500 1950 2500 1350
+Wire Wire Line
+ 3200 1500 2500 1500
+Connection ~ 2500 1500
+Connection ~ 2500 1950
+Wire Wire Line
+ 950 1150 950 2450
+Wire Wire Line
+ 950 2450 2450 2450
+Connection ~ 950 1150
+Wire Wire Line
+ 2750 2450 4350 2450
+Wire Wire Line
+ 3500 2450 3500 1700
+Wire Wire Line
+ 3350 1950 3500 1950
+Connection ~ 3500 1950
+Wire Wire Line
+ 3900 2450 3900 1850
+Connection ~ 3500 2450
+Wire Wire Line
+ 3900 950 3900 1550
+Connection ~ 3900 950
+Wire Wire Line
+ 5700 3550 7450 3550
+Wire Wire Line
+ 6700 3250 6700 3900
+Connection ~ 6700 3550
+Wire Wire Line
+ 6700 3250 6900 3250
+Wire Wire Line
+ 7200 3250 7450 3250
+Wire Wire Line
+ 5400 3750 5000 3750
+Wire Wire Line
+ 5100 4550 5100 3750
+Connection ~ 5100 3750
+Wire Wire Line
+ 5400 4550 6250 4550
+Wire Wire Line
+ 5700 4550 5700 3950
+Wire Wire Line
+ 6400 4100 5700 4100
+Connection ~ 5700 4100
+Connection ~ 5700 4550
+Wire Wire Line
+ 4250 5050 5650 5050
+Wire Wire Line
+ 5950 5050 7200 5050
+Wire Wire Line
+ 6700 5050 6700 4300
+Wire Wire Line
+ 6550 4550 6700 4550
+Connection ~ 6700 4550
+Wire Wire Line
+ 7100 5050 7100 4450
+Connection ~ 6700 5050
+Wire Wire Line
+ 7100 3550 7100 4150
+Connection ~ 7100 3550
+Wire Wire Line
+ 9000 4750 10750 4750
+Wire Wire Line
+ 10000 4450 10000 5100
+Connection ~ 10000 4750
+Wire Wire Line
+ 10000 4450 10200 4450
+Wire Wire Line
+ 10500 4450 10750 4450
+Wire Wire Line
+ 8700 4950 8300 4950
+Wire Wire Line
+ 8400 5750 8400 4950
+Connection ~ 8400 4950
+Wire Wire Line
+ 8700 5750 9550 5750
+Wire Wire Line
+ 9000 5750 9000 5150
+Wire Wire Line
+ 9700 5300 9000 5300
+Connection ~ 9000 5300
+Connection ~ 9000 5750
+Wire Wire Line
+ 7600 6250 8950 6250
+Wire Wire Line
+ 9250 6250 10400 6250
+Wire Wire Line
+ 10000 6250 10000 5500
+Wire Wire Line
+ 9850 5750 10000 5750
+Connection ~ 10000 5750
+Wire Wire Line
+ 10400 6250 10400 5650
+Connection ~ 10000 6250
+Wire Wire Line
+ 10400 4750 10400 5350
+Connection ~ 10400 4750
+Wire Wire Line
+ 5450 2050 5550 2050
+Wire Wire Line
+ 5550 2050 5550 2500
+Wire Wire Line
+ 6050 2350 6050 2000
+Wire Wire Line
+ 7450 5150 7200 5150
+Wire Wire Line
+ 10150 2250 10650 2250
+Wire Wire Line
+ 10700 4150 11050 4150
+Wire Wire Line
+ 10400 6200 10800 6200
+Wire Wire Line
+ 3750 7350 4000 7350
+Connection ~ 3900 2450
+Connection ~ 3650 4800
+Wire Wire Line
+ 7200 5150 7200 5050
+Connection ~ 7100 5050
+Connection ~ 7100 7250
+Connection ~ 10400 6200
+Connection ~ 10150 2250
+Connection ~ 10700 4150
+Connection ~ 3750 6850
+Wire Wire Line
+ 750 3500 1250 3500
+Wire Wire Line
+ 800 3500 800 4800
+Connection ~ 800 3500
+Wire Wire Line
+ 800 1150 1500 1150
+Wire Wire Line
+ 7700 3000 8300 3000
+Wire Wire Line
+ 7550 4950 8000 4950
+Wire Wire Line
+ 7600 4950 7600 6250
+Connection ~ 7600 4950
+Wire Wire Line
+ 4150 3750 4700 3750
+Wire Wire Line
+ 4250 3750 4250 5050
+Connection ~ 4250 3750
+Wire Wire Line
+ 4100 5950 4700 5950
+Wire Wire Line
+ 4200 5950 4200 7250
+Connection ~ 4200 5950
+$Comp
+L PORT U1
+U 8 1 67B1700C
+P 7450 3000
+F 0 "U1" H 7500 3100 30 0000 C CNN
+F 1 "PORT" H 7450 3000 30 0000 C CNN
+F 2 "" H 7450 3000 60 0000 C CNN
+F 3 "" H 7450 3000 60 0000 C CNN
+ 8 7450 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 67B1700D
+P 11300 2800
+F 0 "U1" H 11350 2900 30 0000 C CNN
+F 1 "PORT" H 11300 2800 30 0000 C CNN
+F 2 "" H 11300 2800 60 0000 C CNN
+F 3 "" H 11300 2800 60 0000 C CNN
+ 7 11300 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 67B1700E
+P 550 1150
+F 0 "U1" H 600 1250 30 0000 C CNN
+F 1 "PORT" H 550 1150 30 0000 C CNN
+F 2 "" H 550 1150 60 0000 C CNN
+F 3 "" H 550 1150 60 0000 C CNN
+ 4 550 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 67B1700F
+P 7700 3550
+F 0 "U1" H 7750 3650 30 0000 C CNN
+F 1 "PORT" H 7700 3550 30 0000 C CNN
+F 2 "" H 7700 3550 60 0000 C CNN
+F 3 "" H 7700 3550 60 0000 C CNN
+ 11 7700 3550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 17 1 67B17010
+P 7700 5750
+F 0 "U1" H 7750 5850 30 0000 C CNN
+F 1 "PORT" H 7700 5750 30 0000 C CNN
+F 2 "" H 7700 5750 60 0000 C CNN
+F 3 "" H 7700 5750 60 0000 C CNN
+ 17 7700 5750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 67B17011
+P 4500 950
+F 0 "U1" H 4550 1050 30 0000 C CNN
+F 1 "PORT" H 4500 950 30 0000 C CNN
+F 2 "" H 4500 950 60 0000 C CNN
+F 3 "" H 4500 950 60 0000 C CNN
+ 2 4500 950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 67B17012
+P 500 3500
+F 0 "U1" H 550 3600 30 0000 C CNN
+F 1 "PORT" H 500 3500 30 0000 C CNN
+F 2 "" H 500 3500 60 0000 C CNN
+F 3 "" H 500 3500 60 0000 C CNN
+ 10 500 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 67B17013
+P 500 5550
+F 0 "U1" H 550 5650 30 0000 C CNN
+F 1 "PORT" H 500 5550 30 0000 C CNN
+F 2 "" H 500 5550 60 0000 C CNN
+F 3 "" H 500 5550 60 0000 C CNN
+ 16 500 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 67B17014
+P 10750 850
+F 0 "U1" H 10800 950 30 0000 C CNN
+F 1 "PORT" H 10750 850 30 0000 C CNN
+F 2 "" H 10750 850 60 0000 C CNN
+F 3 "" H 10750 850 60 0000 C CNN
+ 1 10750 850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 18 1 67B17015
+P 3850 5950
+F 0 "U1" H 3900 6050 30 0000 C CNN
+F 1 "PORT" H 3850 5950 30 0000 C CNN
+F 2 "" H 3850 5950 60 0000 C CNN
+F 3 "" H 3850 5950 60 0000 C CNN
+ 18 3850 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 67B17016
+P 6050 2600
+F 0 "U1" H 6100 2700 30 0000 C CNN
+F 1 "PORT" H 6050 2600 30 0000 C CNN
+F 2 "" H 6050 2600 60 0000 C CNN
+F 3 "" H 6050 2600 60 0000 C CNN
+ 5 6050 2600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 13 1 67B17017
+P 11000 4750
+F 0 "U1" H 11050 4850 30 0000 C CNN
+F 1 "PORT" H 11000 4750 30 0000 C CNN
+F 2 "" H 11000 4750 60 0000 C CNN
+F 3 "" H 11000 4750 60 0000 C CNN
+ 13 11000 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 67B17018
+P 3900 3750
+F 0 "U1" H 3950 3850 30 0000 C CNN
+F 1 "PORT" H 3900 3750 30 0000 C CNN
+F 2 "" H 3900 3750 60 0000 C CNN
+F 3 "" H 3900 3750 60 0000 C CNN
+ 12 3900 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 67B17019
+P 5550 2750
+F 0 "U1" H 5600 2850 30 0000 C CNN
+F 1 "PORT" H 5550 2750 30 0000 C CNN
+F 2 "" H 5550 2750 60 0000 C CNN
+F 3 "" H 5550 2750 60 0000 C CNN
+ 6 5550 2750
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 9 1 67B1701A
+P 4250 3300
+F 0 "U1" H 4300 3400 30 0000 C CNN
+F 1 "PORT" H 4250 3300 30 0000 C CNN
+F 2 "" H 4250 3300 60 0000 C CNN
+F 3 "" H 4250 3300 60 0000 C CNN
+ 9 4250 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 67B1701B
+P 6650 1050
+F 0 "U1" H 6700 1150 30 0000 C CNN
+F 1 "PORT" H 6650 1050 30 0000 C CNN
+F 2 "" H 6650 1050 60 0000 C CNN
+F 3 "" H 6650 1050 60 0000 C CNN
+ 3 6650 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 67B1701C
+P 7300 4950
+F 0 "U1" H 7350 5050 30 0000 C CNN
+F 1 "PORT" H 7300 4950 30 0000 C CNN
+F 2 "" H 7300 4950 60 0000 C CNN
+F 3 "" H 7300 4950 60 0000 C CNN
+ 14 7300 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 67B1701D
+P 4350 5350
+F 0 "U1" H 4400 5450 30 0000 C CNN
+F 1 "PORT" H 4350 5350 30 0000 C CNN
+F 2 "" H 4350 5350 60 0000 C CNN
+F 3 "" H 4350 5350 60 0000 C CNN
+ 15 4350 5350
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 800 4800 2200 4800
+Wire Wire Line
+ 750 5550 1350 5550
+Wire Wire Line
+ 800 5550 800 6850
+Connection ~ 800 5550
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/L603/l603.sub b/library/SubcircuitLibrary/L603/l603.sub
new file mode 100644
index 00000000..02fdb163
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603.sub
@@ -0,0 +1,72 @@
+* Subcircuit l603
+.subckt l603 net-_d1-pad1_ net-_d2-pad1_ net-_d5-pad2_ net-_d6-pad2_ gnd com net-_d10-pad2_ net-_d13-pad2_ net-_d11-pad2_ net-_d15-pad2_ net-_d12-pad2_ net-_d17-pad2_ net-_d14-pad1_ net-_d21-pad2_ net-_d16-pad1_ net-_d23-pad2_ net-_d18-pad1_ net-_d24-pad2_
+* d:\fossee\esim\library\subcircuitlibrary\l603\l603.cir
+.include NPN.lib
+.include D.lib
+r20 net-_d24-pad2_ net-_q15-pad2_ 2.7k
+q15 net-_d18-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r23 net-_q15-pad2_ net-_q15-pad3_ 7.2k
+r24 net-_q15-pad3_ gnd 3k
+q16 net-_d18-pad1_ net-_q15-pad3_ gnd Q2N2222
+d18 net-_d18-pad1_ com 1N4148
+d24 gnd net-_d24-pad2_ 1N4148
+d22 gnd net-_d18-pad1_ 1N4148
+r1 net-_d5-pad2_ net-_q1-pad2_ 2.7k
+q1 net-_d1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r3 net-_q1-pad2_ net-_q1-pad3_ 7.2k
+r4 net-_q1-pad3_ gnd 3k
+q3 net-_d1-pad1_ net-_q1-pad3_ gnd Q2N2222
+d1 net-_d1-pad1_ com 1N4148
+d5 gnd net-_d5-pad2_ 1N4148
+d3 gnd net-_d1-pad1_ 1N4148
+r7 net-_d13-pad2_ net-_q5-pad2_ 2.7k
+q5 net-_d10-pad2_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad2_ net-_q5-pad3_ 7.2k
+r11 net-_q5-pad3_ gnd 3k
+q6 net-_d10-pad2_ net-_q5-pad3_ gnd Q2N2222
+d7 net-_d10-pad2_ com 1N4148
+d13 gnd net-_d13-pad2_ 1N4148
+d10 gnd net-_d10-pad2_ 1N4148
+r8 net-_d15-pad2_ net-_q7-pad2_ 2.7k
+q7 net-_d11-pad2_ net-_q7-pad2_ net-_q7-pad3_ Q2N2222
+r12 net-_q7-pad2_ net-_q7-pad3_ 7.2k
+r13 net-_q7-pad3_ gnd 3k
+q9 net-_d11-pad2_ net-_q7-pad3_ gnd Q2N2222
+d8 net-_d11-pad2_ com 1N4148
+d15 gnd net-_d15-pad2_ 1N4148
+d11 gnd net-_d11-pad2_ 1N4148
+r17 net-_d23-pad2_ net-_q13-pad2_ 2.7k
+q13 net-_d16-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+r21 net-_q13-pad2_ net-_q13-pad3_ 7.2k
+r22 net-_q13-pad3_ gnd 3k
+q14 net-_d16-pad1_ net-_q13-pad3_ gnd Q2N2222
+d16 net-_d16-pad1_ com 1N4148
+d23 gnd net-_d23-pad2_ 1N4148
+d20 gnd net-_d16-pad1_ 1N4148
+r2 net-_d6-pad2_ net-_q2-pad2_ 2.7k
+q2 net-_d2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r5 net-_q2-pad2_ net-_q2-pad3_ 7.2k
+r6 net-_q2-pad3_ gnd 3k
+q4 net-_d2-pad1_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ com 1N4148
+d6 gnd net-_d6-pad2_ 1N4148
+d4 gnd net-_d2-pad1_ 1N4148
+r9 net-_d17-pad2_ net-_q8-pad2_ 2.7k
+q8 net-_d12-pad2_ net-_q8-pad2_ net-_q10-pad2_ Q2N2222
+r14 net-_q8-pad2_ net-_q10-pad2_ 7.2k
+r15 net-_q10-pad2_ gnd 3k
+q10 net-_d12-pad2_ net-_q10-pad2_ gnd Q2N2222
+d9 net-_d12-pad2_ com 1N4148
+d17 gnd net-_d17-pad2_ 1N4148
+d12 gnd net-_d12-pad2_ 1N4148
+r16 net-_d21-pad2_ net-_q11-pad2_ 2.7k
+q11 net-_d14-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r18 net-_q11-pad2_ net-_q11-pad3_ 7.2k
+r19 net-_q11-pad3_ gnd 3k
+q12 net-_d14-pad1_ net-_q11-pad3_ gnd Q2N2222
+d14 net-_d14-pad1_ com 1N4148
+d21 gnd net-_d21-pad2_ 1N4148
+d19 gnd net-_d14-pad1_ 1N4148
+* Control Statements
+
+.ends l603 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/L603/l603_Previous_Values.xml b/library/SubcircuitLibrary/L603/l603_Previous_Values.xml
new file mode 100644
index 00000000..8d580df4
--- /dev/null
+++ b/library/SubcircuitLibrary/L603/l603_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><d18><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d18><d24><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d24><d22><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d22><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><d1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><d3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><d7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d7><d13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d13><d10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d10><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><d8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d8><d15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d15><d11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d11><q13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><d16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d16><d23><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d23><d20><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d20><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><d2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d6><d4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><d9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d9><d17><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d17><d12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d12><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><d14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d14><d21><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d21><d19><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d19></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/L604/03-cache.lib b/library/SubcircuitLibrary/L604/03-cache.lib
new file mode 100644
index 00000000..2a23e8a6
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/03-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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/L604/03.sch b/library/SubcircuitLibrary/L604/03.sch
new file mode 100644
index 00000000..817ade68
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/03.sch
@@ -0,0 +1,1357 @@
+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:L604-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 resistor R20
+U 1 1 675AC6EE
+P 4800 6000
+F 0 "R20" H 4850 6130 50 0000 C CNN
+F 1 "10.5k" H 4850 5950 50 0000 C CNN
+F 2 "" H 4850 5980 30 0000 C CNN
+F 3 "" V 4850 6050 30 0000 C CNN
+ 1 4800 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 675AC7EB
+P 5600 5950
+F 0 "Q15" H 5500 6000 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 6100 50 0000 R CNN
+F 2 "" H 5800 6050 29 0000 C CNN
+F 3 "" H 5600 5950 60 0000 C CNN
+ 1 5600 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R23
+U 1 1 675AC816
+P 5200 6800
+F 0 "R23" H 5250 6930 50 0000 C CNN
+F 1 "7.2k" H 5250 6750 50 0000 C CNN
+F 2 "" H 5250 6780 30 0000 C CNN
+F 3 "" V 5250 6850 30 0000 C CNN
+ 1 5200 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R24
+U 1 1 675AC852
+P 6350 6800
+F 0 "R24" H 6400 6930 50 0000 C CNN
+F 1 "3k" H 6400 6750 50 0000 C CNN
+F 2 "" H 6400 6780 30 0000 C CNN
+F 3 "" V 6400 6850 30 0000 C CNN
+ 1 6350 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 675AC892
+P 6600 6300
+F 0 "Q16" H 6500 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 6450 50 0000 R CNN
+F 2 "" H 6800 6400 29 0000 C CNN
+F 3 "" H 6600 6300 60 0000 C CNN
+ 1 6600 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D18
+U 1 1 675AC8FA
+P 7050 5450
+F 0 "D18" H 7050 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 5350 50 0000 C CNN
+F 2 "" H 7050 5450 60 0000 C CNN
+F 3 "" H 7050 5450 60 0000 C CNN
+ 1 7050 5450
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 5450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D24
+U 1 1 675AC95D
+P 5800 7250
+F 0 "D24" H 5800 7350 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 7150 50 0000 C CNN
+F 2 "" H 5800 7250 60 0000 C CNN
+F 3 "" H 5800 7250 60 0000 C CNN
+ 1 5800 7250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 675AC9E9
+P 4050 5950
+F 0 "U1" H 4100 6050 30 0000 C CNN
+F 1 "PORT" H 4050 5950 30 0000 C CNN
+F 2 "" H 4050 5950 60 0000 C CNN
+F 3 "" H 4050 5950 60 0000 C CNN
+ 16 4050 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 675ACA4A
+P 7700 5750
+F 0 "U1" H 7750 5850 30 0000 C CNN
+F 1 "PORT" H 7700 5750 30 0000 C CNN
+F 2 "" H 7700 5750 60 0000 C CNN
+F 3 "" H 7700 5750 60 0000 C CNN
+ 15 7700 5750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D22
+U 1 1 675ACFC0
+P 7100 6500
+F 0 "D22" H 7100 6600 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 6400 50 0000 C CNN
+F 2 "" H 7100 6500 60 0000 C CNN
+F 3 "" H 7100 6500 60 0000 C CNN
+ 1 7100 6500
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 675AD30E
+P 7850 1100
+F 0 "R1" H 7900 1230 50 0000 C CNN
+F 1 "10.5k" H 7900 1050 50 0000 C CNN
+F 2 "" H 7900 1080 30 0000 C CNN
+F 3 "" V 7900 1150 30 0000 C CNN
+ 1 7850 1100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 675AD314
+P 8650 1050
+F 0 "Q1" H 8550 1100 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 1200 50 0000 R CNN
+F 2 "" H 8850 1150 29 0000 C CNN
+F 3 "" H 8650 1050 60 0000 C CNN
+ 1 8650 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 675AD31A
+P 8250 1900
+F 0 "R3" H 8300 2030 50 0000 C CNN
+F 1 "7.2k" H 8300 1850 50 0000 C CNN
+F 2 "" H 8300 1880 30 0000 C CNN
+F 3 "" V 8300 1950 30 0000 C CNN
+ 1 8250 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 675AD320
+P 9400 1900
+F 0 "R4" H 9450 2030 50 0000 C CNN
+F 1 "3k" H 9450 1850 50 0000 C CNN
+F 2 "" H 9450 1880 30 0000 C CNN
+F 3 "" V 9450 1950 30 0000 C CNN
+ 1 9400 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 675AD326
+P 9650 1400
+F 0 "Q3" H 9550 1450 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 1550 50 0000 R CNN
+F 2 "" H 9850 1500 29 0000 C CNN
+F 3 "" H 9650 1400 60 0000 C CNN
+ 1 9650 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 675AD32C
+P 10100 550
+F 0 "D1" H 10100 650 50 0000 C CNN
+F 1 "eSim_Diode" H 10100 450 50 0000 C CNN
+F 2 "" H 10100 550 60 0000 C CNN
+F 3 "" H 10100 550 60 0000 C CNN
+ 1 10100 550
+ 1 0 0 -1
+$EndComp
+Text GLabel 10500 550 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D5
+U 1 1 675AD333
+P 8850 2350
+F 0 "D5" H 8850 2450 50 0000 C CNN
+F 1 "eSim_Diode" H 8850 2250 50 0000 C CNN
+F 2 "" H 8850 2350 60 0000 C CNN
+F 3 "" H 8850 2350 60 0000 C CNN
+ 1 8850 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 675AD339
+P 7100 1050
+F 0 "U1" H 7150 1150 30 0000 C CNN
+F 1 "PORT" H 7100 1050 30 0000 C CNN
+F 2 "" H 7100 1050 60 0000 C CNN
+F 3 "" H 7100 1050 60 0000 C CNN
+ 3 7100 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 675AD33F
+P 10750 850
+F 0 "U1" H 10800 950 30 0000 C CNN
+F 1 "PORT" H 10750 850 30 0000 C CNN
+F 2 "" H 10750 850 60 0000 C CNN
+F 3 "" H 10750 850 60 0000 C CNN
+ 1 10750 850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 675AD35A
+P 10150 1600
+F 0 "D3" H 10150 1700 50 0000 C CNN
+F 1 "eSim_Diode" H 10150 1500 50 0000 C CNN
+F 2 "" H 10150 1600 60 0000 C CNN
+F 3 "" H 10150 1600 60 0000 C CNN
+ 1 10150 1600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 675AE602
+P 8400 3050
+F 0 "R7" H 8450 3180 50 0000 C CNN
+F 1 "10.5k" H 8450 3000 50 0000 C CNN
+F 2 "" H 8450 3030 30 0000 C CNN
+F 3 "" V 8450 3100 30 0000 C CNN
+ 1 8400 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 675AE608
+P 9200 3000
+F 0 "Q5" H 9100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 9150 3150 50 0000 R CNN
+F 2 "" H 9400 3100 29 0000 C CNN
+F 3 "" H 9200 3000 60 0000 C CNN
+ 1 9200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 675AE60E
+P 8800 3850
+F 0 "R10" H 8850 3980 50 0000 C CNN
+F 1 "7.2k" H 8850 3800 50 0000 C CNN
+F 2 "" H 8850 3830 30 0000 C CNN
+F 3 "" V 8850 3900 30 0000 C CNN
+ 1 8800 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 675AE614
+P 9950 3850
+F 0 "R11" H 10000 3980 50 0000 C CNN
+F 1 "3k" H 10000 3800 50 0000 C CNN
+F 2 "" H 10000 3830 30 0000 C CNN
+F 3 "" V 10000 3900 30 0000 C CNN
+ 1 9950 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 675AE61A
+P 10200 3350
+F 0 "Q6" H 10100 3400 50 0000 R CNN
+F 1 "eSim_NPN" H 10150 3500 50 0000 R CNN
+F 2 "" H 10400 3450 29 0000 C CNN
+F 3 "" H 10200 3350 60 0000 C CNN
+ 1 10200 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 675AE620
+P 10650 2500
+F 0 "D7" H 10650 2600 50 0000 C CNN
+F 1 "eSim_Diode" H 10650 2400 50 0000 C CNN
+F 2 "" H 10650 2500 60 0000 C CNN
+F 3 "" H 10650 2500 60 0000 C CNN
+ 1 10650 2500
+ 1 0 0 -1
+$EndComp
+Text GLabel 11050 2500 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D13
+U 1 1 675AE627
+P 9400 4300
+F 0 "D13" H 9400 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 4200 50 0000 C CNN
+F 2 "" H 9400 4300 60 0000 C CNN
+F 3 "" H 9400 4300 60 0000 C CNN
+ 1 9400 4300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 675AE62D
+P 7650 3000
+F 0 "U1" H 7700 3100 30 0000 C CNN
+F 1 "PORT" H 7650 3000 30 0000 C CNN
+F 2 "" H 7650 3000 60 0000 C CNN
+F 3 "" H 7650 3000 60 0000 C CNN
+ 6 7650 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 675AE633
+P 11300 2800
+F 0 "U1" H 11350 2900 30 0000 C CNN
+F 1 "PORT" H 11300 2800 30 0000 C CNN
+F 2 "" H 11300 2800 60 0000 C CNN
+F 3 "" H 11300 2800 60 0000 C CNN
+ 5 11300 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 675AE64E
+P 10700 3550
+F 0 "D10" H 10700 3650 50 0000 C CNN
+F 1 "eSim_Diode" H 10700 3450 50 0000 C CNN
+F 2 "" H 10700 3550 60 0000 C CNN
+F 3 "" H 10700 3550 60 0000 C CNN
+ 1 10700 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 675AE964
+P 1350 3550
+F 0 "R8" H 1400 3680 50 0000 C CNN
+F 1 "10.5k" H 1400 3500 50 0000 C CNN
+F 2 "" H 1400 3530 30 0000 C CNN
+F 3 "" V 1400 3600 30 0000 C CNN
+ 1 1350 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 675AE96A
+P 2150 3500
+F 0 "Q7" H 2050 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 3650 50 0000 R CNN
+F 2 "" H 2350 3600 29 0000 C CNN
+F 3 "" H 2150 3500 60 0000 C CNN
+ 1 2150 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 675AE970
+P 1750 4350
+F 0 "R12" H 1800 4480 50 0000 C CNN
+F 1 "7.2k" H 1800 4300 50 0000 C CNN
+F 2 "" H 1800 4330 30 0000 C CNN
+F 3 "" V 1800 4400 30 0000 C CNN
+ 1 1750 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R13
+U 1 1 675AE976
+P 2900 4350
+F 0 "R13" H 2950 4480 50 0000 C CNN
+F 1 "3k" H 2950 4300 50 0000 C CNN
+F 2 "" H 2950 4330 30 0000 C CNN
+F 3 "" V 2950 4400 30 0000 C CNN
+ 1 2900 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 675AE97C
+P 3150 3850
+F 0 "Q9" H 3050 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 4000 50 0000 R CNN
+F 2 "" H 3350 3950 29 0000 C CNN
+F 3 "" H 3150 3850 60 0000 C CNN
+ 1 3150 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 675AE982
+P 3600 3000
+F 0 "D8" H 3600 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 3600 2900 50 0000 C CNN
+F 2 "" H 3600 3000 60 0000 C CNN
+F 3 "" H 3600 3000 60 0000 C CNN
+ 1 3600 3000
+ 1 0 0 -1
+$EndComp
+Text GLabel 4000 3000 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D15
+U 1 1 675AE989
+P 2350 4800
+F 0 "D15" H 2350 4900 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 4700 50 0000 C CNN
+F 2 "" H 2350 4800 60 0000 C CNN
+F 3 "" H 2350 4800 60 0000 C CNN
+ 1 2350 4800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 675AE98F
+P 600 3500
+F 0 "U1" H 650 3600 30 0000 C CNN
+F 1 "PORT" H 600 3500 30 0000 C CNN
+F 2 "" H 600 3500 60 0000 C CNN
+F 3 "" H 600 3500 60 0000 C CNN
+ 8 600 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 675AE995
+P 4250 3300
+F 0 "U1" H 4300 3400 30 0000 C CNN
+F 1 "PORT" H 4250 3300 30 0000 C CNN
+F 2 "" H 4250 3300 60 0000 C CNN
+F 3 "" H 4250 3300 60 0000 C CNN
+ 7 4250 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 675AE9B0
+P 3650 4050
+F 0 "D11" H 3650 4150 50 0000 C CNN
+F 1 "eSim_Diode" H 3650 3950 50 0000 C CNN
+F 2 "" H 3650 4050 60 0000 C CNN
+F 3 "" H 3650 4050 60 0000 C CNN
+ 1 3650 4050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 675AEB18
+P 1450 5600
+F 0 "R17" H 1500 5730 50 0000 C CNN
+F 1 "10.5k" H 1500 5550 50 0000 C CNN
+F 2 "" H 1500 5580 30 0000 C CNN
+F 3 "" V 1500 5650 30 0000 C CNN
+ 1 1450 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 675AEB1E
+P 2250 5550
+F 0 "Q13" H 2150 5600 50 0000 R CNN
+F 1 "eSim_NPN" H 2200 5700 50 0000 R CNN
+F 2 "" H 2450 5650 29 0000 C CNN
+F 3 "" H 2250 5550 60 0000 C CNN
+ 1 2250 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 675AEB24
+P 1850 6400
+F 0 "R21" H 1900 6530 50 0000 C CNN
+F 1 "7.2k" H 1900 6350 50 0000 C CNN
+F 2 "" H 1900 6380 30 0000 C CNN
+F 3 "" V 1900 6450 30 0000 C CNN
+ 1 1850 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 675AEB2A
+P 3000 6400
+F 0 "R22" H 3050 6530 50 0000 C CNN
+F 1 "3k" H 3050 6350 50 0000 C CNN
+F 2 "" H 3050 6380 30 0000 C CNN
+F 3 "" V 3050 6450 30 0000 C CNN
+ 1 3000 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 675AEB30
+P 3250 5900
+F 0 "Q14" H 3150 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 6050 50 0000 R CNN
+F 2 "" H 3450 6000 29 0000 C CNN
+F 3 "" H 3250 5900 60 0000 C CNN
+ 1 3250 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 675AEB36
+P 3700 5050
+F 0 "D16" H 3700 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 3700 4950 50 0000 C CNN
+F 2 "" H 3700 5050 60 0000 C CNN
+F 3 "" H 3700 5050 60 0000 C CNN
+ 1 3700 5050
+ 1 0 0 -1
+$EndComp
+Text GLabel 4100 5050 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D23
+U 1 1 675AEB3D
+P 2450 6850
+F 0 "D23" H 2450 6950 50 0000 C CNN
+F 1 "eSim_Diode" H 2450 6750 50 0000 C CNN
+F 2 "" H 2450 6850 60 0000 C CNN
+F 3 "" H 2450 6850 60 0000 C CNN
+ 1 2450 6850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 675AEB43
+P 700 5550
+F 0 "U1" H 750 5650 30 0000 C CNN
+F 1 "PORT" H 700 5550 30 0000 C CNN
+F 2 "" H 700 5550 60 0000 C CNN
+F 3 "" H 700 5550 60 0000 C CNN
+ 14 700 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 675AEB49
+P 4350 5350
+F 0 "U1" H 4400 5450 30 0000 C CNN
+F 1 "PORT" H 4350 5350 30 0000 C CNN
+F 2 "" H 4350 5350 60 0000 C CNN
+F 3 "" H 4350 5350 60 0000 C CNN
+ 13 4350 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D20
+U 1 1 675AEB64
+P 3750 6100
+F 0 "D20" H 3750 6200 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 6000 50 0000 C CNN
+F 2 "" H 3750 6100 60 0000 C CNN
+F 3 "" H 3750 6100 60 0000 C CNN
+ 1 3750 6100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 675B0307
+P 1600 1200
+F 0 "R2" H 1650 1330 50 0000 C CNN
+F 1 "10.5k" H 1650 1150 50 0000 C CNN
+F 2 "" H 1650 1180 30 0000 C CNN
+F 3 "" V 1650 1250 30 0000 C CNN
+ 1 1600 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 675B030D
+P 2400 1150
+F 0 "Q2" H 2300 1200 50 0000 R CNN
+F 1 "eSim_NPN" H 2350 1300 50 0000 R CNN
+F 2 "" H 2600 1250 29 0000 C CNN
+F 3 "" H 2400 1150 60 0000 C CNN
+ 1 2400 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 675B0313
+P 2000 2000
+F 0 "R5" H 2050 2130 50 0000 C CNN
+F 1 "7.2k" H 2050 1950 50 0000 C CNN
+F 2 "" H 2050 1980 30 0000 C CNN
+F 3 "" V 2050 2050 30 0000 C CNN
+ 1 2000 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 675B0319
+P 3150 2000
+F 0 "R6" H 3200 2130 50 0000 C CNN
+F 1 "3k" H 3200 1950 50 0000 C CNN
+F 2 "" H 3200 1980 30 0000 C CNN
+F 3 "" V 3200 2050 30 0000 C CNN
+ 1 3150 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 675B031F
+P 3400 1500
+F 0 "Q4" H 3300 1550 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 1650 50 0000 R CNN
+F 2 "" H 3600 1600 29 0000 C CNN
+F 3 "" H 3400 1500 60 0000 C CNN
+ 1 3400 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 675B0325
+P 3850 650
+F 0 "D2" H 3850 750 50 0000 C CNN
+F 1 "eSim_Diode" H 3850 550 50 0000 C CNN
+F 2 "" H 3850 650 60 0000 C CNN
+F 3 "" H 3850 650 60 0000 C CNN
+ 1 3850 650
+ 1 0 0 -1
+$EndComp
+Text GLabel 4250 650 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D6
+U 1 1 675B032C
+P 2600 2450
+F 0 "D6" H 2600 2550 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 2350 50 0000 C CNN
+F 2 "" H 2600 2450 60 0000 C CNN
+F 3 "" H 2600 2450 60 0000 C CNN
+ 1 2600 2450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 675B0332
+P 850 1150
+F 0 "U1" H 900 1250 30 0000 C CNN
+F 1 "PORT" H 850 1150 30 0000 C CNN
+F 2 "" H 850 1150 60 0000 C CNN
+F 3 "" H 850 1150 60 0000 C CNN
+ 4 850 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 675B0338
+P 4500 950
+F 0 "U1" H 4550 1050 30 0000 C CNN
+F 1 "PORT" H 4500 950 30 0000 C CNN
+F 2 "" H 4500 950 60 0000 C CNN
+F 3 "" H 4500 950 60 0000 C CNN
+ 2 4500 950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 675B0353
+P 3900 1700
+F 0 "D4" H 3900 1800 50 0000 C CNN
+F 1 "eSim_Diode" H 3900 1600 50 0000 C CNN
+F 2 "" H 3900 1700 60 0000 C CNN
+F 3 "" H 3900 1700 60 0000 C CNN
+ 1 3900 1700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 675B0F35
+P 4800 3800
+F 0 "R9" H 4850 3930 50 0000 C CNN
+F 1 "10.5k" H 4850 3750 50 0000 C CNN
+F 2 "" H 4850 3780 30 0000 C CNN
+F 3 "" V 4850 3850 30 0000 C CNN
+ 1 4800 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 675B0F3B
+P 5600 3750
+F 0 "Q8" H 5500 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 3900 50 0000 R CNN
+F 2 "" H 5800 3850 29 0000 C CNN
+F 3 "" H 5600 3750 60 0000 C CNN
+ 1 5600 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 675B0F41
+P 5200 4600
+F 0 "R14" H 5250 4730 50 0000 C CNN
+F 1 "7.2k" H 5250 4550 50 0000 C CNN
+F 2 "" H 5250 4580 30 0000 C CNN
+F 3 "" V 5250 4650 30 0000 C CNN
+ 1 5200 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 675B0F47
+P 6350 4600
+F 0 "R15" H 6400 4730 50 0000 C CNN
+F 1 "3k" H 6400 4550 50 0000 C CNN
+F 2 "" H 6400 4580 30 0000 C CNN
+F 3 "" V 6400 4650 30 0000 C CNN
+ 1 6350 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 675B0F4D
+P 6600 4100
+F 0 "Q10" H 6500 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 4250 50 0000 R CNN
+F 2 "" H 6800 4200 29 0000 C CNN
+F 3 "" H 6600 4100 60 0000 C CNN
+ 1 6600 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D9
+U 1 1 675B0F53
+P 7050 3250
+F 0 "D9" H 7050 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 3150 50 0000 C CNN
+F 2 "" H 7050 3250 60 0000 C CNN
+F 3 "" H 7050 3250 60 0000 C CNN
+ 1 7050 3250
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 3250 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D17
+U 1 1 675B0F5A
+P 5800 5050
+F 0 "D17" H 5800 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 4950 50 0000 C CNN
+F 2 "" H 5800 5050 60 0000 C CNN
+F 3 "" H 5800 5050 60 0000 C CNN
+ 1 5800 5050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 675B0F60
+P 4050 3750
+F 0 "U1" H 4100 3850 30 0000 C CNN
+F 1 "PORT" H 4050 3750 30 0000 C CNN
+F 2 "" H 4050 3750 60 0000 C CNN
+F 3 "" H 4050 3750 60 0000 C CNN
+ 10 4050 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 675B0F66
+P 7700 3550
+F 0 "U1" H 7750 3650 30 0000 C CNN
+F 1 "PORT" H 7700 3550 30 0000 C CNN
+F 2 "" H 7700 3550 60 0000 C CNN
+F 3 "" H 7700 3550 60 0000 C CNN
+ 9 7700 3550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 675B0F81
+P 7100 4300
+F 0 "D12" H 7100 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 4200 50 0000 C CNN
+F 2 "" H 7100 4300 60 0000 C CNN
+F 3 "" H 7100 4300 60 0000 C CNN
+ 1 7100 4300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 675B2113
+P 8100 5000
+F 0 "R16" H 8150 5130 50 0000 C CNN
+F 1 "10.5k" H 8150 4950 50 0000 C CNN
+F 2 "" H 8150 4980 30 0000 C CNN
+F 3 "" V 8150 5050 30 0000 C CNN
+ 1 8100 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 675B2119
+P 8900 4950
+F 0 "Q11" H 8800 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 5100 50 0000 R CNN
+F 2 "" H 9100 5050 29 0000 C CNN
+F 3 "" H 8900 4950 60 0000 C CNN
+ 1 8900 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 675B211F
+P 8500 5800
+F 0 "R18" H 8550 5930 50 0000 C CNN
+F 1 "7.2k" H 8550 5750 50 0000 C CNN
+F 2 "" H 8550 5780 30 0000 C CNN
+F 3 "" V 8550 5850 30 0000 C CNN
+ 1 8500 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R19
+U 1 1 675B2125
+P 9650 5800
+F 0 "R19" H 9700 5930 50 0000 C CNN
+F 1 "3k" H 9700 5750 50 0000 C CNN
+F 2 "" H 9700 5780 30 0000 C CNN
+F 3 "" V 9700 5850 30 0000 C CNN
+ 1 9650 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 675B212B
+P 9900 5300
+F 0 "Q12" H 9800 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 5450 50 0000 R CNN
+F 2 "" H 10100 5400 29 0000 C CNN
+F 3 "" H 9900 5300 60 0000 C CNN
+ 1 9900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 675B2131
+P 10350 4450
+F 0 "D14" H 10350 4550 50 0000 C CNN
+F 1 "eSim_Diode" H 10350 4350 50 0000 C CNN
+F 2 "" H 10350 4450 60 0000 C CNN
+F 3 "" H 10350 4450 60 0000 C CNN
+ 1 10350 4450
+ 1 0 0 -1
+$EndComp
+Text GLabel 10750 4450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D21
+U 1 1 675B2138
+P 9100 6250
+F 0 "D21" H 9100 6350 50 0000 C CNN
+F 1 "eSim_Diode" H 9100 6150 50 0000 C CNN
+F 2 "" H 9100 6250 60 0000 C CNN
+F 3 "" H 9100 6250 60 0000 C CNN
+ 1 9100 6250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 675B213E
+P 7350 4950
+F 0 "U1" H 7400 5050 30 0000 C CNN
+F 1 "PORT" H 7350 4950 30 0000 C CNN
+F 2 "" H 7350 4950 60 0000 C CNN
+F 3 "" H 7350 4950 60 0000 C CNN
+ 12 7350 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 675B2144
+P 11000 4750
+F 0 "U1" H 11050 4850 30 0000 C CNN
+F 1 "PORT" H 11000 4750 30 0000 C CNN
+F 2 "" H 11000 4750 60 0000 C CNN
+F 3 "" H 11000 4750 60 0000 C CNN
+ 11 11000 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D19
+U 1 1 675B215F
+P 10400 5500
+F 0 "D19" H 10400 5600 50 0000 C CNN
+F 1 "eSim_Diode" H 10400 5400 50 0000 C CNN
+F 2 "" H 10400 5500 60 0000 C CNN
+F 3 "" H 10400 5500 60 0000 C CNN
+ 1 10400 5500
+ 0 -1 -1 0
+$EndComp
+Text GLabel 5450 2050 0 60 Input ~ 0
+COM
+Text GLabel 6050 2000 1 60 Input ~ 0
+GND
+$Comp
+L PORT U1
+U 18 1 675B9809
+P 5550 2750
+F 0 "U1" H 5600 2850 30 0000 C CNN
+F 1 "PORT" H 5550 2750 30 0000 C CNN
+F 2 "" H 5550 2750 60 0000 C CNN
+F 3 "" H 5550 2750 60 0000 C CNN
+ 18 5550 2750
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 17 1 675B9AC1
+P 6050 2600
+F 0 "U1" H 6100 2700 30 0000 C CNN
+F 1 "PORT" H 6050 2600 30 0000 C CNN
+F 2 "" H 6050 2600 60 0000 C CNN
+F 3 "" H 6050 2600 60 0000 C CNN
+ 17 6050 2600
+ 0 -1 -1 0
+$EndComp
+Text GLabel 4350 2450 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 5700 5750 7450 5750
+Wire Wire Line
+ 6700 5450 6700 6100
+Connection ~ 6700 5750
+Wire Wire Line
+ 6700 5450 6900 5450
+Wire Wire Line
+ 7200 5450 7450 5450
+Wire Wire Line
+ 5400 5950 5000 5950
+Wire Wire Line
+ 4700 5950 4300 5950
+Wire Wire Line
+ 5100 6750 5100 5950
+Connection ~ 5100 5950
+Wire Wire Line
+ 5400 6750 6250 6750
+Wire Wire Line
+ 5700 6750 5700 6150
+Wire Wire Line
+ 6400 6300 5700 6300
+Connection ~ 5700 6300
+Connection ~ 5700 6750
+Wire Wire Line
+ 4450 5950 4450 7250
+Wire Wire Line
+ 4450 7250 5650 7250
+Connection ~ 4450 5950
+Wire Wire Line
+ 5950 7250 7600 7250
+Wire Wire Line
+ 6700 7250 6700 6500
+Wire Wire Line
+ 6550 6750 6700 6750
+Connection ~ 6700 6750
+Wire Wire Line
+ 7100 7250 7100 6650
+Connection ~ 6700 7250
+Wire Wire Line
+ 7100 5750 7100 6350
+Connection ~ 7100 5750
+Wire Wire Line
+ 8750 850 10500 850
+Wire Wire Line
+ 9750 550 9750 1200
+Connection ~ 9750 850
+Wire Wire Line
+ 9750 550 9950 550
+Wire Wire Line
+ 10250 550 10500 550
+Wire Wire Line
+ 8450 1050 8050 1050
+Wire Wire Line
+ 7750 1050 7350 1050
+Wire Wire Line
+ 8150 1850 8150 1050
+Connection ~ 8150 1050
+Wire Wire Line
+ 8450 1850 9300 1850
+Wire Wire Line
+ 8750 1850 8750 1250
+Wire Wire Line
+ 9450 1400 8750 1400
+Connection ~ 8750 1400
+Connection ~ 8750 1850
+Wire Wire Line
+ 7500 1050 7500 2350
+Wire Wire Line
+ 7500 2350 8700 2350
+Connection ~ 7500 1050
+Wire Wire Line
+ 9000 2350 10150 2350
+Wire Wire Line
+ 9750 2350 9750 1600
+Wire Wire Line
+ 9600 1850 9750 1850
+Connection ~ 9750 1850
+Wire Wire Line
+ 10150 2350 10150 1750
+Connection ~ 9750 2350
+Wire Wire Line
+ 10150 850 10150 1450
+Connection ~ 10150 850
+Wire Wire Line
+ 9300 2800 11050 2800
+Wire Wire Line
+ 10300 2500 10300 3150
+Connection ~ 10300 2800
+Wire Wire Line
+ 10300 2500 10500 2500
+Wire Wire Line
+ 10800 2500 11050 2500
+Wire Wire Line
+ 9000 3000 8600 3000
+Wire Wire Line
+ 8300 3000 7900 3000
+Wire Wire Line
+ 8700 3800 8700 3000
+Connection ~ 8700 3000
+Wire Wire Line
+ 9000 3800 9850 3800
+Wire Wire Line
+ 9300 3800 9300 3200
+Wire Wire Line
+ 10000 3350 9300 3350
+Connection ~ 9300 3350
+Connection ~ 9300 3800
+Wire Wire Line
+ 8050 3000 8050 4300
+Wire Wire Line
+ 8050 4300 9250 4300
+Connection ~ 8050 3000
+Wire Wire Line
+ 9550 4300 10700 4300
+Wire Wire Line
+ 10300 4300 10300 3550
+Wire Wire Line
+ 10150 3800 10300 3800
+Connection ~ 10300 3800
+Wire Wire Line
+ 10700 4300 10700 3700
+Connection ~ 10300 4300
+Wire Wire Line
+ 10700 2800 10700 3400
+Connection ~ 10700 2800
+Wire Wire Line
+ 2250 3300 4000 3300
+Wire Wire Line
+ 3250 3000 3250 3650
+Connection ~ 3250 3300
+Wire Wire Line
+ 3250 3000 3450 3000
+Wire Wire Line
+ 3750 3000 4000 3000
+Wire Wire Line
+ 1950 3500 1550 3500
+Wire Wire Line
+ 1250 3500 850 3500
+Wire Wire Line
+ 1650 4300 1650 3500
+Connection ~ 1650 3500
+Wire Wire Line
+ 1950 4300 2800 4300
+Wire Wire Line
+ 2250 4300 2250 3700
+Wire Wire Line
+ 2950 3850 2250 3850
+Connection ~ 2250 3850
+Connection ~ 2250 4300
+Wire Wire Line
+ 1000 3500 1000 4800
+Wire Wire Line
+ 1000 4800 2200 4800
+Connection ~ 1000 3500
+Wire Wire Line
+ 2500 4800 4100 4800
+Wire Wire Line
+ 3250 4800 3250 4050
+Wire Wire Line
+ 3100 4300 3250 4300
+Connection ~ 3250 4300
+Wire Wire Line
+ 3650 4800 3650 4200
+Connection ~ 3250 4800
+Wire Wire Line
+ 3650 3300 3650 3900
+Connection ~ 3650 3300
+Wire Wire Line
+ 2350 5350 4100 5350
+Wire Wire Line
+ 3350 5050 3350 5700
+Connection ~ 3350 5350
+Wire Wire Line
+ 3350 5050 3550 5050
+Wire Wire Line
+ 3850 5050 4100 5050
+Wire Wire Line
+ 2050 5550 1650 5550
+Wire Wire Line
+ 1350 5550 950 5550
+Wire Wire Line
+ 1750 6350 1750 5550
+Connection ~ 1750 5550
+Wire Wire Line
+ 2050 6350 2900 6350
+Wire Wire Line
+ 2350 6350 2350 5750
+Wire Wire Line
+ 3050 5900 2350 5900
+Connection ~ 2350 5900
+Connection ~ 2350 6350
+Wire Wire Line
+ 1100 5550 1100 6850
+Wire Wire Line
+ 1100 6850 2300 6850
+Connection ~ 1100 5550
+Wire Wire Line
+ 2600 6850 3750 6850
+Wire Wire Line
+ 3350 6850 3350 6100
+Wire Wire Line
+ 3200 6350 3350 6350
+Connection ~ 3350 6350
+Wire Wire Line
+ 3750 6250 3750 7350
+Connection ~ 3350 6850
+Wire Wire Line
+ 3750 5350 3750 5950
+Connection ~ 3750 5350
+Wire Wire Line
+ 2500 950 4250 950
+Wire Wire Line
+ 3500 650 3500 1300
+Connection ~ 3500 950
+Wire Wire Line
+ 3500 650 3700 650
+Wire Wire Line
+ 4000 650 4250 650
+Wire Wire Line
+ 2200 1150 1800 1150
+Wire Wire Line
+ 1500 1150 1100 1150
+Wire Wire Line
+ 1900 1950 1900 1150
+Connection ~ 1900 1150
+Wire Wire Line
+ 2200 1950 3050 1950
+Wire Wire Line
+ 2500 1950 2500 1350
+Wire Wire Line
+ 3200 1500 2500 1500
+Connection ~ 2500 1500
+Connection ~ 2500 1950
+Wire Wire Line
+ 1250 1150 1250 2450
+Wire Wire Line
+ 1250 2450 2450 2450
+Connection ~ 1250 1150
+Wire Wire Line
+ 2750 2450 4350 2450
+Wire Wire Line
+ 3500 2450 3500 1700
+Wire Wire Line
+ 3350 1950 3500 1950
+Connection ~ 3500 1950
+Wire Wire Line
+ 3900 2450 3900 1850
+Connection ~ 3500 2450
+Wire Wire Line
+ 3900 950 3900 1550
+Connection ~ 3900 950
+Wire Wire Line
+ 5700 3550 7450 3550
+Wire Wire Line
+ 6700 3250 6700 3900
+Connection ~ 6700 3550
+Wire Wire Line
+ 6700 3250 6900 3250
+Wire Wire Line
+ 7200 3250 7450 3250
+Wire Wire Line
+ 5400 3750 5000 3750
+Wire Wire Line
+ 4700 3750 4300 3750
+Wire Wire Line
+ 5100 4550 5100 3750
+Connection ~ 5100 3750
+Wire Wire Line
+ 5400 4550 6250 4550
+Wire Wire Line
+ 5700 4550 5700 3950
+Wire Wire Line
+ 6400 4100 5700 4100
+Connection ~ 5700 4100
+Connection ~ 5700 4550
+Wire Wire Line
+ 4450 3750 4450 5050
+Wire Wire Line
+ 4450 5050 5650 5050
+Connection ~ 4450 3750
+Wire Wire Line
+ 5950 5050 7200 5050
+Wire Wire Line
+ 6700 5050 6700 4300
+Wire Wire Line
+ 6550 4550 6700 4550
+Connection ~ 6700 4550
+Wire Wire Line
+ 7100 5050 7100 4450
+Connection ~ 6700 5050
+Wire Wire Line
+ 7100 3550 7100 4150
+Connection ~ 7100 3550
+Wire Wire Line
+ 9000 4750 10750 4750
+Wire Wire Line
+ 10000 4450 10000 5100
+Connection ~ 10000 4750
+Wire Wire Line
+ 10000 4450 10200 4450
+Wire Wire Line
+ 10500 4450 10750 4450
+Wire Wire Line
+ 8700 4950 8300 4950
+Wire Wire Line
+ 8000 4950 7600 4950
+Wire Wire Line
+ 8400 5750 8400 4950
+Connection ~ 8400 4950
+Wire Wire Line
+ 8700 5750 9550 5750
+Wire Wire Line
+ 9000 5750 9000 5150
+Wire Wire Line
+ 9700 5300 9000 5300
+Connection ~ 9000 5300
+Connection ~ 9000 5750
+Wire Wire Line
+ 7750 4950 7750 6250
+Wire Wire Line
+ 7750 6250 8950 6250
+Connection ~ 7750 4950
+Wire Wire Line
+ 9250 6250 10400 6250
+Wire Wire Line
+ 10000 6250 10000 5500
+Wire Wire Line
+ 9850 5750 10000 5750
+Connection ~ 10000 5750
+Wire Wire Line
+ 10400 6250 10400 5650
+Connection ~ 10000 6250
+Wire Wire Line
+ 10400 4750 10400 5350
+Connection ~ 10400 4750
+Wire Wire Line
+ 5450 2050 5550 2050
+Wire Wire Line
+ 5550 2050 5550 2500
+Wire Wire Line
+ 6050 2350 6050 2000
+Text GLabel 4100 4800 2 60 Input ~ 0
+GND
+Text GLabel 7450 5150 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 7450 5150 7200 5150
+Text GLabel 10650 2250 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10150 2250 10650 2250
+Text GLabel 11050 4150 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10700 4150 11050 4150
+Text GLabel 10800 6200 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10400 6200 10800 6200
+Text GLabel 7600 7250 2 60 Input ~ 0
+GND
+Text GLabel 4000 7350 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 3750 7350 4000 7350
+Connection ~ 3900 2450
+Connection ~ 3650 4800
+Wire Wire Line
+ 7200 5150 7200 5050
+Connection ~ 7100 5050
+Connection ~ 7100 7250
+Connection ~ 10400 6200
+Connection ~ 10150 2250
+Connection ~ 10700 4150
+Connection ~ 3750 6850
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/L604/D.lib b/library/SubcircuitLibrary/L604/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/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/L604/L604-cache.lib b/library/SubcircuitLibrary/L604/L604-cache.lib
new file mode 100644
index 00000000..2a23e8a6
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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/L604/L604.cir b/library/SubcircuitLibrary/L604/L604.cir
new file mode 100644
index 00000000..9b9cd359
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604.cir
@@ -0,0 +1,75 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\L604\L604.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 12/12/24 18:31:44
+
+* 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: /
+R20 Net-_D24-Pad2_ Net-_Q15-Pad2_ 10.5k
+Q15 Net-_D18-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R23 Net-_Q15-Pad2_ Net-_Q15-Pad3_ 7.2k
+R24 Net-_Q15-Pad3_ GND 3k
+Q16 Net-_D18-Pad1_ Net-_Q15-Pad3_ GND eSim_NPN
+D18 Net-_D18-Pad1_ COM eSim_Diode
+D24 GND Net-_D24-Pad2_ eSim_Diode
+U1 Net-_D1-Pad1_ Net-_D2-Pad1_ Net-_D5-Pad2_ Net-_D6-Pad2_ Net-_D10-Pad2_ Net-_D13-Pad2_ Net-_D11-Pad2_ Net-_D15-Pad2_ Net-_D12-Pad2_ Net-_D17-Pad2_ Net-_D14-Pad1_ Net-_D21-Pad2_ Net-_D16-Pad1_ Net-_D23-Pad2_ Net-_D18-Pad1_ Net-_D24-Pad2_ GND COM PORT
+D22 GND Net-_D18-Pad1_ eSim_Diode
+R1 Net-_D5-Pad2_ Net-_Q1-Pad2_ 10.5k
+Q1 Net-_D1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+R3 Net-_Q1-Pad2_ Net-_Q1-Pad3_ 7.2k
+R4 Net-_Q1-Pad3_ GND 3k
+Q3 Net-_D1-Pad1_ Net-_Q1-Pad3_ GND eSim_NPN
+D1 Net-_D1-Pad1_ COM eSim_Diode
+D5 GND Net-_D5-Pad2_ eSim_Diode
+D3 GND Net-_D1-Pad1_ eSim_Diode
+R7 Net-_D13-Pad2_ Net-_Q5-Pad2_ 10.5k
+Q5 Net-_D10-Pad2_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R10 Net-_Q5-Pad2_ Net-_Q5-Pad3_ 7.2k
+R11 Net-_Q5-Pad3_ GND 3k
+Q6 Net-_D10-Pad2_ Net-_Q5-Pad3_ GND eSim_NPN
+D7 Net-_D10-Pad2_ COM eSim_Diode
+D13 GND Net-_D13-Pad2_ eSim_Diode
+D10 GND Net-_D10-Pad2_ eSim_Diode
+R8 Net-_D15-Pad2_ Net-_Q7-Pad2_ 10.5k
+Q7 Net-_D11-Pad2_ Net-_Q7-Pad2_ Net-_Q7-Pad3_ eSim_NPN
+R12 Net-_Q7-Pad2_ Net-_Q7-Pad3_ 7.2k
+R13 Net-_Q7-Pad3_ GND 3k
+Q9 Net-_D11-Pad2_ Net-_Q7-Pad3_ GND eSim_NPN
+D8 Net-_D11-Pad2_ COM eSim_Diode
+D15 GND Net-_D15-Pad2_ eSim_Diode
+D11 GND Net-_D11-Pad2_ eSim_Diode
+R17 Net-_D23-Pad2_ Net-_Q13-Pad2_ 10.5k
+Q13 Net-_D16-Pad1_ Net-_Q13-Pad2_ Net-_Q13-Pad3_ eSim_NPN
+R21 Net-_Q13-Pad2_ Net-_Q13-Pad3_ 7.2k
+R22 Net-_Q13-Pad3_ GND 3k
+Q14 Net-_D16-Pad1_ Net-_Q13-Pad3_ GND eSim_NPN
+D16 Net-_D16-Pad1_ COM eSim_Diode
+D23 GND Net-_D23-Pad2_ eSim_Diode
+D20 GND Net-_D16-Pad1_ eSim_Diode
+R2 Net-_D6-Pad2_ Net-_Q2-Pad2_ 10.5k
+Q2 Net-_D2-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+R5 Net-_Q2-Pad2_ Net-_Q2-Pad3_ 7.2k
+R6 Net-_Q2-Pad3_ GND 3k
+Q4 Net-_D2-Pad1_ Net-_Q2-Pad3_ GND eSim_NPN
+D2 Net-_D2-Pad1_ COM eSim_Diode
+D6 GND Net-_D6-Pad2_ eSim_Diode
+D4 GND Net-_D2-Pad1_ eSim_Diode
+R9 Net-_D17-Pad2_ Net-_Q8-Pad2_ 10.5k
+Q8 Net-_D12-Pad2_ Net-_Q8-Pad2_ Net-_Q10-Pad2_ eSim_NPN
+R14 Net-_Q8-Pad2_ Net-_Q10-Pad2_ 7.2k
+R15 Net-_Q10-Pad2_ GND 3k
+Q10 Net-_D12-Pad2_ Net-_Q10-Pad2_ GND eSim_NPN
+D9 Net-_D12-Pad2_ COM eSim_Diode
+D17 GND Net-_D17-Pad2_ eSim_Diode
+D12 GND Net-_D12-Pad2_ eSim_Diode
+R16 Net-_D21-Pad2_ Net-_Q11-Pad2_ 10.5k
+Q11 Net-_D14-Pad1_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R18 Net-_Q11-Pad2_ Net-_Q11-Pad3_ 7.2k
+R19 Net-_Q11-Pad3_ GND 3k
+Q12 Net-_D14-Pad1_ Net-_Q11-Pad3_ GND eSim_NPN
+D14 Net-_D14-Pad1_ COM eSim_Diode
+D21 GND Net-_D21-Pad2_ eSim_Diode
+D19 GND Net-_D14-Pad1_ eSim_Diode
+
+.end
diff --git a/library/SubcircuitLibrary/L604/L604.cir.out b/library/SubcircuitLibrary/L604/L604.cir.out
new file mode 100644
index 00000000..ea651e5e
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604.cir.out
@@ -0,0 +1,78 @@
+* d:\fossee\esim\library\subcircuitlibrary\l604\l604.cir
+
+.include D.lib
+.include NPN.lib
+r20 net-_d24-pad2_ net-_q15-pad2_ 10.5k
+q15 net-_d18-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r23 net-_q15-pad2_ net-_q15-pad3_ 7.2k
+r24 net-_q15-pad3_ gnd 3k
+q16 net-_d18-pad1_ net-_q15-pad3_ gnd Q2N2222
+d18 net-_d18-pad1_ com 1N4148
+d24 gnd net-_d24-pad2_ 1N4148
+* u1 net-_d1-pad1_ net-_d2-pad1_ net-_d5-pad2_ net-_d6-pad2_ net-_d10-pad2_ net-_d13-pad2_ net-_d11-pad2_ net-_d15-pad2_ net-_d12-pad2_ net-_d17-pad2_ net-_d14-pad1_ net-_d21-pad2_ net-_d16-pad1_ net-_d23-pad2_ net-_d18-pad1_ net-_d24-pad2_ gnd com port
+d22 gnd net-_d18-pad1_ 1N4148
+r1 net-_d5-pad2_ net-_q1-pad2_ 10.5k
+q1 net-_d1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r3 net-_q1-pad2_ net-_q1-pad3_ 7.2k
+r4 net-_q1-pad3_ gnd 3k
+q3 net-_d1-pad1_ net-_q1-pad3_ gnd Q2N2222
+d1 net-_d1-pad1_ com 1N4148
+d5 gnd net-_d5-pad2_ 1N4148
+d3 gnd net-_d1-pad1_ 1N4148
+r7 net-_d13-pad2_ net-_q5-pad2_ 10.5k
+q5 net-_d10-pad2_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad2_ net-_q5-pad3_ 7.2k
+r11 net-_q5-pad3_ gnd 3k
+q6 net-_d10-pad2_ net-_q5-pad3_ gnd Q2N2222
+d7 net-_d10-pad2_ com 1N4148
+d13 gnd net-_d13-pad2_ 1N4148
+d10 gnd net-_d10-pad2_ 1N4148
+r8 net-_d15-pad2_ net-_q7-pad2_ 10.5k
+q7 net-_d11-pad2_ net-_q7-pad2_ net-_q7-pad3_ Q2N2222
+r12 net-_q7-pad2_ net-_q7-pad3_ 7.2k
+r13 net-_q7-pad3_ gnd 3k
+q9 net-_d11-pad2_ net-_q7-pad3_ gnd Q2N2222
+d8 net-_d11-pad2_ com 1N4148
+d15 gnd net-_d15-pad2_ 1N4148
+d11 gnd net-_d11-pad2_ 1N4148
+r17 net-_d23-pad2_ net-_q13-pad2_ 10.5k
+q13 net-_d16-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+r21 net-_q13-pad2_ net-_q13-pad3_ 7.2k
+r22 net-_q13-pad3_ gnd 3k
+q14 net-_d16-pad1_ net-_q13-pad3_ gnd Q2N2222
+d16 net-_d16-pad1_ com 1N4148
+d23 gnd net-_d23-pad2_ 1N4148
+d20 gnd net-_d16-pad1_ 1N4148
+r2 net-_d6-pad2_ net-_q2-pad2_ 10.5k
+q2 net-_d2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r5 net-_q2-pad2_ net-_q2-pad3_ 7.2k
+r6 net-_q2-pad3_ gnd 3k
+q4 net-_d2-pad1_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ com 1N4148
+d6 gnd net-_d6-pad2_ 1N4148
+d4 gnd net-_d2-pad1_ 1N4148
+r9 net-_d17-pad2_ net-_q8-pad2_ 10.5k
+q8 net-_d12-pad2_ net-_q8-pad2_ net-_q10-pad2_ Q2N2222
+r14 net-_q8-pad2_ net-_q10-pad2_ 7.2k
+r15 net-_q10-pad2_ gnd 3k
+q10 net-_d12-pad2_ net-_q10-pad2_ gnd Q2N2222
+d9 net-_d12-pad2_ com 1N4148
+d17 gnd net-_d17-pad2_ 1N4148
+d12 gnd net-_d12-pad2_ 1N4148
+r16 net-_d21-pad2_ net-_q11-pad2_ 10.5k
+q11 net-_d14-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r18 net-_q11-pad2_ net-_q11-pad3_ 7.2k
+r19 net-_q11-pad3_ gnd 3k
+q12 net-_d14-pad1_ net-_q11-pad3_ gnd Q2N2222
+d14 net-_d14-pad1_ com 1N4148
+d21 gnd net-_d21-pad2_ 1N4148
+d19 gnd net-_d14-pad1_ 1N4148
+.tran 0e-03 0e-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/L604/L604.pro b/library/SubcircuitLibrary/L604/L604.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604.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/L604/L604.sch b/library/SubcircuitLibrary/L604/L604.sch
new file mode 100644
index 00000000..b1e2f627
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604.sch
@@ -0,0 +1,1356 @@
+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
+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 resistor R20
+U 1 1 675AC6EE
+P 4800 6000
+F 0 "R20" H 4850 6130 50 0000 C CNN
+F 1 "10.5k" H 4850 5950 50 0000 C CNN
+F 2 "" H 4850 5980 30 0000 C CNN
+F 3 "" V 4850 6050 30 0000 C CNN
+ 1 4800 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 675AC7EB
+P 5600 5950
+F 0 "Q15" H 5500 6000 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 6100 50 0000 R CNN
+F 2 "" H 5800 6050 29 0000 C CNN
+F 3 "" H 5600 5950 60 0000 C CNN
+ 1 5600 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R23
+U 1 1 675AC816
+P 5200 6800
+F 0 "R23" H 5250 6930 50 0000 C CNN
+F 1 "7.2k" H 5250 6750 50 0000 C CNN
+F 2 "" H 5250 6780 30 0000 C CNN
+F 3 "" V 5250 6850 30 0000 C CNN
+ 1 5200 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R24
+U 1 1 675AC852
+P 6350 6800
+F 0 "R24" H 6400 6930 50 0000 C CNN
+F 1 "3k" H 6400 6750 50 0000 C CNN
+F 2 "" H 6400 6780 30 0000 C CNN
+F 3 "" V 6400 6850 30 0000 C CNN
+ 1 6350 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 675AC892
+P 6600 6300
+F 0 "Q16" H 6500 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 6450 50 0000 R CNN
+F 2 "" H 6800 6400 29 0000 C CNN
+F 3 "" H 6600 6300 60 0000 C CNN
+ 1 6600 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D18
+U 1 1 675AC8FA
+P 7050 5450
+F 0 "D18" H 7050 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 5350 50 0000 C CNN
+F 2 "" H 7050 5450 60 0000 C CNN
+F 3 "" H 7050 5450 60 0000 C CNN
+ 1 7050 5450
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 5450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D24
+U 1 1 675AC95D
+P 5800 7250
+F 0 "D24" H 5800 7350 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 7150 50 0000 C CNN
+F 2 "" H 5800 7250 60 0000 C CNN
+F 3 "" H 5800 7250 60 0000 C CNN
+ 1 5800 7250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 675AC9E9
+P 4050 5950
+F 0 "U1" H 4100 6050 30 0000 C CNN
+F 1 "PORT" H 4050 5950 30 0000 C CNN
+F 2 "" H 4050 5950 60 0000 C CNN
+F 3 "" H 4050 5950 60 0000 C CNN
+ 16 4050 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 675ACA4A
+P 7700 5750
+F 0 "U1" H 7750 5850 30 0000 C CNN
+F 1 "PORT" H 7700 5750 30 0000 C CNN
+F 2 "" H 7700 5750 60 0000 C CNN
+F 3 "" H 7700 5750 60 0000 C CNN
+ 15 7700 5750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D22
+U 1 1 675ACFC0
+P 7100 6500
+F 0 "D22" H 7100 6600 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 6400 50 0000 C CNN
+F 2 "" H 7100 6500 60 0000 C CNN
+F 3 "" H 7100 6500 60 0000 C CNN
+ 1 7100 6500
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 675AD30E
+P 7850 1100
+F 0 "R1" H 7900 1230 50 0000 C CNN
+F 1 "10.5k" H 7900 1050 50 0000 C CNN
+F 2 "" H 7900 1080 30 0000 C CNN
+F 3 "" V 7900 1150 30 0000 C CNN
+ 1 7850 1100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 675AD314
+P 8650 1050
+F 0 "Q1" H 8550 1100 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 1200 50 0000 R CNN
+F 2 "" H 8850 1150 29 0000 C CNN
+F 3 "" H 8650 1050 60 0000 C CNN
+ 1 8650 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 675AD31A
+P 8250 1900
+F 0 "R3" H 8300 2030 50 0000 C CNN
+F 1 "7.2k" H 8300 1850 50 0000 C CNN
+F 2 "" H 8300 1880 30 0000 C CNN
+F 3 "" V 8300 1950 30 0000 C CNN
+ 1 8250 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 675AD320
+P 9400 1900
+F 0 "R4" H 9450 2030 50 0000 C CNN
+F 1 "3k" H 9450 1850 50 0000 C CNN
+F 2 "" H 9450 1880 30 0000 C CNN
+F 3 "" V 9450 1950 30 0000 C CNN
+ 1 9400 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 675AD326
+P 9650 1400
+F 0 "Q3" H 9550 1450 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 1550 50 0000 R CNN
+F 2 "" H 9850 1500 29 0000 C CNN
+F 3 "" H 9650 1400 60 0000 C CNN
+ 1 9650 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 675AD32C
+P 10100 550
+F 0 "D1" H 10100 650 50 0000 C CNN
+F 1 "eSim_Diode" H 10100 450 50 0000 C CNN
+F 2 "" H 10100 550 60 0000 C CNN
+F 3 "" H 10100 550 60 0000 C CNN
+ 1 10100 550
+ 1 0 0 -1
+$EndComp
+Text GLabel 10500 550 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D5
+U 1 1 675AD333
+P 8850 2350
+F 0 "D5" H 8850 2450 50 0000 C CNN
+F 1 "eSim_Diode" H 8850 2250 50 0000 C CNN
+F 2 "" H 8850 2350 60 0000 C CNN
+F 3 "" H 8850 2350 60 0000 C CNN
+ 1 8850 2350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 675AD339
+P 7100 1050
+F 0 "U1" H 7150 1150 30 0000 C CNN
+F 1 "PORT" H 7100 1050 30 0000 C CNN
+F 2 "" H 7100 1050 60 0000 C CNN
+F 3 "" H 7100 1050 60 0000 C CNN
+ 3 7100 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 675AD33F
+P 10750 850
+F 0 "U1" H 10800 950 30 0000 C CNN
+F 1 "PORT" H 10750 850 30 0000 C CNN
+F 2 "" H 10750 850 60 0000 C CNN
+F 3 "" H 10750 850 60 0000 C CNN
+ 1 10750 850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 675AD35A
+P 10150 1600
+F 0 "D3" H 10150 1700 50 0000 C CNN
+F 1 "eSim_Diode" H 10150 1500 50 0000 C CNN
+F 2 "" H 10150 1600 60 0000 C CNN
+F 3 "" H 10150 1600 60 0000 C CNN
+ 1 10150 1600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 675AE602
+P 8400 3050
+F 0 "R7" H 8450 3180 50 0000 C CNN
+F 1 "10.5k" H 8450 3000 50 0000 C CNN
+F 2 "" H 8450 3030 30 0000 C CNN
+F 3 "" V 8450 3100 30 0000 C CNN
+ 1 8400 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 675AE608
+P 9200 3000
+F 0 "Q5" H 9100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 9150 3150 50 0000 R CNN
+F 2 "" H 9400 3100 29 0000 C CNN
+F 3 "" H 9200 3000 60 0000 C CNN
+ 1 9200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 675AE60E
+P 8800 3850
+F 0 "R10" H 8850 3980 50 0000 C CNN
+F 1 "7.2k" H 8850 3800 50 0000 C CNN
+F 2 "" H 8850 3830 30 0000 C CNN
+F 3 "" V 8850 3900 30 0000 C CNN
+ 1 8800 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 675AE614
+P 9950 3850
+F 0 "R11" H 10000 3980 50 0000 C CNN
+F 1 "3k" H 10000 3800 50 0000 C CNN
+F 2 "" H 10000 3830 30 0000 C CNN
+F 3 "" V 10000 3900 30 0000 C CNN
+ 1 9950 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 675AE61A
+P 10200 3350
+F 0 "Q6" H 10100 3400 50 0000 R CNN
+F 1 "eSim_NPN" H 10150 3500 50 0000 R CNN
+F 2 "" H 10400 3450 29 0000 C CNN
+F 3 "" H 10200 3350 60 0000 C CNN
+ 1 10200 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 675AE620
+P 10650 2500
+F 0 "D7" H 10650 2600 50 0000 C CNN
+F 1 "eSim_Diode" H 10650 2400 50 0000 C CNN
+F 2 "" H 10650 2500 60 0000 C CNN
+F 3 "" H 10650 2500 60 0000 C CNN
+ 1 10650 2500
+ 1 0 0 -1
+$EndComp
+Text GLabel 11050 2500 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D13
+U 1 1 675AE627
+P 9400 4300
+F 0 "D13" H 9400 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 4200 50 0000 C CNN
+F 2 "" H 9400 4300 60 0000 C CNN
+F 3 "" H 9400 4300 60 0000 C CNN
+ 1 9400 4300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 675AE62D
+P 7650 3000
+F 0 "U1" H 7700 3100 30 0000 C CNN
+F 1 "PORT" H 7650 3000 30 0000 C CNN
+F 2 "" H 7650 3000 60 0000 C CNN
+F 3 "" H 7650 3000 60 0000 C CNN
+ 6 7650 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 675AE633
+P 11300 2800
+F 0 "U1" H 11350 2900 30 0000 C CNN
+F 1 "PORT" H 11300 2800 30 0000 C CNN
+F 2 "" H 11300 2800 60 0000 C CNN
+F 3 "" H 11300 2800 60 0000 C CNN
+ 5 11300 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 675AE64E
+P 10700 3550
+F 0 "D10" H 10700 3650 50 0000 C CNN
+F 1 "eSim_Diode" H 10700 3450 50 0000 C CNN
+F 2 "" H 10700 3550 60 0000 C CNN
+F 3 "" H 10700 3550 60 0000 C CNN
+ 1 10700 3550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 675AE964
+P 1350 3550
+F 0 "R8" H 1400 3680 50 0000 C CNN
+F 1 "10.5k" H 1400 3500 50 0000 C CNN
+F 2 "" H 1400 3530 30 0000 C CNN
+F 3 "" V 1400 3600 30 0000 C CNN
+ 1 1350 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 675AE96A
+P 2150 3500
+F 0 "Q7" H 2050 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 3650 50 0000 R CNN
+F 2 "" H 2350 3600 29 0000 C CNN
+F 3 "" H 2150 3500 60 0000 C CNN
+ 1 2150 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 675AE970
+P 1750 4350
+F 0 "R12" H 1800 4480 50 0000 C CNN
+F 1 "7.2k" H 1800 4300 50 0000 C CNN
+F 2 "" H 1800 4330 30 0000 C CNN
+F 3 "" V 1800 4400 30 0000 C CNN
+ 1 1750 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R13
+U 1 1 675AE976
+P 2900 4350
+F 0 "R13" H 2950 4480 50 0000 C CNN
+F 1 "3k" H 2950 4300 50 0000 C CNN
+F 2 "" H 2950 4330 30 0000 C CNN
+F 3 "" V 2950 4400 30 0000 C CNN
+ 1 2900 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 675AE97C
+P 3150 3850
+F 0 "Q9" H 3050 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 4000 50 0000 R CNN
+F 2 "" H 3350 3950 29 0000 C CNN
+F 3 "" H 3150 3850 60 0000 C CNN
+ 1 3150 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 675AE982
+P 3600 3000
+F 0 "D8" H 3600 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 3600 2900 50 0000 C CNN
+F 2 "" H 3600 3000 60 0000 C CNN
+F 3 "" H 3600 3000 60 0000 C CNN
+ 1 3600 3000
+ 1 0 0 -1
+$EndComp
+Text GLabel 4000 3000 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D15
+U 1 1 675AE989
+P 2350 4800
+F 0 "D15" H 2350 4900 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 4700 50 0000 C CNN
+F 2 "" H 2350 4800 60 0000 C CNN
+F 3 "" H 2350 4800 60 0000 C CNN
+ 1 2350 4800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 675AE98F
+P 600 3500
+F 0 "U1" H 650 3600 30 0000 C CNN
+F 1 "PORT" H 600 3500 30 0000 C CNN
+F 2 "" H 600 3500 60 0000 C CNN
+F 3 "" H 600 3500 60 0000 C CNN
+ 8 600 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 675AE995
+P 4250 3300
+F 0 "U1" H 4300 3400 30 0000 C CNN
+F 1 "PORT" H 4250 3300 30 0000 C CNN
+F 2 "" H 4250 3300 60 0000 C CNN
+F 3 "" H 4250 3300 60 0000 C CNN
+ 7 4250 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 675AE9B0
+P 3650 4050
+F 0 "D11" H 3650 4150 50 0000 C CNN
+F 1 "eSim_Diode" H 3650 3950 50 0000 C CNN
+F 2 "" H 3650 4050 60 0000 C CNN
+F 3 "" H 3650 4050 60 0000 C CNN
+ 1 3650 4050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R17
+U 1 1 675AEB18
+P 1450 5600
+F 0 "R17" H 1500 5730 50 0000 C CNN
+F 1 "10.5k" H 1500 5550 50 0000 C CNN
+F 2 "" H 1500 5580 30 0000 C CNN
+F 3 "" V 1500 5650 30 0000 C CNN
+ 1 1450 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 675AEB1E
+P 2250 5550
+F 0 "Q13" H 2150 5600 50 0000 R CNN
+F 1 "eSim_NPN" H 2200 5700 50 0000 R CNN
+F 2 "" H 2450 5650 29 0000 C CNN
+F 3 "" H 2250 5550 60 0000 C CNN
+ 1 2250 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 675AEB24
+P 1850 6400
+F 0 "R21" H 1900 6530 50 0000 C CNN
+F 1 "7.2k" H 1900 6350 50 0000 C CNN
+F 2 "" H 1900 6380 30 0000 C CNN
+F 3 "" V 1900 6450 30 0000 C CNN
+ 1 1850 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 675AEB2A
+P 3000 6400
+F 0 "R22" H 3050 6530 50 0000 C CNN
+F 1 "3k" H 3050 6350 50 0000 C CNN
+F 2 "" H 3050 6380 30 0000 C CNN
+F 3 "" V 3050 6450 30 0000 C CNN
+ 1 3000 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 675AEB30
+P 3250 5900
+F 0 "Q14" H 3150 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 6050 50 0000 R CNN
+F 2 "" H 3450 6000 29 0000 C CNN
+F 3 "" H 3250 5900 60 0000 C CNN
+ 1 3250 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 675AEB36
+P 3700 5050
+F 0 "D16" H 3700 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 3700 4950 50 0000 C CNN
+F 2 "" H 3700 5050 60 0000 C CNN
+F 3 "" H 3700 5050 60 0000 C CNN
+ 1 3700 5050
+ 1 0 0 -1
+$EndComp
+Text GLabel 4100 5050 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D23
+U 1 1 675AEB3D
+P 2450 6850
+F 0 "D23" H 2450 6950 50 0000 C CNN
+F 1 "eSim_Diode" H 2450 6750 50 0000 C CNN
+F 2 "" H 2450 6850 60 0000 C CNN
+F 3 "" H 2450 6850 60 0000 C CNN
+ 1 2450 6850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 675AEB43
+P 700 5550
+F 0 "U1" H 750 5650 30 0000 C CNN
+F 1 "PORT" H 700 5550 30 0000 C CNN
+F 2 "" H 700 5550 60 0000 C CNN
+F 3 "" H 700 5550 60 0000 C CNN
+ 14 700 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 675AEB49
+P 4350 5350
+F 0 "U1" H 4400 5450 30 0000 C CNN
+F 1 "PORT" H 4350 5350 30 0000 C CNN
+F 2 "" H 4350 5350 60 0000 C CNN
+F 3 "" H 4350 5350 60 0000 C CNN
+ 13 4350 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D20
+U 1 1 675AEB64
+P 3750 6100
+F 0 "D20" H 3750 6200 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 6000 50 0000 C CNN
+F 2 "" H 3750 6100 60 0000 C CNN
+F 3 "" H 3750 6100 60 0000 C CNN
+ 1 3750 6100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 675B0307
+P 1600 1200
+F 0 "R2" H 1650 1330 50 0000 C CNN
+F 1 "10.5k" H 1650 1150 50 0000 C CNN
+F 2 "" H 1650 1180 30 0000 C CNN
+F 3 "" V 1650 1250 30 0000 C CNN
+ 1 1600 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 675B030D
+P 2400 1150
+F 0 "Q2" H 2300 1200 50 0000 R CNN
+F 1 "eSim_NPN" H 2350 1300 50 0000 R CNN
+F 2 "" H 2600 1250 29 0000 C CNN
+F 3 "" H 2400 1150 60 0000 C CNN
+ 1 2400 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 675B0313
+P 2000 2000
+F 0 "R5" H 2050 2130 50 0000 C CNN
+F 1 "7.2k" H 2050 1950 50 0000 C CNN
+F 2 "" H 2050 1980 30 0000 C CNN
+F 3 "" V 2050 2050 30 0000 C CNN
+ 1 2000 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 675B0319
+P 3150 2000
+F 0 "R6" H 3200 2130 50 0000 C CNN
+F 1 "3k" H 3200 1950 50 0000 C CNN
+F 2 "" H 3200 1980 30 0000 C CNN
+F 3 "" V 3200 2050 30 0000 C CNN
+ 1 3150 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 675B031F
+P 3400 1500
+F 0 "Q4" H 3300 1550 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 1650 50 0000 R CNN
+F 2 "" H 3600 1600 29 0000 C CNN
+F 3 "" H 3400 1500 60 0000 C CNN
+ 1 3400 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 675B0325
+P 3850 650
+F 0 "D2" H 3850 750 50 0000 C CNN
+F 1 "eSim_Diode" H 3850 550 50 0000 C CNN
+F 2 "" H 3850 650 60 0000 C CNN
+F 3 "" H 3850 650 60 0000 C CNN
+ 1 3850 650
+ 1 0 0 -1
+$EndComp
+Text GLabel 4250 650 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D6
+U 1 1 675B032C
+P 2600 2450
+F 0 "D6" H 2600 2550 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 2350 50 0000 C CNN
+F 2 "" H 2600 2450 60 0000 C CNN
+F 3 "" H 2600 2450 60 0000 C CNN
+ 1 2600 2450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 675B0332
+P 850 1150
+F 0 "U1" H 900 1250 30 0000 C CNN
+F 1 "PORT" H 850 1150 30 0000 C CNN
+F 2 "" H 850 1150 60 0000 C CNN
+F 3 "" H 850 1150 60 0000 C CNN
+ 4 850 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 675B0338
+P 4500 950
+F 0 "U1" H 4550 1050 30 0000 C CNN
+F 1 "PORT" H 4500 950 30 0000 C CNN
+F 2 "" H 4500 950 60 0000 C CNN
+F 3 "" H 4500 950 60 0000 C CNN
+ 2 4500 950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 675B0353
+P 3900 1700
+F 0 "D4" H 3900 1800 50 0000 C CNN
+F 1 "eSim_Diode" H 3900 1600 50 0000 C CNN
+F 2 "" H 3900 1700 60 0000 C CNN
+F 3 "" H 3900 1700 60 0000 C CNN
+ 1 3900 1700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 675B0F35
+P 4800 3800
+F 0 "R9" H 4850 3930 50 0000 C CNN
+F 1 "10.5k" H 4850 3750 50 0000 C CNN
+F 2 "" H 4850 3780 30 0000 C CNN
+F 3 "" V 4850 3850 30 0000 C CNN
+ 1 4800 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 675B0F3B
+P 5600 3750
+F 0 "Q8" H 5500 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 3900 50 0000 R CNN
+F 2 "" H 5800 3850 29 0000 C CNN
+F 3 "" H 5600 3750 60 0000 C CNN
+ 1 5600 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 675B0F41
+P 5200 4600
+F 0 "R14" H 5250 4730 50 0000 C CNN
+F 1 "7.2k" H 5250 4550 50 0000 C CNN
+F 2 "" H 5250 4580 30 0000 C CNN
+F 3 "" V 5250 4650 30 0000 C CNN
+ 1 5200 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 675B0F47
+P 6350 4600
+F 0 "R15" H 6400 4730 50 0000 C CNN
+F 1 "3k" H 6400 4550 50 0000 C CNN
+F 2 "" H 6400 4580 30 0000 C CNN
+F 3 "" V 6400 4650 30 0000 C CNN
+ 1 6350 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 675B0F4D
+P 6600 4100
+F 0 "Q10" H 6500 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 4250 50 0000 R CNN
+F 2 "" H 6800 4200 29 0000 C CNN
+F 3 "" H 6600 4100 60 0000 C CNN
+ 1 6600 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D9
+U 1 1 675B0F53
+P 7050 3250
+F 0 "D9" H 7050 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 7050 3150 50 0000 C CNN
+F 2 "" H 7050 3250 60 0000 C CNN
+F 3 "" H 7050 3250 60 0000 C CNN
+ 1 7050 3250
+ 1 0 0 -1
+$EndComp
+Text GLabel 7450 3250 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D17
+U 1 1 675B0F5A
+P 5800 5050
+F 0 "D17" H 5800 5150 50 0000 C CNN
+F 1 "eSim_Diode" H 5800 4950 50 0000 C CNN
+F 2 "" H 5800 5050 60 0000 C CNN
+F 3 "" H 5800 5050 60 0000 C CNN
+ 1 5800 5050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 675B0F60
+P 4050 3750
+F 0 "U1" H 4100 3850 30 0000 C CNN
+F 1 "PORT" H 4050 3750 30 0000 C CNN
+F 2 "" H 4050 3750 60 0000 C CNN
+F 3 "" H 4050 3750 60 0000 C CNN
+ 10 4050 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 675B0F66
+P 7700 3550
+F 0 "U1" H 7750 3650 30 0000 C CNN
+F 1 "PORT" H 7700 3550 30 0000 C CNN
+F 2 "" H 7700 3550 60 0000 C CNN
+F 3 "" H 7700 3550 60 0000 C CNN
+ 9 7700 3550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 675B0F81
+P 7100 4300
+F 0 "D12" H 7100 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 7100 4200 50 0000 C CNN
+F 2 "" H 7100 4300 60 0000 C CNN
+F 3 "" H 7100 4300 60 0000 C CNN
+ 1 7100 4300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 675B2113
+P 8100 5000
+F 0 "R16" H 8150 5130 50 0000 C CNN
+F 1 "10.5k" H 8150 4950 50 0000 C CNN
+F 2 "" H 8150 4980 30 0000 C CNN
+F 3 "" V 8150 5050 30 0000 C CNN
+ 1 8100 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 675B2119
+P 8900 4950
+F 0 "Q11" H 8800 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 5100 50 0000 R CNN
+F 2 "" H 9100 5050 29 0000 C CNN
+F 3 "" H 8900 4950 60 0000 C CNN
+ 1 8900 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 675B211F
+P 8500 5800
+F 0 "R18" H 8550 5930 50 0000 C CNN
+F 1 "7.2k" H 8550 5750 50 0000 C CNN
+F 2 "" H 8550 5780 30 0000 C CNN
+F 3 "" V 8550 5850 30 0000 C CNN
+ 1 8500 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R19
+U 1 1 675B2125
+P 9650 5800
+F 0 "R19" H 9700 5930 50 0000 C CNN
+F 1 "3k" H 9700 5750 50 0000 C CNN
+F 2 "" H 9700 5780 30 0000 C CNN
+F 3 "" V 9700 5850 30 0000 C CNN
+ 1 9650 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 675B212B
+P 9900 5300
+F 0 "Q12" H 9800 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 5450 50 0000 R CNN
+F 2 "" H 10100 5400 29 0000 C CNN
+F 3 "" H 9900 5300 60 0000 C CNN
+ 1 9900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 675B2131
+P 10350 4450
+F 0 "D14" H 10350 4550 50 0000 C CNN
+F 1 "eSim_Diode" H 10350 4350 50 0000 C CNN
+F 2 "" H 10350 4450 60 0000 C CNN
+F 3 "" H 10350 4450 60 0000 C CNN
+ 1 10350 4450
+ 1 0 0 -1
+$EndComp
+Text GLabel 10750 4450 2 60 Input ~ 0
+COM
+$Comp
+L eSim_Diode D21
+U 1 1 675B2138
+P 9100 6250
+F 0 "D21" H 9100 6350 50 0000 C CNN
+F 1 "eSim_Diode" H 9100 6150 50 0000 C CNN
+F 2 "" H 9100 6250 60 0000 C CNN
+F 3 "" H 9100 6250 60 0000 C CNN
+ 1 9100 6250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 675B213E
+P 7350 4950
+F 0 "U1" H 7400 5050 30 0000 C CNN
+F 1 "PORT" H 7350 4950 30 0000 C CNN
+F 2 "" H 7350 4950 60 0000 C CNN
+F 3 "" H 7350 4950 60 0000 C CNN
+ 12 7350 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 675B2144
+P 11000 4750
+F 0 "U1" H 11050 4850 30 0000 C CNN
+F 1 "PORT" H 11000 4750 30 0000 C CNN
+F 2 "" H 11000 4750 60 0000 C CNN
+F 3 "" H 11000 4750 60 0000 C CNN
+ 11 11000 4750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D19
+U 1 1 675B215F
+P 10400 5500
+F 0 "D19" H 10400 5600 50 0000 C CNN
+F 1 "eSim_Diode" H 10400 5400 50 0000 C CNN
+F 2 "" H 10400 5500 60 0000 C CNN
+F 3 "" H 10400 5500 60 0000 C CNN
+ 1 10400 5500
+ 0 -1 -1 0
+$EndComp
+Text GLabel 5450 2050 0 60 Input ~ 0
+COM
+Text GLabel 6050 2000 1 60 Input ~ 0
+GND
+$Comp
+L PORT U1
+U 18 1 675B9809
+P 5550 2750
+F 0 "U1" H 5600 2850 30 0000 C CNN
+F 1 "PORT" H 5550 2750 30 0000 C CNN
+F 2 "" H 5550 2750 60 0000 C CNN
+F 3 "" H 5550 2750 60 0000 C CNN
+ 18 5550 2750
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 17 1 675B9AC1
+P 6050 2600
+F 0 "U1" H 6100 2700 30 0000 C CNN
+F 1 "PORT" H 6050 2600 30 0000 C CNN
+F 2 "" H 6050 2600 60 0000 C CNN
+F 3 "" H 6050 2600 60 0000 C CNN
+ 17 6050 2600
+ 0 -1 -1 0
+$EndComp
+Text GLabel 4350 2450 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 5700 5750 7450 5750
+Wire Wire Line
+ 6700 5450 6700 6100
+Connection ~ 6700 5750
+Wire Wire Line
+ 6700 5450 6900 5450
+Wire Wire Line
+ 7200 5450 7450 5450
+Wire Wire Line
+ 5400 5950 5000 5950
+Wire Wire Line
+ 4700 5950 4300 5950
+Wire Wire Line
+ 5100 6750 5100 5950
+Connection ~ 5100 5950
+Wire Wire Line
+ 5400 6750 6250 6750
+Wire Wire Line
+ 5700 6750 5700 6150
+Wire Wire Line
+ 6400 6300 5700 6300
+Connection ~ 5700 6300
+Connection ~ 5700 6750
+Wire Wire Line
+ 4450 5950 4450 7250
+Wire Wire Line
+ 4450 7250 5650 7250
+Connection ~ 4450 5950
+Wire Wire Line
+ 5950 7250 7600 7250
+Wire Wire Line
+ 6700 7250 6700 6500
+Wire Wire Line
+ 6550 6750 6700 6750
+Connection ~ 6700 6750
+Wire Wire Line
+ 7100 7250 7100 6650
+Connection ~ 6700 7250
+Wire Wire Line
+ 7100 5750 7100 6350
+Connection ~ 7100 5750
+Wire Wire Line
+ 8750 850 10500 850
+Wire Wire Line
+ 9750 550 9750 1200
+Connection ~ 9750 850
+Wire Wire Line
+ 9750 550 9950 550
+Wire Wire Line
+ 10250 550 10500 550
+Wire Wire Line
+ 8450 1050 8050 1050
+Wire Wire Line
+ 7750 1050 7350 1050
+Wire Wire Line
+ 8150 1850 8150 1050
+Connection ~ 8150 1050
+Wire Wire Line
+ 8450 1850 9300 1850
+Wire Wire Line
+ 8750 1850 8750 1250
+Wire Wire Line
+ 9450 1400 8750 1400
+Connection ~ 8750 1400
+Connection ~ 8750 1850
+Wire Wire Line
+ 7500 1050 7500 2350
+Wire Wire Line
+ 7500 2350 8700 2350
+Connection ~ 7500 1050
+Wire Wire Line
+ 9000 2350 10150 2350
+Wire Wire Line
+ 9750 2350 9750 1600
+Wire Wire Line
+ 9600 1850 9750 1850
+Connection ~ 9750 1850
+Wire Wire Line
+ 10150 2350 10150 1750
+Connection ~ 9750 2350
+Wire Wire Line
+ 10150 850 10150 1450
+Connection ~ 10150 850
+Wire Wire Line
+ 9300 2800 11050 2800
+Wire Wire Line
+ 10300 2500 10300 3150
+Connection ~ 10300 2800
+Wire Wire Line
+ 10300 2500 10500 2500
+Wire Wire Line
+ 10800 2500 11050 2500
+Wire Wire Line
+ 9000 3000 8600 3000
+Wire Wire Line
+ 8300 3000 7900 3000
+Wire Wire Line
+ 8700 3800 8700 3000
+Connection ~ 8700 3000
+Wire Wire Line
+ 9000 3800 9850 3800
+Wire Wire Line
+ 9300 3800 9300 3200
+Wire Wire Line
+ 10000 3350 9300 3350
+Connection ~ 9300 3350
+Connection ~ 9300 3800
+Wire Wire Line
+ 8050 3000 8050 4300
+Wire Wire Line
+ 8050 4300 9250 4300
+Connection ~ 8050 3000
+Wire Wire Line
+ 9550 4300 10700 4300
+Wire Wire Line
+ 10300 4300 10300 3550
+Wire Wire Line
+ 10150 3800 10300 3800
+Connection ~ 10300 3800
+Wire Wire Line
+ 10700 4300 10700 3700
+Connection ~ 10300 4300
+Wire Wire Line
+ 10700 2800 10700 3400
+Connection ~ 10700 2800
+Wire Wire Line
+ 2250 3300 4000 3300
+Wire Wire Line
+ 3250 3000 3250 3650
+Connection ~ 3250 3300
+Wire Wire Line
+ 3250 3000 3450 3000
+Wire Wire Line
+ 3750 3000 4000 3000
+Wire Wire Line
+ 1950 3500 1550 3500
+Wire Wire Line
+ 1250 3500 850 3500
+Wire Wire Line
+ 1650 4300 1650 3500
+Connection ~ 1650 3500
+Wire Wire Line
+ 1950 4300 2800 4300
+Wire Wire Line
+ 2250 4300 2250 3700
+Wire Wire Line
+ 2950 3850 2250 3850
+Connection ~ 2250 3850
+Connection ~ 2250 4300
+Wire Wire Line
+ 1000 3500 1000 4800
+Wire Wire Line
+ 1000 4800 2200 4800
+Connection ~ 1000 3500
+Wire Wire Line
+ 2500 4800 4100 4800
+Wire Wire Line
+ 3250 4800 3250 4050
+Wire Wire Line
+ 3100 4300 3250 4300
+Connection ~ 3250 4300
+Wire Wire Line
+ 3650 4800 3650 4200
+Connection ~ 3250 4800
+Wire Wire Line
+ 3650 3300 3650 3900
+Connection ~ 3650 3300
+Wire Wire Line
+ 2350 5350 4100 5350
+Wire Wire Line
+ 3350 5050 3350 5700
+Connection ~ 3350 5350
+Wire Wire Line
+ 3350 5050 3550 5050
+Wire Wire Line
+ 3850 5050 4100 5050
+Wire Wire Line
+ 2050 5550 1650 5550
+Wire Wire Line
+ 1350 5550 950 5550
+Wire Wire Line
+ 1750 6350 1750 5550
+Connection ~ 1750 5550
+Wire Wire Line
+ 2050 6350 2900 6350
+Wire Wire Line
+ 2350 6350 2350 5750
+Wire Wire Line
+ 3050 5900 2350 5900
+Connection ~ 2350 5900
+Connection ~ 2350 6350
+Wire Wire Line
+ 1100 5550 1100 6850
+Wire Wire Line
+ 1100 6850 2300 6850
+Connection ~ 1100 5550
+Wire Wire Line
+ 2600 6850 3750 6850
+Wire Wire Line
+ 3350 6850 3350 6100
+Wire Wire Line
+ 3200 6350 3350 6350
+Connection ~ 3350 6350
+Wire Wire Line
+ 3750 6250 3750 7350
+Connection ~ 3350 6850
+Wire Wire Line
+ 3750 5350 3750 5950
+Connection ~ 3750 5350
+Wire Wire Line
+ 2500 950 4250 950
+Wire Wire Line
+ 3500 650 3500 1300
+Connection ~ 3500 950
+Wire Wire Line
+ 3500 650 3700 650
+Wire Wire Line
+ 4000 650 4250 650
+Wire Wire Line
+ 2200 1150 1800 1150
+Wire Wire Line
+ 1500 1150 1100 1150
+Wire Wire Line
+ 1900 1950 1900 1150
+Connection ~ 1900 1150
+Wire Wire Line
+ 2200 1950 3050 1950
+Wire Wire Line
+ 2500 1950 2500 1350
+Wire Wire Line
+ 3200 1500 2500 1500
+Connection ~ 2500 1500
+Connection ~ 2500 1950
+Wire Wire Line
+ 1250 1150 1250 2450
+Wire Wire Line
+ 1250 2450 2450 2450
+Connection ~ 1250 1150
+Wire Wire Line
+ 2750 2450 4350 2450
+Wire Wire Line
+ 3500 2450 3500 1700
+Wire Wire Line
+ 3350 1950 3500 1950
+Connection ~ 3500 1950
+Wire Wire Line
+ 3900 2450 3900 1850
+Connection ~ 3500 2450
+Wire Wire Line
+ 3900 950 3900 1550
+Connection ~ 3900 950
+Wire Wire Line
+ 5700 3550 7450 3550
+Wire Wire Line
+ 6700 3250 6700 3900
+Connection ~ 6700 3550
+Wire Wire Line
+ 6700 3250 6900 3250
+Wire Wire Line
+ 7200 3250 7450 3250
+Wire Wire Line
+ 5400 3750 5000 3750
+Wire Wire Line
+ 4700 3750 4300 3750
+Wire Wire Line
+ 5100 4550 5100 3750
+Connection ~ 5100 3750
+Wire Wire Line
+ 5400 4550 6250 4550
+Wire Wire Line
+ 5700 4550 5700 3950
+Wire Wire Line
+ 6400 4100 5700 4100
+Connection ~ 5700 4100
+Connection ~ 5700 4550
+Wire Wire Line
+ 4450 3750 4450 5050
+Wire Wire Line
+ 4450 5050 5650 5050
+Connection ~ 4450 3750
+Wire Wire Line
+ 5950 5050 7200 5050
+Wire Wire Line
+ 6700 5050 6700 4300
+Wire Wire Line
+ 6550 4550 6700 4550
+Connection ~ 6700 4550
+Wire Wire Line
+ 7100 5050 7100 4450
+Connection ~ 6700 5050
+Wire Wire Line
+ 7100 3550 7100 4150
+Connection ~ 7100 3550
+Wire Wire Line
+ 9000 4750 10750 4750
+Wire Wire Line
+ 10000 4450 10000 5100
+Connection ~ 10000 4750
+Wire Wire Line
+ 10000 4450 10200 4450
+Wire Wire Line
+ 10500 4450 10750 4450
+Wire Wire Line
+ 8700 4950 8300 4950
+Wire Wire Line
+ 8000 4950 7600 4950
+Wire Wire Line
+ 8400 5750 8400 4950
+Connection ~ 8400 4950
+Wire Wire Line
+ 8700 5750 9550 5750
+Wire Wire Line
+ 9000 5750 9000 5150
+Wire Wire Line
+ 9700 5300 9000 5300
+Connection ~ 9000 5300
+Connection ~ 9000 5750
+Wire Wire Line
+ 7750 4950 7750 6250
+Wire Wire Line
+ 7750 6250 8950 6250
+Connection ~ 7750 4950
+Wire Wire Line
+ 9250 6250 10400 6250
+Wire Wire Line
+ 10000 6250 10000 5500
+Wire Wire Line
+ 9850 5750 10000 5750
+Connection ~ 10000 5750
+Wire Wire Line
+ 10400 6250 10400 5650
+Connection ~ 10000 6250
+Wire Wire Line
+ 10400 4750 10400 5350
+Connection ~ 10400 4750
+Wire Wire Line
+ 5450 2050 5550 2050
+Wire Wire Line
+ 5550 2050 5550 2500
+Wire Wire Line
+ 6050 2350 6050 2000
+Text GLabel 4100 4800 2 60 Input ~ 0
+GND
+Text GLabel 7450 5150 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 7450 5150 7200 5150
+Text GLabel 10650 2250 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10150 2250 10650 2250
+Text GLabel 11050 4150 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10700 4150 11050 4150
+Text GLabel 10800 6200 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 10400 6200 10800 6200
+Text GLabel 7600 7250 2 60 Input ~ 0
+GND
+Text GLabel 4000 7350 2 60 Input ~ 0
+GND
+Wire Wire Line
+ 3750 7350 4000 7350
+Connection ~ 3900 2450
+Connection ~ 3650 4800
+Wire Wire Line
+ 7200 5150 7200 5050
+Connection ~ 7100 5050
+Connection ~ 7100 7250
+Connection ~ 10400 6200
+Connection ~ 10150 2250
+Connection ~ 10700 4150
+Connection ~ 3750 6850
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/L604/L604.sub b/library/SubcircuitLibrary/L604/L604.sub
new file mode 100644
index 00000000..68875480
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604.sub
@@ -0,0 +1,72 @@
+* Subcircuit L604
+.subckt L604 net-_d1-pad1_ net-_d2-pad1_ net-_d5-pad2_ net-_d6-pad2_ net-_d10-pad2_ net-_d13-pad2_ net-_d11-pad2_ net-_d15-pad2_ net-_d12-pad2_ net-_d17-pad2_ net-_d14-pad1_ net-_d21-pad2_ net-_d16-pad1_ net-_d23-pad2_ net-_d18-pad1_ net-_d24-pad2_ gnd com
+* d:\fossee\esim\library\subcircuitlibrary\l604\l604.cir
+.include D.lib
+.include NPN.lib
+r20 net-_d24-pad2_ net-_q15-pad2_ 10.5k
+q15 net-_d18-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r23 net-_q15-pad2_ net-_q15-pad3_ 7.2k
+r24 net-_q15-pad3_ gnd 3k
+q16 net-_d18-pad1_ net-_q15-pad3_ gnd Q2N2222
+d18 net-_d18-pad1_ com 1N4148
+d24 gnd net-_d24-pad2_ 1N4148
+d22 gnd net-_d18-pad1_ 1N4148
+r1 net-_d5-pad2_ net-_q1-pad2_ 10.5k
+q1 net-_d1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+r3 net-_q1-pad2_ net-_q1-pad3_ 7.2k
+r4 net-_q1-pad3_ gnd 3k
+q3 net-_d1-pad1_ net-_q1-pad3_ gnd Q2N2222
+d1 net-_d1-pad1_ com 1N4148
+d5 gnd net-_d5-pad2_ 1N4148
+d3 gnd net-_d1-pad1_ 1N4148
+r7 net-_d13-pad2_ net-_q5-pad2_ 10.5k
+q5 net-_d10-pad2_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r10 net-_q5-pad2_ net-_q5-pad3_ 7.2k
+r11 net-_q5-pad3_ gnd 3k
+q6 net-_d10-pad2_ net-_q5-pad3_ gnd Q2N2222
+d7 net-_d10-pad2_ com 1N4148
+d13 gnd net-_d13-pad2_ 1N4148
+d10 gnd net-_d10-pad2_ 1N4148
+r8 net-_d15-pad2_ net-_q7-pad2_ 10.5k
+q7 net-_d11-pad2_ net-_q7-pad2_ net-_q7-pad3_ Q2N2222
+r12 net-_q7-pad2_ net-_q7-pad3_ 7.2k
+r13 net-_q7-pad3_ gnd 3k
+q9 net-_d11-pad2_ net-_q7-pad3_ gnd Q2N2222
+d8 net-_d11-pad2_ com 1N4148
+d15 gnd net-_d15-pad2_ 1N4148
+d11 gnd net-_d11-pad2_ 1N4148
+r17 net-_d23-pad2_ net-_q13-pad2_ 10.5k
+q13 net-_d16-pad1_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+r21 net-_q13-pad2_ net-_q13-pad3_ 7.2k
+r22 net-_q13-pad3_ gnd 3k
+q14 net-_d16-pad1_ net-_q13-pad3_ gnd Q2N2222
+d16 net-_d16-pad1_ com 1N4148
+d23 gnd net-_d23-pad2_ 1N4148
+d20 gnd net-_d16-pad1_ 1N4148
+r2 net-_d6-pad2_ net-_q2-pad2_ 10.5k
+q2 net-_d2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2222
+r5 net-_q2-pad2_ net-_q2-pad3_ 7.2k
+r6 net-_q2-pad3_ gnd 3k
+q4 net-_d2-pad1_ net-_q2-pad3_ gnd Q2N2222
+d2 net-_d2-pad1_ com 1N4148
+d6 gnd net-_d6-pad2_ 1N4148
+d4 gnd net-_d2-pad1_ 1N4148
+r9 net-_d17-pad2_ net-_q8-pad2_ 10.5k
+q8 net-_d12-pad2_ net-_q8-pad2_ net-_q10-pad2_ Q2N2222
+r14 net-_q8-pad2_ net-_q10-pad2_ 7.2k
+r15 net-_q10-pad2_ gnd 3k
+q10 net-_d12-pad2_ net-_q10-pad2_ gnd Q2N2222
+d9 net-_d12-pad2_ com 1N4148
+d17 gnd net-_d17-pad2_ 1N4148
+d12 gnd net-_d12-pad2_ 1N4148
+r16 net-_d21-pad2_ net-_q11-pad2_ 10.5k
+q11 net-_d14-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r18 net-_q11-pad2_ net-_q11-pad3_ 7.2k
+r19 net-_q11-pad3_ gnd 3k
+q12 net-_d14-pad1_ net-_q11-pad3_ gnd Q2N2222
+d14 net-_d14-pad1_ com 1N4148
+d21 gnd net-_d21-pad2_ 1N4148
+d19 gnd net-_d14-pad1_ 1N4148
+* Control Statements
+
+.ends L604 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/L604/L604_Previous_Values.xml b/library/SubcircuitLibrary/L604/L604_Previous_Values.xml
new file mode 100644
index 00000000..dcf012c2
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/L604_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><d18><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d18><d24><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d24><d22><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d22><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><d1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><d3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><d7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d7><d13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d13><d10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d10><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><d8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d8><d15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d15><d11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d11><q13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><d16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d16><d23><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d23><d20><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d20><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><d2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d6><d4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><d9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d9><d17><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d17><d12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d12><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><d14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d14><d21><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d21><d19><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d19></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">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/L604/NPN.lib b/library/SubcircuitLibrary/L604/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/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/L604/analysis b/library/SubcircuitLibrary/L604/analysis
new file mode 100644
index 00000000..334c5333
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/analysis
@@ -0,0 +1 @@
+.tran 0e-03 0e-03 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/L604/schematicof06-cache.lib b/library/SubcircuitLibrary/L604/schematicof06-cache.lib
new file mode 100644
index 00000000..2a23e8a6
--- /dev/null
+++ b/library/SubcircuitLibrary/L604/schematicof06-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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/SN55461/D.lib b/library/SubcircuitLibrary/SN55461/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/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/SN55461/NPN.lib b/library/SubcircuitLibrary/SN55461/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/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/SN55461/PNP.lib b/library/SubcircuitLibrary/SN55461/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/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/SN55461/analysis b/library/SubcircuitLibrary/SN55461/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN55461/sn55461-cache.lib b/library/SubcircuitLibrary/SN55461/sn55461-cache.lib
new file mode 100644
index 00000000..0f688db8
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461-cache.lib
@@ -0,0 +1,126 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# GNDPWR
+#
+DEF GNDPWR #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -200 50 H I C CNN
+F1 "GNDPWR" 0 -130 50 H V C CNN
+F2 "" 0 -50 50 H I C CNN
+F3 "" 0 -50 50 H I C CNN
+DRAW
+P 2 0 1 0 0 -50 0 0 N
+P 3 0 1 8 -40 -50 -50 -80 -50 -80 N
+P 3 0 1 8 -20 -50 -30 -80 -30 -80 N
+P 3 0 1 8 0 -50 -10 -80 -10 -80 N
+P 3 0 1 8 20 -50 10 -80 10 -80 N
+P 3 0 1 8 40 -50 -40 -50 -40 -50 N
+P 4 0 1 8 40 -50 30 -80 30 -80 30 -80 N
+X GNDPWR 1 0 0 0 U 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_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_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/SN55461/sn55461.cir b/library/SubcircuitLibrary/SN55461/sn55461.cir
new file mode 100644
index 00000000..12b81d82
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461.cir
@@ -0,0 +1,39 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\sn55461\sn55461.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/16/25 19:21:55
+
+* 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 vcc Net-_Q4-Pad2_ 4k
+R2 vcc Net-_Q1-Pad2_ 1.6k
+R1 vcc Net-_Q1-Pad1_ 130
+Q4 Net-_Q3-Pad2_ Net-_Q4-Pad2_ Net-_D3-Pad2_ eSim_NPN
+Q5 Net-_Q3-Pad2_ Net-_Q4-Pad2_ Net-_D2-Pad2_ eSim_NPN
+Q3 Net-_Q1-Pad2_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+R8 Net-_Q3-Pad3_ gnd1 1k
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_D1-Pad1_ eSim_NPN
+D3 gnd1 Net-_D3-Pad2_ eSim_Diode
+D2 gnd1 Net-_D2-Pad2_ eSim_Diode
+Q6 Net-_D1-Pad2_ Net-_Q3-Pad3_ gnd1 eSim_NPN
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+R4 Net-_D1-Pad2_ gnd1 500
+Q2 Net-_Q2-Pad1_ Net-_D1-Pad2_ gnd1 eSim_NPN
+U1 vcc Net-_Q2-Pad1_ Net-_D3-Pad2_ Net-_D2-Pad2_ Net-_Q8-Pad1_ Net-_D6-Pad2_ Net-_D5-Pad2_ gnd1 PORT
+R7 vcc Net-_Q10-Pad2_ 4k
+R6 vcc Net-_Q7-Pad2_ 1.6k
+R5 vcc Net-_Q7-Pad1_ 130
+Q11 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_D6-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_D5-Pad2_ eSim_NPN
+Q9 Net-_Q7-Pad2_ Net-_Q10-Pad1_ Net-_Q12-Pad2_ eSim_NPN
+R10 Net-_Q12-Pad2_ gnd1 1k
+Q7 Net-_Q7-Pad1_ Net-_Q7-Pad2_ Net-_D4-Pad1_ eSim_NPN
+D6 gnd1 Net-_D6-Pad2_ eSim_Diode
+D5 gnd1 Net-_D5-Pad2_ eSim_Diode
+Q12 Net-_D4-Pad2_ Net-_Q12-Pad2_ gnd1 eSim_NPN
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R9 Net-_D4-Pad2_ gnd1 500
+Q8 Net-_Q8-Pad1_ Net-_D4-Pad2_ gnd1 eSim_NPN
+
+.end
diff --git a/library/SubcircuitLibrary/SN55461/sn55461.cir.out b/library/SubcircuitLibrary/SN55461/sn55461.cir.out
new file mode 100644
index 00000000..51c4abb0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461.cir.out
@@ -0,0 +1,42 @@
+* d:\fossee\esim\library\subcircuitlibrary\sn55461\sn55461.cir
+
+.include NPN.lib
+.include D.lib
+r3 vcc net-_q4-pad2_ 4k
+r2 vcc net-_q1-pad2_ 1.6k
+r1 vcc net-_q1-pad1_ 130
+q4 net-_q3-pad2_ net-_q4-pad2_ net-_d3-pad2_ Q2N2222
+q5 net-_q3-pad2_ net-_q4-pad2_ net-_d2-pad2_ Q2N2222
+q3 net-_q1-pad2_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+r8 net-_q3-pad3_ gnd1 1k
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_d1-pad1_ Q2N2222
+d3 gnd1 net-_d3-pad2_ 1N4148
+d2 gnd1 net-_d2-pad2_ 1N4148
+q6 net-_d1-pad2_ net-_q3-pad3_ gnd1 Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+r4 net-_d1-pad2_ gnd1 500
+q2 net-_q2-pad1_ net-_d1-pad2_ gnd1 Q2N2222
+* u1 vcc net-_q2-pad1_ net-_d3-pad2_ net-_d2-pad2_ net-_q8-pad1_ net-_d6-pad2_ net-_d5-pad2_ gnd1 port
+r7 vcc net-_q10-pad2_ 4k
+r6 vcc net-_q7-pad2_ 1.6k
+r5 vcc net-_q7-pad1_ 130
+q11 net-_q10-pad1_ net-_q10-pad2_ net-_d6-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d5-pad2_ Q2N2222
+q9 net-_q7-pad2_ net-_q10-pad1_ net-_q12-pad2_ Q2N2222
+r10 net-_q12-pad2_ gnd1 1k
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_d4-pad1_ Q2N2222
+d6 gnd1 net-_d6-pad2_ 1N4148
+d5 gnd1 net-_d5-pad2_ 1N4148
+q12 net-_d4-pad2_ net-_q12-pad2_ gnd1 Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r9 net-_d4-pad2_ gnd1 500
+q8 net-_q8-pad1_ net-_d4-pad2_ gnd1 Q2N2222
+.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/SN55461/sn55461.pro b/library/SubcircuitLibrary/SN55461/sn55461.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461.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/SN55461/sn55461.sch b/library/SubcircuitLibrary/SN55461/sn55461.sch
new file mode 100644
index 00000000..5fd9c6d3
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461.sch
@@ -0,0 +1,673 @@
+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:sn55461-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 resistor R3
+U 1 1 67B0155B
+P 1650 1450
+F 0 "R3" H 1700 1580 50 0000 C CNN
+F 1 "4k" H 1700 1400 50 0000 C CNN
+F 2 "" H 1700 1430 30 0000 C CNN
+F 3 "" V 1700 1500 30 0000 C CNN
+ 1 1650 1450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 67B0157B
+P 2850 1350
+F 0 "R2" H 2900 1480 50 0000 C CNN
+F 1 "1.6k" H 2900 1300 50 0000 C CNN
+F 2 "" H 2900 1330 30 0000 C CNN
+F 3 "" V 2900 1400 30 0000 C CNN
+ 1 2850 1350
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 67B015B5
+P 3850 1300
+F 0 "R1" H 3900 1430 50 0000 C CNN
+F 1 "130" H 3900 1250 50 0000 C CNN
+F 2 "" H 3900 1280 30 0000 C CNN
+F 3 "" V 3900 1350 30 0000 C CNN
+ 1 3850 1300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 67B015F3
+P 1400 2800
+F 0 "Q4" H 1300 2850 50 0000 R CNN
+F 1 "eSim_NPN" H 1350 2950 50 0000 R CNN
+F 2 "" H 1600 2900 29 0000 C CNN
+F 3 "" H 1400 2800 60 0000 C CNN
+ 1 1400 2800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 67B0165A
+P 1900 2800
+F 0 "Q5" H 1800 2850 50 0000 R CNN
+F 1 "eSim_NPN" H 1850 2950 50 0000 R CNN
+F 2 "" H 2100 2900 29 0000 C CNN
+F 3 "" H 1900 2800 60 0000 C CNN
+ 1 1900 2800
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 67B017E1
+P 2850 2750
+F 0 "Q3" H 2750 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 2800 2900 50 0000 R CNN
+F 2 "" H 3050 2850 29 0000 C CNN
+F 3 "" H 2850 2750 60 0000 C CNN
+ 1 2850 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 67B019B4
+P 2850 3500
+F 0 "R8" H 2900 3630 50 0000 C CNN
+F 1 "1k" H 2900 3450 50 0000 C CNN
+F 2 "" H 2900 3480 30 0000 C CNN
+F 3 "" V 2900 3550 30 0000 C CNN
+ 1 2850 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 67B01B07
+P 3400 1950
+F 0 "Q1" H 3300 2000 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 2100 50 0000 R CNN
+F 2 "" H 3600 2050 29 0000 C CNN
+F 3 "" H 3400 1950 60 0000 C CNN
+ 1 3400 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 67B01D8D
+P 1000 3700
+F 0 "D3" H 1000 3800 50 0000 C CNN
+F 1 "eSim_Diode" H 1000 3600 50 0000 C CNN
+F 2 "" H 1000 3700 60 0000 C CNN
+F 3 "" H 1000 3700 60 0000 C CNN
+ 1 1000 3700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 67B01EEF
+P 2100 3650
+F 0 "D2" H 2100 3750 50 0000 C CNN
+F 1 "eSim_Diode" H 2100 3550 50 0000 C CNN
+F 2 "" H 2100 3650 60 0000 C CNN
+F 3 "" H 2100 3650 60 0000 C CNN
+ 1 2100 3650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 67B01F4B
+P 3500 3150
+F 0 "Q6" H 3400 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 3450 3300 50 0000 R CNN
+F 2 "" H 3700 3250 29 0000 C CNN
+F 3 "" H 3500 3150 60 0000 C CNN
+ 1 3500 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 67B01FA6
+P 3500 2500
+F 0 "D1" H 3500 2600 50 0000 C CNN
+F 1 "eSim_Diode" H 3500 2400 50 0000 C CNN
+F 2 "" H 3500 2500 60 0000 C CNN
+F 3 "" H 3500 2500 60 0000 C CNN
+ 1 3500 2500
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 67B02014
+P 4100 3150
+F 0 "R4" H 4150 3280 50 0000 C CNN
+F 1 "500" H 4150 3100 50 0000 C CNN
+F 2 "" H 4150 3130 30 0000 C CNN
+F 3 "" V 4150 3200 30 0000 C CNN
+ 1 4100 3150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 67B02075
+P 4550 2650
+F 0 "Q2" H 4450 2700 50 0000 R CNN
+F 1 "eSim_NPN" H 4500 2800 50 0000 R CNN
+F 2 "" H 4750 2750 29 0000 C CNN
+F 3 "" H 4550 2650 60 0000 C CNN
+ 1 4550 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L GNDPWR #PWR01
+U 1 1 67B020E9
+P 4500 4500
+F 0 "#PWR01" H 4500 4300 50 0001 C CNN
+F 1 "GNDPWR" H 4500 4370 50 0000 C CNN
+F 2 "" H 4500 4450 50 0001 C CNN
+F 3 "" H 4500 4450 50 0001 C CNN
+ 1 4500 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 67B022AA
+P 5200 2400
+F 0 "U1" H 5250 2500 30 0000 C CNN
+F 1 "PORT" H 5200 2400 30 0000 C CNN
+F 2 "" H 5200 2400 60 0000 C CNN
+F 3 "" H 5200 2400 60 0000 C CNN
+ 2 5200 2400
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 67B0239D
+P 600 2950
+F 0 "U1" H 650 3050 30 0000 C CNN
+F 1 "PORT" H 600 2950 30 0000 C CNN
+F 2 "" H 600 2950 60 0000 C CNN
+F 3 "" H 600 2950 60 0000 C CNN
+ 3 600 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 67B026E1
+P 600 3300
+F 0 "U1" H 650 3400 30 0000 C CNN
+F 1 "PORT" H 600 3300 30 0000 C CNN
+F 2 "" H 600 3300 60 0000 C CNN
+F 3 "" H 600 3300 60 0000 C CNN
+ 4 600 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 67B03BE7
+P 9650 3400
+F 0 "R7" H 9700 3530 50 0000 C CNN
+F 1 "4k" H 9700 3350 50 0000 C CNN
+F 2 "" H 9700 3380 30 0000 C CNN
+F 3 "" V 9700 3450 30 0000 C CNN
+ 1 9650 3400
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 67B03BED
+P 8450 3300
+F 0 "R6" H 8500 3430 50 0000 C CNN
+F 1 "1.6k" H 8500 3250 50 0000 C CNN
+F 2 "" H 8500 3280 30 0000 C CNN
+F 3 "" V 8500 3350 30 0000 C CNN
+ 1 8450 3300
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 67B03BF3
+P 7450 3250
+F 0 "R5" H 7500 3380 50 0000 C CNN
+F 1 "130" H 7500 3200 50 0000 C CNN
+F 2 "" H 7500 3230 30 0000 C CNN
+F 3 "" V 7500 3300 30 0000 C CNN
+ 1 7450 3250
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 67B03BF9
+P 9900 4750
+F 0 "Q11" H 9800 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 4900 50 0000 R CNN
+F 2 "" H 10100 4850 29 0000 C CNN
+F 3 "" H 9900 4750 60 0000 C CNN
+ 1 9900 4750
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 67B03BFF
+P 9400 4750
+F 0 "Q10" H 9300 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 9350 4900 50 0000 R CNN
+F 2 "" H 9600 4850 29 0000 C CNN
+F 3 "" H 9400 4750 60 0000 C CNN
+ 1 9400 4750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 67B03C05
+P 8450 4700
+F 0 "Q9" H 8350 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 8400 4850 50 0000 R CNN
+F 2 "" H 8650 4800 29 0000 C CNN
+F 3 "" H 8450 4700 60 0000 C CNN
+ 1 8450 4700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 67B03C0B
+P 8450 5450
+F 0 "R10" H 8500 5580 50 0000 C CNN
+F 1 "1k" H 8500 5400 50 0000 C CNN
+F 2 "" H 8500 5430 30 0000 C CNN
+F 3 "" V 8500 5500 30 0000 C CNN
+ 1 8450 5450
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 67B03C11
+P 7900 3900
+F 0 "Q7" H 7800 3950 50 0000 R CNN
+F 1 "eSim_NPN" H 7850 4050 50 0000 R CNN
+F 2 "" H 8100 4000 29 0000 C CNN
+F 3 "" H 7900 3900 60 0000 C CNN
+ 1 7900 3900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 67B03C17
+P 10300 5650
+F 0 "D6" H 10300 5750 50 0000 C CNN
+F 1 "eSim_Diode" H 10300 5550 50 0000 C CNN
+F 2 "" H 10300 5650 60 0000 C CNN
+F 3 "" H 10300 5650 60 0000 C CNN
+ 1 10300 5650
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 67B03C1D
+P 9200 5600
+F 0 "D5" H 9200 5700 50 0000 C CNN
+F 1 "eSim_Diode" H 9200 5500 50 0000 C CNN
+F 2 "" H 9200 5600 60 0000 C CNN
+F 3 "" H 9200 5600 60 0000 C CNN
+ 1 9200 5600
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 67B03C23
+P 7800 5100
+F 0 "Q12" H 7700 5150 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 5250 50 0000 R CNN
+F 2 "" H 8000 5200 29 0000 C CNN
+F 3 "" H 7800 5100 60 0000 C CNN
+ 1 7800 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 67B03C29
+P 7800 4450
+F 0 "D4" H 7800 4550 50 0000 C CNN
+F 1 "eSim_Diode" H 7800 4350 50 0000 C CNN
+F 2 "" H 7800 4450 60 0000 C CNN
+F 3 "" H 7800 4450 60 0000 C CNN
+ 1 7800 4450
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 67B03C2F
+P 7200 5100
+F 0 "R9" H 7250 5230 50 0000 C CNN
+F 1 "500" H 7250 5050 50 0000 C CNN
+F 2 "" H 7250 5080 30 0000 C CNN
+F 3 "" V 7250 5150 30 0000 C CNN
+ 1 7200 5100
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 67B03C35
+P 6750 4600
+F 0 "Q8" H 6650 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 6700 4750 50 0000 R CNN
+F 2 "" H 6950 4700 29 0000 C CNN
+F 3 "" H 6750 4600 60 0000 C CNN
+ 1 6750 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L GNDPWR #PWR02
+U 1 1 67B03C3B
+P 6800 6400
+F 0 "#PWR02" H 6800 6200 50 0001 C CNN
+F 1 "GNDPWR" H 6800 6270 50 0000 C CNN
+F 2 "" H 6800 6350 50 0001 C CNN
+F 3 "" H 6800 6350 50 0001 C CNN
+ 1 6800 6400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 67B03C41
+P 6100 4350
+F 0 "U1" H 6150 4450 30 0000 C CNN
+F 1 "PORT" H 6100 4350 30 0000 C CNN
+F 2 "" H 6100 4350 60 0000 C CNN
+F 3 "" H 6100 4350 60 0000 C CNN
+ 5 6100 4350
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 67B03C47
+P 10700 4900
+F 0 "U1" H 10750 5000 30 0000 C CNN
+F 1 "PORT" H 10700 4900 30 0000 C CNN
+F 2 "" H 10700 4900 60 0000 C CNN
+F 3 "" H 10700 4900 60 0000 C CNN
+ 6 10700 4900
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 67B03C4D
+P 10700 5250
+F 0 "U1" H 10750 5350 30 0000 C CNN
+F 1 "PORT" H 10700 5250 30 0000 C CNN
+F 2 "" H 10700 5250 60 0000 C CNN
+F 3 "" H 10700 5250 60 0000 C CNN
+ 7 10700 5250
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 67B04090
+P 8700 1450
+F 0 "U1" H 8750 1550 30 0000 C CNN
+F 1 "PORT" H 8700 1450 30 0000 C CNN
+F 2 "" H 8700 1450 60 0000 C CNN
+F 3 "" H 8700 1450 60 0000 C CNN
+ 1 8700 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 67B0436C
+P 5400 4850
+F 0 "U1" H 5450 4950 30 0000 C CNN
+F 1 "PORT" H 5400 4850 30 0000 C CNN
+F 2 "" H 5400 4850 60 0000 C CNN
+F 3 "" H 5400 4850 60 0000 C CNN
+ 8 5400 4850
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 1600 2900 1700 2900
+Wire Wire Line
+ 1400 2600 1900 2600
+Wire Wire Line
+ 2950 2950 2950 3400
+Wire Wire Line
+ 2950 3400 2900 3400
+Wire Wire Line
+ 2950 1550 2950 2550
+Wire Wire Line
+ 2950 1550 2900 1550
+Wire Wire Line
+ 2950 1950 3200 1950
+Connection ~ 2950 1950
+Wire Wire Line
+ 3500 1750 3900 1750
+Wire Wire Line
+ 3900 1750 3900 1500
+Wire Wire Line
+ 2900 1250 2900 1050
+Wire Wire Line
+ 1700 1050 6500 1050
+Wire Wire Line
+ 3900 1050 3900 1200
+Wire Wire Line
+ 1700 1050 1700 1350
+Connection ~ 2900 1050
+Wire Wire Line
+ 850 3300 2100 3300
+Wire Wire Line
+ 2100 2900 2100 3500
+Connection ~ 2100 3300
+Wire Wire Line
+ 1000 3550 1000 2950
+Connection ~ 1000 2950
+Wire Wire Line
+ 1700 1650 1700 2600
+Connection ~ 1700 2600
+Wire Wire Line
+ 1200 2950 1200 2900
+Wire Wire Line
+ 850 2950 1200 2950
+Wire Wire Line
+ 1650 2900 1650 3100
+Wire Wire Line
+ 1650 3100 2650 3100
+Wire Wire Line
+ 2650 3100 2650 2750
+Connection ~ 1650 2900
+Wire Wire Line
+ 3500 2150 3500 2350
+Wire Wire Line
+ 3500 2650 4350 2650
+Wire Wire Line
+ 3600 2650 3600 2950
+Wire Wire Line
+ 3300 3150 2950 3150
+Connection ~ 2950 3150
+Connection ~ 3600 2650
+Wire Wire Line
+ 4150 2650 4150 3050
+Connection ~ 4150 2650
+Wire Wire Line
+ 4650 2450 4950 2450
+Wire Wire Line
+ 4950 2450 4950 2400
+Wire Wire Line
+ 4650 4100 4650 2850
+Wire Wire Line
+ 1000 4100 4950 4100
+Wire Wire Line
+ 4150 3350 4150 4100
+Connection ~ 4650 4100
+Wire Wire Line
+ 3600 3350 3600 4100
+Connection ~ 4150 4100
+Wire Wire Line
+ 2900 3700 2900 4100
+Connection ~ 3600 4100
+Wire Wire Line
+ 2100 3800 2100 4100
+Connection ~ 2900 4100
+Wire Wire Line
+ 1000 3850 1000 4100
+Connection ~ 2100 4100
+Connection ~ 3900 1050
+Wire Wire Line
+ 9600 4850 9700 4850
+Wire Wire Line
+ 9400 4550 9900 4550
+Wire Wire Line
+ 8350 4900 8350 5350
+Wire Wire Line
+ 8350 5350 8400 5350
+Wire Wire Line
+ 8350 3500 8350 4500
+Wire Wire Line
+ 8350 3500 8400 3500
+Wire Wire Line
+ 8350 3900 8100 3900
+Connection ~ 8350 3900
+Wire Wire Line
+ 7800 3700 7400 3700
+Wire Wire Line
+ 7400 3700 7400 3450
+Wire Wire Line
+ 8400 3200 8400 3000
+Wire Wire Line
+ 6150 3000 9600 3000
+Wire Wire Line
+ 7400 3000 7400 3150
+Wire Wire Line
+ 9600 3000 9600 3300
+Connection ~ 8400 3000
+Wire Wire Line
+ 10450 5250 9200 5250
+Wire Wire Line
+ 9200 4850 9200 5450
+Connection ~ 9200 5250
+Wire Wire Line
+ 10300 5500 10300 4900
+Connection ~ 10300 4900
+Wire Wire Line
+ 9600 3600 9600 4550
+Connection ~ 9600 4550
+Wire Wire Line
+ 10100 4900 10100 4850
+Wire Wire Line
+ 10100 4900 10450 4900
+Wire Wire Line
+ 9650 4850 9650 5050
+Wire Wire Line
+ 9650 5050 8650 5050
+Wire Wire Line
+ 8650 5050 8650 4700
+Connection ~ 9650 4850
+Wire Wire Line
+ 7800 4100 7800 4300
+Wire Wire Line
+ 6950 4600 7800 4600
+Wire Wire Line
+ 7700 4600 7700 4900
+Wire Wire Line
+ 8000 5100 8350 5100
+Connection ~ 8350 5100
+Connection ~ 7700 4600
+Wire Wire Line
+ 7150 4600 7150 5000
+Connection ~ 7150 4600
+Wire Wire Line
+ 6650 4400 6350 4400
+Wire Wire Line
+ 6350 4400 6350 4350
+Wire Wire Line
+ 6650 4800 6650 6050
+Wire Wire Line
+ 4950 6050 10300 6050
+Wire Wire Line
+ 7150 5300 7150 6050
+Connection ~ 6650 6050
+Wire Wire Line
+ 6800 6050 6800 6400
+Wire Wire Line
+ 7700 5300 7700 6050
+Connection ~ 7150 6050
+Wire Wire Line
+ 8400 5650 8400 6050
+Connection ~ 7700 6050
+Wire Wire Line
+ 9200 5750 9200 6050
+Connection ~ 8400 6050
+Wire Wire Line
+ 10300 6050 10300 5800
+Connection ~ 9200 6050
+Connection ~ 7400 3000
+Wire Wire Line
+ 7650 1450 8450 1450
+Wire Wire Line
+ 6500 1050 6500 1300
+Wire Wire Line
+ 4950 4850 5150 4850
+Wire Wire Line
+ 4500 4500 4500 4100
+Connection ~ 4500 4100
+Connection ~ 6800 6050
+Text GLabel 7650 1450 0 60 Input ~ 0
+vcc
+Text GLabel 6500 1300 3 60 Input ~ 0
+vcc
+Text GLabel 6150 3000 0 60 Input ~ 0
+vcc
+Text GLabel 4950 4100 2 60 Input ~ 0
+gnd1
+Text GLabel 4950 4850 0 60 Input ~ 0
+gnd1
+Text GLabel 4950 6050 0 60 Input ~ 0
+gnd1
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SN55461/sn55461.sub b/library/SubcircuitLibrary/SN55461/sn55461.sub
new file mode 100644
index 00000000..f2e3d568
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461.sub
@@ -0,0 +1,36 @@
+* Subcircuit sn55461
+.subckt sn55461 vcc net-_q2-pad1_ net-_d3-pad2_ net-_d2-pad2_ net-_q8-pad1_ net-_d6-pad2_ net-_d5-pad2_ gnd1
+* d:\fossee\esim\library\subcircuitlibrary\sn55461\sn55461.cir
+.include NPN.lib
+.include D.lib
+r3 vcc net-_q4-pad2_ 4k
+r2 vcc net-_q1-pad2_ 1.6k
+r1 vcc net-_q1-pad1_ 130
+q4 net-_q3-pad2_ net-_q4-pad2_ net-_d3-pad2_ Q2N2222
+q5 net-_q3-pad2_ net-_q4-pad2_ net-_d2-pad2_ Q2N2222
+q3 net-_q1-pad2_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+r8 net-_q3-pad3_ gnd1 1k
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_d1-pad1_ Q2N2222
+d3 gnd1 net-_d3-pad2_ 1N4148
+d2 gnd1 net-_d2-pad2_ 1N4148
+q6 net-_d1-pad2_ net-_q3-pad3_ gnd1 Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+r4 net-_d1-pad2_ gnd1 500
+q2 net-_q2-pad1_ net-_d1-pad2_ gnd1 Q2N2222
+r7 vcc net-_q10-pad2_ 4k
+r6 vcc net-_q7-pad2_ 1.6k
+r5 vcc net-_q7-pad1_ 130
+q11 net-_q10-pad1_ net-_q10-pad2_ net-_d6-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d5-pad2_ Q2N2222
+q9 net-_q7-pad2_ net-_q10-pad1_ net-_q12-pad2_ Q2N2222
+r10 net-_q12-pad2_ gnd1 1k
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_d4-pad1_ Q2N2222
+d6 gnd1 net-_d6-pad2_ 1N4148
+d5 gnd1 net-_d5-pad2_ 1N4148
+q12 net-_d4-pad2_ net-_q12-pad2_ gnd1 Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r9 net-_d4-pad2_ gnd1 500
+q8 net-_q8-pad1_ net-_d4-pad2_ gnd1 Q2N2222
+* Control Statements
+
+.ends sn55461 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN55461/sn55461_Previous_Values.xml b/library/SubcircuitLibrary/SN55461/sn55461_Previous_Values.xml
new file mode 100644
index 00000000..134af591
--- /dev/null
+++ b/library/SubcircuitLibrary/SN55461/sn55461_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><d3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><d2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><d1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><d6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d6><d5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><d4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8></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/SN74LS09/D.lib b/library/SubcircuitLibrary/SN74LS09/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/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/SN74LS09/NPN.lib b/library/SubcircuitLibrary/SN74LS09/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/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/SN74LS09/analysis b/library/SubcircuitLibrary/SN74LS09/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LS09/sn74ls09__-cache.lib b/library/SubcircuitLibrary/SN74LS09/sn74ls09__-cache.lib
new file mode 100644
index 00000000..8fb17493
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__-cache.lib
@@ -0,0 +1,143 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# GNDPWR
+#
+DEF GNDPWR #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -200 50 H I C CNN
+F1 "GNDPWR" 0 -130 50 H V C CNN
+F2 "" 0 -50 50 H I C CNN
+F3 "" 0 -50 50 H I C CNN
+DRAW
+P 2 0 1 0 0 -50 0 0 N
+P 3 0 1 8 -40 -50 -50 -80 -50 -80 N
+P 3 0 1 8 -20 -50 -30 -80 -30 -80 N
+P 3 0 1 8 0 -50 -10 -80 -10 -80 N
+P 3 0 1 8 20 -50 10 -80 10 -80 N
+P 3 0 1 8 40 -50 -40 -50 -40 -50 N
+P 4 0 1 8 40 -50 30 -80 30 -80 30 -80 N
+X GNDPWR 1 0 0 0 U 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_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_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/SN74LS09/sn74ls09__.cir b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir
new file mode 100644
index 00000000..f7960c03
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir
@@ -0,0 +1,59 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\sn74ls09__\sn74ls09__.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/17/25 00:06:42
+
+* 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-_R1-Pad1_ Net-_Q4-Pad2_ 20k
+R2 Net-_R1-Pad1_ Net-_Q1-Pad2_ 10k
+R3 Net-_R1-Pad1_ Net-_Q1-Pad1_ 8k
+R7 Net-_Q1-Pad3_ GNDPWR 5k
+D1 Net-_D1-Pad1_ GNDPWR eSim_Diode
+U6 GNDPWR Net-_U1-Pad7_ zener
+U7 GNDPWR Net-_U1-Pad4_ zener
+U2 Net-_Q4-Pad2_ Net-_U1-Pad4_ zener
+U4 Net-_Q4-Pad2_ Net-_U1-Pad7_ zener
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q4 Net-_Q1-Pad2_ Net-_Q4-Pad2_ Net-_D1-Pad1_ eSim_NPN
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ GNDPWR eSim_NPN
+U1 Net-_R1-Pad1_ GNDPWR Net-_Q2-Pad1_ Net-_U1-Pad4_ Net-_Q5-Pad1_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ Net-_Q8-Pad1_ Net-_U1-Pad10_ Net-_Q11-Pad1_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ PORT
+R9 Net-_R1-Pad1_ Net-_Q10-Pad2_ 20k
+R10 Net-_R1-Pad1_ Net-_Q10-Pad1_ 10k
+R11 Net-_R1-Pad1_ Net-_Q7-Pad1_ 8k
+R15 Net-_Q7-Pad3_ GNDPWR 5k
+D3 Net-_D3-Pad1_ GNDPWR eSim_Diode
+U14 GNDPWR Net-_U1-Pad13_ zener
+U15 GNDPWR Net-_U1-Pad10_ zener
+U10 Net-_Q10-Pad2_ Net-_U1-Pad10_ zener
+U12 Net-_Q10-Pad2_ Net-_U1-Pad13_ zener
+Q7 Net-_Q7-Pad1_ Net-_Q10-Pad1_ Net-_Q7-Pad3_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_D3-Pad1_ eSim_NPN
+Q8 Net-_Q8-Pad1_ Net-_Q7-Pad3_ GNDPWR eSim_NPN
+R6 Net-_R1-Pad1_ Net-_Q6-Pad2_ 20k
+R5 Net-_R1-Pad1_ Net-_Q3-Pad2_ 10k
+R4 Net-_R1-Pad1_ Net-_Q3-Pad1_ 8k
+R8 Net-_Q3-Pad3_ GNDPWR 5k
+D2 Net-_D2-Pad1_ GNDPWR eSim_Diode
+U8 GNDPWR Net-_U1-Pad8_ zener
+U9 GNDPWR Net-_U1-Pad6_ zener
+U3 Net-_Q6-Pad2_ Net-_U1-Pad6_ zener
+U5 Net-_Q6-Pad2_ Net-_U1-Pad8_ zener
+Q3 Net-_Q3-Pad1_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+Q6 Net-_Q3-Pad2_ Net-_Q6-Pad2_ Net-_D2-Pad1_ eSim_NPN
+Q5 Net-_Q5-Pad1_ Net-_Q3-Pad3_ GNDPWR eSim_NPN
+R14 Net-_R1-Pad1_ Net-_Q12-Pad2_ 20k
+R13 Net-_R1-Pad1_ Net-_Q12-Pad1_ 10k
+R12 Net-_R1-Pad1_ Net-_Q9-Pad1_ 8k
+R16 Net-_Q11-Pad2_ GNDPWR 5k
+D4 Net-_D4-Pad1_ GNDPWR eSim_Diode
+U16 GNDPWR Net-_U1-Pad14_ zener
+U17 GNDPWR Net-_U1-Pad12_ zener
+U11 Net-_Q12-Pad2_ Net-_U1-Pad12_ zener
+U13 Net-_Q12-Pad2_ Net-_U1-Pad14_ zener
+Q9 Net-_Q9-Pad1_ Net-_Q12-Pad1_ Net-_Q11-Pad2_ eSim_NPN
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_D4-Pad1_ eSim_NPN
+Q11 Net-_Q11-Pad1_ Net-_Q11-Pad2_ GNDPWR eSim_NPN
+
+.end
diff --git a/library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir.out b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir.out
new file mode 100644
index 00000000..2e5a4e53
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.cir.out
@@ -0,0 +1,110 @@
+* d:\fossee\esim\library\subcircuitlibrary\sn74ls09__\sn74ls09__.cir
+
+.include NPN.lib
+.include D.lib
+r1 net-_r1-pad1_ net-_q4-pad2_ 20k
+r2 net-_r1-pad1_ net-_q1-pad2_ 10k
+r3 net-_r1-pad1_ net-_q1-pad1_ 8k
+r7 net-_q1-pad3_ gndpwr 5k
+d1 net-_d1-pad1_ gndpwr 1N4148
+* u6 gndpwr net-_u1-pad7_ zener
+* u7 gndpwr net-_u1-pad4_ zener
+* u2 net-_q4-pad2_ net-_u1-pad4_ zener
+* u4 net-_q4-pad2_ net-_u1-pad7_ zener
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad2_ net-_q4-pad2_ net-_d1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ gndpwr Q2N2222
+* u1 net-_r1-pad1_ gndpwr net-_q2-pad1_ net-_u1-pad4_ net-_q5-pad1_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_q8-pad1_ net-_u1-pad10_ net-_q11-pad1_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ port
+r9 net-_r1-pad1_ net-_q10-pad2_ 20k
+r10 net-_r1-pad1_ net-_q10-pad1_ 10k
+r11 net-_r1-pad1_ net-_q7-pad1_ 8k
+r15 net-_q7-pad3_ gndpwr 5k
+d3 net-_d3-pad1_ gndpwr 1N4148
+* u14 gndpwr net-_u1-pad13_ zener
+* u15 gndpwr net-_u1-pad10_ zener
+* u10 net-_q10-pad2_ net-_u1-pad10_ zener
+* u12 net-_q10-pad2_ net-_u1-pad13_ zener
+q7 net-_q7-pad1_ net-_q10-pad1_ net-_q7-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d3-pad1_ Q2N2222
+q8 net-_q8-pad1_ net-_q7-pad3_ gndpwr Q2N2222
+r6 net-_r1-pad1_ net-_q6-pad2_ 20k
+r5 net-_r1-pad1_ net-_q3-pad2_ 10k
+r4 net-_r1-pad1_ net-_q3-pad1_ 8k
+r8 net-_q3-pad3_ gndpwr 5k
+d2 net-_d2-pad1_ gndpwr 1N4148
+* u8 gndpwr net-_u1-pad8_ zener
+* u9 gndpwr net-_u1-pad6_ zener
+* u3 net-_q6-pad2_ net-_u1-pad6_ zener
+* u5 net-_q6-pad2_ net-_u1-pad8_ zener
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q3-pad2_ net-_q6-pad2_ net-_d2-pad1_ Q2N2222
+q5 net-_q5-pad1_ net-_q3-pad3_ gndpwr Q2N2222
+r14 net-_r1-pad1_ net-_q12-pad2_ 20k
+r13 net-_r1-pad1_ net-_q12-pad1_ 10k
+r12 net-_r1-pad1_ net-_q9-pad1_ 8k
+r16 net-_q11-pad2_ gndpwr 5k
+d4 net-_d4-pad1_ gndpwr 1N4148
+* u16 gndpwr net-_u1-pad14_ zener
+* u17 gndpwr net-_u1-pad12_ zener
+* u11 net-_q12-pad2_ net-_u1-pad12_ zener
+* u13 net-_q12-pad2_ net-_u1-pad14_ zener
+q9 net-_q9-pad1_ net-_q12-pad1_ net-_q11-pad2_ Q2N2222
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_d4-pad1_ Q2N2222
+q11 net-_q11-pad1_ net-_q11-pad2_ gndpwr Q2N2222
+a1 gndpwr net-_u1-pad7_ u6
+a2 gndpwr net-_u1-pad4_ u7
+a3 net-_q4-pad2_ net-_u1-pad4_ u2
+a4 net-_q4-pad2_ net-_u1-pad7_ u4
+a5 gndpwr net-_u1-pad13_ u14
+a6 gndpwr net-_u1-pad10_ u15
+a7 net-_q10-pad2_ net-_u1-pad10_ u10
+a8 net-_q10-pad2_ net-_u1-pad13_ u12
+a9 gndpwr net-_u1-pad8_ u8
+a10 gndpwr net-_u1-pad6_ u9
+a11 net-_q6-pad2_ net-_u1-pad6_ u3
+a12 net-_q6-pad2_ net-_u1-pad8_ u5
+a13 gndpwr net-_u1-pad14_ u16
+a14 gndpwr net-_u1-pad12_ u17
+a15 net-_q12-pad2_ net-_u1-pad12_ u11
+a16 net-_q12-pad2_ net-_u1-pad14_ u13
+* 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 )
+* 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 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 u14 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 u15 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 u10 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 u12 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 )
+* 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 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 u16 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 u17 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 u11 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 u13 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/SN74LS09/sn74ls09__.pro b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.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/SN74LS09/sn74ls09__.sch b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.sch
new file mode 100644
index 00000000..06244fbe
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.sch
@@ -0,0 +1,1076 @@
+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
+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 resistor R1
+U 1 1 67B229EC
+P 2200 1750
+F 0 "R1" H 2250 1880 50 0000 C CNN
+F 1 "20k" H 2250 1700 50 0000 C CNN
+F 2 "" H 2250 1730 30 0000 C CNN
+F 3 "" V 2250 1800 30 0000 C CNN
+ 1 2200 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 67B22A6B
+P 2900 1750
+F 0 "R2" H 2950 1880 50 0000 C CNN
+F 1 "10k" H 2950 1700 50 0000 C CNN
+F 2 "" H 2950 1730 30 0000 C CNN
+F 3 "" V 2950 1800 30 0000 C CNN
+ 1 2900 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 67B22A9F
+P 3650 1750
+F 0 "R3" H 3700 1880 50 0000 C CNN
+F 1 "8k" H 3700 1700 50 0000 C CNN
+F 2 "" H 3700 1730 30 0000 C CNN
+F 3 "" V 3700 1800 30 0000 C CNN
+ 1 3650 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 67B22AD8
+P 3850 2850
+F 0 "R7" H 3900 2980 50 0000 C CNN
+F 1 "5k" H 3900 2800 50 0000 C CNN
+F 2 "" H 3900 2830 30 0000 C CNN
+F 3 "" V 3900 2900 30 0000 C CNN
+ 1 3850 2850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 67B22B28
+P 2850 3450
+F 0 "D1" H 2850 3550 50 0000 C CNN
+F 1 "eSim_Diode" H 2850 3350 50 0000 C CNN
+F 2 "" H 2850 3450 60 0000 C CNN
+F 3 "" H 2850 3450 60 0000 C CNN
+ 1 2850 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U6
+U 1 1 67B22B59
+P 1250 3600
+F 0 "U6" H 1200 3500 60 0000 C CNN
+F 1 "zener" H 1250 3700 60 0000 C CNN
+F 2 "" H 1300 3600 60 0000 C CNN
+F 3 "" H 1300 3600 60 0000 C CNN
+ 1 1250 3600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U7
+U 1 1 67B22BD0
+P 750 3650
+F 0 "U7" H 700 3550 60 0000 C CNN
+F 1 "zener" H 750 3750 60 0000 C CNN
+F 2 "" H 800 3650 60 0000 C CNN
+F 3 "" H 800 3650 60 0000 C CNN
+ 1 750 3650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U2
+U 1 1 67B22DEE
+P 1750 2300
+F 0 "U2" H 1700 2200 60 0000 C CNN
+F 1 "zener" H 1750 2400 60 0000 C CNN
+F 2 "" H 1800 2300 60 0000 C CNN
+F 3 "" H 1800 2300 60 0000 C CNN
+ 1 1750 2300
+ -1 0 0 1
+$EndComp
+$Comp
+L zener U4
+U 1 1 67B22E72
+P 1700 2750
+F 0 "U4" H 1650 2650 60 0000 C CNN
+F 1 "zener" H 1700 2850 60 0000 C CNN
+F 2 "" H 1750 2750 60 0000 C CNN
+F 3 "" H 1750 2750 60 0000 C CNN
+ 1 1700 2750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 67B23032
+P 3600 2350
+F 0 "Q1" H 3500 2400 50 0000 R CNN
+F 1 "eSim_NPN" H 3550 2500 50 0000 R CNN
+F 2 "" H 3800 2450 29 0000 C CNN
+F 3 "" H 3600 2350 60 0000 C CNN
+ 1 3600 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 67B23263
+P 2600 2750
+F 0 "Q4" H 2500 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 2550 2900 50 0000 R CNN
+F 2 "" H 2800 2850 29 0000 C CNN
+F 3 "" H 2600 2750 60 0000 C CNN
+ 1 2600 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 67B232F5
+P 4450 2600
+F 0 "Q2" H 4350 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 4400 2750 50 0000 R CNN
+F 2 "" H 4650 2700 29 0000 C CNN
+F 3 "" H 4450 2600 60 0000 C CNN
+ 1 4450 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 67B2334B
+P 6750 850
+F 0 "U1" H 6800 950 30 0000 C CNN
+F 1 "PORT" H 6750 850 30 0000 C CNN
+F 2 "" H 6750 850 60 0000 C CNN
+F 3 "" H 6750 850 60 0000 C CNN
+ 1 6750 850
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 67B2366A
+P 400 2350
+F 0 "U1" H 450 2450 30 0000 C CNN
+F 1 "PORT" H 400 2350 30 0000 C CNN
+F 2 "" H 400 2350 60 0000 C CNN
+F 3 "" H 400 2350 60 0000 C CNN
+ 4 400 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 67B23860
+P 400 2750
+F 0 "U1" H 450 2850 30 0000 C CNN
+F 1 "PORT" H 400 2750 30 0000 C CNN
+F 2 "" H 400 2750 60 0000 C CNN
+F 3 "" H 400 2750 60 0000 C CNN
+ 7 400 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 67B23BCF
+P 5150 2300
+F 0 "U1" H 5200 2400 30 0000 C CNN
+F 1 "PORT" H 5150 2300 30 0000 C CNN
+F 2 "" H 5150 2300 60 0000 C CNN
+F 3 "" H 5150 2300 60 0000 C CNN
+ 3 5150 2300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 67B23C5E
+P 7200 1250
+F 0 "U1" H 7250 1350 30 0000 C CNN
+F 1 "PORT" H 7200 1250 30 0000 C CNN
+F 2 "" H 7200 1250 60 0000 C CNN
+F 3 "" H 7200 1250 60 0000 C CNN
+ 2 7200 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L GNDPWR #PWR01
+U 1 1 67B23EA7
+P 3550 4150
+F 0 "#PWR01" H 3550 3950 50 0001 C CNN
+F 1 "GNDPWR" H 3550 4020 50 0000 C CNN
+F 2 "" H 3550 4100 50 0001 C CNN
+F 3 "" H 3550 4100 50 0001 C CNN
+ 1 3550 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 67B24FB3
+P 3200 4750
+F 0 "R9" H 3250 4880 50 0000 C CNN
+F 1 "20k" H 3250 4700 50 0000 C CNN
+F 2 "" H 3250 4730 30 0000 C CNN
+F 3 "" V 3250 4800 30 0000 C CNN
+ 1 3200 4750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 67B24FB9
+P 3900 4750
+F 0 "R10" H 3950 4880 50 0000 C CNN
+F 1 "10k" H 3950 4700 50 0000 C CNN
+F 2 "" H 3950 4730 30 0000 C CNN
+F 3 "" V 3950 4800 30 0000 C CNN
+ 1 3900 4750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 67B24FBF
+P 4650 4750
+F 0 "R11" H 4700 4880 50 0000 C CNN
+F 1 "8k" H 4700 4700 50 0000 C CNN
+F 2 "" H 4700 4730 30 0000 C CNN
+F 3 "" V 4700 4800 30 0000 C CNN
+ 1 4650 4750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 67B24FC5
+P 4850 5850
+F 0 "R15" H 4900 5980 50 0000 C CNN
+F 1 "5k" H 4900 5800 50 0000 C CNN
+F 2 "" H 4900 5830 30 0000 C CNN
+F 3 "" V 4900 5900 30 0000 C CNN
+ 1 4850 5850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 67B24FCB
+P 3850 6450
+F 0 "D3" H 3850 6550 50 0000 C CNN
+F 1 "eSim_Diode" H 3850 6350 50 0000 C CNN
+F 2 "" H 3850 6450 60 0000 C CNN
+F 3 "" H 3850 6450 60 0000 C CNN
+ 1 3850 6450
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U14
+U 1 1 67B24FD1
+P 2250 6600
+F 0 "U14" H 2200 6500 60 0000 C CNN
+F 1 "zener" H 2250 6700 60 0000 C CNN
+F 2 "" H 2300 6600 60 0000 C CNN
+F 3 "" H 2300 6600 60 0000 C CNN
+ 1 2250 6600
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U15
+U 1 1 67B24FD7
+P 1750 6650
+F 0 "U15" H 1700 6550 60 0000 C CNN
+F 1 "zener" H 1750 6750 60 0000 C CNN
+F 2 "" H 1800 6650 60 0000 C CNN
+F 3 "" H 1800 6650 60 0000 C CNN
+ 1 1750 6650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U10
+U 1 1 67B24FDD
+P 2750 5300
+F 0 "U10" H 2700 5200 60 0000 C CNN
+F 1 "zener" H 2750 5400 60 0000 C CNN
+F 2 "" H 2800 5300 60 0000 C CNN
+F 3 "" H 2800 5300 60 0000 C CNN
+ 1 2750 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L zener U12
+U 1 1 67B24FE3
+P 2700 5750
+F 0 "U12" H 2650 5650 60 0000 C CNN
+F 1 "zener" H 2700 5850 60 0000 C CNN
+F 2 "" H 2750 5750 60 0000 C CNN
+F 3 "" H 2750 5750 60 0000 C CNN
+ 1 2700 5750
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 67B24FE9
+P 4600 5350
+F 0 "Q7" H 4500 5400 50 0000 R CNN
+F 1 "eSim_NPN" H 4550 5500 50 0000 R CNN
+F 2 "" H 4800 5450 29 0000 C CNN
+F 3 "" H 4600 5350 60 0000 C CNN
+ 1 4600 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 67B24FEF
+P 3600 5750
+F 0 "Q10" H 3500 5800 50 0000 R CNN
+F 1 "eSim_NPN" H 3550 5900 50 0000 R CNN
+F 2 "" H 3800 5850 29 0000 C CNN
+F 3 "" H 3600 5750 60 0000 C CNN
+ 1 3600 5750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 67B24FF5
+P 5450 5600
+F 0 "Q8" H 5350 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 5750 50 0000 R CNN
+F 2 "" H 5650 5700 29 0000 C CNN
+F 3 "" H 5450 5600 60 0000 C CNN
+ 1 5450 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 67B25004
+P 1050 5350
+F 0 "U1" H 1100 5450 30 0000 C CNN
+F 1 "PORT" H 1050 5350 30 0000 C CNN
+F 2 "" H 1050 5350 60 0000 C CNN
+F 3 "" H 1050 5350 60 0000 C CNN
+ 10 1050 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 67B2500A
+P 1050 5750
+F 0 "U1" H 1100 5850 30 0000 C CNN
+F 1 "PORT" H 1050 5750 30 0000 C CNN
+F 2 "" H 1050 5750 60 0000 C CNN
+F 3 "" H 1050 5750 60 0000 C CNN
+ 13 1050 5750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 67B25020
+P 6150 5300
+F 0 "U1" H 6200 5400 30 0000 C CNN
+F 1 "PORT" H 6150 5300 30 0000 C CNN
+F 2 "" H 6150 5300 60 0000 C CNN
+F 3 "" H 6150 5300 60 0000 C CNN
+ 9 6150 5300
+ -1 0 0 1
+$EndComp
+$Comp
+L GNDPWR #PWR02
+U 1 1 67B25034
+P 4550 7150
+F 0 "#PWR02" H 4550 6950 50 0001 C CNN
+F 1 "GNDPWR" H 4550 7020 50 0000 C CNN
+F 2 "" H 4550 7100 50 0001 C CNN
+F 3 "" H 4550 7100 50 0001 C CNN
+ 1 4550 7150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 67B25379
+P 8900 2000
+F 0 "R6" H 8950 2130 50 0000 C CNN
+F 1 "20k" H 8950 1950 50 0000 C CNN
+F 2 "" H 8950 1980 30 0000 C CNN
+F 3 "" V 8950 2050 30 0000 C CNN
+ 1 8900 2000
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 67B2537F
+P 8200 2000
+F 0 "R5" H 8250 2130 50 0000 C CNN
+F 1 "10k" H 8250 1950 50 0000 C CNN
+F 2 "" H 8250 1980 30 0000 C CNN
+F 3 "" V 8250 2050 30 0000 C CNN
+ 1 8200 2000
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 67B25385
+P 7450 2000
+F 0 "R4" H 7500 2130 50 0000 C CNN
+F 1 "8k" H 7500 1950 50 0000 C CNN
+F 2 "" H 7500 1980 30 0000 C CNN
+F 3 "" V 7500 2050 30 0000 C CNN
+ 1 7450 2000
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 67B2538B
+P 7250 3100
+F 0 "R8" H 7300 3230 50 0000 C CNN
+F 1 "5k" H 7300 3050 50 0000 C CNN
+F 2 "" H 7300 3080 30 0000 C CNN
+F 3 "" V 7300 3150 30 0000 C CNN
+ 1 7250 3100
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 67B25391
+P 8250 3700
+F 0 "D2" H 8250 3800 50 0000 C CNN
+F 1 "eSim_Diode" H 8250 3600 50 0000 C CNN
+F 2 "" H 8250 3700 60 0000 C CNN
+F 3 "" H 8250 3700 60 0000 C CNN
+ 1 8250 3700
+ 0 -1 1 0
+$EndComp
+$Comp
+L zener U8
+U 1 1 67B25397
+P 9850 3850
+F 0 "U8" H 9800 3750 60 0000 C CNN
+F 1 "zener" H 9850 3950 60 0000 C CNN
+F 2 "" H 9900 3850 60 0000 C CNN
+F 3 "" H 9900 3850 60 0000 C CNN
+ 1 9850 3850
+ 0 1 -1 0
+$EndComp
+$Comp
+L zener U9
+U 1 1 67B2539D
+P 10350 3900
+F 0 "U9" H 10300 3800 60 0000 C CNN
+F 1 "zener" H 10350 4000 60 0000 C CNN
+F 2 "" H 10400 3900 60 0000 C CNN
+F 3 "" H 10400 3900 60 0000 C CNN
+ 1 10350 3900
+ 0 1 -1 0
+$EndComp
+$Comp
+L zener U3
+U 1 1 67B253A3
+P 9350 2550
+F 0 "U3" H 9300 2450 60 0000 C CNN
+F 1 "zener" H 9350 2650 60 0000 C CNN
+F 2 "" H 9400 2550 60 0000 C CNN
+F 3 "" H 9400 2550 60 0000 C CNN
+ 1 9350 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L zener U5
+U 1 1 67B253A9
+P 9400 3000
+F 0 "U5" H 9350 2900 60 0000 C CNN
+F 1 "zener" H 9400 3100 60 0000 C CNN
+F 2 "" H 9450 3000 60 0000 C CNN
+F 3 "" H 9450 3000 60 0000 C CNN
+ 1 9400 3000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 67B253AF
+P 7500 2600
+F 0 "Q3" H 7400 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 2750 50 0000 R CNN
+F 2 "" H 7700 2700 29 0000 C CNN
+F 3 "" H 7500 2600 60 0000 C CNN
+ 1 7500 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 67B253B5
+P 8500 3000
+F 0 "Q6" H 8400 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 8450 3150 50 0000 R CNN
+F 2 "" H 8700 3100 29 0000 C CNN
+F 3 "" H 8500 3000 60 0000 C CNN
+ 1 8500 3000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 67B253BB
+P 6650 2850
+F 0 "Q5" H 6550 2900 50 0000 R CNN
+F 1 "eSim_NPN" H 6600 3000 50 0000 R CNN
+F 2 "" H 6850 2950 29 0000 C CNN
+F 3 "" H 6650 2850 60 0000 C CNN
+ 1 6650 2850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 67B253CA
+P 11050 2600
+F 0 "U1" H 11100 2700 30 0000 C CNN
+F 1 "PORT" H 11050 2600 30 0000 C CNN
+F 2 "" H 11050 2600 60 0000 C CNN
+F 3 "" H 11050 2600 60 0000 C CNN
+ 6 11050 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 67B253D0
+P 11050 3000
+F 0 "U1" H 11100 3100 30 0000 C CNN
+F 1 "PORT" H 11050 3000 30 0000 C CNN
+F 2 "" H 11050 3000 60 0000 C CNN
+F 3 "" H 11050 3000 60 0000 C CNN
+ 8 11050 3000
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 67B253E6
+P 5950 2550
+F 0 "U1" H 6000 2650 30 0000 C CNN
+F 1 "PORT" H 5950 2550 30 0000 C CNN
+F 2 "" H 5950 2550 60 0000 C CNN
+F 3 "" H 5950 2550 60 0000 C CNN
+ 5 5950 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L GNDPWR #PWR03
+U 1 1 67B253FA
+P 7550 4400
+F 0 "#PWR03" H 7550 4200 50 0001 C CNN
+F 1 "GNDPWR" H 7550 4270 50 0000 C CNN
+F 2 "" H 7550 4350 50 0001 C CNN
+F 3 "" H 7550 4350 50 0001 C CNN
+ 1 7550 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 67B256A9
+P 9600 5050
+F 0 "R14" H 9650 5180 50 0000 C CNN
+F 1 "20k" H 9650 5000 50 0000 C CNN
+F 2 "" H 9650 5030 30 0000 C CNN
+F 3 "" V 9650 5100 30 0000 C CNN
+ 1 9600 5050
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 67B256AF
+P 8900 5050
+F 0 "R13" H 8950 5180 50 0000 C CNN
+F 1 "10k" H 8950 5000 50 0000 C CNN
+F 2 "" H 8950 5030 30 0000 C CNN
+F 3 "" V 8950 5100 30 0000 C CNN
+ 1 8900 5050
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R12
+U 1 1 67B256B5
+P 8150 5050
+F 0 "R12" H 8200 5180 50 0000 C CNN
+F 1 "8k" H 8200 5000 50 0000 C CNN
+F 2 "" H 8200 5030 30 0000 C CNN
+F 3 "" V 8200 5100 30 0000 C CNN
+ 1 8150 5050
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R16
+U 1 1 67B256BB
+P 7950 6150
+F 0 "R16" H 8000 6280 50 0000 C CNN
+F 1 "5k" H 8000 6100 50 0000 C CNN
+F 2 "" H 8000 6130 30 0000 C CNN
+F 3 "" V 8000 6200 30 0000 C CNN
+ 1 7950 6150
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 67B256C1
+P 8950 6750
+F 0 "D4" H 8950 6850 50 0000 C CNN
+F 1 "eSim_Diode" H 8950 6650 50 0000 C CNN
+F 2 "" H 8950 6750 60 0000 C CNN
+F 3 "" H 8950 6750 60 0000 C CNN
+ 1 8950 6750
+ 0 -1 1 0
+$EndComp
+$Comp
+L zener U16
+U 1 1 67B256C7
+P 10550 6900
+F 0 "U16" H 10500 6800 60 0000 C CNN
+F 1 "zener" H 10550 7000 60 0000 C CNN
+F 2 "" H 10600 6900 60 0000 C CNN
+F 3 "" H 10600 6900 60 0000 C CNN
+ 1 10550 6900
+ 0 1 -1 0
+$EndComp
+$Comp
+L zener U17
+U 1 1 67B256CD
+P 11050 6950
+F 0 "U17" H 11000 6850 60 0000 C CNN
+F 1 "zener" H 11050 7050 60 0000 C CNN
+F 2 "" H 11100 6950 60 0000 C CNN
+F 3 "" H 11100 6950 60 0000 C CNN
+ 1 11050 6950
+ 0 1 -1 0
+$EndComp
+$Comp
+L zener U11
+U 1 1 67B256D3
+P 10050 5600
+F 0 "U11" H 10000 5500 60 0000 C CNN
+F 1 "zener" H 10050 5700 60 0000 C CNN
+F 2 "" H 10100 5600 60 0000 C CNN
+F 3 "" H 10100 5600 60 0000 C CNN
+ 1 10050 5600
+ 1 0 0 1
+$EndComp
+$Comp
+L zener U13
+U 1 1 67B256D9
+P 10100 6050
+F 0 "U13" H 10050 5950 60 0000 C CNN
+F 1 "zener" H 10100 6150 60 0000 C CNN
+F 2 "" H 10150 6050 60 0000 C CNN
+F 3 "" H 10150 6050 60 0000 C CNN
+ 1 10100 6050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 67B256DF
+P 8200 5650
+F 0 "Q9" H 8100 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 5800 50 0000 R CNN
+F 2 "" H 8400 5750 29 0000 C CNN
+F 3 "" H 8200 5650 60 0000 C CNN
+ 1 8200 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 67B256E5
+P 9200 6050
+F 0 "Q12" H 9100 6100 50 0000 R CNN
+F 1 "eSim_NPN" H 9150 6200 50 0000 R CNN
+F 2 "" H 9400 6150 29 0000 C CNN
+F 3 "" H 9200 6050 60 0000 C CNN
+ 1 9200 6050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 67B256EB
+P 7350 5900
+F 0 "Q11" H 7250 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 7300 6050 50 0000 R CNN
+F 2 "" H 7550 6000 29 0000 C CNN
+F 3 "" H 7350 5900 60 0000 C CNN
+ 1 7350 5900
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 67B256FA
+P 11750 5650
+F 0 "U1" H 11800 5750 30 0000 C CNN
+F 1 "PORT" H 11750 5650 30 0000 C CNN
+F 2 "" H 11750 5650 60 0000 C CNN
+F 3 "" H 11750 5650 60 0000 C CNN
+ 12 11750 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 67B25700
+P 11750 6050
+F 0 "U1" H 11800 6150 30 0000 C CNN
+F 1 "PORT" H 11750 6050 30 0000 C CNN
+F 2 "" H 11750 6050 60 0000 C CNN
+F 3 "" H 11750 6050 60 0000 C CNN
+ 14 11750 6050
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 67B25716
+P 6650 5600
+F 0 "U1" H 6700 5700 30 0000 C CNN
+F 1 "PORT" H 6650 5600 30 0000 C CNN
+F 2 "" H 6650 5600 60 0000 C CNN
+F 3 "" H 6650 5600 60 0000 C CNN
+ 11 6650 5600
+ 1 0 0 1
+$EndComp
+$Comp
+L GNDPWR #PWR04
+U 1 1 67B2572A
+P 8250 7450
+F 0 "#PWR04" H 8250 7250 50 0001 C CNN
+F 1 "GNDPWR" H 8250 7320 50 0000 C CNN
+F 2 "" H 8250 7400 50 0001 C CNN
+F 3 "" H 8250 7400 50 0001 C CNN
+ 1 8250 7450
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2250 1650 4850 1650
+Connection ~ 2950 1650
+Wire Wire Line
+ 4850 1650 4850 1400
+Connection ~ 3700 1650
+Wire Wire Line
+ 2250 1950 2250 2750
+Wire Wire Line
+ 2250 2300 1950 2300
+Wire Wire Line
+ 1900 2750 2400 2750
+Connection ~ 2250 2300
+Connection ~ 2250 2750
+Wire Wire Line
+ 1450 2350 1450 2300
+Wire Wire Line
+ 750 3350 750 2350
+Connection ~ 750 2350
+Wire Wire Line
+ 1250 3300 1250 2750
+Connection ~ 1250 2750
+Wire Wire Line
+ 2700 2550 2700 2350
+Wire Wire Line
+ 2700 2350 3400 2350
+Wire Wire Line
+ 2950 1950 2950 2350
+Connection ~ 2950 2350
+Wire Wire Line
+ 3700 2150 3700 1950
+Wire Wire Line
+ 3700 2550 3900 2550
+Wire Wire Line
+ 3900 2550 3900 2750
+Wire Wire Line
+ 3900 2600 4250 2600
+Connection ~ 3900 2600
+Wire Wire Line
+ 4550 2400 4550 2300
+Wire Wire Line
+ 4550 2300 4900 2300
+Wire Wire Line
+ 4550 2800 4550 3950
+Wire Wire Line
+ 750 3950 6200 3950
+Wire Wire Line
+ 3900 3050 3900 3950
+Connection ~ 4550 3950
+Wire Wire Line
+ 2850 3600 2850 3950
+Connection ~ 3900 3950
+Wire Wire Line
+ 2850 3300 2850 2950
+Wire Wire Line
+ 2850 2950 2700 2950
+Wire Wire Line
+ 1250 3800 1250 3950
+Connection ~ 2850 3950
+Wire Wire Line
+ 750 3850 750 3950
+Connection ~ 1250 3950
+Wire Wire Line
+ 3550 4150 3550 3950
+Connection ~ 3550 3950
+Wire Wire Line
+ 3250 4650 6950 4650
+Connection ~ 3950 4650
+Wire Wire Line
+ 11250 4650 11250 4400
+Connection ~ 4700 4650
+Wire Wire Line
+ 3250 4950 3250 5750
+Wire Wire Line
+ 3250 5300 2950 5300
+Wire Wire Line
+ 2900 5750 3400 5750
+Connection ~ 3250 5300
+Connection ~ 3250 5750
+Wire Wire Line
+ 1300 5350 2450 5350
+Wire Wire Line
+ 2450 5350 2450 5300
+Wire Wire Line
+ 1300 5750 2400 5750
+Wire Wire Line
+ 1750 6350 1750 5350
+Connection ~ 1750 5350
+Wire Wire Line
+ 2250 6300 2250 5750
+Connection ~ 2250 5750
+Wire Wire Line
+ 3700 5550 3700 5350
+Wire Wire Line
+ 3700 5350 4400 5350
+Wire Wire Line
+ 3950 4950 3950 5350
+Connection ~ 3950 5350
+Wire Wire Line
+ 4700 5150 4700 4950
+Wire Wire Line
+ 4700 5550 4900 5550
+Wire Wire Line
+ 4900 5550 4900 5750
+Wire Wire Line
+ 4900 5600 5250 5600
+Connection ~ 4900 5600
+Wire Wire Line
+ 5550 5400 5550 5300
+Wire Wire Line
+ 5550 5300 5900 5300
+Wire Wire Line
+ 5550 5800 5550 6950
+Wire Wire Line
+ 1750 6950 6900 6950
+Wire Wire Line
+ 4900 6050 4900 6950
+Connection ~ 5550 6950
+Wire Wire Line
+ 3850 6600 3850 6950
+Connection ~ 4900 6950
+Wire Wire Line
+ 3850 6300 3850 5950
+Wire Wire Line
+ 3850 5950 3700 5950
+Wire Wire Line
+ 2250 6800 2250 6950
+Connection ~ 3850 6950
+Wire Wire Line
+ 1750 6850 1750 6950
+Connection ~ 2250 6950
+Wire Wire Line
+ 4550 7150 4550 6950
+Connection ~ 4550 6950
+Wire Wire Line
+ 6250 1900 8850 1900
+Connection ~ 8150 1900
+Wire Wire Line
+ 6250 1400 6250 1900
+Connection ~ 7400 1900
+Wire Wire Line
+ 8850 2200 8850 3000
+Wire Wire Line
+ 8850 2550 9150 2550
+Wire Wire Line
+ 9200 3000 8700 3000
+Connection ~ 8850 2550
+Connection ~ 8850 3000
+Wire Wire Line
+ 10800 2600 9650 2600
+Wire Wire Line
+ 9650 2600 9650 2550
+Wire Wire Line
+ 10800 3000 9700 3000
+Wire Wire Line
+ 10350 3600 10350 2600
+Connection ~ 10350 2600
+Wire Wire Line
+ 9850 3550 9850 3000
+Connection ~ 9850 3000
+Wire Wire Line
+ 8400 2800 8400 2600
+Wire Wire Line
+ 8400 2600 7700 2600
+Wire Wire Line
+ 8150 2200 8150 2600
+Connection ~ 8150 2600
+Wire Wire Line
+ 7400 2400 7400 2200
+Wire Wire Line
+ 7400 2800 7200 2800
+Wire Wire Line
+ 7200 2800 7200 3000
+Wire Wire Line
+ 7200 2850 6850 2850
+Connection ~ 7200 2850
+Wire Wire Line
+ 6550 2650 6550 2550
+Wire Wire Line
+ 6550 2550 6200 2550
+Wire Wire Line
+ 6550 3050 6550 4200
+Wire Wire Line
+ 10350 4200 6200 4200
+Wire Wire Line
+ 7200 3300 7200 4200
+Connection ~ 6550 4200
+Wire Wire Line
+ 8250 3850 8250 4200
+Connection ~ 7200 4200
+Wire Wire Line
+ 8250 3550 8250 3200
+Wire Wire Line
+ 8250 3200 8400 3200
+Wire Wire Line
+ 9850 4050 9850 4200
+Connection ~ 8250 4200
+Wire Wire Line
+ 10350 4100 10350 4200
+Connection ~ 9850 4200
+Wire Wire Line
+ 7550 4400 7550 4200
+Connection ~ 7550 4200
+Wire Wire Line
+ 6950 4950 9550 4950
+Connection ~ 8850 4950
+Wire Wire Line
+ 6950 4650 6950 4950
+Connection ~ 8100 4950
+Wire Wire Line
+ 9550 5250 9550 6050
+Wire Wire Line
+ 9550 5600 9850 5600
+Wire Wire Line
+ 9900 6050 9400 6050
+Connection ~ 9550 5600
+Connection ~ 9550 6050
+Wire Wire Line
+ 11500 5650 10350 5650
+Wire Wire Line
+ 10350 5650 10350 5600
+Wire Wire Line
+ 11500 6050 10400 6050
+Wire Wire Line
+ 11050 6650 11050 5650
+Connection ~ 11050 5650
+Wire Wire Line
+ 10550 6600 10550 6050
+Connection ~ 10550 6050
+Wire Wire Line
+ 9100 5850 9100 5650
+Wire Wire Line
+ 9100 5650 8400 5650
+Wire Wire Line
+ 8850 5250 8850 5650
+Connection ~ 8850 5650
+Wire Wire Line
+ 8100 5450 8100 5250
+Wire Wire Line
+ 8100 5850 7900 5850
+Wire Wire Line
+ 7900 5850 7900 6050
+Wire Wire Line
+ 7900 5900 7550 5900
+Connection ~ 7900 5900
+Wire Wire Line
+ 7250 5700 7250 5600
+Wire Wire Line
+ 7250 5600 6900 5600
+Wire Wire Line
+ 7250 6100 7250 7250
+Wire Wire Line
+ 11050 7250 6900 7250
+Wire Wire Line
+ 7900 6350 7900 7250
+Connection ~ 7250 7250
+Wire Wire Line
+ 8950 6900 8950 7250
+Connection ~ 7900 7250
+Wire Wire Line
+ 8950 6600 8950 6250
+Wire Wire Line
+ 8950 6250 9100 6250
+Wire Wire Line
+ 10550 7100 10550 7250
+Connection ~ 8950 7250
+Wire Wire Line
+ 11050 7150 11050 7250
+Connection ~ 10550 7250
+Wire Wire Line
+ 8250 7450 8250 7250
+Connection ~ 8250 7250
+Wire Wire Line
+ 4850 1400 6250 1400
+Wire Wire Line
+ 5700 850 5700 4650
+Connection ~ 5700 1400
+Connection ~ 5700 4650
+Wire Wire Line
+ 5700 850 6500 850
+Wire Wire Line
+ 6200 4200 6200 3950
+Wire Wire Line
+ 6900 7250 6900 6950
+Wire Wire Line
+ 6400 1250 6400 6950
+Connection ~ 6400 4200
+Connection ~ 6400 6950
+Wire Wire Line
+ 6950 1250 6400 1250
+Wire Wire Line
+ 650 2750 1400 2750
+Wire Wire Line
+ 650 2350 1450 2350
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SN74LS09/sn74ls09__.sub b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.sub
new file mode 100644
index 00000000..4d68cd2c
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09__.sub
@@ -0,0 +1,104 @@
+* Subcircuit sn74ls09__
+.subckt sn74ls09__ net-_r1-pad1_ gndpwr net-_q2-pad1_ net-_u1-pad4_ net-_q5-pad1_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_q8-pad1_ net-_u1-pad10_ net-_q11-pad1_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_
+* d:\fossee\esim\library\subcircuitlibrary\sn74ls09__\sn74ls09__.cir
+.include NPN.lib
+.include D.lib
+r1 net-_r1-pad1_ net-_q4-pad2_ 20k
+r2 net-_r1-pad1_ net-_q1-pad2_ 10k
+r3 net-_r1-pad1_ net-_q1-pad1_ 8k
+r7 net-_q1-pad3_ gndpwr 5k
+d1 net-_d1-pad1_ gndpwr 1N4148
+* u6 gndpwr net-_u1-pad7_ zener
+* u7 gndpwr net-_u1-pad4_ zener
+* u2 net-_q4-pad2_ net-_u1-pad4_ zener
+* u4 net-_q4-pad2_ net-_u1-pad7_ zener
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad2_ net-_q4-pad2_ net-_d1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ gndpwr Q2N2222
+r9 net-_r1-pad1_ net-_q10-pad2_ 20k
+r10 net-_r1-pad1_ net-_q10-pad1_ 10k
+r11 net-_r1-pad1_ net-_q7-pad1_ 8k
+r15 net-_q7-pad3_ gndpwr 5k
+d3 net-_d3-pad1_ gndpwr 1N4148
+* u14 gndpwr net-_u1-pad13_ zener
+* u15 gndpwr net-_u1-pad10_ zener
+* u10 net-_q10-pad2_ net-_u1-pad10_ zener
+* u12 net-_q10-pad2_ net-_u1-pad13_ zener
+q7 net-_q7-pad1_ net-_q10-pad1_ net-_q7-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d3-pad1_ Q2N2222
+q8 net-_q8-pad1_ net-_q7-pad3_ gndpwr Q2N2222
+r6 net-_r1-pad1_ net-_q6-pad2_ 20k
+r5 net-_r1-pad1_ net-_q3-pad2_ 10k
+r4 net-_r1-pad1_ net-_q3-pad1_ 8k
+r8 net-_q3-pad3_ gndpwr 5k
+d2 net-_d2-pad1_ gndpwr 1N4148
+* u8 gndpwr net-_u1-pad8_ zener
+* u9 gndpwr net-_u1-pad6_ zener
+* u3 net-_q6-pad2_ net-_u1-pad6_ zener
+* u5 net-_q6-pad2_ net-_u1-pad8_ zener
+q3 net-_q3-pad1_ net-_q3-pad2_ net-_q3-pad3_ Q2N2222
+q6 net-_q3-pad2_ net-_q6-pad2_ net-_d2-pad1_ Q2N2222
+q5 net-_q5-pad1_ net-_q3-pad3_ gndpwr Q2N2222
+r14 net-_r1-pad1_ net-_q12-pad2_ 20k
+r13 net-_r1-pad1_ net-_q12-pad1_ 10k
+r12 net-_r1-pad1_ net-_q9-pad1_ 8k
+r16 net-_q11-pad2_ gndpwr 5k
+d4 net-_d4-pad1_ gndpwr 1N4148
+* u16 gndpwr net-_u1-pad14_ zener
+* u17 gndpwr net-_u1-pad12_ zener
+* u11 net-_q12-pad2_ net-_u1-pad12_ zener
+* u13 net-_q12-pad2_ net-_u1-pad14_ zener
+q9 net-_q9-pad1_ net-_q12-pad1_ net-_q11-pad2_ Q2N2222
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_d4-pad1_ Q2N2222
+q11 net-_q11-pad1_ net-_q11-pad2_ gndpwr Q2N2222
+a1 gndpwr net-_u1-pad7_ u6
+a2 gndpwr net-_u1-pad4_ u7
+a3 net-_q4-pad2_ net-_u1-pad4_ u2
+a4 net-_q4-pad2_ net-_u1-pad7_ u4
+a5 gndpwr net-_u1-pad13_ u14
+a6 gndpwr net-_u1-pad10_ u15
+a7 net-_q10-pad2_ net-_u1-pad10_ u10
+a8 net-_q10-pad2_ net-_u1-pad13_ u12
+a9 gndpwr net-_u1-pad8_ u8
+a10 gndpwr net-_u1-pad6_ u9
+a11 net-_q6-pad2_ net-_u1-pad6_ u3
+a12 net-_q6-pad2_ net-_u1-pad8_ u5
+a13 gndpwr net-_u1-pad14_ u16
+a14 gndpwr net-_u1-pad12_ u17
+a15 net-_q12-pad2_ net-_u1-pad12_ u11
+a16 net-_q12-pad2_ net-_u1-pad14_ u13
+* 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 )
+* 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 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 u14 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 u15 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 u10 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 u12 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 )
+* 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 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 u16 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 u17 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 u11 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 u13 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 sn74ls09__ \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LS09/sn74ls09___Previous_Values.xml b/library/SubcircuitLibrary/SN74LS09/sn74ls09___Previous_Values.xml
new file mode 100644
index 00000000..6adb68b0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS09/sn74ls09___Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis><source /><model><u6 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)" /><field2 name="Enter Breakdown Current (default=2.0e-2)" /><field3 name="Enter Saturation Current (default=1.0e-12)" /><field4 name="Enter Forward Emission Coefficient (default=1.0)" /><field5 name="Enter Switch for Limiting (default=FALSE)" /></u6><u7 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)" /><field7 name="Enter Breakdown Current (default=2.0e-2)" /><field8 name="Enter Saturation Current (default=1.0e-12)" /><field9 name="Enter Forward Emission Coefficient (default=1.0)" /><field10 name="Enter Switch for Limiting (default=FALSE)" /></u7><u2 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)" /><field12 name="Enter Breakdown Current (default=2.0e-2)" /><field13 name="Enter Saturation Current (default=1.0e-12)" /><field14 name="Enter Forward Emission Coefficient (default=1.0)" /><field15 name="Enter Switch for Limiting (default=FALSE)" /></u2><u4 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)" /><field17 name="Enter Breakdown Current (default=2.0e-2)" /><field18 name="Enter Saturation Current (default=1.0e-12)" /><field19 name="Enter Forward Emission Coefficient (default=1.0)" /><field20 name="Enter Switch for Limiting (default=FALSE)" /></u4><u14 name="type">zener<field21 name="Enter Breakdown Voltage (default=5.6)" /><field22 name="Enter Breakdown Current (default=2.0e-2)" /><field23 name="Enter Saturation Current (default=1.0e-12)" /><field24 name="Enter Forward Emission Coefficient (default=1.0)" /><field25 name="Enter Switch for Limiting (default=FALSE)" /></u14><u15 name="type">zener<field26 name="Enter Breakdown Voltage (default=5.6)" /><field27 name="Enter Breakdown Current (default=2.0e-2)" /><field28 name="Enter Saturation Current (default=1.0e-12)" /><field29 name="Enter Forward Emission Coefficient (default=1.0)" /><field30 name="Enter Switch for Limiting (default=FALSE)" /></u15><u10 name="type">zener<field31 name="Enter Breakdown Voltage (default=5.6)" /><field32 name="Enter Breakdown Current (default=2.0e-2)" /><field33 name="Enter Saturation Current (default=1.0e-12)" /><field34 name="Enter Forward Emission Coefficient (default=1.0)" /><field35 name="Enter Switch for Limiting (default=FALSE)" /></u10><u12 name="type">zener<field36 name="Enter Breakdown Voltage (default=5.6)" /><field37 name="Enter Breakdown Current (default=2.0e-2)" /><field38 name="Enter Saturation Current (default=1.0e-12)" /><field39 name="Enter Forward Emission Coefficient (default=1.0)" /><field40 name="Enter Switch for Limiting (default=FALSE)" /></u12><u8 name="type">zener<field41 name="Enter Breakdown Voltage (default=5.6)" /><field42 name="Enter Breakdown Current (default=2.0e-2)" /><field43 name="Enter Saturation Current (default=1.0e-12)" /><field44 name="Enter Forward Emission Coefficient (default=1.0)" /><field45 name="Enter Switch for Limiting (default=FALSE)" /></u8><u9 name="type">zener<field46 name="Enter Breakdown Voltage (default=5.6)" /><field47 name="Enter Breakdown Current (default=2.0e-2)" /><field48 name="Enter Saturation Current (default=1.0e-12)" /><field49 name="Enter Forward Emission Coefficient (default=1.0)" /><field50 name="Enter Switch for Limiting (default=FALSE)" /></u9><u3 name="type">zener<field51 name="Enter Breakdown Voltage (default=5.6)" /><field52 name="Enter Breakdown Current (default=2.0e-2)" /><field53 name="Enter Saturation Current (default=1.0e-12)" /><field54 name="Enter Forward Emission Coefficient (default=1.0)" /><field55 name="Enter Switch for Limiting (default=FALSE)" /></u3><u5 name="type">zener<field56 name="Enter Breakdown Voltage (default=5.6)" /><field57 name="Enter Breakdown Current (default=2.0e-2)" /><field58 name="Enter Saturation Current (default=1.0e-12)" /><field59 name="Enter Forward Emission Coefficient (default=1.0)" /><field60 name="Enter Switch for Limiting (default=FALSE)" /></u5><u16 name="type">zener<field61 name="Enter Breakdown Voltage (default=5.6)" /><field62 name="Enter Breakdown Current (default=2.0e-2)" /><field63 name="Enter Saturation Current (default=1.0e-12)" /><field64 name="Enter Forward Emission Coefficient (default=1.0)" /><field65 name="Enter Switch for Limiting (default=FALSE)" /></u16><u17 name="type">zener<field66 name="Enter Breakdown Voltage (default=5.6)" /><field67 name="Enter Breakdown Current (default=2.0e-2)" /><field68 name="Enter Saturation Current (default=1.0e-12)" /><field69 name="Enter Forward Emission Coefficient (default=1.0)" /><field70 name="Enter Switch for Limiting (default=FALSE)" /></u17><u11 name="type">zener<field71 name="Enter Breakdown Voltage (default=5.6)" /><field72 name="Enter Breakdown Current (default=2.0e-2)" /><field73 name="Enter Saturation Current (default=1.0e-12)" /><field74 name="Enter Forward Emission Coefficient (default=1.0)" /><field75 name="Enter Switch for Limiting (default=FALSE)" /></u11><u13 name="type">zener<field76 name="Enter Breakdown Voltage (default=5.6)" /><field77 name="Enter Breakdown Current (default=2.0e-2)" /><field78 name="Enter Saturation Current (default=1.0e-12)" /><field79 name="Enter Forward Emission Coefficient (default=1.0)" /><field80 name="Enter Switch for Limiting (default=FALSE)" /></u13></model><devicemodel><d1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><d3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><d2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><d4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11></devicemodel><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LS21/D.lib b/library/SubcircuitLibrary/SN74LS21/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/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/SN74LS21/NPN.lib b/library/SubcircuitLibrary/SN74LS21/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/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/SN74LS21/SN74LS21-cache.lib b/library/SubcircuitLibrary/SN74LS21/SN74LS21-cache.lib
new file mode 100644
index 00000000..2a23e8a6
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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/SN74LS21/SN74LS21.cir b/library/SubcircuitLibrary/SN74LS21/SN74LS21.cir
new file mode 100644
index 00000000..085bb0ec
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21.cir
@@ -0,0 +1,57 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\SN74LS21\SN74LS21.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/03/25 21:07: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: /
+R5 Net-_R1-Pad1_ Net-_D10-Pad1_ 20k
+R6 Net-_R1-Pad1_ Net-_Q6-Pad2_ 10k
+R7 Net-_R1-Pad1_ Net-_Q2-Pad2_ 8k
+R8 Net-_R1-Pad1_ Net-_Q2-Pad1_ 75
+Q2 Net-_Q2-Pad1_ Net-_Q2-Pad2_ Net-_D5-Pad1_ eSim_NPN
+Q5 Net-_Q2-Pad1_ Net-_D5-Pad1_ Net-_Q10-Pad1_ eSim_NPN
+R10 Net-_Q10-Pad1_ Net-_D5-Pad1_ 4.5k
+Q10 Net-_Q10-Pad1_ Net-_D5-Pad2_ Net-_D11-Pad2_ eSim_NPN
+R14 Net-_Q12-Pad1_ Net-_D5-Pad2_ 3k
+R13 Net-_Q12-Pad2_ Net-_D5-Pad2_ 1.5k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_D11-Pad2_ eSim_NPN
+Q6 Net-_Q2-Pad2_ Net-_Q6-Pad2_ Net-_D5-Pad2_ eSim_NPN
+Q8 Net-_Q6-Pad2_ Net-_D10-Pad1_ Net-_D12-Pad1_ eSim_NPN
+D5 Net-_D5-Pad1_ Net-_D5-Pad2_ eSim_Diode
+D8 Net-_D10-Pad1_ Net-_D19-Pad2_ eSim_Diode
+D2 Net-_D10-Pad1_ Net-_D17-Pad2_ eSim_Diode
+D6 Net-_D10-Pad1_ Net-_D18-Pad2_ eSim_Diode
+D10 Net-_D10-Pad1_ Net-_D10-Pad2_ eSim_Diode
+D18 Net-_D11-Pad2_ Net-_D18-Pad2_ eSim_Diode
+D20 Net-_D11-Pad2_ Net-_D10-Pad2_ eSim_Diode
+D19 Net-_D11-Pad2_ Net-_D19-Pad2_ eSim_Diode
+D17 Net-_D11-Pad2_ Net-_D17-Pad2_ eSim_Diode
+U1 Net-_D11-Pad2_ Net-_R1-Pad1_ Net-_D1-Pad2_ Net-_D17-Pad2_ Net-_Q3-Pad3_ Net-_D15-Pad2_ Net-_D18-Pad2_ Net-_Q10-Pad1_ Net-_D14-Pad2_ Net-_D19-Pad2_ Net-_D13-Pad2_ Net-_D10-Pad2_ ? ? PORT
+D12 Net-_D12-Pad1_ Net-_D11-Pad2_ eSim_Diode
+R2 Net-_R1-Pad1_ Net-_D1-Pad1_ 20k
+R1 Net-_R1-Pad1_ Net-_Q4-Pad2_ 10k
+R4 Net-_R1-Pad1_ Net-_Q1-Pad2_ 8k
+R3 Net-_R1-Pad1_ Net-_Q1-Pad1_ 75
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_D3-Pad1_ eSim_NPN
+Q3 Net-_Q1-Pad1_ Net-_D3-Pad1_ Net-_Q3-Pad3_ eSim_NPN
+R9 Net-_Q3-Pad3_ Net-_D3-Pad1_ 4.5k
+Q9 Net-_Q3-Pad3_ Net-_D3-Pad2_ Net-_D11-Pad2_ eSim_NPN
+R11 Net-_Q11-Pad1_ Net-_D3-Pad2_ 3k
+R12 Net-_Q11-Pad2_ Net-_D3-Pad2_ 1.5k
+Q11 Net-_Q11-Pad1_ Net-_Q11-Pad2_ Net-_D11-Pad2_ eSim_NPN
+Q4 Net-_Q1-Pad2_ Net-_Q4-Pad2_ Net-_D3-Pad2_ eSim_NPN
+Q7 Net-_Q4-Pad2_ Net-_D1-Pad1_ Net-_D11-Pad1_ eSim_NPN
+D3 Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_Diode
+D7 Net-_D1-Pad1_ Net-_D14-Pad2_ eSim_Diode
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D4 Net-_D1-Pad1_ Net-_D15-Pad2_ eSim_Diode
+D9 Net-_D1-Pad1_ Net-_D13-Pad2_ eSim_Diode
+D15 Net-_D11-Pad2_ Net-_D15-Pad2_ eSim_Diode
+D13 Net-_D11-Pad2_ Net-_D13-Pad2_ eSim_Diode
+D14 Net-_D11-Pad2_ Net-_D14-Pad2_ eSim_Diode
+D16 Net-_D11-Pad2_ Net-_D1-Pad2_ eSim_Diode
+D11 Net-_D11-Pad1_ Net-_D11-Pad2_ eSim_Diode
+
+.end
diff --git a/library/SubcircuitLibrary/SN74LS21/SN74LS21.cir.out b/library/SubcircuitLibrary/SN74LS21/SN74LS21.cir.out
new file mode 100644
index 00000000..bbf40aa5
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21.cir.out
@@ -0,0 +1,60 @@
+* d:\fossee\esim\library\subcircuitlibrary\sn74ls21\sn74ls21.cir
+
+.include NPN.lib
+.include D.lib
+r5 net-_r1-pad1_ net-_d10-pad1_ 20k
+r6 net-_r1-pad1_ net-_q6-pad2_ 10k
+r7 net-_r1-pad1_ net-_q2-pad2_ 8k
+r8 net-_r1-pad1_ net-_q2-pad1_ 75
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_d5-pad1_ Q2N2222
+q5 net-_q2-pad1_ net-_d5-pad1_ net-_q10-pad1_ Q2N2222
+r10 net-_q10-pad1_ net-_d5-pad1_ 4.5k
+q10 net-_q10-pad1_ net-_d5-pad2_ net-_d11-pad2_ Q2N2222
+r14 net-_q12-pad1_ net-_d5-pad2_ 3k
+r13 net-_q12-pad2_ net-_d5-pad2_ 1.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_d11-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q6-pad2_ net-_d5-pad2_ Q2N2222
+q8 net-_q6-pad2_ net-_d10-pad1_ net-_d12-pad1_ Q2N2222
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N4148
+d8 net-_d10-pad1_ net-_d19-pad2_ 1N4148
+d2 net-_d10-pad1_ net-_d17-pad2_ 1N4148
+d6 net-_d10-pad1_ net-_d18-pad2_ 1N4148
+d10 net-_d10-pad1_ net-_d10-pad2_ 1N4148
+d18 net-_d11-pad2_ net-_d18-pad2_ 1N4148
+d20 net-_d11-pad2_ net-_d10-pad2_ 1N4148
+d19 net-_d11-pad2_ net-_d19-pad2_ 1N4148
+d17 net-_d11-pad2_ net-_d17-pad2_ 1N4148
+* u1 net-_d11-pad2_ net-_r1-pad1_ net-_d1-pad2_ net-_d17-pad2_ net-_q3-pad3_ net-_d15-pad2_ net-_d18-pad2_ net-_q10-pad1_ net-_d14-pad2_ net-_d19-pad2_ net-_d13-pad2_ net-_d10-pad2_ ? ? port
+d12 net-_d12-pad1_ net-_d11-pad2_ 1N4148
+r2 net-_r1-pad1_ net-_d1-pad1_ 20k
+r1 net-_r1-pad1_ net-_q4-pad2_ 10k
+r4 net-_r1-pad1_ net-_q1-pad2_ 8k
+r3 net-_r1-pad1_ net-_q1-pad1_ 75
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_d3-pad1_ Q2N2222
+q3 net-_q1-pad1_ net-_d3-pad1_ net-_q3-pad3_ Q2N2222
+r9 net-_q3-pad3_ net-_d3-pad1_ 4.5k
+q9 net-_q3-pad3_ net-_d3-pad2_ net-_d11-pad2_ Q2N2222
+r11 net-_q11-pad1_ net-_d3-pad2_ 3k
+r12 net-_q11-pad2_ net-_d3-pad2_ 1.5k
+q11 net-_q11-pad1_ net-_q11-pad2_ net-_d11-pad2_ Q2N2222
+q4 net-_q1-pad2_ net-_q4-pad2_ net-_d3-pad2_ Q2N2222
+q7 net-_q4-pad2_ net-_d1-pad1_ net-_d11-pad1_ Q2N2222
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+d7 net-_d1-pad1_ net-_d14-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d4 net-_d1-pad1_ net-_d15-pad2_ 1N4148
+d9 net-_d1-pad1_ net-_d13-pad2_ 1N4148
+d15 net-_d11-pad2_ net-_d15-pad2_ 1N4148
+d13 net-_d11-pad2_ net-_d13-pad2_ 1N4148
+d14 net-_d11-pad2_ net-_d14-pad2_ 1N4148
+d16 net-_d11-pad2_ net-_d1-pad2_ 1N4148
+d11 net-_d11-pad1_ net-_d11-pad2_ 1N4148
+.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/SN74LS21/SN74LS21.pro b/library/SubcircuitLibrary/SN74LS21/SN74LS21.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21.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/SN74LS21/SN74LS21.sch b/library/SubcircuitLibrary/SN74LS21/SN74LS21.sch
new file mode 100644
index 00000000..2353b300
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21.sch
@@ -0,0 +1,964 @@
+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:SN74LS21-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 resistor R5
+U 1 1 679F5732
+P 2700 1650
+F 0 "R5" H 2750 1780 50 0000 C CNN
+F 1 "20k" H 2750 1600 50 0000 C CNN
+F 2 "" H 2750 1630 30 0000 C CNN
+F 3 "" V 2750 1700 30 0000 C CNN
+ 1 2700 1650
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 679F5733
+P 3200 1650
+F 0 "R6" H 3250 1780 50 0000 C CNN
+F 1 "10k" H 3250 1600 50 0000 C CNN
+F 2 "" H 3250 1630 30 0000 C CNN
+F 3 "" V 3250 1700 30 0000 C CNN
+ 1 3200 1650
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 679F5734
+P 4100 1700
+F 0 "R7" H 4150 1830 50 0000 C CNN
+F 1 "8k" H 4150 1650 50 0000 C CNN
+F 2 "" H 4150 1680 30 0000 C CNN
+F 3 "" V 4150 1750 30 0000 C CNN
+ 1 4100 1700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 679F5735
+P 5150 1700
+F 0 "R8" H 5200 1830 50 0000 C CNN
+F 1 "0.12" H 5200 1650 50 0000 C CNN
+F 2 "" H 5200 1680 30 0000 C CNN
+F 3 "" V 5200 1750 30 0000 C CNN
+ 1 5150 1700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 679F5736
+P 4500 2300
+F 0 "Q2" H 4400 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 2450 50 0000 R CNN
+F 2 "" H 4700 2400 29 0000 C CNN
+F 3 "" H 4500 2300 60 0000 C CNN
+ 1 4500 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 679F5737
+P 5200 2700
+F 0 "Q5" H 5100 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 5150 2850 50 0000 R CNN
+F 2 "" H 5400 2800 29 0000 C CNN
+F 3 "" H 5200 2700 60 0000 C CNN
+ 1 5200 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 679F5738
+P 4750 3050
+F 0 "R10" H 4800 3180 50 0000 C CNN
+F 1 "4.5k" H 4800 3000 50 0000 C CNN
+F 2 "" H 4800 3030 30 0000 C CNN
+F 3 "" V 4800 3100 30 0000 C CNN
+ 1 4750 3050
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 679F5739
+P 5200 3650
+F 0 "Q10" H 5100 3700 50 0000 R CNN
+F 1 "eSim_NPN" H 5150 3800 50 0000 R CNN
+F 2 "" H 5400 3750 29 0000 C CNN
+F 3 "" H 5200 3650 60 0000 C CNN
+ 1 5200 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 679F573A
+P 4500 3950
+F 0 "R14" H 4550 4080 50 0000 C CNN
+F 1 "3k" H 4550 3900 50 0000 C CNN
+F 2 "" H 4550 3930 30 0000 C CNN
+F 3 "" V 4550 4000 30 0000 C CNN
+ 1 4500 3950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 679F573B
+P 4100 3950
+F 0 "R13" H 4150 4080 50 0000 C CNN
+F 1 "1.5k" H 4150 3900 50 0000 C CNN
+F 2 "" H 4150 3930 30 0000 C CNN
+F 3 "" V 4150 4000 30 0000 C CNN
+ 1 4100 3950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 679F573C
+P 4350 4500
+F 0 "Q12" H 4250 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 4300 4650 50 0000 R CNN
+F 2 "" H 4550 4600 29 0000 C CNN
+F 3 "" H 4350 4500 60 0000 C CNN
+ 1 4350 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 679F573D
+P 3850 2750
+F 0 "Q6" H 3750 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 3800 2900 50 0000 R CNN
+F 2 "" H 4050 2850 29 0000 C CNN
+F 3 "" H 3850 2750 60 0000 C CNN
+ 1 3850 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 679F573E
+P 3250 3150
+F 0 "Q8" H 3150 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 3300 50 0000 R CNN
+F 2 "" H 3450 3250 29 0000 C CNN
+F 3 "" H 3250 3150 60 0000 C CNN
+ 1 3250 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 679F573F
+P 4250 3100
+F 0 "D5" H 4250 3200 50 0000 C CNN
+F 1 "eSim_Diode" H 4250 3000 50 0000 C CNN
+F 2 "" H 4250 3100 60 0000 C CNN
+F 3 "" H 4250 3100 60 0000 C CNN
+ 1 4250 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 679F5740
+P 2600 3500
+F 0 "D8" H 2600 3600 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 3400 50 0000 C CNN
+F 2 "" H 2600 3500 60 0000 C CNN
+F 3 "" H 2600 3500 60 0000 C CNN
+ 1 2600 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 679F5741
+P 2600 2850
+F 0 "D2" H 2600 2950 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 2750 50 0000 C CNN
+F 2 "" H 2600 2850 60 0000 C CNN
+F 3 "" H 2600 2850 60 0000 C CNN
+ 1 2600 2850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 679F5742
+P 2600 3150
+F 0 "D6" H 2600 3250 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 3050 50 0000 C CNN
+F 2 "" H 2600 3150 60 0000 C CNN
+F 3 "" H 2600 3150 60 0000 C CNN
+ 1 2600 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 679F5743
+P 2600 3850
+F 0 "D10" H 2600 3950 50 0000 C CNN
+F 1 "eSim_Diode" H 2600 3750 50 0000 C CNN
+F 2 "" H 2600 3850 60 0000 C CNN
+F 3 "" H 2600 3850 60 0000 C CNN
+ 1 2600 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D18
+U 1 1 679F5744
+P 1700 5000
+F 0 "D18" H 1700 5100 50 0000 C CNN
+F 1 "eSim_Diode" H 1700 4900 50 0000 C CNN
+F 2 "" H 1700 5000 60 0000 C CNN
+F 3 "" H 1700 5000 60 0000 C CNN
+ 1 1700 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D20
+U 1 1 679F5745
+P 2350 5000
+F 0 "D20" H 2350 5100 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 4900 50 0000 C CNN
+F 2 "" H 2350 5000 60 0000 C CNN
+F 3 "" H 2350 5000 60 0000 C CNN
+ 1 2350 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D19
+U 1 1 679F5746
+P 2050 5000
+F 0 "D19" H 2050 5100 50 0000 C CNN
+F 1 "eSim_Diode" H 2050 4900 50 0000 C CNN
+F 2 "" H 2050 5000 60 0000 C CNN
+F 3 "" H 2050 5000 60 0000 C CNN
+ 1 2050 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D17
+U 1 1 679F5747
+P 1350 5000
+F 0 "D17" H 1350 5100 50 0000 C CNN
+F 1 "eSim_Diode" H 1350 4900 50 0000 C CNN
+F 2 "" H 1350 5000 60 0000 C CNN
+F 3 "" H 1350 5000 60 0000 C CNN
+ 1 1350 5000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 679F5748
+P 750 2850
+F 0 "U1" H 800 2950 30 0000 C CNN
+F 1 "PORT" H 750 2850 30 0000 C CNN
+F 2 "" H 750 2850 60 0000 C CNN
+F 3 "" H 750 2850 60 0000 C CNN
+ 4 750 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 679F5749
+P 750 3100
+F 0 "U1" H 800 3200 30 0000 C CNN
+F 1 "PORT" H 750 3100 30 0000 C CNN
+F 2 "" H 750 3100 60 0000 C CNN
+F 3 "" H 750 3100 60 0000 C CNN
+ 7 750 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 679F574A
+P 800 3450
+F 0 "U1" H 850 3550 30 0000 C CNN
+F 1 "PORT" H 800 3450 30 0000 C CNN
+F 2 "" H 800 3450 60 0000 C CNN
+F 3 "" H 800 3450 60 0000 C CNN
+ 10 800 3450
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 679F574B
+P 800 3850
+F 0 "U1" H 850 3950 30 0000 C CNN
+F 1 "PORT" H 800 3850 30 0000 C CNN
+F 2 "" H 800 3850 60 0000 C CNN
+F 3 "" H 800 3850 60 0000 C CNN
+ 12 800 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 679F574C
+P 3400 4850
+F 0 "D12" H 3400 4950 50 0000 C CNN
+F 1 "eSim_Diode" H 3400 4750 50 0000 C CNN
+F 2 "" H 3400 4850 60 0000 C CNN
+F 3 "" H 3400 4850 60 0000 C CNN
+ 1 3400 4850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 679F574E
+P 9300 1500
+F 0 "R2" H 9350 1630 50 0000 C CNN
+F 1 "20k" H 9350 1450 50 0000 C CNN
+F 2 "" H 9350 1480 30 0000 C CNN
+F 3 "" V 9350 1550 30 0000 C CNN
+ 1 9300 1500
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 679F574F
+P 8800 1500
+F 0 "R1" H 8850 1630 50 0000 C CNN
+F 1 "10k" H 8850 1450 50 0000 C CNN
+F 2 "" H 8850 1480 30 0000 C CNN
+F 3 "" V 8850 1550 30 0000 C CNN
+ 1 8800 1500
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 679F5750
+P 7900 1550
+F 0 "R4" H 7950 1680 50 0000 C CNN
+F 1 "8k" H 7950 1500 50 0000 C CNN
+F 2 "" H 7950 1530 30 0000 C CNN
+F 3 "" V 7950 1600 30 0000 C CNN
+ 1 7900 1550
+ 0 -1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 679F5751
+P 6850 1550
+F 0 "R3" H 6900 1680 50 0000 C CNN
+F 1 "75" H 6900 1500 50 0000 C CNN
+F 2 "" H 6900 1530 30 0000 C CNN
+F 3 "" V 6900 1600 30 0000 C CNN
+ 1 6850 1550
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 679F5752
+P 7500 2150
+F 0 "Q1" H 7400 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 2300 50 0000 R CNN
+F 2 "" H 7700 2250 29 0000 C CNN
+F 3 "" H 7500 2150 60 0000 C CNN
+ 1 7500 2150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 679F5753
+P 6800 2550
+F 0 "Q3" H 6700 2600 50 0000 R CNN
+F 1 "eSim_NPN" H 6750 2700 50 0000 R CNN
+F 2 "" H 7000 2650 29 0000 C CNN
+F 3 "" H 6800 2550 60 0000 C CNN
+ 1 6800 2550
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 679F5754
+P 7250 2900
+F 0 "R9" H 7300 3030 50 0000 C CNN
+F 1 "4.5k" H 7300 2850 50 0000 C CNN
+F 2 "" H 7300 2880 30 0000 C CNN
+F 3 "" V 7300 2950 30 0000 C CNN
+ 1 7250 2900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 679F5755
+P 6800 3500
+F 0 "Q9" H 6700 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 6750 3650 50 0000 R CNN
+F 2 "" H 7000 3600 29 0000 C CNN
+F 3 "" H 6800 3500 60 0000 C CNN
+ 1 6800 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 679F5756
+P 7500 3800
+F 0 "R11" H 7550 3930 50 0000 C CNN
+F 1 "3k" H 7550 3750 50 0000 C CNN
+F 2 "" H 7550 3780 30 0000 C CNN
+F 3 "" V 7550 3850 30 0000 C CNN
+ 1 7500 3800
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R12
+U 1 1 679F5757
+P 7900 3800
+F 0 "R12" H 7950 3930 50 0000 C CNN
+F 1 "1.5k" H 7950 3750 50 0000 C CNN
+F 2 "" H 7950 3780 30 0000 C CNN
+F 3 "" V 7950 3850 30 0000 C CNN
+ 1 7900 3800
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 679F5758
+P 7650 4350
+F 0 "Q11" H 7550 4400 50 0000 R CNN
+F 1 "eSim_NPN" H 7600 4500 50 0000 R CNN
+F 2 "" H 7850 4450 29 0000 C CNN
+F 3 "" H 7650 4350 60 0000 C CNN
+ 1 7650 4350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 679F5759
+P 8150 2600
+F 0 "Q4" H 8050 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 2750 50 0000 R CNN
+F 2 "" H 8350 2700 29 0000 C CNN
+F 3 "" H 8150 2600 60 0000 C CNN
+ 1 8150 2600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 679F575A
+P 8750 3000
+F 0 "Q7" H 8650 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 8700 3150 50 0000 R CNN
+F 2 "" H 8950 3100 29 0000 C CNN
+F 3 "" H 8750 3000 60 0000 C CNN
+ 1 8750 3000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 679F575B
+P 7750 2950
+F 0 "D3" H 7750 3050 50 0000 C CNN
+F 1 "eSim_Diode" H 7750 2850 50 0000 C CNN
+F 2 "" H 7750 2950 60 0000 C CNN
+F 3 "" H 7750 2950 60 0000 C CNN
+ 1 7750 2950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 679F575C
+P 9400 3350
+F 0 "D7" H 9400 3450 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 3250 50 0000 C CNN
+F 2 "" H 9400 3350 60 0000 C CNN
+F 3 "" H 9400 3350 60 0000 C CNN
+ 1 9400 3350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 679F575D
+P 9400 2700
+F 0 "D1" H 9400 2800 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 2600 50 0000 C CNN
+F 2 "" H 9400 2700 60 0000 C CNN
+F 3 "" H 9400 2700 60 0000 C CNN
+ 1 9400 2700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 679F575E
+P 9400 3000
+F 0 "D4" H 9400 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 2900 50 0000 C CNN
+F 2 "" H 9400 3000 60 0000 C CNN
+F 3 "" H 9400 3000 60 0000 C CNN
+ 1 9400 3000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D9
+U 1 1 679F575F
+P 9400 3700
+F 0 "D9" H 9400 3800 50 0000 C CNN
+F 1 "eSim_Diode" H 9400 3600 50 0000 C CNN
+F 2 "" H 9400 3700 60 0000 C CNN
+F 3 "" H 9400 3700 60 0000 C CNN
+ 1 9400 3700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D15
+U 1 1 679F5760
+P 10300 4850
+F 0 "D15" H 10300 4950 50 0000 C CNN
+F 1 "eSim_Diode" H 10300 4750 50 0000 C CNN
+F 2 "" H 10300 4850 60 0000 C CNN
+F 3 "" H 10300 4850 60 0000 C CNN
+ 1 10300 4850
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D13
+U 1 1 679F5761
+P 9650 4850
+F 0 "D13" H 9650 4950 50 0000 C CNN
+F 1 "eSim_Diode" H 9650 4750 50 0000 C CNN
+F 2 "" H 9650 4850 60 0000 C CNN
+F 3 "" H 9650 4850 60 0000 C CNN
+ 1 9650 4850
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 679F5762
+P 9950 4850
+F 0 "D14" H 9950 4950 50 0000 C CNN
+F 1 "eSim_Diode" H 9950 4750 50 0000 C CNN
+F 2 "" H 9950 4850 60 0000 C CNN
+F 3 "" H 9950 4850 60 0000 C CNN
+ 1 9950 4850
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 679F5763
+P 10650 4850
+F 0 "D16" H 10650 4950 50 0000 C CNN
+F 1 "eSim_Diode" H 10650 4750 50 0000 C CNN
+F 2 "" H 10650 4850 60 0000 C CNN
+F 3 "" H 10650 4850 60 0000 C CNN
+ 1 10650 4850
+ 0 1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 3 1 679F5764
+P 11250 2700
+F 0 "U1" H 11300 2800 30 0000 C CNN
+F 1 "PORT" H 11250 2700 30 0000 C CNN
+F 2 "" H 11250 2700 60 0000 C CNN
+F 3 "" H 11250 2700 60 0000 C CNN
+ 3 11250 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 679F5765
+P 11250 2950
+F 0 "U1" H 11300 3050 30 0000 C CNN
+F 1 "PORT" H 11250 2950 30 0000 C CNN
+F 2 "" H 11250 2950 60 0000 C CNN
+F 3 "" H 11250 2950 60 0000 C CNN
+ 6 11250 2950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 679F5766
+P 11200 3300
+F 0 "U1" H 11250 3400 30 0000 C CNN
+F 1 "PORT" H 11200 3300 30 0000 C CNN
+F 2 "" H 11200 3300 60 0000 C CNN
+F 3 "" H 11200 3300 60 0000 C CNN
+ 9 11200 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 679F5767
+P 11200 3700
+F 0 "U1" H 11250 3800 30 0000 C CNN
+F 1 "PORT" H 11200 3700 30 0000 C CNN
+F 2 "" H 11200 3700 60 0000 C CNN
+F 3 "" H 11200 3700 60 0000 C CNN
+ 11 11200 3700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 679F5768
+P 8600 4700
+F 0 "D11" H 8600 4800 50 0000 C CNN
+F 1 "eSim_Diode" H 8600 4600 50 0000 C CNN
+F 2 "" H 8600 4700 60 0000 C CNN
+F 3 "" H 8600 4700 60 0000 C CNN
+ 1 8600 4700
+ 0 -1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 5 1 679F5769
+P 6100 2950
+F 0 "U1" H 6150 3050 30 0000 C CNN
+F 1 "PORT" H 6100 2950 30 0000 C CNN
+F 2 "" H 6100 2950 60 0000 C CNN
+F 3 "" H 6100 2950 60 0000 C CNN
+ 5 6100 2950
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 679F576A
+P 5700 950
+F 0 "U1" H 5750 1050 30 0000 C CNN
+F 1 "PORT" H 5700 950 30 0000 C CNN
+F 2 "" H 5700 950 60 0000 C CNN
+F 3 "" H 5700 950 60 0000 C CNN
+ 1 5700 950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 679F576B
+P 6050 950
+F 0 "U1" H 6100 1050 30 0000 C CNN
+F 1 "PORT" H 6050 950 30 0000 C CNN
+F 2 "" H 6050 950 60 0000 C CNN
+F 3 "" H 6050 950 60 0000 C CNN
+ 2 6050 950
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1000 2850 2450 2850
+Wire Wire Line
+ 1000 3100 2450 3100
+Wire Wire Line
+ 2450 3100 2450 3150
+Wire Wire Line
+ 1050 3450 2450 3450
+Wire Wire Line
+ 2450 3450 2450 3500
+Wire Wire Line
+ 1050 3850 2450 3850
+Wire Wire Line
+ 1350 4850 1350 2850
+Connection ~ 1350 2850
+Wire Wire Line
+ 1700 4850 1700 3100
+Connection ~ 1700 3100
+Wire Wire Line
+ 2050 4850 2050 3450
+Connection ~ 2050 3450
+Wire Wire Line
+ 2350 4850 2350 3850
+Connection ~ 2350 3850
+Wire Wire Line
+ 2750 3150 3050 3150
+Wire Wire Line
+ 2750 1850 2750 3850
+Connection ~ 2750 3500
+Connection ~ 2750 3150
+Connection ~ 2750 2850
+Wire Wire Line
+ 2750 1550 5200 1550
+Wire Wire Line
+ 4150 1550 4150 1600
+Connection ~ 3250 1550
+Wire Wire Line
+ 5200 1400 5200 1600
+Connection ~ 4150 1550
+Wire Wire Line
+ 3350 1850 3350 2950
+Wire Wire Line
+ 3350 1850 3250 1850
+Wire Wire Line
+ 3650 2750 3350 2750
+Connection ~ 3350 2750
+Wire Wire Line
+ 3950 2550 3950 2300
+Wire Wire Line
+ 3950 2300 4300 2300
+Wire Wire Line
+ 4150 1900 4150 2300
+Connection ~ 4150 2300
+Wire Wire Line
+ 5200 1900 5200 2500
+Wire Wire Line
+ 5200 2500 5300 2500
+Wire Wire Line
+ 4600 2100 5200 2100
+Connection ~ 5200 2100
+Wire Wire Line
+ 3950 2950 3950 3100
+Wire Wire Line
+ 3950 3100 4100 3100
+Wire Wire Line
+ 4400 3100 4550 3100
+Wire Wire Line
+ 4850 3100 5650 3100
+Wire Wire Line
+ 5300 2900 5300 3450
+Connection ~ 5300 3100
+Wire Wire Line
+ 3350 3350 3350 4700
+Wire Wire Line
+ 3350 4700 3400 4700
+Wire Wire Line
+ 4050 3100 4050 3750
+Connection ~ 4050 3100
+Wire Wire Line
+ 4150 4500 4050 4500
+Wire Wire Line
+ 4050 4500 4050 4050
+Wire Wire Line
+ 4450 4050 4450 4300
+Wire Wire Line
+ 4450 3750 4450 3600
+Wire Wire Line
+ 4050 3600 5000 3600
+Connection ~ 4050 3600
+Wire Wire Line
+ 5000 3600 5000 3650
+Connection ~ 4450 3600
+Wire Wire Line
+ 4600 2500 4450 2500
+Wire Wire Line
+ 4450 2500 4450 3100
+Connection ~ 4450 3100
+Wire Wire Line
+ 5000 2700 4450 2700
+Connection ~ 4450 2700
+Wire Wire Line
+ 1350 5150 1350 5350
+Wire Wire Line
+ 1350 5350 5300 5350
+Wire Wire Line
+ 2350 5350 2350 5150
+Wire Wire Line
+ 2050 5150 2050 5350
+Connection ~ 2050 5350
+Wire Wire Line
+ 1700 5150 1700 5350
+Connection ~ 1700 5350
+Wire Wire Line
+ 3400 5350 3400 5000
+Connection ~ 2350 5350
+Wire Wire Line
+ 4450 5350 4450 4700
+Connection ~ 3400 5350
+Wire Wire Line
+ 5300 5350 5300 3850
+Connection ~ 4450 5350
+Wire Wire Line
+ 9550 2700 11000 2700
+Wire Wire Line
+ 9550 2950 11000 2950
+Wire Wire Line
+ 9550 2950 9550 3000
+Wire Wire Line
+ 9550 3300 10950 3300
+Wire Wire Line
+ 9550 3300 9550 3350
+Wire Wire Line
+ 9550 3700 10950 3700
+Wire Wire Line
+ 10650 4700 10650 2700
+Connection ~ 10650 2700
+Wire Wire Line
+ 10300 4700 10300 2950
+Connection ~ 10300 2950
+Wire Wire Line
+ 9950 4700 9950 3300
+Connection ~ 9950 3300
+Wire Wire Line
+ 9650 4700 9650 3700
+Connection ~ 9650 3700
+Wire Wire Line
+ 9250 3000 8950 3000
+Wire Wire Line
+ 9250 1700 9250 3700
+Connection ~ 9250 3350
+Connection ~ 9250 3000
+Connection ~ 9250 2700
+Wire Wire Line
+ 5200 1400 9250 1400
+Wire Wire Line
+ 7850 1400 7850 1450
+Connection ~ 8750 1400
+Wire Wire Line
+ 6800 1400 6800 1450
+Connection ~ 7850 1400
+Wire Wire Line
+ 8650 1700 8650 2800
+Wire Wire Line
+ 8650 1700 8750 1700
+Wire Wire Line
+ 8350 2600 8650 2600
+Connection ~ 8650 2600
+Wire Wire Line
+ 8050 2150 8050 2400
+Wire Wire Line
+ 7700 2150 8050 2150
+Wire Wire Line
+ 7850 1750 7850 2150
+Connection ~ 7850 2150
+Wire Wire Line
+ 6800 1750 6800 2350
+Wire Wire Line
+ 6800 2350 6700 2350
+Wire Wire Line
+ 7400 1950 6800 1950
+Connection ~ 6800 1950
+Wire Wire Line
+ 8050 2950 8050 2800
+Wire Wire Line
+ 7900 2950 8050 2950
+Wire Wire Line
+ 7450 2950 7600 2950
+Wire Wire Line
+ 6350 2950 7150 2950
+Wire Wire Line
+ 6700 2750 6700 3300
+Connection ~ 6700 2950
+Wire Wire Line
+ 8650 3200 8650 4550
+Wire Wire Line
+ 8650 4550 8600 4550
+Wire Wire Line
+ 7950 2950 7950 3600
+Connection ~ 7950 2950
+Wire Wire Line
+ 7850 4350 7950 4350
+Wire Wire Line
+ 7950 4350 7950 3900
+Wire Wire Line
+ 7550 3900 7550 4150
+Wire Wire Line
+ 7550 3600 7550 3450
+Wire Wire Line
+ 7000 3450 7950 3450
+Connection ~ 7950 3450
+Wire Wire Line
+ 7000 3450 7000 3500
+Connection ~ 7550 3450
+Wire Wire Line
+ 7400 2350 7550 2350
+Wire Wire Line
+ 7550 2350 7550 2950
+Connection ~ 7550 2950
+Wire Wire Line
+ 7000 2550 7550 2550
+Connection ~ 7550 2550
+Wire Wire Line
+ 10650 5200 10650 5000
+Wire Wire Line
+ 6700 5200 10650 5200
+Wire Wire Line
+ 9650 5200 9650 5000
+Wire Wire Line
+ 9950 5000 9950 5200
+Connection ~ 9950 5200
+Wire Wire Line
+ 10300 5000 10300 5200
+Connection ~ 10300 5200
+Wire Wire Line
+ 8600 5200 8600 4850
+Connection ~ 9650 5200
+Wire Wire Line
+ 7550 5200 7550 4550
+Connection ~ 8600 5200
+Wire Wire Line
+ 6700 5350 6700 3700
+Connection ~ 7550 5200
+Wire Wire Line
+ 5250 5350 6700 5350
+Connection ~ 6700 5200
+Connection ~ 5250 5350
+Wire Wire Line
+ 5650 5350 5650 1200
+Wire Wire Line
+ 5650 1200 5700 1200
+Connection ~ 5650 5350
+Connection ~ 6800 1400
+Connection ~ 5200 1550
+Wire Wire Line
+ 6050 1200 6050 1400
+Connection ~ 6050 1400
+$Comp
+L PORT U1
+U 13 1 679F6081
+P 7300 5700
+F 0 "U1" H 7350 5800 30 0000 C CNN
+F 1 "PORT" H 7300 5700 30 0000 C CNN
+F 2 "" H 7300 5700 60 0000 C CNN
+F 3 "" H 7300 5700 60 0000 C CNN
+ 13 7300 5700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 679F61AC
+P 5950 5750
+F 0 "U1" H 6000 5850 30 0000 C CNN
+F 1 "PORT" H 5950 5750 30 0000 C CNN
+F 2 "" H 5950 5750 60 0000 C CNN
+F 3 "" H 5950 5750 60 0000 C CNN
+ 14 5950 5750
+ 1 0 0 -1
+$EndComp
+NoConn ~ 6200 5750
+NoConn ~ 7050 5700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SN74LS21/SN74LS21.sub b/library/SubcircuitLibrary/SN74LS21/SN74LS21.sub
new file mode 100644
index 00000000..891c3d5f
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21.sub
@@ -0,0 +1,54 @@
+* Subcircuit SN74LS21
+.subckt SN74LS21 net-_d11-pad2_ net-_r1-pad1_ net-_d1-pad2_ net-_d17-pad2_ net-_q3-pad3_ net-_d15-pad2_ net-_d18-pad2_ net-_q10-pad1_ net-_d14-pad2_ net-_d19-pad2_ net-_d13-pad2_ net-_d10-pad2_ ? ?
+* d:\fossee\esim\library\subcircuitlibrary\sn74ls21\sn74ls21.cir
+.include NPN.lib
+.include D.lib
+r5 net-_r1-pad1_ net-_d10-pad1_ 20k
+r6 net-_r1-pad1_ net-_q6-pad2_ 10k
+r7 net-_r1-pad1_ net-_q2-pad2_ 8k
+r8 net-_r1-pad1_ net-_q2-pad1_ 75
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_d5-pad1_ Q2N2222
+q5 net-_q2-pad1_ net-_d5-pad1_ net-_q10-pad1_ Q2N2222
+r10 net-_q10-pad1_ net-_d5-pad1_ 4.5k
+q10 net-_q10-pad1_ net-_d5-pad2_ net-_d11-pad2_ Q2N2222
+r14 net-_q12-pad1_ net-_d5-pad2_ 3k
+r13 net-_q12-pad2_ net-_d5-pad2_ 1.5k
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_d11-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q6-pad2_ net-_d5-pad2_ Q2N2222
+q8 net-_q6-pad2_ net-_d10-pad1_ net-_d12-pad1_ Q2N2222
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N4148
+d8 net-_d10-pad1_ net-_d19-pad2_ 1N4148
+d2 net-_d10-pad1_ net-_d17-pad2_ 1N4148
+d6 net-_d10-pad1_ net-_d18-pad2_ 1N4148
+d10 net-_d10-pad1_ net-_d10-pad2_ 1N4148
+d18 net-_d11-pad2_ net-_d18-pad2_ 1N4148
+d20 net-_d11-pad2_ net-_d10-pad2_ 1N4148
+d19 net-_d11-pad2_ net-_d19-pad2_ 1N4148
+d17 net-_d11-pad2_ net-_d17-pad2_ 1N4148
+d12 net-_d12-pad1_ net-_d11-pad2_ 1N4148
+r2 net-_r1-pad1_ net-_d1-pad1_ 20k
+r1 net-_r1-pad1_ net-_q4-pad2_ 10k
+r4 net-_r1-pad1_ net-_q1-pad2_ 8k
+r3 net-_r1-pad1_ net-_q1-pad1_ 75
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_d3-pad1_ Q2N2222
+q3 net-_q1-pad1_ net-_d3-pad1_ net-_q3-pad3_ Q2N2222
+r9 net-_q3-pad3_ net-_d3-pad1_ 4.5k
+q9 net-_q3-pad3_ net-_d3-pad2_ net-_d11-pad2_ Q2N2222
+r11 net-_q11-pad1_ net-_d3-pad2_ 3k
+r12 net-_q11-pad2_ net-_d3-pad2_ 1.5k
+q11 net-_q11-pad1_ net-_q11-pad2_ net-_d11-pad2_ Q2N2222
+q4 net-_q1-pad2_ net-_q4-pad2_ net-_d3-pad2_ Q2N2222
+q7 net-_q4-pad2_ net-_d1-pad1_ net-_d11-pad1_ Q2N2222
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+d7 net-_d1-pad1_ net-_d14-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d4 net-_d1-pad1_ net-_d15-pad2_ 1N4148
+d9 net-_d1-pad1_ net-_d13-pad2_ 1N4148
+d15 net-_d11-pad2_ net-_d15-pad2_ 1N4148
+d13 net-_d11-pad2_ net-_d13-pad2_ 1N4148
+d14 net-_d11-pad2_ net-_d14-pad2_ 1N4148
+d16 net-_d11-pad2_ net-_d1-pad2_ 1N4148
+d11 net-_d11-pad1_ net-_d11-pad2_ 1N4148
+* Control Statements
+
+.ends SN74LS21 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LS21/SN74LS21_Previous_Values.xml b/library/SubcircuitLibrary/SN74LS21/SN74LS21_Previous_Values.xml
new file mode 100644
index 00000000..deb147c6
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/SN74LS21_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><d5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><d8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d8><d2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d6><d10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d10><d18><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d18><d20><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d20><d19><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d19><d17><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d17><d12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d12><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><d3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><d7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d7><d1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><d9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d9><d15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d15><d13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d13><d14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d14><d16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d16><d11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d11></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/SN74LS21/analysis b/library/SubcircuitLibrary/SN74LS21/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS21/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/lm205/NJF.lib b/library/SubcircuitLibrary/lm205/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/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/lm205/NPN.lib b/library/SubcircuitLibrary/lm205/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/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/lm205/PNP.lib b/library/SubcircuitLibrary/lm205/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/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/lm205/analysis b/library/SubcircuitLibrary/lm205/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/lm205/lm205-cache.lib b/library/SubcircuitLibrary/lm205/lm205-cache.lib
new file mode 100644
index 00000000..fc07b1b6
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205-cache.lib
@@ -0,0 +1,158 @@
+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_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/lm205/lm205.cir b/library/SubcircuitLibrary/lm205/lm205.cir
new file mode 100644
index 00000000..684260fe
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205.cir
@@ -0,0 +1,43 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\lm205\lm205.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/18/25 19:55:06
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q4 Net-_Q4-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q7 Net-_Q7-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R1 Net-_Q1-Pad2_ Net-_Q4-Pad1_ 2.8k
+R2 Net-_Q1-Pad3_ Net-_Q6-Pad1_ 600
+R3 Net-_Q2-Pad3_ Net-_Q10-Pad2_ 1.86k
+R4 Net-_Q6-Pad3_ Net-_Q10-Pad2_ 1.32k
+R6 Net-_Q11-Pad3_ Net-_Q17-Pad2_ 3k
+R7 Net-_Q17-Pad2_ Net-_Q16-Pad3_ 6.8k
+R8 Net-_Q16-Pad3_ Net-_Q20-Pad1_ 3k
+Q3 Net-_Q1-Pad2_ Net-_Q1-Pad2_ Net-_J1-Pad1_ eSim_NPN
+Q9 Net-_Q4-Pad1_ Net-_Q7-Pad1_ Net-_Q11-Pad2_ eSim_NPN
+Q14 Net-_Q11-Pad2_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+U2 Net-_C1-Pad2_ Net-_Q7-Pad1_ zener
+Q5 Net-_Q1-Pad3_ Net-_Q4-Pad1_ Net-_J1-Pad1_ eSim_NPN
+Q11 Net-_J1-Pad1_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_J1-Pad1_ Net-_Q11-Pad2_ Net-_Q12-Pad3_ eSim_NPN
+Q17 Net-_Q12-Pad3_ Net-_Q17-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+Q19 Net-_C1-Pad1_ Net-_Q16-Pad3_ Net-_Q18-Pad3_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5p
+R9 Net-_Q18-Pad3_ Net-_C1-Pad2_ 2.2k
+Q20 Net-_Q20-Pad1_ Net-_Q20-Pad1_ Net-_C1-Pad2_ eSim_NPN
+J1 Net-_J1-Pad1_ Net-_C1-Pad2_ Net-_C1-Pad2_ jfet_n
+Q2 Net-_Q1-Pad3_ Net-_Q1-Pad1_ Net-_Q2-Pad3_ eSim_NPN
+Q10 Net-_Q1-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q15 Net-_Q13-Pad3_ Net-_C1-Pad1_ Net-_Q15-Pad3_ eSim_NPN
+Q18 Net-_Q15-Pad3_ Net-_Q16-Pad2_ Net-_Q18-Pad3_ eSim_NPN
+R5 Net-_Q8-Pad3_ Net-_C1-Pad1_ 4.4k
+Q6 Net-_Q6-Pad1_ Net-_Q2-Pad3_ Net-_Q6-Pad3_ eSim_NPN
+Q13 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q13-Pad3_ eSim_NPN
+U1 Net-_Q1-Pad3_ Net-_Q6-Pad1_ Net-_Q6-Pad3_ Net-_Q10-Pad3_ Net-_Q13-Pad3_ Net-_Q16-Pad2_ Net-_Q16-Pad3_ Net-_C1-Pad2_ PORT
+Q8 Net-_J1-Pad1_ Net-_Q11-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+Q16 Net-_Q13-Pad3_ Net-_Q16-Pad2_ Net-_Q16-Pad3_ eSim_NPN
+
+.end
diff --git a/library/SubcircuitLibrary/lm205/lm205.cir.out b/library/SubcircuitLibrary/lm205/lm205.cir.out
new file mode 100644
index 00000000..1f7ba49b
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205.cir.out
@@ -0,0 +1,50 @@
+* d:\fossee\esim\library\subcircuitlibrary\lm205\lm205.cir
+
+.include PNP.lib
+.include NJF.lib
+.include NPN.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q4 net-_q4-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q7 net-_q7-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_q1-pad2_ net-_q4-pad1_ 2.8k
+r2 net-_q1-pad3_ net-_q6-pad1_ 600
+r3 net-_q2-pad3_ net-_q10-pad2_ 1.86k
+r4 net-_q6-pad3_ net-_q10-pad2_ 1.32k
+r6 net-_q11-pad3_ net-_q17-pad2_ 3k
+r7 net-_q17-pad2_ net-_q16-pad3_ 6.8k
+r8 net-_q16-pad3_ net-_q20-pad1_ 3k
+q3 net-_q1-pad2_ net-_q1-pad2_ net-_j1-pad1_ Q2N2222
+q9 net-_q4-pad1_ net-_q7-pad1_ net-_q11-pad2_ Q2N2222
+q14 net-_q11-pad2_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+* u2 net-_c1-pad2_ net-_q7-pad1_ zener
+q5 net-_q1-pad3_ net-_q4-pad1_ net-_j1-pad1_ Q2N2222
+q11 net-_j1-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+q12 net-_j1-pad1_ net-_q11-pad2_ net-_q12-pad3_ Q2N2222
+q17 net-_q12-pad3_ net-_q17-pad2_ net-_q15-pad3_ Q2N2222
+q19 net-_c1-pad1_ net-_q16-pad3_ net-_q18-pad3_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 5p
+r9 net-_q18-pad3_ net-_c1-pad2_ 2.2k
+q20 net-_q20-pad1_ net-_q20-pad1_ net-_c1-pad2_ Q2N2222
+j1 net-_j1-pad1_ net-_c1-pad2_ net-_c1-pad2_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2222
+q10 net-_q1-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q15 net-_q13-pad3_ net-_c1-pad1_ net-_q15-pad3_ Q2N2222
+q18 net-_q15-pad3_ net-_q16-pad2_ net-_q18-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_c1-pad1_ 4.4k
+q6 net-_q6-pad1_ net-_q2-pad3_ net-_q6-pad3_ Q2N2222
+q13 net-_q1-pad1_ net-_q1-pad1_ net-_q13-pad3_ Q2N2222
+* u1 net-_q1-pad3_ net-_q6-pad1_ net-_q6-pad3_ net-_q10-pad3_ net-_q13-pad3_ net-_q16-pad2_ net-_q16-pad3_ net-_c1-pad2_ port
+q8 net-_j1-pad1_ net-_q11-pad2_ net-_q8-pad3_ Q2N2222
+q16 net-_q13-pad3_ net-_q16-pad2_ net-_q16-pad3_ Q2N2222
+a1 net-_c1-pad2_ net-_q7-pad1_ u2
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/lm205/lm205.pro b/library/SubcircuitLibrary/lm205/lm205.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205.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/lm205/lm205.sch b/library/SubcircuitLibrary/lm205/lm205.sch
new file mode 100644
index 00000000..890f2922
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205.sch
@@ -0,0 +1,755 @@
+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:lm205-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_PNP Q1
+U 1 1 67AF370C
+P 2500 1750
+F 0 "Q1" H 2400 1800 50 0000 R CNN
+F 1 "eSim_PNP" H 2450 1900 50 0000 R CNN
+F 2 "" H 2700 1850 29 0000 C CNN
+F 3 "" H 2500 1750 60 0000 C CNN
+ 1 2500 1750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 67AF378C
+P 2700 2300
+F 0 "Q4" H 2600 2350 50 0000 R CNN
+F 1 "eSim_PNP" H 2650 2450 50 0000 R CNN
+F 2 "" H 2900 2400 29 0000 C CNN
+F 3 "" H 2700 2300 60 0000 C CNN
+ 1 2700 2300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 67AF37C4
+P 3100 2800
+F 0 "Q7" H 3000 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 3050 2950 50 0000 R CNN
+F 2 "" H 3300 2900 29 0000 C CNN
+F 3 "" H 3100 2800 60 0000 C CNN
+ 1 3100 2800
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 67AF3814
+P 2950 1300
+F 0 "R1" V 3000 1430 50 0000 C CNN
+F 1 "2.8k" H 3000 1250 50 0000 C CNN
+F 2 "" H 3000 1280 30 0000 C CNN
+F 3 "" V 3000 1350 30 0000 C CNN
+ 1 2950 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 67AF387D
+P 7750 1400
+F 0 "R2" H 7800 1530 50 0000 C CNN
+F 1 "600" H 7800 1350 50 0000 C CNN
+F 2 "" H 7800 1380 30 0000 C CNN
+F 3 "" V 7800 1450 30 0000 C CNN
+ 1 7750 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 67AF3995
+P 7250 2750
+F 0 "R3" V 7300 2880 50 0000 C CNN
+F 1 "1.86k" H 7300 2700 50 0000 C CNN
+F 2 "" H 7300 2730 30 0000 C CNN
+F 3 "" V 7300 2800 30 0000 C CNN
+ 1 7250 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 67AF3AD7
+P 7800 3250
+F 0 "R4" V 7850 3380 50 0000 C CNN
+F 1 "1.32k" H 7850 3200 50 0000 C CNN
+F 2 "" H 7850 3230 30 0000 C CNN
+F 3 "" V 7850 3300 30 0000 C CNN
+ 1 7800 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 67AF3B48
+P 3600 5050
+F 0 "R6" V 3650 5180 50 0000 C CNN
+F 1 "3k" H 3650 5000 50 0000 C CNN
+F 2 "" H 3650 5030 30 0000 C CNN
+F 3 "" V 3650 5100 30 0000 C CNN
+ 1 3600 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 67AF3C64
+P 3600 5700
+F 0 "R7" V 3650 5830 50 0000 C CNN
+F 1 "6.8k" H 3650 5650 50 0000 C CNN
+F 2 "" H 3650 5680 30 0000 C CNN
+F 3 "" V 3650 5750 30 0000 C CNN
+ 1 3600 5700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 67AF3D16
+P 3600 6300
+F 0 "R8" V 3650 6430 50 0000 C CNN
+F 1 "3k" H 3650 6250 50 0000 C CNN
+F 2 "" H 3650 6280 30 0000 C CNN
+F 3 "" V 3650 6350 30 0000 C CNN
+ 1 3600 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 67AF3F37
+P 1300 2300
+F 0 "Q3" H 1200 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 1250 2450 50 0000 R CNN
+F 2 "" H 1500 2400 29 0000 C CNN
+F 3 "" H 1300 2300 60 0000 C CNN
+ 1 1300 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 67AF3FF0
+P 3550 3600
+F 0 "Q9" H 3450 3650 50 0000 R CNN
+F 1 "eSim_NPN" H 3500 3750 50 0000 R CNN
+F 2 "" H 3750 3700 29 0000 C CNN
+F 3 "" H 3550 3600 60 0000 C CNN
+ 1 3550 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 67AF41F0
+P 3550 4650
+F 0 "Q14" H 3450 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 3500 4800 50 0000 R CNN
+F 2 "" H 3750 4750 29 0000 C CNN
+F 3 "" H 3550 4650 60 0000 C CNN
+ 1 3550 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U2
+U 1 1 67AF4A12
+P 3200 5500
+F 0 "U2" H 3150 5400 60 0000 C CNN
+F 1 "zener" H 3200 5600 60 0000 C CNN
+F 2 "" H 3250 5500 60 0000 C CNN
+F 3 "" H 3250 5500 60 0000 C CNN
+ 1 3200 5500
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 67AF4D97
+P 3900 2450
+F 0 "Q5" H 3800 2500 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 2600 50 0000 R CNN
+F 2 "" H 4100 2550 29 0000 C CNN
+F 3 "" H 3900 2450 60 0000 C CNN
+ 1 3900 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 67AF5153
+P 4400 4150
+F 0 "Q11" H 4300 4200 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 4300 50 0000 R CNN
+F 2 "" H 4600 4250 29 0000 C CNN
+F 3 "" H 4400 4150 60 0000 C CNN
+ 1 4400 4150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 67AF51CB
+P 4900 4150
+F 0 "Q12" H 4800 4200 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 4300 50 0000 R CNN
+F 2 "" H 5100 4250 29 0000 C CNN
+F 3 "" H 4900 4150 60 0000 C CNN
+ 1 4900 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 67AF5639
+P 4400 5450
+F 0 "Q17" H 4300 5500 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 5600 50 0000 R CNN
+F 2 "" H 4600 5550 29 0000 C CNN
+F 3 "" H 4400 5450 60 0000 C CNN
+ 1 4400 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 67AF56BB
+P 5600 5900
+F 0 "Q19" H 5500 5950 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 6050 50 0000 R CNN
+F 2 "" H 5800 6000 29 0000 C CNN
+F 3 "" H 5600 5900 60 0000 C CNN
+ 1 5600 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 67AF5725
+P 4700 6400
+F 0 "C1" H 4725 6500 50 0000 L CNN
+F 1 "5p" H 4725 6300 50 0000 L CNN
+F 2 "" H 4738 6250 30 0000 C CNN
+F 3 "" H 4700 6400 60 0000 C CNN
+ 1 4700 6400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 67AF57FA
+P 6150 6400
+F 0 "R9" V 6200 6530 50 0000 C CNN
+F 1 "2.2k" H 6200 6350 50 0000 C CNN
+F 2 "" H 6200 6380 30 0000 C CNN
+F 3 "" V 6200 6450 30 0000 C CNN
+ 1 6150 6400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 67AF5893
+P 3550 6900
+F 0 "Q20" H 3450 6950 50 0000 R CNN
+F 1 "eSim_NPN" H 3500 7050 50 0000 R CNN
+F 2 "" H 3750 7000 29 0000 C CNN
+F 3 "" H 3550 6900 60 0000 C CNN
+ 1 3550 6900
+ 1 0 0 -1
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 67AF5913
+P 2150 6550
+F 0 "J1" H 2050 6600 50 0000 R CNN
+F 1 "jfet_n" H 2100 6700 50 0000 R CNN
+F 2 "" H 2350 6650 29 0000 C CNN
+F 3 "" H 2150 6550 60 0000 C CNN
+ 1 2150 6550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 67AF5ADC
+P 6750 2200
+F 0 "Q2" H 6650 2250 50 0000 R CNN
+F 1 "eSim_NPN" H 6700 2350 50 0000 R CNN
+F 2 "" H 6950 2300 29 0000 C CNN
+F 3 "" H 6750 2200 60 0000 C CNN
+ 1 6750 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 67AF5DBC
+P 7300 3700
+F 0 "Q10" H 7200 3750 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 3850 50 0000 R CNN
+F 2 "" H 7500 3800 29 0000 C CNN
+F 3 "" H 7300 3700 60 0000 C CNN
+ 1 7300 3700
+ 0 -1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 67AF5F81
+P 6400 4850
+F 0 "Q15" H 6300 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 6350 5000 50 0000 R CNN
+F 2 "" H 6600 4950 29 0000 C CNN
+F 3 "" H 6400 4850 60 0000 C CNN
+ 1 6400 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 67AF60C3
+P 6600 5850
+F 0 "Q18" H 6500 5900 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 6000 50 0000 R CNN
+F 2 "" H 6800 5950 29 0000 C CNN
+F 3 "" H 6600 5850 60 0000 C CNN
+ 1 6600 5850
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 67AF61E4
+P 5650 3900
+F 0 "R5" V 5700 4030 50 0000 C CNN
+F 1 "4.4k" H 5700 3850 50 0000 C CNN
+F 2 "" H 5700 3880 30 0000 C CNN
+F 3 "" V 5700 3950 30 0000 C CNN
+ 1 5650 3900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 67AF63B3
+P 7700 2600
+F 0 "Q6" H 7600 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 7650 2750 50 0000 R CNN
+F 2 "" H 7900 2700 29 0000 C CNN
+F 3 "" H 7700 2600 60 0000 C CNN
+ 1 7700 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 67AF65E7
+P 6600 4150
+F 0 "Q13" H 6500 4200 50 0000 R CNN
+F 1 "eSim_NPN" H 6550 4300 50 0000 R CNN
+F 2 "" H 6800 4250 29 0000 C CNN
+F 3 "" H 6600 4150 60 0000 C CNN
+ 1 6600 4150
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 67AF8AC5
+P 9400 950
+F 0 "U1" H 9450 1050 30 0000 C CNN
+F 1 "PORT" H 9400 950 30 0000 C CNN
+F 2 "" H 9400 950 60 0000 C CNN
+F 3 "" H 9400 950 60 0000 C CNN
+ 1 9400 950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 67AF8C11
+P 9550 1950
+F 0 "U1" H 9600 2050 30 0000 C CNN
+F 1 "PORT" H 9550 1950 30 0000 C CNN
+F 2 "" H 9550 1950 60 0000 C CNN
+F 3 "" H 9550 1950 60 0000 C CNN
+ 2 9550 1950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 67AF8CCA
+P 9450 3300
+F 0 "U1" H 9500 3400 30 0000 C CNN
+F 1 "PORT" H 9450 3300 30 0000 C CNN
+F 2 "" H 9450 3300 60 0000 C CNN
+F 3 "" H 9450 3300 60 0000 C CNN
+ 3 9450 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 67AF8D9E
+P 9600 4050
+F 0 "U1" H 9650 4150 30 0000 C CNN
+F 1 "PORT" H 9600 4050 30 0000 C CNN
+F 2 "" H 9600 4050 60 0000 C CNN
+F 3 "" H 9600 4050 60 0000 C CNN
+ 4 9600 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 67AF8E43
+P 9600 4350
+F 0 "U1" H 9650 4450 30 0000 C CNN
+F 1 "PORT" H 9600 4350 30 0000 C CNN
+F 2 "" H 9600 4350 60 0000 C CNN
+F 3 "" H 9600 4350 60 0000 C CNN
+ 5 9600 4350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 67AF8EEB
+P 9650 5750
+F 0 "U1" H 9700 5850 30 0000 C CNN
+F 1 "PORT" H 9650 5750 30 0000 C CNN
+F 2 "" H 9650 5750 60 0000 C CNN
+F 3 "" H 9650 5750 60 0000 C CNN
+ 6 9650 5750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 67AF8FAC
+P 9750 6150
+F 0 "U1" H 9800 6250 30 0000 C CNN
+F 1 "PORT" H 9750 6150 30 0000 C CNN
+F 2 "" H 9750 6150 60 0000 C CNN
+F 3 "" H 9750 6150 60 0000 C CNN
+ 7 9750 6150
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 67AF9046
+P 9750 6650
+F 0 "U1" H 9800 6750 30 0000 C CNN
+F 1 "PORT" H 9750 6650 30 0000 C CNN
+F 2 "" H 9750 6650 60 0000 C CNN
+F 3 "" H 9750 6650 60 0000 C CNN
+ 8 9750 6650
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 2300 1750 2300 2300
+Wire Wire Line
+ 2300 2300 2500 2300
+Wire Wire Line
+ 2500 2300 2500 2800
+Wire Wire Line
+ 2500 2800 2900 2800
+Wire Wire Line
+ 2600 1550 2800 1550
+Wire Wire Line
+ 2800 1550 2800 2100
+Wire Wire Line
+ 2800 2100 3200 2100
+Wire Wire Line
+ 3200 2100 3200 2600
+Wire Wire Line
+ 4600 4150 4700 4150
+Wire Wire Line
+ 4300 3950 5000 3950
+Wire Wire Line
+ 1200 2100 2300 2100
+Connection ~ 2300 2100
+Wire Wire Line
+ 1900 2300 1500 2300
+Wire Wire Line
+ 1900 1250 1900 2300
+Connection ~ 1900 2100
+Wire Wire Line
+ 1900 1250 2850 1250
+Wire Wire Line
+ 2600 1950 6550 1950
+Wire Wire Line
+ 6550 1950 6550 2200
+Wire Wire Line
+ 3150 1250 3650 1250
+Wire Wire Line
+ 3650 1250 3650 3400
+Wire Wire Line
+ 2800 2500 3700 2500
+Connection ~ 3650 2500
+Wire Wire Line
+ 3700 2500 3700 2450
+Wire Wire Line
+ 3200 3000 3200 5200
+Wire Wire Line
+ 3350 3600 3200 3600
+Connection ~ 3200 3600
+Wire Wire Line
+ 5400 3400 3950 3400
+Wire Wire Line
+ 3950 3400 3950 4000
+Wire Wire Line
+ 4650 4150 4650 4450
+Wire Wire Line
+ 4650 4450 3900 4450
+Wire Wire Line
+ 3900 4450 3900 4300
+Wire Wire Line
+ 3900 4300 3350 4300
+Wire Wire Line
+ 3350 4300 3350 4650
+Connection ~ 4650 4150
+Wire Wire Line
+ 3650 3800 3650 4450
+Connection ~ 3650 4300
+Wire Wire Line
+ 4000 2650 4550 2650
+Wire Wire Line
+ 4550 2650 4550 3950
+Connection ~ 4550 3950
+Wire Wire Line
+ 3650 4850 3650 4950
+Wire Wire Line
+ 3650 5250 3650 5600
+Wire Wire Line
+ 3650 5900 3650 6200
+Wire Wire Line
+ 3650 6500 3650 6700
+Connection ~ 3650 6600
+Wire Wire Line
+ 5400 5900 3850 5900
+Wire Wire Line
+ 3850 5900 3850 6050
+Wire Wire Line
+ 3850 6050 3650 6050
+Connection ~ 3650 6050
+Wire Wire Line
+ 4200 5450 3650 5450
+Connection ~ 3650 5450
+Wire Wire Line
+ 5000 4350 5000 5250
+Wire Wire Line
+ 5000 5250 4500 5250
+Wire Wire Line
+ 3650 4900 4300 4900
+Wire Wire Line
+ 4300 4900 4300 4350
+Connection ~ 3650 4900
+Wire Wire Line
+ 5700 4100 5700 5700
+Wire Wire Line
+ 7300 2950 7300 3500
+Wire Wire Line
+ 7300 3300 7600 3300
+Connection ~ 7300 3300
+Wire Wire Line
+ 7300 2650 7300 2600
+Wire Wire Line
+ 6850 2600 7500 2600
+Wire Wire Line
+ 6850 2400 6850 2600
+Connection ~ 7300 2600
+Wire Wire Line
+ 7800 1600 7800 2400
+Wire Wire Line
+ 5700 5350 4700 5350
+Wire Wire Line
+ 4700 5350 4700 6250
+Connection ~ 5700 5350
+Wire Wire Line
+ 5700 6100 6500 6100
+Wire Wire Line
+ 6500 6100 6500 6050
+Wire Wire Line
+ 6200 6100 6200 6300
+Connection ~ 6200 6100
+Wire Wire Line
+ 9150 950 2700 950
+Wire Wire Line
+ 2700 950 2700 1550
+Connection ~ 2700 1550
+Wire Wire Line
+ 4000 2250 4000 950
+Connection ~ 4000 950
+Wire Wire Line
+ 1200 2500 1200 6350
+Wire Wire Line
+ 1200 6350 2050 6350
+Wire Wire Line
+ 3350 6900 3350 6600
+Wire Wire Line
+ 3350 6600 3650 6600
+Wire Wire Line
+ 3200 5700 3200 7250
+Wire Wire Line
+ 3200 7050 2050 7050
+Wire Wire Line
+ 2050 7050 2050 6750
+Wire Wire Line
+ 2350 6550 2550 6550
+Wire Wire Line
+ 2550 6550 2550 7050
+Connection ~ 2550 7050
+Wire Wire Line
+ 3200 7250 9500 7250
+Wire Wire Line
+ 9500 7250 9500 6650
+Connection ~ 3200 7050
+Wire Wire Line
+ 6200 6600 6200 7250
+Connection ~ 6200 7250
+Wire Wire Line
+ 4700 6550 4700 7250
+Connection ~ 4700 7250
+Wire Wire Line
+ 3650 7100 3650 7250
+Connection ~ 3650 7250
+Wire Wire Line
+ 4250 5900 4250 6950
+Wire Wire Line
+ 4250 6950 6450 6950
+Wire Wire Line
+ 6450 6950 6450 6200
+Wire Wire Line
+ 6450 6200 9500 6200
+Wire Wire Line
+ 9500 6200 9500 6150
+Connection ~ 4250 5900
+Wire Wire Line
+ 6800 5850 9400 5850
+Wire Wire Line
+ 9400 5850 9400 5750
+Wire Wire Line
+ 6500 3950 6500 1950
+Connection ~ 6500 1950
+Wire Wire Line
+ 7100 3800 6500 3800
+Connection ~ 6500 3800
+Wire Wire Line
+ 6800 4150 6900 4150
+Wire Wire Line
+ 6900 4150 6900 3800
+Connection ~ 6900 3800
+Wire Wire Line
+ 6500 4350 6500 4650
+Wire Wire Line
+ 6500 5050 6500 5650
+Wire Wire Line
+ 6200 4850 5700 4850
+Connection ~ 5700 4850
+Wire Wire Line
+ 4500 5650 6400 5650
+Wire Wire Line
+ 6400 5650 6400 5500
+Wire Wire Line
+ 6400 5500 6500 5500
+Connection ~ 6500 5500
+$Comp
+L eSim_NPN Q8
+U 1 1 67AF62F0
+P 5600 3400
+F 0 "Q8" H 5500 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 3550 50 0000 R CNN
+F 2 "" H 5800 3500 29 0000 C CNN
+F 3 "" H 5600 3400 60 0000 C CNN
+ 1 5600 3400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5700 3800 5700 3600
+Wire Wire Line
+ 5700 2850 5700 3200
+Wire Wire Line
+ 4100 2850 5700 2850
+Connection ~ 4550 2850
+Wire Wire Line
+ 4100 2850 4100 3150
+Wire Wire Line
+ 4100 3150 1200 3150
+Connection ~ 1200 3150
+Wire Wire Line
+ 7800 2800 7900 2800
+Wire Wire Line
+ 7900 2800 7900 3300
+Wire Wire Line
+ 7900 3300 9200 3300
+Wire Wire Line
+ 7800 1300 7800 950
+Connection ~ 7800 950
+Wire Wire Line
+ 6850 2000 6850 950
+Connection ~ 6850 950
+Wire Wire Line
+ 9300 1950 7800 1950
+Connection ~ 7800 1950
+Wire Wire Line
+ 7500 3800 9350 3800
+Wire Wire Line
+ 9350 3800 9350 4050
+Wire Wire Line
+ 6500 4500 9350 4500
+Wire Wire Line
+ 9350 4500 9350 4350
+Connection ~ 6500 4500
+$Comp
+L eSim_NPN Q16
+U 1 1 67AFCCFC
+P 8150 5000
+F 0 "Q16" H 8050 5050 50 0000 R CNN
+F 1 "eSim_NPN" H 8100 5150 50 0000 R CNN
+F 2 "" H 8350 5100 29 0000 C CNN
+F 3 "" H 8150 5000 60 0000 C CNN
+ 1 8150 5000
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8050 4800 8050 4500
+Connection ~ 8050 4500
+Wire Wire Line
+ 8350 5000 8700 5000
+Wire Wire Line
+ 8700 5000 8700 5850
+Connection ~ 8700 5850
+Wire Wire Line
+ 8050 5200 8050 6200
+Connection ~ 8050 6200
+Wire Wire Line
+ 3950 4000 3650 4000
+Connection ~ 3650 4000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/lm205/lm205.sub b/library/SubcircuitLibrary/lm205/lm205.sub
new file mode 100644
index 00000000..7279b688
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205.sub
@@ -0,0 +1,44 @@
+* Subcircuit lm205
+.subckt lm205 net-_q1-pad3_ net-_q6-pad1_ net-_q6-pad3_ net-_q10-pad3_ net-_q13-pad3_ net-_q16-pad2_ net-_q16-pad3_ net-_c1-pad2_
+* d:\fossee\esim\library\subcircuitlibrary\lm205\lm205.cir
+.include PNP.lib
+.include NJF.lib
+.include NPN.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q4 net-_q4-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q7 net-_q7-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_q1-pad2_ net-_q4-pad1_ 2.8k
+r2 net-_q1-pad3_ net-_q6-pad1_ 600
+r3 net-_q2-pad3_ net-_q10-pad2_ 1.86k
+r4 net-_q6-pad3_ net-_q10-pad2_ 1.32k
+r6 net-_q11-pad3_ net-_q17-pad2_ 3k
+r7 net-_q17-pad2_ net-_q16-pad3_ 6.8k
+r8 net-_q16-pad3_ net-_q20-pad1_ 3k
+q3 net-_q1-pad2_ net-_q1-pad2_ net-_j1-pad1_ Q2N2222
+q9 net-_q4-pad1_ net-_q7-pad1_ net-_q11-pad2_ Q2N2222
+q14 net-_q11-pad2_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+* u2 net-_c1-pad2_ net-_q7-pad1_ zener
+q5 net-_q1-pad3_ net-_q4-pad1_ net-_j1-pad1_ Q2N2222
+q11 net-_j1-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+q12 net-_j1-pad1_ net-_q11-pad2_ net-_q12-pad3_ Q2N2222
+q17 net-_q12-pad3_ net-_q17-pad2_ net-_q15-pad3_ Q2N2222
+q19 net-_c1-pad1_ net-_q16-pad3_ net-_q18-pad3_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 5p
+r9 net-_q18-pad3_ net-_c1-pad2_ 2.2k
+q20 net-_q20-pad1_ net-_q20-pad1_ net-_c1-pad2_ Q2N2222
+j1 net-_j1-pad1_ net-_c1-pad2_ net-_c1-pad2_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2222
+q10 net-_q1-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q15 net-_q13-pad3_ net-_c1-pad1_ net-_q15-pad3_ Q2N2222
+q18 net-_q15-pad3_ net-_q16-pad2_ net-_q18-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_c1-pad1_ 4.4k
+q6 net-_q6-pad1_ net-_q2-pad3_ net-_q6-pad3_ Q2N2222
+q13 net-_q1-pad1_ net-_q1-pad1_ net-_q13-pad3_ Q2N2222
+q8 net-_j1-pad1_ net-_q11-pad2_ net-_q8-pad3_ Q2N2222
+q16 net-_q13-pad3_ net-_q16-pad2_ net-_q16-pad3_ Q2N2222
+a1 net-_c1-pad2_ net-_q7-pad1_ u2
+* 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 lm205 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/lm205/lm205_Previous_Values.xml b/library/SubcircuitLibrary/lm205/lm205_Previous_Values.xml
new file mode 100644
index 00000000..b3182738
--- /dev/null
+++ b/library/SubcircuitLibrary/lm205/lm205_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u2 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)" /><field2 name="Enter Breakdown Current (default=2.0e-2)" /><field3 name="Enter Saturation Current (default=1.0e-12)" /><field4 name="Enter Forward Emission Coefficient (default=1.0)" /><field5 name="Enter Switch for Limiting (default=FALSE)" /></u2></model><devicemodel><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q17><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q19><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q20><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q20><j1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q18><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q18><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16></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/ref5010/NPN.lib b/library/SubcircuitLibrary/ref5010/NPN.lib
new file mode 100644
index 00000000..7f2f0319
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 Tr=46.91n Tf=411.1p
++ Itf=.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/ref5010/PNP.lib b/library/SubcircuitLibrary/ref5010/PNP.lib
new file mode 100644
index 00000000..0eaa3e25
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/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/ref5010/analysis b/library/SubcircuitLibrary/ref5010/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/lm_741-cache.lib b/library/SubcircuitLibrary/ref5010/lm_741-cache.lib
new file mode 100644
index 00000000..6e908886
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741-cache.lib
@@ -0,0 +1,119 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 C
+X B 2 -200 0 225 R 50 50 1 1 I
+X E 3 100 -200 100 U 50 50 1 1 E
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 C
+X B 2 -200 0 225 R 50 50 1 1 I
+X E 3 100 -200 100 U 50 50 1 1 E
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/ref5010/lm_741.cir b/library/SubcircuitLibrary/ref5010/lm_741.cir
new file mode 100644
index 00000000..b7989199
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741.cir
@@ -0,0 +1,43 @@
+* C:\Users\malli\eSim\src\SubcircuitLibrary\lm_741\lm_741.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/25/19 19:37:28
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+Q6 Net-_Q3-Pad2_ Net-_Q13-Pad1_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q13-Pad1_ Net-_Q2-Pad3_ eSim_PNP
+Q3 Net-_Q10-Pad3_ Net-_Q3-Pad2_ Net-_Q3-Pad3_ eSim_NPN
+Q4 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q9 Net-_Q13-Pad1_ Net-_Q1-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q8 Net-_C1-Pad2_ Net-_Q3-Pad3_ Net-_Q8-Pad3_ eSim_NPN
+Q7 Net-_Q3-Pad2_ Net-_Q3-Pad3_ Net-_Q7-Pad3_ eSim_NPN
+R1 Net-_Q7-Pad3_ Net-_Q12-Pad3_ 1k
+R2 Net-_Q3-Pad3_ Net-_Q12-Pad3_ 50k
+R3 Net-_Q8-Pad3_ Net-_Q12-Pad3_ 1k
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad1_ Net-_Q12-Pad3_ eSim_NPN
+Q13 Net-_Q13-Pad1_ Net-_Q12-Pad1_ Net-_Q13-Pad3_ eSim_NPN
+R4 Net-_Q13-Pad3_ Net-_Q12-Pad3_ 5k
+R11 Net-_Q10-Pad1_ Net-_Q12-Pad1_ 39k
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q11 Net-_C1-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_PNP
+Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R8 Net-_C1-Pad1_ Net-_Q14-Pad2_ 4.5k
+R7 Net-_Q14-Pad3_ Net-_Q14-Pad2_ 7.5k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p
+Q16 Net-_Q14-Pad3_ Net-_C1-Pad2_ Net-_Q15-Pad2_ eSim_NPN
+Q15 Net-_Q14-Pad3_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R5 Net-_Q15-Pad2_ Net-_Q12-Pad3_ 50k
+R6 Net-_Q15-Pad3_ Net-_Q12-Pad3_ 50
+Q17 Net-_C1-Pad2_ Net-_Q15-Pad3_ Net-_Q12-Pad3_ eSim_NPN
+Q18 Net-_Q10-Pad3_ Net-_C1-Pad1_ Net-_Q18-Pad3_ eSim_NPN
+Q20 Net-_C1-Pad1_ Net-_Q18-Pad3_ Net-_Q20-Pad3_ eSim_NPN
+R9 Net-_Q18-Pad3_ Net-_Q20-Pad3_ 25
+R10 Net-_Q20-Pad3_ Net-_Q19-Pad3_ 50
+Q19 Net-_Q12-Pad3_ Net-_Q14-Pad3_ Net-_Q19-Pad3_ eSim_PNP
+U1 Net-_Q7-Pad3_ Net-_Q2-Pad2_ Net-_Q1-Pad2_ Net-_Q12-Pad3_ Net-_Q8-Pad3_ Net-_Q20-Pad3_ Net-_Q10-Pad3_ ? PORT
+
+.end
diff --git a/library/SubcircuitLibrary/ref5010/lm_741.cir.out b/library/SubcircuitLibrary/ref5010/lm_741.cir.out
new file mode 100644
index 00000000..0184209e
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741.cir.out
@@ -0,0 +1,46 @@
+* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir
+
+.include npn_1.lib
+.include pnp_1.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1
+q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1
+q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1
+q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1
+q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1
+q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1
+r1 net-_q7-pad3_ net-_q12-pad3_ 1k
+r2 net-_q3-pad3_ net-_q12-pad3_ 50k
+r3 net-_q8-pad3_ net-_q12-pad3_ 1k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1
+q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1
+r4 net-_q13-pad3_ net-_q12-pad3_ 5k
+r11 net-_q10-pad1_ net-_q12-pad1_ 39k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1
+r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k
+r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1
+q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1
+r5 net-_q15-pad2_ net-_q12-pad3_ 50k
+r6 net-_q15-pad3_ net-_q12-pad3_ 50
+q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1
+q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1
+q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1
+r9 net-_q18-pad3_ net-_q20-pad3_ 25
+r10 net-_q20-pad3_ net-_q19-pad3_ 50
+q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1
+* u1 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ? port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/ref5010/lm_741.pro b/library/SubcircuitLibrary/ref5010/lm_741.pro
new file mode 100644
index 00000000..aa33a9cb
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741.pro
@@ -0,0 +1,44 @@
+update=Fri Jun 7 21:53:51 2019
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=power
+LibName2=eSim_Analog
+LibName3=eSim_Devices
+LibName4=eSim_Digital
+LibName5=eSim_Hybrid
+LibName6=eSim_Miscellaneous
+LibName7=eSim_Plot
+LibName8=eSim_Power
+LibName9=eSim_User
+LibName10=eSim_Sources
+LibName11=eSim_Subckt
diff --git a/library/SubcircuitLibrary/ref5010/lm_741.sch b/library/SubcircuitLibrary/ref5010/lm_741.sch
new file mode 100644
index 00000000..6a74cf22
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741.sch
@@ -0,0 +1,697 @@
+EESchema Schematic File Version 2
+LIBS:power
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Plot
+LIBS:eSim_Power
+LIBS:eSim_PSpice
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:lm_741-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_NPN Q1
+U 1 1 5CE90A7B
+P 2650 2700
+F 0 "Q1" H 2550 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 2600 2850 50 0000 R CNN
+F 2 "" H 2850 2800 29 0000 C CNN
+F 3 "" H 2650 2700 60 0000 C CNN
+ 1 2650 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 5CE90A7C
+P 4300 2700
+F 0 "Q2" H 4200 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 2850 50 0000 R CNN
+F 2 "" H 4500 2800 29 0000 C CNN
+F 3 "" H 4300 2700 60 0000 C CNN
+ 1 4300 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 5CE90A7D
+P 3000 3200
+F 0 "Q6" H 2900 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 2950 3350 50 0000 R CNN
+F 2 "" H 3200 3300 29 0000 C CNN
+F 3 "" H 3000 3200 60 0000 C CNN
+ 1 3000 3200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 5CE90A7E
+P 3950 3200
+F 0 "Q5" H 3850 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 3900 3350 50 0000 R CNN
+F 2 "" H 4150 3300 29 0000 C CNN
+F 3 "" H 3950 3200 60 0000 C CNN
+ 1 3950 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 5CE90A7F
+P 3300 4000
+F 0 "Q3" H 3200 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 3250 4150 50 0000 R CNN
+F 2 "" H 3500 4100 29 0000 C CNN
+F 3 "" H 3300 4000 60 0000 C CNN
+ 1 3300 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 5CE90A80
+P 3850 2000
+F 0 "Q4" H 3750 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 3800 2150 50 0000 R CNN
+F 2 "" H 4050 2100 29 0000 C CNN
+F 3 "" H 3850 2000 60 0000 C CNN
+ 1 3850 2000
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 5CE90A81
+P 5200 2000
+F 0 "Q9" H 5100 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 5150 2150 50 0000 R CNN
+F 2 "" H 5400 2100 29 0000 C CNN
+F 3 "" H 5200 2000 60 0000 C CNN
+ 1 5200 2000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 5CE90A82
+P 3950 4600
+F 0 "Q8" H 3850 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 3900 4750 50 0000 R CNN
+F 2 "" H 4150 4700 29 0000 C CNN
+F 3 "" H 3950 4600 60 0000 C CNN
+ 1 3950 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 5CE90A83
+P 3000 4600
+F 0 "Q7" H 2900 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 2950 4750 50 0000 R CNN
+F 2 "" H 3200 4700 29 0000 C CNN
+F 3 "" H 3000 4600 60 0000 C CNN
+ 1 3000 4600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R1
+U 1 1 5CE90A84
+P 2850 5200
+F 0 "R1" H 2900 5330 50 0000 C CNN
+F 1 "1k" H 2900 5250 50 0000 C CNN
+F 2 "" H 2900 5180 30 0000 C CNN
+F 3 "" V 2900 5250 30 0000 C CNN
+ 1 2850 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R2
+U 1 1 5CE90A85
+P 3550 5200
+F 0 "R2" H 3600 5330 50 0000 C CNN
+F 1 "50k" H 3600 5250 50 0000 C CNN
+F 2 "" H 3600 5180 30 0000 C CNN
+F 3 "" V 3600 5250 30 0000 C CNN
+ 1 3550 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R3
+U 1 1 5CE90A86
+P 4000 5200
+F 0 "R3" H 4050 5330 50 0000 C CNN
+F 1 "1k" H 4050 5250 50 0000 C CNN
+F 2 "" H 4050 5180 30 0000 C CNN
+F 3 "" V 4050 5250 30 0000 C CNN
+ 1 4000 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 5CE90A87
+P 6300 4700
+F 0 "Q12" H 6200 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 6250 4850 50 0000 R CNN
+F 2 "" H 6500 4800 29 0000 C CNN
+F 3 "" H 6300 4700 60 0000 C CNN
+ 1 6300 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 5CE90A88
+P 5400 4700
+F 0 "Q13" H 5300 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 5350 4850 50 0000 R CNN
+F 2 "" H 5600 4800 29 0000 C CNN
+F 3 "" H 5400 4700 60 0000 C CNN
+ 1 5400 4700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R4
+U 1 1 5CE90A89
+P 5250 5200
+F 0 "R4" H 5300 5330 50 0000 C CNN
+F 1 "5k" H 5300 5250 50 0000 C CNN
+F 2 "" H 5300 5180 30 0000 C CNN
+F 3 "" V 5300 5250 30 0000 C CNN
+ 1 5250 5200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R11
+U 1 1 5CE90A8A
+P 6350 2750
+F 0 "R11" H 6400 2880 50 0000 C CNN
+F 1 "39k" H 6400 2800 50 0000 C CNN
+F 2 "" H 6400 2730 30 0000 C CNN
+F 3 "" V 6400 2800 30 0000 C CNN
+ 1 6350 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q10
+U 1 1 5CE90A8B
+P 6500 1950
+F 0 "Q10" H 6400 2000 50 0000 R CNN
+F 1 "eSim_PNP" H 6450 2100 50 0000 R CNN
+F 2 "" H 6700 2050 29 0000 C CNN
+F 3 "" H 6500 1950 60 0000 C CNN
+ 1 6500 1950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q11
+U 1 1 5CE90A8C
+P 7500 1950
+F 0 "Q11" H 7400 2000 50 0000 R CNN
+F 1 "eSim_PNP" H 7450 2100 50 0000 R CNN
+F 2 "" H 7700 2050 29 0000 C CNN
+F 3 "" H 7500 1950 60 0000 C CNN
+ 1 7500 1950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 5CE90A8D
+P 7500 3050
+F 0 "Q14" H 7400 3100 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 3200 50 0000 R CNN
+F 2 "" H 7700 3150 29 0000 C CNN
+F 3 "" H 7500 3050 60 0000 C CNN
+ 1 7500 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R8
+U 1 1 5CE90A8E
+P 7300 2600
+F 0 "R8" H 7350 2730 50 0000 C CNN
+F 1 "4.5k" H 7350 2650 50 0000 C CNN
+F 2 "" H 7350 2580 30 0000 C CNN
+F 3 "" V 7350 2650 30 0000 C CNN
+ 1 7300 2600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_R R7
+U 1 1 5CE90A8F
+P 7300 3400
+F 0 "R7" H 7350 3530 50 0000 C CNN
+F 1 "7.5k" H 7350 3450 50 0000 C CNN
+F 2 "" H 7350 3380 30 0000 C CNN
+F 3 "" V 7350 3450 30 0000 C CNN
+ 1 7300 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5CE90A90
+P 6600 3200
+F 0 "C1" H 6625 3300 50 0000 L CNN
+F 1 "30p" H 6625 3100 50 0000 L CNN
+F 2 "" H 6638 3050 30 0000 C CNN
+F 3 "" H 6600 3200 60 0000 C CNN
+ 1 6600 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 5CE90A91
+P 7050 3950
+F 0 "Q16" H 6950 4000 50 0000 R CNN
+F 1 "eSim_NPN" H 7000 4100 50 0000 R CNN
+F 2 "" H 7250 4050 29 0000 C CNN
+F 3 "" H 7050 3950 60 0000 C CNN
+ 1 7050 3950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 5CE90A92
+P 7500 4300
+F 0 "Q15" H 7400 4350 50 0000 R CNN
+F 1 "eSim_NPN" H 7450 4450 50 0000 R CNN
+F 2 "" H 7700 4400 29 0000 C CNN
+F 3 "" H 7500 4300 60 0000 C CNN
+ 1 7500 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R5
+U 1 1 5CE90A93
+P 7100 5050
+F 0 "R5" H 7150 5180 50 0000 C CNN
+F 1 "50k" H 7150 5100 50 0000 C CNN
+F 2 "" H 7150 5030 30 0000 C CNN
+F 3 "" V 7150 5100 30 0000 C CNN
+ 1 7100 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R6
+U 1 1 5CE90A94
+P 7550 5050
+F 0 "R6" H 7600 5180 50 0000 C CNN
+F 1 "50" H 7600 5100 50 0000 C CNN
+F 2 "" H 7600 5030 30 0000 C CNN
+F 3 "" V 7600 5100 30 0000 C CNN
+ 1 7550 5050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 5CE90A95
+P 6800 4700
+F 0 "Q17" H 6700 4750 50 0000 R CNN
+F 1 "eSim_NPN" H 6750 4850 50 0000 R CNN
+F 2 "" H 7000 4800 29 0000 C CNN
+F 3 "" H 6800 4700 60 0000 C CNN
+ 1 6800 4700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 5CE90A96
+P 8800 2300
+F 0 "Q18" H 8700 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 8750 2450 50 0000 R CNN
+F 2 "" H 9000 2400 29 0000 C CNN
+F 3 "" H 8800 2300 60 0000 C CNN
+ 1 8800 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 5CE90A97
+P 8400 2750
+F 0 "Q20" H 8300 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 2900 50 0000 R CNN
+F 2 "" H 8600 2850 29 0000 C CNN
+F 3 "" H 8400 2750 60 0000 C CNN
+ 1 8400 2750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R9
+U 1 1 5CE90A98
+P 8850 3000
+F 0 "R9" H 8900 3130 50 0000 C CNN
+F 1 "25" H 8900 3050 50 0000 C CNN
+F 2 "" H 8900 2980 30 0000 C CNN
+F 3 "" V 8900 3050 30 0000 C CNN
+ 1 8850 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_R R10
+U 1 1 5CE90A99
+P 8850 3750
+F 0 "R10" H 8900 3880 50 0000 C CNN
+F 1 "50" H 8900 3800 50 0000 C CNN
+F 2 "" H 8900 3730 30 0000 C CNN
+F 3 "" V 8900 3800 30 0000 C CNN
+ 1 8850 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 5CE90A9A
+P 8800 4600
+F 0 "Q19" H 8700 4650 50 0000 R CNN
+F 1 "eSim_PNP" H 8750 4750 50 0000 R CNN
+F 2 "" H 9000 4700 29 0000 C CNN
+F 3 "" H 8800 4600 60 0000 C CNN
+ 1 8800 4600
+ 1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5CE90A9B
+P 1900 1200
+F 0 "U1" H 1950 1300 30 0000 C CNN
+F 1 "PORT" H 1900 1200 30 0000 C CNN
+F 2 "" H 1900 1200 60 0000 C CNN
+F 3 "" H 1900 1200 60 0000 C CNN
+ 3 1900 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5CE90A9C
+P 4500 1050
+F 0 "U1" H 4550 1150 30 0000 C CNN
+F 1 "PORT" H 4500 1050 30 0000 C CNN
+F 2 "" H 4500 1050 60 0000 C CNN
+F 3 "" H 4500 1050 60 0000 C CNN
+ 2 4500 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 5CE90A9D
+P 9750 1650
+F 0 "U1" H 9800 1750 30 0000 C CNN
+F 1 "PORT" H 9750 1650 30 0000 C CNN
+F 2 "" H 9750 1650 60 0000 C CNN
+F 3 "" H 9750 1650 60 0000 C CNN
+ 7 9750 1650
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 5CE90A9E
+P 9750 3500
+F 0 "U1" H 9800 3600 30 0000 C CNN
+F 1 "PORT" H 9750 3500 30 0000 C CNN
+F 2 "" H 9750 3500 60 0000 C CNN
+F 3 "" H 9750 3500 60 0000 C CNN
+ 6 9750 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 5CE90A9F
+P 9700 5550
+F 0 "U1" H 9750 5650 30 0000 C CNN
+F 1 "PORT" H 9700 5550 30 0000 C CNN
+F 2 "" H 9700 5550 60 0000 C CNN
+F 3 "" H 9700 5550 60 0000 C CNN
+ 4 9700 5550
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3200 3200 3750 3200
+Wire Wire Line
+ 2750 2900 2750 2950
+Wire Wire Line
+ 2750 2950 2900 2950
+Wire Wire Line
+ 2900 2950 2900 3000
+Wire Wire Line
+ 4200 2900 4200 2950
+Wire Wire Line
+ 4200 2950 4050 2950
+Wire Wire Line
+ 4050 2950 4050 3000
+Wire Wire Line
+ 2900 3400 2900 4400
+Wire Wire Line
+ 2900 4000 3100 4000
+Wire Wire Line
+ 4200 2000 4200 2500
+Wire Wire Line
+ 4200 2350 2750 2350
+Wire Wire Line
+ 2750 2350 2750 2500
+Wire Wire Line
+ 5000 2000 4050 2000
+Connection ~ 4200 2350
+Connection ~ 4200 2000
+Wire Wire Line
+ 3750 2200 3750 2350
+Connection ~ 3750 2350
+Wire Wire Line
+ 3750 1800 3750 1650
+Wire Wire Line
+ 3400 1650 7600 1650
+Wire Wire Line
+ 3400 1650 3400 3800
+Wire Wire Line
+ 5300 1650 5300 1800
+Connection ~ 3750 1650
+Wire Wire Line
+ 5300 2200 5300 4500
+Wire Wire Line
+ 5300 3500 3650 3500
+Wire Wire Line
+ 3650 3500 3650 3200
+Connection ~ 3650 3200
+Connection ~ 2900 4000
+Wire Wire Line
+ 4050 4400 4050 3400
+Wire Wire Line
+ 3400 4200 3400 4600
+Wire Wire Line
+ 3200 4600 3750 4600
+Connection ~ 3400 4600
+Wire Wire Line
+ 4050 5100 4050 4800
+Wire Wire Line
+ 3600 5100 3600 4600
+Connection ~ 3600 4600
+Wire Wire Line
+ 2900 5100 2900 4800
+Wire Wire Line
+ 2900 5400 2900 5550
+Wire Wire Line
+ 2900 5550 9450 5550
+Wire Wire Line
+ 4050 5550 4050 5400
+Wire Wire Line
+ 3600 5400 3600 5550
+Connection ~ 3600 5550
+Wire Wire Line
+ 6100 4700 5600 4700
+Wire Wire Line
+ 6400 2950 6400 4500
+Wire Wire Line
+ 6400 4250 5900 4250
+Wire Wire Line
+ 5900 4250 5900 4700
+Connection ~ 5900 4700
+Wire Wire Line
+ 5300 5100 5300 4900
+Wire Wire Line
+ 5300 5550 5300 5400
+Connection ~ 4050 5550
+Wire Wire Line
+ 6400 5550 6400 4900
+Connection ~ 5300 5550
+Connection ~ 5300 3500
+Wire Wire Line
+ 6400 1650 6400 1750
+Connection ~ 5300 1650
+Wire Wire Line
+ 6400 2150 6400 2650
+Connection ~ 6400 4250
+Wire Wire Line
+ 6700 1950 7300 1950
+Wire Wire Line
+ 7000 1950 7000 2250
+Wire Wire Line
+ 7000 2250 6400 2250
+Connection ~ 6400 2250
+Wire Wire Line
+ 7600 1650 7600 1750
+Connection ~ 6400 1650
+Connection ~ 7000 1950
+Wire Wire Line
+ 7600 3250 7600 4100
+Wire Wire Line
+ 7600 3450 7400 3450
+Wire Wire Line
+ 6900 3450 7100 3450
+Wire Wire Line
+ 6900 2650 6900 3450
+Wire Wire Line
+ 6900 3050 7300 3050
+Wire Wire Line
+ 7600 2150 7600 2850
+Wire Wire Line
+ 7600 2650 7400 2650
+Wire Wire Line
+ 7100 2650 6900 2650
+Connection ~ 6900 3050
+Connection ~ 7600 2650
+Wire Wire Line
+ 7300 4300 7150 4300
+Wire Wire Line
+ 7150 4150 7150 4950
+Connection ~ 7600 3450
+Wire Wire Line
+ 7600 3700 7150 3700
+Wire Wire Line
+ 7150 3700 7150 3750
+Connection ~ 7600 3700
+Wire Wire Line
+ 6600 3050 6600 2450
+Wire Wire Line
+ 6600 2450 7600 2450
+Connection ~ 7600 2450
+Wire Wire Line
+ 6600 3350 6600 3950
+Wire Wire Line
+ 4050 3950 6850 3950
+Wire Wire Line
+ 6700 3950 6700 4500
+Connection ~ 6700 3950
+Wire Wire Line
+ 6700 4900 6700 5550
+Connection ~ 6400 5550
+Connection ~ 7150 4300
+Wire Wire Line
+ 7600 4950 7600 4500
+Wire Wire Line
+ 7000 4700 7600 4700
+Connection ~ 7600 4700
+Wire Wire Line
+ 7600 5550 7600 5250
+Connection ~ 6700 5550
+Wire Wire Line
+ 7150 5250 7150 5550
+Connection ~ 7150 5550
+Wire Wire Line
+ 7600 2300 8600 2300
+Wire Wire Line
+ 8300 2300 8300 2550
+Connection ~ 8300 2300
+Connection ~ 7600 2300
+Wire Wire Line
+ 8900 2100 8900 1650
+Wire Wire Line
+ 7550 1650 9500 1650
+Connection ~ 7550 1650
+Connection ~ 8900 1650
+Wire Wire Line
+ 8900 2500 8900 2900
+Wire Wire Line
+ 8900 2750 8600 2750
+Connection ~ 8900 2750
+Wire Wire Line
+ 8300 2950 8300 3350
+Wire Wire Line
+ 8300 3350 8900 3350
+Wire Wire Line
+ 8900 3200 8900 3650
+Wire Wire Line
+ 8900 4400 8900 3950
+Connection ~ 8900 3350
+Wire Wire Line
+ 8900 3500 9500 3500
+Connection ~ 8900 3500
+Wire Wire Line
+ 8900 5550 8900 4800
+Connection ~ 7600 5550
+Connection ~ 8900 5550
+Wire Wire Line
+ 8600 4600 8100 4600
+Wire Wire Line
+ 8100 4600 8100 3850
+Wire Wire Line
+ 8100 3850 7600 3850
+Connection ~ 7600 3850
+Connection ~ 4050 3950
+Connection ~ 6600 3950
+Wire Wire Line
+ 4500 2700 4750 2700
+Wire Wire Line
+ 4750 2700 4750 1050
+Wire Wire Line
+ 2450 2700 2150 2700
+Wire Wire Line
+ 2150 2700 2150 1200
+$Comp
+L PORT U1
+U 5 1 5CE90AA0
+P 1850 4850
+F 0 "U1" H 1900 4950 30 0000 C CNN
+F 1 "PORT" H 1850 4850 30 0000 C CNN
+F 2 "" H 1850 4850 60 0000 C CNN
+F 3 "" H 1850 4850 60 0000 C CNN
+ 5 1850 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 5CE90AA1
+P 1850 5100
+F 0 "U1" H 1900 5200 30 0000 C CNN
+F 1 "PORT" H 1850 5100 30 0000 C CNN
+F 2 "" H 1850 5100 60 0000 C CNN
+F 3 "" H 1850 5100 60 0000 C CNN
+ 1 1850 5100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2100 5100 2700 5100
+Wire Wire Line
+ 2700 5100 2700 5050
+Wire Wire Line
+ 2700 5050 2900 5050
+Connection ~ 2900 5050
+Wire Wire Line
+ 2100 4850 2550 4850
+Wire Wire Line
+ 2550 4850 2550 4900
+Wire Wire Line
+ 2550 4900 4050 4900
+Connection ~ 4050 4900
+$Comp
+L PORT U1
+U 8 1 5CE9368F
+P 9600 6050
+F 0 "U1" H 9650 6150 30 0000 C CNN
+F 1 "PORT" H 9600 6050 30 0000 C CNN
+F 2 "" H 9600 6050 60 0000 C CNN
+F 3 "" H 9600 6050 60 0000 C CNN
+ 8 9600 6050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 9350 6050 9100 6050
+NoConn ~ 9100 6050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/ref5010/lm_741.sub b/library/SubcircuitLibrary/ref5010/lm_741.sub
new file mode 100644
index 00000000..3842c902
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741.sub
@@ -0,0 +1,40 @@
+* Subcircuit lm_741
+.subckt lm_741 net-_q7-pad3_ net-_q2-pad2_ net-_q1-pad2_ net-_q12-pad3_ net-_q8-pad3_ net-_q20-pad3_ net-_q10-pad3_ ?
+* c:\users\malli\esim\src\subcircuitlibrary\lm_741\lm_741.cir
+.include npn_1.lib
+.include pnp_1.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ npn_1
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_q2-pad3_ npn_1
+q6 net-_q3-pad2_ net-_q13-pad1_ net-_q1-pad3_ pnp_1
+q5 net-_c1-pad2_ net-_q13-pad1_ net-_q2-pad3_ pnp_1
+q3 net-_q10-pad3_ net-_q3-pad2_ net-_q3-pad3_ npn_1
+q4 net-_q1-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q9 net-_q13-pad1_ net-_q1-pad1_ net-_q10-pad3_ pnp_1
+q8 net-_c1-pad2_ net-_q3-pad3_ net-_q8-pad3_ npn_1
+q7 net-_q3-pad2_ net-_q3-pad3_ net-_q7-pad3_ npn_1
+r1 net-_q7-pad3_ net-_q12-pad3_ 1k
+r2 net-_q3-pad3_ net-_q12-pad3_ 50k
+r3 net-_q8-pad3_ net-_q12-pad3_ 1k
+q12 net-_q12-pad1_ net-_q12-pad1_ net-_q12-pad3_ npn_1
+q13 net-_q13-pad1_ net-_q12-pad1_ net-_q13-pad3_ npn_1
+r4 net-_q13-pad3_ net-_q12-pad3_ 5k
+r11 net-_q10-pad1_ net-_q12-pad1_ 39k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q11 net-_c1-pad1_ net-_q10-pad1_ net-_q10-pad3_ pnp_1
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q14-pad3_ npn_1
+r8 net-_c1-pad1_ net-_q14-pad2_ 4.5k
+r7 net-_q14-pad3_ net-_q14-pad2_ 7.5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+q16 net-_q14-pad3_ net-_c1-pad2_ net-_q15-pad2_ npn_1
+q15 net-_q14-pad3_ net-_q15-pad2_ net-_q15-pad3_ npn_1
+r5 net-_q15-pad2_ net-_q12-pad3_ 50k
+r6 net-_q15-pad3_ net-_q12-pad3_ 50
+q17 net-_c1-pad2_ net-_q15-pad3_ net-_q12-pad3_ npn_1
+q18 net-_q10-pad3_ net-_c1-pad1_ net-_q18-pad3_ npn_1
+q20 net-_c1-pad1_ net-_q18-pad3_ net-_q20-pad3_ npn_1
+r9 net-_q18-pad3_ net-_q20-pad3_ 25
+r10 net-_q20-pad3_ net-_q19-pad3_ 50
+q19 net-_q12-pad3_ net-_q14-pad3_ net-_q19-pad3_ pnp_1
+* Control Statements
+
+.ends lm_741 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/lm_741_Previous_Values.xml b/library/SubcircuitLibrary/ref5010/lm_741_Previous_Values.xml
new file mode 100644
index 00000000..b61322bb
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/lm_741_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q1><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q1><q20><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q20><q3><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q3><q2><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q2><q5><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q5><q4><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q4><q7><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q7><q6><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q6><q9><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q9><q8><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q8><q15><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q15><q14><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q14><q17><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q17><q16><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q16><q11><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q11><q10><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q10><q13><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q13><q12><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q12><q19><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/pnp_1.lib</field></q19><q18><field>C:/Users/malli/eSim/src/deviceModelLibrary/Transistor/npn_1.lib</field></q18></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/npn_1.lib b/library/SubcircuitLibrary/ref5010/npn_1.lib
new file mode 100644
index 00000000..4a863e3e
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/npn_1.lib
@@ -0,0 +1,29 @@
+.model npn_1 NPN(
++ Vtf=1.7
++ Cjc=0.5p
++ Nc=2
++ Tr=46.91n
++ Ne=1.307
++ Cje=0.5p
++ Isc=0
++ Xtb=1.5
++ Rb=500
++ Rc=1
++ Tf=411.1p
++ Xti=3
++ Ikr=0
++ Bf=125
++ Fc=.5
++ Ise=14.34f
++ Br=6.092
++ Ikf=.2847
++ Mje=.377
++ Mjc=.3416
++ Vaf=74.03
++ Vjc=.75
++ Vje=.75
++ Xtf=3
++ Itf=.6
++ Is=14.34f
++ Eg=1.11
+) \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/pnp_1.lib b/library/SubcircuitLibrary/ref5010/pnp_1.lib
new file mode 100644
index 00000000..c486429f
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/pnp_1.lib
@@ -0,0 +1,29 @@
+.model pnp_1 PNP(
++ Vtf=1.7
++ Cjc=1.5p
++ Nc=2
++ Tr=46.91n
++ Ne=1.307
++ Cje=0.3p
++ Isc=0
++ Xtb=1.5
++ Rb=250
++ Rc=1
++ Tf=411.1p
++ Xti=3
++ Ikr=0
++ Bf=25
++ Fc=.5
++ Ise=14.34f
++ Br=6.092
++ Ikf=.2847
++ Mje=.377
++ Mjc=.3416
++ Vaf=74.03
++ Vjc=.75
++ Vje=.75
++ Xtf=3
++ Itf=.6
++ Is=14.34f
++ Eg=1.11
+) \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/ref5010_2-cache.lib b/library/SubcircuitLibrary/ref5010/ref5010_2-cache.lib
new file mode 100644
index 00000000..fb82f09e
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2-cache.lib
@@ -0,0 +1,134 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# DC
+#
+DEF DC v 0 40 Y Y 1 F N
+F0 "v" -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
+X + 1 0 450 300 D 50 50 1 1 w
+X - 2 0 -450 300 U 50 50 1 1 w
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "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
+#
+# 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_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# lm_741
+#
+DEF lm_741 X 0 40 Y Y 1 F N
+F0 "X" -200 0 60 H V C CNN
+F1 "lm_741" -100 -250 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N
+X off_null 1 -50 400 200 D 50 38 1 1 I
+X inv 2 -550 150 200 R 50 38 1 1 I
+X non_inv 3 -550 -100 200 R 50 38 1 1 I
+X v_neg 4 -150 -450 200 U 50 38 1 1 I
+X off_null 5 50 350 200 D 50 38 1 1 I
+X out 6 550 0 200 L 50 38 1 1 O
+X v_pos 7 -150 450 200 D 50 38 1 1 I
+X strobe 8 50 -350 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/ref5010/ref5010_2.cir b/library/SubcircuitLibrary/ref5010/ref5010_2.cir
new file mode 100644
index 00000000..2cefe237
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2.cir
@@ -0,0 +1,21 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\ref5010_2\ref5010_2.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 02/09/25 17:52:34
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X1 ? Net-_R1-Pad2_ Net-_R3-Pad2_ Net-_X1-Pad4_ ? Net-_R2-Pad2_ Net-_X1-Pad7_ ? lm_741
+R2 Net-_R1-Pad2_ Net-_R2-Pad2_ 1k
+R1 Net-_R1-Pad1_ Net-_R1-Pad2_ 1k
+R3 Net-_R3-Pad1_ Net-_R3-Pad2_ 10k
+R4 Net-_R3-Pad2_ Net-_R4-Pad2_ 1k
+U1 Net-_I1-Pad2_ ? Net-_R2-Pad2_ ? ? Net-_R4-Pad2_ Net-_I1-Pad1_ Net-_R1-Pad1_ PORT
+v1 Net-_R3-Pad1_ Net-_R1-Pad1_ 1.2v
+I1 Net-_I1-Pad1_ Net-_I1-Pad2_ 0.000001
+R5 Net-_I1-Pad1_ Net-_R1-Pad1_ 60k
+v2 Net-_X1-Pad7_ GND 12v
+v3 Net-_X1-Pad4_ GND 12v
+
+.end
diff --git a/library/SubcircuitLibrary/ref5010/ref5010_2.cir.out b/library/SubcircuitLibrary/ref5010/ref5010_2.cir.out
new file mode 100644
index 00000000..978da68f
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2.cir.out
@@ -0,0 +1,23 @@
+* d:\fossee\esim\library\subcircuitlibrary\ref5010_2\ref5010_2.cir
+
+.include lm_741.sub
+x1 ? net-_r1-pad2_ net-_r3-pad2_ net-_x1-pad4_ ? net-_r2-pad2_ net-_x1-pad7_ ? lm_741
+r2 net-_r1-pad2_ net-_r2-pad2_ 1k
+r1 net-_r1-pad1_ net-_r1-pad2_ 1k
+r3 net-_r3-pad1_ net-_r3-pad2_ 10k
+r4 net-_r3-pad2_ net-_r4-pad2_ 1k
+* u1 net-_i1-pad2_ ? net-_r2-pad2_ ? ? net-_r4-pad2_ net-_i1-pad1_ net-_r1-pad1_ port
+v1 net-_r3-pad1_ net-_r1-pad1_ 1.2v
+i1 net-_i1-pad1_ net-_i1-pad2_ 0.000001
+r5 net-_i1-pad1_ net-_r1-pad1_ 60k
+v2 net-_x1-pad7_ gnd 12v
+v3 net-_x1-pad4_ gnd 12v
+.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/ref5010/ref5010_2.pro b/library/SubcircuitLibrary/ref5010/ref5010_2.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2.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/ref5010/ref5010_2.sch b/library/SubcircuitLibrary/ref5010/ref5010_2.sch
new file mode 100644
index 00000000..1f83d143
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2.sch
@@ -0,0 +1,342 @@
+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:ref5010_2-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L lm_741 X1
+U 1 1 67A89754
+P 5850 3550
+F 0 "X1" H 5650 3550 60 0000 C CNN
+F 1 "lm_741" H 5750 3300 60 0000 C CNN
+F 2 "" H 5850 3550 60 0000 C CNN
+F 3 "" H 5850 3550 60 0000 C CNN
+ 1 5850 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 67A897C9
+P 6400 2150
+F 0 "R2" H 6450 2280 50 0000 C CNN
+F 1 "1k" H 6450 2100 50 0000 C CNN
+F 2 "" H 6450 2130 30 0000 C CNN
+F 3 "" V 6450 2200 30 0000 C CNN
+ 1 6400 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 67A8985A
+P 4150 2150
+F 0 "R1" H 4200 2280 50 0000 C CNN
+F 1 "1k" H 4200 2100 50 0000 C CNN
+F 2 "" H 4200 2130 30 0000 C CNN
+F 3 "" V 4200 2200 30 0000 C CNN
+ 1 4150 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 67A898C0
+P 4100 3700
+F 0 "R3" H 4150 3830 50 0000 C CNN
+F 1 "10k" H 4150 3650 50 0000 C CNN
+F 2 "" H 4150 3680 30 0000 C CNN
+F 3 "" V 4150 3750 30 0000 C CNN
+ 1 4100 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 67A89960
+P 5400 4550
+F 0 "R4" H 5450 4680 50 0000 C CNN
+F 1 "1k" H 5450 4500 50 0000 C CNN
+F 2 "" H 5450 4530 30 0000 C CNN
+F 3 "" V 5450 4600 30 0000 C CNN
+ 1 5400 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 67A899B4
+P 3950 1250
+F 0 "U1" H 4000 1350 30 0000 C CNN
+F 1 "PORT" H 3950 1250 30 0000 C CNN
+F 2 "" H 3950 1250 60 0000 C CNN
+F 3 "" H 3950 1250 60 0000 C CNN
+ 1 3950 1250
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 3 1 67A89A85
+P 7800 3550
+F 0 "U1" H 7850 3650 30 0000 C CNN
+F 1 "PORT" H 7800 3550 30 0000 C CNN
+F 2 "" H 7800 3550 60 0000 C CNN
+F 3 "" H 7800 3550 60 0000 C CNN
+ 3 7800 3550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 67A89B78
+P 4400 5700
+F 0 "U1" H 4450 5800 30 0000 C CNN
+F 1 "PORT" H 4400 5700 30 0000 C CNN
+F 2 "" H 4400 5700 60 0000 C CNN
+F 3 "" H 4400 5700 60 0000 C CNN
+ 8 4400 5700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L DC v1
+U 1 1 67A89C54
+P 3800 4400
+F 0 "v1" H 3600 4500 60 0000 C CNN
+F 1 "1.2v" H 3600 4350 60 0000 C CNN
+F 2 "R1" H 3500 4400 60 0000 C CNN
+F 3 "" H 3800 4400 60 0000 C CNN
+ 1 3800 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I1
+U 1 1 67A89CB1
+P 2700 4250
+F 0 "I1" H 2500 4350 60 0000 C CNN
+F 1 "0.000001" H 2500 4200 60 0000 C CNN
+F 2 "R1" H 2400 4250 60 0000 C CNN
+F 3 "" H 2700 4250 60 0000 C CNN
+ 1 2700 4250
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 67A89CF8
+P 2650 5550
+F 0 "R5" H 2700 5680 50 0000 C CNN
+F 1 "60k" H 2700 5500 50 0000 C CNN
+F 2 "" H 2700 5530 30 0000 C CNN
+F 3 "" V 2700 5600 30 0000 C CNN
+ 1 2650 5550
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 67A89ED2
+P 1750 5050
+F 0 "U1" H 1800 5150 30 0000 C CNN
+F 1 "PORT" H 1750 5050 30 0000 C CNN
+F 2 "" H 1750 5050 60 0000 C CNN
+F 3 "" H 1750 5050 60 0000 C CNN
+ 7 1750 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2700 5450 2700 4700
+Wire Wire Line
+ 2700 3800 2700 1500
+Wire Wire Line
+ 2700 1500 3950 1500
+Wire Wire Line
+ 5300 3650 4300 3650
+Wire Wire Line
+ 4000 3650 3800 3650
+Wire Wire Line
+ 3800 3650 3800 3950
+Wire Wire Line
+ 5250 3400 5250 2100
+Wire Wire Line
+ 4350 2100 6300 2100
+Wire Wire Line
+ 5250 3400 5300 3400
+Connection ~ 5250 2100
+Wire Wire Line
+ 4050 2100 3300 2100
+Wire Wire Line
+ 3300 2100 3300 5750
+Wire Wire Line
+ 3300 5450 4400 5450
+Wire Wire Line
+ 3800 4850 3800 5450
+Connection ~ 3800 5450
+Wire Wire Line
+ 3300 5750 2700 5750
+Connection ~ 3300 5450
+Wire Wire Line
+ 6400 3550 7550 3550
+Wire Wire Line
+ 6600 2100 7100 2100
+Wire Wire Line
+ 7100 2100 7100 3550
+Connection ~ 7100 3550
+Wire Wire Line
+ 5200 3650 5200 4500
+Wire Wire Line
+ 5200 4500 5300 4500
+Connection ~ 5200 3650
+$Comp
+L PORT U1
+U 6 1 67A8A376
+P 7850 4450
+F 0 "U1" H 7900 4550 30 0000 C CNN
+F 1 "PORT" H 7850 4450 30 0000 C CNN
+F 2 "" H 7850 4450 60 0000 C CNN
+F 3 "" H 7850 4450 60 0000 C CNN
+ 6 7850 4450
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 5600 4500 7600 4500
+Wire Wire Line
+ 7600 4500 7600 4450
+Wire Wire Line
+ 2000 5050 2700 5050
+Connection ~ 2700 5050
+$Comp
+L PORT U1
+U 2 1 67A8A81C
+P 8650 3100
+F 0 "U1" H 8700 3200 30 0000 C CNN
+F 1 "PORT" H 8650 3100 30 0000 C CNN
+F 2 "" H 8650 3100 60 0000 C CNN
+F 3 "" H 8650 3100 60 0000 C CNN
+ 2 8650 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 67A8A8A2
+P 8550 3700
+F 0 "U1" H 8600 3800 30 0000 C CNN
+F 1 "PORT" H 8550 3700 30 0000 C CNN
+F 2 "" H 8550 3700 60 0000 C CNN
+F 3 "" H 8550 3700 60 0000 C CNN
+ 4 8550 3700
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 67A8A8F7
+P 8850 4350
+F 0 "U1" H 8900 4450 30 0000 C CNN
+F 1 "PORT" H 8850 4350 30 0000 C CNN
+F 2 "" H 8850 4350 60 0000 C CNN
+F 3 "" H 8850 4350 60 0000 C CNN
+ 5 8850 4350
+ -1 0 0 1
+$EndComp
+NoConn ~ 8600 4350
+NoConn ~ 8300 3700
+NoConn ~ 8400 3100
+$Comp
+L DC v2
+U 1 1 67A89EB8
+P 6250 2700
+F 0 "v2" H 6050 2800 60 0000 C CNN
+F 1 "12v" H 6050 2650 60 0000 C CNN
+F 2 "R1" H 5950 2700 60 0000 C CNN
+F 3 "" H 6250 2700 60 0000 C CNN
+ 1 6250 2700
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 5700 3100 5700 2700
+Wire Wire Line
+ 5700 2700 5800 2700
+$Comp
+L DC v3
+U 1 1 67A89FC7
+P 6400 4100
+F 0 "v3" H 6200 4200 60 0000 C CNN
+F 1 "12v" H 6200 4050 60 0000 C CNN
+F 2 "R1" H 6100 4100 60 0000 C CNN
+F 3 "" H 6400 4100 60 0000 C CNN
+ 1 6400 4100
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 5700 4000 5700 4100
+Wire Wire Line
+ 5700 4100 5950 4100
+$Comp
+L GND #PWR01
+U 1 1 67A8A1D9
+P 6850 2700
+F 0 "#PWR01" H 6850 2450 50 0001 C CNN
+F 1 "GND" H 6850 2550 50 0000 C CNN
+F 2 "" H 6850 2700 50 0001 C CNN
+F 3 "" H 6850 2700 50 0001 C CNN
+ 1 6850 2700
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 6700 2700 6850 2700
+$Comp
+L GND #PWR02
+U 1 1 67A8A2FE
+P 7100 4100
+F 0 "#PWR02" H 7100 3850 50 0001 C CNN
+F 1 "GND" H 7100 3950 50 0000 C CNN
+F 2 "" H 7100 4100 50 0001 C CNN
+F 3 "" H 7100 4100 50 0001 C CNN
+ 1 7100 4100
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 6850 4100 7100 4100
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/ref5010/ref5010_2.sub b/library/SubcircuitLibrary/ref5010/ref5010_2.sub
new file mode 100644
index 00000000..bbb3d5c9
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2.sub
@@ -0,0 +1,17 @@
+* Subcircuit ref5010_2
+.subckt ref5010_2 net-_i1-pad2_ ? net-_r2-pad2_ ? ? net-_r4-pad2_ net-_i1-pad1_ net-_r1-pad1_
+* d:\fossee\esim\library\subcircuitlibrary\ref5010_2\ref5010_2.cir
+.include lm_741.sub
+x1 ? net-_r1-pad2_ net-_r3-pad2_ net-_x1-pad4_ ? net-_r2-pad2_ net-_x1-pad7_ ? lm_741
+r2 net-_r1-pad2_ net-_r2-pad2_ 1k
+r1 net-_r1-pad1_ net-_r1-pad2_ 1k
+r3 net-_r3-pad1_ net-_r3-pad2_ 10k
+r4 net-_r3-pad2_ net-_r4-pad2_ 1k
+v1 net-_r3-pad1_ net-_r1-pad1_ 1.2v
+i1 net-_i1-pad1_ net-_i1-pad2_ 0.000001
+r5 net-_i1-pad1_ net-_r1-pad1_ 60k
+v2 net-_x1-pad7_ gnd 12v
+v3 net-_x1-pad4_ gnd 12v
+* Control Statements
+
+.ends ref5010_2 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/ref5010/ref5010_2_Previous_Values.xml b/library/SubcircuitLibrary/ref5010/ref5010_2_Previous_Values.xml
new file mode 100644
index 00000000..27aeae04
--- /dev/null
+++ b/library/SubcircuitLibrary/ref5010/ref5010_2_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v1 name="Source type">1.2v</v1><i1 name="Source type">0.000001</i1><v2 name="Source type">12v</v2><v3 name="Source type">12v</v3></source><model /><devicemodel /><subcircuit><x1><field>D:\FOSSEE\eSim\library\SubcircuitLibrary\lm_741</field></x1></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