Forum Discussion
Altera_Forum
Honored Contributor
12 years agoif I understood you.
you want to divide 100MHz clock into 3MHz. accumulate 3 modulo 100 i.e: 0+3 3+3 6+3 ... 96+3 99+3 => 2 2+3 5+3 ... watch count value if < 50 then output '0' else output '1' This division is fractional and corrects itself on average