<< Previous exercise (3.31) | Index | Next exercise (3.33) >>

 ((lambda () (set-signal! output 0)) (lambda () (set-signal! output 1))) 
 If the execution order of the above action list changed, the final result of output will be different. 


If two or more input-events trigger an output-event simultaneously; we stop the clock.

And do following,

1)change the output-event for input-event1

2)change the output-event for input-event2 (note that this new output-event is calculated with new input-event1).

3)....and so on.

This has to be done in FIFO order. Otherwise, affecting change for input-event2 will not be correct because output-event would then not reflect the changed input-event1.