Mux designing question

Thread Starter

engineering1

Joined Sep 20, 2017
12
Question:
A small corporation has 10 shares of stock, and each share entitles its owner to one vote at a stockholder’s meeting. The 10 shares of stock are owned by four people as follows: Mr.W; 1 share, Mr. X; 2 shares, Mr. Y; 3 shares, Mrs. Z; 4 shares. Each of these persons has a switch to close when voting yes and to open when voting no for all his/her shares (one switch for each person).

Attempted:
I laid out all the possible combinations, then placed the voters on the other side.
I dont know if this is correct.
I also know that there are 4 MUXes that need to be implemented as well. One for each voter.
Code:
ZYXW 8421
0000 1110
0001 0001 1
0010 0010 2
0011 0011 3
0100 0011 3
0101 0100 4
0110 0101 5
0111 0110 6
1000 0100 4
1001 0101 5
1010 0110 6
1011 0111 7
1100 0111 7
1101 1000 8
1110 1001 9
1111 0000 0
Moderators note: used code tags
 
Last edited by a moderator:

WBahn

Joined Mar 31, 2012
24,572
Did you notice that the "question" does not contain a... er... question?

What, exactly, is it you are supposed to do?

And where does the multiplexer come into it? What are they supposed to do and how do you know that you need to implement one for each voter?
 
Top