]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
fixed coarse counter source for designs with few channels
authorJan Michel <j.michel@gsi.de>
Thu, 6 Mar 2014 09:53:14 +0000 (10:53 +0100)
committerJan Michel <j.michel@gsi.de>
Thu, 6 Mar 2014 09:54:12 +0000 (10:54 +0100)
tdc_releases/tdc_v1.6/TDC.vhd

index e1536d997037f5e0d5eda25fca31114cd9d0b75c..189aaa7818f664c48ea431b4565805ad2d5c49f8 100644 (file)
@@ -440,7 +440,7 @@ begin
       if reset_tdc = '1' then
         coarse_cntr_reset <= '1';
       elsif run_mode_200 = '0' then
-        coarse_cntr_reset <= trig_win_end_tdc_i(32);
+        coarse_cntr_reset <= trig_win_end_tdc_i(1);
       elsif run_mode_edge_200 = '1' then
         coarse_cntr_reset <= '1';
       elsif reset_coarse_cntr_flag = '1' and (VALID_TIMING_TRG_IN = '1' or VALID_NOTIMING_TRG_IN = '1') then