unit tests working
This commit is contained in:
parent
84b2831d89
commit
66cbbe3da7
|
@ -81,8 +81,8 @@ b.b.vc.tmp[1] b.b.f_buf_func[3].n1 b.b.vc.C2Els[1]._y b.b._out_a_BX_f[0] b.b.t_b
|
||||||
198462 b.b._reset_BX : 1 [by b.b.reset_buf._y:=0]
|
198462 b.b._reset_BX : 1 [by b.b.reset_buf._y:=0]
|
||||||
200657 b.b.reset_bufarray.buf2._y : 0 [by b.b._reset_BX:=1]
|
200657 b.b.reset_bufarray.buf2._y : 0 [by b.b._reset_BX:=1]
|
||||||
200679 b.b._reset_BXX[0] : 1 [by b.b.reset_bufarray.buf2._y:=0]
|
200679 b.b._reset_BXX[0] : 1 [by b.b.reset_bufarray.buf2._y:=0]
|
||||||
|
|
||||||
[] Reset finished, setting some inputs.
|
[] Reset finished, setting some inputs.
|
||||||
|
|
||||||
200679 b.b.t_buf_func[0].n1 : 1
|
200679 b.b.t_buf_func[0].n1 : 1
|
||||||
200679 b.b.f_buf_func[3].n1 : 1
|
200679 b.b.f_buf_func[3].n1 : 1
|
||||||
200679 b.b.f_buf_func[2].n1 : 1
|
200679 b.b.f_buf_func[2].n1 : 1
|
||||||
|
@ -155,3 +155,19 @@ b.b.vc.tmp[1] b.b.f_buf_func[3].n1 b.b.vc.C2Els[1]._y b.b._out_a_BX_f[0] b.b.t_b
|
||||||
506989 b.b.in_v_bufN.buf2._y : 1 [by b.in.v:=0]
|
506989 b.b.in_v_bufN.buf2._y : 1 [by b.in.v:=0]
|
||||||
508590 b.b._in_vX[0] : 0 [by b.b.in_v_bufN.buf2._y:=1]
|
508590 b.b._in_vX[0] : 0 [by b.b.in_v_bufN.buf2._y:=1]
|
||||||
[] Receiving out ack
|
[] Receiving out ack
|
||||||
|
508590 b.out.a : 1
|
||||||
|
508743 b.b._out_a_B : 0 [by b.out.a:=1]
|
||||||
|
508787 b.b.out_a_B_buf_t.buf2._y : 1 [by b.b._out_a_B:=0]
|
||||||
|
511504 b.b.out_a_B_buf_f.buf2._y : 1 [by b.b._out_a_B:=0]
|
||||||
|
511505 b.b._out_a_BX_t[0] : 0 [by b.b.out_a_B_buf_f.buf2._y:=1]
|
||||||
|
511506 b.b.t_buf_func[4]._y : 1 [by b.b._out_a_BX_t[0]:=0]
|
||||||
|
511527 b.b.t_buf_func[1]._y : 1 [by b.b._out_a_BX_t[0]:=0]
|
||||||
|
511722 b.b.t_buf_func[0]._y : 1 [by b.b._out_a_BX_t[0]:=0]
|
||||||
|
511881 b.b.t_buf_func[0].y : 0 [by b.b.t_buf_func[0]._y:=1]
|
||||||
|
513087 b.b.t_buf_func[4].y : 0 [by b.b.t_buf_func[4]._y:=1]
|
||||||
|
520872 b.b.t_buf_func[1].y : 0 [by b.b.t_buf_func[1]._y:=1]
|
||||||
|
522470 b.b._out_a_BX_f[0] : 0 [by b.b.out_a_B_buf_t.buf2._y:=1]
|
||||||
|
523757 b.b.f_buf_func[3]._y : 1 [by b.b._out_a_BX_f[0]:=0]
|
||||||
|
525989 b.b.f_buf_func[3].y : 0 [by b.b.f_buf_func[3]._y:=1]
|
||||||
|
542146 b.b.f_buf_func[2]._y : 1 [by b.b._out_a_BX_f[0]:=0]
|
||||||
|
542291 b.b.f_buf_func[2].y : 0 [by b.b.f_buf_func[2]._y:=1]
|
||||||
|
|
Binary file not shown.
|
@ -27,14 +27,14 @@ cycle
|
||||||
|
|
||||||
system "echo '[] set Reset 0'"
|
system "echo '[] set Reset 0'"
|
||||||
set Reset 0
|
set Reset 0
|
||||||
|
mode run
|
||||||
cycle
|
cycle
|
||||||
|
|
||||||
assert-qdi-channel-neutral "b.out" 5
|
assert-qdi-channel-neutral "b.out" 5
|
||||||
|
|
||||||
status X
|
|
||||||
system "echo '[] Reset finished, setting some inputs.'"
|
system "echo '[] Reset finished, setting some inputs.'"
|
||||||
|
status X
|
||||||
|
|
||||||
mode run
|
|
||||||
|
|
||||||
set b.in.d.d[0].t 1
|
set b.in.d.d[0].t 1
|
||||||
set b.in.d.d[1].t 1
|
set b.in.d.d[1].t 1
|
||||||
|
@ -60,5 +60,7 @@ set-qdi-channel-neutral "b.in" 5
|
||||||
cycle
|
cycle
|
||||||
|
|
||||||
system "echo '[] Receiving out ack'"
|
system "echo '[] Receiving out ack'"
|
||||||
set b.in.a 1
|
set b.out.a 1
|
||||||
cycle
|
cycle
|
||||||
|
|
||||||
|
assert-qdi-channel-neutral "b.out" 5
|
Loading…
Reference in New Issue