projects
/
fleet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add predicate-olc-equals-zero test
[fleet.git]
/
tests
/
dock
/
test-use-loop-counter-dl-on-non-nop.fleet
1
#skip
2
#expect 5
3
#expect 7
4
#expect 5
5
#expect 7
6
#expect 5
7
#expect 7
8
#expect 9
9
10
#ship memory : Memory
11
#ship debug : Debug
12
#ship fifo : Fifo
13
#ship fifo2 : Fifo
14
15
debug.in: set ilc=*; recv, deliver;
16
17
fifo.out: set ilc=*; collect, send to debug.in;
18
19
fifo.in:
20
[Rq] set olc=2;
21
[Rq] set word= 5;
22
[Rq] deliver;
23
[Rq] recv, deliver;
24
[Rq] send token to memory.inCBD;
25
[Rq] set olc--;
26
tail;
27
28
fifo2.out:
29
set word= 7;
30
set ilc=4;
31
send to fifo.in;
32
33
memory.inCBD: set word= {
34
fifo.in:
35
set word= 9;
36
deliver;
37
};
38
set ilc=3;
39
recv nothing;
40
deliver;