1:4 DEMUX — IC 74HC139

74HC139 1:4 DEMUX DUAL 2-TO-4 DECODER D S0 S1 Y0 Y1 Y2 Y3 0 D 0S0 0S1 Y00 Y10 Y20 Y30 SELECT LINES
D = 0
S = 00
D → Y0

Function Table

S1S0Y0Y1Y2Y3
00D000
010D00
1000D0
11000D

The selected output Yn = D. All other outputs remain 0.

How DEMUX Works

Yn = D · minterm(S1,S0)

Each output is AND-ed with its select minterm. Only the selected output mirrors D; all others are 0.

MUX vs DEMUX

MUX = many inputs → 1 output (combine signals)
DEMUX = 1 input → many outputs (distribute signal)

Also used as a Decoder

When D=1 (always enabled), a DEMUX becomes a binary decoder — converting a 2-bit select into 1-of-4 active outputs.