Build an ALU!

The ALU is the chip that's responsible for performing all the calculations this processor can do. It's far too complex to build all in one go, however, so we have to break it down into component parts.

Below is a list of all the parts that we need to make. They have to be done in order, because each one builds on the one before! Make sure you have a multiplexer built first, because we will need this!

Addition

  1. half adder
  2. full adder
  3. 8-bit ripple carry adder

Subtraction

  1. 8-bit inverter
  2. subtract unit
  3. add / subtract unit

Logic

  1. nand/xor gate
  2. 8-bit nand/xor unit
  3. left/right shift bit
  4. shift n bits unit
  5. logic unit

Final boss

  1. full ALU

Once you are finished, you can return to the CPU.