actlib_dataflow_neuro/test/unit_tests/arbiter_handshake/test.prsim

43 lines
590 B
Plaintext
Raw Normal View History

2022-02-23 19:01:54 +01:00
watchall
cycle
system "echo 'reset done'"
t.in1.d 0
t.in2.d 0
t.in1.v 0
t.in2.v 0
t.out.a 0
cycle
status X
mode run
system "echo 'step 1.1 finished'"
set a.a 1
set a.b 1
advance 1000000
status X
mode run
system "echo 'step 1.2 finished'"
set a.a 0
set a.b 0
advance 1000000
status X
mode run
system "echo 'step 2.1 finished'"
set a.a 1
set a.b 1
advance 1000000
status X
mode run
system "echo 'step 2.2 finished'"
set a.a 0
set a.b 0
advance 1000000
status X
mode run
system "echo 'step 3.1 finished'"
set a.a 0
set a.b 1
advance 1000000
status X
mode run
system "echo 'step 3.2 finished'"