Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Why do we need setup and hold time?

  1. May 17, 2012 #1
    Why do we need set up and hold time in Flipflops?
     
  2. jcsd
  3. May 17, 2012 #2
    After you apply the input signal it takes some time to charge/discharge the input capacitors. Before that the input nodes will have wrong voltages. Thus set-up time is required to fully prepare the input for sampling.

    Flip-flops are bistable devices. However to switch the state you need to drive the gate for a finite time. If your input is short, the output will revert back to the original state. Thus we need hold time to successfully switch the state.
     
  4. May 22, 2012 #3
    I looked up datasheets of flipflops with same input capacitance but of different family (HC and AC).
    The max clock frequency and hence the set up time are different.
    74HC73 and 74AC109. Both have 10pf input capacitance for data line. But setup times are different.

    The input capacitance sound good when you think of cmos gates. But it's not the same with TTL gates.
     
  5. May 22, 2012 #4
    its not just capacitance at the input, but the internal capacitors of the intergrated circuit need time to work too
     
  6. May 22, 2012 #5
    You need certain minimum/maximum voltages at certain internal input nodes (gate node etc.) on the chip at the moment of application of clock. Even if you don't meet that criteria your output will still try to change but before it reaches the desired value it will revert and go back to the initial value. When you have met those criteria you are sure to get the desired output no matter what happens at intermediate time.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Why do we need setup and hold time?
Loading...