Re: RAM8 Script test pattern

Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/RAM8-Script-test-pattern-tp4026159p4026167.html

gs99 wrote
cadet1620 wrote
Since the input to the Registers can't be observed directly by the test
However, if line 1 in RAM8.tst is:
set in 2,
set address 3,
set load 1,
eval,
output;

RAM8.out has:
| time |   in   |load |address|  out   |
| 0      |      2 |  1  |   3       |      0  |

Doesn't that indicate that the input to the Register was observed by the test?
What is being displayed here is the in value to the RAM8. In a correctly wired RAM8, that is also the in for the Register that should be loaded, but the test can't directly verify that connection so it needs to clock the RAM8 and see what appears on the RAM8's out pin.

--Mark