Note: One input combination is an instance of [A B S1 S0].
4.00
Step-by-Step Solution
Insight: The decoder generates mutually exclusive minterms of its inputs, and the MUX simply selects one of these minterms based on its own select lines.
Exam route: Write the MUX output equation . Substitute the decoder outputs for . Since are minterms of A and B, each product term in the sum represents a unique, non-overlapping combination of all 4 variables [A, B, S1, S0]. Count the valid terms.
Learning route:
- The 2-to-4 decoder Q has inputs A and B. Its active-high outputs are the minterms of A and B:
- These outputs are connected directly to the data inputs of the 4-to-1 MUX M: .
- The MUX has select lines and . Its output equation is:
- Substitute the decoder outputs into the MUX equation:
- We need to find the number of input combinations [A, B, S1, S0] that make .
- Analyze each term:
- Term 1 is 1 only when . (1 combination: 0000)
- Term 2 is 1 only when . (1 combination: 0101)
- Term 3 is 1 only when . (1 combination: 1010)
- Term 4 is 1 only when . (1 combination: 1111)
- Since these four product terms are mutually exclusive (they represent distinct minterms of the 4 variables), there are exactly 4 combinations that produce .