]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
another fix
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 18 Feb 2015 09:19:02 +0000 (10:19 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:36:56 +0000 (17:36 +0200)
ADC/sim/dqsinput_dummy.vhd

index 50146edf5cc852899a071d2bbe7afc0911e72713..a3d63afea00621a6e3a41464d527c7ca86db2beb 100644 (file)
@@ -25,8 +25,6 @@ end entity dqsinput_dummy;
 architecture arch of dqsinput_dummy is
   signal sclk_int : std_logic                     := '0';
   signal q        : std_logic_vector(19 downto 0) := (others => '0');
-  type ch_t is array (0 to CHANNELS) of std_logic_vector(3 downto 0);
-  signal ch : ch_t;
   
   signal start_read, read_done : std_logic;
   signal readwords : integer;
@@ -48,8 +46,6 @@ begin
     gen_data_mapping_bits : for k in 0 to 3 generate
       q_0(k * (CHANNELS + 1) + j) <= q(j * 4 + 3 - k);
     end generate;
-    -- finally, ch(i) is 4bits of 10bit ADC stream (MSB first) 
-    q(4 * (j + 1) - 1 downto 4 * j) <= ch(j);
   end generate;
 
   datareader : process is