summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/74157/74157.sch
blob: c7c64ece4012d3a49cc97c4b1923fff28af55367 (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
EESchema Schematic File Version 2
LIBS:74157-rescue
LIBS:eSim_Analog
LIBS:eSim_Devices
LIBS:eSim_Digital
LIBS:eSim_Hybrid
LIBS:eSim_Miscellaneous
LIBS:eSim_Plot
LIBS:eSim_Power
LIBS:eSim_Sources
LIBS:eSim_Subckt
LIBS:eSim_User
LIBS:74157-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L d_or U20
U 1 1 5C95E06C
P 6650 3300
F 0 "U20" H 6650 3300 60  0000 C CNN
F 1 "d_or" H 6650 3400 60  0000 C CNN
F 2 "" H 6650 3300 60  0000 C CNN
F 3 "" H 6650 3300 60  0000 C CNN
	1    6650 3300
	1    0    0    -1  
$EndComp
$Comp
L d_or U21
U 1 1 5C95E114
P 6650 3800
F 0 "U21" H 6650 3800 60  0000 C CNN
F 1 "d_or" H 6650 3900 60  0000 C CNN
F 2 "" H 6650 3800 60  0000 C CNN
F 3 "" H 6650 3800 60  0000 C CNN
	1    6650 3800
	1    0    0    -1  
$EndComp
$Comp
L d_or U22
U 1 1 5C95E16E
P 6650 4250
F 0 "U22" H 6650 4250 60  0000 C CNN
F 1 "d_or" H 6650 4350 60  0000 C CNN
F 2 "" H 6650 4250 60  0000 C CNN
F 3 "" H 6650 4250 60  0000 C CNN
	1    6650 4250
	1    0    0    -1  
$EndComp
$Comp
L d_or U23
U 1 1 5C95E1C9
P 6650 4750
F 0 "U23" H 6650 4750 60  0000 C CNN
F 1 "d_or" H 6650 4850 60  0000 C CNN
F 2 "" H 6650 4750 60  0000 C CNN
F 3 "" H 6650 4750 60  0000 C CNN
	1    6650 4750
	1    0    0    -1  
$EndComp
$Comp
L d_inverter U3
U 1 1 5C95E74D
P 2750 6250
F 0 "U3" H 2750 6150 60  0000 C CNN
F 1 "d_inverter" H 2750 6400 60  0000 C CNN
F 2 "" H 2800 6200 60  0000 C CNN
F 3 "" H 2800 6200 60  0000 C CNN
	1    2750 6250
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 2 1 5C95E920
P 1400 1850
F 0 "U1" H 1450 1950 30  0000 C CNN
F 1 "PORT" H 1400 1850 30  0000 C CNN
F 2 "" H 1400 1850 60  0000 C CNN
F 3 "" H 1400 1850 60  0000 C CNN
	2    1400 1850
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 3 1 5C95E9CF
P 1400 2150
F 0 "U1" H 1450 2250 30  0000 C CNN
F 1 "PORT" H 1400 2150 30  0000 C CNN
F 2 "" H 1400 2150 60  0000 C CNN
F 3 "" H 1400 2150 60  0000 C CNN
	3    1400 2150
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 11 1 5C95EA28
P 1400 3350
F 0 "U1" H 1450 3450 30  0000 C CNN
F 1 "PORT" H 1400 3350 30  0000 C CNN
F 2 "" H 1400 3350 60  0000 C CNN
F 3 "" H 1400 3350 60  0000 C CNN
	11   1400 3350
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 10 1 5C95EA9C
P 1400 3600
F 0 "U1" H 1450 3700 30  0000 C CNN
F 1 "PORT" H 1400 3600 30  0000 C CNN
F 2 "" H 1400 3600 60  0000 C CNN
F 3 "" H 1400 3600 60  0000 C CNN
	10   1400 3600
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 5 1 5C95EAFD
P 1400 2650
F 0 "U1" H 1450 2750 30  0000 C CNN
F 1 "PORT" H 1400 2650 30  0000 C CNN
F 2 "" H 1400 2650 60  0000 C CNN
F 3 "" H 1400 2650 60  0000 C CNN
	5    1400 2650
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 6 1 5C95EB63
P 1400 2900
F 0 "U1" H 1450 3000 30  0000 C CNN
F 1 "PORT" H 1400 2900 30  0000 C CNN
F 2 "" H 1400 2900 60  0000 C CNN
F 3 "" H 1400 2900 60  0000 C CNN
	6    1400 2900
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 13 1 5C95EC38
P 1400 4300
F 0 "U1" H 1450 4400 30  0000 C CNN
F 1 "PORT" H 1400 4300 30  0000 C CNN
F 2 "" H 1400 4300 60  0000 C CNN
F 3 "" H 1400 4300 60  0000 C CNN
	13   1400 4300
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 1 1 5C95ECA1
P 1450 6250
F 0 "U1" H 1500 6350 30  0000 C CNN
F 1 "PORT" H 1450 6250 30  0000 C CNN
F 2 "" H 1450 6250 60  0000 C CNN
F 3 "" H 1450 6250 60  0000 C CNN
	1    1450 6250
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 15 1 5C95ED51
P 1400 6650
F 0 "U1" H 1450 6750 30  0000 C CNN
F 1 "PORT" H 1400 6650 30  0000 C CNN
F 2 "" H 1400 6650 60  0000 C CNN
F 3 "" H 1400 6650 60  0000 C CNN
	15   1400 6650
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 4 1 5C95EDCC
P 8550 3250
F 0 "U1" H 8600 3350 30  0000 C CNN
F 1 "PORT" H 8550 3250 30  0000 C CNN
F 2 "" H 8550 3250 60  0000 C CNN
F 3 "" H 8550 3250 60  0000 C CNN
	4    8550 3250
	-1   0    0    1   
$EndComp
$Comp
L PORT U1
U 7 1 5C95EEA6
P 8550 3750
F 0 "U1" H 8600 3850 30  0000 C CNN
F 1 "PORT" H 8550 3750 30  0000 C CNN
F 2 "" H 8550 3750 60  0000 C CNN
F 3 "" H 8550 3750 60  0000 C CNN
	7    8550 3750
	-1   0    0    1   
$EndComp
$Comp
L PORT U1
U 9 1 5C95EF2D
P 8550 4200
F 0 "U1" H 8600 4300 30  0000 C CNN
F 1 "PORT" H 8550 4200 30  0000 C CNN
F 2 "" H 8550 4200 60  0000 C CNN
F 3 "" H 8550 4200 60  0000 C CNN
	9    8550 4200
	-1   0    0    1   
$EndComp
$Comp
L PORT U1
U 12 1 5C95EFB5
P 8500 4700
F 0 "U1" H 8550 4800 30  0000 C CNN
F 1 "PORT" H 8500 4700 30  0000 C CNN
F 2 "" H 8500 4700 60  0000 C CNN
F 3 "" H 8500 4700 60  0000 C CNN
	12   8500 4700
	-1   0    0    1   
$EndComp
Text Notes 1950 1800 0    60   ~ 12
A0\n
Text Notes 1950 2100 0    60   ~ 12
A1
Text Notes 1900 2600 0    60   ~ 12
B0
Text Notes 1900 2900 0    60   ~ 12
B1\n
Text Notes 1900 3350 0    60   ~ 12
C0\n
Text Notes 1900 3600 0    60   ~ 12
C1\n
Text Notes 1800 4050 0    60   ~ 12
D0
Text Notes 1800 4300 0    60   ~ 12
D1
Text Notes 1850 6250 0    60   ~ 12
SEL\n
Text Notes 1800 6650 0    60   ~ 12
~EN
$Comp
L d_inverter U2
U 1 1 5C95FD56
P 2650 6650
F 0 "U2" H 2650 6550 60  0000 C CNN
F 1 "d_inverter" H 2650 6800 60  0000 C CNN
F 2 "" H 2700 6600 60  0000 C CNN
F 3 "" H 2700 6600 60  0000 C CNN
	1    2650 6650
	1    0    0    -1  
$EndComp
Text Notes 7850 3200 0    60   ~ 12
YA
Text Notes 7850 3700 0    60   ~ 12
YB
Text Notes 7850 4200 2    60   ~ 12
YC
Text Notes 7800 4700 0    60   ~ 12
YD
$Comp
L 3_and-RESCUE-74157 X2
U 1 1 5C9D0110
P 3450 2400
F 0 "X2" H 4350 2700 60  0000 C CNN
F 1 "3_and" H 4400 2900 60  0000 C CNN
F 2 "" H 3450 2400 60  0000 C CNN
F 3 "" H 3450 2400 60  0000 C CNN
	1    3450 2400
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X3
U 1 1 5C9D01B8
P 3450 2900
F 0 "X3" H 4350 3200 60  0000 C CNN
F 1 "3_and" H 4400 3400 60  0000 C CNN
F 2 "" H 3450 2900 60  0000 C CNN
F 3 "" H 3450 2900 60  0000 C CNN
	1    3450 2900
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X4
U 1 1 5C9D0222
P 3450 3350
F 0 "X4" H 4350 3650 60  0000 C CNN
F 1 "3_and" H 4400 3850 60  0000 C CNN
F 2 "" H 3450 3350 60  0000 C CNN
F 3 "" H 3450 3350 60  0000 C CNN
	1    3450 3350
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X5
U 1 1 5C9D0289
P 3450 3850
F 0 "X5" H 4350 4150 60  0000 C CNN
F 1 "3_and" H 4400 4350 60  0000 C CNN
F 2 "" H 3450 3850 60  0000 C CNN
F 3 "" H 3450 3850 60  0000 C CNN
	1    3450 3850
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X6
U 1 1 5C9D0361
P 3450 4650
F 0 "X6" H 4350 4950 60  0000 C CNN
F 1 "3_and" H 4400 5150 60  0000 C CNN
F 2 "" H 3450 4650 60  0000 C CNN
F 3 "" H 3450 4650 60  0000 C CNN
	1    3450 4650
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X7
U 1 1 5C9D0367
P 3450 5150
F 0 "X7" H 4350 5450 60  0000 C CNN
F 1 "3_and" H 4400 5650 60  0000 C CNN
F 2 "" H 3450 5150 60  0000 C CNN
F 3 "" H 3450 5150 60  0000 C CNN
	1    3450 5150
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X1
U 1 1 5C9D036D
P 3400 5600
F 0 "X1" H 4300 5900 60  0000 C CNN
F 1 "3_and" H 4350 6100 60  0000 C CNN
F 2 "" H 3400 5600 60  0000 C CNN
F 3 "" H 3400 5600 60  0000 C CNN
	1    3400 5600
	1    0    0    -1  
$EndComp
$Comp
L 3_and-RESCUE-74157 X8
U 1 1 5C9D0373
P 3450 6100
F 0 "X8" H 4350 6400 60  0000 C CNN
F 1 "3_and" H 4400 6600 60  0000 C CNN
F 2 "" H 3450 6100 60  0000 C CNN
F 3 "" H 3450 6100 60  0000 C CNN
	1    3450 6100
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 8 1 5D123D14
P 8450 1500
F 0 "U1" H 8500 1600 30  0000 C CNN
F 1 "PORT" H 8450 1500 30  0000 C CNN
F 2 "" H 8450 1500 60  0000 C CNN
F 3 "" H 8450 1500 60  0000 C CNN
	8    8450 1500
	-1   0    0    1   
$EndComp
$Comp
L PORT U1
U 16 1 5D123E38
P 8450 1850
F 0 "U1" H 8500 1950 30  0000 C CNN
F 1 "PORT" H 8450 1850 30  0000 C CNN
F 2 "" H 8450 1850 60  0000 C CNN
F 3 "" H 8450 1850 60  0000 C CNN
	16   8450 1850
	-1   0    0    1   
$EndComp
Wire Wire Line
	1650 1850 2750 1850
Wire Wire Line
	2750 3350 1650 3350
Wire Wire Line
	2750 3050 2750 3350
Wire Wire Line
	2800 4050 1650 4050
Wire Wire Line
	2800 3550 2800 4050
Wire Wire Line
	2200 2150 2200 4350
Wire Wire Line
	2200 2150 1650 2150
Wire Wire Line
	2150 2900 2150 4850
Wire Wire Line
	2150 2900 1650 2900
Wire Wire Line
	2100 3600 2100 5300
Wire Wire Line
	2100 3600 1650 3600
Wire Wire Line
	2050 4300 2050 5800
Wire Wire Line
	1650 4300 2050 4300
Wire Wire Line
	2200 5500 2200 6250
Wire Wire Line
	6200 3200 5950 3200
Wire Wire Line
	5950 3200 5950 2000
Wire Wire Line
	5950 2000 4750 2000
Wire Wire Line
	6200 3700 5850 3700
Wire Wire Line
	5850 3700 5850 2500
Wire Wire Line
	5850 2500 4750 2500
Wire Wire Line
	6200 4150 5750 4150
Wire Wire Line
	5750 4150 5750 2950
Wire Wire Line
	5750 2950 4750 2950
Wire Wire Line
	6200 4650 5650 4650
Wire Wire Line
	5650 4650 5650 3450
Wire Wire Line
	5650 3450 4750 3450
Wire Wire Line
	4750 4250 5450 4250
Wire Wire Line
	5450 4250 5450 3300
Wire Wire Line
	5450 3300 6200 3300
Wire Wire Line
	4750 4750 5550 4750
Wire Wire Line
	5550 4750 5550 3800
Wire Wire Line
	5550 3800 6200 3800
Wire Wire Line
	4700 5200 5600 5200
Wire Wire Line
	5600 5200 5600 4250
Wire Wire Line
	5600 4250 6200 4250
Wire Wire Line
	4750 5700 5700 5700
Wire Wire Line
	5700 5700 5700 4750
Wire Wire Line
	5700 4750 6200 4750
Wire Wire Line
	7100 3250 8300 3250
Wire Wire Line
	7100 3750 8300 3750
Wire Wire Line
	7100 4200 8300 4200
Wire Wire Line
	7100 4700 8250 4700
Wire Wire Line
	1700 6250 2450 6250
Connection ~ 2200 6250
Wire Wire Line
	3400 6650 2950 6650
Wire Wire Line
	1650 6650 2350 6650
Wire Wire Line
	3450 2000 3900 2000
Wire Wire Line
	3450 2000 3450 5700
Wire Wire Line
	3450 2500 3900 2500
Wire Wire Line
	3450 2950 3900 2950
Connection ~ 3450 2500
Wire Wire Line
	3450 3450 3900 3450
Connection ~ 3450 2950
Wire Wire Line
	3450 4250 3900 4250
Connection ~ 3450 3450
Wire Wire Line
	3450 4750 3900 4750
Connection ~ 3450 4250
Wire Wire Line
	3450 5200 3850 5200
Connection ~ 3450 4750
Wire Wire Line
	3400 5700 3900 5700
Connection ~ 3450 5200
Wire Wire Line
	3300 5600 3900 5600
Wire Wire Line
	3300 4150 3300 5600
Wire Wire Line
	3300 5100 3850 5100
Wire Wire Line
	3300 4650 3900 4650
Connection ~ 3300 5100
Wire Wire Line
	3300 4150 3900 4150
Connection ~ 3300 4650
Wire Wire Line
	3250 3350 3900 3350
Wire Wire Line
	3250 1900 3250 3350
Wire Wire Line
	3250 2850 3900 2850
Wire Wire Line
	3250 2400 3900 2400
Connection ~ 3250 2850
Wire Wire Line
	3250 1900 3900 1900
Connection ~ 3250 2400
Wire Wire Line
	3250 3000 3100 3000
Wire Wire Line
	3100 3000 3100 6250
Wire Wire Line
	3100 6250 3050 6250
Connection ~ 3250 3000
Wire Wire Line
	3300 5500 2200 5500
Connection ~ 3300 5500
Wire Wire Line
	3400 6650 3400 5700
Connection ~ 3450 5700
Wire Wire Line
	3900 2100 2750 2100
Wire Wire Line
	2750 2100 2750 1850
Wire Wire Line
	3900 2600 1650 2600
Wire Wire Line
	1650 2600 1650 2650
Wire Wire Line
	3900 3050 2750 3050
Wire Wire Line
	3900 3550 2800 3550
Wire Wire Line
	2200 4350 3900 4350
Wire Wire Line
	2150 4850 3900 4850
Wire Wire Line
	2100 5300 3850 5300
Wire Wire Line
	2050 5800 3900 5800
$Comp
L PORT U1
U 14 1 5C95EBC8
P 1400 4050
F 0 "U1" H 1450 4150 30  0000 C CNN
F 1 "PORT" H 1400 4050 30  0000 C CNN
F 2 "" H 1400 4050 60  0000 C CNN
F 3 "" H 1400 4050 60  0000 C CNN
	14   1400 4050
	1    0    0    -1  
$EndComp
NoConn ~ 8200 1500
NoConn ~ 8200 1850
$EndSCHEMATC