I am trying to understand counters. Can anyone of you clarify me about terms (Divide by N) and Modulo(N) used in counter? What exactly it means?
Asked
Active
Viewed 1.1k times
2
-
2Do you understand the structure of a digital counter? Do you understand flip-flops? If not, then go do research because any answer that works for you is too big to write here. Of course I'd like to think that your profile gave me some clue about your expertise but, as usual all I see is another mug-shot that means nothing. – Andy aka Dec 03 '15 at 23:40
-
Yes I do understand the structure of a digital counters and I guess Divide by N corresponds to frequency division. Means the output frequency of counter will be clock frequency/ N. Am I correct? – Ranjan Dec 03 '15 at 23:55
-
Do you have an understanding of modulo maths? – Andy aka Dec 04 '15 at 00:06
-
no I don't know about modulo maths – Ranjan Dec 04 '15 at 00:08
-
1modulo(n) = remainder when dividing by n. – Tom Carpenter Dec 04 '15 at 00:28
-
Hey this I know it's an operation of normal mathematics . – Ranjan Dec 04 '15 at 00:31
2 Answers
1
A Divide by N counter implies that it divides the input clock frequency by N ie; if you cascade four flip-flops then, the output of every stage is divided by 2, if you are taking the output from the 4th flip-flop, then its output frequency is clock frequency by 16 (2^4).
Example: take a look at the timing diagram of a 3bit counter
A modulo N counter does the same thing as above and is also used as an alternate definition which implies that the counter counts N states.
Example: If a MOD-10 counter counts 10 states ( 0000 - 1000 )

Ashik Anuvar
- 708
- 2
- 12
- 21