Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI prefer to code in parallel with algorithm:
if count = 81000000 then
count := 0;
else
count :=count + 1;
end if;
case count is
when 0 to 27000000 | 54000000 to 81000000=> clk <= '1';
when others => clk <= '0';
That way you can instantly visualise your code