From 6195ce90d316a8aeeae2e0ef9358bc7a5e87bd16 Mon Sep 17 00:00:00 2001 From: Andreas Neiser Date: Thu, 19 Feb 2015 08:43:16 +0100 Subject: [PATCH] Default value in ADC makes baseline calculation work --- ADC/source/adc_ad9219.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADC/source/adc_ad9219.vhd b/ADC/source/adc_ad9219.vhd index b8c9afe..2e5989c 100644 --- a/ADC/source/adc_ad9219.vhd +++ b/ADC/source/adc_ad9219.vhd @@ -45,8 +45,8 @@ architecture adc_ad9219_arch of adc_ad9219 is type value_it is array (0 to 4) of std_logic_vector(9 downto 0); type value_t is array (0 to NUM_DEVICES - 1) of value_it; - signal value : value_t; - signal fifo_input : value_t; + signal value : value_t := (others => (others => (others => '0'))); + signal fifo_input : value_t := (others => (others => (others => '0'))); type fifo_t is array (0 to NUM_DEVICES - 1) of std_logic_vector(49 downto 0); signal fifo_output : fifo_t; -- 2.43.0