Assignment 2
Assignment 2
Question 1: Write all the parameters that you know when you do timing
analysis like slack, WNS (Worst negative Slack), TNS (Total Negative
Slack), what is CDC (Clock Domain Crossings)?
1) Setup time:
• Setup time is the minimum amount of time the data signal should be
held steady before the clock edge so that the data is
processed/sampled by the clock successfully. This applies to
synchronous circuits such as the flip-flop.
• The time when input data is available and stable before the clock
pulse is applied is called Setup time.
2) Hold time:
• Hold time is the minimum amount of time the data signal should be
held steady after the clock event so that the data is reliably sampled.
This applies to synchronous circuits such as the flip-flop.
• The time after clock pulse where data input is held stable is called
hold time.
1|Page
3) Slack:
• It is difference between the desired arrival times and the actual arrival
time for a signal.
• Slack time determines if the design is working at the desired
frequency.
• Positive Slack indicates that the design is meeting the timing and
still it can be improved.
• Zero slack means that the design is critically working at the desired
frequency.
• Negative slack means, design has not achieved the specified
timings at the specified frequency.
• Slack must be positive always and negative slack indicates a violation
in timing.
4) Clock jitter:
2|Page
5) Clock Skew:
Positive skew:
Considering the above diagram, there are 2 flipflops FA and FB, which are
driven by 2 different clocks C1 and C2. The signal ‘A’ launched by the C1
clock domain and needs to be captured properly by the C2 clock domain.
Depending on the relationship between the two clocks, there could be
different types of problems in transferring data from the source clock to the
destination clock.
3|Page
Question 2: Setup violations and hold violations (how to do worst case
analysis) for it. arrival time, trace back method, required time, critical path
Required time:
• The time within which data is required to arrive at some internal node
of the design. Designers specify this value by setting constraints.
Arrival Time:
• The time in which data arrives at the internal node. It includes all the
net and logic delays in between the reference input point and the
destination node.
4|Page
Setup Slack:
Hold Slack:
The Negative value of Hold Slack means signal value propagates from one
register to next, too fast that it overrides the old value before that can be
detected by the corresponding active clock edge.
Critical path:
• This is a path between an input and output with maximum delay
• The critical path can be found using technique called traceback
method
5|Page
Question 3: Give main difference between static and dynamic timing
analysis, how is interface timing analysis critical, what is statistical timing
analysis, how glitches and clock skews affect timings?
Probability that false path is also Does not catch false paths as path
considered during this kind of is considered based in input test
analysis vectors
Faster compared to dynamic timing Slower compared to static timing
analysis analysis
6|Page
Statistical timing analysis:
In recent years, the increased variation in semiconductor devices and
interconnect has introduced several issues that cannot be handled by
traditional (deterministic) STA.
This has led to considerable research into statistical static timing
analysis, which replaces the normal deterministic timing of gates and
interconnects with probability distributions and gives a distribution of
possible circuit outcomes rather than a single outcome.
Consider the above D Flipflop which has inputs D and clock CLK. Output is
Q.
If there is some glitch in the clock (denoted by highlighted circle), the
flipflop will treat it as a real clock edge and latch the data to the output.
7|Page
However, if the pulse is too small, the data may not propagate properly to
output, and the flop may go metastable.
Clock Skew:
Positive skew:
8|Page
• Certain objectives in consideration for benchmarking are:
o Addressing layout designs for increased speed, minimized
clock skew
o Increased importance of performance parameters in IC design
o Transistor resizing, pin swapping, buffer insertion
o Clock signal distribution
9|Page
Benchmark results:
10 | P a g e