get rid of ChainControls
[fleet.git] / ships / Memory.ship
index f9e5269..2d1d6f1 100644 (file)
@@ -150,11 +150,11 @@ sequence guarantee problem mentioned in the previous paragraph.
 
   assign out_d_ = { out_w, out1 };
 
-  // I use "blocking assignment" here in order to facilitate BRAM inferencea
+  // I use "blocking assignment" here in order to facilitate BRAM inference
   always @(posedge clk) begin
     write_flag = 0;
 
-    if (!rst) begin
+    if (rst) begin
       `reset
       cursor      = 0;
       counter     = 0;