#ship debug : Debug
alu.inOp: literal Alu2.inOp[ADD];
- load repeat counter with *;
- deliver;
-
-alu.out: load loop counter with 40;
- clog;
- take, sendto alu.in1;
- sendto debug.in;
- nop;
- decrement loop counter;
- nop;
- unclog;
+ [*] deliver;
-debug.in: load repeat counter with *;
- take, deliver;
+debug.in: [*] take, deliver, notify alu.out;
alu.in2: literal 4;
- load repeat counter with *;
- deliver;
+ [*] deliver;
-alu.in1: clog;
- literal 2;
+alu.out: load loop counter with 40;
+ [L] take, sendto alu.in1;
+ [L] sendto debug.in;
+ [L] wait;
+ tail;
+
+alu.in1: literal 2;
load repeat counter with 4;
deliver;
load loop counter with 2;
- take, deliver;
- discard;
- deliver;
- unclog;
+ [L] take, deliver;
+ [L] discard, deliver;
+ tail;
+