lots of changes to Marina test code, mostly for scan chain counters
[fleet.git] / ships / Rotator.ship
index 8291e6a..74cb3f1 100644 (file)
@@ -47,7 +47,7 @@ public void service() {
   assign shamt_eq = (shamt[5:0] == (inAmount_d[5:0]));
 
   always @(posedge clk) begin
-    if (!rst) begin
+    if (rst) begin
       `reset
       full <= 0;
     end else begin
@@ -105,11 +105,11 @@ rotator.inAmount:
 rotator.out:
    set olc=3;
    head;
-   [Rq] collect, send to debug.in;
-   [Rq] set flags a=c, b=b;
-   [Rq] [!a] set word=0;
-   [Rq] [a]  set word=1;
-   [Rq] send to debug.in;
+   collect, send to debug.in;
+   set flags a=c, b=b;
+   [!a] set word=0;
+   [a]  set word=1;
+   send to debug.in;
    tail;