News for hackers. Stuff that matters.
Re:How to Build Your Own Discrete 4-Bit ALU by ChuckMcM on Friday August 26, 2016 @06:26PM (#12369736)
Seriously? A 1 bit "full adder" is too complicated to build with discrete gates? If you are going to show people how to build a discrete 4 bit ALU then you really need to own it and at least build it with simple gates, if not transistors if you want to seriously own the discrete bit. As you can see in this reference (https://en.wikibooks.org/wiki/Microprocessor_Design/Add_and_...) a single bit full adder is 2 xor, 2 and, and an or gate. For for a four bit addr, that is 8 XOR (2 chips), 8 AND (2 chips), and 4 OR (1 chip), so 5 chips instead of one MSI 4 bit adder.
Re:How to Build Your Own Discrete 4-Bit ALU by jleahy on Saturday August 27, 2016 @07:48AM (#12371947)
Building the full adder might even make it less ICs overall. Lots of tricks are lost here, for example the subtraction logic can be used to implement a NOT function if you add to zero. Rather than having an extra XOR chip you can implement XOR by using the adder but cutting the cout->cin path.

The 74x181 4-bit ALU IC implements all of this (plus quite a lot more) in 56 gates once you drop the carry-lookahead logic. That'd be about the same number of ICs as used in this project, but logic only.

http://www.ti.com/lit/ds/symlink/sn74ls181.pdf (page 5)

Re:How to Build Your Own Discrete 4-Bit ALU by beneater on Saturday August 27, 2016 @01:45AM (#12371186)
And here's a video explaining and building just such a 4-bit adder: https://www.youtube.com/watch?v=wvJc9CZcvBc