What is the minimum number of 2-input NAND gates needed to implement an XOR function?
Correct answer
D. 4
28 views
D. 4
28 views
XOR can be built from four NAND gates: one NAND of A and B feeds two NANDs with A and B, and a final NAND combines them. This shows NAND is a universal gate.
Asked in: GATE EC, PEC, NTS
Not sure why the answer is D? Ask here and get an explanation.