]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
dasta finished counter pulse fix
authorCahit <c.ugur@gsi.de>
Wed, 23 Apr 2014 21:06:54 +0000 (23:06 +0200)
committerCahit <c.ugur@gsi.de>
Wed, 23 Apr 2014 21:06:54 +0000 (23:06 +0200)
tdc_releases/tdc_v1.6.1/Readout.vhd

index 7c761cb21e8dc87035085fc8cb7606cd9a82f9fe..489554b6b69a4c006a0c498a3b3bbe96ea5aaa67 100644 (file)
@@ -5,7 +5,7 @@
 -- File       : Readout.vhd
 -- Author     : cugur@gsi.de
 -- Created    : 2012-10-25
--- Last update: 2014-04-21
+-- Last update: 2014-04-22
 -------------------------------------------------------------------------------
 -- Description: 
 -------------------------------------------------------------------------------
@@ -927,7 +927,7 @@ begin  -- behavioral
     if rising_edge(CLK_100) then
       if RESET_COUNTERS = '1' then
         finished_number <= (others => '0');
-      elsif finished_i = '1' then
+      elsif data_finished = '1' then --finished_i = '1' then
         finished_number <= finished_number + to_unsigned(1, 1);
       end if;
     end if;