Login  Register

Re: Building chips problem.

Posted by cadet1620 on Dec 10, 2011; 3:11pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Building-chips-problem-tp3468285p3575502.html

It's OK to post code to get help, particularly broken code.  You should edit your posts to remove the code after you get help.

The first thing that you want to do is read the first section of The Hardware Construction Survival Kit that describes how to get the stub HDL files and the test files for the hardware projects.  It is important to use the same names for the input and output pins as are documented in the book so that the test files will work.  The HDL stubs make this easy.

Logically, you're on the right track.  All you need to do is to remove the 'Part#' lines.  I think that you were confused by an example that was trying to show a generic implementation.

You will also want to change 'v' to 'in' so that the Not.tst file will work correctly.

--Mark