Opens in a new tab

SN74LS138N

3-to-8 decoder/demux, active-low outputs, 3 enable inputs, 22ns, PDIP-16

15600

Effective Inventory

Image for reference only

Manufacturer Part:

SN74LS138N

Package:

PDIP-16 (19.3 x 6.35 x 4.57mm, 2.54mm pitch)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The SN74LS138N is a 3-line to 8-line decoder/demultiplexer from Texas Instruments with active-low outputs, three enable inputs, and 22ns typical propagation delay in a 16-pin PDIP through-hole package.

Key Specifications

Function 3-to-8 line decoder/demultiplexer
Select Inputs 3 (A, B, C)
Outputs 8 (active low)
Enable Inputs 3 (G1 active high, G2A and G2B active low)
Propagation Delay 22ns typical, 41ns max
Supply Voltage 4.75V to 5.25V (5V nominal)
Supply Current 6.1mA typical (ICC)
Output Drive 8mA sink, 0.4mA source
Logic Family 74LS (Low-power Schottky)
Operating Temperature 0°C to +70°C
Package PDIP-16 (19.3 x 6.35mm, through-hole)

Features

  • Three enable inputs for flexible cascading and demultiplexing
  • Active-low outputs simplify chip-select generation
  • Demultiplexing capability with data input on enable
  • Full decoding of input combinations (no don’t-care states)
  • Standard 74LS Schottky TTL technology
  • Multiple devices easily cascaded for larger decoding
  • Industry-standard pinout and function
  • Low 6.1mA typical supply current

Applications

  • Memory address decoding
  • I/O port selection in microprocessor systems
  • Data demultiplexing and routing
  • Chip-select generation for multiple peripherals
  • Display digit selection
Product Introduction: SN74LS138N Product Introduction

The SN74LS138N is a 3-line to 8-line decoder/demultiplexer from Texas Instruments in the 74LS Low-power Schottky TTL family. It decodes a 3-bit binary input (A, B, C) into one of eight mutually exclusive active-low outputs (Y0-Y7). Three enable inputs (G1 active high, G2A and G2B active low) provide flexible cascading for larger decoding functions and allow the device to be used as a 1-to-8 demultiplexer by applying data to an enable input. The 22ns typical propagation delay supports microprocessor clock rates up to tens of MHz. The PDIP-16 through-hole package is ideal for prototyping and educational applications.

Working Principle: SN74LS138N Working Principle

The SN74LS138N uses AND-OR-INVERT logic to implement the 3-to-8 decoding function. The three select inputs (A, B, C) are decoded by eight 3-input AND gates, each producing one of the eight minterms. Each AND gate also includes the enable conditions: G1 must be high, and both G2A and G2B must be low for any output to be active. When enabled, exactly one of the eight outputs is driven low (active) corresponding to the binary value on the select inputs, while all other outputs remain high. When disabled (any enable condition not met), all outputs are forced high regardless of the select inputs. For demultiplexer operation, the data signal is applied to one of the enable inputs (typically G1), while the other enables are held in the active state. The data signal is then routed to the output selected by the A, B, C inputs. The 74LS Schottky TTL technology uses Schottky-clamped transistors to prevent saturation, reducing propagation delay to 22ns typical while maintaining reasonable power consumption at 6.1mA ICC.

Pin Description: SN74LS138N Pin Definition and Functions
Pin Name Type Description
1-3 A, B, C Input Select inputs (A=LSB, C=MSB)
4-6 G2A, G2B, G1 Input Enable inputs (G2A, G2B active low; G1 active high)
7 Y7 Output Decoded output 7 (active low)
8 GND Power Ground
9-11 Y6-Y4 Output Decoded outputs 6, 5, 4 (active low)
12-14 Y3-Y1 Output Decoded outputs 3, 2, 1 (active low)
15 Y0 Output Decoded output 0 (active low)
16 VCC Power Supply voltage (5V)
Application Scenarios: In which products and applications is SN74LS138N used
  • Memory Decoding: 3 select inputs decode 8 memory banks; active-low outputs directly drive chip-enable pins on SRAM and EPROM
  • I/O Port Selection: Decodes microprocessor address lines to select one of eight I/O ports or peripheral chips
  • Data Demultiplexing: Data applied to G1 is routed to the output selected by A, B, C for serial-to-parallel distribution
  • Cascaded Decoding: Two 74LS138 devices cascade to form a 4-to-16 decoder using enable inputs for the MSB
  • Display Multiplexing: Active-low outputs select one of eight digit drivers in multiplexed LED displays
