promote Mul to Alu3
[fleet.git] / ships / Alu1.ship
index 2a5019e..c80bafe 100644 (file)
@@ -18,7 +18,7 @@ ABS:
 == TeX ==============================================================
 == Fleeterpreter ====================================================
     public void service() {
-        if (box_in.dataReadyForShip() && box_inOp.dataReadyForShip()) {
+        if (box_in.dataReadyForShip() && box_inOp.dataReadyForShip() && box_out.readyForDataFromShip()) {
             long data   = box_in.removeDataForShip();
             long opcode = box_inOp.removeDataForShip();
             switch((int)opcode) {
@@ -38,9 +38,9 @@ ABS:
 
 == FleetSim ==============================================================
 == FPGA ==============================================================
-  reg                    have_a;
+  reg                       have_a;
   reg [(`PACKET_WIDTH-1):0] reg_a;
-  reg                    have_op;
+  reg                       have_op;
   reg [(`PACKET_WIDTH-1):0] reg_op;
   reg [(`PACKET_WIDTH-1):0] extrabits;