Question
What is the minimum number of 2-input NOR gates required to implement a 4-variable function expressed in sum-of-minterms form as ? Assume that all the inputs and their complements are available. Answer: ________.
Official answer and solution
- Official answer
- 3
- From
- Official GATE 2019 answer key
Solution
Simplify the function using a Karnaugh map, express it in terms of available literals (inputs and complements), and synthesize it using 2-input NOR gates.
We are given the 4-variable function:
Grouping the minterms in a 4-variable K-map:
- Minterms form a 4-corner group corresponding to .
- Minterms form a 4-cell group corresponding to .
Thus, the simplified Boolean expression is:
Notice that variables and are redundant and do not affect the output.
We are given that all inputs and their complements () are available. A 2-input NOR gate computes .
We can synthesize using three 2-input NOR gates as follows:
- Gate 1:
- Gate 2:
- Gate 3:
All 3 gates are 2-input NOR gates, and every gate input is an available literal or an output of a preceding gate. Hence, the minimum number of 2-input NOR gates required is 3.
3
Assuming complements are not available, which would require extra NOR gates for inversion, or attempting to use all 4 variables without simplifying the K-map.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2019 Computer Science and Information Technology (CS)
- Question
- 60 of 65, printed as CS Q.50
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.