Hi,
Is it correct to have a signal in the sensitivity list of a process just because it appears on the RHS of an assignment even though the same signal is also on the LHS?
Consider the following example:
process(en, b)
begin
if en = '1' then
a(0) <= a(0) and b(1);
-- other assignments
else
a(0) <= a(0) or b(1);
-- other assignments
end if;
end process;
In this case, is it really necessary to have a (.. or a(0) ) in the sensitivity list just because a(0) is one of the inputs. By having 'a' in the sensitivity list, aren't we forcing the process to execute infinetely?
-RV
Is it correct to have a signal in the sensitivity list of a process just because it appears on the RHS of an assignment even though the same signal is also on the LHS?
Consider the following example:
process(en, b)
begin
if en = '1' then
a(0) <= a(0) and b(1);
-- other assignments
else
a(0) <= a(0) or b(1);
-- other assignments
end if;
end process;
In this case, is it really necessary to have a (.. or a(0) ) in the sensitivity list just because a(0) is one of the inputs. By having 'a' in the sensitivity list, aren't we forcing the process to execute infinetely?
-RV