]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Remove padding word
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 14 Apr 2015 15:52:57 +0000 (17:52 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:37:03 +0000 (17:37 +0200)
ADC/source/adc_processor_cfd_ch.vhd

index f05bc4bc4d40dc4371093739928eb43db2f810d6..8068f5ebb4d30c4dce1ad437f1dee87c49cd65c2 100644 (file)
@@ -92,7 +92,7 @@ architecture arch of adc_processor_cfd_ch is
   signal integral_sum                      : signed(RESOLUTION_CFD - 1 downto 0) := (others => '0');
 
   signal epoch_counter, epoch_counter_save : unsigned(23 downto 0) := (others => '0');
-  type state_t is (IDLE, INTEGRATE, WRITE1, WRITE2, WRITE3, WRITE4, FINISH, LOCKED, DEBUG_DUMP);
+  type state_t is (IDLE, INTEGRATE, WRITE1, WRITE2, WRITE3, FINISH, LOCKED, DEBUG_DUMP);
   signal state : state_t := IDLE;
 
   signal ram_counter : unsigned(8 downto 0) := (others => '0'); 
@@ -318,12 +318,6 @@ begin
         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;
-        
-        
-      when WRITE4 =>
-        RAM_DATA <= (others => '1'); -- padding word
-        ram_counter <= ram_counter + 1;
         state <= FINISH;
         
       when FINISH =>