]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Revert "testing with smaller ram counter"
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Mon, 23 Feb 2015 09:33:41 +0000 (10:33 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:36:58 +0000 (17:36 +0200)
This reverts commit 4d1d73448ee31788e34c3fc190bd75b9e56d47ac.

ADC/source/adc_processor_cfd.vhd
ADC/source/adc_processor_cfd_ch.vhd

index 0a71b004885cebdf828c6e3ceaedd4c65f945b78..0e62d9d0d79d1618110c3938b6925cffd02e1118 100644 (file)
@@ -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')); 
index c2f65cfdbc3ed125b5e48a08d7873828b57f8502..60a07cd3f7f055a330b3fc0a8cebd59ded1e7509 100644 (file)
@@ -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);