Login  Register

Re: PC Counter

Posted by cadet1620 on Sep 12, 2016; 8:09pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/PC-Counter-tp4030223p4030227.html

| time |   in   |reset|load | inc |  out   |
| 0+   |      0 |  0  |  0  |  0  |      0 |
| 1    |      0 |  0  |  0  |  0  |      0 |
| 1+   |      0 |  0  |  0  |  1  |      0 |
| 2    |      0 |  0  |  0  |  1  |      1 |
| 2+   | -32123 |  0  |  0  |  1  |      1 |
Load the test script, select View: Output.
Single step the test until you get to time 1+.
Look at the internal pins.

Because this is an increment operation, the input to the Register should be 1 and the Register's load should be 1.

If this is not the case, look at your Mux16 outputs and figure out what went wrong.

--Mark