What is the difference between a multiplexer and a decoder? Lets assume a 2-to-4 decoder and a 4-to-1 multiplexer, what I understand is they both select one input based on the selector's combination. Is there any scenario that a multiplexer can be replaced by a decoder and vice versa?

  • 2
    \$\begingroup\$ I'm trying to imagine any scenario where one could replace the other. None are coming to mind (except trivial cases.) The decoder sets (or clears) the sole indicated output line, out of several output lines (which then have the opposite value from the indicated line.) The multiplexer passes along the state of the indicated input, chosen from several input lines, to the only output line. Have you looked at the truth tables or the behavioral block diagrams for either of these devices? \$\endgroup\$ – jonk Nov 24 '18 at 5:05
  • \$\begingroup\$ they both select one input based on the selector ... that is incorrect .... one selects an input, the other selects an output \$\endgroup\$ – jsotola Nov 24 '18 at 6:28
  • \$\begingroup\$ Your question is faulty because you assert things that are wrong. Maybe if you googled the difference you would answer your own question. \$\endgroup\$ – Andy aka Nov 24 '18 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.