summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LM393
diff options
context:
space:
mode:
Diffstat (limited to 'library/SubcircuitLibrary/LM393')
-rw-r--r--library/SubcircuitLibrary/LM393/D.lib2
-rw-r--r--library/SubcircuitLibrary/LM393/LM393-cache.lib146
-rw-r--r--library/SubcircuitLibrary/LM393/LM393.cir61
-rw-r--r--library/SubcircuitLibrary/LM393/LM393.cir.out66
-rw-r--r--library/SubcircuitLibrary/LM393/LM393.pro81
-rw-r--r--library/SubcircuitLibrary/LM393/LM393.sch1033
-rw-r--r--library/SubcircuitLibrary/LM393/LM393.sub60
-rw-r--r--library/SubcircuitLibrary/LM393/LM393_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/LM393/NJF.lib4
-rw-r--r--library/SubcircuitLibrary/LM393/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/LM393/PNP.lib4
-rw-r--r--library/SubcircuitLibrary/LM393/README.md35
-rw-r--r--library/SubcircuitLibrary/LM393/analysis1
13 files changed, 1498 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/LM393/D.lib b/library/SubcircuitLibrary/LM393/D.lib
new file mode 100644
index 00000000..f53bf3e0
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/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/LM393/LM393-cache.lib b/library/SubcircuitLibrary/LM393/LM393-cache.lib
new file mode 100644
index 00000000..8ff65b6b
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393-cache.lib
@@ -0,0 +1,146 @@
+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_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/LM393/LM393.cir b/library/SubcircuitLibrary/LM393/LM393.cir
new file mode 100644
index 00000000..4d9c6b46
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393.cir
@@ -0,0 +1,61 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LM393\LM393.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 08/29/22 20:35: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-Pad2_ Net-_J1-Pad1_ eSim_PNP
+R2 Net-_Q1-Pad2_ Net-_Q1-Pad1_ 2k
+Q4 Net-_J1-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q5 Net-_Q2-Pad3_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q8 Net-_D4-Pad1_ Net-_Q1-Pad1_ Net-_Q7-Pad3_ eSim_PNP
+Q10 Net-_Q10-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q14 Net-_Q14-Pad1_ Net-_Q1-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q2 Net-_Q1-Pad1_ Net-_J1-Pad3_ Net-_Q2-Pad3_ eSim_NPN
+R1 Net-_Q2-Pad3_ Net-_D3-Pad2_ 4.6k
+J1 Net-_J1-Pad1_ Net-_D3-Pad2_ Net-_J1-Pad3_ jfet_n
+Q3 Net-_J1-Pad3_ Net-_Q2-Pad3_ Net-_D3-Pad2_ eSim_NPN
+D2 Net-_D2-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q6 Net-_D3-Pad2_ Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_PNP
+Q9 Net-_D3-Pad1_ Net-_D1-Pad2_ Net-_Q10-Pad1_ eSim_PNP
+Q12 Net-_Q11-Pad1_ Net-_D4-Pad2_ Net-_Q10-Pad1_ eSim_PNP
+D3 Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_Diode
+Q11 Net-_Q11-Pad1_ Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_NPN
+D4 Net-_D4-Pad1_ Net-_D4-Pad2_ eSim_Diode
+Q13 Net-_D3-Pad2_ Net-_D5-Pad1_ Net-_D4-Pad2_ eSim_PNP
+D5 Net-_D5-Pad1_ Net-_D4-Pad2_ eSim_Diode
+Q15 Net-_Q14-Pad1_ Net-_Q11-Pad1_ Net-_D3-Pad2_ eSim_NPN
+Q16 Net-_Q16-Pad1_ Net-_Q14-Pad1_ Net-_D3-Pad2_ eSim_NPN
+R3 Net-_J1-Pad1_ Net-_Q7-Pad3_ 2.1k
+U1 Net-_J1-Pad1_ Net-_D1-Pad1_ Net-_D5-Pad1_ Net-_Q16-Pad1_ Net-_D3-Pad2_ Net-_D6-Pad1_ Net-_D10-Pad1_ Net-_Q32-Pad1_ PORT
+Q7 Net-_D2-Pad1_ Net-_Q1-Pad1_ Net-_Q7-Pad3_ eSim_PNP
+Q17 Net-_Q17-Pad1_ Net-_Q17-Pad2_ Net-_J1-Pad1_ eSim_PNP
+R5 Net-_Q17-Pad2_ Net-_Q17-Pad1_ 2k
+Q20 Net-_J2-Pad3_ Net-_Q17-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q21 Net-_Q18-Pad3_ Net-_Q17-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q24 Net-_D9-Pad1_ Net-_Q17-Pad1_ Net-_Q23-Pad3_ eSim_PNP
+Q26 Net-_Q25-Pad3_ Net-_Q17-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q30 Net-_Q30-Pad1_ Net-_Q17-Pad1_ Net-_J1-Pad1_ eSim_PNP
+Q18 Net-_Q17-Pad1_ Net-_J2-Pad3_ Net-_Q18-Pad3_ eSim_NPN
+R4 Net-_Q18-Pad3_ Net-_D3-Pad2_ 4.6k
+J2 Net-_J1-Pad1_ Net-_D3-Pad2_ Net-_J2-Pad3_ jfet_n
+Q19 Net-_J2-Pad3_ Net-_Q18-Pad3_ Net-_D3-Pad2_ eSim_NPN
+D7 Net-_D7-Pad1_ Net-_D6-Pad2_ eSim_Diode
+D6 Net-_D6-Pad1_ Net-_D6-Pad2_ eSim_Diode
+Q22 Net-_D3-Pad2_ Net-_D6-Pad1_ Net-_D6-Pad2_ eSim_PNP
+Q25 Net-_D8-Pad1_ Net-_D6-Pad2_ Net-_Q25-Pad3_ eSim_PNP
+Q28 Net-_Q27-Pad1_ Net-_D10-Pad2_ Net-_Q25-Pad3_ eSim_PNP
+D8 Net-_D8-Pad1_ Net-_D3-Pad2_ eSim_Diode
+Q27 Net-_Q27-Pad1_ Net-_D8-Pad1_ Net-_D3-Pad2_ eSim_NPN
+D9 Net-_D9-Pad1_ Net-_D10-Pad2_ eSim_Diode
+Q29 Net-_D3-Pad2_ Net-_D10-Pad1_ Net-_D10-Pad2_ eSim_PNP
+D10 Net-_D10-Pad1_ Net-_D10-Pad2_ eSim_Diode
+Q31 Net-_Q30-Pad1_ Net-_Q27-Pad1_ Net-_D3-Pad2_ eSim_NPN
+Q32 Net-_Q32-Pad1_ Net-_Q30-Pad1_ Net-_D3-Pad2_ eSim_NPN
+R6 Net-_J1-Pad1_ Net-_Q23-Pad3_ 2.1k
+Q23 Net-_D7-Pad1_ Net-_Q17-Pad1_ Net-_Q23-Pad3_ eSim_PNP
+
+.end
diff --git a/library/SubcircuitLibrary/LM393/LM393.cir.out b/library/SubcircuitLibrary/LM393/LM393.cir.out
new file mode 100644
index 00000000..57a7fed1
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393.cir.out
@@ -0,0 +1,66 @@
+* c:\fossee\esim\library\subcircuitlibrary\lm393\lm393.cir
+
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+.include D.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_j1-pad1_ Q2N2907A
+r2 net-_q1-pad2_ net-_q1-pad1_ 2k
+q4 net-_j1-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q5 net-_q2-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_d4-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q10 net-_q10-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q14 net-_q14-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q2 net-_q1-pad1_ net-_j1-pad3_ net-_q2-pad3_ Q2N2222
+r1 net-_q2-pad3_ net-_d3-pad2_ 4.6k
+j1 net-_j1-pad1_ net-_d3-pad2_ net-_j1-pad3_ J2N3819
+q3 net-_j1-pad3_ net-_q2-pad3_ net-_d3-pad2_ Q2N2222
+d2 net-_d2-pad1_ net-_d1-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q6 net-_d3-pad2_ net-_d1-pad1_ net-_d1-pad2_ Q2N2907A
+q9 net-_d3-pad1_ net-_d1-pad2_ net-_q10-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d4-pad2_ net-_q10-pad1_ Q2N2907A
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+q11 net-_q11-pad1_ net-_d3-pad1_ net-_d3-pad2_ Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+q13 net-_d3-pad2_ net-_d5-pad1_ net-_d4-pad2_ Q2N2907A
+d5 net-_d5-pad1_ net-_d4-pad2_ 1N4148
+q15 net-_q14-pad1_ net-_q11-pad1_ net-_d3-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q14-pad1_ net-_d3-pad2_ Q2N2222
+r3 net-_j1-pad1_ net-_q7-pad3_ 2.1k
+* u1 net-_j1-pad1_ net-_d1-pad1_ net-_d5-pad1_ net-_q16-pad1_ net-_d3-pad2_ net-_d6-pad1_ net-_d10-pad1_ net-_q32-pad1_ port
+q7 net-_d2-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q17 net-_q17-pad1_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+r5 net-_q17-pad2_ net-_q17-pad1_ 2k
+q20 net-_j2-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q21 net-_q18-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q24 net-_d9-pad1_ net-_q17-pad1_ net-_q23-pad3_ Q2N2907A
+q26 net-_q25-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q30 net-_q30-pad1_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q18 net-_q17-pad1_ net-_j2-pad3_ net-_q18-pad3_ Q2N2222
+r4 net-_q18-pad3_ net-_d3-pad2_ 4.6k
+j2 net-_j1-pad1_ net-_d3-pad2_ net-_j2-pad3_ J2N3819
+q19 net-_j2-pad3_ net-_q18-pad3_ net-_d3-pad2_ Q2N2222
+d7 net-_d7-pad1_ net-_d6-pad2_ 1N4148
+d6 net-_d6-pad1_ net-_d6-pad2_ 1N4148
+q22 net-_d3-pad2_ net-_d6-pad1_ net-_d6-pad2_ Q2N2907A
+q25 net-_d8-pad1_ net-_d6-pad2_ net-_q25-pad3_ Q2N2907A
+q28 net-_q27-pad1_ net-_d10-pad2_ net-_q25-pad3_ Q2N2907A
+d8 net-_d8-pad1_ net-_d3-pad2_ 1N4148
+q27 net-_q27-pad1_ net-_d8-pad1_ net-_d3-pad2_ Q2N2222
+d9 net-_d9-pad1_ net-_d10-pad2_ 1N4148
+q29 net-_d3-pad2_ net-_d10-pad1_ net-_d10-pad2_ Q2N2907A
+d10 net-_d10-pad1_ net-_d10-pad2_ 1N4148
+q31 net-_q30-pad1_ net-_q27-pad1_ net-_d3-pad2_ Q2N2222
+q32 net-_q32-pad1_ net-_q30-pad1_ net-_d3-pad2_ Q2N2222
+r6 net-_j1-pad1_ net-_q23-pad3_ 2.1k
+q23 net-_d7-pad1_ net-_q17-pad1_ net-_q23-pad3_ Q2N2907A
+.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/LM393/LM393.pro b/library/SubcircuitLibrary/LM393/LM393.pro
new file mode 100644
index 00000000..fd0582ba
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393.pro
@@ -0,0 +1,81 @@
+update=09/24/22 18:31:43
+version=1
+last_client=eeschema
+[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
+[schematic_editor]
+version=1
+PageLayoutDescrFile=
+PlotDirectoryName=
+SubpartIdSeparator=0
+SubpartFirstId=65
+NetFmtName=
+SpiceForceRefPrefix=0
+SpiceUseNetNumbers=0
+LabSize=60
diff --git a/library/SubcircuitLibrary/LM393/LM393.sch b/library/SubcircuitLibrary/LM393/LM393.sch
new file mode 100644
index 00000000..5fe92798
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393.sch
@@ -0,0 +1,1033 @@
+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:LM393-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
+Wire Wire Line
+ 450 5800 11150 5800
+Wire Wire Line
+ 6000 5800 6000 6300
+$Comp
+L PORT U1
+U 5 1 62EFFD91
+P 5750 6300
+F 0 "U1" H 5800 6400 30 0000 C CNN
+F 1 "PORT" H 5750 6300 30 0000 C CNN
+F 2 "" H 5750 6300 60 0000 C CNN
+F 3 "" H 5750 6300 60 0000 C CNN
+ 5 5750 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 62EFFD92
+P 350 1900
+F 0 "U1" H 400 2000 30 0000 C CNN
+F 1 "PORT" H 350 1900 30 0000 C CNN
+F 2 "" H 350 1900 60 0000 C CNN
+F 3 "" H 350 1900 60 0000 C CNN
+ 1 350 1900
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_PNP Q17
+U 1 1 630DA5A7
+P 6450 2000
+F 0 "Q17" H 6350 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 6400 2150 50 0000 R CNN
+F 2 "" H 6650 2100 29 0000 C CNN
+F 3 "" H 6450 2000 60 0000 C CNN
+ 1 6450 2000
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 630DA5AD
+P 6750 2050
+F 0 "R5" H 6800 2180 50 0000 C CNN
+F 1 "2k" H 6800 2000 50 0000 C CNN
+F 2 "" H 6800 2030 30 0000 C CNN
+F 3 "" V 6800 2100 30 0000 C CNN
+ 1 6750 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q20
+U 1 1 630DA5B3
+P 7100 2550
+F 0 "Q20" H 7000 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 7050 2700 50 0000 R CNN
+F 2 "" H 7300 2650 29 0000 C CNN
+F 3 "" H 7100 2550 60 0000 C CNN
+ 1 7100 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q21
+U 1 1 630DA5B9
+P 7600 2550
+F 0 "Q21" H 7500 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 7900 2800 50 0000 R CNN
+F 2 "" H 7800 2650 29 0000 C CNN
+F 3 "" H 7600 2550 60 0000 C CNN
+ 1 7600 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 630DA5BF
+P 8900 2550
+F 0 "Q24" H 8800 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 9150 2800 50 0000 R CNN
+F 2 "" H 9100 2650 29 0000 C CNN
+F 3 "" H 8900 2550 60 0000 C CNN
+ 1 8900 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 630DA5C5
+P 9300 2550
+F 0 "Q26" H 9200 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 9550 2800 50 0000 R CNN
+F 2 "" H 9500 2650 29 0000 C CNN
+F 3 "" H 9300 2550 60 0000 C CNN
+ 1 9300 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q30
+U 1 1 630DA5CB
+P 10650 2300
+F 0 "Q30" H 10550 2350 50 0000 R CNN
+F 1 "eSim_PNP" H 10800 2450 50 0000 R CNN
+F 2 "" H 10850 2400 29 0000 C CNN
+F 3 "" H 10650 2300 60 0000 C CNN
+ 1 10650 2300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 630DA5D1
+P 6450 4400
+F 0 "Q18" H 6350 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 4550 50 0000 R CNN
+F 2 "" H 6650 4500 29 0000 C CNN
+F 3 "" H 6450 4400 60 0000 C CNN
+ 1 6450 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 630DA5D7
+P 6300 5250
+F 0 "R4" H 6350 5380 50 0000 C CNN
+F 1 "4.6k" H 6350 5200 50 0000 C CNN
+F 2 "" H 6350 5230 30 0000 C CNN
+F 3 "" V 6350 5300 30 0000 C CNN
+ 1 6300 5250
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J2
+U 1 1 630DA5DD
+P 6050 3550
+F 0 "J2" H 5950 3600 50 0000 R CNN
+F 1 "jfet_n" H 6000 3700 50 0000 R CNN
+F 2 "" H 6250 3650 29 0000 C CNN
+F 3 "" H 6050 3550 60 0000 C CNN
+ 1 6050 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 630DA5E3
+P 6900 4900
+F 0 "Q19" H 6800 4950 50 0000 R CNN
+F 1 "eSim_NPN" H 6850 5050 50 0000 R CNN
+F 2 "" H 7100 5000 29 0000 C CNN
+F 3 "" H 6900 4900 60 0000 C CNN
+ 1 6900 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D7
+U 1 1 630DA5E9
+P 8300 3250
+F 0 "D7" H 8300 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 8300 3150 50 0000 C CNN
+F 2 "" H 8300 3250 60 0000 C CNN
+F 3 "" H 8300 3250 60 0000 C CNN
+ 1 8300 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 630DA5EF
+P 8050 3700
+F 0 "D6" H 8050 3800 50 0000 C CNN
+F 1 "eSim_Diode" H 8050 3600 50 0000 C CNN
+F 2 "" H 8050 3700 60 0000 C CNN
+F 3 "" H 8050 3700 60 0000 C CNN
+ 1 8050 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 630DA5F5
+P 8050 4500
+F 0 "Q22" H 7950 4550 50 0000 R CNN
+F 1 "eSim_PNP" H 8000 4650 50 0000 R CNN
+F 2 "" H 8250 4600 29 0000 C CNN
+F 3 "" H 8050 4500 60 0000 C CNN
+ 1 8050 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q25
+U 1 1 630DA5FB
+P 8900 4100
+F 0 "Q25" H 8800 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 8850 4250 50 0000 R CNN
+F 2 "" H 9100 4200 29 0000 C CNN
+F 3 "" H 8900 4100 60 0000 C CNN
+ 1 8900 4100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q28
+U 1 1 630DA601
+P 9600 4100
+F 0 "Q28" H 9500 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 9550 4250 50 0000 R CNN
+F 2 "" H 9800 4200 29 0000 C CNN
+F 3 "" H 9600 4100 60 0000 C CNN
+ 1 9600 4100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 630DA607
+P 9000 5450
+F 0 "D8" H 9000 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 9000 5350 50 0000 C CNN
+F 2 "" H 9000 5450 60 0000 C CNN
+F 3 "" H 9000 5450 60 0000 C CNN
+ 1 9000 5450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 630DA60D
+P 9400 5150
+F 0 "Q27" H 9300 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 9450 5300 50 0000 R CNN
+F 2 "" H 9600 5250 29 0000 C CNN
+F 3 "" H 9400 5150 60 0000 C CNN
+ 1 9400 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D9
+U 1 1 630DA613
+P 9900 3250
+F 0 "D9" H 9900 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 9900 3150 50 0000 C CNN
+F 2 "" H 9900 3250 60 0000 C CNN
+F 3 "" H 9900 3250 60 0000 C CNN
+ 1 9900 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q29
+U 1 1 630DA619
+P 10200 4450
+F 0 "Q29" H 10100 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 10150 4600 50 0000 R CNN
+F 2 "" H 10400 4550 29 0000 C CNN
+F 3 "" H 10200 4450 60 0000 C CNN
+ 1 10200 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 630DA61F
+P 10200 3650
+F 0 "D10" H 10200 3750 50 0000 C CNN
+F 1 "eSim_Diode" H 10200 3550 50 0000 C CNN
+F 2 "" H 10200 3650 60 0000 C CNN
+F 3 "" H 10200 3650 60 0000 C CNN
+ 1 10200 3650
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 630DA625
+P 10650 4800
+F 0 "Q31" H 10550 4850 50 0000 R CNN
+F 1 "eSim_NPN" H 10700 4950 50 0000 R CNN
+F 2 "" H 10850 4900 29 0000 C CNN
+F 3 "" H 10650 4800 60 0000 C CNN
+ 1 10650 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 630DA62B
+P 11050 4400
+F 0 "Q32" H 10950 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 11100 4550 50 0000 R CNN
+F 2 "" H 11250 4500 29 0000 C CNN
+F 3 "" H 11050 4400 60 0000 C CNN
+ 1 11050 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 630DA631
+P 8650 1900
+F 0 "R6" H 8700 2030 50 0000 C CNN
+F 1 "2.1k" H 8700 1850 50 0000 C CNN
+F 2 "" H 8700 1880 30 0000 C CNN
+F 3 "" V 8700 1950 30 0000 C CNN
+ 1 8650 1900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6650 2000 6650 2000
+Wire Wire Line
+ 6950 2000 6950 2300
+Wire Wire Line
+ 6950 2300 6350 2300
+Wire Wire Line
+ 6350 2200 6350 4200
+Wire Wire Line
+ 6350 1650 6350 1800
+Wire Wire Line
+ 350 1650 10750 1650
+Wire Wire Line
+ 7000 2750 7000 4700
+Wire Wire Line
+ 7700 4900 7700 2750
+Wire Wire Line
+ 8300 2750 8300 3100
+Wire Wire Line
+ 9400 1650 9400 2350
+Wire Wire Line
+ 9400 2750 9400 3900
+Wire Wire Line
+ 10750 1650 10750 2100
+Connection ~ 9400 1650
+Wire Wire Line
+ 10750 2500 10750 4600
+Connection ~ 6350 2300
+Wire Wire Line
+ 6350 4600 6350 5150
+Wire Wire Line
+ 6350 5450 6350 5800
+Wire Wire Line
+ 6150 3750 6150 4400
+Wire Wire Line
+ 5850 5800 5850 3550
+Wire Wire Line
+ 6150 1650 6150 3350
+Connection ~ 6350 1650
+Connection ~ 7000 4400
+Wire Wire Line
+ 6150 4400 7000 4400
+Connection ~ 6650 4400
+Wire Wire Line
+ 6350 4900 7700 4900
+Connection ~ 6350 4900
+Wire Wire Line
+ 7000 5800 7000 5100
+Connection ~ 6350 5800
+Connection ~ 6700 4900
+Wire Wire Line
+ 8300 3400 8300 4100
+Wire Wire Line
+ 7850 1400 7850 4500
+Wire Wire Line
+ 8200 3700 8300 3700
+Connection ~ 8300 3700
+Wire Wire Line
+ 7900 3700 7850 3700
+Connection ~ 7850 3700
+Wire Wire Line
+ 8150 4300 8150 4100
+Wire Wire Line
+ 8150 4100 8700 4100
+Wire Wire Line
+ 8150 5800 8150 4700
+Connection ~ 7000 5800
+Connection ~ 8300 4100
+Wire Wire Line
+ 9000 3900 9500 3900
+Connection ~ 9400 3900
+Wire Wire Line
+ 9000 4300 9000 5300
+Wire Wire Line
+ 9000 5800 9000 5600
+Connection ~ 8150 5800
+Wire Wire Line
+ 9000 5150 9200 5150
+Connection ~ 9000 5150
+Wire Wire Line
+ 9500 5800 9500 5350
+Connection ~ 9000 5800
+Wire Wire Line
+ 9500 4300 9500 4950
+Wire Wire Line
+ 9900 2900 9900 3100
+Wire Wire Line
+ 9800 4100 10100 4100
+Wire Wire Line
+ 10100 4100 10100 4250
+Wire Wire Line
+ 9900 3400 9900 4100
+Connection ~ 9900 4100
+Wire Wire Line
+ 10100 5800 10100 4650
+Connection ~ 9500 5800
+Wire Wire Line
+ 10050 3650 9900 3650
+Connection ~ 9900 3650
+Wire Wire Line
+ 10500 4450 10400 4450
+Wire Wire Line
+ 10500 1400 10500 4450
+Wire Wire Line
+ 10500 3650 10350 3650
+Connection ~ 10500 3650
+Wire Wire Line
+ 10450 4800 9500 4800
+Connection ~ 9500 4800
+Wire Wire Line
+ 10750 5800 10750 5000
+Connection ~ 10100 5800
+Wire Wire Line
+ 10850 4400 10750 4400
+Connection ~ 10750 4400
+Wire Wire Line
+ 11150 5800 11150 4600
+Connection ~ 10750 5800
+Wire Wire Line
+ 11150 4200 11150 1500
+Connection ~ 6150 1650
+$Comp
+L PORT U1
+U 6 1 630DA691
+P 7600 1400
+F 0 "U1" H 7650 1500 30 0000 C CNN
+F 1 "PORT" H 7600 1400 30 0000 C CNN
+F 2 "" H 7600 1400 60 0000 C CNN
+F 3 "" H 7600 1400 60 0000 C CNN
+ 6 7600 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 630DA697
+P 10250 1400
+F 0 "U1" H 10300 1500 30 0000 C CNN
+F 1 "PORT" H 10250 1400 30 0000 C CNN
+F 2 "" H 10250 1400 60 0000 C CNN
+F 3 "" H 10250 1400 60 0000 C CNN
+ 7 10250 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 630DA69D
+P 11150 1250
+F 0 "U1" H 11200 1350 30 0000 C CNN
+F 1 "PORT" H 11150 1250 30 0000 C CNN
+F 2 "" H 11150 1250 60 0000 C CNN
+F 3 "" H 11150 1250 60 0000 C CNN
+ 8 11150 1250
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 7000 2350 7000 1900
+Wire Wire Line
+ 7000 1900 7700 1900
+Wire Wire Line
+ 7700 1900 7700 2350
+Wire Wire Line
+ 7400 1900 7400 1650
+Connection ~ 7400 1650
+Connection ~ 7400 1900
+Wire Wire Line
+ 7300 2550 7400 2550
+Wire Wire Line
+ 6950 2150 7350 2150
+Wire Wire Line
+ 7350 2150 7350 2550
+Connection ~ 7350 2550
+Connection ~ 6950 2150
+$Comp
+L eSim_PNP Q23
+U 1 1 630DA6AE
+P 8400 2550
+F 0 "Q23" H 8300 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 8700 2800 50 0000 R CNN
+F 2 "" H 8600 2650 29 0000 C CNN
+F 3 "" H 8400 2550 60 0000 C CNN
+ 1 8400 2550
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 8600 2550 8700 2550
+Wire Wire Line
+ 7350 2300 10450 2300
+Wire Wire Line
+ 8650 2300 8650 2550
+Connection ~ 8650 2550
+Connection ~ 7350 2300
+Wire Wire Line
+ 8700 1800 8700 1650
+Connection ~ 8700 1650
+Wire Wire Line
+ 8300 2350 8300 2200
+Wire Wire Line
+ 8300 2200 9000 2200
+Wire Wire Line
+ 9000 2200 9000 2350
+Wire Wire Line
+ 8700 2200 8700 2100
+Connection ~ 8700 2200
+Wire Wire Line
+ 9900 2900 9000 2900
+Wire Wire Line
+ 9000 2900 9000 2750
+Wire Wire Line
+ 9100 2300 9100 2550
+Connection ~ 8650 2300
+Connection ~ 9100 2300
+Connection ~ 5850 5800
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C1E
+P 1050 2000
+F 0 "Q?" H 950 2050 50 0000 R CNN
+F 1 "eSim_PNP" H 1000 2150 50 0000 R CNN
+F 2 "" H 1250 2100 29 0000 C CNN
+F 3 "" H 1050 2000 60 0000 C CNN
+ 1 1050 2000
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R?
+U 1 1 632F6C24
+P 1350 2050
+F 0 "R?" H 1400 2180 50 0000 C CNN
+F 1 "2k" H 1400 2000 50 0000 C CNN
+F 2 "" H 1400 2030 30 0000 C CNN
+F 3 "" V 1400 2100 30 0000 C CNN
+ 1 1350 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C2A
+P 1700 2550
+F 0 "Q?" H 1600 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 1650 2700 50 0000 R CNN
+F 2 "" H 1900 2650 29 0000 C CNN
+F 3 "" H 1700 2550 60 0000 C CNN
+ 1 1700 2550
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C30
+P 2200 2550
+F 0 "Q?" H 2100 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 2500 2800 50 0000 R CNN
+F 2 "" H 2400 2650 29 0000 C CNN
+F 3 "" H 2200 2550 60 0000 C CNN
+ 1 2200 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C36
+P 3500 2550
+F 0 "Q?" H 3400 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 3750 2800 50 0000 R CNN
+F 2 "" H 3700 2650 29 0000 C CNN
+F 3 "" H 3500 2550 60 0000 C CNN
+ 1 3500 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C3C
+P 3900 2550
+F 0 "Q?" H 3800 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 4150 2800 50 0000 R CNN
+F 2 "" H 4100 2650 29 0000 C CNN
+F 3 "" H 3900 2550 60 0000 C CNN
+ 1 3900 2550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C42
+P 5250 2300
+F 0 "Q?" H 5150 2350 50 0000 R CNN
+F 1 "eSim_PNP" H 5400 2450 50 0000 R CNN
+F 2 "" H 5450 2400 29 0000 C CNN
+F 3 "" H 5250 2300 60 0000 C CNN
+ 1 5250 2300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q?
+U 1 1 632F6C48
+P 1050 4400
+F 0 "Q?" H 950 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 1000 4550 50 0000 R CNN
+F 2 "" H 1250 4500 29 0000 C CNN
+F 3 "" H 1050 4400 60 0000 C CNN
+ 1 1050 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R?
+U 1 1 632F6C4E
+P 900 5250
+F 0 "R?" H 950 5380 50 0000 C CNN
+F 1 "4.6k" H 950 5200 50 0000 C CNN
+F 2 "" H 950 5230 30 0000 C CNN
+F 3 "" V 950 5300 30 0000 C CNN
+ 1 900 5250
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J?
+U 1 1 632F6C54
+P 650 3550
+F 0 "J?" H 550 3600 50 0000 R CNN
+F 1 "jfet_n" H 600 3700 50 0000 R CNN
+F 2 "" H 850 3650 29 0000 C CNN
+F 3 "" H 650 3550 60 0000 C CNN
+ 1 650 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q?
+U 1 1 632F6C5A
+P 1500 4900
+F 0 "Q?" H 1400 4950 50 0000 R CNN
+F 1 "eSim_NPN" H 1450 5050 50 0000 R CNN
+F 2 "" H 1700 5000 29 0000 C CNN
+F 3 "" H 1500 4900 60 0000 C CNN
+ 1 1500 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D?
+U 1 1 632F6C60
+P 2900 3250
+F 0 "D?" H 2900 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 2900 3150 50 0000 C CNN
+F 2 "" H 2900 3250 60 0000 C CNN
+F 3 "" H 2900 3250 60 0000 C CNN
+ 1 2900 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D?
+U 1 1 632F6C66
+P 2650 3700
+F 0 "D?" H 2650 3800 50 0000 C CNN
+F 1 "eSim_Diode" H 2650 3600 50 0000 C CNN
+F 2 "" H 2650 3700 60 0000 C CNN
+F 3 "" H 2650 3700 60 0000 C CNN
+ 1 2650 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C6C
+P 2650 4500
+F 0 "Q?" H 2550 4550 50 0000 R CNN
+F 1 "eSim_PNP" H 2600 4650 50 0000 R CNN
+F 2 "" H 2850 4600 29 0000 C CNN
+F 3 "" H 2650 4500 60 0000 C CNN
+ 1 2650 4500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C72
+P 3500 4100
+F 0 "Q?" H 3400 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 3450 4250 50 0000 R CNN
+F 2 "" H 3700 4200 29 0000 C CNN
+F 3 "" H 3500 4100 60 0000 C CNN
+ 1 3500 4100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C78
+P 4200 4100
+F 0 "Q?" H 4100 4150 50 0000 R CNN
+F 1 "eSim_PNP" H 4150 4250 50 0000 R CNN
+F 2 "" H 4400 4200 29 0000 C CNN
+F 3 "" H 4200 4100 60 0000 C CNN
+ 1 4200 4100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D?
+U 1 1 632F6C7E
+P 3600 5450
+F 0 "D?" H 3600 5550 50 0000 C CNN
+F 1 "eSim_Diode" H 3600 5350 50 0000 C CNN
+F 2 "" H 3600 5450 60 0000 C CNN
+F 3 "" H 3600 5450 60 0000 C CNN
+ 1 3600 5450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q?
+U 1 1 632F6C84
+P 4000 5150
+F 0 "Q?" H 3900 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 4050 5300 50 0000 R CNN
+F 2 "" H 4200 5250 29 0000 C CNN
+F 3 "" H 4000 5150 60 0000 C CNN
+ 1 4000 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D?
+U 1 1 632F6C8A
+P 4500 3250
+F 0 "D?" H 4500 3350 50 0000 C CNN
+F 1 "eSim_Diode" H 4500 3150 50 0000 C CNN
+F 2 "" H 4500 3250 60 0000 C CNN
+F 3 "" H 4500 3250 60 0000 C CNN
+ 1 4500 3250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6C90
+P 4800 4450
+F 0 "Q?" H 4700 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 4750 4600 50 0000 R CNN
+F 2 "" H 5000 4550 29 0000 C CNN
+F 3 "" H 4800 4450 60 0000 C CNN
+ 1 4800 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D?
+U 1 1 632F6C96
+P 4800 3650
+F 0 "D?" H 4800 3750 50 0000 C CNN
+F 1 "eSim_Diode" H 4800 3550 50 0000 C CNN
+F 2 "" H 4800 3650 60 0000 C CNN
+F 3 "" H 4800 3650 60 0000 C CNN
+ 1 4800 3650
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q?
+U 1 1 632F6C9C
+P 5250 4800
+F 0 "Q?" H 5150 4850 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 4950 50 0000 R CNN
+F 2 "" H 5450 4900 29 0000 C CNN
+F 3 "" H 5250 4800 60 0000 C CNN
+ 1 5250 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q?
+U 1 1 632F6CA2
+P 5650 4400
+F 0 "Q?" H 5550 4450 50 0000 R CNN
+F 1 "eSim_NPN" H 5700 4550 50 0000 R CNN
+F 2 "" H 5850 4500 29 0000 C CNN
+F 3 "" H 5650 4400 60 0000 C CNN
+ 1 5650 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R?
+U 1 1 632F6CA8
+P 3250 1900
+F 0 "R?" H 3300 2030 50 0000 C CNN
+F 1 "2.1k" H 3300 1850 50 0000 C CNN
+F 2 "" H 3300 1880 30 0000 C CNN
+F 3 "" V 3300 1950 30 0000 C CNN
+ 1 3250 1900
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1250 2000 1250 2000
+Wire Wire Line
+ 1550 2000 1550 2300
+Wire Wire Line
+ 1550 2300 950 2300
+Wire Wire Line
+ 950 2200 950 4200
+Wire Wire Line
+ 950 1650 950 1800
+Wire Wire Line
+ 1600 2750 1600 4700
+Wire Wire Line
+ 2300 4900 2300 2750
+Wire Wire Line
+ 2900 2750 2900 3100
+Wire Wire Line
+ 4000 1650 4000 2350
+Wire Wire Line
+ 4000 2750 4000 3900
+Wire Wire Line
+ 5350 1650 5350 2100
+Connection ~ 4000 1650
+Wire Wire Line
+ 5350 2500 5350 4600
+Connection ~ 950 2300
+Wire Wire Line
+ 950 4600 950 5150
+Wire Wire Line
+ 950 5450 950 5800
+Wire Wire Line
+ 750 3750 750 4400
+Wire Wire Line
+ 450 5800 450 3550
+Wire Wire Line
+ 750 1650 750 3350
+Connection ~ 950 1650
+Connection ~ 1600 4400
+Wire Wire Line
+ 750 4400 1600 4400
+Connection ~ 1250 4400
+Wire Wire Line
+ 950 4900 2300 4900
+Connection ~ 950 4900
+Wire Wire Line
+ 1600 5800 1600 5100
+Connection ~ 950 5800
+Connection ~ 1300 4900
+Wire Wire Line
+ 2900 3400 2900 4100
+Wire Wire Line
+ 2450 1400 2450 4500
+Wire Wire Line
+ 2800 3700 2900 3700
+Connection ~ 2900 3700
+Wire Wire Line
+ 2500 3700 2450 3700
+Connection ~ 2450 3700
+Wire Wire Line
+ 2750 4300 2750 4100
+Wire Wire Line
+ 2750 4100 3300 4100
+Wire Wire Line
+ 2750 5800 2750 4700
+Connection ~ 1600 5800
+Connection ~ 2900 4100
+Wire Wire Line
+ 3600 3900 4100 3900
+Connection ~ 4000 3900
+Wire Wire Line
+ 3600 4300 3600 5300
+Wire Wire Line
+ 3600 5800 3600 5600
+Connection ~ 2750 5800
+Wire Wire Line
+ 3600 5150 3800 5150
+Connection ~ 3600 5150
+Wire Wire Line
+ 4100 5800 4100 5350
+Connection ~ 3600 5800
+Wire Wire Line
+ 4100 4300 4100 4950
+Wire Wire Line
+ 4500 2900 4500 3100
+Wire Wire Line
+ 4400 4100 4700 4100
+Wire Wire Line
+ 4700 4100 4700 4250
+Wire Wire Line
+ 4500 3400 4500 4100
+Connection ~ 4500 4100
+Wire Wire Line
+ 4700 5800 4700 4650
+Connection ~ 4100 5800
+Wire Wire Line
+ 4650 3650 4500 3650
+Connection ~ 4500 3650
+Wire Wire Line
+ 5100 4450 5000 4450
+Wire Wire Line
+ 5100 1400 5100 4450
+Wire Wire Line
+ 5100 3650 4950 3650
+Connection ~ 5100 3650
+Wire Wire Line
+ 5050 4800 4100 4800
+Connection ~ 4100 4800
+Wire Wire Line
+ 5350 5800 5350 5000
+Connection ~ 4700 5800
+Wire Wire Line
+ 5450 4400 5350 4400
+Connection ~ 5350 4400
+Wire Wire Line
+ 5750 5800 5750 4600
+Connection ~ 5350 5800
+Wire Wire Line
+ 5750 4200 5750 1500
+Connection ~ 750 1650
+$Comp
+L PORT U?
+U 1 1 632F6D0D
+P 2200 1400
+F 0 "U?" H 2250 1500 30 0000 C CNN
+F 1 "PORT" H 2200 1400 30 0000 C CNN
+F 2 "" H 2200 1400 60 0000 C CNN
+F 3 "" H 2200 1400 60 0000 C CNN
+ 1 2200 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 632F6D13
+P 4850 1400
+F 0 "U?" H 4900 1500 30 0000 C CNN
+F 1 "PORT" H 4850 1400 30 0000 C CNN
+F 2 "" H 4850 1400 60 0000 C CNN
+F 3 "" H 4850 1400 60 0000 C CNN
+ 1 4850 1400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 632F6D19
+P 5750 1250
+F 0 "U?" H 5800 1350 30 0000 C CNN
+F 1 "PORT" H 5750 1250 30 0000 C CNN
+F 2 "" H 5750 1250 60 0000 C CNN
+F 3 "" H 5750 1250 60 0000 C CNN
+ 1 5750 1250
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1600 2350 1600 1900
+Wire Wire Line
+ 1600 1900 2300 1900
+Wire Wire Line
+ 2300 1900 2300 2350
+Wire Wire Line
+ 2000 1900 2000 1650
+Connection ~ 2000 1650
+Connection ~ 2000 1900
+Wire Wire Line
+ 1900 2550 2000 2550
+Wire Wire Line
+ 1550 2150 1950 2150
+Wire Wire Line
+ 1950 2150 1950 2550
+Connection ~ 1950 2550
+Connection ~ 1550 2150
+$Comp
+L eSim_PNP Q?
+U 1 1 632F6D2D
+P 3000 2550
+F 0 "Q?" H 2900 2600 50 0000 R CNN
+F 1 "eSim_PNP" H 3300 2800 50 0000 R CNN
+F 2 "" H 3200 2650 29 0000 C CNN
+F 3 "" H 3000 2550 60 0000 C CNN
+ 1 3000 2550
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3200 2550 3300 2550
+Wire Wire Line
+ 1950 2300 5050 2300
+Wire Wire Line
+ 3250 2300 3250 2550
+Connection ~ 3250 2550
+Connection ~ 1950 2300
+Wire Wire Line
+ 3300 1800 3300 1650
+Connection ~ 3300 1650
+Wire Wire Line
+ 2900 2350 2900 2200
+Wire Wire Line
+ 2900 2200 3600 2200
+Wire Wire Line
+ 3600 2200 3600 2350
+Wire Wire Line
+ 3300 2200 3300 2100
+Connection ~ 3300 2200
+Wire Wire Line
+ 4500 2900 3600 2900
+Wire Wire Line
+ 3600 2900 3600 2750
+Wire Wire Line
+ 3700 2300 3700 2550
+Connection ~ 3250 2300
+Connection ~ 3700 2300
+Connection ~ 5350 1650
+Connection ~ 5750 5800
+Connection ~ 6000 5800
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LM393/LM393.sub b/library/SubcircuitLibrary/LM393/LM393.sub
new file mode 100644
index 00000000..b854038f
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393.sub
@@ -0,0 +1,60 @@
+* Subcircuit LM393
+.subckt LM393 net-_j1-pad1_ net-_d1-pad1_ net-_d5-pad1_ net-_q16-pad1_ net-_d3-pad2_ net-_d6-pad1_ net-_d10-pad1_ net-_q32-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\lm393\lm393.cir
+.include PNP.lib
+.include NPN.lib
+.include NJF.lib
+.include D.lib
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_j1-pad1_ Q2N2907A
+r2 net-_q1-pad2_ net-_q1-pad1_ 2k
+q4 net-_j1-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q5 net-_q2-pad3_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q8 net-_d4-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q10 net-_q10-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q14 net-_q14-pad1_ net-_q1-pad1_ net-_j1-pad1_ Q2N2907A
+q2 net-_q1-pad1_ net-_j1-pad3_ net-_q2-pad3_ Q2N2222
+r1 net-_q2-pad3_ net-_d3-pad2_ 4.6k
+j1 net-_j1-pad1_ net-_d3-pad2_ net-_j1-pad3_ J2N3819
+q3 net-_j1-pad3_ net-_q2-pad3_ net-_d3-pad2_ Q2N2222
+d2 net-_d2-pad1_ net-_d1-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q6 net-_d3-pad2_ net-_d1-pad1_ net-_d1-pad2_ Q2N2907A
+q9 net-_d3-pad1_ net-_d1-pad2_ net-_q10-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d4-pad2_ net-_q10-pad1_ Q2N2907A
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+q11 net-_q11-pad1_ net-_d3-pad1_ net-_d3-pad2_ Q2N2222
+d4 net-_d4-pad1_ net-_d4-pad2_ 1N4148
+q13 net-_d3-pad2_ net-_d5-pad1_ net-_d4-pad2_ Q2N2907A
+d5 net-_d5-pad1_ net-_d4-pad2_ 1N4148
+q15 net-_q14-pad1_ net-_q11-pad1_ net-_d3-pad2_ Q2N2222
+q16 net-_q16-pad1_ net-_q14-pad1_ net-_d3-pad2_ Q2N2222
+r3 net-_j1-pad1_ net-_q7-pad3_ 2.1k
+q7 net-_d2-pad1_ net-_q1-pad1_ net-_q7-pad3_ Q2N2907A
+q17 net-_q17-pad1_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+r5 net-_q17-pad2_ net-_q17-pad1_ 2k
+q20 net-_j2-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q21 net-_q18-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q24 net-_d9-pad1_ net-_q17-pad1_ net-_q23-pad3_ Q2N2907A
+q26 net-_q25-pad3_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q30 net-_q30-pad1_ net-_q17-pad1_ net-_j1-pad1_ Q2N2907A
+q18 net-_q17-pad1_ net-_j2-pad3_ net-_q18-pad3_ Q2N2222
+r4 net-_q18-pad3_ net-_d3-pad2_ 4.6k
+j2 net-_j1-pad1_ net-_d3-pad2_ net-_j2-pad3_ J2N3819
+q19 net-_j2-pad3_ net-_q18-pad3_ net-_d3-pad2_ Q2N2222
+d7 net-_d7-pad1_ net-_d6-pad2_ 1N4148
+d6 net-_d6-pad1_ net-_d6-pad2_ 1N4148
+q22 net-_d3-pad2_ net-_d6-pad1_ net-_d6-pad2_ Q2N2907A
+q25 net-_d8-pad1_ net-_d6-pad2_ net-_q25-pad3_ Q2N2907A
+q28 net-_q27-pad1_ net-_d10-pad2_ net-_q25-pad3_ Q2N2907A
+d8 net-_d8-pad1_ net-_d3-pad2_ 1N4148
+q27 net-_q27-pad1_ net-_d8-pad1_ net-_d3-pad2_ Q2N2222
+d9 net-_d9-pad1_ net-_d10-pad2_ 1N4148
+q29 net-_d3-pad2_ net-_d10-pad1_ net-_d10-pad2_ Q2N2907A
+d10 net-_d10-pad1_ net-_d10-pad2_ 1N4148
+q31 net-_q30-pad1_ net-_q27-pad1_ net-_d3-pad2_ Q2N2222
+q32 net-_q32-pad1_ net-_q30-pad1_ net-_d3-pad2_ Q2N2222
+r6 net-_j1-pad1_ net-_q23-pad3_ 2.1k
+q23 net-_d7-pad1_ net-_q17-pad1_ net-_q23-pad3_ Q2N2907A
+* Control Statements
+
+.ends LM393 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/LM393/LM393_Previous_Values.xml b/library/SubcircuitLibrary/LM393/LM393_Previous_Values.xml
new file mode 100644
index 00000000..babb60e4
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/LM393_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q1><q4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q4><q5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q5><q8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q8><q10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q10><q14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q14><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><j1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j1><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d2><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d1><q6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q6><q9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q9><q12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q12><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d3><q11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q11><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d4><q13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q13><d5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d5><q15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q15><q16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q16><q7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q7><q17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q17><q20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q20><q21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q21><q24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q24><q26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q26><q30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q30><q18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q18><j2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.lib</field></j2><q19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q19><d7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d7><d6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d6><q22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q22><q25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q25><q28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q28><d8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d8><q27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q27><d9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d9><q29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q29><d10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib</field></d10><q31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q31><q32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q32><q23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib</field></q23></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/LM393/NJF.lib b/library/SubcircuitLibrary/LM393/NJF.lib
new file mode 100644
index 00000000..dbb2cbae
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/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/LM393/NPN.lib b/library/SubcircuitLibrary/LM393/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/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/LM393/PNP.lib b/library/SubcircuitLibrary/LM393/PNP.lib
new file mode 100644
index 00000000..7edda0ea
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/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/LM393/README.md b/library/SubcircuitLibrary/LM393/README.md
new file mode 100644
index 00000000..d0b0abaf
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/README.md
@@ -0,0 +1,35 @@
+
+# LM393 Comparator IC
+
+LM393 is a Low power, low offset voltage comparator IC. It has two channels sharing common biasing. It is a high precision comparator with a low offset voltage of 2 mV. It has various applications such as in limit comparators, A/D convertors, wave shaping circuits etc.
+
+
+## Usage/Examples
+
+Basic Comparator
+
+CMOS/TTL Driver
+
+Pulse Train Generator
+
+Crystal Controlled Oscillator
+
+Positive/Negative Floating Regulator
+
+Two-Decade High Frequency VCO
+
+
+## Documentation
+
+To know the details of LM393 IC please refer to this link [LM393_datasheet.](https://www.ti.com/lit/ds/symlink/lm393-n.pdf?ts=1665939843518&ref_url=https%253A%252F%252Fwww.google.com%252F)
+
+## Comments/Notes
+
+Please note this is a complete analog IC. It works fine at the time of simulation.
+
+## Contributor
+
+Name: Arpit Sharma
+Email: arpitniraliya306@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellowship Intern 2022
diff --git a/library/SubcircuitLibrary/LM393/analysis b/library/SubcircuitLibrary/LM393/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/LM393/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file