74LS139 Dual 2-to-4 line decoder, active-low

The 74LS139 holds two independent 2-to-4 line decoders. In each half, the select inputs B A choose one of four active-low outputs, which goes low while the others stay high. Each half has its own active-low enable G′; with G′ high, all four outputs stay high.

74LS139 pinout

VCC1G′2G′1A2A1B2B1Y0′2Y0′1Y1′2Y1′1Y2′2Y2′1Y3′2Y3′GND1611521431341251161079874LS139

Top view of the 16-pin DIP package. Pin 1 is at the bottom left, beside the notch, and the numbers run anticlockwise. Power is on pin 16 (VCC, +5 V) and pin 8 (GND).

PinNameTypeWhat it is
11G′InputInput, active-low
21AInputInput
31BInputInput
41Y0′OutputTotem-pole output, active-low
51Y1′OutputTotem-pole output, active-low
61Y2′OutputTotem-pole output, active-low
71Y3′OutputTotem-pole output, active-low
8GNDGround0 V
92Y3′OutputTotem-pole output, active-low
102Y2′OutputTotem-pole output, active-low
112Y1′OutputTotem-pole output, active-low
122Y0′OutputTotem-pole output, active-low
132BInputInput
142AInputInput
152G′InputInput, active-low
16VCCPower+5 V supply

74LS139 truth table

One half of the 74LS139, enabled (G′ = 0)
BAY0′Y1′Y2′Y3′
000111
011011
101101
111110

What the 74LS139 is used for

  • Decoding two address lines into four chip selects
  • Implementing two-variable functions from minterms
  • A 1-to-4 demultiplexer, using the enable as the data input

Electrical summary

Package16-pin DIP
Supply voltage5 V (4.75 V to 5.25 V)
Supply current, typical6.8 mA
Output typeTotem-pole — drives both high and low
Output current, lowsinks up to 8 mA
Output current, highsources up to 0.4 mA
Input current, low0.4 mA out of each input held low
Fan-outone output can drive about 20 LS inputs

Typical figures for quick reference when planning a board. Check the manufacturer's datasheet for limits and timing before committing a design. The 74HC139 and 74HCT139 use the same pin numbers, with different electrical values.

Try the 74LS139 on a breadboard

The Breadboard Simulator has the 74LS139 in its parts library: seat it on a virtual breadboard, wire it, power the board and probe the pins before you build the real thing.

Related chips

Build it before you build it.

Seat real 74-series chips on a virtual breadboard, wire them and probe every pin.