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

Programmer Humor

1623 readers
20 users here now

founded 2 years ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 10 months ago* (last edited 10 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] 7 points 10 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] 4 points 10 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

[–] [email protected] 14 points 10 months ago

It should have some kind of latch where there are two things to push and you have to do them both, or just one or the other, or whatever.

[–] [email protected] 12 points 10 months ago

The OR gates only have 1 input for some reason. Otherwise very cool!

[–] [email protected] 5 points 10 months ago

I thought Logic Gate is the one with the two guardians and one always lies and the other speaks truth. Or is that Logical Gate? 🤔

[–] [email protected] 4 points 10 months ago

That brought back memories!

[–] [email protected] 4 points 10 months ago (1 children)

Also provides steps for getting over it.

[–] [email protected] 3 points 10 months ago

The middle bar is a perfectly adequate step all by itself

[–] [email protected] 3 points 10 months ago

redundant OR gates

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

Cool but why does that AND gate gotta be like that?

[–] [email protected] 2 points 10 months ago

I could never have a gate like that. Nerds from everywhere would be showing up and taking pictures.

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)
[–] [email protected] 1 points 10 months ago

Looks illogical to me

[–] [email protected] 0 points 10 months ago

All I remember is my professor, circa 2015 "DIAMOND, DECISION!"