Marina/MarinaTest.java: a few hacks to get the silicon working
[fleet.git] / contrib / demo.fleet
index 4d8eed3..8f8c514 100644 (file)
@@ -1,20 +1,14 @@
-#import edu.berkeley.fleet.ships
-#ship alu          : Alu2
-#ship debug        : Debug
-#ship command      : Command
+#ship debug    : Debug
+#ship iscratch : Iscratch
 
-0: sendto alu.a;
-0: sendto alu.op;
-42: sendto alu.b;
-1:  sendto alu.b;
-5:  sendto alu.b;
-alu.a:  [*] take, deliver;
-alu.b:  [*] take, deliver;
-alu.op: take; [*] deliver;
-debug.data: [*] take, deliver;
-alu.out:
-  [*]  nop;
-  [*r] take, sendto alu.a;
-  [*r]       sendto debug.data;
-  kill;
+BOB:             sendto iscratch.inCBD;
+iscratch.inCBD:  [*] take, deliver;
+debug.in:        [*] take, deliver;
+
+BOB: {
+  12:           sendto debug.in;
+  13:           sendto debug.in;
+  14:           sendto debug.in;
+  BOB:          sendto iscratch.inCBD;
+}