Altera_Forum
Honored Contributor
13 years agoGenerating a 0.1 second tick with 50MHz Clock
Hi,
I want to know how to generate a specifically times tick using a clock.. for example I want to create a tick every 0.1 sec using a 50 MHz clock. The book I am following simply states that to generate this tick create a counter that will count to 5000000.. and once it reaches that value its 0.1 sec. However it does not explain how such a calculation (assumption) was made.. I want to know how this number is found.. such that if I want to create a 1 sec tick or 0.01 sec tick how do I calculate it? Thanks a lot.