Gr4Ss
Proton
- Joined
- Apr 26, 2016
- Messages
- 499
- Nebulae
- 1,107
Actually all digital logic is entirely implemented with just NAND or NOR nowadays because those are the cheapest/fastest and you can quite easily create everything else with that. When designing things you usually use AND/OR in two-layer logic (sum of products/product of sums, which is basically OR after AND/AND after OR), because that is easier to work with and it directly translates into two layer NAND/NOR logic thanks to a great property of logic addition/multiplication: the inverse of the sum is the same as the product of the inverses aka (A + B)' = (A'B').Wire gates aren't restricted to AND, XOR, NAND, and so on. You've also got math operators.
Just with those NAND and NOR you can build adders, multiplexers, decoders, flip-flops... Those then get used to make bigger components (carry-adders, multipliers, registers), which in turn are sometimes used in even bigger components (computational/logical units), and then people just use those as building blocks in when designing stuff.
But yeah, your entire CPU is build using NAND/NOR. Maybe I should build one in wire someday (well, implement an algorithm because programmable CPU's quickly need a lot of gates).
Reactions:
List