this post was submitted on 04 Jun 2024
1 points (100.0% liked)

Programmer Humor

1313 readers
1 users here now

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 3 months ago* (last edited 3 months 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?

[–] [email protected] 0 points 3 months 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.

[–] [email protected] 0 points 3 months 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