# How will I implement this function with decoder and multiplexer? [closed]

Inputs     Output
A    B      F
0    0      C.D
0    1      C
1    0      C+D
1    1      C XOR D


According to the logic input-output relations

a-) Find the simple form of the F logic function. b-) Implement the F logic function with the decoder. c-) Implement the F logic function with the multiplexer.

Hello, I found examples on the implementation of the boolean function given on the internet. But I could not interpret this table. What are the C and D outputs, how will I find them and then I will simplify them.

I think it's easy to implement once you find a simple function.

• C and D are additional inputs to your system, while the A and B inputs select which function of C and D to present on the single output F. May 1 at 8:45
• So for example, when A and B are zero, will I use C and D gates? So how is the A 0 B 1 situation? And how do I simplify them? @brhans May 1 at 8:51
• Or in other words, implement all the functions, then select one with a multiplexer driven by (A,B) inputs ... May 1 at 8:52
• If you don't know what a multiplexer is, see this en.wikipedia.org/wiki/…. May 1 at 9:09
• This exercise is a simple means to introduce later a general application which is an "Arithmetic and Logic Unit" or ALU used in all "computers". as @brhans stated, the simple circuit is a "big" logic realization with all variables A, B, C, D, case a-). With a multiplexer, it is case c-). Case b-) is another means to select the function (which is quasi "also" the case c-). May 1 at 9:11