]> jspc29.x-matter.uni-frankfurt.de Git - tdc.git/commitdiff
hit_cal registered to prevent glitches
authorJan Michel <j.michel@gsi.de>
Tue, 3 Apr 2018 11:52:33 +0000 (13:52 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 3 Apr 2018 11:52:33 +0000 (13:52 +0200)
releases/tdc_v2.3/TDC_record.vhd

index bbe33eea15d6f558cd040095ebc29d17b6c911b2..1facb712e1c3ead0dd453ce9f37260fa1053d8fd 100644 (file)
@@ -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