Re: ComputerRect.tst failing

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ComputerRect-tst-failing-tp4036508p4036509.html

The first step is to be sure you understand (and agree with) the test. Look at the test script and start with the inputs that determine the results on line 5 and walk through what the outputs should be (based on the specified behavior) for the D Register. Do you agree that it should be 4. Now walk through your design, very carefully and deliberately, and see if you agree that it is actually producing a value of 0 instead. Now you are in a position to consider why it should be 4 and why it actually is 0.