Project 5

In this project we implement the adder circuits and the ALU of our computer (all tasks from Chapter 2 of the book).

Implement the chips HalfAdder, FullAdder, Add16, Inc16, Zero16, Neg16, and ALU (I recommend this order).

Template HDL files and test scripts for Zero16 and Neg16 are in I suggest using these chips when you build your ALU.

The template HDL files and test scripts for the other chips are in the directory projects/02 of the Nand2Tetris software suite. (You will need to move Zero16.hdl and Neg16.hdl into this directory if you use them.)

We discussed the function of these chips in the class. You can also find the description in Section 2.2 of our textbook (Section 2.3 has some implementation tips, if you need them).

You should upload each HDL file individually to our submission server.