]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Make DEBUG completely synchronous
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 2 Jun 2015 07:48:52 +0000 (09:48 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:37:06 +0000 (17:37 +0200)
ADC/source/adc_processor_cfd_ch.vhd

index 13cd1792ec8e6944ff84dfcbafb8baa0b75caff2..7c882c3feec74ccfa61877f8210daff0f137f7b5 100644 (file)
@@ -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