Set-up time in digital circuits

Click For Summary

Discussion Overview

The discussion revolves around the concept of setup time in digital circuits, particularly its relationship with clock signals and input stability. Participants explore the implications of setup time on circuit performance and the factors influencing it, including clock rise time and internal gate characteristics.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants assert that inputs must be stable before a clock transition to ensure the correct value is read, avoiding errors from transitional states.
  • There is a suggestion that the requirement for stability for a certain duration before the clock may stem from internal arrangements and propagation characteristics of the circuit.
  • One participant shares a personal experience of a circuit that functioned in simulation but failed in practice when using the same signal for clock and data, indicating a need for clock delay.
  • Another participant argues that setup time is not generally related to clock rise time, emphasizing that gates change state at a specific trigger voltage regardless of how quickly that voltage is reached.
  • The setup time is described as necessary for charging the capacitance of transistors within the gate, and it is noted that some gates can be designed to have zero setup time.

Areas of Agreement / Disagreement

Participants express differing views on the relationship between setup time and clock rise time, with some asserting a connection while others contest this idea. The discussion remains unresolved regarding the exact nature of these relationships.

Contextual Notes

There are unresolved aspects regarding the assumptions made about internal gate behavior and the specific conditions under which setup time is defined. The discussion also highlights the potential variability in circuit performance based on design choices.

likephysics
Messages
638
Reaction score
4
Why should the input in any logic be present before the clock?
Is the setup time related to clock rise time?
 
Engineering news on Phys.org
Precisely. You want the inputs to be stable before a clock transition in order to ensure that you're reading the right value, and not the previous value, or possibly even worse, some transition value between the two. Why do they say that a value should be stable for X nanoseconds before the clock? Probably because of how things are arranged internally and how they propagate. That or they ran some tests and that was the minimum value that did not result in errors.
 
MATLABdude said:
Precisely. You want the inputs to be stable before a clock transition in order to ensure that you're reading the right value, and not the previous value, or possibly even worse, some transition value between the two. Why do they say that a value should be stable for X nanoseconds before the clock? Probably because of how things are arranged internally and how they propagate. That or they ran some tests and that was the minimum value that did not result in errors.

ok. thanks. A year ago, I was trying to use the same signal for clock and data in, it worked in simulator but did not work in the ckt. I had to delay the clock.

The rise time at the data in and the clock must be different. If they are same, my ckt should have worked.
 
It's actually not generally related to the clock rise time, because gates are designed to very rapidly change state at a specific trigger voltage. Whether you arrive at that voltage quickly or slowly, the change in state happens with the same quickness.

The setup time is for charging the capacitance of the transistors inside the gate. Even after maximal voltage has been attained at the gate's input, the transistor gates, junction capacitances, etc. within still must be charged. The amount of time needed to guarantee that the gate reacts properly is called the setup time.

Quite often, gates can be specifically designed to have zero setup time.

- Warren
 

Similar threads

Replies
16
Views
2K
  • · Replies 26 ·
Replies
26
Views
4K
Replies
29
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
17
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K