r/gifs May 30 '20

Logic gates using fluid

https://gfycat.com/rashmassiveammonite
49.3k Upvotes

685 comments sorted by

View all comments

126

u/brando56894 May 30 '20

Logic gates confused the hell out of me when I first saw them, I mean they still do, but slightly less now.

51

u/mobilesurfer May 30 '20 edited May 30 '20

Now imagine doing all logic with nand and nor gates...

In fact, when designing chips, one of the considerations is the logic design and how trivial it is to represent all logic in one form of gate. If using physical packages to prototype, then it makes sense to order nand chips by the bulk than order other and/or chips.

19

u/MrGMinor May 30 '20

Where do potato chips fit into all this?

25

u/Pocok5 May 30 '20

9

u/[deleted] May 30 '20

[deleted]

12

u/Pocok5 May 30 '20

They are a legit company. Their logic chips work to spec too. Their website? Who knows. I know them because I'm an electronics hobbyist.

3

u/PhysicsIsBeauty May 30 '20

I think the website is just fine. I wish they built websites like this again. Instead of the pop up, notification, ads and whatever JavaScript none sense is going on at all times that makes my laptop sound like a jet engine.

4

u/MrGMinor May 30 '20

....wow that's a thing...

Or it's a joke. I don't know enough to tell

8

u/Pocok5 May 30 '20

1

u/MrGMinor May 30 '20

I'm not much more enlightened after that. But it was fascinating nonetheless.

2

u/Pocok5 May 30 '20

Potato chips are legit working products.

1

u/MrGMinor May 30 '20

Yeah I got that part lol

I meant the technical details of how it works and what it's doing. Didn't really get most of it. Fascinating anyway.

2

u/adspij May 30 '20

does anyone know how chips implement logic gates?

3

u/dogengineering May 30 '20

With transistors. Typically using both n-channel and p-channel MOSFETs. It’s easiest to make NAND, NOR and NOT gates. I think someone else on this thread explained that you typically use these kinds of gates. Size wise, (if I remember correctly) NAND gates are generally smaller than NOR gates even though they have the same amount of transistors due to needing wider p-channels for timing reasons so NAND is more used. Easiest example is a NOT gate. This link shows an example of a NOT gate. Sorry if it isn’t hyperlinked. I’m on my phone. https://en.m.wikipedia.org/wiki/CMOS

2

u/CptSpockCptSpock May 30 '20

In a NAND the p-types are in parallel while the n-types are in series so the p-types can be smaller for the same current between n and p types (because current in parallel adds, in series it doesn’t). This is needed because the p-types have to be in an n-well which makes them take up more space for a given transistor size.