Alternative Models: What chips are recommended as replacements for SN74LS138N
Model Manufacturer Key Difference Package Supply
74LS138N TI/Nexperia Original TTL version with 5V-only supply, typical propagation delay 10-15ns DIP-16 5V TTL
74LS138D TI/Nexperia Surface-mount SOIC version of LS with identical logic function SOIC-16 5V TTL
74HC138D TI/Nexperia CMOS version with wide 2-6V supply range, lower power consumption and higher noise immunity SOIC-16 2-6V CMOS
74HC138N TI/Nexperia Through-hole DIP version of HC family for prototyping and repair DIP-16 2-6V CMOS
74HCT138D TI/Nexperia CMOS with TTL-compatible input levels, ideal for mixing with LS devices at 5V SOIC-16 4.5-5.5V TTL-in
74HCT138N TI/Nexperia Through-hole DIP version of HCT family for prototyping and repair DIP-16 4.5-5.5V TTL-in
74AC138D TI/Nexperia Advanced CMOS with 2-6V supply and higher output drive current (24mA vs 6mA for HC) SOIC-16 2-6V CMOS
74AC138N TI/Nexperia Through-hole DIP version of AC family for prototyping and repair DIP-16 2-6V CMOS
74LVC138D TI/Nexperia Low-voltage CMOS for 1.65-3.6V modern logic with 24mA output drive and bus-hold inputs SOIC-16 1.65-3.6V CMOS
74LVC138N TI/Nexperia Through-hole DIP version of LVC family for prototyping and repair DIP-16 1.65-3.6V CMOS

The 74138 is a 3-Line to 8-Line Decoder/Demultiplexer. Family variants span from the original LS TTL (5V only) to modern LVC/AUP (down to 0.8V). HC and HCT versions offer 2-6V CMOS operation with HCT providing TTL-compatible input thresholds for mixed 5V systems. CD4000-series equivalents offer the widest 3-18V supply range at the cost of lower switching speed. DIP packages (N suffix) are through-hole; SOIC (D suffix) and TSSOP are surface-mount.

Recommend Parts

0751.0505

Schurter fuse, 0751.0505

Brand: schurter

Package: See datasheet

IN STOCK: 6768pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TL062CDR

Low-power JFET-input dual op-amp, 1MHz GBW, 30pA Ibias, SOIC-8, ±3.5V to ±18V

Brand: TI

Package: SOIC-8 (3.9 x 4.9 x 1.75mm)

IN STOCK: 11576pcs

Cargo cycle: 3-7 Days

The minimum order is 1

P89LPC922FN

8-bit 80C51 MCU, 8KB Flash, 256B RAM, 20-SSOP

Brand: NXP

Package: SSOP-20 (7.2 x 5.3 mm)

IN STOCK: 12628pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AC0603JR-070RL

Chip Resistor, 0Ω (Zero Ohm Jumper), ±5%, 0603 (1608 Metric), 1/10W (100mW)

Brand: Yageo

Package: 0603 (1608 Metric)

IN STOCK: 100000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LMR34206FSC5RNXRQ1

42V 2A sync buck, 5V fixed, 2.2MHz, 18uA Iq, AEC-Q100, SOT-563

Brand: TI

Package: SOT-563 (1.6 x 1.2 x 0.55mm)

IN STOCK: 6500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AO3402

30V N-channel trench MOSFET, SOT-23, 4A, RDS(on) 52m ohm max @ 10V, Qg 10nC, 2.5V gate drive capable, -55C to +150C.

Brand: aosmd

Package: SOT-23 (2.9 x 1.6 x 1.25mm)

IN STOCK: 14066pcs

Cargo cycle: 3-7 Days

The minimum order is 1