Logic circuits
Which correctly describes the setup time of a flip-flop?
- AThe minimum time data must be held after the clock edge
- BThe minimum time the data input must be stable before the clock edge
- CThe time from power-on until it starts operating
Show answer and explanation
Answer: B. The minimum time the data input must be stable before the clock edge
For a flip-flop to capture data correctly, the data must be stable for a certain time before the clock edge; this is the setup time. The time data must remain stable after the edge is the hold time. Violating either can cause malfunctions or unstable states.