From: hadaq Date: Thu, 15 Jul 2010 15:32:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: oldGBE~218 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5d47d2631e2062f0a3af029304b299de79efa60c;p=trbnet.git *** empty log message *** --- diff --git a/special/handler_lvl1.vhd b/special/handler_lvl1.vhd index 6477d25..fdc5f7b 100644 --- a/special/handler_lvl1.vhd +++ b/special/handler_lvl1.vhd @@ -359,7 +359,7 @@ begin elsif( LVL1_INT_TRG_LOAD_IN = '1' ) then lvl1_int_trg_number <= unsigned(LVL1_INT_TRG_COUNTER_IN); elsif( lvl1_int_trg_ce = '1' ) then - lvl1_int_trg_number <= lvl1_int_trg_number + to_unsigned(1,1); + lvl1_int_trg_number <= lvl1_int_trg_number + 1; end if; end if; end process THE_INTERNAL_TRG_CTR_PROC; @@ -400,7 +400,7 @@ end process COUNT_EDGES_AND_LENGTH_PROC; next_error_pattern(31 downto 19) <= LVL1_ERROR_PATTERN_IN(31 downto 19); next_error_pattern(18) <= LVL1_ERROR_PATTERN_IN(18) or mult_trg_found; -- multiple timing triggers next_error_pattern(17) <= LVL1_ERROR_PATTERN_IN(17) or invalid_trg; -- timing trigger missing -next_error_pattern(16) <= LVL1_ERROR_PATTERN_IN(16) or trg_num_match; -- trigger counter mismatch +next_error_pattern(16) <= LVL1_ERROR_PATTERN_IN(16) or (not trg_num_match); -- trigger counter mismatch next_error_pattern(15 downto 0) <= LVL1_ERROR_PATTERN_IN(15 downto 0); ---------------------------------------------------------------------------