1
\$\begingroup\$

The following is the solution given.

We can use n-1 selection lines , and using 0,1 and nth variable and its compliment to realize the function So ans is 2^(n-1):1

I'm unable to understand how it exactly works. If we have a function of say 3 variables. We can have 8 input lines for the multiplexer. If we take 2 select lines as per the solution, we can choose only 4 of the inputs.

I assume that using the inverter, we are somehow connecting the third select line which will double the possibilities to 8. But I'm unable to get a clear idea of how the connection is made.

Any help is highly appreciated.

asked Jan 14, 2016 at 18:28
\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

The less efficient (and maybe more obvious) way is to connect fixed logic levels to each input of the multiplexer. You need a 2^N input multiplexer for N inputs. So, an 16-input mux for any function of 4 bits.

If, instead, you connect the respective inputs to either one of the inputs (that doesn't go to the multiplexer select input) or its complement, as required for the function, then you can halve the multiplexer size. So an 8-input mux (plus an inverter) for any function of 4 bits.

answered Jan 14, 2016 at 18:46
\$\endgroup\$
1
\$\begingroup\$

Here's a non-specific example: -

enter image description here

Oops it's basically what Spehro said so honours go to him!!

OUT(1) = 000 + 101 + 010 + 111

answered Jan 14, 2016 at 18:53
\$\endgroup\$
2
  • \$\begingroup\$ Suppose the function is Summation minterms(0,1,2,3,4,5,6,7). And I want to choose a1'a2a3. The a2a3 choose the last one labelled 11 but with it we have a1 connected and not a1'. So how do I implement the function I just described? \$\endgroup\$ Commented Jan 14, 2016 at 19:03
  • \$\begingroup\$ You just need to "re-wire" A1 and the inverter (to the inputs) to suit the function you want to achieve. \$\endgroup\$ Commented Jan 14, 2016 at 19:48

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.