BUGFIX: Do ontly go for TLAST check in Statemachine if window is not protected

Otherwise the SM is blocked because it will repeatedly go for the TLAST handling instead
of checking for a response.
This commit is contained in:
Oliver Bruendler
2018-09-04 13:04:04 +02:00
parent 08736d54ba
commit dc076a3e7c

View File

@ -288,7 +288,7 @@ begin
v.State := CheckResp_s;
v.WinProtected := (others => '0'); -- No bursts where available on any stream, so all of them were checked and we can retry whether SW emptied a window.
for idx in 0 to Streams_g-1 loop
if (r.HasLastReg(idx) = '1') and (r.OpenCommand(idx) = '0') then
if (r.HasLastReg(idx) = '1') and (r.OpenCommand(idx) = '0') and (r.WinProtected(idx) = '0') then
v.State := ReadCtxStr_s;
v.HndlStream := idx;
end if;