summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
diff options
context:
space:
mode:
authorSumanto Kar2024-11-21 21:11:52 +0530
committerSumanto Kar2024-11-21 21:11:52 +0530
commit5c60899a21a571559c71ee47c628c15e83ffe013 (patch)
tree97fe3ec996fcb55b2f2e7065b750b0dfe6ba4b4b /library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
parent681ce033036c07ff3c4254a54bf3949c21415df2 (diff)
downloadeSim-5c60899a21a571559c71ee47c628c15e83ffe013.tar.gz
eSim-5c60899a21a571559c71ee47c628c15e83ffe013.tar.bz2
eSim-5c60899a21a571559c71ee47c628c15e83ffe013.zip
LM358 is a dual operational amplifier
Diffstat (limited to 'library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch')
-rw-r--r--library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch951
1 files changed, 951 insertions, 0 deletions
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