Dfiference between demux and decoder

  • Thread starter Thread starter EvLer
  • Start date Start date
  • Tags Tags
    Decoder
Click For Summary
SUMMARY

The discussion clarifies the distinction between a demultiplexer (demux) and a decoder in digital circuits. A decoder takes n inputs and produces 2^n outputs, while a demux transmits data from one input line to 2^n output lines based on n select lines. The key difference lies in their functions: a decoder determines which output line is high, whereas a demux simply selects an output line to match the input signal. Understanding these differences is crucial for anyone working with digital logic design.

PREREQUISITES
  • Basic knowledge of digital circuits
  • Understanding of multiplexers and their functions
  • Familiarity with binary encoding and decoding
  • Concept of signal transmission in electronics
NEXT STEPS
  • Study the operation of digital multiplexers and demultiplexers
  • Learn about binary encoders and their applications
  • Explore practical applications of decoders in digital systems
  • Investigate the design and implementation of digital logic circuits
USEFUL FOR

Electronics students, digital circuit designers, and engineers interested in understanding the functions and applications of multiplexers, demultiplexers, and decoders in digital systems.

EvLer
Messages
454
Reaction score
0
could someone draw a clear distinction between these two for me? or are they basically the same?
Decoder usually takes several inputs (2^n) and produces n outputs. Multiplexer is a switch but demultiplexer...if it's inverse of multiplexer than it has to have at least several inputs but the simplest mux has only 1 output, which means that if it is used as demux, it has only 1 input.
Any clarification is greatly appreciated.
 
Engineering news on Phys.org
I think a decoder takes n inputs and produces [tex]2^n[/tex] outputs. I know that it is possible to turn a decoder into a mux, not sure about a mux to decoder.
 
Last edited:
Let's clarify:
A decoder takes n inputs and produces 2^n outputs. An encoder takes 2^n inputs and produces n outputs.
A multiplexer selects one line from many lines. The inverse of selection is distribution. A demux essentially transmits data from one line line to 2^n possible output lines. The output line is determined by n select lines. In short, a multiplexer selects an input line, a demultiplexer selects an output line.

The differences between these two circuits is subtle, as far as I can tell. A demux simply selects an output line, nothing more. It's a glorified switch. A decoder takes n inputs, and uses those inputs to determine which of the 2^n output lines is high. This is the difference, I think. A decoder is designed to simply keep one line high. A demux is designed to set one output equal to the input (whether it be high, low, or a changing signal).

I'm just learning this stuff myself, so if I made a mistake, please correct me.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
26
Views
7K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
18K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K