summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC-cache.lib160
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir49
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir.out65
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC.pro73
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sch732
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sub59
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/LM140L_IC_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM140L_sub/analysis1
11 files changed, 1152 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM140L_sub/LM140L_IC-cache.lib b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC-cache.lib
new file mode 100644
index 00000000..809d9541
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC-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/LM140L_sub/LM140L_IC.cir b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir
new file mode 100644
index 00000000..7de39320
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir
@@ -0,0 +1,49 @@
+* D:\FOSSEE\eSim\library\SubcircuitLibrary\LM140L_IC\LM140L_IC.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/01/24 22:06:45
+
+* 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
+U1 Net-_J1-Pad2_ Net-_J1-Pad3_ zener
+Q1 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q1-Pad3_ eSim_NPN
+Q2 Net-_Q1-Pad3_ Net-_Q1-Pad1_ Net-_Q2-Pad3_ eSim_PNP
+U2 Net-_J1-Pad2_ Net-_Q1-Pad3_ zener
+Q3 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q7 Net-_Q11-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q4 Net-_Q1-Pad1_ Net-_Q1-Pad3_ Net-_Q4-Pad3_ eSim_NPN
+R2 Net-_Q4-Pad3_ Net-_Q8-Pad2_ 576
+R3 Net-_Q8-Pad2_ Net-_R3-Pad2_ 3.41k
+R4 Net-_R3-Pad2_ Net-_Q10-Pad2_ 3.89k
+Q5 Net-_Q10-Pad2_ Net-_Q10-Pad2_ Net-_Q5-Pad3_ eSim_NPN
+Q6 Net-_Q5-Pad3_ Net-_Q5-Pad3_ Net-_J1-Pad2_ eSim_NPN
+U3 Net-_R10-Pad1_ Net-_J1-Pad1_ zener
+R10 Net-_R10-Pad1_ Net-_R10-Pad2_ 5k
+U4 Net-_Q13-Pad2_ Net-_R10-Pad2_ zener
+Q15 Net-_J1-Pad1_ Net-_Q11-Pad3_ Net-_Q12-Pad1_ eSim_NPN
+Q9 Net-_Q11-Pad3_ Net-_Q8-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q8 Net-_Q8-Pad1_ Net-_Q8-Pad2_ Net-_Q4-Pad3_ eSim_PNP
+R5 Net-_Q8-Pad1_ Net-_J1-Pad2_ 7.8k
+Q16 Net-_J1-Pad1_ Net-_Q12-Pad1_ Net-_Q16-Pad3_ eSim_NPN
+Q12 Net-_Q12-Pad1_ Net-_Q12-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+R6 Net-_Q12-Pad2_ Net-_R3-Pad2_ 13k
+Q11 Net-_J1-Pad2_ Net-_C1-Pad1_ Net-_Q11-Pad3_ eSim_PNP
+R8 Net-_Q11-Pad3_ Net-_C1-Pad1_ 5.76k
+Q14 Net-_C1-Pad1_ Net-_C1-Pad2_ Net-_Q10-Pad1_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+R7 Net-_Q10-Pad3_ Net-_J1-Pad2_ 2.84k
+R9 Net-_Q13-Pad3_ Net-_R13-Pad2_ 100
+R14 Net-_Q16-Pad3_ Net-_R13-Pad2_ 1.9
+R13 Net-_Q12-Pad1_ Net-_R13-Pad2_ 2.5k
+R11 Net-_Q16-Pad3_ Net-_Q13-Pad2_ 100
+R15 Net-_R13-Pad2_ Net-_R12-Pad1_ 1.5k
+R12 Net-_R12-Pad1_ Net-_C1-Pad2_ 15k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5u
+R16 Net-_R12-Pad1_ Net-_J1-Pad2_ 2.23k
+Q13 Net-_Q11-Pad3_ Net-_Q13-Pad2_ Net-_Q13-Pad3_ eSim_NPN
+U5 Net-_J1-Pad1_ Net-_R13-Pad2_ Net-_J1-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir.out b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir.out
new file mode 100644
index 00000000..68cd633e
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.cir.out
@@ -0,0 +1,65 @@
+* d:\fossee\esim\library\subcircuitlibrary\lm140l_ic\lm140l_ic.cir
+
+.include NJF.lib
+.include NPN.lib
+.include PNP.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+* u1 net-_j1-pad2_ net-_j1-pad3_ zener
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q7 net-_q11-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q8-pad2_ 576
+r3 net-_q8-pad2_ net-_r3-pad2_ 3.41k
+r4 net-_r3-pad2_ net-_q10-pad2_ 3.89k
+q5 net-_q10-pad2_ net-_q10-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u3 net-_r10-pad1_ net-_j1-pad1_ zener
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u4 net-_q13-pad2_ net-_r10-pad2_ zener
+q15 net-_j1-pad1_ net-_q11-pad3_ net-_q12-pad1_ Q2N2222
+q9 net-_q11-pad3_ net-_q8-pad1_ net-_j1-pad2_ Q2N2222
+q8 net-_q8-pad1_ net-_q8-pad2_ net-_q4-pad3_ Q2N2907A
+r5 net-_q8-pad1_ net-_j1-pad2_ 7.8k
+q16 net-_j1-pad1_ net-_q12-pad1_ net-_q16-pad3_ Q2N2222
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q10-pad1_ Q2N2222
+r6 net-_q12-pad2_ net-_r3-pad2_ 13k
+q11 net-_j1-pad2_ net-_c1-pad1_ net-_q11-pad3_ Q2N2907A
+r8 net-_q11-pad3_ net-_c1-pad1_ 5.76k
+q14 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad1_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r7 net-_q10-pad3_ net-_j1-pad2_ 2.84k
+r9 net-_q13-pad3_ net-_r13-pad2_ 100
+r14 net-_q16-pad3_ net-_r13-pad2_ 1.9
+r13 net-_q12-pad1_ net-_r13-pad2_ 2.5k
+r11 net-_q16-pad3_ net-_q13-pad2_ 100
+r15 net-_r13-pad2_ net-_r12-pad1_ 1.5k
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5u
+r16 net-_r12-pad1_ net-_j1-pad2_ 2.23k
+q13 net-_q11-pad3_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+* u5 net-_j1-pad1_ net-_r13-pad2_ net-_j1-pad2_ port
+a1 net-_j1-pad2_ net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_r10-pad1_ net-_j1-pad1_ u3
+a4 net-_q13-pad2_ net-_r10-pad2_ u4
+* 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 u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.tran 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/LM140L_sub/LM140L_IC.pro b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.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/LM140L_sub/LM140L_IC.sch b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sch
new file mode 100644
index 00000000..fee2452b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sch
@@ -0,0 +1,732 @@
+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:LM140L_IC-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L resistor R1
+U 1 1 666EB6C4
+P 2300 1550
+F 0 "R1" H 2350 1680 50 0000 C CNN
+F 1 "418" H 2350 1500 50 0000 C CNN
+F 2 "" H 2350 1530 30 0000 C CNN
+F 3 "" V 2350 1600 30 0000 C CNN
+ 1 2300 1550
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 666EB6C5
+P 1650 1800
+F 0 "J1" H 1550 1850 50 0000 R CNN
+F 1 "jfet_n" H 1600 1950 50 0000 R CNN
+F 2 "" H 1850 1900 29 0000 C CNN
+F 3 "" H 1650 1800 60 0000 C CNN
+ 1 1650 1800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1750 1600 1750 1300
+Wire Wire Line
+ 1750 1300 7600 1300
+Wire Wire Line
+ 2350 1300 2350 1450
+$Comp
+L zener U1
+U 1 1 666EB6C6
+P 1750 3600
+F 0 "U1" H 1700 3500 60 0000 C CNN
+F 1 "zener" H 1750 3700 60 0000 C CNN
+F 2 "" H 1800 3600 60 0000 C CNN
+F 3 "" H 1800 3600 60 0000 C CNN
+ 1 1750 3600
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 1750 2000 1750 3300
+$Comp
+L eSim_NPN Q1
+U 1 1 666EB6C7
+P 2000 2550
+F 0 "Q1" H 1900 2600 50 0000 R CNN
+F 1 "eSim_NPN" H 1950 2700 50 0000 R CNN
+F 2 "" H 2200 2650 29 0000 C CNN
+F 3 "" H 2000 2550 60 0000 C CNN
+ 1 2000 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 666EB6C8
+P 2450 2000
+F 0 "Q2" H 2350 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 2400 2150 50 0000 R CNN
+F 2 "" H 2650 2100 29 0000 C CNN
+F 3 "" H 2450 2000 60 0000 C CNN
+ 1 2450 2000
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 2350 1800 2350 1750
+$Comp
+L zener U2
+U 1 1 666EB6C9
+P 2350 3600
+F 0 "U2" H 2300 3500 60 0000 C CNN
+F 1 "zener" H 2350 3700 60 0000 C CNN
+F 2 "" H 2400 3600 60 0000 C CNN
+F 3 "" H 2400 3600 60 0000 C CNN
+ 1 2350 3600
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2350 2200 2350 3300
+$Comp
+L eSim_PNP Q3
+U 1 1 666EB6CA
+P 3050 2000
+F 0 "Q3" H 2950 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 3000 2150 50 0000 R CNN
+F 2 "" H 3250 2100 29 0000 C CNN
+F 3 "" H 3050 2000 60 0000 C CNN
+ 1 3050 2000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 666EB6CB
+P 3500 2000
+F 0 "Q7" H 3400 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 3450 2150 50 0000 R CNN
+F 2 "" H 3700 2100 29 0000 C CNN
+F 3 "" H 3500 2000 60 0000 C CNN
+ 1 3500 2000
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 2650 2000 3300 2000
+Wire Wire Line
+ 3150 1800 3600 1800
+Wire Wire Line
+ 3400 1300 3400 1800
+Connection ~ 2350 1300
+Connection ~ 3400 1800
+Connection ~ 2850 2000
+$Comp
+L eSim_NPN Q4
+U 1 1 666EB6CC
+P 3050 2700
+F 0 "Q4" H 2950 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 3000 2850 50 0000 R CNN
+F 2 "" H 3250 2800 29 0000 C CNN
+F 3 "" H 3050 2700 60 0000 C CNN
+ 1 3050 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3150 2200 3150 2500
+Wire Wire Line
+ 2750 2000 2750 2350
+Wire Wire Line
+ 2750 2350 3150 2350
+Connection ~ 3150 2350
+Connection ~ 2750 2000
+Wire Wire Line
+ 2200 2700 2850 2700
+Wire Wire Line
+ 2200 2700 2200 2750
+Wire Wire Line
+ 2200 2750 2100 2750
+Connection ~ 2350 2700
+Wire Wire Line
+ 2100 2350 2600 2350
+Wire Wire Line
+ 2600 2350 2600 2450
+Wire Wire Line
+ 2600 2450 3150 2450
+Connection ~ 3150 2450
+Wire Wire Line
+ 1800 2550 1750 2550
+Connection ~ 1750 2550
+$Comp
+L resistor R2
+U 1 1 666EB6CD
+P 3100 3150
+F 0 "R2" H 3150 3280 50 0000 C CNN
+F 1 "576" H 3150 3100 50 0000 C CNN
+F 2 "" H 3150 3130 30 0000 C CNN
+F 3 "" V 3150 3200 30 0000 C CNN
+ 1 3100 3150
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 666EB6CE
+P 3100 3600
+F 0 "R3" H 3150 3730 50 0000 C CNN
+F 1 "3.41k" H 3150 3550 50 0000 C CNN
+F 2 "" H 3150 3580 30 0000 C CNN
+F 3 "" V 3150 3650 30 0000 C CNN
+ 1 3100 3600
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3150 2900 3150 3050
+Wire Wire Line
+ 3150 3350 3150 3500
+$Comp
+L resistor R4
+U 1 1 666EB6CF
+P 3100 4300
+F 0 "R4" H 3150 4430 50 0000 C CNN
+F 1 "3.89k" H 3150 4250 50 0000 C CNN
+F 2 "" H 3150 4280 30 0000 C CNN
+F 3 "" V 3150 4350 30 0000 C CNN
+ 1 3100 4300
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3150 3800 3150 4200
+$Comp
+L eSim_NPN Q5
+U 1 1 666EB6D0
+P 3050 5000
+F 0 "Q5" H 2950 5050 50 0000 R CNN
+F 1 "eSim_NPN" H 3000 5150 50 0000 R CNN
+F 2 "" H 3250 5100 29 0000 C CNN
+F 3 "" H 3050 5000 60 0000 C CNN
+ 1 3050 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 666EB6D1
+P 3050 5600
+F 0 "Q6" H 2950 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 3000 5750 50 0000 R CNN
+F 2 "" H 3250 5700 29 0000 C CNN
+F 3 "" H 3050 5600 60 0000 C CNN
+ 1 3050 5600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3150 4500 3150 4800
+Wire Wire Line
+ 3150 5200 3150 5400
+Wire Wire Line
+ 2750 5000 4500 5000
+Wire Wire Line
+ 2750 5000 2750 4700
+Wire Wire Line
+ 2750 4700 3150 4700
+Connection ~ 3150 4700
+Wire Wire Line
+ 2850 5600 2850 5350
+Wire Wire Line
+ 2850 5350 3150 5350
+Connection ~ 3150 5350
+Wire Wire Line
+ 1750 3800 1750 6000
+Wire Wire Line
+ 1250 6000 7250 6000
+Wire Wire Line
+ 3150 6000 3150 5800
+Wire Wire Line
+ 2350 3800 2350 6000
+Connection ~ 2350 6000
+Wire Wire Line
+ 1450 1800 1250 1800
+Wire Wire Line
+ 1250 1800 1250 6000
+Connection ~ 1750 6000
+$Comp
+L zener U3
+U 1 1 666EB6D2
+P 5650 1650
+F 0 "U3" H 5600 1550 60 0000 C CNN
+F 1 "zener" H 5650 1750 60 0000 C CNN
+F 2 "" H 5700 1650 60 0000 C CNN
+F 3 "" H 5700 1650 60 0000 C CNN
+ 1 5650 1650
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 5650 1300 5650 1350
+Connection ~ 3400 1300
+$Comp
+L resistor R10
+U 1 1 666EB6D3
+P 5600 2000
+F 0 "R10" H 5650 2130 50 0000 C CNN
+F 1 "5k" H 5650 1950 50 0000 C CNN
+F 2 "" H 5650 1980 30 0000 C CNN
+F 3 "" V 5650 2050 30 0000 C CNN
+ 1 5600 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L zener U4
+U 1 1 666EB6D4
+P 5650 2700
+F 0 "U4" H 5600 2600 60 0000 C CNN
+F 1 "zener" H 5650 2800 60 0000 C CNN
+F 2 "" H 5700 2700 60 0000 C CNN
+F 3 "" H 5700 2700 60 0000 C CNN
+ 1 5650 2700
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 666EB6D5
+P 6250 2350
+F 0 "Q15" H 6150 2400 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 2500 50 0000 R CNN
+F 2 "" H 6450 2450 29 0000 C CNN
+F 3 "" H 6250 2350 60 0000 C CNN
+ 1 6250 2350
+ 1 0 0 -1
+$EndComp
+Connection ~ 5650 1300
+Wire Wire Line
+ 5650 1900 5650 1850
+Wire Wire Line
+ 6350 1300 6350 2150
+Wire Wire Line
+ 3600 2350 6050 2350
+Wire Wire Line
+ 3600 2350 3600 2200
+$Comp
+L eSim_NPN Q9
+U 1 1 666EB6D6
+P 4150 4650
+F 0 "Q9" H 4050 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 4800 50 0000 R CNN
+F 2 "" H 4350 4750 29 0000 C CNN
+F 3 "" H 4150 4650 60 0000 C CNN
+ 1 4150 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 666EB6D7
+P 3650 3400
+F 0 "Q8" H 3550 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 3600 3550 50 0000 R CNN
+F 2 "" H 3850 3500 29 0000 C CNN
+F 3 "" H 3650 3400 60 0000 C CNN
+ 1 3650 3400
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 3750 3200 3750 3000
+Wire Wire Line
+ 3750 3000 3150 3000
+Connection ~ 3150 3000
+Wire Wire Line
+ 3450 3400 3150 3400
+Connection ~ 3150 3400
+$Comp
+L resistor R5
+U 1 1 666EB6D8
+P 3700 5000
+F 0 "R5" H 3750 5130 50 0000 C CNN
+F 1 "7.8k" H 3750 4950 50 0000 C CNN
+F 2 "" H 3750 4980 30 0000 C CNN
+F 3 "" V 3750 5050 30 0000 C CNN
+ 1 3700 5000
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3750 3600 3750 4900
+Wire Wire Line
+ 3750 6000 3750 5200
+Connection ~ 3150 6000
+Wire Wire Line
+ 3950 4650 3750 4650
+Connection ~ 3750 4650
+Wire Wire Line
+ 4250 4450 4250 2350
+Connection ~ 4250 2350
+Wire Wire Line
+ 4250 6000 4250 4850
+Connection ~ 3750 6000
+Wire Wire Line
+ 5650 2400 5650 2200
+$Comp
+L eSim_NPN Q16
+U 1 1 666EB6D9
+P 7150 2700
+F 0 "Q16" H 7050 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 2850 50 0000 R CNN
+F 2 "" H 7350 2800 29 0000 C CNN
+F 3 "" H 7150 2700 60 0000 C CNN
+ 1 7150 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7250 1300 7250 2500
+Connection ~ 6350 1300
+Wire Wire Line
+ 6350 2550 6350 2700
+Wire Wire Line
+ 6350 2700 6950 2700
+$Comp
+L eSim_NPN Q12
+U 1 1 666EB6DA
+P 4750 4000
+F 0 "Q12" H 4650 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 4700 4150 50 0000 R CNN
+F 2 "" H 4950 4100 29 0000 C CNN
+F 3 "" H 4750 4000 60 0000 C CNN
+ 1 4750 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 666EB6DB
+P 4050 3950
+F 0 "R6" H 4100 4080 50 0000 C CNN
+F 1 "13k" H 4100 3900 50 0000 C CNN
+F 2 "" H 4100 3930 30 0000 C CNN
+F 3 "" V 4100 4000 30 0000 C CNN
+ 1 4050 3950
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 4550 4000 4150 4000
+Wire Wire Line
+ 3850 4000 3150 4000
+Connection ~ 3150 4000
+Wire Wire Line
+ 4850 3800 4850 3100
+Wire Wire Line
+ 4850 3100 6450 3100
+Wire Wire Line
+ 6450 3100 6450 2700
+Connection ~ 6450 2700
+$Comp
+L eSim_PNP Q11
+U 1 1 666EB6DC
+P 4750 2800
+F 0 "Q11" H 4650 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 4700 2950 50 0000 R CNN
+F 2 "" H 4950 2900 29 0000 C CNN
+F 3 "" H 4750 2800 60 0000 C CNN
+ 1 4750 2800
+ -1 0 0 1
+$EndComp
+Connection ~ 4250 6000
+$Comp
+L resistor R8
+U 1 1 666EB6DD
+P 5000 2500
+F 0 "R8" H 5050 2630 50 0000 C CNN
+F 1 "5.76k" H 5050 2450 50 0000 C CNN
+F 2 "" H 5050 2480 30 0000 C CNN
+F 3 "" V 5050 2550 30 0000 C CNN
+ 1 5000 2500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4950 6000 4950 3000
+$Comp
+L eSim_NPN Q14
+U 1 1 666EB6DE
+P 5450 4000
+F 0 "Q14" H 5350 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 4150 50 0000 R CNN
+F 2 "" H 5650 4100 29 0000 C CNN
+F 3 "" H 5450 4000 60 0000 C CNN
+ 1 5450 4000
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4850 4200 5350 4200
+$Comp
+L eSim_NPN Q10
+U 1 1 666EB6DF
+P 4700 5000
+F 0 "Q10" H 4600 5050 50 0000 R CNN
+F 1 "eSim_NPN" H 4650 5150 50 0000 R CNN
+F 2 "" H 4900 5100 29 0000 C CNN
+F 3 "" H 4700 5000 60 0000 C CNN
+ 1 4700 5000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4800 4800 4900 4800
+Wire Wire Line
+ 4900 4800 4900 4200
+Connection ~ 4900 4200
+Connection ~ 2850 5000
+$Comp
+L resistor R7
+U 1 1 666EB6E0
+P 4750 5500
+F 0 "R7" H 4800 5630 50 0000 C CNN
+F 1 "2.84k" H 4800 5450 50 0000 C CNN
+F 2 "" H 4800 5480 30 0000 C CNN
+F 3 "" V 4800 5550 30 0000 C CNN
+ 1 4750 5500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4800 5400 4800 5200
+Wire Wire Line
+ 4800 5700 4800 6000
+Connection ~ 4800 6000
+$Comp
+L resistor R9
+U 1 1 666EB6E1
+P 5200 3350
+F 0 "R9" H 5250 3480 50 0000 C CNN
+F 1 "100" H 5250 3300 50 0000 C CNN
+F 2 "" H 5250 3330 30 0000 C CNN
+F 3 "" V 5250 3400 30 0000 C CNN
+ 1 5200 3350
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R14
+U 1 1 666EB6E2
+P 7200 3200
+F 0 "R14" H 7250 3330 50 0000 C CNN
+F 1 "1.9" H 7250 3150 50 0000 C CNN
+F 2 "" H 7250 3180 30 0000 C CNN
+F 3 "" V 7250 3250 30 0000 C CNN
+ 1 7200 3200
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 666EB6E3
+P 6700 3200
+F 0 "R13" H 6750 3330 50 0000 C CNN
+F 1 "2.5k" H 6750 3150 50 0000 C CNN
+F 2 "" H 6750 3180 30 0000 C CNN
+F 3 "" V 6750 3250 30 0000 C CNN
+ 1 6700 3200
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6750 3100 6750 2700
+Connection ~ 6750 2700
+Wire Wire Line
+ 7250 2900 7250 3100
+$Comp
+L resistor R11
+U 1 1 666EB6E4
+P 6150 2950
+F 0 "R11" H 6200 3080 50 0000 C CNN
+F 1 "100" H 6200 2900 50 0000 C CNN
+F 2 "" H 6200 2930 30 0000 C CNN
+F 3 "" V 6200 3000 30 0000 C CNN
+ 1 6150 2950
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 5550 3000 5950 3000
+Wire Wire Line
+ 6250 3000 7250 3000
+Connection ~ 7250 3000
+Wire Wire Line
+ 5250 3650 7950 3650
+Wire Wire Line
+ 7250 3400 7250 3900
+Wire Wire Line
+ 6750 3400 6750 3650
+Connection ~ 6750 3650
+$Comp
+L resistor R15
+U 1 1 666EB6E5
+P 7200 4000
+F 0 "R15" H 7250 4130 50 0000 C CNN
+F 1 "1.5k" H 7250 3950 50 0000 C CNN
+F 2 "" H 7250 3980 30 0000 C CNN
+F 3 "" V 7250 4050 30 0000 C CNN
+ 1 7200 4000
+ 0 1 1 0
+$EndComp
+Connection ~ 7250 3650
+Wire Wire Line
+ 6900 4000 6900 4450
+Wire Wire Line
+ 6900 4450 7250 4450
+Wire Wire Line
+ 7250 4200 7250 5100
+$Comp
+L resistor R12
+U 1 1 666EB6E6
+P 6450 3950
+F 0 "R12" H 6500 4080 50 0000 C CNN
+F 1 "15k" H 6500 3900 50 0000 C CNN
+F 2 "" H 6500 3930 30 0000 C CNN
+F 3 "" V 6500 4000 30 0000 C CNN
+ 1 6450 3950
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 6550 4000 6900 4000
+Wire Wire Line
+ 5650 4000 6250 4000
+$Comp
+L capacitor_polarised C1
+U 1 1 666EB6E7
+P 5850 3750
+F 0 "C1" H 5875 3850 50 0000 L CNN
+F 1 "5u" H 5875 3650 50 0000 L CNN
+F 2 "" H 5850 3750 50 0001 C CNN
+F 3 "" H 5850 3750 50 0001 C CNN
+ 1 5850 3750
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 6000 3750 6100 3750
+Wire Wire Line
+ 6100 3750 6100 4000
+Connection ~ 6100 4000
+Wire Wire Line
+ 5700 3750 5350 3750
+Connection ~ 5350 3750
+$Comp
+L resistor R16
+U 1 1 666EB6E8
+P 7200 5200
+F 0 "R16" H 7250 5330 50 0000 C CNN
+F 1 "2.23k" H 7250 5150 50 0000 C CNN
+F 2 "" H 7250 5180 30 0000 C CNN
+F 3 "" V 7250 5250 30 0000 C CNN
+ 1 7200 5200
+ 0 1 1 0
+$EndComp
+Connection ~ 7250 4450
+Wire Wire Line
+ 7250 5400 7250 6250
+Connection ~ 4950 6000
+Wire Wire Line
+ 5350 3700 5350 3800
+Wire Wire Line
+ 5050 3700 5350 3700
+Wire Wire Line
+ 5050 2700 5050 3700
+Wire Wire Line
+ 5050 2400 5050 2350
+Connection ~ 5050 2350
+Wire Wire Line
+ 4950 2800 5050 2800
+Connection ~ 5050 2800
+Wire Wire Line
+ 4650 2600 4650 2350
+Connection ~ 4650 2350
+Wire Wire Line
+ 4950 3000 4650 3000
+$Comp
+L eSim_NPN Q13
+U 1 1 666EB6E9
+P 5350 3000
+F 0 "Q13" H 5250 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 3150 50 0000 R CNN
+F 2 "" H 5550 3100 29 0000 C CNN
+F 3 "" H 5350 3000 60 0000 C CNN
+ 1 5350 3000
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5250 2800 5250 2350
+Connection ~ 5250 2350
+Wire Wire Line
+ 5650 2900 5650 3000
+Connection ~ 5650 3000
+Wire Wire Line
+ 5250 3250 5250 3200
+Wire Wire Line
+ 5250 3550 5250 3650
+Connection ~ 7250 1300
+Connection ~ 7250 6000
+Wire Wire Line
+ 7950 3650 7950 3550
+$Comp
+L PORT U5
+U 1 1 666EBC17
+P 7850 1300
+F 0 "U5" H 7900 1400 30 0000 C CNN
+F 1 "PORT" H 7850 1300 30 0000 C CNN
+F 2 "" H 7850 1300 60 0000 C CNN
+F 3 "" H 7850 1300 60 0000 C CNN
+ 1 7850 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 2 1 666EC091
+P 8200 3550
+F 0 "U5" H 8250 3650 30 0000 C CNN
+F 1 "PORT" H 8200 3550 30 0000 C CNN
+F 2 "" H 8200 3550 60 0000 C CNN
+F 3 "" H 8200 3550 60 0000 C CNN
+ 2 8200 3550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U5
+U 3 1 666EC2BD
+P 7250 6500
+F 0 "U5" H 7300 6600 30 0000 C CNN
+F 1 "PORT" H 7250 6500 30 0000 C CNN
+F 2 "" H 7250 6500 60 0000 C CNN
+F 3 "" H 7250 6500 60 0000 C CNN
+ 3 7250 6500
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sub b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sub
new file mode 100644
index 00000000..c8bd59c9
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC.sub
@@ -0,0 +1,59 @@
+* Subcircuit LM140L_IC
+.subckt LM140L_IC net-_j1-pad1_ net-_r13-pad2_ net-_j1-pad2_
+* d:\fossee\esim\library\subcircuitlibrary\lm140l_ic\lm140l_ic.cir
+.include NJF.lib
+.include NPN.lib
+.include PNP.lib
+r1 net-_j1-pad1_ net-_q2-pad3_ 418
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+* u1 net-_j1-pad2_ net-_j1-pad3_ zener
+q1 net-_q1-pad1_ net-_j1-pad3_ net-_q1-pad3_ Q2N2222
+q2 net-_q1-pad3_ net-_q1-pad1_ net-_q2-pad3_ Q2N2907A
+* u2 net-_j1-pad2_ net-_q1-pad3_ zener
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q7 net-_q11-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q4 net-_q1-pad1_ net-_q1-pad3_ net-_q4-pad3_ Q2N2222
+r2 net-_q4-pad3_ net-_q8-pad2_ 576
+r3 net-_q8-pad2_ net-_r3-pad2_ 3.41k
+r4 net-_r3-pad2_ net-_q10-pad2_ 3.89k
+q5 net-_q10-pad2_ net-_q10-pad2_ net-_q5-pad3_ Q2N2222
+q6 net-_q5-pad3_ net-_q5-pad3_ net-_j1-pad2_ Q2N2222
+* u3 net-_r10-pad1_ net-_j1-pad1_ zener
+r10 net-_r10-pad1_ net-_r10-pad2_ 5k
+* u4 net-_q13-pad2_ net-_r10-pad2_ zener
+q15 net-_j1-pad1_ net-_q11-pad3_ net-_q12-pad1_ Q2N2222
+q9 net-_q11-pad3_ net-_q8-pad1_ net-_j1-pad2_ Q2N2222
+q8 net-_q8-pad1_ net-_q8-pad2_ net-_q4-pad3_ Q2N2907A
+r5 net-_q8-pad1_ net-_j1-pad2_ 7.8k
+q16 net-_j1-pad1_ net-_q12-pad1_ net-_q16-pad3_ Q2N2222
+q12 net-_q12-pad1_ net-_q12-pad2_ net-_q10-pad1_ Q2N2222
+r6 net-_q12-pad2_ net-_r3-pad2_ 13k
+q11 net-_j1-pad2_ net-_c1-pad1_ net-_q11-pad3_ Q2N2907A
+r8 net-_q11-pad3_ net-_c1-pad1_ 5.76k
+q14 net-_c1-pad1_ net-_c1-pad2_ net-_q10-pad1_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+r7 net-_q10-pad3_ net-_j1-pad2_ 2.84k
+r9 net-_q13-pad3_ net-_r13-pad2_ 100
+r14 net-_q16-pad3_ net-_r13-pad2_ 1.9
+r13 net-_q12-pad1_ net-_r13-pad2_ 2.5k
+r11 net-_q16-pad3_ net-_q13-pad2_ 100
+r15 net-_r13-pad2_ net-_r12-pad1_ 1.5k
+r12 net-_r12-pad1_ net-_c1-pad2_ 15k
+c1 net-_c1-pad1_ net-_c1-pad2_ 5u
+r16 net-_r12-pad1_ net-_j1-pad2_ 2.23k
+q13 net-_q11-pad3_ net-_q13-pad2_ net-_q13-pad3_ Q2N2222
+a1 net-_j1-pad2_ net-_j1-pad3_ u1
+a2 net-_j1-pad2_ net-_q1-pad3_ u2
+a3 net-_r10-pad1_ net-_j1-pad1_ u3
+a4 net-_q13-pad2_ net-_r10-pad2_ u4
+* 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 u3 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=2.0e-2 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends LM140L_IC \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM140L_sub/LM140L_IC_Previous_Values.xml b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC_Previous_Values.xml
new file mode 100644
index 00000000..c58cd7ba
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/LM140L_IC_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u1 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)" /><field2 name="Enter Breakdown Current (default=2.0e-2)" /><field3 name="Enter Saturation Current (default=1.0e-12)" /><field4 name="Enter Forward Emission Coefficient (default=1.0)" /><field5 name="Enter Switch for Limiting (default=FALSE)" /></u1><u2 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)" /><field7 name="Enter Breakdown Current (default=2.0e-2)" /><field8 name="Enter Saturation Current (default=1.0e-12)" /><field9 name="Enter Forward Emission Coefficient (default=1.0)" /><field10 name="Enter Switch for Limiting (default=FALSE)" /></u2><u3 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)" /><field12 name="Enter Breakdown Current (default=2.0e-2)" /><field13 name="Enter Saturation Current (default=1.0e-12)" /><field14 name="Enter Forward Emission Coefficient (default=1.0)" /><field15 name="Enter Switch for Limiting (default=FALSE)" /></u3><u4 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)" /><field17 name="Enter Breakdown Current (default=2.0e-2)" /><field18 name="Enter Saturation Current (default=1.0e-12)" /><field19 name="Enter Forward Emission Coefficient (default=1.0)" /><field20 name="Enter Switch for Limiting (default=FALSE)" /></u4></model><devicemodel><j1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q1><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q3><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q3><q7><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q4><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q5><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q15><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q9><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q8><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q16><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q12><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q11><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q11><q14><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q10><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q13><field>D:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><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/LM140L_sub/NJF.lib b/library/SubcircuitLibrary/LM140L_sub/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_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/LM140L_sub/NPN.lib b/library/SubcircuitLibrary/LM140L_sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_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/LM140L_sub/PNP.lib b/library/SubcircuitLibrary/LM140L_sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_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/LM140L_sub/analysis b/library/SubcircuitLibrary/LM140L_sub/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/LM140L_sub/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file