From: Jan Michel Date: Thu, 6 Mar 2014 09:53:14 +0000 (+0100) Subject: fixed coarse counter source for designs with few channels X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=1b480b0e9e68452f1da325f892532656571dffce;p=trb3.git fixed coarse counter source for designs with few channels --- diff --git a/tdc_releases/tdc_v1.6/TDC.vhd b/tdc_releases/tdc_v1.6/TDC.vhd index e1536d9..189aaa7 100644 --- a/tdc_releases/tdc_v1.6/TDC.vhd +++ b/tdc_releases/tdc_v1.6/TDC.vhd @@ -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