Browse Source

add check for RNG run time /= 0

master
T. Meissner 10 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
case s_register_state is case s_register_state is
when SLEEP => when SLEEP =>
if (Start_i = '1') then
DataValid_o <= '0';
DataValid_o <= '0';
if (Start_i = '1' and Run_i /= x"00") then
s_register_state <= COLLECT; s_register_state <= COLLECT;
s_register_data(0) <= s_register_data(8); s_register_data(0) <= s_register_data(8);
end if; end if;


Loading…
Cancel
Save