How to change XOR gate using only NANDgate?
- Posted:
- 3+ months ago by haylumegi...
- Topics:
- gate, computer science
Responses (1)
Write a truth table for the XOR function.
A 0 1 0 1
B 1 0 0 1
--------------
O 1 1 0 0
Now write another truth table using NAND functions to give the same outputs.
A' NAND B --> 0
A NAND B' --> 0
These inputs to another NAND gate give true outputs, same as the first table.