projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added ~~ operator and tests for ~~ and ... operators
[sbp.git]
/
tests
/
test.fleet
diff --git
a/tests/test.fleet
b/tests/test.fleet
index
744a0d6
..
20de475
100644
(file)
--- a/
tests/test.fleet
+++ b/
tests/test.fleet
@@
-1,8
+1,17
@@
-// this is a test
+#import edu.berkeley.fleet
- bob: { z -> q }
- bob -> mary
- mary := bob
+#ship adder : AdderShip
+#ship memread : MemReadShip
+#ship memwrite : MemWriteShip
+#ship one : OneProducerShip
+#ship halt : HaltShip
- a -> foo, /* charles, */ baz
+#memory { 000, 100, 200, 300, 400, 500 }
+
+one.out -> adder.in1
+one.out -> adder.in2
+adder.out -> memread.addr
+memread.data -> adder.in1
+one.out -> adder.in2
+adder.out -> halt.in