Difficulty: Medium
Correct Answer: 8
Explanation:
Introduction / Context:
When a shift register lacks a dedicated clear pin, designers sometimes “clear” it by clocking in zeros until all stages are overwritten. Knowing exactly how many cycles are needed ensures predictable recovery from unknown states and clean start-up sequences.
Given Data / Assumptions:
Concept / Approach:
Each clock advances the serial input bit one stage deeper into the register. After k clocks, the injected bit resides at stage k. Therefore, to reach stage 8 (QH), the bit must traverse 8 stages and thus needs 8 clock cycles from the moment of injection.
Step-by-Step Solution:
Verification / Alternative check:
General rule: to push a known bit from the input to stage n, apply exactly n clocks. Simulation waveforms of standard 8-bit SIPO devices validate this propagation behavior.
Why Other Options Are Wrong:
Common Pitfalls:
Counting from zero instead of one; confusing stage index with tap label; overlooking pipeline latency when back-to-back zeros are clocked in.
Final Answer:
8
Discussion & Comments