try to re-enable break line in Debug.ship (but doesnt work), add a note about deadlock
[fleet.git] / ships / Lut3.ship
index 4c8401e..dc56e2b 100644 (file)
@@ -75,11 +75,10 @@ is considered ``bit zero'').
   assign lut = inLut_d[7:0];
 
   always @(posedge clk) begin
-    if (!rst) begin
+    if (rst) begin
       `reset
       out_draining <= 0;
     end else begin
-      `flush
       `cleanup
       if (out_draining && `out_empty) begin
          `drain_in1
@@ -376,6 +375,7 @@ alu.in1:
    set ilc=*;  recv, deliver;
 alu.out:
   set olc=2;
+  head;
   [Rq] recv token, collect, send to lut.inLut;
   [Rq] send to alu.in1;
   tail;