Nikolai
Member level 3
I have a fairly basic doubt here...
Is there a particular rule as to which signals to include in the process sensitivity list
eg :
process (CLK, clkDiv)
begin
if (Clk = '1' and Clk'event) then
if (clkDiv = baudDivide) then
clkDiv <= "000000000";
else
clkDiv <= clkDiv +1;
end if;
end if;
end process;
this was taken from digilent's UART example... I see no reason why "clkDiv" was included in the sensitivity list, since signal assignments take place only on
"CLK" events.
Is there a particular rule as to which signals to include in the process sensitivity list
eg :
process (CLK, clkDiv)
begin
if (Clk = '1' and Clk'event) then
if (clkDiv = baudDivide) then
clkDiv <= "000000000";
else
clkDiv <= clkDiv +1;
end if;
end if;
end process;
this was taken from digilent's UART example... I see no reason why "clkDiv" was included in the sensitivity list, since signal assignments take place only on
"CLK" events.