From 8df9df2759c085d01e45a9e288bdc5cd41dfb9cb Mon Sep 17 00:00:00 2001 From: tmeissner Date: Wed, 10 Dec 2014 00:08:55 +0100 Subject: [PATCH] add check for RNG run time /= 0 --- raspiFpga/src/FiRoCtrlE.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raspiFpga/src/FiRoCtrlE.vhd b/raspiFpga/src/FiRoCtrlE.vhd index a6ab317..83b61b9 100644 --- a/raspiFpga/src/FiRoCtrlE.vhd +++ b/raspiFpga/src/FiRoCtrlE.vhd @@ -172,8 +172,8 @@ begin case s_register_state is 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_data(0) <= s_register_data(8); end if;