An enable input is a master on/off switch for a circuit block. On a decoder, the enable E is ANDed into every output:
- Y0 = , Y1 = , Y2 = , Y3 =
With E = 1, the decoder works normally and exactly one output is 1. With E = 0, every AND gate has a 0 input, so all outputs are 0, no matter what A and B are.
That small addition unlocks two tricks:
- DEMUX: feed a data signal into E. The selected output now copies the data, and the decoder is a demultiplexer.
- Expansion: drive the enables of several small decoders from other address bits, so only one of them is active. That's how decoder expansion builds a 4-to-16 decoder from 2-to-4s.
Many real chips make the enable active low, so the block is on when the pin is 0. The same idea appears all over the course: a memory's chip select, a register's load enable and a counter's count enable are all enables.