Re: NEW TO THE PROJECT!!!

Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/NEW-TO-THE-PROJECT-tp4025215p4025216.html

You don't need to implement the Nand chip; it and the constants true and false are the givens from which all else is derived.

You don't need to do anything with .class files, they are Java executable files.

The definition of HDL is in Appendix A, available from the Course page. There is also an example of designing and writing the HDL for the Xor chip in figure 1.6. Important: if you want to experiment with the Xor chip before writing other HDL files, copy the Xor.hdl skeleton file into the projects\00 directory and experiment there. Xor.hdl will fail in projects\01 unless the Not, And and Or chips have been written.

Hint for Not.hdl:

Look at the truth table for Nand

a b | out
0 0 |  1
0 1 |  1
1 0 |  1
1 1 |  0

In particular, look at the top and bottom row of the table.  What happens when a=b?

--Mark