777
submitted 1 year ago by tibor@pawb.social to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] TWeaK@lemm.ee 28 points 1 year ago

you can store a single bit with a pair of not gates to make a flip flop

Isn't it a pair of NAND gates? You can make anything with NAND gates.

Like this:

[-] candybrie@lemmy.world 20 points 1 year ago* (last edited 1 year ago)

You can also do it with NOT gates. The driver needs to overpower the gates to change the bit and then it acts like a D flip flop rather than an RS flip flop like NAND gates will. But that's generally how they're actually made. SRAM generally looks like this: The side transistors are called access transistors; they're there so you can selectively read/write, but aren't needed to store the bit.

[-] rubythulhu@lemmy.blahaj.zone 6 points 1 year ago

yes, tired brain hiccup :)

[-] kautau@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

So here’s some bad math. 160 crabs per NAND gate / byte. Doom’s original file size is roughly 2.39MB (I couldn’t find an actual source for this but it’s touted all over the web).

So 2390000 bytes * 160 crabs is 382400000 crabs.

So you can run doom on 382.4 million crabs

Edit: store, not run

[-] LufyCZ@lemmy.dbzer0.com 9 points 1 year ago

you can ~~run~~ store doom

[-] Bene7rddso@feddit.de 2 points 1 year ago

2 NAND gates are only a bit. You need 8 of those for a byte, that is 8 * 160 = 1280 crabs. For Doom you need 1280 * 2390000 = 3059200000 = 3059.2 million crabs

[-] Teppic@kbin.social 2 points 1 year ago
[-] TWeaK@lemm.ee 5 points 1 year ago

They've got diagrams of OR and AND gates with the crabs.

I feel like they would need a NOT gate to do anything meaningful, which obviously isn't possible. You can't have zero crabs going in with crabs coming out. Without a NOT gate I don't think they can do much in the way of traditional computing - you probably can't run Doom on any number of crabs (although I'd love to be proven wrong).

this post was submitted on 21 Aug 2023
777 points (98.5% liked)

Memes

45121 readers
2251 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS