summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib160
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir49
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out65
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch726
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub59
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM78L_Sub/analysis1
11 files changed, 1146 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib
new file mode 100644
index 00000000..809d9541
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub-cache.lib
@@ -0,0 +1,160 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# zener
+#
+DEF zener U 0 40 Y Y 1 F N
+F0 "U" -50 -100 60 H V C CNN
+F1 "zener" 0 100 60 H V C CNN
+F2 "" 50 0 60 H V C CNN
+F3 "" 50 0 60 H V C CNN
+DRAW
+P 2 0 1 0 100 -50 50 -100 N
+P 2 0 1 0 100 50 100 -50 N
+P 2 0 1 0 100 50 150 100 N
+P 4 0 1 0 0 50 0 -50 100 0 0 50 N
+X ~ IN -200 0 200 R 50 43 1 1 I
+X ~ OUT 300 0 200 L 50 43 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir
new file mode 100644
index 00000000..040b159c
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir
@@ -0,0 +1,49 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM78L_sub\LM78L_sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/19/24 13:33:00
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+R1 Net-_J1-Pad1_ Net-_Q2-Pad3_ 418
+J1 Net-_J1-Pad1_ Net-_J1-Pad2_ Net-_J1-Pad3_ jfet_n
+Q2 Net-_Q1-Pad3_ Net-_Q1-Pad1_ Net-_Q2-Pad3_ eSim_PNP
+Q3 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q8 Net-_Q12-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q1-Pad3_ eSim_NPN
+Q4 Net-_Q1-Pad1_ Net-_Q1-Pad3_ Net-_Q4-Pad3_ eSim_NPN
+R2 Net-_Q4-Pad3_ Net-_Q7-Pad2_ 576
+Q7 Net-_Q7-Pad1_ Net-_Q7-Pad2_ Net-_Q4-Pad3_ eSim_PNP
+R3 Net-_Q7-Pad2_ Net-_R3-Pad2_ 3.41k
+U1 ? Net-_J1-Pad3_ zener
+R4 Net-_R3-Pad2_ Net-_Q11-Pad2_ 3.89k
+Q5 Net-_Q11-Pad2_ Net-_Q11-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+Q6 Net-_Q5-Pad3_ Net-_Q5-Pad3_ Net-_J1-Pad2_ eSim_NPN
+U2 Net-_J1-Pad2_ Net-_Q1-Pad3_ zener
+R5 Net-_Q7-Pad1_ Net-_J1-Pad2_ 7.8k
+Q9 Net-_Q12-Pad3_ Net-_Q7-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q12 Net-_J1-Pad2_ Net-_C1-Pad1_ Net-_Q12-Pad3_ eSim_PNP
+R8 Net-_Q12-Pad3_ Net-_C1-Pad1_ 5.76k
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q13 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R6 Net-_Q10-Pad2_ Net-_R3-Pad2_ 13k
+Q14 Net-_Q12-Pad3_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_NPN
+R9 Net-_Q14-Pad3_ Net-_R13-Pad1_ 100
+U4 Net-_Q14-Pad2_ Net-_R10-Pad1_ zener
+R11 Net-_Q16-Pad3_ Net-_Q14-Pad2_ 100
+Q15 Net-_J1-Pad1_ Net-_Q12-Pad3_ Net-_Q10-Pad1_ eSim_NPN
+R13 Net-_R13-Pad1_ Net-_Q10-Pad1_ 2.5k
+Q16 Net-_J1-Pad1_ Net-_Q10-Pad1_ Net-_Q16-Pad3_ eSim_NPN
+R14 Net-_R13-Pad1_ Net-_Q16-Pad3_ 1.9
+R10 Net-_R10-Pad1_ Net-_R10-Pad2_ 5k
+U3 Net-_R10-Pad2_ Net-_J1-Pad1_ zener
+Q11 Net-_Q10-Pad3_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R7 Net-_Q11-Pad3_ Net-_J1-Pad2_ 2.84k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5pF
+R12 Net-_R12-Pad1_ Net-_C1-Pad2_ 15k
+R15 Net-_R12-Pad1_ Net-_R13-Pad1_ 1.5k
+R16 Net-_J1-Pad2_ Net-_R12-Pad1_ 2.23k
+U5 Net-_J1-Pad1_ Net-_R13-Pad1_ Net-_J1-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out
new file mode 100644
index 00000000..08bd6f0a
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.cir.out
@@ -0,0 +1,65 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm78l_sub\lm78l_sub.cir
+
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q7-pad2_ 576
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A
+r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k
+* u1 ? net-_j1-pad3_ zener
+r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k
+q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+r5 net-_q7-pad1_ net-_j1-pad2_ 7.8k
+q9 net-_q12-pad3_ net-_q7-pad1_ net-_j1-pad2_ Q2N2222
+q12 net-_j1-pad2_ net-_c1-pad1_ net-_q12-pad3_ Q2N2907A
+r8 net-_q12-pad3_ net-_c1-pad1_ 5.76k
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q13 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad2_ net-_r3-pad2_ 13k
+q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222
+r9 net-_q14-pad3_ net-_r13-pad1_ 100
+* u4 net-_q14-pad2_ net-_r10-pad1_ zener
+r11 net-_q16-pad3_ net-_q14-pad2_ 100
+q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222
+r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k
+q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222
+r14 net-_r13-pad1_ net-_q16-pad3_ 1.9
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u3 net-_r10-pad2_ net-_j1-pad1_ zener
+q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_j1-pad2_ 2.84k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5pf
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+r15 net-_r12-pad1_ net-_r13-pad1_ 1.5k
+r16 net-_j1-pad2_ net-_r12-pad1_ 2.23k
+* u5 net-_j1-pad1_ net-_r13-pad1_ net-_j1-pad2_ port
+a1 ? net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_q14-pad2_ net-_r10-pad1_ u4
+a4 net-_r10-pad2_ net-_j1-pad1_ u3
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 0.01e-00 0.1e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.pro
@@ -0,0 +1,73 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch
new file mode 100644
index 00000000..d2b2a0a1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sch
@@ -0,0 +1,726 @@
+EESchema Schematic File Version 2
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:LM78L-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 17748 11236
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R1
+U 1 1 6671981A
+P 2850 1550
+F 0 "R1" H 2900 1680 50 0000 C CNN
+F 1 "418" H 2900 1500 50 0000 C CNN
+F 2 "" H 2900 1530 30 0000 C CNN
+F 3 "" V 2900 1600 30 0000 C CNN
+ 1 2850 1550
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 6671981B
+P 1700 2100
+F 0 "J1" H 1600 2150 50 0000 R CNN
+F 1 "jfet_n" H 1650 2250 50 0000 R CNN
+F 2 "" H 1900 2200 29 0000 C CNN
+F 3 "" H 1700 2100 60 0000 C CNN
+ 1 1700 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 6671981C
+P 3000 2200
+F 0 "Q2" H 2900 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 2950 2350 50 0000 R CNN
+F 2 "" H 3200 2300 29 0000 C CNN
+F 3 "" H 3000 2200 60 0000 C CNN
+ 1 3000 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q3
+U 1 1 6671981D
+P 3750 2200
+F 0 "Q3" H 3650 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 3700 2350 50 0000 R CNN
+F 2 "" H 3950 2300 29 0000 C CNN
+F 3 "" H 3750 2200 60 0000 C CNN
+ 1 3750 2200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 6671981E
+P 4350 2200
+F 0 "Q8" H 4250 2250 50 0000 R CNN
+F 1 "eSim_PNP" H 4300 2350 50 0000 R CNN
+F 2 "" H 4550 2300 29 0000 C CNN
+F 3 "" H 4350 2200 60 0000 C CNN
+ 1 4350 2200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6671981F
+P 2100 2750
+F 0 "Q1" H 2000 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 2050 2900 50 0000 R CNN
+F 2 "" H 2300 2850 29 0000 C CNN
+F 3 "" H 2100 2750 60 0000 C CNN
+ 1 2100 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66719820
+P 3800 3200
+F 0 "Q4" H 3700 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 3350 50 0000 R CNN
+F 2 "" H 4000 3300 29 0000 C CNN
+F 3 "" H 3800 3200 60 0000 C CNN
+ 1 3800 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66719821
+P 3850 3700
+F 0 "R2" H 3900 3830 50 0000 C CNN
+F 1 "576" H 3900 3650 50 0000 C CNN
+F 2 "" H 3900 3680 30 0000 C CNN
+F 3 "" V 3900 3750 30 0000 C CNN
+ 1 3850 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 66719822
+P 4300 4150
+F 0 "Q7" H 4200 4200 50 0000 R CNN
+F 1 "eSim_PNP" H 4250 4300 50 0000 R CNN
+F 2 "" H 4500 4250 29 0000 C CNN
+F 3 "" H 4300 4150 60 0000 C CNN
+ 1 4300 4150
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66719823
+P 3850 4650
+F 0 "R3" H 3900 4780 50 0000 C CNN
+F 1 "3.41k" H 3900 4600 50 0000 C CNN
+F 2 "" H 3900 4630 30 0000 C CNN
+F 3 "" V 3900 4700 30 0000 C CNN
+ 1 3850 4650
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U1
+U 1 1 66719824
+P 1800 5300
+F 0 "U1" H 1750 5200 60 0000 C CNN
+F 1 "zener" H 1800 5400 60 0000 C CNN
+F 2 "" H 1850 5300 60 0000 C CNN
+F 3 "" H 1850 5300 60 0000 C CNN
+ 1 1800 5300
+ 0 1 -1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66719825
+P 3850 5550
+F 0 "R4" H 3900 5680 50 0000 C CNN
+F 1 "3.89k" H 3900 5500 50 0000 C CNN
+F 2 "" H 3900 5530 30 0000 C CNN
+F 3 "" V 3900 5600 30 0000 C CNN
+ 1 3850 5550
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1800 2300 1800 5000
+Wire Wire Line
+ 1900 2750 1800 2750
+Connection ~ 1800 2750
+Wire Wire Line
+ 1800 1900 1800 1250
+Wire Wire Line
+ 1800 1250 11450 1250
+Wire Wire Line
+ 2900 1450 2900 1250
+Connection ~ 2900 1250
+Wire Wire Line
+ 2900 1750 2900 2000
+Wire Wire Line
+ 2200 2550 3850 2550
+Wire Wire Line
+ 2200 2950 2200 3200
+Wire Wire Line
+ 3900 3400 3900 3600
+Wire Wire Line
+ 3900 3900 3900 4550
+Wire Wire Line
+ 4100 4150 3900 4150
+Connection ~ 3900 4150
+Wire Wire Line
+ 3900 3500 4400 3500
+Wire Wire Line
+ 4400 3500 4400 3950
+Connection ~ 3900 3500
+Wire Wire Line
+ 3900 4850 3900 5450
+Wire Wire Line
+ 3900 5050 5300 5050
+Connection ~ 3900 5050
+$Comp
+L eSim_NPN Q5
+U 1 1 66719826
+P 3800 6300
+F 0 "Q5" H 3700 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 6450 50 0000 R CNN
+F 2 "" H 4000 6400 29 0000 C CNN
+F 3 "" H 3800 6300 60 0000 C CNN
+ 1 3800 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66719827
+P 3800 7050
+F 0 "Q6" H 3700 7100 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 7200 50 0000 R CNN
+F 2 "" H 4000 7150 29 0000 C CNN
+F 3 "" H 3800 7050 60 0000 C CNN
+ 1 3800 7050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3900 5750 3900 6100
+Wire Wire Line
+ 3900 6500 3900 6850
+$Comp
+L zener U2
+U 1 1 66719828
+P 2900 5150
+F 0 "U2" H 2850 5050 60 0000 C CNN
+F 1 "zener" H 2900 5250 60 0000 C CNN
+F 2 "" H 2950 5150 60 0000 C CNN
+F 3 "" H 2950 5150 60 0000 C CNN
+ 1 2900 5150
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2900 4850 2900 2400
+Wire Wire Line
+ 3850 2400 3850 3000
+Wire Wire Line
+ 3850 3000 3900 3000
+Wire Wire Line
+ 2200 3200 3600 3200
+Connection ~ 3850 2550
+Wire Wire Line
+ 3400 2200 3400 2450
+Wire Wire Line
+ 3400 2450 3850 2450
+Connection ~ 3850 2450
+Connection ~ 3400 2200
+Connection ~ 2900 3200
+Wire Wire Line
+ 3850 2000 3850 1900
+Wire Wire Line
+ 3850 1900 4450 1900
+Wire Wire Line
+ 4450 1900 4450 2000
+Wire Wire Line
+ 4150 1900 4150 1250
+Connection ~ 4150 1250
+Connection ~ 4150 1900
+Wire Wire Line
+ 4450 2400 4450 2500
+Wire Wire Line
+ 4450 2500 9350 2500
+Wire Wire Line
+ 3200 2200 4150 2200
+Wire Wire Line
+ 2900 5350 2900 7500
+Wire Wire Line
+ 1200 7500 11700 7500
+Wire Wire Line
+ 3900 7500 3900 7250
+Wire Wire Line
+ 1800 5450 1800 7500
+Connection ~ 2900 7500
+Wire Wire Line
+ 3600 7050 3300 7050
+Wire Wire Line
+ 3300 7050 3300 6650
+Wire Wire Line
+ 3300 6650 3900 6650
+Connection ~ 3900 6650
+Wire Wire Line
+ 3250 6300 3250 5900
+Wire Wire Line
+ 3250 5900 3900 5900
+Connection ~ 3900 5900
+Wire Wire Line
+ 1500 2100 1200 2100
+Wire Wire Line
+ 1200 2100 1200 7500
+Connection ~ 1800 7500
+Wire Wire Line
+ 4400 4350 4400 5450
+$Comp
+L resistor R5
+U 1 1 66719829
+P 4350 5550
+F 0 "R5" H 4400 5680 50 0000 C CNN
+F 1 "7.8k" H 4400 5500 50 0000 C CNN
+F 2 "" H 4400 5530 30 0000 C CNN
+F 3 "" V 4400 5600 30 0000 C CNN
+ 1 4350 5550
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4400 7500 4400 5750
+Connection ~ 3900 7500
+$Comp
+L eSim_NPN Q9
+U 1 1 6671982A
+P 5000 5300
+F 0 "Q9" H 4900 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 5450 50 0000 R CNN
+F 2 "" H 5200 5400 29 0000 C CNN
+F 3 "" H 5000 5300 60 0000 C CNN
+ 1 5000 5300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4800 5300 4400 5300
+Connection ~ 4400 5300
+Wire Wire Line
+ 5100 5100 5100 2500
+Connection ~ 5100 2500
+$Comp
+L eSim_PNP Q12
+U 1 1 6671982B
+P 6750 3600
+F 0 "Q12" H 6650 3650 50 0000 R CNN
+F 1 "eSim_PNP" H 6700 3750 50 0000 R CNN
+F 2 "" H 6950 3700 29 0000 C CNN
+F 3 "" H 6750 3600 60 0000 C CNN
+ 1 6750 3600
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 6671982C
+P 7450 3000
+F 0 "R8" H 7500 3130 50 0000 C CNN
+F 1 "5.76k" H 7500 2950 50 0000 C CNN
+F 2 "" H 7500 2980 30 0000 C CNN
+F 3 "" V 7500 3050 30 0000 C CNN
+ 1 7450 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6671982D
+P 6100 5050
+F 0 "Q10" H 6000 5100 50 0000 R CNN
+F 1 "eSim_NPN" H 6050 5200 50 0000 R CNN
+F 2 "" H 6300 5150 29 0000 C CNN
+F 3 "" H 6100 5050 60 0000 C CNN
+ 1 6100 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 6671982E
+P 7600 5000
+F 0 "Q13" H 7500 5050 50 0000 R CNN
+F 1 "eSim_NPN" H 7550 5150 50 0000 R CNN
+F 2 "" H 7800 5100 29 0000 C CNN
+F 3 "" H 7600 5000 60 0000 C CNN
+ 1 7600 5000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 6671982F
+P 5500 5000
+F 0 "R6" H 5550 5130 50 0000 C CNN
+F 1 "13k" H 5550 4950 50 0000 C CNN
+F 2 "" H 5550 4980 30 0000 C CNN
+F 3 "" V 5550 5050 30 0000 C CNN
+ 1 5500 5000
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 5900 5050 5600 5050
+Wire Wire Line
+ 6650 3400 6650 2500
+Connection ~ 6650 2500
+Wire Wire Line
+ 6650 3800 6650 7500
+Wire Wire Line
+ 6950 3600 7500 3600
+Wire Wire Line
+ 7500 3200 7500 4800
+Wire Wire Line
+ 7500 2500 7500 2900
+Connection ~ 7500 3600
+Wire Wire Line
+ 6200 4850 6200 3950
+Wire Wire Line
+ 6200 3950 10050 3950
+$Comp
+L eSim_NPN Q14
+U 1 1 66719830
+P 8200 3100
+F 0 "Q14" H 8100 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 3250 50 0000 R CNN
+F 2 "" H 8400 3200 29 0000 C CNN
+F 3 "" H 8200 3100 60 0000 C CNN
+ 1 8200 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 66719831
+P 8050 3500
+F 0 "R9" H 8100 3630 50 0000 C CNN
+F 1 "100" H 8100 3450 50 0000 C CNN
+F 2 "" H 8100 3480 30 0000 C CNN
+F 3 "" V 8100 3550 30 0000 C CNN
+ 1 8050 3500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 8100 2500 8100 2900
+Connection ~ 7500 2500
+$Comp
+L zener U4
+U 1 1 66719832
+P 8700 2850
+F 0 "U4" H 8650 2750 60 0000 C CNN
+F 1 "zener" H 8700 2950 60 0000 C CNN
+F 2 "" H 8750 2850 60 0000 C CNN
+F 3 "" H 8750 2850 60 0000 C CNN
+ 1 8700 2850
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 8700 2350 8700 2550
+Connection ~ 8100 2500
+Wire Wire Line
+ 8400 3100 9050 3100
+Wire Wire Line
+ 8700 3100 8700 3050
+Wire Wire Line
+ 8100 3300 8100 3400
+Wire Wire Line
+ 8100 3700 8100 3800
+Wire Wire Line
+ 8100 3800 11150 3800
+$Comp
+L resistor R11
+U 1 1 66719833
+P 9250 3050
+F 0 "R11" H 9300 3180 50 0000 C CNN
+F 1 "100" H 9300 3000 50 0000 C CNN
+F 2 "" H 9300 3030 30 0000 C CNN
+F 3 "" V 9300 3100 30 0000 C CNN
+ 1 9250 3050
+ -1 0 0 1
+$EndComp
+Connection ~ 8700 3100
+$Comp
+L eSim_NPN Q15
+U 1 1 66719834
+P 9550 2500
+F 0 "Q15" H 9450 2550 50 0000 R CNN
+F 1 "eSim_NPN" H 9500 2650 50 0000 R CNN
+F 2 "" H 9750 2600 29 0000 C CNN
+F 3 "" H 9550 2500 60 0000 C CNN
+ 1 9550 2500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9650 2700 9650 2750
+Wire Wire Line
+ 9650 2750 10450 2750
+Wire Wire Line
+ 10050 3950 10050 2750
+Connection ~ 10050 2750
+$Comp
+L resistor R13
+U 1 1 66719835
+P 10400 3550
+F 0 "R13" H 10450 3680 50 0000 C CNN
+F 1 "2.5k" H 10450 3500 50 0000 C CNN
+F 2 "" H 10450 3530 30 0000 C CNN
+F 3 "" V 10450 3600 30 0000 C CNN
+ 1 10400 3550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 10350 3350 10350 2750
+Connection ~ 10350 2750
+Wire Wire Line
+ 10350 3650 10350 3800
+Connection ~ 10350 3800
+$Comp
+L eSim_NPN Q16
+U 1 1 66719836
+P 10650 2750
+F 0 "Q16" H 10550 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 10600 2900 50 0000 R CNN
+F 2 "" H 10850 2850 29 0000 C CNN
+F 3 "" H 10650 2750 60 0000 C CNN
+ 1 10650 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 66719837
+P 10800 3550
+F 0 "R14" H 10850 3680 50 0000 C CNN
+F 1 "1.9" H 10850 3500 50 0000 C CNN
+F 2 "" H 10850 3530 30 0000 C CNN
+F 3 "" V 10850 3600 30 0000 C CNN
+ 1 10800 3550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 9350 3100 10750 3100
+Wire Wire Line
+ 10750 2950 10750 3350
+Connection ~ 10750 3100
+Wire Wire Line
+ 10750 3650 10750 4350
+Connection ~ 10750 3800
+$Comp
+L resistor R10
+U 1 1 66719838
+P 8750 2250
+F 0 "R10" H 8800 2380 50 0000 C CNN
+F 1 "5k" H 8800 2200 50 0000 C CNN
+F 2 "" H 8800 2230 30 0000 C CNN
+F 3 "" V 8800 2300 30 0000 C CNN
+ 1 8750 2250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L zener U3
+U 1 1 66719839
+P 8700 1750
+F 0 "U3" H 8650 1650 60 0000 C CNN
+F 1 "zener" H 8700 1850 60 0000 C CNN
+F 2 "" H 8750 1750 60 0000 C CNN
+F 3 "" H 8750 1750 60 0000 C CNN
+ 1 8700 1750
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 8700 1950 8700 2050
+Wire Wire Line
+ 8700 1250 8700 1450
+Wire Wire Line
+ 9650 1250 9650 2300
+Connection ~ 8700 1250
+Wire Wire Line
+ 10750 1250 10750 2550
+Connection ~ 9650 1250
+Connection ~ 10750 1250
+$Comp
+L eSim_NPN Q11
+U 1 1 6671983A
+P 6400 6300
+F 0 "Q11" H 6300 6350 50 0000 R CNN
+F 1 "eSim_NPN" H 6350 6450 50 0000 R CNN
+F 2 "" H 6600 6400 29 0000 C CNN
+F 3 "" H 6400 6300 60 0000 C CNN
+ 1 6400 6300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6200 5250 6200 5350
+Wire Wire Line
+ 6200 5350 7500 5350
+Wire Wire Line
+ 7500 5350 7500 5200
+Wire Wire Line
+ 6500 6100 6500 5350
+Connection ~ 6500 5350
+Wire Wire Line
+ 5100 7500 5100 5500
+Connection ~ 4400 7500
+$Comp
+L resistor R7
+U 1 1 6671983B
+P 6450 6850
+F 0 "R7" H 6500 6980 50 0000 C CNN
+F 1 "2.84k" H 6500 6800 50 0000 C CNN
+F 2 "" H 6500 6830 30 0000 C CNN
+F 3 "" V 6500 6900 30 0000 C CNN
+ 1 6450 6850
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6500 6750 6500 6500
+Wire Wire Line
+ 6500 7500 6500 7050
+Connection ~ 5100 7500
+Connection ~ 6500 7500
+$Comp
+L capacitor_polarised C1
+U 1 1 6671983C
+P 8150 4550
+F 0 "C1" H 8175 4650 50 0000 L CNN
+F 1 "5pF" H 8175 4450 50 0000 L CNN
+F 2 "" H 8150 4550 50 0001 C CNN
+F 3 "" H 8150 4550 50 0001 C CNN
+ 1 8150 4550
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 8000 4550 7500 4550
+Connection ~ 7500 4550
+Wire Wire Line
+ 8300 4550 8500 4550
+Wire Wire Line
+ 8500 4550 8500 5000
+Wire Wire Line
+ 7800 5000 9300 5000
+$Comp
+L resistor R12
+U 1 1 6671983D
+P 9500 4950
+F 0 "R12" H 9550 5080 50 0000 C CNN
+F 1 "15k" H 9550 4900 50 0000 C CNN
+F 2 "" H 9550 4930 30 0000 C CNN
+F 3 "" V 9550 5000 30 0000 C CNN
+ 1 9500 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 6671983E
+P 10800 4550
+F 0 "R15" H 10850 4680 50 0000 C CNN
+F 1 "1.5k" H 10850 4500 50 0000 C CNN
+F 2 "" H 10850 4530 30 0000 C CNN
+F 3 "" V 10850 4600 30 0000 C CNN
+ 1 10800 4550
+ 0 -1 -1 0
+$EndComp
+Connection ~ 8500 5000
+Wire Wire Line
+ 9600 5000 10750 5000
+Wire Wire Line
+ 10750 4650 10750 5950
+Connection ~ 6650 7500
+$Comp
+L resistor R16
+U 1 1 6671983F
+P 10800 6150
+F 0 "R16" H 10850 6280 50 0000 C CNN
+F 1 "2.23k" H 10850 6100 50 0000 C CNN
+F 2 "" H 10850 6130 30 0000 C CNN
+F 3 "" V 10850 6200 30 0000 C CNN
+ 1 10800 6150
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 10800 6250 10800 7500
+Wire Wire Line
+ 10800 6250 10750 6250
+Connection ~ 10750 5000
+Connection ~ 10800 7500
+Wire Wire Line
+ 3250 6300 6200 6300
+Connection ~ 3550 2200
+Connection ~ 3600 6300
+$Comp
+L PORT U5
+U 2 1 66719C33
+P 11400 3800
+F 0 "U5" H 11450 3900 30 0000 C CNN
+F 1 "PORT" H 11400 3800 30 0000 C CNN
+F 2 "" H 11400 3800 60 0000 C CNN
+F 3 "" H 11400 3800 60 0000 C CNN
+ 2 11400 3800
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 1 1 66719F7B
+P 11700 1250
+F 0 "U5" H 11750 1350 30 0000 C CNN
+F 1 "PORT" H 11700 1250 30 0000 C CNN
+F 2 "" H 11700 1250 60 0000 C CNN
+F 3 "" H 11700 1250 60 0000 C CNN
+ 1 11700 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 3 1 6671A2F2
+P 11950 7500
+F 0 "U5" H 12000 7600 30 0000 C CNN
+F 1 "PORT" H 11950 7500 30 0000 C CNN
+F 2 "" H 11950 7500 60 0000 C CNN
+F 3 "" H 11950 7500 60 0000 C CNN
+ 3 11950 7500
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub
new file mode 100644
index 00000000..ac44fde1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub.sub
@@ -0,0 +1,59 @@
+* Subcircuit LM78L_sub
+.subckt LM78L_sub net-_j1-pad1_ net-_r13-pad1_ net-_j1-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lm78l_sub\lm78l_sub.cir
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_q12-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q7-pad2_ 576
+q7 net-_q7-pad1_ net-_q7-pad2_ net-_q4-pad3_ Q2N2907A
+r3 net-_q7-pad2_ net-_r3-pad2_ 3.41k
+* u1 ? net-_j1-pad3_ zener
+r4 net-_r3-pad2_ net-_q11-pad2_ 3.89k
+q5 net-_q11-pad2_ net-_q11-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+r5 net-_q7-pad1_ net-_j1-pad2_ 7.8k
+q9 net-_q12-pad3_ net-_q7-pad1_ net-_j1-pad2_ Q2N2222
+q12 net-_j1-pad2_ net-_c1-pad1_ net-_q12-pad3_ Q2N2907A
+r8 net-_q12-pad3_ net-_c1-pad1_ 5.76k
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q13 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad3_ Q2N2222
+r6 net-_q10-pad2_ net-_r3-pad2_ 13k
+q14 net-_q12-pad3_ net-_q14-pad2_ net-_q14-pad3_ Q2N2222
+r9 net-_q14-pad3_ net-_r13-pad1_ 100
+* u4 net-_q14-pad2_ net-_r10-pad1_ zener
+r11 net-_q16-pad3_ net-_q14-pad2_ 100
+q15 net-_j1-pad1_ net-_q12-pad3_ net-_q10-pad1_ Q2N2222
+r13 net-_r13-pad1_ net-_q10-pad1_ 2.5k
+q16 net-_j1-pad1_ net-_q10-pad1_ net-_q16-pad3_ Q2N2222
+r14 net-_r13-pad1_ net-_q16-pad3_ 1.9
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u3 net-_r10-pad2_ net-_j1-pad1_ zener
+q11 net-_q10-pad3_ net-_q11-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_j1-pad2_ 2.84k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5pf
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+r15 net-_r12-pad1_ net-_r13-pad1_ 1.5k
+r16 net-_j1-pad2_ net-_r12-pad1_ 2.23k
+a1 ? net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_q14-pad2_ net-_r10-pad1_ u4
+a4 net-_r10-pad2_ net-_j1-pad1_ u3
+* Schematic Name: zener, NgSpice Name: zener
+.model u1 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends LM78L_sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml
new file mode 100644
index 00000000..0a2fd9c4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/LM78L_sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">5.6</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field4><field5 name="Enter Switch for Limiting (default=FALSE)">FALSE</field5></u1><u2 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)">5.6</field6><field7 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field7><field8 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field8><field9 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field9><field10 name="Enter Switch for Limiting (default=FALSE)">FALSE</field10></u2><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field14><field15 name="Enter Switch for Limiting (default=FALSE)">FALSE</field15></u4><u3 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)">5.6</field16><field17 name="Enter Breakdown Current (default=2.0e-2)">2.0e-2</field17><field18 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field18><field19 name="Enter Forward Emission Coefficient (default=1.0)">1.0</field19><field20 name="Enter Switch for Limiting (default=FALSE)">FALSE</field20></u3></model><devicemodel><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time">0</field1><field2 name="Step Time">0.01</field2><field3 name="Stop Time">0.1</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM78L_Sub/NJF.lib b/library/SubcircuitLibrary/LM78L_Sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/LM78L_Sub/NPN.lib b/library/SubcircuitLibrary/LM78L_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/LM78L_Sub/PNP.lib b/library/SubcircuitLibrary/LM78L_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/LM78L_Sub/analysis b/library/SubcircuitLibrary/LM78L_Sub/analysis
new file mode 100644
index 00000000..f709edd1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM78L_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.01e-00 0.1e-00 0e-00 \ No newline at end of file