So I hear you can apparently make anything from NAND gates (and, or, xor, etc..) and apparently everything in computing relies on reading and writing values (touring machine). And so I want to create my very own computer (from scratch) using only NAND gates (and yes I realize it would be a very crappy computer).
I can't figure out how to make an 'IF' out of these logic gates though.
I know how to make a loop circuit out of NANDS to store single bit values, and return values, and re-write values, but I don't know how to set a value 'IF' something else equals '0' or '1'. For example...
IF (x equals 1) then (do something) etc....
How can I do something like this out of standard logic gates?
Thanks,
Alex.
I can't figure out how to make an 'IF' out of these logic gates though.
I know how to make a loop circuit out of NANDS to store single bit values, and return values, and re-write values, but I don't know how to set a value 'IF' something else equals '0' or '1'. For example...
IF (x equals 1) then (do something) etc....
How can I do something like this out of standard logic gates?
Thanks,
Alex.
Last edited: