Login  Register

Re: Comparison Failure for And or Or gates

Posted by WBahn on Jan 30, 2021; 9:54pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Comparison-Failure-for-And-or-Or-gates-tp4035543p4035575.html

The logical behavior of a Nand gate is that of an And gate followed by a Not gate:

A B And (Not And)
0 0   0         1
0 1   0         1
1 0   0         1
1 1   1         0

Do you see that the output of the Nand gate is always the opposite of the output of the And gate.

Which means that the output of an And gate is always the opposite of the output of a Nand gate.

If you have Nand and Not gates, how could you combine them to get the behavior of an And gate?