Difficulty: Easy
Correct Answer: all of the above
Explanation:
Introduction / Context:
Flip-flops often include asynchronous control inputs such as preset (PRE/SET) and clear (CLR/RESET). These inputs override the synchronous data path and are essential for initialization, fault recovery, and forcing known states. Understanding their priority and timing relative to the clock is fundamental for robust sequential design.
Given Data / Assumptions:
Concept / Approach:
Asynchronous inputs act immediately when asserted, independent of the clock. They also have higher priority than synchronous inputs (J and K), ensuring that when PRE or CLR is asserted, the output goes to the prescribed state regardless of upcoming clock edges. Good practice avoids asserting both active levels simultaneously, which could produce an invalid or unpredictable state.
Step-by-Step Solution:
Verification / Alternative check:
Datasheet truth tables show that asserting PRE or CLR immediately drives Q, and notes warn against simultaneous activation. Timing diagrams confirm no clock is required for their effect.
Why Other Options Are Wrong:
Common Pitfalls:
Tying PRE and CLR together; forgetting they are often active-low; violating recovery/removal times, which can cause unpredictable behavior when releasing asynchronous signals near clock edges.
Final Answer:
all of the above
Discussion & Comments