From: Cahit Date: Wed, 23 Apr 2014 21:06:54 +0000 (+0200) Subject: dasta finished counter pulse fix X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=256fce08dd7bf9c675a324bc511327e1db8ca3bf;p=trb3.git dasta finished counter pulse fix --- diff --git a/tdc_releases/tdc_v1.6.1/Readout.vhd b/tdc_releases/tdc_v1.6.1/Readout.vhd index 7c761cb..489554b 100644 --- a/tdc_releases/tdc_v1.6.1/Readout.vhd +++ b/tdc_releases/tdc_v1.6.1/Readout.vhd @@ -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;