Forum Discussion
Altera_Forum
Honored Contributor
17 years agovernmid, Here is the code:
process(clk) begin if (clk'event and clk='1') then counter<=counter + 1; if counter=44 then freq_div<=not(freq_div); counter<=1; end if; end if; end process; I was reading that this is not the best way for a freq divider; All suggestions are about PLL and clk enable method, maybe clk enable is the easiest way.....but I don't have information about it, thanks.