Altera_Forum
Honored Contributor
13 years agoBest way to code a clock divider?
Hello,
I have to divide a clock input signal by 2048. I was wondering which method was the best to implement this divider in a FPGA. I know that we can use either a counter or just some flip-flops along with some logic. Do you know what are the pros and cons of each method? I attached my source code. My design includes 9 flip-flops that produce a signal used to invert my output signal (my output clock). Thank you for your help. Best regards, Damien