Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is ___________. (Answer in integer)
GATE CSE 2025Digital Logic › Sequential Circuits & CountersVerified
GATE CSE 2025 PYQ: Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some…
Answer
8
Approach
The circuit is a 4-bit Johnson (twisted-ring) counter formed by D flip-flops. Each clock shifts the bits and feeds back the complement of the last output. For any initial state that lies in the main cycle, the counter traverses exactly 8 distinct states before repeating. The question asks for the number of distinct states before returning to the initial state, which is the modulus of the counter, i.e., 8 (including the initial state).
The circuit is a 4-bit Johnson counter with 8 distinct states in its cycle. The standard interpretation of 'number of distinct states' in a counter is the modulus, which includes the initial state, so the answer is 8.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.