change rst to high-active
[fleet.git] / ships / Counter.ship
index b8155f5..06a87ce 100644 (file)
@@ -110,7 +110,7 @@ public void service() {
   // FIXME: REPEAT with a count of zero will not work properly
 
   always @(posedge clk) begin
-    if (!rst) begin
+    if (rst) begin
       `reset
       full <= 0;
       out_draining <= 0;