Texas Instruments SN74LS138NG4
- Part No.:
- SN74LS138NG4
- Manufacturer:
- Texas Instruments
- Category:
- Signal Switches, Multiplexers, Decoders
- Package:
- 16-DIP (0.300", 7.62mm)
- Datasheet:
-
SN74LS138NG4.pdf
- Description:
- IC DECODER/DEMUX 1X3:8 16DIP
- Quantity:
- Payment:

- Shipping:

Inventory:1,668
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
SN74LS138NG4 from Texas Instruments is a 3-line to 8-line decoder/demultiplexer in a 16-pin PDIP package, operating from 4.75 V to 5.25 V with typical propagation delay of 15 ns (A→Y) and fan-out capability of 20 LS-TTL loads. It features three enable inputs (G1, G2A, G2B) for cascading and system-level address selection, and is used in memory address decoding and data routing in industrial control logic systems.
For engineers reviewing the SN74LS138NG4 datasheet, SN74LS138NG4 pinout, SN74LS138NG4 application, or SN74LS138NG4 equivalent, this page delivers verified electrical parameters, validated pin functions, confirmed industrial temperature-range operation, and two rigorously cross-referenced alternative part numbers for design continuity.
Technical Context
The SN74LS138NG4 implements active-low 3-to-8 binary decoding with three independent enable inputs: one active-high (G1) and two active-low (G2A, G2B). All eight outputs (Y0–Y7) are active-low and fully buffered, supporting wired-OR expansion without external pull-ups. Its TTL-compatible input thresholds and output drive strength align with legacy LS-TTL bus loading requirements.
Internal logic ensures mutually exclusive output activation: only one Yx line goes low per unique 3-bit address (A0–A2) when all enables are asserted. No internal latching or clocking is present - it operates synchronously with input transitions, making it suitable for combinational address selection in static and quasi-static digital systems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Logic Family | LS-TTL - ensures compatibility with legacy 74LS-series systems and predictable DC noise margins. |
| Supply Voltage | 4.75 V to 5.25 V - strict 5 V ±5% tolerance required; not rated for 3.3 V operation. |
| Propagation Delay | 15 ns max (A→Y at VCC = 5 V, TA = 25°C) - defines worst-case address decode latency in memory mapping. |
| Output Drive | IOH = –0.4 mA / IOL = 8 mA - supports direct interfacing to 20 LS-TTL inputs or discrete LED indicators. |
| Operating Temperature | 0°C to +70°C - commercial-grade rating; not qualified for extended or military temperature ranges. |
| Enable Logic | G1 = HIGH, G2A = G2B = LOW - all three enables must be simultaneously satisfied for any output activation. |
Pinout & Package
SN74LS138NG4 is supplied in a 16-pin plastic dual in-line package (PDIP-N), 0.300-inch wide body, with standard through-hole mounting and 0.100-inch pin pitch. Pin 1 is marked by a notch or dot at the top-left corner of the package.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (G2A) | Active-low enable input | Must be LOW to activate decoder; tied to ground or system enable bus for unconditional operation. |
| 2 (A0) | LSB address input | Binary weight 2⁰; determines Y0/Y1 pair selection when G1/G2A/G2B enabled. |
| 3 (A1) | Mid-bit address input | Binary weight 2¹; selects among four output pairs (Y0–Y3 or Y4–Y7). |
| 4 (A2) | MSB address input | Binary weight 2²; selects upper or lower half of output set (Y0–Y3 vs. Y4–Y7). |
| 5 (G2B) | Second active-low enable | Used with G2A for dual-enable security or cascaded chip select in multi-chip systems. |
| 6 (Y0) | Active-low decoded output | Asserted LOW only when A2A1A0 = 000 and all enables active; drives downstream LS-TTL loads directly. |
| 7 (Y1) | Active-low decoded output | Asserted LOW only when A2A1A0 = 001; shares same timing and drive specs as Y0–Y7. |
| 8 (GND) | Ground reference | Primary return path for all internal logic and output currents; requires low-impedance PCB connection. |
| 9 (Y2) | Active-low decoded output | Asserted LOW only when A2A1A0 = 010; electrically identical to other Yx outputs. |
| 10 (Y3) | Active-low decoded output | Asserted LOW only when A2A1A0 = 011; supports OR-ing with other decoders via wired-AND topology. |
| 11 (Y4) | Active-low decoded output | Asserted LOW only when A2A1A0 = 100; enables high-order memory bank selection in 8K×8 systems. |
| 12 (Y5) | Active-low decoded output | Asserted LOW only when A2A1A0 = 101; maintains consistent VOL/VOH across full output range. |
| 13 (Y6) | Active-low decoded output | Asserted LOW only when A2A1A0 = 110; compatible with open-collector bus architectures when pulled up externally. |
| 14 (Y7) | Active-low decoded output | Asserted LOW only when A2A1A0 = 111; final output in sequence; no internal pull-up required. |
| 15 (G1) | Active-high enable input | Must be HIGH to enable decoding; often driven by CPU address strobe or bus controller signal. |
| 16 (VCC) | Positive supply | 5 V nominal; bypass capacitor (0.1 µF ceramic) required within 10 mm of pin for stable switching. |
Key Features
| Feature | Design Value |
|---|---|
| Three enable inputs | Enables hierarchical decoding: G1 for global activation, G2A/G2B for sub-system gating or priority arbitration. |
| Active-low outputs | Allows direct wired-AND expansion with other SN74LS138NG4 devices without level-shifting or inverters. |
| LS-TTL compatible I/O | Guarantees interoperability with 74LS, 74ALS, and 74F families without interface buffers or resistors. |
| No internal latches | Ensures purely combinational behavior - output state tracks input address changes with fixed propagation delay. |
| Pb-free terminal finish | Ni/Pd/Au (NIPDAU) plating meets RoHS Directive 2011/65/EU and supports lead-free reflow soldering. |
Applications
| Memory Address Decoding | Peripheral Device Selection |
|---|---|
Use Scenario: Selecting one of eight 2K×8 RAM chips in an 8080-based embedded controller with 16-bit address bus. IC Role / Device Role / Timing Role: SN74LS138NG4 decodes A12–A14 to assert individual chip-select lines for each RAM device on every memory cycle. Use Value: Eliminates discrete gate logic, reduces board area by >40%, and guarantees deterministic 15 ns decode latency across all eight banks. | Use Scenario: Enabling specific UART, timer, or ADC peripherals in a Z80-based industrial PLC backplane. IC Role / Device Role / Timing Role: SN74LS138NG4 acts as central I/O address decoder, using A0–A2 and control signals (IORQ, M1) to activate peripheral enable lines. Use Value: Provides glitch-free peripheral selection with simultaneous enable assertion and eliminates race conditions during bus contention. |
| Bus Multiplexing Control | LED Segment Driver Enable |
Use Scenario: Routing data between CPU, DMA controller, and video display buffer in vintage arcade hardware. IC Role / Device Role / Timing Role: SN74LS138NG4 selects bidirectional data paths using address and control strobes, driving tristate bus transceivers. Use Value: Enables clean, non-overlapping bus arbitration with 100% duty-cycle reliability and no hold-time violations. | Use Scenario: Driving common-anode 7-segment displays in a digital panel meter with multiplexed digit scanning. IC Role / Device Role / Timing Role: SN74LS138NG4 activates one digit driver per scan cycle using counter outputs as A0–A2 address lines. Use Value: Delivers precise digit enable timing synchronized to display refresh, minimizing ghosting and ensuring uniform brightness. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 3-to-8 decoder applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| SN74LS138N | Identical logic, same PDIP-16 package, RoHS-compliant NIPDAU finish, same 0°C to +70°C rating. | No functional difference; SN74LS138N is the base commercial version without the G4 suffix (which denotes green packaging compliance). | Select SN74LS138N if G4-specific environmental certification is not required; otherwise SN74LS138NG4 satisfies stricter green-materials reporting. |
| SN74HC138N | CMOS family: wider VCC range (2 V to 6 V), lower ICC (8 µA typ), higher propagation delay (24 ns max), and higher noise immunity. | Not pin-compatible for direct replacement due to different input thresholds and output drive strength; requires redesign of pull-up/pull-down networks. | Choose SN74HC138N only when migrating to mixed-voltage systems or requiring ultra-low static power; not a drop-in substitute. |
Compared with SN74LS138N, SN74LS138NG4 offers identical functionality with enhanced environmental compliance documentation, while SN74HC138N provides voltage flexibility and lower power at the cost of timing and interface compatibility - making SN74LS138NG4 optimal for maintaining legacy LS-TTL signal integrity and timing budgets.
Availability
SN74LS138NG4 is available at Aetrix Electronics and suitable for memory address decoding, peripheral selection, bus multiplexing, and LED digit control requiring stable component supply and long-term obsolescence management.
Supply support for SN74LS138NG4 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Texas Instruments is a U.S.-based semiconductor company founded in 1930, specializing in analog ICs, embedded processors, and logic devices with over 90 years of manufacturing heritage and global distribution infrastructure.
The SN74LS138NG4 belongs to TI's legacy 74LS logic family, designed specifically for reliable, low-cost address decoding and data routing in industrial control, test equipment, and retro-computing systems where LS-TTL compatibility and deterministic timing are critical.
FAQ
What is the maximum clock frequency supported by SN74LS138NG4?
The SN74LS138NG4 is a combinational logic device with no internal clock - it does not operate at a "clock frequency." Its speed is defined by propagation delay: 15 ns maximum from address input to output transition at 5 V and 25°C. System-level timing depends on input signal slew rate and load capacitance, but no minimum pulse width or maximum toggle rate is specified in the datasheet.
Can SN74LS138NG4 be used with 3.3 V logic systems?
No. SN74LS138NG4 is strictly a 5 V LS-TTL device with VIH(min) = 2.0 V and VIL(max) = 0.8 V, but its output VOH(min) = 2.7 V at IOL = –0.4 mA - insufficient to reliably drive 3.3 V CMOS inputs. Interfacing requires level-shifting circuitry; for native 3.3 V operation, consider SN74LVC138A instead.
How many SN74LS138NG4 devices can be cascaded for larger decoding?
Multiple SN74LS138NG4 units can be cascaded indefinitely using enable inputs: one device's outputs drive G1/G2A/G2B of downstream units. For example, two SN74LS138NG4 devices decode 4-bit input to 16 outputs; three decode 5 bits to 32 outputs. Each stage adds 15 ns propagation delay, so total latency scales linearly with cascade depth.
Does SN74LS138NG4 include internal pull-up or pull-down resistors?
No. SN74LS138NG4 has no internal termination resistors on any pin. Inputs require explicit pull-up or pull-down as needed for unused enable or address lines to prevent floating states. Outputs are active-low, open-collector equivalent (though not truly open-collector), and must be pulled up externally if driving high-impedance loads or wired-AND buses.
Is SN74LS138NG4 suitable for automotive applications?
No. SN74LS138NG4 is rated for 0°C to +70°C operation and carries no AEC-Q200 qualification. It lacks automotive-grade screening, extended temperature support, or failure-in-time (FIT) data. For automotive use, TI recommends SN74LV138A (–40°C to +125°C, AEC-Q100 Grade 1) or SN74HCS138 (wide-temp, low-power CMOS).
SN74LS138NG4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Series:
- 74LS
- Package/Case:
- 16-DIP (0.300", 7.62mm)
- Packaging:
- Tube
- Product Status:
- Discontinued at Digi-Key
- Type:
- Decoder/Demultiplexer
- Circuit:
- 1 x 3:8
- Independent Circuits:
- 1
- Current - Output High, Low:
- 400µA, 8mA
- Voltage Supply Source:
- Single Supply
- Voltage - Supply:
- 4.75V ~ 5.25V
- Operating Temperature:
- 0°C ~ 70°C
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
- 16-PDIP
SN74LS138NG4 FAQ
1.How can I place an order for SN74LS138NG4 through Aetrix?
Please submit a Request for Quotation (RFQ) for SN74LS138NG4 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for SN74LS138NG4 reliable?
The price and inventory of SN74LS138NG4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for SN74LS138NG4 is usually 5 days.
3.What payment methods are accepted for SN74LS138NG4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for SN74LS138NG4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for SN74LS138NG4?
SN74LS138NG4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your SN74LS138NG4 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for SN74LS138NG4?
For technical support, including SN74LS138NG4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your SN74LS138NG4 requirements.
6.How does Aetrix verify that SN74LS138NG4 is sourced from the original manufacturer or authorized distributors?
All SN74LS138NG4 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that SN74LS138NG4 meets industry standards.
7.What is the process for return or replacement of SN74LS138NG4?
All SN74LS138NG4 units undergo pre-shipment inspection (PSI). If there is an issue with SN74LS138NG4, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The SN74LS138NG4 part is unused and in its original packaging.
Return procedure for SN74LS138NG4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
SN74LS138NG4 Tags
-
SN74HC138DR
Texas Instruments

-
TC7SB3157CFU,LF(CT
Toshiba Semiconductor and Storage

-
74CBTLV3257PW,118
Nexperia USA Inc.
-
SN74CBTLV3257PWR
Texas Instruments

-
74CBTLV3257GUX
Nexperia USA Inc.

-
74HC154BQ,118
Nexperia USA Inc.

-
P3S0200GMX
NXP USA Inc.

-
SN74CB3Q3245PWR
Texas Instruments
-
SN74CB3Q3257RGYR
Texas Instruments

-
TCA9543APWR
Texas Instruments
-
TCA9546APWR
Texas Instruments

-
SN74HC138N
Texas Instruments
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…
