update ships for 1.0 overhaul
[fleet.git] / ships / Lut3.ship
index 9e408c5..ddbd37a 100644 (file)
@@ -373,7 +373,7 @@ is considered ``bit zero'').
 
 #ship debug        : Debug
 #ship lut          : Lut3
-#ship alu          : Alu1
+#ship alu          : Alu2
 
 lut.in1:   literal 85; [*] deliver;
 lut.in2:   literal 51; [*] deliver;
@@ -381,8 +381,11 @@ lut.in3:   literal 15; [*] deliver;
 lut.out:   [*] take, sendto debug.in;
 
 // cycle through truth tables using alu as INC
-alu.inOp:
+alu.in2:
    literal 1;
+   [*] deliver;
+alu.inOp:
+   literal Alu2.inOp[ADD];
    load repeat counter with 63;
    deliver;
    load repeat counter with 63;
@@ -393,16 +396,15 @@ alu.inOp:
    deliver;
    load repeat counter with 3;
    deliver;
-alu.in:
+alu.in1:
    literal 0;
    deliver;
    [*] take, deliver;
 alu.out:
-  clog;
   load loop counter with 2;
-  wait, take, sendto lut.inLut;
-  sendto alu.in;
-  unclog;
+  [L] wait, take, sendto lut.inLut;
+  [L] sendto alu.in1;
+  tail;
 
 // acks from debug ship trigger new truth tables
 debug.in: