From 5d162b6985b823df464ff3ed7a5aa8b67ce3b4aa Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 3 Apr 2018 13:52:33 +0200 Subject: [PATCH] hit_cal registered to prevent glitches --- releases/tdc_v2.3/TDC_record.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0