A decoder with an enable input can function as a Demultiplexer. A demultiplexer is a circuit that receives information on a single line and transmits this information on one of 2n possible output lines.
What is the difference of decoder and demultiplexer?
A Decoder decodes an encrypted input signal to multiple output signals from one format to another format. A De-Multiplexer routes an input signal to multiple output signals. A Decoder has 'n' input lines and maximum of 2n output lines. A De-Multiplexer has single input, 'n' selection lines and maximum of 2n outputs.
What is called decoder?
A decoder is a circuit that changes a code into a set of signals. It is called a decoder because it does the reverse of encoding, but we will begin our study of encoders and decoders with decoders because they are simpler to design.