]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Fri, 29 Apr 2011 16:16:54 +0000 (16:16 +0000)
committerhadeshyp <hadeshyp>
Fri, 29 Apr 2011 16:16:54 +0000 (16:16 +0000)
special/handler_data.vhd
special/handler_lvl1.vhd

index 0d32452c01c790de16919c7c51373d4d36632254..4e3244d89394ba3bd36990f782ae0aa5c1d9128d 100644 (file)
@@ -95,6 +95,7 @@ architecture handler_data_arch of handler_data is
 
   constant buffer_half_threshold   : integer := 2** (DATA_BUFFER_DEPTH-1);
   constant buffer_end_threshold    : integer := 2**DATA_BUFFER_DEPTH - 2*(2**DATA_BUFFER_DEPTH-DATA_BUFFER_FULL_THRESH);
+                      --double set threshold to set flag in error pattern and register
   constant data_width              : integer := DATA_BUFFER_WIDTH + 4;
   type buffer_state_t     is (IDLE, BUSY, WAITING);
   type lvl1_state_t       is (IDLE, WAIT_BUSY, BUSY_RELEASE);
index a88747b73bff3bfa6f67c74c77411fc78f3ac311..83946393d190e26c2602603e2183572a5e904831 100644 (file)
@@ -530,7 +530,7 @@ next_error_pattern(23 downto 19) <= LVL1_ERROR_PATTERN_IN(23 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 (not trg_num_match);  -- trigger counter mismatch
+next_error_pattern(16)           <= LVL1_ERROR_PATTERN_IN(16) or (not next_trg_num_match);  -- trigger counter mismatch
 next_error_pattern(15 downto 0)  <= LVL1_ERROR_PATTERN_IN(15 downto 0);
 
 ---------------------------------------------------------------------------