Workshop In Computer Construction - From Nand to Tetris
Project 2 - Boolean Arithmetic
Deadline March 3rd, 2003 at midnight
Description Build the following gates, using solely elementary NAND gates and previously-built gates:
Chip (HDL) Function Test Scripts Compare Files
HalfAdder
FullAdder
Add16
Inc16
ALU
Half Adder
Full Adder
16-bit adder
16-bit incrementer
Arithmetic Logic Unit
HalfAdder.tst
FullAdder.tst
Add16.tst
Inc16.tst
ALU.tst
HalfAdder.cmp
FullAdder.cmp
Add16.cmp
Inc16.cmp
ALU.cmp

Each chip in this project is specified by a skeletal *.hdl program with a missing implementation part. In addition, each chip is accompanied by a supplied *.tst script file that tells the hardware simulator how to test it, and a supplied *.cmp file that lists the expected output of the *.hdl program, as mandated by the *.tst script file. All these files are available in a single zip file, which you should download to your computer (explained below).

The task: When loaded into the hardware simulator, your chip design (*.hdl program modified by you), tested on the script specified in the supplied *.tst file, should deliver the behavior specified in the supplied *.cmp file. If that is not the case, the simulator will let you know.

Submission Submit a tar file contains all your *.hdl files and a README file.
Resources