Re: RAM8 Script test pattern

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

Thanks,
I see that setting the address not only does that; it also obtains the contents.
So the eval, output; represents a read operation?

And thanks for the link to play-hooky.com.
 
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?