From 386142a19644e15c8544193c0b405eef7f8fac4d Mon Sep 17 00:00:00 2001 From: Andreas Neiser Date: Tue, 2 Jun 2015 09:48:52 +0200 Subject: [PATCH] Make DEBUG completely synchronous --- ADC/source/adc_processor_cfd_ch.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0