Implementing a boolean function using two 2X1 multiplexers

  • Thread starter bd411
  • Start date
  • Tags Tags
    Function
5 replies · 11K views · last reply
bd411
Messages
39
Reaction score
0

Homework Statement


Implement the following function using two 2 X 1 multiplexers.

F = A'B'C' + AB + AC

Where A' = NOT A;
and A = A.


Homework Equations



No equations although knowledge of the workings of the multiplexers is required. The top line on the box labelled MUX is the data select line, and selects one of two (hence 2X1) inputs to appear at the output.


The Attempt at a Solution



I believe I have a solution although pretty much stumbled across it by perseverance. If anyone can tell me a methodical way to determine the solution it would be most appreciated ! Also, I don't know whether my solution is unnecessarily complex ? Any suggestions for simplification are most welcome and appreciated !

Of course, I may be completely wrong, in which case please help me out !
 
Attachments
  • Handwritten circuit diagram of two 2x1 multiplexers implementing F = A'B'C' + AB + AC, with an OR gate, AND gate, NOT gates and inputs A, B, C.
    MUX.jpg
    27.2 KB · Views: 1,509
bd411 said:

Homework Statement


Implement the following function using two 2 X 1 multiplexers.

F = A'B'C' + AB + AC

Where A' = NOT A;
and A = A.


Homework Equations



No equations although knowledge of the workings of the multiplexers is required. The top line on the box labelled MUX is the data select line, and selects one of two (hence 2X1) inputs to appear at the output.


The Attempt at a Solution



I believe I have a solution although pretty much stumbled across it by perseverance. If anyone can tell me a methodical way to determine the solution it would be most appreciated ! Also, I don't know whether my solution is unnecessarily complex ? Any suggestions for simplification are most welcome and appreciated !

Of course, I may be completely wrong, in which case please help me out !

Are you supposed to use only 2 MUXs and then you can use whatever other logic you want? That seems a bit strange... Usually you would be asked to use only MUXs and no other logic... (but I think 2 MUXs alone wouldn't be enough on this problem...)

As for a general synthesis technique, I can think of one, but I don't know if it's the most optimal one. With the 2-input MUX you can implement an AND function. With a 2-input MUX you can implement a NOT function. And since you can make any logic function you want using only NAND gates, you should be able to make any logic function with only 2-input MUXs...
 
Yea i also don't think they intended for you to use logic gates as you could express the entire function with logic gates.

Heres what i got but I can't say i used any real process i just thought about it long enough.
Looking at the truth table i noticed that when B was 1 F was A. That took care of half the possible inputs of ABC, looking at the cases of B = 0 i noticed when A was 1 F was C and when A was 0 F was C'.

select lines are bottom inputs
 
Attachments
  • Circuit diagram of two 2-to-1 multiplexers in cascade: the first has inputs C (1) and C' (0) with select A; its output feeds the 0 input of the second, which has input A (1) and select B, producing output F.
    boolean.png
    744 bytes · Views: 1,402
Thanks a lot for the help guys !

Yeah I see what you guys mean ... the question (as it was worded) was:

Implement the function using
(a) one 4 X 1 multiplexer - easy enough
(b) two 2 X 1 multiplexers.

Although it doesn't specifically say that I can't use any other logic, I would have marks deducted for an unnecessarily complex solution.

Thanks a lot, I guess the process is to look long and hard at the truth table then !
 
haxor489 said:
Yea i also don't think they intended for you to use logic gates as you could express the entire function with logic gates.

Heres what i got but I can't say i used any real process i just thought about it long enough.
Looking at the truth table i noticed that when B was 1 F was A. That took care of half the possible inputs of ABC, looking at the cases of B = 0 i noticed when A was 1 F was C and when A was 0 F was C'.

select lines are bottom inputs

Please don't do students' homework for them here on the PF. That's against the PF rules.
 
Sorry Berkeman, didn't know, I'll hint towards solutions next time.