Understanding the Relationship Between Select and Data Inputs in Multiplexers

In summary, the text explains how to generate a desired output function using a 2:1 multiplexer as an input, by looking at the modified truth table and figuring out how the select input relates to the data inputs.
  • #1
vg19
67
0
I cannot seem to understand how in the attached diagram, they went from the 4-1 multiplexer to the 2-1 multiplexer.
The main part is the modified truth table. I can't understand what is going on for the life of me!

If someone could please explain this, it would be much apprecieated.

Thanks!
 

Attachments

  • multi.JPG
    multi.JPG
    18.3 KB · Views: 1,646
Last edited:
Engineering news on Phys.org
  • #2
They just simplified the generation of the output. The first implementation with the 4:1 is a bit overkill anyway, so the simplification to the 2:1 and using one of the inputs to generate the two input terms is pretty natural. Just look at the output function that is desired, and ask youself how you would generate it using only a 2:1 MUX. The solution shown is the same way you would come up with.
 
  • #3
I totally get the 4:1...but ahh I can't seem to get my head around the 2:1 for some reason:mad:

I guess my main problem is I don't see how the modifed truth table for the 2:1 acutally results in the XOR truth table...
 
  • #4
But you do see how the 2:1 MUX generates the desired output function, right? I didn't read any more than that into it. Is your text trying to generalize some method for simplifying circuits with this example? As I said, the 4:1 starting example is pretty contrived. You wouldn't normally use a MUX to switch between static signals.
 
  • #5
Well the text gets into Shannons Theorm in the next section. But acutally, I don't understand how the 2:1 generates the function.

With the 4:1 its straightforward, whatever w1 and w2 correspond too, the value of f is listed (XOR truth table)

with the 2:1, it says this in the text
"w1 is 0, f has the same value as input w2"
"w1 is 1, f has the same value as input w2' "

I don't understand what the text is saying at all.

ahhh sorry about this. I am really not sure why I don't understand this, but I don't want to move on until I do.
 
  • #6
vg19 said:
with the 2:1, it says this in the text
"w1 is 0, f has the same value as input w2"
"w1 is 1, f has the same value as input w2' "

I don't understand what the text is saying at all.
But if you look at the full truth table, you should see what the text is saying. Look at the first two lines, where w1=0. For the first line, f=0, which matches the value of w2=0. For the 2nd line, f=1, which happens to match the value of w2=1.

Then look at the 3rd and 4th lines, where w1=1. On the 3rd line, f=1 but w2=0. And on the 4th line, f=0 but w2=1. So when w1=1, the value of f is the opposite of the value of w2.

So all of that means that you can implement f with a 2:1 MUX, controlled by w1, and with w2 and w2' as the inputs. Does that help?
 
  • #7
Ohhhhhhhh! I see it now!

Thankyou SOOOO much!
 
  • #8
Just one more question.

Consider function G(A,B,C) = AB + BC. Let F(A,B,C) be the complement of G(A,B,C). Then F(A,B,C) can be implemented using A as the select input to a 2:1 multiplexer. The correct implmentation of F(A,B,C) is shown in...

The question then lists five choices with diagrams.

I just would like to know how to approach this.

I found the complment to be (A' + B')(B' + C'), but what to do from here is where I am stuck.

Thanks!
 
  • #9
Hah! That's interesting. I don't know what the underlying theorem is (it's been a long time since I did low-level logic manipulations), but at least this problem turns out really simple. Cool.

Start by drawing the Karnaugh map for G(A,B,C). Draw it with A on the left and BC on the top (so the map is 2 rows and 4 columns). The two rows are labeled at the left as 0,1, and the 4 columns are labeled along the top as 00, 01, 11, 10. Put 1's in the map where the function G=1.

Now invert the map to show the F function, changing 0<-->1 in each square. Now gather terms, and write the F function minimally. You get something like B' + A'BC'. Now think about how you can make a very simple 2:1 MUX inplementation of this using A as the selector signal. What do you put into the A=1 input? What do you put into the A=0 input?

Pretty cool, eh?
 
  • #10
Thanks again! Makes perfect sense. Just seems like practice is needed to look at the truth table and figure out how the select input relates to the data inputs.

Thanks!
 

1. What is a 4-1 to 2-1 multiplexer?

A 4-1 to 2-1 multiplexer is a digital logic circuit that has four inputs and two outputs. It allows for the selection of one of the four inputs to be transmitted to one of the two outputs, based on the value of the select input.

2. How does a 4-1 to 2-1 multiplexer work?

A 4-1 to 2-1 multiplexer consists of four input lines, two output lines, and two control inputs (select and enable). The select input determines which input line is transmitted to the output line, while the enable input controls whether the output is active or not. The circuit uses logic gates to perform the selection and transmission of the input signals.

3. What are the advantages of using a 4-1 to 2-1 multiplexer?

One advantage of using a 4-1 to 2-1 multiplexer is that it allows for multiple inputs to be controlled by a single select input, reducing the number of control lines needed. It also simplifies the design of complex circuits and reduces the number of components required.

4. How is a 4-1 to 2-1 multiplexer different from a 2-1 multiplexer?

A 4-1 to 2-1 multiplexer has four input lines and two output lines, while a 2-1 multiplexer has two input lines and one output line. Additionally, a 4-1 to 2-1 multiplexer has two control inputs (select and enable) while a 2-1 multiplexer only has one (select). This means that a 4-1 to 2-1 multiplexer can select from four inputs, while a 2-1 multiplexer can only select from two.

5. How is a 4-1 to 2-1 multiplexer used in real-world applications?

A 4-1 to 2-1 multiplexer is commonly used in digital systems, such as computers and communication devices, to select and transmit data from multiple sources to a single output. It can also be used in data compression, encryption, and signal processing applications.

Similar threads

  • Electrical Engineering
Replies
4
Views
1K
  • Electrical Engineering
Replies
11
Views
2K
Replies
13
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
Replies
1
Views
933
  • Engineering and Comp Sci Homework Help
Replies
5
Views
9K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Replies
1
Views
737
  • Electrical Engineering
Replies
25
Views
3K
  • Electrical Engineering
Replies
14
Views
813
Back
Top