97.8k views
20 votes
Mr. and Ms. Boren have two children, John and Jane. When eating out they will go to a restaurant that serves only hamburgers or one that serves only chicken. Before going out, the family votes to decide on the restaurant. The majority wins, except when Mom and Dad agree, and in that case, they win. Any other tie votes produce a trip to the chicken restaurant.

Required:
Design a logic circuit that will automatically select the restaurant when everyone votes.

1 Answer

3 votes

Step-by-step explanation:

The logic is captured in the Karnaugh map of the first attachment. M and D refer to Mom and Dad, respectively, and A and B refer to the children. A logic 1 is a vote for Chicken, 0 is a vote for Hamburger.

The logic in attachment 2 shows an implementation using And and Or gates. The effective equation is ...

chicken = (m·d) + (m+d)·(a+b)

The logic in attachment 3 shows an implementation using an 8-input selector. The dots at the inputs represent inversion, so those inputs to the selector represent a logic 1 (chicken).

Mr. and Ms. Boren have two children, John and Jane. When eating out they will go to-example-1
Mr. and Ms. Boren have two children, John and Jane. When eating out they will go to-example-2
Mr. and Ms. Boren have two children, John and Jane. When eating out they will go to-example-3
User Balazsbalazs
by
3.9k points