CLEANUP: Removed duplicate code of TrigLatch handling

This commit is contained in:
Oliver Bruendler
2018-07-12 09:08:12 +02:00
parent 6b11752736
commit f90e2adff0

View File

@ -172,7 +172,6 @@ begin
-- Trigger handling and post trigger counter
if ProcessSample_v then
v.TrigLatch := '0';
if r.PostTrigCnt /= 0 then
v.PostTrigCnt := r.PostTrigCnt - 1;
if r.PostTrigCnt = 1 then
@ -188,8 +187,6 @@ begin
v.PostTrigCnt := unsigned(PostTrigSpls);
end if;
end if;
else
v.TrigLatch := r.TrigLatch or Str_Trig;
end if;
-- Detect Timeout