S
sunshinekisses@gmail.com
Guest
Hi,
Consider this part of a hypothetical counter:
process (CLK)
if CLK'event then
if ClrN = '1' then Qint <= "00";
else Qint <= Qint + 1;
end if;
endif;
end process;
Is this legit as it is or MUST I have something like:
if CLK'event and Clk='1' then...
as the idea is to have a counter that changes with EVERY clock event,
not just the leading edge.
ty, -e
Consider this part of a hypothetical counter:
process (CLK)
if CLK'event then
if ClrN = '1' then Qint <= "00";
else Qint <= Qint + 1;
end if;
endif;
end process;
Is this legit as it is or MUST I have something like:
if CLK'event and Clk='1' then...
as the idea is to have a counter that changes with EVERY clock event,
not just the leading edge.
ty, -e