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

index 62c09527f8600e0107a60cee42f0f67db6160ae3..e1ac90c8217a7597a4f4324c636c061abae0fa33 100644 (file)
@@ -72,12 +72,16 @@ signal psa_data   : std_logic_vector(8 downto 0) := (others => '0');
 signal psa_write  : std_logic := '0';
 signal psa_addr   : std_logic_vector(7 downto 0) := (others => '0');
 
+signal restart : std_logic := '0';
+
 begin
 
 clock100 <= not clock100 after 5 ns;
 
 clock200 <= not clock200 after 2.5 ns;
 
+restart <= '1', '0' after 200 ns;
+
 
 -- 
 -- config.buffer_depth      <= to_unsigned(100 ,11);
@@ -192,7 +196,7 @@ THE_ADC : adc_ad9219
   )
   port map(CLK            => clock100,
            CLK_ADCRAW     => clock200,
-           RESTART_IN     => '0',
+           RESTART_IN     => restart,
            ADCCLK_OUT     => open,
            ADC_DATA       => (others => '0'),
            ADC_DCO        => (others => '0'),