T
titi
Guest
In the sample code here after, the sensitivity list is (Reset,Load,F).
Would it be correct to write (Reset,F)?
Why, why not?
machin : process(Reset,Load,F)
begin
if Reset ='1' then
En1 <= '0';
En2 <= '0';
elsif F'event and F ='1' then
En1 <= Load;
En2 <= En1;
end if;
end process;
Would it be correct to write (Reset,F)?
Why, why not?
machin : process(Reset,Load,F)
begin
if Reset ='1' then
En1 <= '0';
En2 <= '0';
elsif F'event and F ='1' then
En1 <= Load;
En2 <= En1;
end if;
end process;