summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LM358_Sub/LM358_Sub.sch
blob: 39e448893e60109b35fcf713738bbd623e1644f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
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