Browse Source

add check for RNG run time /= 0

T. Meissner 5 years ago
parent
commit
8df9df2759
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      raspiFpga/src/FiRoCtrlE.vhd

+ 2
- 2
raspiFpga/src/FiRoCtrlE.vhd View File

@@ -172,8 +172,8 @@ begin
172 172
         case s_register_state is
173 173
 
174 174
           when SLEEP =>
175
-            if (Start_i = '1') then
176
-              DataValid_o        <= '0';
175
+             DataValid_o        <= '0';
176
+            if (Start_i = '1' and Run_i /= x"00") then
177 177
               s_register_state   <= COLLECT;
178 178
               s_register_data(0) <= s_register_data(8);
179 179
             end if;