From: Andreas Neiser Date: Mon, 23 Feb 2015 09:33:41 +0000 (+0100) Subject: Revert "testing with smaller ram counter" X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=1db1a3a9cf537451876adc14741000c5c64d0ecc;p=trb3.git Revert "testing with smaller ram counter" This reverts commit 4d1d73448ee31788e34c3fc190bd75b9e56d47ac. --- diff --git a/ADC/source/adc_processor_cfd.vhd b/ADC/source/adc_processor_cfd.vhd index 0a71b00..0e62d9d 100644 --- a/ADC/source/adc_processor_cfd.vhd +++ b/ADC/source/adc_processor_cfd.vhd @@ -50,7 +50,7 @@ architecture arch of adc_processor_cfd is type ram_addr_t is array (CHANNELS - 1 downto 0) of std_logic_vector(8 downto 0); type ram_data_t is array (CHANNELS - 1 downto 0) of std_logic_vector(31 downto 0); - type ram_counter_t is array (CHANNELS - 1 downto 0) of unsigned(2 downto 0); + type ram_counter_t is array (CHANNELS - 1 downto 0) of unsigned(8 downto 0); signal ram_addr_adc, ram_addr_sys : ram_addr_t := (others => (others => '0')); signal ram_data_adc, ram_data_sys : ram_data_t := (others => (others => '0')); signal ram_counter : ram_counter_t := (others => (others => '0')); diff --git a/ADC/source/adc_processor_cfd_ch.vhd b/ADC/source/adc_processor_cfd_ch.vhd index c2f65cf..60a07cd 100644 --- a/ADC/source/adc_processor_cfd_ch.vhd +++ b/ADC/source/adc_processor_cfd_ch.vhd @@ -95,7 +95,7 @@ architecture arch of adc_processor_cfd_ch is type state_t is (IDLE, INTEGRATE, WRITE1, WRITE2, WRITE3, WRITE4, FINISH, WAIT_BSY); signal state : state_t := IDLE; - signal ram_counter : unsigned(2 downto 0) := (others => '0'); + signal ram_counter : unsigned(8 downto 0) := (others => '0'); begin -- input ADC data interpreted as unsigned input <= unsigned(ADC_DATA);