watchall system "echo '[] Set Reset 1'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.a 0 set e.out.v 0 set Reset 1 cycle status X system "echo '[] Set Reset 0'" set Reset 0 cycle status X system "echo '[] Neuron 5 spikes'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 1 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 5 assert e.in[5].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.a 1 set e.out.v 1 cycle assert e.in[5].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 1 spikes'" set e.in[0].r 0 set e.in[1].r 1 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 1 assert e.in[1].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.v 1 set e.out.a 1 cycle assert e.in[1].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 5 spikes'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 1 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 5 assert e.in[5].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.a 1 set e.out.v 1 cycle assert e.in[5].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 1 spikes'" set e.in[0].r 0 set e.in[1].r 1 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 1 assert e.in[1].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.v 1 set e.out.a 1 cycle assert e.in[1].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 5 spikes'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 1 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 5 assert e.in[5].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.a 1 set e.out.v 1 cycle assert e.in[5].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 1 spikes'" set e.in[0].r 0 set e.in[1].r 1 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 1 assert e.in[1].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.v 1 set e.out.a 1 cycle assert e.in[1].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 6 spikes'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 1 cycle assert-qdi-channel-valid "e.out" 3 6 assert e.in[6].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.a 1 set e.out.v 1 cycle assert e.in[6].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0 system "echo '[] Neuron 1 spikes'" set e.in[0].r 0 set e.in[1].r 1 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 cycle assert-qdi-channel-valid "e.out" 3 1 assert e.in[1].a 1 system "echo '[] remove data and give ack'" set e.in[0].r 0 set e.in[1].r 0 set e.in[2].r 0 set e.in[3].r 0 set e.in[4].r 0 set e.in[5].r 0 set e.in[6].r 0 set e.out.v 1 set e.out.a 1 cycle assert e.in[1].a 0 assert-qdi-channel-neutral "e.out" 3 set e.out.a 0 set e.out.v 0