this post was submitted on 04 Jun 2024
486 points (98.6% liked)

Programmer Humor

1738 readers
1 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] partial_accumen@lemmy.world 22 points 1 year ago* (last edited 1 year ago) (1 children)

The inversions on both inputs to the NAND gates bothers me. Wouldn't inverting both inputs as well a the output turn a NAND back into an AND gate?

[–] Fermion@feddit.nl 7 points 1 year ago (1 children)

A NAND gate with two inverted inputs is equivalent to an OR gate. The ouput is only false when both inputs are false.

[–] partial_accumen@lemmy.world 4 points 1 year ago (1 children)

You're right, it doesn't seem like it should but that checks out:

11 1

01 1

01 1

00 0