The number of unused states in a n-bit Johnson Counter is:
2n - 2n
A Johnson counter is a type of digital counter. It is a modified ring counter where the inverted output of the last flip-flop is fed back as the input to the first flip-flop. This creates a sequence of states. An n-bit Johnson counter uses n flip-flops.
In any digital system with n binary bits (like a counter made of n flip-flops), each bit can be either 0 or 1. The total number of unique combinations or states possible with n bits is given by $2^n$. This represents all the states that the flip-flops could potentially hold.
Unlike a standard binary counter that sequences through all $2^n$ states (or a simple ring counter that sequences through n states), an n-bit Johnson counter sequences through a specific set of states. It is also known as a 2n-bit counter because it cycles through exactly $2n$ unique states before repeating its sequence. These states follow a specific pattern where bits 'walk' through the counter, first as 0s and then as 1s.
For example, a 3-bit Johnson counter (n=3) cycles through $2 \times 3 = 6$ states:
A 4-bit Johnson counter (n=4) cycles through $2 \times 4 = 8$ states:
The number of unused states in an n-bit Johnson counter is the difference between the total possible states an n-bit system can have and the number of states the n-bit Johnson counter actually uses.
Total possible states = $2^n$
States used by n-bit Johnson counter = $2n$
Therefore, the number of unused states is calculated as:
Unused States = Total Possible States - States Used
Unused States = $2^n - 2n$
The formula for the number of unused states in an n-bit Johnson counter is $2^n - 2n$. This formula gives the count of states that are not part of the standard Johnson counter sequence.
Let's verify this formula with an example:
| Property | Description |
|---|---|
| Number of Flip-flops | n |
| Total Possible States | $2^n$ |
| Number of Used States (Sequence Length) | $2n$ |
| Number of Unused States | $2^n - 2n$ |
| Feedback | Inverted output of the last flip-flop fed to the input of the first. |
Counters are fundamental building blocks in digital electronics, used for sequencing, frequency division, and timing. Besides the Johnson counter, other types of counters include:
Understanding the state sequences of different counters like the Johnson counter is important for designing digital systems that require specific timing and control signals. Unused states are often avoided or handled specifically in circuit design to prevent unexpected behavior.
Depending on the counter, there are up to _________ modes available on high-speed counters.
If the registers have both shifts and parallel load capabilities, they are referred as _________.
The highest speed counter is
A Shift register in which the output of the last flip-flop is connected to the input of the first flip-flop
SAP-I has _______ T states, period during which register contents change