Commit 177488e3 authored by Håkan Johansson's avatar Håkan Johansson
Browse files

Do not give the timeout_cnt a chance to count down to 0 if in BERR_HIGH_WAIT...

Do not give the timeout_cnt a chance to count down to 0 if in BERR_HIGH_WAIT mode (i.e. end of TIMEOUT handling).
parent df743f93
Pipeline #26009 failed with stage
in 20 seconds
...@@ -739,10 +739,11 @@ begin ...@@ -739,10 +739,11 @@ begin
state = IDLE or state = IDLE or
state = IDLE_DELAY or state = IDLE_DELAY or
state = TIMEOUT or state = TIMEOUT or
state = TIMEOUT_WAIT) then state = TIMEOUT_WAIT or
state = BERR_HIGH_WAIT) then
-- Things are good, or we have fired (no need to fire again). -- Things are good, or we have fired (no need to fire again).
timeout_cnt <= TIMEOUT_CNT_MAX; timeout_cnt <= TIMEOUT_CNT_MAX;
elsif ((state /= BERR_HIGH_WAIT and vme_berr_n_i = '0') or elsif (vme_berr_n_i = '0' or
int_timeout_n = '0') int_timeout_n = '0')
state <= TIMEOUT; state <= TIMEOUT;
elsif (timeout_cnt = 0) then elsif (timeout_cnt = 0) then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment