RAM8 Script test pattern
Posted by gs99 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/RAM8-Script-test-pattern-tp4026159.html
The normal pattern that starts is like this: set, tick, output; tock, output;
Example:
(time 0+)
set in 0,
set load 0,
set address 0,
tick,
output;
(time 1)
tock,
output;
I didn't look at all lines, but the pattern starts with values being set in the "+ times" (e.g. 0+,1+).
Results are seen in the times that follow (e.g. 1,2).
(1) What is the value of doing tick output? We need only the tock output, correct?
I tried this format which seems to work:
set in 0,
set load 0,
set address 0,
tick;
tock,
output;
set load 1,
tick;
tock,
output;
(2) What's the purpose of lines in this (different) format, that first appears in time 8?
set address 1,
eval,
output;
thanks