From: Jan Michel Date: Tue, 3 Apr 2018 11:52:33 +0000 (+0200) Subject: hit_cal registered to prevent glitches X-Git-Tag: v2.3~15 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5d162b6985b823df464ff3ed7a5aa8b67ce3b4aa;p=tdc.git hit_cal registered to prevent glitches --- diff --git a/releases/tdc_v2.3/TDC_record.vhd b/releases/tdc_v2.3/TDC_record.vhd index bbe33ee..1facb71 100644 --- a/releases/tdc_v2.3/TDC_record.vhd +++ b/releases/tdc_v2.3/TDC_record.vhd @@ -256,7 +256,7 @@ begin end if; end process CalibrationHitGenerate; - hit_cal <= and_all(cal_cntr); + hit_cal <= and_all(cal_cntr) when rising_edge(HIT_CAL_IN); HitSelectRef : process (calibration_on, REFERENCE_TIME, hit_cal) is begin