A counter is a circuit that counts the number of occurrences of an input. The circuit consists of flip-flops which along with combinational elements are used for generation of control signals.
If M = Total number of states, and n = Total number of flip-flop Then, M <= 2n If M = 2n ; Binary counter and M < 2n ; Non-binary counter
Block Diagram of Non-Binary Counter: Here is the block diagram of a mod-10 counter. Here, the total number of flip-flops required is 4 thus the number of used state is 10 and number of unused state is 6.
- If CLR is present and CLK is connected with output Q, then we use AND gate.
- If CLR is present and CLK is connected with output Q’, then we use NOR gate.
- If complement of CLR is present and CLK is connected with output Q, then we use NAND gate.
- If complement of CLR is present and CLK is connected with output Q’, then we use OR gate.
Truth Table:
= f / M
If there is no feedback present at last output (i.e D) then the output frequency,
= f / (2n)