projects
/
fleet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add interpreter code and tests for loop counter instructions
[fleet.git]
/
tests
/
pump
/
test-read-loop-counter-from-data-latch.fleet
1
#expect 5
2
#expect 0
3
#expect 5
4
5
#ship debug : Debug
6
#ship memory : Memory
7
#ship fifo : Fifo
8
9
debug.in: [*] take, deliver;
10
11
fifo.out:
12
take;
13
sendto debug.in;
14
load loop counter;
15
literal 0;
16
sendto debug.in;
17
take loop counter;
18
sendto debug.in;
19
20
fifo.in:
21
literal 5;
22
deliver;