From 1b480b0e9e68452f1da325f892532656571dffce Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Thu, 6 Mar 2014 10:53:14 +0100 Subject: [PATCH] fixed coarse counter source for designs with few channels --- tdc_releases/tdc_v1.6/TDC.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0