change rst to high-active
[fleet.git] / ships / Memory.ship
index f9e5269..41e728c 100644 (file)
@@ -154,7 +154,7 @@ sequence guarantee problem mentioned in the previous paragraph.
   always @(posedge clk) begin
     write_flag = 0;
 
-    if (!rst) begin
+    if (rst) begin
       `reset
       cursor      = 0;
       counter     = 0;