From: Andreas Neiser Date: Tue, 2 Jun 2015 07:48:52 +0000 (+0200) Subject: Make DEBUG completely synchronous X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=386142a19644e15c8544193c0b405eef7f8fac4d;p=trb3.git Make DEBUG completely synchronous --- diff --git a/ADC/source/adc_processor_cfd_ch.vhd b/ADC/source/adc_processor_cfd_ch.vhd index 13cd179..7c882c3 100644 --- a/ADC/source/adc_processor_cfd_ch.vhd +++ b/ADC/source/adc_processor_cfd_ch.vhd @@ -104,8 +104,8 @@ begin -- Tell the outer word some useful debug infos DEBUG.InvalidWordCount <= invalid_word_count when rising_edge(CLK); - DEBUG.Baseline <= baseline; - DEBUG.LastWord <= input; + DEBUG.Baseline <= baseline when rising_edge(CLK); + DEBUG.LastWord <= input when rising_edge(CLK); DEBUG.EpochCounter <= epoch_counter when rising_edge(CLK); -- word checker, needed for ADC phase adjustment