Forum Discussion
Altera_Forum
Honored Contributor
7 years ago --- Quote Start --- generate clock enable using modulo accumulator. add your word non-stop. then at overflow generate a pulse The equation for frequency becomes: f = clk speed * accum word value/accum resolution e.g. if accum is 32 bits and word is 2^30 and clock is 50MHz then: f = 50 * 2^30/2^32 = 50/4 Mhz --- Quote End --- I konw what you mean. e.g. if accum is 32 bits and word is 2^30 and clock is 50MHz then: f = 50 * 2^30/2^32 = 50/4 Mhz.I can get 12.5Mhz frequency pwm,this is surely. But if I want to get stable frequency of 12.4Mhz,or 12.6MHz,this way can not work.