summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary
diff options
context:
space:
mode:
authorSumanto Kar2024-11-19 13:31:56 +0530
committerSumanto Kar2024-11-19 13:35:37 +0530
commit01099d6ac7ba2496b10572cb877eaddd8b926129 (patch)
tree4e5436458d0e6ace335f72bff17da48b165893a8 /library/SubcircuitLibrary
parent869f2782f5447c83632e1f6fdbf6551a33c37250 (diff)
downloadeSim-01099d6ac7ba2496b10572cb877eaddd8b926129.tar.gz
eSim-01099d6ac7ba2496b10572cb877eaddd8b926129.tar.bz2
eSim-01099d6ac7ba2496b10572cb877eaddd8b926129.zip
LM302 is a voltage regulator with adjustable output
Diffstat (limited to 'library/SubcircuitLibrary')
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/D.lib2
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT-cache.lib165
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir45
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir.out50
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT.pro73
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sch757
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sub44
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/LM302-PORT_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM302_SUB/analysis1
12 files changed, 1150 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM302_SUB/D.lib b/library/SubcircuitLibrary/LM302_SUB/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_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/LM302_SUB/LM302-PORT-cache.lib b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT-cache.lib
new file mode 100644
index 00000000..5b1e78bd
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT-cache.lib
@@ -0,0 +1,165 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS capacitor
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir
new file mode 100644
index 00000000..f6353213
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir
@@ -0,0 +1,45 @@
+* C:\FOSSEE2\eSim\library\SubcircuitLibrary\LM302-PORT\LM302-PORT.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/31/24 14:46:27
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad2_ eSim_NPN
+Q2 Net-_Q15-Pad2_ Net-_Q1-Pad1_ Net-_J1-Pad3_ eSim_PNP
+Q3 Net-_Q11-Pad2_ Net-_J1-Pad3_ Net-_Q3-Pad3_ eSim_NPN
+R1 Net-_J1-Pad1_ Net-_Q4-Pad3_ 1k
+R3 Net-_J1-Pad1_ Net-_J1-Pad1_ 500
+R7 Net-_J1-Pad1_ Net-_J1-Pad1_ 500
+R8 Net-_J1-Pad1_ Net-_Q8-Pad3_ 1k
+Q4 Net-_Q11-Pad2_ Net-_Q11-Pad3_ Net-_Q4-Pad3_ eSim_PNP
+Q8 Net-_Q11-Pad3_ Net-_Q11-Pad3_ Net-_Q8-Pad3_ eSim_PNP
+J1 Net-_J1-Pad1_ Net-_J1-Pad2_ Net-_J1-Pad3_ jfet_n
+R2 Net-_Q3-Pad3_ Net-_J1-Pad2_ 3k
+Q11 Net-_C1-Pad1_ Net-_Q11-Pad2_ Net-_Q11-Pad3_ eSim_PNP
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q5 Net-_D1-Pad2_ Net-_D1-Pad1_ Net-_Q5-Pad3_ eSim_NPN
+R4 Net-_Q5-Pad3_ Net-_Q10-Pad1_ 200k
+Q6 Net-_D1-Pad2_ Net-_Q5-Pad3_ Net-_Q6-Pad3_ eSim_NPN
+R5 Net-_Q6-Pad3_ Net-_Q10-Pad3_ 150
+Q9 Net-_Q12-Pad1_ Net-_Q12-Pad3_ Net-_Q6-Pad3_ eSim_NPN
+Q12 Net-_Q12-Pad1_ Net-_C1-Pad2_ Net-_Q12-Pad3_ eSim_NPN
+R9 Net-_Q12-Pad3_ Net-_Q10-Pad1_ 200k
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad1_ Net-_Q10-Pad3_ eSim_NPN
+Q7 Net-_Q10-Pad3_ Net-_J1-Pad3_ Net-_Q7-Pad3_ eSim_NPN
+R6 Net-_Q7-Pad3_ Net-_J1-Pad2_ 1.5k
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad1_ Net-_D1-Pad1_ eSim_NPN
+Q15 Net-_Q13-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+R11 Net-_Q15-Pad3_ Net-_J1-Pad2_ 200
+Q14 Net-_C1-Pad1_ Net-_Q14-Pad2_ Net-_Q12-Pad1_ eSim_NPN
+Q18 Net-_J1-Pad1_ Net-_Q14-Pad2_ Net-_D1-Pad2_ eSim_NPN
+Q17 Net-_J1-Pad1_ Net-_C1-Pad1_ Net-_Q14-Pad2_ eSim_NPN
+Q16 Net-_C1-Pad1_ Net-_D1-Pad2_ Net-_Q13-Pad1_ eSim_NPN
+R10 Net-_C1-Pad2_ Net-_Q13-Pad1_ 5k
+R13 Net-_D1-Pad2_ Net-_Q13-Pad1_ 25
+R12 Net-_Q14-Pad2_ Net-_D1-Pad2_ 3k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 10p
+U1 Net-_J1-Pad1_ Net-_J1-Pad2_ Net-_D1-Pad1_ Net-_J1-Pad2_ Net-_Q15-Pad3_ Net-_Q13-Pad1_ Net-_J1-Pad1_ Net-_J1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir.out b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir.out
new file mode 100644
index 00000000..a90b7134
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.cir.out
@@ -0,0 +1,50 @@
+* c:\fossee2\esim\library\subcircuitlibrary\lm302-port\lm302-port.cir
+
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+.include PNP.lib
+q1 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad2_ Q2N2222
+q2 net-_q15-pad2_ net-_q1-pad1_ net-_j1-pad3_ Q2N2907A
+q3 net-_q11-pad2_ net-_j1-pad3_ net-_q3-pad3_ Q2N2222
+r1 net-_j1-pad1_ net-_q4-pad3_ 1k
+r3 net-_j1-pad1_ net-_j1-pad1_ 500
+r7 net-_j1-pad1_ net-_j1-pad1_ 500
+r8 net-_j1-pad1_ net-_q8-pad3_ 1k
+q4 net-_q11-pad2_ net-_q11-pad3_ net-_q4-pad3_ Q2N2907A
+q8 net-_q11-pad3_ net-_q11-pad3_ net-_q8-pad3_ Q2N2907A
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+r2 net-_q3-pad3_ net-_j1-pad2_ 3k
+q11 net-_c1-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2907A
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q5 net-_d1-pad2_ net-_d1-pad1_ net-_q5-pad3_ Q2N2222
+r4 net-_q5-pad3_ net-_q10-pad1_ 200k
+q6 net-_d1-pad2_ net-_q5-pad3_ net-_q6-pad3_ Q2N2222
+r5 net-_q6-pad3_ net-_q10-pad3_ 150
+q9 net-_q12-pad1_ net-_q12-pad3_ net-_q6-pad3_ Q2N2222
+q12 net-_q12-pad1_ net-_c1-pad2_ net-_q12-pad3_ Q2N2222
+r9 net-_q12-pad3_ net-_q10-pad1_ 200k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ Q2N2222
+q7 net-_q10-pad3_ net-_j1-pad3_ net-_q7-pad3_ Q2N2222
+r6 net-_q7-pad3_ net-_j1-pad2_ 1.5k
+q13 net-_q13-pad1_ net-_q13-pad1_ net-_d1-pad1_ Q2N2222
+q15 net-_q13-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r11 net-_q15-pad3_ net-_j1-pad2_ 200
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q12-pad1_ Q2N2222
+q18 net-_j1-pad1_ net-_q14-pad2_ net-_d1-pad2_ Q2N2222
+q17 net-_j1-pad1_ net-_c1-pad1_ net-_q14-pad2_ Q2N2222
+q16 net-_c1-pad1_ net-_d1-pad2_ net-_q13-pad1_ Q2N2222
+r10 net-_c1-pad2_ net-_q13-pad1_ 5k
+r13 net-_d1-pad2_ net-_q13-pad1_ 25
+r12 net-_q14-pad2_ net-_d1-pad2_ 3k
+c1 net-_c1-pad1_ net-_c1-pad2_ 10p
+* u1 net-_j1-pad1_ net-_j1-pad2_ net-_d1-pad1_ net-_j1-pad2_ net-_q15-pad3_ net-_q13-pad1_ net-_j1-pad1_ net-_j1-pad1_ port
+.tran 10e-03 100e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.pro b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.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/LM302_SUB/LM302-PORT.sch b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sch
new file mode 100644
index 00000000..86de2436
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sch
@@ -0,0 +1,757 @@
+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:LM302-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_NPN Q1
+U 1 1 66596E6D
+P 2150 6450
+F 0 "Q1" H 2050 6500 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 6600 50 0000 R CNN
+F 2 "" H 2350 6550 29 0000 C CNN
+F 3 "" H 2150 6450 60 0000 C CNN
+ 1 2150 6450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 66596E6E
+P 2400 5650
+F 0 "Q2" H 2300 5700 50 0000 R CNN
+F 1 "eSim_PNP" H 2350 5800 50 0000 R CNN
+F 2 "" H 2600 5750 29 0000 C CNN
+F 3 "" H 2400 5650 60 0000 C CNN
+ 1 2400 5650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66596E6F
+P 3250 5400
+F 0 "Q3" H 3150 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 3200 5550 50 0000 R CNN
+F 2 "" H 3450 5500 29 0000 C CNN
+F 3 "" H 3250 5400 60 0000 C CNN
+ 1 3250 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66596E70
+P 3250 1850
+F 0 "R1" H 3300 1980 50 0000 C CNN
+F 1 "1k" H 3300 1800 50 0000 C CNN
+F 2 "" H 3300 1830 30 0000 C CNN
+F 3 "" V 3300 1900 30 0000 C CNN
+ 1 3250 1850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66596E71
+P 3850 1600
+F 0 "R3" H 3900 1730 50 0000 C CNN
+F 1 "500" H 3900 1550 50 0000 C CNN
+F 2 "" H 3900 1580 30 0000 C CNN
+F 3 "" V 3900 1650 30 0000 C CNN
+ 1 3850 1600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 66596E72
+P 4450 1600
+F 0 "R7" H 4500 1730 50 0000 C CNN
+F 1 "500" H 4500 1550 50 0000 C CNN
+F 2 "" H 4500 1580 30 0000 C CNN
+F 3 "" V 4500 1650 30 0000 C CNN
+ 1 4450 1600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 66596E73
+P 4900 1850
+F 0 "R8" H 4950 1980 50 0000 C CNN
+F 1 "1k" H 4950 1800 50 0000 C CNN
+F 2 "" H 4950 1830 30 0000 C CNN
+F 3 "" V 4950 1900 30 0000 C CNN
+ 1 4900 1850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 66596E74
+P 3400 2500
+F 0 "Q4" H 3300 2550 50 0000 R CNN
+F 1 "eSim_PNP" H 3350 2650 50 0000 R CNN
+F 2 "" H 3600 2600 29 0000 C CNN
+F 3 "" H 3400 2500 60 0000 C CNN
+ 1 3400 2500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q8
+U 1 1 66596E75
+P 4850 2500
+F 0 "Q8" H 4750 2550 50 0000 R CNN
+F 1 "eSim_PNP" H 4800 2650 50 0000 R CNN
+F 2 "" H 5050 2600 29 0000 C CNN
+F 3 "" H 4850 2500 60 0000 C CNN
+ 1 4850 2500
+ 1 0 0 1
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 66596E76
+P 2400 4900
+F 0 "J1" H 2300 4950 50 0000 R CNN
+F 1 "jfet_n" H 2350 5050 50 0000 R CNN
+F 2 "" H 2600 5000 29 0000 C CNN
+F 3 "" H 2400 4900 60 0000 C CNN
+ 1 2400 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66596E77
+P 3300 6350
+F 0 "R2" H 3350 6480 50 0000 C CNN
+F 1 "3k" H 3350 6300 50 0000 C CNN
+F 2 "" H 3350 6330 30 0000 C CNN
+F 3 "" V 3350 6400 30 0000 C CNN
+ 1 3300 6350
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q11
+U 1 1 66596E78
+P 5400 3050
+F 0 "Q11" H 5300 3100 50 0000 R CNN
+F 1 "eSim_PNP" H 5350 3200 50 0000 R CNN
+F 2 "" H 5600 3150 29 0000 C CNN
+F 3 "" H 5400 3050 60 0000 C CNN
+ 1 5400 3050
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 66596E79
+P 3750 3200
+F 0 "D1" H 3750 3300 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 3100 50 0000 C CNN
+F 2 "" H 3750 3200 60 0000 C CNN
+F 3 "" H 3750 3200 60 0000 C CNN
+ 1 3750 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q5
+U 1 1 66596E7A
+P 3800 3700
+F 0 "Q5" H 3700 3750 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 3850 50 0000 R CNN
+F 2 "" H 4000 3800 29 0000 C CNN
+F 3 "" H 3800 3700 60 0000 C CNN
+ 1 3800 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 66596E7B
+P 3850 4150
+F 0 "R4" H 3900 4280 50 0000 C CNN
+F 1 "200k" H 3900 4100 50 0000 C CNN
+F 2 "" H 3900 4130 30 0000 C CNN
+F 3 "" V 3900 4200 30 0000 C CNN
+ 1 3850 4150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 66596E7C
+P 4300 4000
+F 0 "Q6" H 4200 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 4150 50 0000 R CNN
+F 2 "" H 4500 4100 29 0000 C CNN
+F 3 "" H 4300 4000 60 0000 C CNN
+ 1 4300 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 66596E7D
+P 4350 4500
+F 0 "R5" H 4400 4630 50 0000 C CNN
+F 1 "150" H 4400 4450 50 0000 C CNN
+F 2 "" H 4400 4480 30 0000 C CNN
+F 3 "" V 4400 4550 30 0000 C CNN
+ 1 4350 4500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 66596E7E
+P 5150 4000
+F 0 "Q9" H 5050 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 5100 4150 50 0000 R CNN
+F 2 "" H 5350 4100 29 0000 C CNN
+F 3 "" H 5150 4000 60 0000 C CNN
+ 1 5150 4000
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 66596E7F
+P 5600 3750
+F 0 "Q12" H 5500 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 3900 50 0000 R CNN
+F 2 "" H 5800 3850 29 0000 C CNN
+F 3 "" H 5600 3750 60 0000 C CNN
+ 1 5600 3750
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 66596E80
+P 5450 4150
+F 0 "R9" H 5500 4280 50 0000 C CNN
+F 1 "200k" H 5500 4100 50 0000 C CNN
+F 2 "" H 5500 4130 30 0000 C CNN
+F 3 "" V 5500 4200 30 0000 C CNN
+ 1 5450 4150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 66596E81
+P 5150 4600
+F 0 "Q10" H 5050 4650 50 0000 R CNN
+F 1 "eSim_NPN" H 5100 4750 50 0000 R CNN
+F 2 "" H 5350 4700 29 0000 C CNN
+F 3 "" H 5150 4600 60 0000 C CNN
+ 1 5150 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 66596E82
+P 4300 5400
+F 0 "Q7" H 4200 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 4250 5550 50 0000 R CNN
+F 2 "" H 4500 5500 29 0000 C CNN
+F 3 "" H 4300 5400 60 0000 C CNN
+ 1 4300 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 66596E83
+P 4350 6300
+F 0 "R6" H 4400 6430 50 0000 C CNN
+F 1 "1.5k" H 4400 6250 50 0000 C CNN
+F 2 "" H 4400 6280 30 0000 C CNN
+F 3 "" V 4400 6350 30 0000 C CNN
+ 1 4350 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 66596E84
+P 5600 5300
+F 0 "Q13" H 5500 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 5550 5450 50 0000 R CNN
+F 2 "" H 5800 5400 29 0000 C CNN
+F 3 "" H 5600 5300 60 0000 C CNN
+ 1 5600 5300
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 66596E85
+P 6750 5600
+F 0 "Q15" H 6650 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 6700 5750 50 0000 R CNN
+F 2 "" H 6950 5700 29 0000 C CNN
+F 3 "" H 6750 5600 60 0000 C CNN
+ 1 6750 5600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R11
+U 1 1 66596E86
+P 6800 6200
+F 0 "R11" H 6850 6330 50 0000 C CNN
+F 1 "200" H 6850 6150 50 0000 C CNN
+F 2 "" H 6850 6180 30 0000 C CNN
+F 3 "" V 6850 6250 30 0000 C CNN
+ 1 6800 6200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 66596E87
+P 6350 3150
+F 0 "Q14" H 6250 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 6300 3300 50 0000 R CNN
+F 2 "" H 6550 3250 29 0000 C CNN
+F 3 "" H 6350 3150 60 0000 C CNN
+ 1 6350 3150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 66596E88
+P 7550 3150
+F 0 "Q18" H 7450 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 7500 3300 50 0000 R CNN
+F 2 "" H 7750 3250 29 0000 C CNN
+F 3 "" H 7550 3150 60 0000 C CNN
+ 1 7550 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 66596E89
+P 7150 2750
+F 0 "Q17" H 7050 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 7100 2900 50 0000 R CNN
+F 2 "" H 7350 2850 29 0000 C CNN
+F 3 "" H 7150 2750 60 0000 C CNN
+ 1 7150 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66596E8A
+P 7050 3650
+F 0 "Q16" H 6950 3700 50 0000 R CNN
+F 1 "eSim_NPN" H 7000 3800 50 0000 R CNN
+F 2 "" H 7250 3750 29 0000 C CNN
+F 3 "" H 7050 3650 60 0000 C CNN
+ 1 7050 3650
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 66596E8B
+P 6150 3800
+F 0 "R10" H 6200 3930 50 0000 C CNN
+F 1 "5k" H 6200 3750 50 0000 C CNN
+F 2 "" H 6200 3780 30 0000 C CNN
+F 3 "" V 6200 3850 30 0000 C CNN
+ 1 6150 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R13
+U 1 1 66596E8C
+P 7250 3800
+F 0 "R13" H 7300 3930 50 0000 C CNN
+F 1 "25" H 7300 3750 50 0000 C CNN
+F 2 "" H 7300 3780 30 0000 C CNN
+F 3 "" V 7300 3850 30 0000 C CNN
+ 1 7250 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R12
+U 1 1 66596E8D
+P 7250 3300
+F 0 "R12" H 7300 3430 50 0000 C CNN
+F 1 "3k" H 7300 3250 50 0000 C CNN
+F 2 "" H 7300 3280 30 0000 C CNN
+F 3 "" V 7300 3350 30 0000 C CNN
+ 1 7250 3300
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 66596E8E
+P 5900 3100
+F 0 "C1" H 5925 3200 50 0000 L CNN
+F 1 "10p" H 5925 3000 50 0000 L CNN
+F 2 "" H 5938 2950 30 0000 C CNN
+F 3 "" H 5900 3100 60 0000 C CNN
+ 1 5900 3100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2500 5100 2500 5450
+Wire Wire Line
+ 2200 5650 2200 6250
+Wire Wire Line
+ 2200 6250 2250 6250
+Wire Wire Line
+ 1950 6450 1600 6450
+Wire Wire Line
+ 1600 6450 1600 6000
+Wire Wire Line
+ 1600 6000 2200 6000
+Connection ~ 2200 6000
+Wire Wire Line
+ 3050 5400 2500 5400
+Connection ~ 2500 5400
+Wire Wire Line
+ 3350 5600 3350 6250
+Wire Wire Line
+ 3300 2700 3300 5200
+Wire Wire Line
+ 3300 5200 3350 5200
+Wire Wire Line
+ 3300 2050 3300 2300
+Wire Wire Line
+ 3300 1000 3300 1750
+Wire Wire Line
+ 3300 1550 3750 1550
+Wire Wire Line
+ 4050 1550 4350 1550
+Wire Wire Line
+ 4650 1550 4950 1550
+Wire Wire Line
+ 4950 1050 4950 1750
+Wire Wire Line
+ 4950 2050 4950 2300
+Wire Wire Line
+ 4950 2700 4950 2950
+Wire Wire Line
+ 4200 2950 5200 2950
+Wire Wire Line
+ 3600 2500 4650 2500
+Wire Wire Line
+ 4200 2500 4200 2950
+Connection ~ 4950 2950
+Connection ~ 4200 2500
+Wire Wire Line
+ 3900 3900 3900 4050
+Wire Wire Line
+ 3900 4000 4100 4000
+Connection ~ 3900 4000
+Wire Wire Line
+ 5050 4200 4400 4200
+Wire Wire Line
+ 5050 3800 5050 3550
+Wire Wire Line
+ 5050 3550 6250 3550
+Wire Wire Line
+ 4400 4400 4400 4300
+Wire Wire Line
+ 4400 4300 4500 4300
+Wire Wire Line
+ 4500 4300 4500 4200
+Connection ~ 4500 4200
+Wire Wire Line
+ 4400 4700 4400 5200
+Wire Wire Line
+ 4100 5400 3700 5400
+Wire Wire Line
+ 3700 5400 3700 5150
+Wire Wire Line
+ 3700 5150 2500 5150
+Connection ~ 2500 5150
+Wire Wire Line
+ 4400 5600 4400 6200
+Wire Wire Line
+ 3900 4350 5500 4350
+Wire Wire Line
+ 4950 4600 4750 4600
+Wire Wire Line
+ 4750 4600 4750 4350
+Connection ~ 4750 4350
+Wire Wire Line
+ 5250 4400 5250 4350
+Connection ~ 5250 4350
+Wire Wire Line
+ 5250 4800 5250 5100
+Wire Wire Line
+ 5250 5100 4400 5100
+Connection ~ 4400 5100
+Wire Wire Line
+ 3600 5200 5400 5200
+Wire Wire Line
+ 3600 3200 3600 5200
+Connection ~ 3600 3700
+Wire Wire Line
+ 4400 3800 4400 3200
+Wire Wire Line
+ 3900 3200 4600 3200
+Wire Wire Line
+ 3900 3500 3900 3350
+Wire Wire Line
+ 3900 3350 4100 3350
+Wire Wire Line
+ 4100 3350 4100 3200
+Connection ~ 4100 3200
+Wire Wire Line
+ 5500 3950 5500 4050
+Wire Wire Line
+ 5350 4000 5500 4000
+Connection ~ 5500 4000
+Wire Wire Line
+ 5400 3250 4650 3250
+Wire Wire Line
+ 4650 3250 4650 3050
+Wire Wire Line
+ 4650 3050 3300 3050
+Connection ~ 3300 3050
+Wire Wire Line
+ 5600 2950 7000 2950
+Connection ~ 5900 2950
+Wire Wire Line
+ 7000 2950 7000 3400
+Connection ~ 6250 2950
+Wire Wire Line
+ 6950 2750 6950 2950
+Connection ~ 6950 2950
+Wire Wire Line
+ 7250 2950 7250 3200
+Wire Wire Line
+ 7250 3200 7300 3200
+Wire Wire Line
+ 7300 3500 7300 3700
+Wire Wire Line
+ 6950 3450 6950 3400
+Wire Wire Line
+ 6950 3400 7000 3400
+Wire Wire Line
+ 5800 3750 6050 3750
+Wire Wire Line
+ 5900 3250 5900 3750
+Connection ~ 5900 3750
+Wire Wire Line
+ 6350 3750 6650 3750
+Wire Wire Line
+ 6650 3750 6650 4250
+Wire Wire Line
+ 6650 4250 8450 4250
+Wire Wire Line
+ 7300 4250 7300 4000
+Wire Wire Line
+ 6950 3850 6950 4300
+Connection ~ 6950 4250
+Wire Wire Line
+ 6550 3150 7350 3150
+Connection ~ 7250 3150
+Wire Wire Line
+ 6250 3550 6250 3350
+Connection ~ 5500 3550
+Wire Wire Line
+ 7250 3650 7300 3650
+Connection ~ 7300 3650
+Wire Wire Line
+ 7650 3550 7650 3350
+Wire Wire Line
+ 6500 3550 7650 3550
+Connection ~ 7300 3550
+Wire Wire Line
+ 6500 3550 6500 3400
+Wire Wire Line
+ 6500 3400 4600 3400
+Wire Wire Line
+ 4600 3400 4600 3200
+Connection ~ 4400 3200
+Wire Wire Line
+ 7250 2550 7250 1200
+Wire Wire Line
+ 2500 1200 7650 1200
+Wire Wire Line
+ 7650 1200 7650 2950
+Connection ~ 7250 1200
+Connection ~ 4950 1550
+Wire Wire Line
+ 4200 1550 4200 1200
+Connection ~ 4950 1200
+Connection ~ 4200 1550
+Connection ~ 4200 1200
+Connection ~ 3300 1550
+Wire Wire Line
+ 2500 4700 2500 1200
+Connection ~ 3300 1200
+Wire Wire Line
+ 2500 5850 6550 5850
+Wire Wire Line
+ 6550 5850 6550 5600
+Wire Wire Line
+ 6850 5800 6850 6100
+Wire Wire Line
+ 6850 6750 6850 6400
+Wire Wire Line
+ 1300 6750 7050 6750
+Wire Wire Line
+ 4400 6750 4400 6500
+Wire Wire Line
+ 3350 6750 3350 6550
+Connection ~ 4400 6750
+Wire Wire Line
+ 2250 6750 2250 6650
+Connection ~ 3350 6750
+Wire Wire Line
+ 1300 6750 1300 4900
+Wire Wire Line
+ 1300 4900 2200 4900
+Connection ~ 2250 6750
+Wire Wire Line
+ 6850 5400 6850 4300
+Wire Wire Line
+ 6850 4300 6950 4300
+Wire Wire Line
+ 5800 5200 6850 5200
+Connection ~ 6850 5200
+Wire Wire Line
+ 5600 5500 5600 5700
+Wire Wire Line
+ 5600 5700 5950 5700
+Wire Wire Line
+ 5950 5700 5950 5200
+Connection ~ 5950 5200
+Wire Wire Line
+ 2000 3700 3600 3700
+Connection ~ 7300 4250
+$Comp
+L PORT U1
+U 1 1 665A4373
+P 3300 750
+F 0 "U1" H 3350 850 30 0000 C CNN
+F 1 "PORT" H 3300 750 30 0000 C CNN
+F 2 "" H 3300 750 60 0000 C CNN
+F 3 "" H 3300 750 60 0000 C CNN
+ 1 3300 750
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 665A6EB6
+P 950 5700
+F 0 "U1" H 1000 5800 30 0000 C CNN
+F 1 "PORT" H 950 5700 30 0000 C CNN
+F 2 "" H 950 5700 60 0000 C CNN
+F 3 "" H 950 5700 60 0000 C CNN
+ 2 950 5700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1200 5700 1300 5700
+Connection ~ 1300 5700
+$Comp
+L PORT U1
+U 3 1 665A8064
+P 1750 3700
+F 0 "U1" H 1800 3800 30 0000 C CNN
+F 1 "PORT" H 1750 3700 30 0000 C CNN
+F 2 "" H 1750 3700 60 0000 C CNN
+F 3 "" H 1750 3700 60 0000 C CNN
+ 3 1750 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 665A8252
+P 7300 6750
+F 0 "U1" H 7350 6850 30 0000 C CNN
+F 1 "PORT" H 7300 6750 30 0000 C CNN
+F 2 "" H 7300 6750 60 0000 C CNN
+F 3 "" H 7300 6750 60 0000 C CNN
+ 4 7300 6750
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 665A82C3
+P 7300 6000
+F 0 "U1" H 7350 6100 30 0000 C CNN
+F 1 "PORT" H 7300 6000 30 0000 C CNN
+F 2 "" H 7300 6000 60 0000 C CNN
+F 3 "" H 7300 6000 60 0000 C CNN
+ 5 7300 6000
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 665A8330
+P 8700 4250
+F 0 "U1" H 8750 4350 30 0000 C CNN
+F 1 "PORT" H 8700 4250 30 0000 C CNN
+F 2 "" H 8700 4250 60 0000 C CNN
+F 3 "" H 8700 4250 60 0000 C CNN
+ 6 8700 4250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 665A83AF
+P 7900 1200
+F 0 "U1" H 7950 1300 30 0000 C CNN
+F 1 "PORT" H 7900 1200 30 0000 C CNN
+F 2 "" H 7900 1200 60 0000 C CNN
+F 3 "" H 7900 1200 60 0000 C CNN
+ 7 7900 1200
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 665A8430
+P 4950 800
+F 0 "U1" H 5000 900 30 0000 C CNN
+F 1 "PORT" H 4950 800 30 0000 C CNN
+F 2 "" H 4950 800 60 0000 C CNN
+F 3 "" H 4950 800 60 0000 C CNN
+ 8 4950 800
+ 0 1 1 0
+$EndComp
+Connection ~ 6850 6750
+Wire Wire Line
+ 7050 6000 6850 6000
+Connection ~ 6850 6000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sub b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sub
new file mode 100644
index 00000000..400a6873
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT.sub
@@ -0,0 +1,44 @@
+* Subcircuit LM302-PORT
+.subckt LM302-PORT net-_j1-pad1_ net-_j1-pad2_ net-_d1-pad1_ net-_j1-pad2_ net-_q15-pad3_ net-_q13-pad1_ net-_j1-pad1_ net-_j1-pad1_
+* c:\fossee2\esim\library\subcircuitlibrary\lm302-port\lm302-port.cir
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+.include PNP.lib
+q1 net-_q1-pad1_ net-_q1-pad1_ net-_j1-pad2_ Q2N2222
+q2 net-_q15-pad2_ net-_q1-pad1_ net-_j1-pad3_ Q2N2907A
+q3 net-_q11-pad2_ net-_j1-pad3_ net-_q3-pad3_ Q2N2222
+r1 net-_j1-pad1_ net-_q4-pad3_ 1k
+r3 net-_j1-pad1_ net-_j1-pad1_ 500
+r7 net-_j1-pad1_ net-_j1-pad1_ 500
+r8 net-_j1-pad1_ net-_q8-pad3_ 1k
+q4 net-_q11-pad2_ net-_q11-pad3_ net-_q4-pad3_ Q2N2907A
+q8 net-_q11-pad3_ net-_q11-pad3_ net-_q8-pad3_ Q2N2907A
+j1 net-_j1-pad1_ net-_j1-pad2_ net-_j1-pad3_ J2N3819
+r2 net-_q3-pad3_ net-_j1-pad2_ 3k
+q11 net-_c1-pad1_ net-_q11-pad2_ net-_q11-pad3_ Q2N2907A
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q5 net-_d1-pad2_ net-_d1-pad1_ net-_q5-pad3_ Q2N2222
+r4 net-_q5-pad3_ net-_q10-pad1_ 200k
+q6 net-_d1-pad2_ net-_q5-pad3_ net-_q6-pad3_ Q2N2222
+r5 net-_q6-pad3_ net-_q10-pad3_ 150
+q9 net-_q12-pad1_ net-_q12-pad3_ net-_q6-pad3_ Q2N2222
+q12 net-_q12-pad1_ net-_c1-pad2_ net-_q12-pad3_ Q2N2222
+r9 net-_q12-pad3_ net-_q10-pad1_ 200k
+q10 net-_q10-pad1_ net-_q10-pad1_ net-_q10-pad3_ Q2N2222
+q7 net-_q10-pad3_ net-_j1-pad3_ net-_q7-pad3_ Q2N2222
+r6 net-_q7-pad3_ net-_j1-pad2_ 1.5k
+q13 net-_q13-pad1_ net-_q13-pad1_ net-_d1-pad1_ Q2N2222
+q15 net-_q13-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+r11 net-_q15-pad3_ net-_j1-pad2_ 200
+q14 net-_c1-pad1_ net-_q14-pad2_ net-_q12-pad1_ Q2N2222
+q18 net-_j1-pad1_ net-_q14-pad2_ net-_d1-pad2_ Q2N2222
+q17 net-_j1-pad1_ net-_c1-pad1_ net-_q14-pad2_ Q2N2222
+q16 net-_c1-pad1_ net-_d1-pad2_ net-_q13-pad1_ Q2N2222
+r10 net-_c1-pad2_ net-_q13-pad1_ 5k
+r13 net-_d1-pad2_ net-_q13-pad1_ 25
+r12 net-_q14-pad2_ net-_d1-pad2_ 3k
+c1 net-_c1-pad1_ net-_c1-pad2_ 10p
+* Control Statements
+
+.ends LM302-PORT \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM302_SUB/LM302-PORT_Previous_Values.xml b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT_Previous_Values.xml
new file mode 100644
index 00000000..258d9639
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/LM302-PORT_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q1><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q3><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q8><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><j1><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q11><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q11><d1><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q5><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q5><q6><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q6><q9><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q12><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q10><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q7><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q7><q13><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q13><q15><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q14><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q14><q18><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q18><q17><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q16><field>C:\FOSSEE2\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time">0</field1><field2 name="Step Time">10</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM302_SUB/NJF.lib b/library/SubcircuitLibrary/LM302_SUB/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_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/LM302_SUB/NPN.lib b/library/SubcircuitLibrary/LM302_SUB/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_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/LM302_SUB/PNP.lib b/library/SubcircuitLibrary/LM302_SUB/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_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/LM302_SUB/analysis b/library/SubcircuitLibrary/LM302_SUB/analysis
new file mode 100644
index 00000000..660a46cc
--- /dev/null
+++ b/library/SubcircuitLibrary/LM302_SUB/analysis
@@ -0,0 +1 @@
+.tran 10e-03 100e-03 0e-03 \ No newline at end of file