Solveeit Logo

Question

Question: Draw a diagram to show how NAND gates can be combined to obtain an OR gate. (Truth table is not requ...

Draw a diagram to show how NAND gates can be combined to obtain an OR gate. (Truth table is not required).

Explanation

Solution

A NAND gate is a logic gate that consists of two different gates called NOT and AND. A NOT gate allows complements of the value that is fed into the logic gate, it converts 11 to 00 and 00 to 11 . Whereas AND gate is similar to the multiplication or Intersection of operation of two signals. The AND of two similar inputs will give the same output as the input, but for 11 AND 00 it returns 00 .

Complete Answer:
The following diagram shows how three NAND gates can be combined to obtain an OR gate-

In the figure, the first two NAND gates are connected individually to both signals AA and BB . The purpose of this gate is to complement the values of both AA and BB . It acts as a NOT gate.
So if AA is 11 the output of the gate will be 00 , and if AA is 00 then the output of the gate will be 11 .
Same goes for BB .
Now another NAND gate combines the output made by the previous gates. At this gate, the complements of both AA and BB go through these two processes-
AND- The output coming from the first two NAND gates first goes through the AND process.
NOT- Now again the results obtained after this “AND” operation is complemented back with this NOT part of the gate.
The results thus obtained are similar to the result that would have been observed if an OR gate was used.

Note:
When the same signal is fed into both inputs of any gate, the set of inputs reduces from four to only two where both of these responses are either 11 or 00 . This is what happens in the solution of this problem when the input signals AA and BB go through their first NAND gates.