summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanto Kar2024-11-21 21:11:57 +0530
committerSumanto Kar2024-11-21 21:11:57 +0530
commit4da1983231152fd094a07fb559c7ed8f9d5fa972 (patch)
tree3330f83ca4d8f6ee8a144009e1251fb1cbfc9f58
parentaf39bdd6d520462ecd5a4d3bc5dbcefa1c7dcb21 (diff)
downloadeSim-4da1983231152fd094a07fb559c7ed8f9d5fa972.tar.gz
eSim-4da1983231152fd094a07fb559c7ed8f9d5fa972.tar.bz2
eSim-4da1983231152fd094a07fb559c7ed8f9d5fa972.zip
MC7900 is a series negative voltage regulator
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/D.lib2
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib184
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir72
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out80
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch1133
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub74
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib184
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir72
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out80
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch1133
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub74
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/MC7900_Sub/analysis1
19 files changed, 3249 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/MC7900_Sub/D.lib b/library/SubcircuitLibrary/MC7900_Sub/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib
new file mode 100644
index 00000000..cd2ad9a3
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub-cache.lib
@@ -0,0 +1,184 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# zener
+#
+DEF zener U 0 40 Y Y 1 F N
+F0 "U" -50 -100 60 H V C CNN
+F1 "zener" 0 100 60 H V C CNN
+F2 "" 50 0 60 H V C CNN
+F3 "" 50 0 60 H V C CNN
+DRAW
+P 2 0 1 0 100 -50 50 -100 N
+P 2 0 1 0 100 50 100 -50 N
+P 2 0 1 0 100 50 150 100 N
+P 4 0 1 0 0 50 0 -50 100 0 0 50 N
+X ~ IN -200 0 200 R 50 43 1 1 I
+X ~ OUT 300 0 200 L 50 43 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir
new file mode 100644
index 00000000..f7b934ad
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir
@@ -0,0 +1,72 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC7900_Sub\MC7900_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/28/24 16:30:41
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D3 Net-_D2-Pad2_ Net-_D3-Pad2_ eSim_Diode
+Q1 Net-_Q1-Pad1_ Net-_D3-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_D4-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R1 Net-_D1-Pad1_ Net-_Q1-Pad3_ 3.6k
+J1 Net-_D3-Pad2_ Net-_J1-Pad2_ Net-_J1-Pad2_ jfet_n
+Q4 Net-_D4-Pad2_ Net-_Q1-Pad1_ Net-_Q2-Pad2_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q6 Net-_Q2-Pad2_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q7 Net-_Q7-Pad1_ Net-_Q5-Pad3_ Net-_D4-Pad2_ eSim_NPN
+Q5 Net-_D1-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R3 Net-_D1-Pad1_ Net-_Q5-Pad2_ 2.4k
+R2 Net-_Q5-Pad3_ Net-_D4-Pad2_ 1.2k
+Q9 Net-_D1-Pad1_ Net-_Q7-Pad1_ Net-_Q10-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R4 Net-_Q5-Pad2_ Net-_Q7-Pad1_ 25
+R6 Net-_Q10-Pad2_ Net-_D4-Pad2_ 12k
+Q11 Net-_D1-Pad1_ Net-_Q10-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_D4-Pad2_ Net-_Q12-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q13 Net-_Q12-Pad2_ Net-_Q11-Pad3_ Net-_D4-Pad2_ eSim_NPN
+R8 Net-_Q10-Pad3_ Net-_D4-Pad2_ 1.0k
+Q14 Net-_Q14-Pad1_ Net-_Q14-Pad2_ Net-_D1-Pad1_ eSim_PNP
+R12 Net-_D1-Pad1_ Net-_Q14-Pad2_ 2.0k
+R14 Net-_Q14-Pad2_ Net-_Q17-Pad2_ 1.0k
+R13 Net-_D1-Pad1_ Net-_Q14-Pad2_ 8.0k
+R15 Net-_Q17-Pad2_ Net-_D4-Pad2_ 1.6k
+Q17 Net-_Q14-Pad2_ Net-_Q17-Pad2_ Net-_D4-Pad2_ eSim_NPN
+R16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ 20k
+R7 Net-_D1-Pad1_ Net-_Q10-Pad1_ 14.7k
+R9 Net-_Q11-Pad3_ Net-_D4-Pad1_ 4.0k
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R10 Net-_D1-Pad1_ Net-_Q12-Pad2_ 2.0k
+Q19 Net-_D1-Pad1_ Net-_D4-Pad2_ Net-_Q18-Pad3_ eSim_NPN
+Q22 Net-_D1-Pad1_ Net-_Q22-Pad2_ Net-_Q21-Pad3_ eSim_NPN
+R21 Net-_D1-Pad1_ Net-_Q26-Pad1_ 4.5k
+R11 Net-_Q14-Pad1_ Net-_J1-Pad2_ 2.0k
+Q18 Net-_Q16-Pad1_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q20 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q21 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q23 Net-_C1-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q8 Net-_Q18-Pad2_ Net-_Q2-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+R5 Net-_Q8-Pad3_ Net-_J1-Pad2_ 1.1k
+Q15 Net-_C1-Pad2_ Net-_Q14-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R17 Net-_C1-Pad1_ Net-_Q16-Pad1_ 20k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+C2 Net-_C1-Pad2_ Net-_C2-Pad2_ 10pF
+Q24 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q25 Net-_C1-Pad2_ Net-_C2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R18 Net-_Q27-Pad1_ Net-_R18-Pad2_ 10k
+U1 Net-_C2-Pad2_ Net-_R18-Pad2_ zener
+Q26 Net-_Q26-Pad1_ Net-_C1-Pad2_ Net-_Q26-Pad3_ eSim_NPN
+R22 Net-_Q26-Pad3_ Net-_Q28-Pad3_ 10k
+R19 Net-_Q28-Pad3_ Net-_C2-Pad2_ 240
+R20 Net-_Q27-Pad3_ Net-_C2-Pad2_ 750
+Q27 Net-_Q27-Pad1_ Net-_Q26-Pad3_ Net-_Q27-Pad3_ eSim_NPN
+Q28 Net-_Q27-Pad1_ Net-_Q27-Pad3_ Net-_Q28-Pad3_ eSim_NPN
+R25 Net-_Q28-Pad3_ Net-_J1-Pad2_ 0.3
+R24 Net-_Q22-Pad2_ Net-_Q27-Pad1_ 1k
+R23 Net-_D1-Pad1_ Net-_Q22-Pad2_ 185
+U2 Net-_J1-Pad2_ Net-_Q27-Pad1_ Net-_D1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out
new file mode 100644
index 00000000..bb5e461a
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.cir.out
@@ -0,0 +1,80 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc7900_sub\mc7900_sub.cir
+
+.include NJF.lib
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+* u2 net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_ port
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.pro
@@ -0,0 +1,73 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch
new file mode 100644
index 00000000..d0287c62
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sch
@@ -0,0 +1,1133 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:MC7900-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11040
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_Diode D1
+U 1 1 667E8260
+P 2350 2600
+F 0 "D1" H 2350 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 2500 50 0000 C CNN
+F 2 "" H 2350 2600 60 0000 C CNN
+F 3 "" H 2350 2600 60 0000 C CNN
+ 1 2350 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 667E8261
+P 2350 3100
+F 0 "D2" H 2350 3200 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3000 50 0000 C CNN
+F 2 "" H 2350 3100 60 0000 C CNN
+F 3 "" H 2350 3100 60 0000 C CNN
+ 1 2350 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 667E8262
+P 2350 3600
+F 0 "D3" H 2350 3700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3500 50 0000 C CNN
+F 2 "" H 2350 3600 60 0000 C CNN
+F 3 "" H 2350 3600 60 0000 C CNN
+ 1 2350 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 667E8263
+P 2950 4050
+F 0 "Q1" H 2850 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 4200 50 0000 R CNN
+F 2 "" H 3150 4150 29 0000 C CNN
+F 3 "" H 2950 4050 60 0000 C CNN
+ 1 2950 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 667E8264
+P 3600 4050
+F 0 "Q3" H 3500 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 3550 4200 50 0000 R CNN
+F 2 "" H 3800 4150 29 0000 C CNN
+F 3 "" H 3600 4050 60 0000 C CNN
+ 1 3600 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 667E8265
+P 3200 3000
+F 0 "R1" H 3250 3130 50 0000 C CNN
+F 1 "3.6k" H 3250 2950 50 0000 C CNN
+F 2 "" H 3250 2980 30 0000 C CNN
+F 3 "" V 3250 3050 30 0000 C CNN
+ 1 3200 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 667E8266
+P 2250 6150
+F 0 "J1" H 2150 6200 50 0000 R CNN
+F 1 "jfet_n" H 2200 6300 50 0000 R CNN
+F 2 "" H 2450 6250 29 0000 C CNN
+F 3 "" H 2250 6150 60 0000 C CNN
+ 1 2250 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 667E8267
+P 3800 5500
+F 0 "Q4" H 3700 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5650 50 0000 R CNN
+F 2 "" H 4000 5600 29 0000 C CNN
+F 3 "" H 3800 5500 60 0000 C CNN
+ 1 3800 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 667E8268
+P 3400 6650
+F 0 "Q2" H 3300 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 6800 50 0000 R CNN
+F 2 "" H 3600 6750 29 0000 C CNN
+F 3 "" H 3400 6650 60 0000 C CNN
+ 1 3400 6650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 667E8269
+P 4000 6650
+F 0 "Q6" H 3900 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 6800 50 0000 R CNN
+F 2 "" H 4200 6750 29 0000 C CNN
+F 3 "" H 4000 6650 60 0000 C CNN
+ 1 4000 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 667E826A
+P 4400 3450
+F 0 "Q7" H 4300 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 3600 50 0000 R CNN
+F 2 "" H 4600 3550 29 0000 C CNN
+F 3 "" H 4400 3450 60 0000 C CNN
+ 1 4400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 667E826B
+P 4000 2700
+F 0 "Q5" H 3900 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 2900 50 0000 R CNN
+F 2 "" H 4200 2800 29 0000 C CNN
+F 3 "" H 4000 2700 60 0000 C CNN
+ 1 4000 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 667E826C
+P 4450 2450
+F 0 "R3" H 4500 2580 50 0000 C CNN
+F 1 "2.4k" H 4500 2400 50 0000 C CNN
+F 2 "" H 4500 2430 30 0000 C CNN
+F 3 "" V 4500 2500 30 0000 C CNN
+ 1 4450 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 667E826D
+P 3850 3650
+F 0 "R2" H 3900 3780 50 0000 C CNN
+F 1 "1.2k" H 3900 3600 50 0000 C CNN
+F 2 "" H 3900 3630 30 0000 C CNN
+F 3 "" V 3900 3700 30 0000 C CNN
+ 1 3850 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 667E826E
+P 5100 3150
+F 0 "Q9" H 5000 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 5050 3300 50 0000 R CNN
+F 2 "" H 5300 3250 29 0000 C CNN
+F 3 "" H 5100 3150 60 0000 C CNN
+ 1 5100 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 667E826F
+P 5650 3450
+F 0 "Q10" H 5550 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 5600 3600 50 0000 R CNN
+F 2 "" H 5850 3550 29 0000 C CNN
+F 3 "" H 5650 3450 60 0000 C CNN
+ 1 5650 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 667E8270
+P 4450 2900
+F 0 "R4" H 4500 3030 50 0000 C CNN
+F 1 "25" H 4500 2850 50 0000 C CNN
+F 2 "" H 4500 2880 30 0000 C CNN
+F 3 "" V 4500 2950 30 0000 C CNN
+ 1 4450 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 667E8271
+P 5150 3750
+F 0 "R6" H 5200 3880 50 0000 C CNN
+F 1 "12k" H 5200 3700 50 0000 C CNN
+F 2 "" H 5200 3730 30 0000 C CNN
+F 3 "" V 5200 3800 30 0000 C CNN
+ 1 5150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 667E8272
+P 6150 3000
+F 0 "Q11" H 6050 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 6100 3150 50 0000 R CNN
+F 2 "" H 6350 3100 29 0000 C CNN
+F 3 "" H 6150 3000 60 0000 C CNN
+ 1 6150 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 667E8273
+P 6700 2550
+F 0 "Q12" H 6600 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 6650 2700 50 0000 R CNN
+F 2 "" H 6900 2650 29 0000 C CNN
+F 3 "" H 6700 2550 60 0000 C CNN
+ 1 6700 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 667E8274
+P 7150 3300
+F 0 "Q13" H 7050 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 3450 50 0000 R CNN
+F 2 "" H 7350 3400 29 0000 C CNN
+F 3 "" H 7150 3300 60 0000 C CNN
+ 1 7150 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 667E8275
+P 5700 3800
+F 0 "R8" H 5750 3930 50 0000 C CNN
+F 1 "1.0k" H 5750 3750 50 0000 C CNN
+F 2 "" H 5750 3780 30 0000 C CNN
+F 3 "" V 5750 3850 30 0000 C CNN
+ 1 5700 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 667E8276
+P 7750 2800
+F 0 "Q14" H 7650 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 7700 2950 50 0000 R CNN
+F 2 "" H 7950 2900 29 0000 C CNN
+F 3 "" H 7750 2800 60 0000 C CNN
+ 1 7750 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 667E8277
+P 8250 2450
+F 0 "R12" H 8300 2580 50 0000 C CNN
+F 1 "2.0k" H 8300 2400 50 0000 C CNN
+F 2 "" H 8300 2430 30 0000 C CNN
+F 3 "" V 8300 2500 30 0000 C CNN
+ 1 8250 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 667E8278
+P 8850 3000
+F 0 "R14" H 8900 3130 50 0000 C CNN
+F 1 "1.0k" H 8900 2950 50 0000 C CNN
+F 2 "" H 8900 2980 30 0000 C CNN
+F 3 "" V 8900 3050 30 0000 C CNN
+ 1 8850 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 667E8279
+P 8850 2450
+F 0 "R13" H 8900 2580 50 0000 C CNN
+F 1 "8.0k" H 8900 2400 50 0000 C CNN
+F 2 "" H 8900 2430 30 0000 C CNN
+F 3 "" V 8900 2500 30 0000 C CNN
+ 1 8850 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 667E827A
+P 8850 3700
+F 0 "R15" H 8900 3830 50 0000 C CNN
+F 1 "1.6k" H 8900 3650 50 0000 C CNN
+F 2 "" H 8900 3680 30 0000 C CNN
+F 3 "" V 8900 3750 30 0000 C CNN
+ 1 8850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 667E827B
+P 8400 3400
+F 0 "Q17" H 8300 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 3550 50 0000 R CNN
+F 2 "" H 8600 3500 29 0000 C CNN
+F 3 "" H 8400 3400 60 0000 C CNN
+ 1 8400 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 667E827C
+P 8950 7500
+F 0 "R16" H 9000 7630 50 0000 C CNN
+F 1 "20k" H 9000 7450 50 0000 C CNN
+F 2 "" H 9000 7480 30 0000 C CNN
+F 3 "" V 9000 7550 30 0000 C CNN
+ 1 8950 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 667E827D
+P 5700 2600
+F 0 "R7" H 5750 2730 50 0000 C CNN
+F 1 "14.7k" H 5750 2550 50 0000 C CNN
+F 2 "" H 5750 2580 30 0000 C CNN
+F 3 "" V 5750 2650 30 0000 C CNN
+ 1 5700 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 667E827E
+P 6200 3450
+F 0 "R9" H 6250 3580 50 0000 C CNN
+F 1 "4.0k" H 6250 3400 50 0000 C CNN
+F 2 "" H 6250 3430 30 0000 C CNN
+F 3 "" V 6250 3500 30 0000 C CNN
+ 1 6200 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 667E827F
+P 6250 3850
+F 0 "D4" H 6250 3950 50 0000 C CNN
+F 1 "eSim_Diode" H 6250 3750 50 0000 C CNN
+F 2 "" H 6250 3850 60 0000 C CNN
+F 3 "" H 6250 3850 60 0000 C CNN
+ 1 6250 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 667E8280
+P 7200 2550
+F 0 "R10" H 7250 2680 50 0000 C CNN
+F 1 "2.0k" H 7250 2500 50 0000 C CNN
+F 2 "" H 7250 2530 30 0000 C CNN
+F 3 "" V 7250 2600 30 0000 C CNN
+ 1 7200 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 667E8281
+P 9650 4050
+F 0 "Q19" H 9550 4100 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 4200 50 0000 R CNN
+F 2 "" H 9850 4150 29 0000 C CNN
+F 3 "" H 9650 4050 60 0000 C CNN
+ 1 9650 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 667E8282
+P 11100 4100
+F 0 "Q22" H 11000 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 11050 4250 50 0000 R CNN
+F 2 "" H 11300 4200 29 0000 C CNN
+F 3 "" H 11100 4100 60 0000 C CNN
+ 1 11100 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 667E8283
+P 14500 3000
+F 0 "R21" H 14550 3130 50 0000 C CNN
+F 1 "4.5k" H 14550 2950 50 0000 C CNN
+F 2 "" H 14550 2980 30 0000 C CNN
+F 3 "" V 14550 3050 30 0000 C CNN
+ 1 14500 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 667E8284
+P 7600 7300
+F 0 "R11" H 7650 7430 50 0000 C CNN
+F 1 "2.0k" H 7650 7250 50 0000 C CNN
+F 2 "" H 7650 7280 30 0000 C CNN
+F 3 "" V 7650 7350 30 0000 C CNN
+ 1 7600 7300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 667E8285
+P 9450 4700
+F 0 "Q18" H 9350 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 9400 4850 50 0000 R CNN
+F 2 "" H 9650 4800 29 0000 C CNN
+F 3 "" H 9450 4700 60 0000 C CNN
+ 1 9450 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 667E8286
+P 10100 4700
+F 0 "Q20" H 10000 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10050 4850 50 0000 R CNN
+F 2 "" H 10300 4800 29 0000 C CNN
+F 3 "" H 10100 4700 60 0000 C CNN
+ 1 10100 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q21
+U 1 1 667E8287
+P 10700 4700
+F 0 "Q21" H 10600 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10650 4850 50 0000 R CNN
+F 2 "" H 10900 4800 29 0000 C CNN
+F 3 "" H 10700 4700 60 0000 C CNN
+ 1 10700 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q23
+U 1 1 667E8288
+P 11350 4700
+F 0 "Q23" H 11250 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 11300 4850 50 0000 R CNN
+F 2 "" H 11550 4800 29 0000 C CNN
+F 3 "" H 11350 4700 60 0000 C CNN
+ 1 11350 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 667E8289
+P 4850 6650
+F 0 "Q8" H 4750 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 6800 50 0000 R CNN
+F 2 "" H 5050 6750 29 0000 C CNN
+F 3 "" H 4850 6650 60 0000 C CNN
+ 1 4850 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 667E828A
+P 4900 7400
+F 0 "R5" H 4950 7530 50 0000 C CNN
+F 1 "1.1k" H 4950 7350 50 0000 C CNN
+F 2 "" H 4950 7380 30 0000 C CNN
+F 3 "" V 4950 7450 30 0000 C CNN
+ 1 4900 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 667E828B
+P 7950 7000
+F 0 "Q15" H 7850 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7150 50 0000 R CNN
+F 2 "" H 8150 7100 29 0000 C CNN
+F 3 "" H 7950 7000 60 0000 C CNN
+ 1 7950 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 667E828C
+P 8300 7550
+F 0 "Q16" H 8200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 7700 50 0000 R CNN
+F 2 "" H 8500 7650 29 0000 C CNN
+F 3 "" H 8300 7550 60 0000 C CNN
+ 1 8300 7550
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 667E828D
+P 9800 7500
+F 0 "R17" H 9850 7630 50 0000 C CNN
+F 1 "20k" H 9850 7450 50 0000 C CNN
+F 2 "" H 9850 7480 30 0000 C CNN
+F 3 "" V 9850 7550 30 0000 C CNN
+ 1 9800 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L capacitor_polarised C1
+U 1 1 667E828E
+P 11150 6450
+F 0 "C1" H 11175 6550 50 0000 L CNN
+F 1 "20pF" H 11175 6350 50 0000 L CNN
+F 2 "" H 11150 6450 50 0001 C CNN
+F 3 "" H 11150 6450 50 0001 C CNN
+ 1 11150 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L capacitor_polarised C2
+U 1 1 667E828F
+P 12900 6450
+F 0 "C2" H 12925 6550 50 0000 L CNN
+F 1 "10pF" H 12925 6350 50 0000 L CNN
+F 2 "" H 12900 6450 50 0001 C CNN
+F 3 "" H 12900 6450 50 0001 C CNN
+ 1 12900 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 667E8290
+P 11800 7550
+F 0 "Q24" H 11700 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 11750 7700 50 0000 R CNN
+F 2 "" H 12000 7650 29 0000 C CNN
+F 3 "" H 11800 7550 60 0000 C CNN
+ 1 11800 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 667E8291
+P 12300 7600
+F 0 "Q25" H 12200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 12250 7750 50 0000 R CNN
+F 2 "" H 12500 7700 29 0000 C CNN
+F 3 "" H 12300 7600 60 0000 C CNN
+ 1 12300 7600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 667E8292
+P 13500 4800
+F 0 "R18" H 13550 4930 50 0000 C CNN
+F 1 "10k" H 13550 4750 50 0000 C CNN
+F 2 "" H 13550 4780 30 0000 C CNN
+F 3 "" V 13550 4850 30 0000 C CNN
+ 1 13500 4800
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 667E8293
+P 13550 5400
+F 0 "U1" H 13500 5300 60 0000 C CNN
+F 1 "zener" H 13550 5500 60 0000 C CNN
+F 2 "" H 13600 5400 60 0000 C CNN
+F 3 "" H 13600 5400 60 0000 C CNN
+ 1 13550 5400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q26
+U 1 1 667E8294
+P 14150 5700
+F 0 "Q26" H 14050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 14100 5850 50 0000 R CNN
+F 2 "" H 14350 5800 29 0000 C CNN
+F 3 "" H 14150 5700 60 0000 C CNN
+ 1 14150 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 667E8295
+P 14600 6900
+F 0 "R22" H 14650 7030 50 0000 C CNN
+F 1 "10k" H 14650 6850 50 0000 C CNN
+F 2 "" H 14650 6880 30 0000 C CNN
+F 3 "" V 14650 6950 30 0000 C CNN
+ 1 14600 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 667E8296
+P 14250 7550
+F 0 "R19" H 14300 7680 50 0000 C CNN
+F 1 "240" H 14300 7500 50 0000 C CNN
+F 2 "" H 14300 7530 30 0000 C CNN
+F 3 "" V 14300 7600 30 0000 C CNN
+ 1 14250 7550
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 667E8297
+P 14250 7900
+F 0 "R20" H 14300 8030 50 0000 C CNN
+F 1 "750" H 14300 7850 50 0000 C CNN
+F 2 "" H 14300 7880 30 0000 C CNN
+F 3 "" V 14300 7950 30 0000 C CNN
+ 1 14250 7900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 667E8298
+P 15100 6000
+F 0 "Q27" H 15000 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 15050 6150 50 0000 R CNN
+F 2 "" H 15300 6100 29 0000 C CNN
+F 3 "" H 15100 6000 60 0000 C CNN
+ 1 15100 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 667E8299
+P 15700 6350
+F 0 "Q28" H 15600 6400 50 0000 R CNN
+F 1 "eSim_NPN" H 15650 6500 50 0000 R CNN
+F 2 "" H 15900 6450 29 0000 C CNN
+F 3 "" H 15700 6350 60 0000 C CNN
+ 1 15700 6350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 667E829A
+P 15750 7900
+F 0 "R25" H 15800 8050 50 0000 C CNN
+F 1 "0.3" H 15800 7850 50 0000 C CNN
+F 2 "" H 15800 7880 30 0000 C CNN
+F 3 "" V 15800 7950 30 0000 C CNN
+ 1 15750 7900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 2350 2750 2350 2950
+Wire Wire Line
+ 2350 3250 2350 3450
+Wire Wire Line
+ 3050 3850 3050 3700
+Wire Wire Line
+ 3050 3700 3500 3700
+Wire Wire Line
+ 3500 3700 3500 3850
+Wire Wire Line
+ 3250 3200 3250 3700
+Connection ~ 3250 3700
+Wire Wire Line
+ 2350 2450 2350 2250
+Wire Wire Line
+ 3250 2900 3250 2250
+Connection ~ 3250 2250
+Wire Wire Line
+ 2350 3750 2350 5950
+Wire Wire Line
+ 3050 4250 3050 4450
+Wire Wire Line
+ 3050 4450 3500 4450
+Wire Wire Line
+ 3500 4450 3500 4250
+Wire Wire Line
+ 3300 4450 3300 6450
+Connection ~ 3300 4450
+Wire Wire Line
+ 4100 6450 4100 6250
+Wire Wire Line
+ 3800 6650 3600 6650
+Wire Wire Line
+ 4100 6250 3650 6250
+Wire Wire Line
+ 3650 6250 3650 6650
+Connection ~ 3650 6650
+Wire Wire Line
+ 3600 5500 3300 5500
+Connection ~ 3300 5500
+Connection ~ 3900 4050
+Wire Wire Line
+ 3900 2900 3900 3550
+Wire Wire Line
+ 4100 8250 4100 6850
+Wire Wire Line
+ 2350 6350 2350 8250
+Wire Wire Line
+ 15800 8250 1850 8250
+Wire Wire Line
+ 3300 6850 3300 8250
+Connection ~ 3300 8250
+Wire Wire Line
+ 3900 2500 3900 2250
+Connection ~ 3900 2250
+Wire Wire Line
+ 4500 2650 4500 2800
+Wire Wire Line
+ 4500 2250 4500 2350
+Wire Wire Line
+ 3900 3850 3900 5300
+Wire Wire Line
+ 4200 3450 3900 3450
+Connection ~ 3900 3450
+Wire Wire Line
+ 4500 3250 4500 3100
+Wire Wire Line
+ 4200 2700 4500 2700
+Connection ~ 4500 2700
+Wire Wire Line
+ 2050 6150 1850 6150
+Wire Wire Line
+ 1850 6150 1850 8250
+Connection ~ 2350 8250
+Wire Wire Line
+ 4500 3650 4500 4050
+Connection ~ 4500 4050
+Wire Wire Line
+ 4900 3150 4500 3150
+Connection ~ 4500 3150
+Wire Wire Line
+ 5200 2250 5200 2950
+Connection ~ 4500 2250
+Wire Wire Line
+ 5200 3650 5200 3350
+Wire Wire Line
+ 5200 3950 5200 4050
+Connection ~ 5200 4050
+Wire Wire Line
+ 2750 4050 2350 4050
+Connection ~ 2350 4050
+Connection ~ 5200 2250
+Wire Wire Line
+ 5750 2250 5750 2500
+Wire Wire Line
+ 5750 2800 5750 3250
+Wire Wire Line
+ 5750 3650 5750 3700
+Wire Wire Line
+ 5750 4000 5750 4050
+Connection ~ 5750 4050
+Wire Wire Line
+ 5950 3000 5750 3000
+Connection ~ 5750 3000
+Wire Wire Line
+ 6250 2250 6250 2800
+Connection ~ 5750 2250
+Wire Wire Line
+ 6250 3200 6250 3350
+Wire Wire Line
+ 6250 3700 6250 3650
+Wire Wire Line
+ 6250 4000 6250 4050
+Connection ~ 6250 4050
+Wire Wire Line
+ 6600 2250 6600 2350
+Connection ~ 6250 2250
+Wire Wire Line
+ 6600 2750 6600 4050
+Connection ~ 6600 4050
+Wire Wire Line
+ 7250 2250 7250 2450
+Connection ~ 6600 2250
+Wire Wire Line
+ 6900 2550 6950 2550
+Wire Wire Line
+ 7650 2250 7650 2600
+Connection ~ 7250 2250
+Wire Wire Line
+ 7650 3000 7650 7200
+Wire Wire Line
+ 8300 2250 8300 2350
+Connection ~ 7650 2250
+Wire Wire Line
+ 8300 2650 8300 3200
+Wire Wire Line
+ 8300 4050 8300 3600
+Wire Wire Line
+ 7950 2800 8900 2800
+Connection ~ 8300 2800
+Wire Wire Line
+ 8900 2250 8900 2350
+Connection ~ 8300 2250
+Wire Wire Line
+ 8900 2900 8900 2650
+Wire Wire Line
+ 8900 3600 8900 3200
+Wire Wire Line
+ 8600 3400 8900 3400
+Connection ~ 8900 3400
+Wire Wire Line
+ 8900 4050 8900 3900
+Connection ~ 8300 4050
+Wire Wire Line
+ 5450 3450 5200 3450
+Connection ~ 5200 3450
+Connection ~ 8900 2800
+Connection ~ 8900 4050
+Wire Wire Line
+ 3800 4050 9450 4050
+Wire Wire Line
+ 9750 2250 9750 3850
+Connection ~ 8900 2250
+Wire Wire Line
+ 11000 2250 11000 3900
+Connection ~ 9750 2250
+Wire Wire Line
+ 2350 2250 16150 2250
+Wire Wire Line
+ 9350 4500 9350 4300
+Wire Wire Line
+ 9350 4300 10000 4300
+Wire Wire Line
+ 10000 4300 10000 4500
+Wire Wire Line
+ 9750 4250 9750 4300
+Connection ~ 9750 4300
+Wire Wire Line
+ 10800 4500 10800 4400
+Wire Wire Line
+ 10800 4400 11450 4400
+Wire Wire Line
+ 11450 4400 11450 4500
+Wire Wire Line
+ 11000 4300 11000 4400
+Connection ~ 11000 4400
+Wire Wire Line
+ 10500 4700 10300 4700
+Wire Wire Line
+ 3650 6650 4650 6650
+Wire Wire Line
+ 4950 7300 4950 6850
+Wire Wire Line
+ 4950 8250 4950 7600
+Connection ~ 4100 8250
+Connection ~ 4950 8250
+Wire Wire Line
+ 7650 7500 7650 8250
+Connection ~ 7650 8250
+Wire Wire Line
+ 8200 7350 8200 4900
+Wire Wire Line
+ 8200 8250 8200 7750
+Wire Wire Line
+ 8750 7550 8500 7550
+Wire Wire Line
+ 9050 7550 9600 7550
+Wire Wire Line
+ 8050 7200 8050 8250
+Connection ~ 8050 8250
+Wire Wire Line
+ 7750 7000 7650 7000
+Connection ~ 7650 7000
+Wire Wire Line
+ 8050 6800 8050 5700
+Wire Wire Line
+ 10800 4900 10800 5100
+Wire Wire Line
+ 10800 5100 4950 5100
+Wire Wire Line
+ 4950 5100 4950 6450
+Wire Wire Line
+ 10000 4900 10000 5100
+Connection ~ 10000 5100
+Wire Wire Line
+ 10400 4700 10400 5100
+Connection ~ 10400 5100
+Connection ~ 10400 4700
+Wire Wire Line
+ 8200 4900 9050 4900
+Wire Wire Line
+ 9050 4900 9050 5000
+Wire Wire Line
+ 9050 5000 9350 5000
+Wire Wire Line
+ 9350 5000 9350 4900
+Wire Wire Line
+ 9100 7000 9100 7550
+Connection ~ 9100 7550
+Wire Wire Line
+ 11450 4900 11450 5050
+Wire Wire Line
+ 11450 5050 11900 5050
+Wire Wire Line
+ 11900 5050 11900 7350
+Connection ~ 11900 5700
+Connection ~ 11900 6450
+Wire Wire Line
+ 11000 6450 10350 6450
+Wire Wire Line
+ 10350 6450 10350 7550
+Connection ~ 10350 7550
+Wire Wire Line
+ 8050 5700 13950 5700
+Wire Wire Line
+ 11300 6450 11900 6450
+Wire Wire Line
+ 12200 7400 12200 5700
+Connection ~ 12200 5700
+Wire Wire Line
+ 12750 6450 12200 6450
+Connection ~ 12200 6450
+Wire Wire Line
+ 12500 7600 14050 7600
+Wire Wire Line
+ 13050 6450 13550 6450
+Connection ~ 13550 6450
+Wire Wire Line
+ 9100 7000 8200 7000
+Connection ~ 8200 7000
+Wire Wire Line
+ 11900 8250 11900 7750
+Connection ~ 8200 8250
+Wire Wire Line
+ 12200 8250 12200 7800
+Connection ~ 13550 7600
+Wire Wire Line
+ 14250 5500 14250 5350
+Wire Wire Line
+ 14250 5350 14550 5350
+Wire Wire Line
+ 14550 5350 14550 3200
+Wire Wire Line
+ 14250 5900 14250 6000
+Wire Wire Line
+ 14250 6000 14900 6000
+Wire Wire Line
+ 14650 6000 14650 6800
+Wire Wire Line
+ 14650 7100 14650 7600
+Wire Wire Line
+ 15800 7600 14350 7600
+Connection ~ 14650 6000
+Wire Wire Line
+ 15200 6200 15200 6350
+Wire Wire Line
+ 15200 6350 15500 6350
+Wire Wire Line
+ 15400 7950 15400 6350
+Connection ~ 15400 6350
+Wire Wire Line
+ 15200 5800 15200 5500
+Wire Wire Line
+ 15200 5500 15800 5500
+Connection ~ 15800 5500
+Wire Wire Line
+ 14050 7950 13550 7950
+Connection ~ 13550 7950
+Wire Wire Line
+ 13550 5100 13550 5000
+Wire Wire Line
+ 13550 4500 13550 4700
+Connection ~ 15800 4500
+Wire Wire Line
+ 14550 2250 14550 2900
+Connection ~ 11000 2250
+Wire Wire Line
+ 15800 4200 15800 6150
+Connection ~ 14550 2250
+Wire Wire Line
+ 15800 2250 15800 2950
+Wire Wire Line
+ 15800 3250 15800 3900
+Connection ~ 15400 7950
+Wire Wire Line
+ 6950 3300 6250 3300
+Connection ~ 6250 3300
+Wire Wire Line
+ 7250 3100 7250 2750
+Wire Wire Line
+ 6950 2550 6950 2850
+Wire Wire Line
+ 6950 2850 7250 2850
+Connection ~ 7250 2850
+Wire Wire Line
+ 7250 3500 7250 4050
+Connection ~ 7250 4050
+Wire Wire Line
+ 3900 5700 3900 6250
+Connection ~ 3900 6250
+Wire Wire Line
+ 9650 4700 11150 4700
+Wire Wire Line
+ 9900 7550 11600 7550
+Connection ~ 12200 8250
+Connection ~ 11900 8250
+Connection ~ 14650 7600
+Wire Wire Line
+ 13550 7950 13550 5600
+Wire Wire Line
+ 14350 7950 15400 7950
+Wire Wire Line
+ 15800 6550 15800 7800
+Connection ~ 15800 7600
+Wire Wire Line
+ 15800 8100 15800 8500
+Connection ~ 15800 8250
+Wire Wire Line
+ 16150 2250 16150 2500
+Connection ~ 15800 2250
+Wire Wire Line
+ 15800 8500 16300 8500
+$Comp
+L resistor R24
+U 1 1 667E82A0
+P 15750 4000
+F 0 "R24" H 15800 4130 50 0000 C CNN
+F 1 "1k" H 15800 3950 50 0000 C CNN
+F 2 "" H 15800 3980 30 0000 C CNN
+F 3 "" V 15800 4050 30 0000 C CNN
+ 1 15750 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 667E82A1
+P 15750 3050
+F 0 "R23" H 15800 3180 50 0000 C CNN
+F 1 "185" H 15800 3000 50 0000 C CNN
+F 2 "" H 15800 3030 30 0000 C CNN
+F 3 "" V 15800 3100 30 0000 C CNN
+ 1 15750 3050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 11300 4100 15400 4100
+Wire Wire Line
+ 15400 4100 15400 3650
+Wire Wire Line
+ 15400 3650 15800 3650
+Connection ~ 15800 3650
+Wire Wire Line
+ 13550 4500 16250 4500
+$Comp
+L PORT U2
+U 1 1 667E84EA
+P 16550 8500
+F 0 "U2" H 16600 8600 30 0000 C CNN
+F 1 "PORT" H 16550 8500 30 0000 C CNN
+F 2 "" H 16550 8500 60 0000 C CNN
+F 3 "" H 16550 8500 60 0000 C CNN
+ 1 16550 8500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 2 1 667E85EB
+P 16500 4500
+F 0 "U2" H 16550 4600 30 0000 C CNN
+F 1 "PORT" H 16500 4500 30 0000 C CNN
+F 2 "" H 16500 4500 60 0000 C CNN
+F 3 "" H 16500 4500 60 0000 C CNN
+ 2 16500 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 3 1 667E885A
+P 16150 2750
+F 0 "U2" H 16200 2850 30 0000 C CNN
+F 1 "PORT" H 16150 2750 30 0000 C CNN
+F 2 "" H 16150 2750 60 0000 C CNN
+F 3 "" H 16150 2750 60 0000 C CNN
+ 3 16150 2750
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub
new file mode 100644
index 00000000..cbe3c75d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub.sub
@@ -0,0 +1,74 @@
+* Subcircuit MC7900_Sub
+.subckt MC7900_Sub net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc7900_sub\mc7900_sub.cir
+.include NJF.lib
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends MC7900_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml
new file mode 100644
index 00000000..e3c4309d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7900_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u1></model><devicemodel><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q21><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q23><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q26><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q28></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib
new file mode 100644
index 00000000..cd2ad9a3
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub-cache.lib
@@ -0,0 +1,184 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# zener
+#
+DEF zener U 0 40 Y Y 1 F N
+F0 "U" -50 -100 60 H V C CNN
+F1 "zener" 0 100 60 H V C CNN
+F2 "" 50 0 60 H V C CNN
+F3 "" 50 0 60 H V C CNN
+DRAW
+P 2 0 1 0 100 -50 50 -100 N
+P 2 0 1 0 100 50 100 -50 N
+P 2 0 1 0 100 50 150 100 N
+P 4 0 1 0 0 50 0 -50 100 0 0 50 N
+X ~ IN -200 0 200 R 50 43 1 1 I
+X ~ OUT 300 0 200 L 50 43 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir
new file mode 100644
index 00000000..47d9c680
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir
@@ -0,0 +1,72 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC7905_Sub\MC7905_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/18/24 17:13:43
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D3 Net-_D2-Pad2_ Net-_D3-Pad2_ eSim_Diode
+Q1 Net-_Q1-Pad1_ Net-_D3-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_D4-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R1 Net-_D1-Pad1_ Net-_Q1-Pad3_ 3.6k
+J1 Net-_D3-Pad2_ Net-_J1-Pad2_ Net-_J1-Pad2_ jfet_n
+Q4 Net-_D4-Pad2_ Net-_Q1-Pad1_ Net-_Q2-Pad2_ eSim_NPN
+Q2 Net-_Q1-Pad1_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q6 Net-_Q2-Pad2_ Net-_Q2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+Q7 Net-_Q7-Pad1_ Net-_Q5-Pad3_ Net-_D4-Pad2_ eSim_NPN
+Q5 Net-_D1-Pad1_ Net-_Q5-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+R3 Net-_D1-Pad1_ Net-_Q5-Pad2_ 2.4k
+R2 Net-_Q5-Pad3_ Net-_D4-Pad2_ 1.2k
+Q9 Net-_D1-Pad1_ Net-_Q7-Pad1_ Net-_Q10-Pad2_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R4 Net-_Q5-Pad2_ Net-_Q7-Pad1_ 25
+R6 Net-_Q10-Pad2_ Net-_D4-Pad2_ 12k
+Q11 Net-_D1-Pad1_ Net-_Q10-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_D4-Pad2_ Net-_Q12-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q13 Net-_Q12-Pad2_ Net-_Q11-Pad3_ Net-_D4-Pad2_ eSim_NPN
+R8 Net-_Q10-Pad3_ Net-_D4-Pad2_ 1.0k
+Q14 Net-_Q14-Pad1_ Net-_Q14-Pad2_ Net-_D1-Pad1_ eSim_PNP
+R12 Net-_D1-Pad1_ Net-_Q14-Pad2_ 2.0k
+R14 Net-_Q14-Pad2_ Net-_Q17-Pad2_ 1.0k
+R13 Net-_D1-Pad1_ Net-_Q14-Pad2_ 8.0k
+R15 Net-_Q17-Pad2_ Net-_D4-Pad2_ 1.6k
+Q17 Net-_Q14-Pad2_ Net-_Q17-Pad2_ Net-_D4-Pad2_ eSim_NPN
+R16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ 20k
+R7 Net-_D1-Pad1_ Net-_Q10-Pad1_ 14.7k
+R9 Net-_Q11-Pad3_ Net-_D4-Pad1_ 4.0k
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+R10 Net-_D1-Pad1_ Net-_Q12-Pad2_ 2.0k
+Q19 Net-_D1-Pad1_ Net-_D4-Pad2_ Net-_Q18-Pad3_ eSim_NPN
+Q22 Net-_D1-Pad1_ Net-_Q22-Pad2_ Net-_Q21-Pad3_ eSim_NPN
+R21 Net-_D1-Pad1_ Net-_Q26-Pad1_ 4.5k
+R11 Net-_Q14-Pad1_ Net-_J1-Pad2_ 2.0k
+Q18 Net-_Q16-Pad1_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q20 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q18-Pad3_ eSim_PNP
+Q21 Net-_Q18-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q23 Net-_C1-Pad2_ Net-_Q18-Pad2_ Net-_Q21-Pad3_ eSim_PNP
+Q8 Net-_Q18-Pad2_ Net-_Q2-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+R5 Net-_Q8-Pad3_ Net-_J1-Pad2_ 1.1k
+Q15 Net-_C1-Pad2_ Net-_Q14-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q16-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R17 Net-_C1-Pad1_ Net-_Q16-Pad1_ 20k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+C2 Net-_C1-Pad2_ Net-_C2-Pad2_ 10pF
+Q24 Net-_C1-Pad2_ Net-_C1-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q25 Net-_C1-Pad2_ Net-_C2-Pad2_ Net-_J1-Pad2_ eSim_NPN
+R18 Net-_Q27-Pad1_ Net-_R18-Pad2_ 10k
+U1 Net-_C2-Pad2_ Net-_R18-Pad2_ zener
+Q26 Net-_Q26-Pad1_ Net-_C1-Pad2_ Net-_Q26-Pad3_ eSim_NPN
+R22 Net-_Q26-Pad3_ Net-_Q28-Pad3_ 10k
+R19 Net-_Q28-Pad3_ Net-_C2-Pad2_ 240
+R20 Net-_Q27-Pad3_ Net-_C2-Pad2_ 750
+Q27 Net-_Q27-Pad1_ Net-_Q26-Pad3_ Net-_Q27-Pad3_ eSim_NPN
+Q28 Net-_Q27-Pad1_ Net-_Q27-Pad3_ Net-_Q28-Pad3_ eSim_NPN
+R25 Net-_Q28-Pad3_ Net-_J1-Pad2_ 0.3
+R24 Net-_Q22-Pad2_ Net-_Q27-Pad1_ 1k
+R23 Net-_D1-Pad1_ Net-_Q22-Pad2_ 185
+U2 Net-_J1-Pad2_ Net-_Q27-Pad1_ Net-_D1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out
new file mode 100644
index 00000000..d8bdc37d
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.cir.out
@@ -0,0 +1,80 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc7905_sub\mc7905_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+* u2 net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_ port
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.pro
@@ -0,0 +1,73 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch
new file mode 100644
index 00000000..5ff0891c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sch
@@ -0,0 +1,1133 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:MC7905_Sub-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11040
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_Diode D1
+U 1 1 66717300
+P 2350 2600
+F 0 "D1" H 2350 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 2500 50 0000 C CNN
+F 2 "" H 2350 2600 60 0000 C CNN
+F 3 "" H 2350 2600 60 0000 C CNN
+ 1 2350 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 66717301
+P 2350 3100
+F 0 "D2" H 2350 3200 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3000 50 0000 C CNN
+F 2 "" H 2350 3100 60 0000 C CNN
+F 3 "" H 2350 3100 60 0000 C CNN
+ 1 2350 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 66717302
+P 2350 3600
+F 0 "D3" H 2350 3700 50 0000 C CNN
+F 1 "eSim_Diode" H 2350 3500 50 0000 C CNN
+F 2 "" H 2350 3600 60 0000 C CNN
+F 3 "" H 2350 3600 60 0000 C CNN
+ 1 2350 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 66717303
+P 2950 4050
+F 0 "Q1" H 2850 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 4200 50 0000 R CNN
+F 2 "" H 3150 4150 29 0000 C CNN
+F 3 "" H 2950 4050 60 0000 C CNN
+ 1 2950 4050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 66717304
+P 3600 4050
+F 0 "Q3" H 3500 4100 50 0000 R CNN
+F 1 "eSim_PNP" H 3550 4200 50 0000 R CNN
+F 2 "" H 3800 4150 29 0000 C CNN
+F 3 "" H 3600 4050 60 0000 C CNN
+ 1 3600 4050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66717305
+P 3200 3000
+F 0 "R1" H 3250 3130 50 0000 C CNN
+F 1 "3.6k" H 3250 2950 50 0000 C CNN
+F 2 "" H 3250 2980 30 0000 C CNN
+F 3 "" V 3250 3050 30 0000 C CNN
+ 1 3200 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 66717306
+P 2250 6150
+F 0 "J1" H 2150 6200 50 0000 R CNN
+F 1 "jfet_n" H 2200 6300 50 0000 R CNN
+F 2 "" H 2450 6250 29 0000 C CNN
+F 3 "" H 2250 6150 60 0000 C CNN
+ 1 2250 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66717307
+P 3800 5500
+F 0 "Q4" H 3700 5550 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5650 50 0000 R CNN
+F 2 "" H 4000 5600 29 0000 C CNN
+F 3 "" H 3800 5500 60 0000 C CNN
+ 1 3800 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 66717308
+P 3400 6650
+F 0 "Q2" H 3300 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3350 6800 50 0000 R CNN
+F 2 "" H 3600 6750 29 0000 C CNN
+F 3 "" H 3400 6650 60 0000 C CNN
+ 1 3400 6650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66717309
+P 4000 6650
+F 0 "Q6" H 3900 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 6800 50 0000 R CNN
+F 2 "" H 4200 6750 29 0000 C CNN
+F 3 "" H 4000 6650 60 0000 C CNN
+ 1 4000 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6671730A
+P 4400 3450
+F 0 "Q7" H 4300 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 4350 3600 50 0000 R CNN
+F 2 "" H 4600 3550 29 0000 C CNN
+F 3 "" H 4400 3450 60 0000 C CNN
+ 1 4400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 6671730B
+P 4000 2700
+F 0 "Q5" H 3900 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 2900 50 0000 R CNN
+F 2 "" H 4200 2800 29 0000 C CNN
+F 3 "" H 4000 2700 60 0000 C CNN
+ 1 4000 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 6671730C
+P 4450 2450
+F 0 "R3" H 4500 2580 50 0000 C CNN
+F 1 "2.4k" H 4500 2400 50 0000 C CNN
+F 2 "" H 4500 2430 30 0000 C CNN
+F 3 "" V 4500 2500 30 0000 C CNN
+ 1 4450 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 6671730D
+P 3850 3650
+F 0 "R2" H 3900 3780 50 0000 C CNN
+F 1 "1.2k" H 3900 3600 50 0000 C CNN
+F 2 "" H 3900 3630 30 0000 C CNN
+F 3 "" V 3900 3700 30 0000 C CNN
+ 1 3850 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 6671730E
+P 5100 3150
+F 0 "Q9" H 5000 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 5050 3300 50 0000 R CNN
+F 2 "" H 5300 3250 29 0000 C CNN
+F 3 "" H 5100 3150 60 0000 C CNN
+ 1 5100 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6671730F
+P 5650 3450
+F 0 "Q10" H 5550 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 5600 3600 50 0000 R CNN
+F 2 "" H 5850 3550 29 0000 C CNN
+F 3 "" H 5650 3450 60 0000 C CNN
+ 1 5650 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66717310
+P 4450 2900
+F 0 "R4" H 4500 3030 50 0000 C CNN
+F 1 "25" H 4500 2850 50 0000 C CNN
+F 2 "" H 4500 2880 30 0000 C CNN
+F 3 "" V 4500 2950 30 0000 C CNN
+ 1 4450 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66717311
+P 5150 3750
+F 0 "R6" H 5200 3880 50 0000 C CNN
+F 1 "12k" H 5200 3700 50 0000 C CNN
+F 2 "" H 5200 3730 30 0000 C CNN
+F 3 "" V 5200 3800 30 0000 C CNN
+ 1 5150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66717312
+P 6150 3000
+F 0 "Q11" H 6050 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 6100 3150 50 0000 R CNN
+F 2 "" H 6350 3100 29 0000 C CNN
+F 3 "" H 6150 3000 60 0000 C CNN
+ 1 6150 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q12
+U 1 1 66717313
+P 6700 2550
+F 0 "Q12" H 6600 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 6650 2700 50 0000 R CNN
+F 2 "" H 6900 2650 29 0000 C CNN
+F 3 "" H 6700 2550 60 0000 C CNN
+ 1 6700 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 66717314
+P 7150 3300
+F 0 "Q13" H 7050 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 3450 50 0000 R CNN
+F 2 "" H 7350 3400 29 0000 C CNN
+F 3 "" H 7150 3300 60 0000 C CNN
+ 1 7150 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 66717315
+P 5700 3800
+F 0 "R8" H 5750 3930 50 0000 C CNN
+F 1 "1.0k" H 5750 3750 50 0000 C CNN
+F 2 "" H 5750 3780 30 0000 C CNN
+F 3 "" V 5750 3850 30 0000 C CNN
+ 1 5700 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 66717316
+P 7750 2800
+F 0 "Q14" H 7650 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 7700 2950 50 0000 R CNN
+F 2 "" H 7950 2900 29 0000 C CNN
+F 3 "" H 7750 2800 60 0000 C CNN
+ 1 7750 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 66717317
+P 8250 2450
+F 0 "R12" H 8300 2580 50 0000 C CNN
+F 1 "2.0k" H 8300 2400 50 0000 C CNN
+F 2 "" H 8300 2430 30 0000 C CNN
+F 3 "" V 8300 2500 30 0000 C CNN
+ 1 8250 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66717318
+P 8850 3000
+F 0 "R14" H 8900 3130 50 0000 C CNN
+F 1 "1.0k" H 8900 2950 50 0000 C CNN
+F 2 "" H 8900 2980 30 0000 C CNN
+F 3 "" V 8900 3050 30 0000 C CNN
+ 1 8850 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 66717319
+P 8850 2450
+F 0 "R13" H 8900 2580 50 0000 C CNN
+F 1 "8.0k" H 8900 2400 50 0000 C CNN
+F 2 "" H 8900 2430 30 0000 C CNN
+F 3 "" V 8900 2500 30 0000 C CNN
+ 1 8850 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R15
+U 1 1 6671731A
+P 8850 3700
+F 0 "R15" H 8900 3830 50 0000 C CNN
+F 1 "1.6k" H 8900 3650 50 0000 C CNN
+F 2 "" H 8900 3680 30 0000 C CNN
+F 3 "" V 8900 3750 30 0000 C CNN
+ 1 8850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 6671731B
+P 8400 3400
+F 0 "Q17" H 8300 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 8350 3550 50 0000 R CNN
+F 2 "" H 8600 3500 29 0000 C CNN
+F 3 "" H 8400 3400 60 0000 C CNN
+ 1 8400 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 6671731C
+P 8950 7500
+F 0 "R16" H 9000 7630 50 0000 C CNN
+F 1 "20k" H 9000 7450 50 0000 C CNN
+F 2 "" H 9000 7480 30 0000 C CNN
+F 3 "" V 9000 7550 30 0000 C CNN
+ 1 8950 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 6671731D
+P 5700 2600
+F 0 "R7" H 5750 2730 50 0000 C CNN
+F 1 "14.7k" H 5750 2550 50 0000 C CNN
+F 2 "" H 5750 2580 30 0000 C CNN
+F 3 "" V 5750 2650 30 0000 C CNN
+ 1 5700 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R9
+U 1 1 6671731E
+P 6200 3450
+F 0 "R9" H 6250 3580 50 0000 C CNN
+F 1 "4.0k" H 6250 3400 50 0000 C CNN
+F 2 "" H 6250 3430 30 0000 C CNN
+F 3 "" V 6250 3500 30 0000 C CNN
+ 1 6200 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 6671731F
+P 6250 3850
+F 0 "D4" H 6250 3950 50 0000 C CNN
+F 1 "eSim_Diode" H 6250 3750 50 0000 C CNN
+F 2 "" H 6250 3850 60 0000 C CNN
+F 3 "" H 6250 3850 60 0000 C CNN
+ 1 6250 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R10
+U 1 1 66717320
+P 7200 2550
+F 0 "R10" H 7250 2680 50 0000 C CNN
+F 1 "2.0k" H 7250 2500 50 0000 C CNN
+F 2 "" H 7250 2530 30 0000 C CNN
+F 3 "" V 7250 2600 30 0000 C CNN
+ 1 7200 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 66717321
+P 9650 4050
+F 0 "Q19" H 9550 4100 50 0000 R CNN
+F 1 "eSim_NPN" H 9600 4200 50 0000 R CNN
+F 2 "" H 9850 4150 29 0000 C CNN
+F 3 "" H 9650 4050 60 0000 C CNN
+ 1 9650 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 66717322
+P 11100 4100
+F 0 "Q22" H 11000 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 11050 4250 50 0000 R CNN
+F 2 "" H 11300 4200 29 0000 C CNN
+F 3 "" H 11100 4100 60 0000 C CNN
+ 1 11100 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 66717323
+P 14500 3000
+F 0 "R21" H 14550 3130 50 0000 C CNN
+F 1 "4.5k" H 14550 2950 50 0000 C CNN
+F 2 "" H 14550 2980 30 0000 C CNN
+F 3 "" V 14550 3050 30 0000 C CNN
+ 1 14500 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 66717324
+P 7600 7300
+F 0 "R11" H 7650 7430 50 0000 C CNN
+F 1 "2.0k" H 7650 7250 50 0000 C CNN
+F 2 "" H 7650 7280 30 0000 C CNN
+F 3 "" V 7650 7350 30 0000 C CNN
+ 1 7600 7300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 66717325
+P 9450 4700
+F 0 "Q18" H 9350 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 9400 4850 50 0000 R CNN
+F 2 "" H 9650 4800 29 0000 C CNN
+F 3 "" H 9450 4700 60 0000 C CNN
+ 1 9450 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 66717326
+P 10100 4700
+F 0 "Q20" H 10000 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10050 4850 50 0000 R CNN
+F 2 "" H 10300 4800 29 0000 C CNN
+F 3 "" H 10100 4700 60 0000 C CNN
+ 1 10100 4700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q21
+U 1 1 66717327
+P 10700 4700
+F 0 "Q21" H 10600 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 10650 4850 50 0000 R CNN
+F 2 "" H 10900 4800 29 0000 C CNN
+F 3 "" H 10700 4700 60 0000 C CNN
+ 1 10700 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q23
+U 1 1 66717328
+P 11350 4700
+F 0 "Q23" H 11250 4750 50 0000 R CNN
+F 1 "eSim_PNP" H 11300 4850 50 0000 R CNN
+F 2 "" H 11550 4800 29 0000 C CNN
+F 3 "" H 11350 4700 60 0000 C CNN
+ 1 11350 4700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 66717329
+P 4850 6650
+F 0 "Q8" H 4750 6700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 6800 50 0000 R CNN
+F 2 "" H 5050 6750 29 0000 C CNN
+F 3 "" H 4850 6650 60 0000 C CNN
+ 1 4850 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 6671732A
+P 4900 7400
+F 0 "R5" H 4950 7530 50 0000 C CNN
+F 1 "1.1k" H 4950 7350 50 0000 C CNN
+F 2 "" H 4950 7380 30 0000 C CNN
+F 3 "" V 4950 7450 30 0000 C CNN
+ 1 4900 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6671732B
+P 7950 7000
+F 0 "Q15" H 7850 7050 50 0000 R CNN
+F 1 "eSim_NPN" H 7900 7150 50 0000 R CNN
+F 2 "" H 8150 7100 29 0000 C CNN
+F 3 "" H 7950 7000 60 0000 C CNN
+ 1 7950 7000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 6671732C
+P 8300 7550
+F 0 "Q16" H 8200 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 8250 7700 50 0000 R CNN
+F 2 "" H 8500 7650 29 0000 C CNN
+F 3 "" H 8300 7550 60 0000 C CNN
+ 1 8300 7550
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 6671732D
+P 9800 7500
+F 0 "R17" H 9850 7630 50 0000 C CNN
+F 1 "20k" H 9850 7450 50 0000 C CNN
+F 2 "" H 9850 7480 30 0000 C CNN
+F 3 "" V 9850 7550 30 0000 C CNN
+ 1 9800 7500
+ -1 0 0 1
+$EndComp
+$Comp
+L capacitor_polarised C1
+U 1 1 6671732E
+P 11150 6450
+F 0 "C1" H 11175 6550 50 0000 L CNN
+F 1 "20pF" H 11175 6350 50 0000 L CNN
+F 2 "" H 11150 6450 50 0001 C CNN
+F 3 "" H 11150 6450 50 0001 C CNN
+ 1 11150 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L capacitor_polarised C2
+U 1 1 6671732F
+P 12900 6450
+F 0 "C2" H 12925 6550 50 0000 L CNN
+F 1 "10pF" H 12925 6350 50 0000 L CNN
+F 2 "" H 12900 6450 50 0001 C CNN
+F 3 "" H 12900 6450 50 0001 C CNN
+ 1 12900 6450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 66717330
+P 11800 7550
+F 0 "Q24" H 11700 7600 50 0000 R CNN
+F 1 "eSim_NPN" H 11750 7700 50 0000 R CNN
+F 2 "" H 12000 7650 29 0000 C CNN
+F 3 "" H 11800 7550 60 0000 C CNN
+ 1 11800 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 66717331
+P 12300 7600
+F 0 "Q25" H 12200 7650 50 0000 R CNN
+F 1 "eSim_NPN" H 12250 7750 50 0000 R CNN
+F 2 "" H 12500 7700 29 0000 C CNN
+F 3 "" H 12300 7600 60 0000 C CNN
+ 1 12300 7600
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 66717332
+P 13500 4800
+F 0 "R18" H 13550 4930 50 0000 C CNN
+F 1 "10k" H 13550 4750 50 0000 C CNN
+F 2 "" H 13550 4780 30 0000 C CNN
+F 3 "" V 13550 4850 30 0000 C CNN
+ 1 13500 4800
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66717333
+P 13550 5400
+F 0 "U1" H 13500 5300 60 0000 C CNN
+F 1 "zener" H 13550 5500 60 0000 C CNN
+F 2 "" H 13600 5400 60 0000 C CNN
+F 3 "" H 13600 5400 60 0000 C CNN
+ 1 13550 5400
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q26
+U 1 1 66717334
+P 14150 5700
+F 0 "Q26" H 14050 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 14100 5850 50 0000 R CNN
+F 2 "" H 14350 5800 29 0000 C CNN
+F 3 "" H 14150 5700 60 0000 C CNN
+ 1 14150 5700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 66717335
+P 14600 6900
+F 0 "R22" H 14650 7030 50 0000 C CNN
+F 1 "10k" H 14650 6850 50 0000 C CNN
+F 2 "" H 14650 6880 30 0000 C CNN
+F 3 "" V 14650 6950 30 0000 C CNN
+ 1 14600 6900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R19
+U 1 1 66717336
+P 14250 7550
+F 0 "R19" H 14300 7680 50 0000 C CNN
+F 1 "240" H 14300 7500 50 0000 C CNN
+F 2 "" H 14300 7530 30 0000 C CNN
+F 3 "" V 14300 7600 30 0000 C CNN
+ 1 14250 7550
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 66717337
+P 14250 7900
+F 0 "R20" H 14300 8030 50 0000 C CNN
+F 1 "750" H 14300 7850 50 0000 C CNN
+F 2 "" H 14300 7880 30 0000 C CNN
+F 3 "" V 14300 7950 30 0000 C CNN
+ 1 14250 7900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 66717338
+P 15100 6000
+F 0 "Q27" H 15000 6050 50 0000 R CNN
+F 1 "eSim_NPN" H 15050 6150 50 0000 R CNN
+F 2 "" H 15300 6100 29 0000 C CNN
+F 3 "" H 15100 6000 60 0000 C CNN
+ 1 15100 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 66717339
+P 15700 6350
+F 0 "Q28" H 15600 6400 50 0000 R CNN
+F 1 "eSim_NPN" H 15650 6500 50 0000 R CNN
+F 2 "" H 15900 6450 29 0000 C CNN
+F 3 "" H 15700 6350 60 0000 C CNN
+ 1 15700 6350
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 6671733A
+P 15750 7900
+F 0 "R25" H 15800 8050 50 0000 C CNN
+F 1 "0.3" H 15800 7850 50 0000 C CNN
+F 2 "" H 15800 7880 30 0000 C CNN
+F 3 "" V 15800 7950 30 0000 C CNN
+ 1 15750 7900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 2350 2750 2350 2950
+Wire Wire Line
+ 2350 3250 2350 3450
+Wire Wire Line
+ 3050 3850 3050 3700
+Wire Wire Line
+ 3050 3700 3500 3700
+Wire Wire Line
+ 3500 3700 3500 3850
+Wire Wire Line
+ 3250 3200 3250 3700
+Connection ~ 3250 3700
+Wire Wire Line
+ 2350 2450 2350 2250
+Wire Wire Line
+ 3250 2900 3250 2250
+Connection ~ 3250 2250
+Wire Wire Line
+ 2350 3750 2350 5950
+Wire Wire Line
+ 3050 4250 3050 4450
+Wire Wire Line
+ 3050 4450 3500 4450
+Wire Wire Line
+ 3500 4450 3500 4250
+Wire Wire Line
+ 3300 4450 3300 6450
+Connection ~ 3300 4450
+Wire Wire Line
+ 4100 6450 4100 6250
+Wire Wire Line
+ 3800 6650 3600 6650
+Wire Wire Line
+ 4100 6250 3650 6250
+Wire Wire Line
+ 3650 6250 3650 6650
+Connection ~ 3650 6650
+Wire Wire Line
+ 3600 5500 3300 5500
+Connection ~ 3300 5500
+Connection ~ 3900 4050
+Wire Wire Line
+ 3900 2900 3900 3550
+Wire Wire Line
+ 4100 8250 4100 6850
+Wire Wire Line
+ 2350 6350 2350 8250
+Wire Wire Line
+ 15800 8250 1850 8250
+Wire Wire Line
+ 3300 6850 3300 8250
+Connection ~ 3300 8250
+Wire Wire Line
+ 3900 2500 3900 2250
+Connection ~ 3900 2250
+Wire Wire Line
+ 4500 2650 4500 2800
+Wire Wire Line
+ 4500 2250 4500 2350
+Wire Wire Line
+ 3900 3850 3900 5300
+Wire Wire Line
+ 4200 3450 3900 3450
+Connection ~ 3900 3450
+Wire Wire Line
+ 4500 3250 4500 3100
+Wire Wire Line
+ 4200 2700 4500 2700
+Connection ~ 4500 2700
+Wire Wire Line
+ 2050 6150 1850 6150
+Wire Wire Line
+ 1850 6150 1850 8250
+Connection ~ 2350 8250
+Wire Wire Line
+ 4500 3650 4500 4050
+Connection ~ 4500 4050
+Wire Wire Line
+ 4900 3150 4500 3150
+Connection ~ 4500 3150
+Wire Wire Line
+ 5200 2250 5200 2950
+Connection ~ 4500 2250
+Wire Wire Line
+ 5200 3650 5200 3350
+Wire Wire Line
+ 5200 3950 5200 4050
+Connection ~ 5200 4050
+Wire Wire Line
+ 2750 4050 2350 4050
+Connection ~ 2350 4050
+Connection ~ 5200 2250
+Wire Wire Line
+ 5750 2250 5750 2500
+Wire Wire Line
+ 5750 2800 5750 3250
+Wire Wire Line
+ 5750 3650 5750 3700
+Wire Wire Line
+ 5750 4000 5750 4050
+Connection ~ 5750 4050
+Wire Wire Line
+ 5950 3000 5750 3000
+Connection ~ 5750 3000
+Wire Wire Line
+ 6250 2250 6250 2800
+Connection ~ 5750 2250
+Wire Wire Line
+ 6250 3200 6250 3350
+Wire Wire Line
+ 6250 3700 6250 3650
+Wire Wire Line
+ 6250 4000 6250 4050
+Connection ~ 6250 4050
+Wire Wire Line
+ 6600 2250 6600 2350
+Connection ~ 6250 2250
+Wire Wire Line
+ 6600 2750 6600 4050
+Connection ~ 6600 4050
+Wire Wire Line
+ 7250 2250 7250 2450
+Connection ~ 6600 2250
+Wire Wire Line
+ 6900 2550 6950 2550
+Wire Wire Line
+ 7650 2250 7650 2600
+Connection ~ 7250 2250
+Wire Wire Line
+ 7650 3000 7650 7200
+Wire Wire Line
+ 8300 2250 8300 2350
+Connection ~ 7650 2250
+Wire Wire Line
+ 8300 2650 8300 3200
+Wire Wire Line
+ 8300 4050 8300 3600
+Wire Wire Line
+ 7950 2800 8900 2800
+Connection ~ 8300 2800
+Wire Wire Line
+ 8900 2250 8900 2350
+Connection ~ 8300 2250
+Wire Wire Line
+ 8900 2900 8900 2650
+Wire Wire Line
+ 8900 3600 8900 3200
+Wire Wire Line
+ 8600 3400 8900 3400
+Connection ~ 8900 3400
+Wire Wire Line
+ 8900 4050 8900 3900
+Connection ~ 8300 4050
+Wire Wire Line
+ 5450 3450 5200 3450
+Connection ~ 5200 3450
+Connection ~ 8900 2800
+Connection ~ 8900 4050
+Wire Wire Line
+ 3800 4050 9450 4050
+Wire Wire Line
+ 9750 2250 9750 3850
+Connection ~ 8900 2250
+Wire Wire Line
+ 11000 2250 11000 3900
+Connection ~ 9750 2250
+Wire Wire Line
+ 2350 2250 16150 2250
+Wire Wire Line
+ 9350 4500 9350 4300
+Wire Wire Line
+ 9350 4300 10000 4300
+Wire Wire Line
+ 10000 4300 10000 4500
+Wire Wire Line
+ 9750 4250 9750 4300
+Connection ~ 9750 4300
+Wire Wire Line
+ 10800 4500 10800 4400
+Wire Wire Line
+ 10800 4400 11450 4400
+Wire Wire Line
+ 11450 4400 11450 4500
+Wire Wire Line
+ 11000 4300 11000 4400
+Connection ~ 11000 4400
+Wire Wire Line
+ 10500 4700 10300 4700
+Wire Wire Line
+ 3650 6650 4650 6650
+Wire Wire Line
+ 4950 7300 4950 6850
+Wire Wire Line
+ 4950 8250 4950 7600
+Connection ~ 4100 8250
+Connection ~ 4950 8250
+Wire Wire Line
+ 7650 7500 7650 8250
+Connection ~ 7650 8250
+Wire Wire Line
+ 8200 7350 8200 4900
+Wire Wire Line
+ 8200 8250 8200 7750
+Wire Wire Line
+ 8750 7550 8500 7550
+Wire Wire Line
+ 9050 7550 9600 7550
+Wire Wire Line
+ 8050 7200 8050 8250
+Connection ~ 8050 8250
+Wire Wire Line
+ 7750 7000 7650 7000
+Connection ~ 7650 7000
+Wire Wire Line
+ 8050 6800 8050 5700
+Wire Wire Line
+ 10800 4900 10800 5100
+Wire Wire Line
+ 10800 5100 4950 5100
+Wire Wire Line
+ 4950 5100 4950 6450
+Wire Wire Line
+ 10000 4900 10000 5100
+Connection ~ 10000 5100
+Wire Wire Line
+ 10400 4700 10400 5100
+Connection ~ 10400 5100
+Connection ~ 10400 4700
+Wire Wire Line
+ 8200 4900 9050 4900
+Wire Wire Line
+ 9050 4900 9050 5000
+Wire Wire Line
+ 9050 5000 9350 5000
+Wire Wire Line
+ 9350 5000 9350 4900
+Wire Wire Line
+ 9100 7000 9100 7550
+Connection ~ 9100 7550
+Wire Wire Line
+ 11450 4900 11450 5050
+Wire Wire Line
+ 11450 5050 11900 5050
+Wire Wire Line
+ 11900 5050 11900 7350
+Connection ~ 11900 5700
+Connection ~ 11900 6450
+Wire Wire Line
+ 11000 6450 10350 6450
+Wire Wire Line
+ 10350 6450 10350 7550
+Connection ~ 10350 7550
+Wire Wire Line
+ 8050 5700 13950 5700
+Wire Wire Line
+ 11300 6450 11900 6450
+Wire Wire Line
+ 12200 7400 12200 5700
+Connection ~ 12200 5700
+Wire Wire Line
+ 12750 6450 12200 6450
+Connection ~ 12200 6450
+Wire Wire Line
+ 12500 7600 14050 7600
+Wire Wire Line
+ 13050 6450 13550 6450
+Connection ~ 13550 6450
+Wire Wire Line
+ 9100 7000 8200 7000
+Connection ~ 8200 7000
+Wire Wire Line
+ 11900 8250 11900 7750
+Connection ~ 8200 8250
+Wire Wire Line
+ 12200 8250 12200 7800
+Connection ~ 13550 7600
+Wire Wire Line
+ 14250 5500 14250 5350
+Wire Wire Line
+ 14250 5350 14550 5350
+Wire Wire Line
+ 14550 5350 14550 3200
+Wire Wire Line
+ 14250 5900 14250 6000
+Wire Wire Line
+ 14250 6000 14900 6000
+Wire Wire Line
+ 14650 6000 14650 6800
+Wire Wire Line
+ 14650 7100 14650 7600
+Wire Wire Line
+ 15800 7600 14350 7600
+Connection ~ 14650 6000
+Wire Wire Line
+ 15200 6200 15200 6350
+Wire Wire Line
+ 15200 6350 15500 6350
+Wire Wire Line
+ 15400 7950 15400 6350
+Connection ~ 15400 6350
+Wire Wire Line
+ 15200 5800 15200 5500
+Wire Wire Line
+ 15200 5500 15800 5500
+Connection ~ 15800 5500
+Wire Wire Line
+ 14050 7950 13550 7950
+Connection ~ 13550 7950
+Wire Wire Line
+ 13550 5100 13550 5000
+Wire Wire Line
+ 13550 4500 13550 4700
+Connection ~ 15800 4500
+Wire Wire Line
+ 14550 2250 14550 2900
+Connection ~ 11000 2250
+Wire Wire Line
+ 15800 4200 15800 6150
+Connection ~ 14550 2250
+Wire Wire Line
+ 15800 2250 15800 2950
+Wire Wire Line
+ 15800 3250 15800 3900
+Connection ~ 15400 7950
+Wire Wire Line
+ 6950 3300 6250 3300
+Connection ~ 6250 3300
+Wire Wire Line
+ 7250 3100 7250 2750
+Wire Wire Line
+ 6950 2550 6950 2850
+Wire Wire Line
+ 6950 2850 7250 2850
+Connection ~ 7250 2850
+Wire Wire Line
+ 7250 3500 7250 4050
+Connection ~ 7250 4050
+Wire Wire Line
+ 3900 5700 3900 6250
+Connection ~ 3900 6250
+Wire Wire Line
+ 9650 4700 11150 4700
+Wire Wire Line
+ 9900 7550 11600 7550
+Connection ~ 12200 8250
+Connection ~ 11900 8250
+Connection ~ 14650 7600
+Wire Wire Line
+ 13550 7950 13550 5600
+Wire Wire Line
+ 14350 7950 15400 7950
+Wire Wire Line
+ 15800 6550 15800 7800
+Connection ~ 15800 7600
+Wire Wire Line
+ 15800 8100 15800 8500
+Connection ~ 15800 8250
+Wire Wire Line
+ 16150 2250 16150 2500
+Connection ~ 15800 2250
+$Comp
+L resistor R24
+U 1 1 66717340
+P 15750 4000
+F 0 "R24" H 15800 4130 50 0000 C CNN
+F 1 "1k" H 15800 3950 50 0000 C CNN
+F 2 "" H 15800 3980 30 0000 C CNN
+F 3 "" V 15800 4050 30 0000 C CNN
+ 1 15750 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 66717341
+P 15750 3050
+F 0 "R23" H 15800 3180 50 0000 C CNN
+F 1 "185" H 15800 3000 50 0000 C CNN
+F 2 "" H 15800 3030 30 0000 C CNN
+F 3 "" V 15800 3100 30 0000 C CNN
+ 1 15750 3050
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 11300 4100 15400 4100
+Wire Wire Line
+ 15400 4100 15400 3650
+Wire Wire Line
+ 15400 3650 15800 3650
+Connection ~ 15800 3650
+Wire Wire Line
+ 13550 4500 16250 4500
+$Comp
+L PORT U2
+U 3 1 6671790A
+P 16600 2500
+F 0 "U2" H 16650 2600 30 0000 C CNN
+F 1 "PORT" H 16600 2500 30 0000 C CNN
+F 2 "" H 16600 2500 60 0000 C CNN
+F 3 "" H 16600 2500 60 0000 C CNN
+ 3 16600 2500
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 16150 2500 16350 2500
+$Comp
+L PORT U2
+U 2 1 66717DCD
+P 16500 4500
+F 0 "U2" H 16550 4600 30 0000 C CNN
+F 1 "PORT" H 16500 4500 30 0000 C CNN
+F 2 "" H 16500 4500 60 0000 C CNN
+F 3 "" H 16500 4500 60 0000 C CNN
+ 2 16500 4500
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U2
+U 1 1 66718145
+P 15800 8750
+F 0 "U2" H 15850 8850 30 0000 C CNN
+F 1 "PORT" H 15800 8750 30 0000 C CNN
+F 2 "" H 15800 8750 60 0000 C CNN
+F 3 "" H 15800 8750 60 0000 C CNN
+ 1 15800 8750
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub
new file mode 100644
index 00000000..17d07b4f
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub.sub
@@ -0,0 +1,74 @@
+* Subcircuit MC7905_Sub
+.subckt MC7905_Sub net-_j1-pad2_ net-_q27-pad1_ net-_d1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc7905_sub\mc7905_sub.cir
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N4148
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N4148
+q1 net-_q1-pad1_ net-_d3-pad2_ net-_q1-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_d4-pad2_ net-_q1-pad3_ Q2N2907A
+r1 net-_d1-pad1_ net-_q1-pad3_ 3.6k
+j1 net-_d3-pad2_ net-_j1-pad2_ net-_j1-pad2_ J2N3819
+q4 net-_d4-pad2_ net-_q1-pad1_ net-_q2-pad2_ Q2N2222
+q2 net-_q1-pad1_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q6 net-_q2-pad2_ net-_q2-pad2_ net-_j1-pad2_ Q2N2222
+q7 net-_q7-pad1_ net-_q5-pad3_ net-_d4-pad2_ Q2N2222
+q5 net-_d1-pad1_ net-_q5-pad2_ net-_q5-pad3_ Q2N2222
+r3 net-_d1-pad1_ net-_q5-pad2_ 2.4k
+r2 net-_q5-pad3_ net-_d4-pad2_ 1.2k
+q9 net-_d1-pad1_ net-_q7-pad1_ net-_q10-pad2_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r4 net-_q5-pad2_ net-_q7-pad1_ 25
+r6 net-_q10-pad2_ net-_d4-pad2_ 12k
+q11 net-_d1-pad1_ net-_q10-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_d4-pad2_ net-_q12-pad2_ net-_d1-pad1_ Q2N2907A
+q13 net-_q12-pad2_ net-_q11-pad3_ net-_d4-pad2_ Q2N2222
+r8 net-_q10-pad3_ net-_d4-pad2_ 1.0k
+q14 net-_q14-pad1_ net-_q14-pad2_ net-_d1-pad1_ Q2N2907A
+r12 net-_d1-pad1_ net-_q14-pad2_ 2.0k
+r14 net-_q14-pad2_ net-_q17-pad2_ 1.0k
+r13 net-_d1-pad1_ net-_q14-pad2_ 8.0k
+r15 net-_q17-pad2_ net-_d4-pad2_ 1.6k
+q17 net-_q14-pad2_ net-_q17-pad2_ net-_d4-pad2_ Q2N2222
+r16 net-_q16-pad1_ net-_q16-pad2_ 20k
+r7 net-_d1-pad1_ net-_q10-pad1_ 14.7k
+r9 net-_q11-pad3_ net-_d4-pad1_ 4.0k
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+r10 net-_d1-pad1_ net-_q12-pad2_ 2.0k
+q19 net-_d1-pad1_ net-_d4-pad2_ net-_q18-pad3_ Q2N2222
+q22 net-_d1-pad1_ net-_q22-pad2_ net-_q21-pad3_ Q2N2222
+r21 net-_d1-pad1_ net-_q26-pad1_ 4.5k
+r11 net-_q14-pad1_ net-_j1-pad2_ 2.0k
+q18 net-_q16-pad1_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q20 net-_q18-pad2_ net-_q18-pad2_ net-_q18-pad3_ Q2N2907A
+q21 net-_q18-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q23 net-_c1-pad2_ net-_q18-pad2_ net-_q21-pad3_ Q2N2907A
+q8 net-_q18-pad2_ net-_q2-pad2_ net-_q8-pad3_ Q2N2222
+r5 net-_q8-pad3_ net-_j1-pad2_ 1.1k
+q15 net-_c1-pad2_ net-_q14-pad1_ net-_j1-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q16-pad2_ net-_j1-pad2_ Q2N2222
+r17 net-_c1-pad1_ net-_q16-pad1_ 20k
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+c2 net-_c1-pad2_ net-_c2-pad2_ 10pf
+q24 net-_c1-pad2_ net-_c1-pad1_ net-_j1-pad2_ Q2N2222
+q25 net-_c1-pad2_ net-_c2-pad2_ net-_j1-pad2_ Q2N2222
+r18 net-_q27-pad1_ net-_r18-pad2_ 10k
+* u1 net-_c2-pad2_ net-_r18-pad2_ zener
+q26 net-_q26-pad1_ net-_c1-pad2_ net-_q26-pad3_ Q2N2222
+r22 net-_q26-pad3_ net-_q28-pad3_ 10k
+r19 net-_q28-pad3_ net-_c2-pad2_ 240
+r20 net-_q27-pad3_ net-_c2-pad2_ 750
+q27 net-_q27-pad1_ net-_q26-pad3_ net-_q27-pad3_ Q2N2222
+q28 net-_q27-pad1_ net-_q27-pad3_ net-_q28-pad3_ Q2N2222
+r25 net-_q28-pad3_ net-_j1-pad2_ 0.3
+r24 net-_q22-pad2_ net-_q27-pad1_ 1k
+r23 net-_d1-pad1_ net-_q22-pad2_ 185
+a1 net-_c2-pad2_ net-_r18-pad2_ u1
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends MC7905_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml
new file mode 100644
index 00000000..b15c7c6c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/MC7905_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u1></model><devicemodel><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q21><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q23><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q26><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q28></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC7900_Sub/NJF.lib b/library/SubcircuitLibrary/MC7900_Sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/MC7900_Sub/NPN.lib b/library/SubcircuitLibrary/MC7900_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/MC7900_Sub/PNP.lib b/library/SubcircuitLibrary/MC7900_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/MC7900_Sub/analysis b/library/SubcircuitLibrary/MC7900_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/MC7900_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file