From dfe21b7558f4ea631c13b6a26b81ea8bfcd3412d Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Fri, 29 Apr 2011 16:16:54 +0000 Subject: [PATCH] *** empty log message *** --- special/handler_data.vhd | 1 + special/handler_lvl1.vhd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/special/handler_data.vhd b/special/handler_data.vhd index 0d32452..4e3244d 100644 --- a/special/handler_data.vhd +++ b/special/handler_data.vhd @@ -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); diff --git a/special/handler_lvl1.vhd b/special/handler_lvl1.vhd index a88747b..8394639 100644 --- a/special/handler_lvl1.vhd +++ b/special/handler_lvl1.vhd @@ -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); --------------------------------------------------------------------------- -- 2.43.0