]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Register i'th fifo_empty signal
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 17 Feb 2015 10:31:57 +0000 (11:31 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:36:56 +0000 (17:36 +0200)
ADC/source/adc_ad9219.vhd

index 9d0348d5d1e49e6bc938002adfdbf558dffe47e7..92344aab7497db19c2a831aa25029d2b38a8cc30 100644 (file)
@@ -246,7 +246,7 @@ gen_chips : for i in 0 to NUM_DEVICES-1 generate
   
   proc_output : process begin
     wait until rising_edge(CLK);
-    fifo_last_empty <= fifo_empty;
+    fifo_last_empty(i) <= fifo_empty(i);
     if fifo_last_empty(i) = '0' then
       DATA_OUT(i*40+39 downto i*40+0) <= fifo_output(i)(39 downto 0);
       FCO_OUT (i*10+9  downto i*10+0) <= fifo_output(i)(49 downto 40);