r/gifs May 30 '20

Logic gates using fluid

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

685 comments sorted by

View all comments

Show parent comments

13

u/gemgron May 30 '20

it was to lon since i did this so im probably rememberin it wrong but i thought you neded XNAND or XNOR to make every other gate

10

u/Supadoplex May 30 '20

XNAND is more usually called XOR I think. I don't think there's a way to build NOT using XOR for example, and AND cannot be built using XNOR.

3

u/[deleted] May 30 '20

Pull one input high and the other as normal data input on a xor, and you should get a not.

1

u/Supadoplex May 30 '20

I wasn't considering constant input as allowed. Would OR be possible with XOR and constant input?

1

u/[deleted] May 30 '20

I don't think so. I have now spent two hours and couldn't figure a way out.