2022-02-23 19:01:54 +01:00
|
|
|
watchall
|
|
|
|
cycle
|
2022-02-24 16:47:24 +01:00
|
|
|
set t.in1.r 0
|
|
|
|
set t.in2.r 0
|
|
|
|
set t.out.a 0
|
2022-02-23 19:01:54 +01:00
|
|
|
cycle
|
|
|
|
status X
|
|
|
|
mode run
|
2022-02-24 16:47:24 +01:00
|
|
|
system "echo '[0] reset done'"
|
|
|
|
|
|
|
|
set t.in1.r 1
|
|
|
|
cycle
|
|
|
|
assert t.out.r 1
|
|
|
|
set t.out.a 1
|
|
|
|
cycle
|
|
|
|
assert t.in1.a 1
|
|
|
|
system "echo '[1] test in1 done'"
|
|
|
|
|
|
|
|
set t.in1.r 0
|
|
|
|
set t.in2.r 0
|
|
|
|
set t.out.a 0
|
|
|
|
cycle
|
2022-02-23 19:01:54 +01:00
|
|
|
status X
|
|
|
|
mode run
|
2022-02-24 16:47:24 +01:00
|
|
|
assert t.out.r 0
|
|
|
|
assert t.in1.a 0
|
|
|
|
assert t.in2.a 0
|
|
|
|
system "echo '[2] reset done'"
|
|
|
|
|
|
|
|
set t.in2.r 1
|
|
|
|
set t.in1.r 0
|
|
|
|
set t.out.a 0
|
|
|
|
cycle
|
|
|
|
assert t.out.r 1
|
|
|
|
set t.out.a 1
|
|
|
|
cycle
|
|
|
|
assert t.in2.a 1
|
|
|
|
system "echo '[3] test in2 done'"
|
|
|
|
|