Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFvM, I tried to implement it as a clock_enable, but results were terrible!
process(clk20,reset)
begin
if reset = '0' then
clk_en <= '0';
elsif clk20'event and clk20 = '0' then
cnt <= cnt + 1; -- cnt is a 8-bit vector
if cnt(7) = '1' then
clk_en <= NOT(clk_en);
end if;
end if;
end process; After that I used clk_en in combination with the system clock directly in the processes where word_clk used to be. Could you please suggest to me some other way of implementing that?