Forum Discussion
Altera_Forum
Honored Contributor
14 years ago
count := count + 1;
if count = 50000000-1 then
count := 0;
end if;
if count <25000000 then
clk_out <= '1';
else
clk_out <= '0';
end if;
count := count + 1;
if count = 50000000-1 then
count := 0;
end if;
if count <25000000 then
clk_out <= '1';
else
clk_out <= '0';
end if;