From: Andreas Neiser Date: Thu, 5 Mar 2015 13:23:11 +0000 (+0100) Subject: Now locking should work X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=779fcab8beca04fe143da58581ece4d752194d9d;p=trb3.git Now locking should work --- diff --git a/ADC/source/adc_processor_cfd_ch.vhd b/ADC/source/adc_processor_cfd_ch.vhd index e1657bd..5af94eb 100644 --- a/ADC/source/adc_processor_cfd_ch.vhd +++ b/ADC/source/adc_processor_cfd_ch.vhd @@ -279,34 +279,29 @@ begin -- assume that ram_counter is already at next position -- ram_counter <= ram_counter + 1; state <= WRITE2; - RAM_BSY_OUT <= '1'; when WRITE2 => RAM_DATA(31 downto 16) <= std_logic_vector(epoch_counter_save(15 downto 0)); RAM_DATA(15 downto 0) <= std_logic_vector(integral_sum); ram_counter <= ram_counter + 1; state <= WRITE3; - RAM_BSY_OUT <= '1'; when WRITE3 => RAM_DATA(31 downto 16) <= std_logic_vector(cfd_prev_save); RAM_DATA(15 downto 0) <= std_logic_vector(cfd_save); ram_counter <= ram_counter + 1; state <= WRITE4; - RAM_BSY_OUT <= '1'; when WRITE4 => RAM_DATA <= (others => '1'); -- padding word ram_counter <= ram_counter + 1; state <= FINISH; - RAM_BSY_OUT <= '1'; when FINISH => -- move to next position ram_counter <= ram_counter + 1; state <= IDLE; - RAM_BSY_OUT <= '1'; end case;