summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LM358_Sub
diff options
context:
space:
mode:
Diffstat (limited to 'library/SubcircuitLibrary/LM358_Sub')
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib142
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir55
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out58
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro73
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch951
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub52
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/analysis1
10 files changed, 1341 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib
new file mode 100644
index 00000000..c3224acc
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub-cache.lib
@@ -0,0 +1,142 @@
+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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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_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/LM358_Sub/LM358_Sub.cir b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir
new file mode 100644
index 00000000..5ad8d920
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir
@@ -0,0 +1,55 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM358_Sub\LM358_Sub.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/14/24 10:45:14
+
+* 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: /
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_I1-Pad2_ eSim_PNP
+Q1 Net-_I10-Pad2_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q5-Pad2_ Net-_I1-Pad2_ eSim_PNP
+Q6 Net-_I10-Pad2_ Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+I1 Net-_I1-Pad1_ Net-_I1-Pad2_ 6uA
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q4 Net-_C1-Pad2_ Net-_Q2-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q7 Net-_I10-Pad2_ Net-_C1-Pad2_ Net-_I2-Pad2_ eSim_PNP
+Q8 Net-_I1-Pad1_ Net-_I2-Pad2_ Net-_I3-Pad1_ eSim_NPN
+Q9 Net-_C1-Pad1_ Net-_I3-Pad1_ Net-_I10-Pad2_ eSim_NPN
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 20pF
+I4 Net-_I1-Pad1_ Net-_C1-Pad1_ 100uA
+Q11 Net-_I1-Pad1_ Net-_C1-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q10 Net-_C1-Pad1_ Net-_Q10-Pad2_ Net-_I5-Pad1_ eSim_NPN
+Q12 Net-_I1-Pad1_ Net-_Q11-Pad3_ Net-_Q10-Pad2_ eSim_NPN
+R3 Net-_Q10-Pad2_ Net-_I5-Pad1_ 300
+Q13 Net-_I10-Pad2_ Net-_C1-Pad1_ Net-_I5-Pad1_ eSim_PNP
+I5 Net-_I5-Pad1_ Net-_I10-Pad2_ 50uA
+R1 Net-_R1-Pad1_ Net-_Q1-Pad2_ 4k
+R2 Net-_Q1-Pad2_ Net-_I5-Pad1_ 10k
+I2 Net-_I1-Pad1_ Net-_I2-Pad2_ 4uA
+I3 Net-_I3-Pad1_ Net-_I10-Pad2_ 50uA
+U1 Net-_I5-Pad1_ Net-_R1-Pad1_ Net-_Q6-Pad2_ Net-_I10-Pad2_ Net-_Q19-Pad2_ Net-_R4-Pad1_ Net-_I10-Pad1_ Net-_I1-Pad1_ PORT
+Q15 Net-_Q15-Pad1_ Net-_Q14-Pad3_ Net-_I6-Pad2_ eSim_PNP
+Q14 Net-_I10-Pad2_ Net-_Q14-Pad2_ Net-_Q14-Pad3_ eSim_PNP
+Q18 Net-_C2-Pad2_ Net-_Q18-Pad2_ Net-_I6-Pad2_ eSim_PNP
+Q19 Net-_I10-Pad2_ Net-_Q19-Pad2_ Net-_Q18-Pad2_ eSim_PNP
+I6 Net-_I1-Pad1_ Net-_I6-Pad2_ 6uA
+Q16 Net-_Q15-Pad1_ Net-_Q15-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q17 Net-_C2-Pad2_ Net-_Q15-Pad1_ Net-_I10-Pad2_ eSim_NPN
+Q20 Net-_I10-Pad2_ Net-_C2-Pad2_ Net-_I7-Pad2_ eSim_PNP
+Q21 Net-_I1-Pad1_ Net-_I7-Pad2_ Net-_I8-Pad1_ eSim_NPN
+Q22 Net-_C2-Pad1_ Net-_I8-Pad1_ Net-_I10-Pad2_ eSim_NPN
+C2 Net-_C2-Pad1_ Net-_C2-Pad2_ 20pF
+I9 Net-_I1-Pad1_ Net-_C2-Pad1_ 100uA
+Q24 Net-_I1-Pad1_ Net-_C2-Pad1_ Net-_Q24-Pad3_ eSim_NPN
+Q23 Net-_C2-Pad1_ Net-_Q23-Pad2_ Net-_I10-Pad1_ eSim_NPN
+Q25 Net-_I1-Pad1_ Net-_Q24-Pad3_ Net-_Q23-Pad2_ eSim_NPN
+R6 Net-_Q23-Pad2_ Net-_I10-Pad1_ 300
+Q26 Net-_I10-Pad2_ Net-_C2-Pad1_ Net-_I10-Pad1_ eSim_PNP
+I10 Net-_I10-Pad1_ Net-_I10-Pad2_ 50uA
+R4 Net-_R4-Pad1_ Net-_Q14-Pad2_ 4k
+R5 Net-_Q14-Pad2_ Net-_I10-Pad1_ 10k
+I7 Net-_I1-Pad1_ Net-_I7-Pad2_ 4uA
+I8 Net-_I8-Pad1_ Net-_I10-Pad2_ 50uA
+
+.end
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out
new file mode 100644
index 00000000..204485a1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.cir.out
@@ -0,0 +1,58 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm358_sub\lm358_sub.cir
+
+.include NPN.lib
+.include PNP.lib
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i10-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i10-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q7 net-_i10-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i10-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r3 net-_q10-pad2_ net-_i5-pad1_ 300
+q13 net-_i10-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+i5 net-_i5-pad1_ net-_i10-pad2_ 50ua
+r1 net-_r1-pad1_ net-_q1-pad2_ 4k
+r2 net-_q1-pad2_ net-_i5-pad1_ 10k
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i3 net-_i3-pad1_ net-_i10-pad2_ 50ua
+* u1 net-_i5-pad1_ net-_r1-pad1_ net-_q6-pad2_ net-_i10-pad2_ net-_q19-pad2_ net-_r4-pad1_ net-_i10-pad1_ net-_i1-pad1_ port
+q15 net-_q15-pad1_ net-_q14-pad3_ net-_i6-pad2_ Q2N2907A
+q14 net-_i10-pad2_ net-_q14-pad2_ net-_q14-pad3_ Q2N2907A
+q18 net-_c2-pad2_ net-_q18-pad2_ net-_i6-pad2_ Q2N2907A
+q19 net-_i10-pad2_ net-_q19-pad2_ net-_q18-pad2_ Q2N2907A
+i6 net-_i1-pad1_ net-_i6-pad2_ 6ua
+q16 net-_q15-pad1_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q17 net-_c2-pad2_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q20 net-_i10-pad2_ net-_c2-pad2_ net-_i7-pad2_ Q2N2907A
+q21 net-_i1-pad1_ net-_i7-pad2_ net-_i8-pad1_ Q2N2222
+q22 net-_c2-pad1_ net-_i8-pad1_ net-_i10-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+i9 net-_i1-pad1_ net-_c2-pad1_ 100ua
+q24 net-_i1-pad1_ net-_c2-pad1_ net-_q24-pad3_ Q2N2222
+q23 net-_c2-pad1_ net-_q23-pad2_ net-_i10-pad1_ Q2N2222
+q25 net-_i1-pad1_ net-_q24-pad3_ net-_q23-pad2_ Q2N2222
+r6 net-_q23-pad2_ net-_i10-pad1_ 300
+q26 net-_i10-pad2_ net-_c2-pad1_ net-_i10-pad1_ Q2N2907A
+i10 net-_i10-pad1_ net-_i10-pad2_ 50ua
+r4 net-_r4-pad1_ net-_q14-pad2_ 4k
+r5 net-_q14-pad2_ net-_i10-pad1_ 10k
+i7 net-_i1-pad1_ net-_i7-pad2_ 4ua
+i8 net-_i8-pad1_ net-_i10-pad2_ 50ua
+.tran 0.1e-03 100e-03 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_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/LM358_Sub/LM358_Sub.sch b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
new file mode 100644
index 00000000..39e44889
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
@@ -0,0 +1,951 @@
+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:LM358-cache
+EELAYER 25 0
+EELAYER END
+$Descr User 23654 9859
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_PNP Q2
+U 1 1 66935C27
+P 2850 3550
+F 0 "Q2" H 2750 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 2800 3700 50 0000 R CNN
+F 2 "" H 3050 3650 29 0000 C CNN
+F 3 "" H 2850 3550 60 0000 C CNN
+ 1 2850 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 66935C28
+P 2450 4100
+F 0 "Q1" H 2350 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 2400 4250 50 0000 R CNN
+F 2 "" H 2650 4200 29 0000 C CNN
+F 3 "" H 2450 4100 60 0000 C CNN
+ 1 2450 4100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 66935C29
+P 4200 3500
+F 0 "Q5" H 4100 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 4150 3650 50 0000 R CNN
+F 2 "" H 4400 3600 29 0000 C CNN
+F 3 "" H 4200 3500 60 0000 C CNN
+ 1 4200 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 66935C2A
+P 4700 4100
+F 0 "Q6" H 4600 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 4650 4250 50 0000 R CNN
+F 2 "" H 4900 4200 29 0000 C CNN
+F 3 "" H 4700 4100 60 0000 C CNN
+ 1 4700 4100
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I1
+U 1 1 66935C2B
+P 3500 2550
+F 0 "I1" H 3300 2650 60 0000 C CNN
+F 1 "6uA" H 3300 2500 60 0000 C CNN
+F 2 "R1" H 3200 2550 60 0000 C CNN
+F 3 "" H 3500 2550 60 0000 C CNN
+ 1 3500 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 66935C2C
+P 3100 5650
+F 0 "Q3" H 3000 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 3050 5800 50 0000 R CNN
+F 2 "" H 3300 5750 29 0000 C CNN
+F 3 "" H 3100 5650 60 0000 C CNN
+ 1 3100 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 66935C2D
+P 4000 5650
+F 0 "Q4" H 3900 5700 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 5800 50 0000 R CNN
+F 2 "" H 4200 5750 29 0000 C CNN
+F 3 "" H 4000 5650 60 0000 C CNN
+ 1 4000 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 66935C2E
+P 5900 4900
+F 0 "Q7" H 5800 4950 50 0000 R CNN
+F 1 "eSim_PNP" H 5850 5050 50 0000 R CNN
+F 2 "" H 6100 5000 29 0000 C CNN
+F 3 "" H 5900 4900 60 0000 C CNN
+ 1 5900 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 66935C2F
+P 7000 4000
+F 0 "Q8" H 6900 4050 50 0000 R CNN
+F 1 "eSim_NPN" H 6950 4150 50 0000 R CNN
+F 2 "" H 7200 4100 29 0000 C CNN
+F 3 "" H 7000 4000 60 0000 C CNN
+ 1 7000 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 66935C30
+P 7800 5200
+F 0 "Q9" H 7700 5250 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 5350 50 0000 R CNN
+F 2 "" H 8000 5300 29 0000 C CNN
+F 3 "" H 7800 5200 60 0000 C CNN
+ 1 7800 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 66935C31
+P 5550 3950
+F 0 "C1" H 5575 4050 50 0000 L CNN
+F 1 "20pF" H 5575 3850 50 0000 L CNN
+F 2 "" H 5588 3800 30 0000 C CNN
+F 3 "" H 5550 3950 60 0000 C CNN
+ 1 5550 3950
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 66935C32
+P 7900 2600
+F 0 "I4" H 7700 2700 60 0000 C CNN
+F 1 "100uA" H 7700 2550 60 0000 C CNN
+F 2 "R1" H 7600 2600 60 0000 C CNN
+F 3 "" H 7900 2600 60 0000 C CNN
+ 1 7900 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 66935C33
+P 9100 3100
+F 0 "Q11" H 9000 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 9050 3250 50 0000 R CNN
+F 2 "" H 9300 3200 29 0000 C CNN
+F 3 "" H 9100 3100 60 0000 C CNN
+ 1 9100 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 66935C34
+P 8900 3750
+F 0 "Q10" H 8800 3800 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 3900 50 0000 R CNN
+F 2 "" H 9100 3850 29 0000 C CNN
+F 3 "" H 8900 3750 60 0000 C CNN
+ 1 8900 3750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 66935C35
+P 9900 3300
+F 0 "Q12" H 9800 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 9850 3450 50 0000 R CNN
+F 2 "" H 10100 3400 29 0000 C CNN
+F 3 "" H 9900 3300 60 0000 C CNN
+ 1 9900 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 66935C36
+P 9950 4000
+F 0 "R3" H 10000 4130 50 0000 C CNN
+F 1 "300" H 10000 3950 50 0000 C CNN
+F 2 "" H 10000 3980 30 0000 C CNN
+F 3 "" V 10000 4050 30 0000 C CNN
+ 1 9950 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 66935C37
+P 9900 4900
+F 0 "Q13" H 9800 4950 50 0000 R CNN
+F 1 "eSim_PNP" H 9850 5050 50 0000 R CNN
+F 2 "" H 10100 5000 29 0000 C CNN
+F 3 "" H 9900 4900 60 0000 C CNN
+ 1 9900 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L dc I5
+U 1 1 66935C38
+P 8750 5550
+F 0 "I5" H 8550 5650 60 0000 C CNN
+F 1 "50uA" H 8550 5500 60 0000 C CNN
+F 2 "R1" H 8450 5550 60 0000 C CNN
+F 3 "" H 8750 5550 60 0000 C CNN
+ 1 8750 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 66935C39
+P 1600 4150
+F 0 "R1" H 1650 4280 50 0000 C CNN
+F 1 "4k" H 1650 4100 50 0000 C CNN
+F 2 "" H 1650 4130 30 0000 C CNN
+F 3 "" V 1650 4200 30 0000 C CNN
+ 1 1600 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 66935C3D
+P 5800 1900
+F 0 "R2" H 5850 2030 50 0000 C CNN
+F 1 "10k" H 5850 1850 50 0000 C CNN
+F 2 "" H 5850 1880 30 0000 C CNN
+F 3 "" V 5850 1950 30 0000 C CNN
+ 1 5800 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 66935C43
+P 6000 2800
+F 0 "I2" H 5800 2900 60 0000 C CNN
+F 1 "4uA" H 5800 2750 60 0000 C CNN
+F 2 "R1" H 5700 2800 60 0000 C CNN
+F 3 "" H 6000 2800 60 0000 C CNN
+ 1 6000 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 66935C47
+P 7100 5950
+F 0 "I3" H 6900 6050 60 0000 C CNN
+F 1 "50uA" H 6900 5900 60 0000 C CNN
+F 2 "R1" H 6800 5950 60 0000 C CNN
+F 3 "" H 7100 5950 60 0000 C CNN
+ 1 7100 5950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2650 3550 2550 3550
+Wire Wire Line
+ 2550 3550 2550 3900
+Wire Wire Line
+ 2950 3350 2950 3200
+Wire Wire Line
+ 2950 3200 4100 3200
+Wire Wire Line
+ 4100 3200 4100 3300
+Wire Wire Line
+ 4400 3500 4600 3500
+Wire Wire Line
+ 4600 3500 4600 3900
+Wire Wire Line
+ 4100 3700 4100 5450
+Wire Wire Line
+ 2950 3750 2950 5450
+Wire Wire Line
+ 2950 5450 3000 5450
+Wire Wire Line
+ 3300 5650 3800 5650
+Wire Wire Line
+ 2950 5100 3600 5100
+Wire Wire Line
+ 3600 5100 3600 5650
+Connection ~ 3600 5650
+Connection ~ 2950 5100
+Wire Wire Line
+ 1800 4100 2250 4100
+Wire Wire Line
+ 4900 4100 5200 4100
+Wire Wire Line
+ 5200 4100 5200 4500
+Wire Wire Line
+ 5200 4500 1650 4500
+Wire Wire Line
+ 3500 3000 3500 3200
+Connection ~ 3500 3200
+Wire Wire Line
+ 6000 4700 6000 3250
+Wire Wire Line
+ 6800 4000 6000 4000
+Connection ~ 6000 4000
+Wire Wire Line
+ 3500 2100 3500 2050
+Wire Wire Line
+ 3500 2050 10600 2050
+Wire Wire Line
+ 6000 2350 6000 2050
+Connection ~ 6000 2050
+Wire Wire Line
+ 6000 5100 6000 6650
+Wire Wire Line
+ 5700 4900 4100 4900
+Connection ~ 4100 4900
+Wire Wire Line
+ 5550 4900 5550 4100
+Connection ~ 5550 4900
+Wire Wire Line
+ 7100 2050 7100 3800
+Wire Wire Line
+ 7100 4200 7100 5500
+Wire Wire Line
+ 5550 3100 5550 3800
+Wire Wire Line
+ 7900 3050 7900 5000
+Connection ~ 7100 2050
+Wire Wire Line
+ 7900 2050 7900 2150
+Wire Wire Line
+ 9200 2050 9200 2900
+Connection ~ 7900 2050
+Wire Wire Line
+ 10000 2050 10000 3100
+Connection ~ 9200 2050
+Wire Wire Line
+ 10000 3500 10000 3900
+Wire Wire Line
+ 8750 4450 11150 4450
+Wire Wire Line
+ 10000 4200 10000 4700
+Connection ~ 10000 4450
+Wire Wire Line
+ 7100 5200 7600 5200
+Wire Wire Line
+ 9700 4900 8550 4900
+Wire Wire Line
+ 8550 4900 8550 4400
+Wire Wire Line
+ 8550 4400 7900 4400
+Connection ~ 7900 4400
+Wire Wire Line
+ 10000 6650 10000 5100
+Wire Wire Line
+ 3000 5850 3000 7050
+Wire Wire Line
+ 4100 5850 4100 7050
+Wire Wire Line
+ 8750 6000 8750 6650
+Wire Wire Line
+ 5750 6650 10000 6650
+Wire Wire Line
+ 7900 5400 7900 6650
+Connection ~ 7900 6650
+Wire Wire Line
+ 5750 7050 5750 6650
+Wire Wire Line
+ 1800 7050 5750 7050
+Connection ~ 6000 6650
+Wire Wire Line
+ 4600 4300 4600 7050
+Connection ~ 4600 7050
+Connection ~ 4100 7050
+Wire Wire Line
+ 2050 4100 2050 1850
+Wire Wire Line
+ 2050 1850 5700 1850
+Connection ~ 2050 4100
+Wire Wire Line
+ 6000 1850 10900 1850
+Connection ~ 10000 2050
+Wire Wire Line
+ 2550 4300 2550 7050
+Connection ~ 3000 7050
+Connection ~ 2550 7050
+Connection ~ 7100 5200
+Wire Wire Line
+ 7100 6400 7100 6650
+Connection ~ 7100 6650
+Wire Wire Line
+ 10900 1850 10900 4450
+Connection ~ 8750 4450
+Connection ~ 8750 6650
+Connection ~ 10900 4450
+Wire Wire Line
+ 8750 3950 8750 5100
+Wire Wire Line
+ 9100 3750 10000 3750
+Connection ~ 10000 3750
+Wire Wire Line
+ 5550 3100 8900 3100
+Connection ~ 8800 3100
+Wire Wire Line
+ 9200 3300 9700 3300
+Connection ~ 7900 3100
+Wire Wire Line
+ 8800 3100 8800 3550
+Wire Wire Line
+ 8750 3950 8800 3950
+Wire Wire Line
+ 1500 4100 1350 4100
+$Comp
+L PORT U1
+U 1 1 66936445
+P 11150 4700
+F 0 "U1" H 11200 4800 30 0000 C CNN
+F 1 "PORT" H 11150 4700 30 0000 C CNN
+F 2 "" H 11150 4700 60 0000 C CNN
+F 3 "" H 11150 4700 60 0000 C CNN
+ 1 11150 4700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6693653C
+P 11500 3400
+F 0 "U1" H 11550 3500 30 0000 C CNN
+F 1 "PORT" H 11500 3400 30 0000 C CNN
+F 2 "" H 11500 3400 60 0000 C CNN
+F 3 "" H 11500 3400 60 0000 C CNN
+ 6 11500 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 669366C9
+P 1100 4100
+F 0 "U1" H 1150 4200 30 0000 C CNN
+F 1 "PORT" H 1100 4100 30 0000 C CNN
+F 2 "" H 1100 4100 60 0000 C CNN
+F 3 "" H 1100 4100 60 0000 C CNN
+ 2 1100 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 66936742
+P 1400 4500
+F 0 "U1" H 1450 4600 30 0000 C CNN
+F 1 "PORT" H 1400 4500 30 0000 C CNN
+F 2 "" H 1400 4500 60 0000 C CNN
+F 3 "" H 1400 4500 60 0000 C CNN
+ 3 1400 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 66936821
+P 1550 7050
+F 0 "U1" H 1600 7150 30 0000 C CNN
+F 1 "PORT" H 1550 7050 30 0000 C CNN
+F 2 "" H 1550 7050 60 0000 C CNN
+F 3 "" H 1550 7050 60 0000 C CNN
+ 4 1550 7050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q15
+U 1 1 66937662
+P 13250 2850
+F 0 "Q15" H 13150 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 13200 3000 50 0000 R CNN
+F 2 "" H 13450 2950 29 0000 C CNN
+F 3 "" H 13250 2850 60 0000 C CNN
+ 1 13250 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q14
+U 1 1 66937668
+P 12850 3400
+F 0 "Q14" H 12750 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 12800 3550 50 0000 R CNN
+F 2 "" H 13050 3500 29 0000 C CNN
+F 3 "" H 12850 3400 60 0000 C CNN
+ 1 12850 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q18
+U 1 1 6693766E
+P 14600 2800
+F 0 "Q18" H 14500 2850 50 0000 R CNN
+F 1 "eSim_PNP" H 14550 2950 50 0000 R CNN
+F 2 "" H 14800 2900 29 0000 C CNN
+F 3 "" H 14600 2800 60 0000 C CNN
+ 1 14600 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 66937674
+P 15100 3400
+F 0 "Q19" H 15000 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 15050 3550 50 0000 R CNN
+F 2 "" H 15300 3500 29 0000 C CNN
+F 3 "" H 15100 3400 60 0000 C CNN
+ 1 15100 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I6
+U 1 1 6693767A
+P 13900 1850
+F 0 "I6" H 13700 1950 60 0000 C CNN
+F 1 "6uA" H 13700 1800 60 0000 C CNN
+F 2 "R1" H 13600 1850 60 0000 C CNN
+F 3 "" H 13900 1850 60 0000 C CNN
+ 1 13900 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 66937680
+P 13500 4950
+F 0 "Q16" H 13400 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 13450 5100 50 0000 R CNN
+F 2 "" H 13700 5050 29 0000 C CNN
+F 3 "" H 13500 4950 60 0000 C CNN
+ 1 13500 4950
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 66937686
+P 14400 4950
+F 0 "Q17" H 14300 5000 50 0000 R CNN
+F 1 "eSim_NPN" H 14350 5100 50 0000 R CNN
+F 2 "" H 14600 5050 29 0000 C CNN
+F 3 "" H 14400 4950 60 0000 C CNN
+ 1 14400 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 6693768C
+P 16300 4200
+F 0 "Q20" H 16200 4250 50 0000 R CNN
+F 1 "eSim_PNP" H 16250 4350 50 0000 R CNN
+F 2 "" H 16500 4300 29 0000 C CNN
+F 3 "" H 16300 4200 60 0000 C CNN
+ 1 16300 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 66937692
+P 17400 3300
+F 0 "Q21" H 17300 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 17350 3450 50 0000 R CNN
+F 2 "" H 17600 3400 29 0000 C CNN
+F 3 "" H 17400 3300 60 0000 C CNN
+ 1 17400 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q22
+U 1 1 66937698
+P 18200 4500
+F 0 "Q22" H 18100 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 18150 4650 50 0000 R CNN
+F 2 "" H 18400 4600 29 0000 C CNN
+F 3 "" H 18200 4500 60 0000 C CNN
+ 1 18200 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 6693769E
+P 15950 3250
+F 0 "C2" H 15975 3350 50 0000 L CNN
+F 1 "20pF" H 15975 3150 50 0000 L CNN
+F 2 "" H 15988 3100 30 0000 C CNN
+F 3 "" H 15950 3250 60 0000 C CNN
+ 1 15950 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I9
+U 1 1 669376A4
+P 18300 1900
+F 0 "I9" H 18100 2000 60 0000 C CNN
+F 1 "100uA" H 18100 1850 60 0000 C CNN
+F 2 "R1" H 18000 1900 60 0000 C CNN
+F 3 "" H 18300 1900 60 0000 C CNN
+ 1 18300 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q24
+U 1 1 669376AA
+P 19500 2400
+F 0 "Q24" H 19400 2450 50 0000 R CNN
+F 1 "eSim_NPN" H 19450 2550 50 0000 R CNN
+F 2 "" H 19700 2500 29 0000 C CNN
+F 3 "" H 19500 2400 60 0000 C CNN
+ 1 19500 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 669376B0
+P 19300 3050
+F 0 "Q23" H 19200 3100 50 0000 R CNN
+F 1 "eSim_NPN" H 19250 3200 50 0000 R CNN
+F 2 "" H 19500 3150 29 0000 C CNN
+F 3 "" H 19300 3050 60 0000 C CNN
+ 1 19300 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 669376B6
+P 20300 2600
+F 0 "Q25" H 20200 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 20250 2750 50 0000 R CNN
+F 2 "" H 20500 2700 29 0000 C CNN
+F 3 "" H 20300 2600 60 0000 C CNN
+ 1 20300 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 669376BC
+P 20350 3300
+F 0 "R6" H 20400 3430 50 0000 C CNN
+F 1 "300" H 20400 3250 50 0000 C CNN
+F 2 "" H 20400 3280 30 0000 C CNN
+F 3 "" V 20400 3350 30 0000 C CNN
+ 1 20350 3300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 669376C2
+P 20300 4200
+F 0 "Q26" H 20200 4250 50 0000 R CNN
+F 1 "eSim_PNP" H 20250 4350 50 0000 R CNN
+F 2 "" H 20500 4300 29 0000 C CNN
+F 3 "" H 20300 4200 60 0000 C CNN
+ 1 20300 4200
+ 1 0 0 1
+$EndComp
+$Comp
+L dc I10
+U 1 1 669376C8
+P 19150 4850
+F 0 "I10" H 18950 4950 60 0000 C CNN
+F 1 "50uA" H 18950 4800 60 0000 C CNN
+F 2 "R1" H 18850 4850 60 0000 C CNN
+F 3 "" H 19150 4850 60 0000 C CNN
+ 1 19150 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 669376CE
+P 12000 3450
+F 0 "R4" H 12050 3580 50 0000 C CNN
+F 1 "4k" H 12050 3400 50 0000 C CNN
+F 2 "" H 12050 3430 30 0000 C CNN
+F 3 "" V 12050 3500 30 0000 C CNN
+ 1 12000 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 669376D4
+P 16200 1200
+F 0 "R5" H 16250 1330 50 0000 C CNN
+F 1 "10k" H 16250 1150 50 0000 C CNN
+F 2 "" H 16250 1180 30 0000 C CNN
+F 3 "" V 16250 1250 30 0000 C CNN
+ 1 16200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I7
+U 1 1 669376DA
+P 16400 2100
+F 0 "I7" H 16200 2200 60 0000 C CNN
+F 1 "4uA" H 16200 2050 60 0000 C CNN
+F 2 "R1" H 16100 2100 60 0000 C CNN
+F 3 "" H 16400 2100 60 0000 C CNN
+ 1 16400 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I8
+U 1 1 669376E0
+P 17500 5250
+F 0 "I8" H 17300 5350 60 0000 C CNN
+F 1 "50uA" H 17300 5200 60 0000 C CNN
+F 2 "R1" H 17200 5250 60 0000 C CNN
+F 3 "" H 17500 5250 60 0000 C CNN
+ 1 17500 5250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 13050 2850 12950 2850
+Wire Wire Line
+ 12950 2850 12950 3200
+Wire Wire Line
+ 13350 2650 13350 2500
+Wire Wire Line
+ 13350 2500 14500 2500
+Wire Wire Line
+ 14500 2500 14500 2600
+Wire Wire Line
+ 14800 2800 15000 2800
+Wire Wire Line
+ 15000 2800 15000 3200
+Wire Wire Line
+ 14500 3000 14500 4750
+Wire Wire Line
+ 13350 3050 13350 4750
+Wire Wire Line
+ 13350 4750 13400 4750
+Wire Wire Line
+ 13700 4950 14200 4950
+Wire Wire Line
+ 13350 4400 14000 4400
+Wire Wire Line
+ 14000 4400 14000 4950
+Connection ~ 14000 4950
+Connection ~ 13350 4400
+Wire Wire Line
+ 12200 3400 12650 3400
+Wire Wire Line
+ 15300 3400 15600 3400
+Wire Wire Line
+ 15600 3400 15600 3800
+Wire Wire Line
+ 15600 3800 12050 3800
+Wire Wire Line
+ 13900 2300 13900 2500
+Connection ~ 13900 2500
+Wire Wire Line
+ 16400 4000 16400 2550
+Wire Wire Line
+ 17200 3300 16400 3300
+Connection ~ 16400 3300
+Wire Wire Line
+ 13900 1400 13900 1350
+Wire Wire Line
+ 13900 1350 21000 1350
+Wire Wire Line
+ 16400 1650 16400 1350
+Connection ~ 16400 1350
+Wire Wire Line
+ 16400 4400 16400 5950
+Wire Wire Line
+ 16100 4200 14500 4200
+Connection ~ 14500 4200
+Wire Wire Line
+ 15950 4200 15950 3400
+Connection ~ 15950 4200
+Wire Wire Line
+ 17500 1350 17500 3100
+Wire Wire Line
+ 17500 3500 17500 4800
+Wire Wire Line
+ 15950 2400 15950 3100
+Wire Wire Line
+ 18300 2350 18300 4300
+Connection ~ 17500 1350
+Wire Wire Line
+ 18300 1350 18300 1450
+Wire Wire Line
+ 19600 1350 19600 2200
+Connection ~ 18300 1350
+Wire Wire Line
+ 20400 1350 20400 2400
+Connection ~ 19600 1350
+Wire Wire Line
+ 20400 2800 20400 3200
+Wire Wire Line
+ 19150 3750 21550 3750
+Wire Wire Line
+ 20400 3500 20400 4000
+Connection ~ 20400 3750
+Wire Wire Line
+ 17500 4500 18000 4500
+Wire Wire Line
+ 20100 4200 18950 4200
+Wire Wire Line
+ 18950 4200 18950 3700
+Wire Wire Line
+ 18950 3700 18300 3700
+Connection ~ 18300 3700
+Wire Wire Line
+ 20400 5950 20400 4400
+Wire Wire Line
+ 13400 5150 13400 6350
+Wire Wire Line
+ 14500 5150 14500 6350
+Wire Wire Line
+ 19150 5300 19150 5950
+Wire Wire Line
+ 16150 5950 20400 5950
+Wire Wire Line
+ 18300 4700 18300 5950
+Connection ~ 18300 5950
+Wire Wire Line
+ 16150 6350 16150 5950
+Wire Wire Line
+ 10900 6350 16150 6350
+Connection ~ 16400 5950
+Wire Wire Line
+ 15000 3600 15000 6350
+Connection ~ 15000 6350
+Connection ~ 14500 6350
+Wire Wire Line
+ 12450 3400 12450 1150
+Wire Wire Line
+ 12450 1150 16100 1150
+Connection ~ 12450 3400
+Wire Wire Line
+ 16400 1150 21300 1150
+Connection ~ 20400 1350
+Wire Wire Line
+ 12950 3600 12950 6350
+Connection ~ 13400 6350
+Connection ~ 12950 6350
+Connection ~ 17500 4500
+Wire Wire Line
+ 17500 5700 17500 5950
+Connection ~ 17500 5950
+Wire Wire Line
+ 21300 1150 21300 3750
+Connection ~ 19150 3750
+Connection ~ 19150 5950
+Connection ~ 21300 3750
+Wire Wire Line
+ 19150 3250 19150 4400
+Wire Wire Line
+ 19500 3050 20400 3050
+Connection ~ 20400 3050
+Wire Wire Line
+ 15950 2400 19300 2400
+Connection ~ 19200 2400
+Wire Wire Line
+ 19600 2600 20100 2600
+Connection ~ 18300 2400
+Wire Wire Line
+ 19200 2400 19200 2850
+Wire Wire Line
+ 19150 3250 19200 3250
+Wire Wire Line
+ 11900 3400 11750 3400
+$Comp
+L PORT U1
+U 5 1 669381BE
+P 11800 3800
+F 0 "U1" H 11850 3900 30 0000 C CNN
+F 1 "PORT" H 11800 3800 30 0000 C CNN
+F 2 "" H 11800 3800 60 0000 C CNN
+F 3 "" H 11800 3800 60 0000 C CNN
+ 5 11800 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6693824D
+P 10600 2300
+F 0 "U1" H 10650 2400 30 0000 C CNN
+F 1 "PORT" H 10600 2300 30 0000 C CNN
+F 2 "" H 10600 2300 60 0000 C CNN
+F 3 "" H 10600 2300 60 0000 C CNN
+ 8 10600 2300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 669382D4
+P 21800 3750
+F 0 "U1" H 21850 3850 30 0000 C CNN
+F 1 "PORT" H 21800 3750 30 0000 C CNN
+F 2 "" H 21800 3750 60 0000 C CNN
+F 3 "" H 21800 3750 60 0000 C CNN
+ 7 21800 3750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 21000 1350 21000 800
+Wire Wire Line
+ 21000 800 11200 800
+Wire Wire Line
+ 11200 800 11200 1950
+Wire Wire Line
+ 11200 1950 10500 1950
+Wire Wire Line
+ 10500 1950 10500 2050
+Connection ~ 10500 2050
+Wire Wire Line
+ 10900 6350 10900 7500
+Wire Wire Line
+ 10900 7500 2000 7500
+Wire Wire Line
+ 2000 7500 2000 7050
+Connection ~ 2000 7050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub
new file mode 100644
index 00000000..2841d6c0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sub
@@ -0,0 +1,52 @@
+* Subcircuit LM358_Sub
+.subckt LM358_Sub net-_i5-pad1_ net-_r1-pad1_ net-_q6-pad2_ net-_i10-pad2_ net-_q19-pad2_ net-_r4-pad1_ net-_i10-pad1_ net-_i1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\lm358_sub\lm358_sub.cir
+.include NPN.lib
+.include PNP.lib
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 net-_i10-pad2_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 net-_i10-pad2_ net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_i1-pad2_ 6ua
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i10-pad2_ Q2N2222
+q7 net-_i10-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_i3-pad1_ Q2N2222
+q9 net-_c1-pad1_ net-_i3-pad1_ net-_i10-pad2_ Q2N2222
+c1 net-_c1-pad1_ net-_c1-pad2_ 20pf
+i4 net-_i1-pad1_ net-_c1-pad1_ 100ua
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i5-pad1_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+r3 net-_q10-pad2_ net-_i5-pad1_ 300
+q13 net-_i10-pad2_ net-_c1-pad1_ net-_i5-pad1_ Q2N2907A
+i5 net-_i5-pad1_ net-_i10-pad2_ 50ua
+r1 net-_r1-pad1_ net-_q1-pad2_ 4k
+r2 net-_q1-pad2_ net-_i5-pad1_ 10k
+i2 net-_i1-pad1_ net-_i2-pad2_ 4ua
+i3 net-_i3-pad1_ net-_i10-pad2_ 50ua
+q15 net-_q15-pad1_ net-_q14-pad3_ net-_i6-pad2_ Q2N2907A
+q14 net-_i10-pad2_ net-_q14-pad2_ net-_q14-pad3_ Q2N2907A
+q18 net-_c2-pad2_ net-_q18-pad2_ net-_i6-pad2_ Q2N2907A
+q19 net-_i10-pad2_ net-_q19-pad2_ net-_q18-pad2_ Q2N2907A
+i6 net-_i1-pad1_ net-_i6-pad2_ 6ua
+q16 net-_q15-pad1_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q17 net-_c2-pad2_ net-_q15-pad1_ net-_i10-pad2_ Q2N2222
+q20 net-_i10-pad2_ net-_c2-pad2_ net-_i7-pad2_ Q2N2907A
+q21 net-_i1-pad1_ net-_i7-pad2_ net-_i8-pad1_ Q2N2222
+q22 net-_c2-pad1_ net-_i8-pad1_ net-_i10-pad2_ Q2N2222
+c2 net-_c2-pad1_ net-_c2-pad2_ 20pf
+i9 net-_i1-pad1_ net-_c2-pad1_ 100ua
+q24 net-_i1-pad1_ net-_c2-pad1_ net-_q24-pad3_ Q2N2222
+q23 net-_c2-pad1_ net-_q23-pad2_ net-_i10-pad1_ Q2N2222
+q25 net-_i1-pad1_ net-_q24-pad3_ net-_q23-pad2_ Q2N2222
+r6 net-_q23-pad2_ net-_i10-pad1_ 300
+q26 net-_i10-pad2_ net-_c2-pad1_ net-_i10-pad1_ Q2N2907A
+i10 net-_i10-pad1_ net-_i10-pad2_ 50ua
+r4 net-_r4-pad1_ net-_q14-pad2_ 4k
+r5 net-_q14-pad2_ net-_i10-pad1_ 10k
+i7 net-_i1-pad1_ net-_i7-pad2_ 4ua
+i8 net-_i8-pad1_ net-_i10-pad2_ 50ua
+* Control Statements
+
+.ends LM358_Sub \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml
new file mode 100644
index 00000000..50a3554d
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/LM358_Sub_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><i1 name="Source type">6ua</i1><i4 name="Source type">100ua</i4><i5 name="Source type">50ua</i5><i2 name="Source type">4ua</i2><i3 name="Source type">50ua</i3><i6 name="Source type">6ua</i6><i9 name="Source type">100ua</i9><i10 name="Source type">50ua</i10><i7 name="Source type">4ua</i7><i8 name="Source type">50ua</i8></source><model /><devicemodel><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q2><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q4><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q8><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q9><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q10><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q12><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q13><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q15><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q18><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q19><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q17><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q21><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q22><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q24><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q23><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q25><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q26></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.1</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">sec</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM358_Sub/NPN.lib b/library/SubcircuitLibrary/LM358_Sub/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_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/LM358_Sub/PNP.lib b/library/SubcircuitLibrary/LM358_Sub/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_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/LM358_Sub/analysis b/library/SubcircuitLibrary/LM358_Sub/analysis
new file mode 100644
index 00000000..402d01b4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM358_Sub/analysis
@@ -0,0 +1 @@
+.tran 0.1e-03 100e-03 0e-00 \ No newline at end of file