Skip to content

πŸ”€ Encoder Β· Decoder Β· Multiplexer

select = 2

2-to-4 decoder

Turns a 2-bit binary number into β€˜one of four’: exactly one output line lights up β€” the one whose number you entered. Built from 2 NOT and 4 AND gates.

A1A0D0D1D2D3
001000
010100
100010
110001
  • Memory chips: the address decoder picks exactly one row of memory cells to read or write
  • Calculator & digital-clock displays: a BCD-to-7-segment decoder lights the right bars for each digit
  • CPUs decode each instruction’s bits to switch on the right circuit (add, load, jump…)
  • Lift (elevator) floor indicators