projects
/
fleet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import slipway (fpga-fleet) code
[fleet.git]
/
contrib
/
demo.fleet
1
#import edu.berkeley.fleet.ships
2
#ship alu : Alu2
3
#ship debug : Debug
4
#ship command : Command
5
6
0: sendto alu.a;
7
0: sendto alu.op;
8
42: sendto alu.b;
9
1: sendto alu.b;
10
5: sendto alu.b;
11
alu.a: [*] take, deliver;
12
alu.b: [*] take, deliver;
13
alu.op: take; [*] deliver;
14
debug.data: [*] take, deliver;
15
alu.out:
16
[*] nop;
17
[*r] take, sendto alu.a;
18
[*r] sendto debug.data;
19
kill;
20