more reset code
[fleet.git] / ships / Memory.ship
index 65a08b0..bf66bb0 100644 (file)
@@ -261,6 +261,20 @@ module memory (clk, rst,
   always @(posedge clk /*or negedge rst*/) begin
 
     if (!rst) begin
+
+/*
+      in_addr_a = 1;
+      write_addr_a = 1;
+      write_data_a = 1;
+      stride_a <= 1;
+      count_a <= 1;
+      preload_a <= 1;
+      cbd_a <= 1;
+*/
+      out_r <= 0;
+      ihorn_r <= 0;
+      dhorn_r <= 0;
+
       ihorn_full <= 0;
       dhorn_full <= 0;
       command_valid <= 0;