]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Correct baseline subtracted signal generated
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Thu, 19 Feb 2015 08:42:07 +0000 (09:42 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:36:57 +0000 (17:36 +0200)
ADC/sim/tb_adcprocessor_cfd.vhd

index 9100b1026baee661e6b28f1ebc39e4f3a12c0e59..7d0dba75e4d104494e62e81565b78f80661da837 100644 (file)
@@ -30,10 +30,11 @@ begin
 
   restart <= '1', '0' after 200 ns;
 
-  config.BaselineAlwaysOn <= '1', '0' after 5 us;
+  config.BaselineAlwaysOn <= '1', '0' after 20 us;
 
   config.InputThreshold  <= to_unsigned(40, 10);
   config.BaselineAverage <= to_unsigned(8, 4);
+  config.PolarityInvert  <= '1';
 
   config.check_word1       <= (others => '0');
   config.check_word2       <= (others => '0');