I have 4 different inputs In0, In1, In2 & In3. Each input is 4-bit, so there are total of 16 inputs. There are two selector inputs S0 & S1. And there is a 4-Bit Out. i.e. depending on the state of the S0 & S1, for ex. "00", 4-Bit In0 will be assigned to 4-Bit Out. I need to do this using a Mux/Demux switch but i could not understand how Mux/Demux switch can be used. Any guide will be greatly appreciated.

  • \$\begingroup\$ Can you do the same for 4-1 mux (that is the same, but for 1-bit inputs/outputs)? \$\endgroup\$
    – Eugene Sh.
    Dec 7, 2023 at 15:21
  • \$\begingroup\$ @EugeneSh. If I use 4x1 mux, then only one bit of the required 4 bit will be taken. I need the remaining three bits as well as they are connected to another decoder. \$\endgroup\$
    – Zzz
    Dec 7, 2023 at 15:59
  • 1
    \$\begingroup\$ Again, can you implement it? If you can, you simply parallelize four of your implementations interconnecting the Select lines. \$\endgroup\$
    – Eugene Sh.
    Dec 7, 2023 at 16:17
  • \$\begingroup\$ I am having difficulty in deriving the truth table, can you point to any references, I could not find any. \$\endgroup\$
    – Zzz
    Dec 7, 2023 at 16:29
  • \$\begingroup\$ @Zzz difficulty in deriving the truth table ... do you understand how a MUX functions? \$\endgroup\$
    – jsotola
    Dec 7, 2023 at 16:45

1 Answer 1


Typical 4:1 muxes (there are many devices, with "4052" in their name) have two channels:

4052 mux

Use one channel for each bit, i.e., you need two chips.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.