summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/SN74LS138/SN74LS138.sch
diff options
context:
space:
mode:
Diffstat (limited to 'library/SubcircuitLibrary/SN74LS138/SN74LS138.sch')
-rw-r--r--library/SubcircuitLibrary/SN74LS138/SN74LS138.sch665
1 files changed, 665 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/SN74LS138/SN74LS138.sch b/library/SubcircuitLibrary/SN74LS138/SN74LS138.sch
new file mode 100644
index 00000000..37a20de9
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LS138/SN74LS138.sch
@@ -0,0 +1,665 @@
+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:SN74LS138-cache
+EELAYER 25 0
+EELAYER END
+$Descr A2 23386 16535
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L 4_and X2
+U 1 1 665D7644
+P 12650 5550
+F 0 "X2" H 12700 5500 60 0000 C CNN
+F 1 "4_and" H 12750 5650 60 0000 C CNN
+F 2 "" H 12650 5550 60 0000 C CNN
+F 3 "" H 12650 5550 60 0000 C CNN
+ 1 12650 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U19
+U 1 1 665D77DD
+P 13450 5550
+F 0 "U19" H 13450 5450 60 0000 C CNN
+F 1 "d_inverter" H 13450 5700 60 0000 C CNN
+F 2 "" H 13500 5500 60 0000 C CNN
+F 3 "" H 13500 5500 60 0000 C CNN
+ 1 13450 5550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X3
+U 1 1 665D79AA
+P 12650 6050
+F 0 "X3" H 12700 6000 60 0000 C CNN
+F 1 "4_and" H 12750 6150 60 0000 C CNN
+F 2 "" H 12650 6050 60 0000 C CNN
+F 3 "" H 12650 6050 60 0000 C CNN
+ 1 12650 6050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U20
+U 1 1 665D79B0
+P 13450 6050
+F 0 "U20" H 13450 5950 60 0000 C CNN
+F 1 "d_inverter" H 13450 6200 60 0000 C CNN
+F 2 "" H 13500 6000 60 0000 C CNN
+F 3 "" H 13500 6000 60 0000 C CNN
+ 1 13450 6050
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X4
+U 1 1 665D7B32
+P 12650 6550
+F 0 "X4" H 12700 6500 60 0000 C CNN
+F 1 "4_and" H 12750 6650 60 0000 C CNN
+F 2 "" H 12650 6550 60 0000 C CNN
+F 3 "" H 12650 6550 60 0000 C CNN
+ 1 12650 6550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U21
+U 1 1 665D7B38
+P 13450 6550
+F 0 "U21" H 13450 6450 60 0000 C CNN
+F 1 "d_inverter" H 13450 6700 60 0000 C CNN
+F 2 "" H 13500 6500 60 0000 C CNN
+F 3 "" H 13500 6500 60 0000 C CNN
+ 1 13450 6550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X5
+U 1 1 665D7B3E
+P 12650 7050
+F 0 "X5" H 12700 7000 60 0000 C CNN
+F 1 "4_and" H 12750 7150 60 0000 C CNN
+F 2 "" H 12650 7050 60 0000 C CNN
+F 3 "" H 12650 7050 60 0000 C CNN
+ 1 12650 7050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U22
+U 1 1 665D7B44
+P 13450 7050
+F 0 "U22" H 13450 6950 60 0000 C CNN
+F 1 "d_inverter" H 13450 7200 60 0000 C CNN
+F 2 "" H 13500 7000 60 0000 C CNN
+F 3 "" H 13500 7000 60 0000 C CNN
+ 1 13450 7050
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X6
+U 1 1 665D7ED8
+P 12650 7550
+F 0 "X6" H 12700 7500 60 0000 C CNN
+F 1 "4_and" H 12750 7650 60 0000 C CNN
+F 2 "" H 12650 7550 60 0000 C CNN
+F 3 "" H 12650 7550 60 0000 C CNN
+ 1 12650 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U23
+U 1 1 665D7EDE
+P 13450 7550
+F 0 "U23" H 13450 7450 60 0000 C CNN
+F 1 "d_inverter" H 13450 7700 60 0000 C CNN
+F 2 "" H 13500 7500 60 0000 C CNN
+F 3 "" H 13500 7500 60 0000 C CNN
+ 1 13450 7550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X7
+U 1 1 665D7EE4
+P 12650 8050
+F 0 "X7" H 12700 8000 60 0000 C CNN
+F 1 "4_and" H 12750 8150 60 0000 C CNN
+F 2 "" H 12650 8050 60 0000 C CNN
+F 3 "" H 12650 8050 60 0000 C CNN
+ 1 12650 8050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U24
+U 1 1 665D7EEA
+P 13450 8050
+F 0 "U24" H 13450 7950 60 0000 C CNN
+F 1 "d_inverter" H 13450 8200 60 0000 C CNN
+F 2 "" H 13500 8000 60 0000 C CNN
+F 3 "" H 13500 8000 60 0000 C CNN
+ 1 13450 8050
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X8
+U 1 1 665D7EF0
+P 12650 8550
+F 0 "X8" H 12700 8500 60 0000 C CNN
+F 1 "4_and" H 12750 8650 60 0000 C CNN
+F 2 "" H 12650 8550 60 0000 C CNN
+F 3 "" H 12650 8550 60 0000 C CNN
+ 1 12650 8550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U25
+U 1 1 665D7EF6
+P 13450 8550
+F 0 "U25" H 13450 8450 60 0000 C CNN
+F 1 "d_inverter" H 13450 8700 60 0000 C CNN
+F 2 "" H 13500 8500 60 0000 C CNN
+F 3 "" H 13500 8500 60 0000 C CNN
+ 1 13450 8550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 4_and X9
+U 1 1 665D7EFC
+P 12650 9050
+F 0 "X9" H 12700 9000 60 0000 C CNN
+F 1 "4_and" H 12750 9150 60 0000 C CNN
+F 2 "" H 12650 9050 60 0000 C CNN
+F 3 "" H 12650 9050 60 0000 C CNN
+ 1 12650 9050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U26
+U 1 1 665D7F02
+P 13450 9050
+F 0 "U26" H 13450 8950 60 0000 C CNN
+F 1 "d_inverter" H 13450 9200 60 0000 C CNN
+F 2 "" H 13500 9000 60 0000 C CNN
+F 3 "" H 13500 9000 60 0000 C CNN
+ 1 13450 9050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U18
+U 1 1 665D879A
+P 10400 9200
+F 0 "U18" H 10400 9100 60 0000 C CNN
+F 1 "d_inverter" H 10400 9350 60 0000 C CNN
+F 2 "" H 10450 9150 60 0000 C CNN
+F 3 "" H 10450 9150 60 0000 C CNN
+ 1 10400 9200
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U17
+U 1 1 665D8853
+P 10400 8600
+F 0 "U17" H 10400 8500 60 0000 C CNN
+F 1 "d_inverter" H 10400 8750 60 0000 C CNN
+F 2 "" H 10450 8550 60 0000 C CNN
+F 3 "" H 10450 8550 60 0000 C CNN
+ 1 10400 8600
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U16
+U 1 1 665D88B9
+P 10400 8100
+F 0 "U16" H 10400 8000 60 0000 C CNN
+F 1 "d_inverter" H 10400 8250 60 0000 C CNN
+F 2 "" H 10450 8050 60 0000 C CNN
+F 3 "" H 10450 8050 60 0000 C CNN
+ 1 10400 8100
+ 1 0 0 -1
+$EndComp
+$Comp
+L 3_and X1
+U 1 1 665D95DE
+P 8550 6750
+F 0 "X1" H 8650 6700 60 0000 C CNN
+F 1 "3_and" H 8700 6900 60 0000 C CNN
+F 2 "" H 8550 6750 60 0000 C CNN
+F 3 "" H 8550 6750 60 0000 C CNN
+ 1 8550 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U8
+U 1 1 665D96C5
+P 7050 6600
+F 0 "U8" H 7050 6500 60 0000 C CNN
+F 1 "d_inverter" H 7050 6750 60 0000 C CNN
+F 2 "" H 7100 6550 60 0000 C CNN
+F 3 "" H 7100 6550 60 0000 C CNN
+ 1 7050 6600
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U10
+U 1 1 665D979E
+P 7900 6600
+F 0 "U10" H 7650 6900 60 0000 C CNN
+F 1 "d_inverter" H 7950 6900 60 0000 C CNN
+F 2 "" H 7950 6550 60 0000 C CNN
+F 3 "" H 7950 6550 60 0000 C CNN
+ 1 7900 6600
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U11
+U 1 1 665D981E
+P 7900 6700
+F 0 "U11" H 7650 7000 60 0000 C CNN
+F 1 "d_inverter" H 7950 7000 60 0000 C CNN
+F 2 "" H 7950 6650 60 0000 C CNN
+F 3 "" H 7950 6650 60 0000 C CNN
+ 1 7900 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U12
+U 1 1 665D9873
+P 7900 6800
+F 0 "U12" H 7650 7100 60 0000 C CNN
+F 1 "d_inverter" H 7950 7100 60 0000 C CNN
+F 2 "" H 7950 6750 60 0000 C CNN
+F 3 "" H 7950 6750 60 0000 C CNN
+ 1 7900 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U13
+U 1 1 665D9DBA
+P 9200 8100
+F 0 "U13" H 9200 8000 60 0000 C CNN
+F 1 "d_inverter" H 9200 8250 60 0000 C CNN
+F 2 "" H 9250 8050 60 0000 C CNN
+F 3 "" H 9250 8050 60 0000 C CNN
+ 1 9200 8100
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U14
+U 1 1 665D9E3F
+P 9200 8600
+F 0 "U14" H 9200 8500 60 0000 C CNN
+F 1 "d_inverter" H 9200 8750 60 0000 C CNN
+F 2 "" H 9250 8550 60 0000 C CNN
+F 3 "" H 9250 8550 60 0000 C CNN
+ 1 9200 8600
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U15
+U 1 1 665D9EAF
+P 9200 9200
+F 0 "U15" H 9200 9100 60 0000 C CNN
+F 1 "d_inverter" H 9200 9350 60 0000 C CNN
+F 2 "" H 9250 9150 60 0000 C CNN
+F 3 "" H 9250 9150 60 0000 C CNN
+ 1 9200 9200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 12250 5400 9500 5400
+Wire Wire Line
+ 9500 5400 9500 8400
+Wire Wire Line
+ 9500 8400 12250 8400
+Wire Wire Line
+ 12250 5700 12050 5700
+Wire Wire Line
+ 12050 5700 12050 8900
+Wire Wire Line
+ 12250 8200 12050 8200
+Connection ~ 12050 8200
+Wire Wire Line
+ 12250 7700 12050 7700
+Connection ~ 12050 7700
+Wire Wire Line
+ 12250 8700 12050 8700
+Connection ~ 12050 8700
+Wire Wire Line
+ 12250 7200 12050 7200
+Connection ~ 12050 7200
+Wire Wire Line
+ 9050 6700 12250 6700
+Connection ~ 12050 6700
+Wire Wire Line
+ 12250 6200 12050 6200
+Connection ~ 12050 6200
+Wire Wire Line
+ 10750 9100 12250 9100
+Wire Wire Line
+ 10750 5900 10750 9100
+Wire Wire Line
+ 10750 5900 12250 5900
+Wire Wire Line
+ 9500 9200 10100 9200
+Wire Wire Line
+ 9900 5600 9900 9200
+Wire Wire Line
+ 9900 5600 12250 5600
+Wire Wire Line
+ 12250 5500 9650 5500
+Wire Wire Line
+ 9650 5500 9650 8600
+Wire Wire Line
+ 9500 8600 10100 8600
+Wire Wire Line
+ 10100 8100 9500 8100
+Connection ~ 9500 8100
+Wire Wire Line
+ 10700 8600 12250 8600
+Wire Wire Line
+ 10700 8100 12250 8100
+Wire Wire Line
+ 12250 6000 9650 6000
+Connection ~ 9650 6000
+Wire Wire Line
+ 12250 6100 9900 6100
+Connection ~ 9900 6100
+Wire Wire Line
+ 12250 6400 9500 6400
+Connection ~ 9500 6400
+Wire Wire Line
+ 12250 6500 11050 6500
+Wire Wire Line
+ 11050 6500 11050 9000
+Wire Wire Line
+ 11050 7000 12250 7000
+Wire Wire Line
+ 12250 6900 10750 6900
+Connection ~ 10750 6900
+Wire Wire Line
+ 12250 6600 9900 6600
+Connection ~ 9900 6600
+Wire Wire Line
+ 12250 7100 9900 7100
+Connection ~ 9900 7100
+Wire Wire Line
+ 12250 7400 9500 7400
+Connection ~ 9500 7400
+Wire Wire Line
+ 12250 7500 9650 7500
+Connection ~ 9650 7500
+Wire Wire Line
+ 12250 7600 11600 7600
+Wire Wire Line
+ 11600 7600 11600 9200
+Wire Wire Line
+ 11600 8000 12250 8000
+Wire Wire Line
+ 12250 7900 9650 7900
+Connection ~ 9650 7900
+Wire Wire Line
+ 11600 8500 12250 8500
+Connection ~ 11600 8000
+Wire Wire Line
+ 12050 8900 12250 8900
+Connection ~ 12050 8900
+Wire Wire Line
+ 10700 9200 12250 9200
+Connection ~ 11600 9200
+Connection ~ 11600 8500
+Connection ~ 11050 8600
+Connection ~ 11050 7000
+Wire Wire Line
+ 11050 9000 12250 9000
+Connection ~ 10750 8100
+Wire Wire Line
+ 7350 6600 7600 6600
+Connection ~ 9650 8600
+Wire Wire Line
+ 6750 6700 7600 6700
+Wire Wire Line
+ 7600 6800 6750 6800
+Wire Wire Line
+ 14400 6950 14400 5550
+Wire Wire Line
+ 14400 5550 13750 5550
+Wire Wire Line
+ 13750 6050 14250 6050
+Wire Wire Line
+ 14250 6050 14250 7050
+Wire Wire Line
+ 14250 7050 14400 7050
+Wire Wire Line
+ 13750 6550 14100 6550
+Wire Wire Line
+ 14100 6550 14100 7150
+Wire Wire Line
+ 14100 7150 14400 7150
+Wire Wire Line
+ 14400 7250 13750 7250
+Wire Wire Line
+ 13750 7250 13750 7050
+Wire Wire Line
+ 13750 7350 13750 7550
+Wire Wire Line
+ 13750 7350 14400 7350
+Wire Wire Line
+ 14400 7450 13850 7450
+Wire Wire Line
+ 13850 7450 13850 8050
+Wire Wire Line
+ 13850 8050 13750 8050
+Wire Wire Line
+ 13750 8550 14000 8550
+Wire Wire Line
+ 14000 8550 14000 7550
+Wire Wire Line
+ 14000 7550 14400 7550
+Wire Wire Line
+ 14400 7650 14200 7650
+Wire Wire Line
+ 14200 7650 14200 9050
+Wire Wire Line
+ 14200 9050 13750 9050
+Connection ~ 9900 9200
+$Comp
+L PORT U1
+U 7 1 665D9B14
+P 14650 6950
+F 0 "U1" H 14700 7050 30 0000 C CNN
+F 1 "PORT" H 14650 6950 30 0000 C CNN
+F 2 "" H 14650 6950 60 0000 C CNN
+F 3 "" H 14650 6950 60 0000 C CNN
+ 7 14650 6950
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 665D9CEE
+P 14650 7050
+F 0 "U1" H 14700 7150 30 0000 C CNN
+F 1 "PORT" H 14650 7050 30 0000 C CNN
+F 2 "" H 14650 7050 60 0000 C CNN
+F 3 "" H 14650 7050 60 0000 C CNN
+ 8 14650 7050
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 665D9D71
+P 14650 7150
+F 0 "U1" H 14700 7250 30 0000 C CNN
+F 1 "PORT" H 14650 7150 30 0000 C CNN
+F 2 "" H 14650 7150 60 0000 C CNN
+F 3 "" H 14650 7150 60 0000 C CNN
+ 9 14650 7150
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 665D9DE6
+P 14650 7250
+F 0 "U1" H 14700 7350 30 0000 C CNN
+F 1 "PORT" H 14650 7250 30 0000 C CNN
+F 2 "" H 14650 7250 60 0000 C CNN
+F 3 "" H 14650 7250 60 0000 C CNN
+ 10 14650 7250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 665D9E5B
+P 14650 7350
+F 0 "U1" H 14700 7450 30 0000 C CNN
+F 1 "PORT" H 14650 7350 30 0000 C CNN
+F 2 "" H 14650 7350 60 0000 C CNN
+F 3 "" H 14650 7350 60 0000 C CNN
+ 11 14650 7350
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 665D9ED2
+P 14650 7450
+F 0 "U1" H 14700 7550 30 0000 C CNN
+F 1 "PORT" H 14650 7450 30 0000 C CNN
+F 2 "" H 14650 7450 60 0000 C CNN
+F 3 "" H 14650 7450 60 0000 C CNN
+ 12 14650 7450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 665D9F4B
+P 14650 7550
+F 0 "U1" H 14700 7650 30 0000 C CNN
+F 1 "PORT" H 14650 7550 30 0000 C CNN
+F 2 "" H 14650 7550 60 0000 C CNN
+F 3 "" H 14650 7550 60 0000 C CNN
+ 13 14650 7550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 665D9FC6
+P 14650 7650
+F 0 "U1" H 14700 7750 30 0000 C CNN
+F 1 "PORT" H 14650 7650 30 0000 C CNN
+F 2 "" H 14650 7650 60 0000 C CNN
+F 3 "" H 14650 7650 60 0000 C CNN
+ 14 14650 7650
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 665DB37C
+P 6500 6600
+F 0 "U1" H 6550 6700 30 0000 C CNN
+F 1 "PORT" H 6500 6600 30 0000 C CNN
+F 2 "" H 6500 6600 60 0000 C CNN
+F 3 "" H 6500 6600 60 0000 C CNN
+ 1 6500 6600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 665DB3FD
+P 6500 6700
+F 0 "U1" H 6550 6800 30 0000 C CNN
+F 1 "PORT" H 6500 6700 30 0000 C CNN
+F 2 "" H 6500 6700 60 0000 C CNN
+F 3 "" H 6500 6700 60 0000 C CNN
+ 2 6500 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 665DB46C
+P 6500 6800
+F 0 "U1" H 6550 6900 30 0000 C CNN
+F 1 "PORT" H 6500 6800 30 0000 C CNN
+F 2 "" H 6500 6800 60 0000 C CNN
+F 3 "" H 6500 6800 60 0000 C CNN
+ 3 6500 6800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 665DB971
+P 8650 8100
+F 0 "U1" H 8700 8200 30 0000 C CNN
+F 1 "PORT" H 8650 8100 30 0000 C CNN
+F 2 "" H 8650 8100 60 0000 C CNN
+F 3 "" H 8650 8100 60 0000 C CNN
+ 4 8650 8100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 665DB9EA
+P 8650 8600
+F 0 "U1" H 8700 8700 30 0000 C CNN
+F 1 "PORT" H 8650 8600 30 0000 C CNN
+F 2 "" H 8650 8600 60 0000 C CNN
+F 3 "" H 8650 8600 60 0000 C CNN
+ 5 8650 8600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 665DBA59
+P 8650 9200
+F 0 "U1" H 8700 9300 30 0000 C CNN
+F 1 "PORT" H 8650 9200 30 0000 C CNN
+F 2 "" H 8650 9200 60 0000 C CNN
+F 3 "" H 8650 9200 60 0000 C CNN
+ 6 8650 9200
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC