]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Registering debug signals, fixes strange synplify errors. This version at least compiles.
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 27 May 2015 16:05:52 +0000 (18:05 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:37:05 +0000 (17:37 +0200)
ADC/source/adc_processor_cfd_ch.vhd

index 82980b0e51015a08a8fdef05cc9ae0114f983bab..13cd1792ec8e6944ff84dfcbafb8baa0b75caff2 100644 (file)
@@ -103,10 +103,10 @@ begin
   input <= unsigned(ADC_DATA);
 
   -- Tell the outer word some useful debug infos
-  DEBUG.InvalidWordCount <= invalid_word_count;
+  DEBUG.InvalidWordCount <= invalid_word_count when rising_edge(CLK);
   DEBUG.Baseline         <= baseline;
   DEBUG.LastWord         <= input;
-  DEBUG.EpochCounter     <= epoch_counter;
+  DEBUG.EpochCounter     <= epoch_counter when rising_edge(CLK);
 
   -- word checker, needed for ADC phase adjustment
   gen_word_checker : for i in 0 to CHANNELS - 1 generate