]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
DEBUG should be in clk_rd aka ADC clock domain
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Fri, 27 Feb 2015 15:03:04 +0000 (16:03 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:37:01 +0000 (17:37 +0200)
ADC/source/adc_ad9219.vhd

index 26e41f6fad7730a2500bc9eb25201eba53e1049d..488f7eafd5ad02922d39e91d9b7e63415eb90b2c 100644 (file)
@@ -321,7 +321,7 @@ begin
 
     proc_debug : process
     begin
-      wait until rising_edge(CLK);
+      wait until rising_edge(clk_rd);
       state_q(i)                           <= state(i);
       counter_q(i)                         <= counter(i);
       DEBUG(i * 32 + 31 downto i * 32 + 4) <= std_logic_vector(counter_q(i));