Re: Can anyone give a short example of a full-adder - Please

Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Can-anyone-give-a-short-example-of-a-full-adder-Please-tp4027440p4027442.html

I'd suggest starting by looking at the Add16.hdl skeleton file in projects/02. Change all the [16]s to [4]s.

Then look at the Add16.tst file and change it all to 4-bits. You can comment out the compare-to line while developing your HDL and test script.

If you are looking for info for how to make half-adders, full-adders and N-bit adders, read Chapter 2. It's available from the Nand2Tetris course page.

--Mark