For this week, I have learned about the Clock
Divider. The purpose of the clock divider is to make a delay. What make the
clock divider so special is that, we can set how long we want to set the delay.
As the DE2 Board supply 50 Mhz of frequency for
clock, it actually so fast. Our eyes cannot detect the changes that are done on
the DE2 Board. so, we can make it slower by using the Clock divider. So, after
making some research from the internet, I finally can come out with my own
clock divider ( coding ). The figure below shows the coding for my clock
divider. (1 second delay).
Basically, we just have to play with the period of
the clock cycle. As the DE2 Board supply 50 Mhz frequency of clock, so that we
can see that the clock cycle is about 20ns. This can be calculated by dividing
50 Mhz with one (1).
So, we can make a delay by create a new clock. The input
for our clock is based on the clock supply from the DE2 Board. If we make a
counter for 50 milion time, we can actually get the one second delay.



