Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi,
--- Quote Start --- I am trying to build a program in Quartus II to divide the clock frequency of an Altera DE2 board by (2, 4, 8). How can I do this?? --- Quote End --- Just google it, there are plenty of examples. Then try to write your own and then ask more specific questions if you still have problems. Usualy clock divider consists of counter which is incremented every rising edge of your main clock and a signal which is toogled when counter reaches certain value. --- Quote Start --- There is a block which is named (freq Divider) --- Quote End --- How about posting code of that block? --- Quote Start --- but when I use it no output is shown on the LEDs --- Quote End --- Are you using scope to watch led activity? Or you expecting to see led toogling in MHz range (milion times per second!). If you want to use leds to monitor clocks use much bigger divider values, frequency should be in Hz range.