-ship: Mul
+ship: Alu3
== Ports ===========================================================
data in: in1
data in: in3
data out: out1
+ shortcut to: in1
data out: out2
+ shortcut to: in2
data out: out3
-data out: bits
+ shortcut to: in3
+data out: outBits
== Constants ========================================================
== TeX ==============================================================
count = 74;
}
}
- if (box_bits.readyForDataFromShip() &&
+ if (box_outBits.readyForDataFromShip() &&
bits.size() >= 37) {
- box_bits.addDataFromShip(bits.get(37));
+ box_outBits.addDataFromShip(bits.get(37));
}
}
end
+== Test ========================================================================
+#expect 25
+
+#ship alu3 : Alu3
+#ship debug : Debug
+
+25: sendto debug.in;
+debug.in: [*] take, deliver;
== Contributors =========================================================
+Amir Kamil <kamil@cs.berkeley.edu>
Adam Megacz <megacz@cs.berkeley.edu>
+++ /dev/null
-#skip
-#expect 25
-
-#ship alu3 : Alu3
-#ship alu2 : Alu2
-#ship debug : Debug
-
-12: sendto alu3.in1;
-4: sendto alu3.in2;
-9: sendto alu3.in3;
-
-
-alu3.in1: [*] take, deliver;
-alu3.in2: [*] take, deliver;
-alu3.in3: [*] take, deliver;
-
-alu2.in1: [*] take, deliver;
-alu2.in2: [*] take, deliver;
-alu2.inOp: take; [*] deliver;
-
-alu3.out1: [*] take, sendto alu2.in1;
-alu3.out2: [*] take, sendto alu2.in2;
-Alu2.ADD: sendto alu2.inOp;
-
-alu2.out: [*] take, sendto debug.in;
-
-debug.in: [*] take, deliver;
-
-