0% found this document useful (0 votes)
22 views15 pages

Understanding Delay Types in Circuit Design

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views15 pages

Understanding Delay Types in Circuit Design

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Scan assignment -2

Topics
• Different kind of delay present in design
• Cell awareness delay
• Small delay defect (SSD)
• How scan works to identify stuck at faults
• IDDQ lekage concept

Answers
Entrinsic delay is the internal delay of a logic cell (like an inverter,
AND gate, etc.) when no external load is connected to its output.

Gate delay or Cell delay or Propagation delay.


➤Time required in transmission of signal through the gate.
➤Signal transmission is not instantaneous and there is finite time gap between the
signal applied at the I/P of the gate and response of that input found at O/P of the
gate.

➤Propagation delay for rising and falling edge are not same.

➤The propagation delay (tp) is defined as the average of tpLH, tpHL

➤ tp= tpLH + tpHL


• tpLH = response time of the gate for a low to high output transition while
input switching from high to low.
• tpHL = response time of the gate for a high to low output transition while
input switching from low to high.
• The delay is usually calculated at 50% point of input-output switching.
• tr = Rise time = time it takes for the leading edge of a pulse to rise from its
minimum to its maximum [Link] time is typically measured from 10% to
90% _of the value.
• tf = fall time = time it takes for the falling edge of a pulse to rise from its
maximum to its minimum value. fall time is typically measured from 10% to
90% _of the value.

Interconnect delay
Extrinsic delay is the part of the total delay that occurs due to external factors outside
the logic cell, such as:
• Load capacitance (e.g., from fan-out)
• Interconnects/wires between cells
• Parasitics from routing(extra layout)
• Neighboring cell effects(net)
➢ A net delay is an extrinsic delay
➢ Net Delay = Wire Delay + Load Delay

1️⃣ Wire Delay (a.k.a. RC Delay)


• This delay occurs within the metal wires (routes).
• It depends on:
o R = Resistance of the wire
o C = Capacitance of the wire
• Known as RC delay or Elmore delay.
• Increases with longer wire length, narrower width, and congestion.

Example: A long wire from one gate to another has resistance and picks up
capacitance from nearby wires → signal travels slower.

2️⃣ Load Delay (a.k.a. Fan-out Delay)


• Caused by the capacitance of the gates connected at the end of a net.
• More gates connected (fan-out) = higher load = longer delay.

Example: One driver gate is connected to 4 receiver gates → driver takes more time
to charge/discharge all input capacitors → delay increases.

3️⃣ Parasitic Delay (or Parasitic Effects)


• Parasitic means unintended resistance, capacitance, and sometimes inductance in
wires and cells.
• These effects are not part of the ideal logic design, but are introduced during
physical layout.
• Parasitics are extracted after routing (via RC extraction) and used for post-layout
timing analysis.

Path delay
What is Path Delay?
A path delay is the total time it takes for a signal to travel from one starting point (input) to
a destination (output) in a circuit, usually through combinational logic and interconnects.

Types of Path Delay:

1️⃣ Minimum Path Delay (Shortest Path)


• This is the fastest path a signal can take.
• Used to check hold time violations.
• If it's too fast, data might get captured too early (before it's stable).

Used in: Hold time analysis

Formula:
mathematica
CopyEdit
Min Path Delay = Smallest (Cell Delay + Net Delay) across all paths

2️⃣ Maximum Path Delay (Critical Path)


• This is the slowest (longest) path from input to output.
• It determines the maximum clock frequency of the circuit.
• If this delay is too high, data won’t arrive in time → setup violation.

Used in: Setup time analysis

Formula:
mathematica
CopyEdit
Critical Path Delay = Largest (Cell Delay + Net Delay) across all paths

3️⃣ Pin-to-Pin Delay


• Delay between a specific input pin and a specific output pin of a logic gate or block.
• It's usually provided in timing libraries for synthesis and STA.

It includes:
• Intrinsic delay
• Load-dependent delay (extrinsic)
• Sometimes routing delay (post-layout)

Formula:
pgsql
CopyEdit
Pin-to-Pin Delay = Intrinsic Delay + Slope × Load Capacitance
Overall Timing Path Delay Formula
For a complete timing path, like from a flip-flop to flip-flop, the total delay is:

Formula:
pgsql
CopyEdit
Path Delay = ∑ (Cell Delay + Net Delay) from startpoint to endpoint
Where:
• Cell Delay = delay of each gate in the path
• Net Delay = delay due to routing and loading between gates

Simple Example
Imagine a path:
FF1 → AND gate → OR gate → FF2
Let’s say:
• AND gate delay = 0.5 ns
• OR gate delay = 0.4 ns
• Net delay between FF1 and AND = 0.2 ns
• Net delay between AND and OR = 0.3 ns
• Net delay between OR and FF2 = 0.2 ns
Then:
Total Path Delay =
= 0.2 (net1) + 0.5 (AND) + 0.3 (net2) + 0.4 (OR) + 0.2 (net3)
= 1️.6 ns
Clock latency/ delay

➤ Clock Latency / Clock Insertion Delay:


Defined as the amount of time taken by the clock signal in traveling from its source to the
sinks.

➤ Clock latency comprises of two components:


1. Clock Source Latency
2. Clock Network Latency

➤ Clock latency = Source latency + Network latency

➤ Clock Source Latency / Source Insertion Delay:


Defined as the time taken by the clock signal to reach the clock definition point from clock
source (PLL/Oscillator/some other source).
Also known as Source Insertion Delay.

➤ Clock Network Latency / Network Insertion Delay:


Defined as the time taken by the clock signal in traversing from clock definition point to the
sinks of the clock.
Pre-CTS and Post-CTS Late

• Pre-CTS Latency refers to the delay in the clock signal before the Clock Tree Synthesis
stage. This can be caused by the initial routing of the clock signal, including any
delays in the source (like the clock buffer or the primary clock source). It measures
the time the clock takes to propagate before the clock tree is built.
• Post-CTS Latency refers to the delay in the clock signal after the Clock Tree Synthesis
is completed. This latency is associated with the delays incurred by the clock routing
after the clock tree has been synthesized and the clock signal is routed to the flip-
flops and other sequential elements in the design.
CTS is crucial because it directly impacts the clock skew (the difference in arrival time of the
clock signal at different flip-flops), which in turn affects the overall timing of the chip. The
goal is to minimize both pre-CTS and post-CTS latency to ensure that the clock reaches all
parts of the chip in a controlled and timely manner.
Note WHY CTS(clock tree synthesis)
Clock Tree Synthesis (CTS) is needed to ensure the clock signal is evenly distributed across
the entire chip, so all sequential elements (like flip-flops) receive the clock at the correct
time. It minimizes clock skew (differences in arrival time), ensuring synchronized operation
and preventing timing errors. Without CTS, the chip could malfunction due to improper
timing between components.
Jitter
Clock Jitter is defined as the deviation of a clock edge from its ideal position in time.
➤ Clock jitter is uncertainty in the clock edge.
➤ The cause may be noise, a fluctuating power source, or interference from nearby
circuits.
➤ Jitter can occur in both direction, positive and negetive.
➤ Can be modeled by adding uncertainty regions around the rising and falling edges
of the clock waveform.
➤ Clock jitter can be cycle-to-cycle, period jitter, long term jitter.
Transistion delay
Signal Transition Time and Propagation Delay

➤ Transition time is the time taken to change the state of a signal.


➤ It refers to the time taken for the signal to switch from logic 0 to 1 or from 1 to 0.
➤ It is expressed as the rate of change of logic level during a transition.
➤ Also termed as Slew, and is measured in volt/ns.
➤ Rise time is defined as the time taken for a signal to rise from low threshold
voltage to high threshold voltage.
➤ Fall time is defined as the time taken for a signal to fall from high threshold
voltage to low threshold voltage.
➤ Both rise and fall times are measured in either absolute value or percentage.
➤ Low and high thresholds are fixed voltage levels, usually defined around the mid-
voltage level.
➤ Typical threshold voltages used are 1️0% and 90%, or alternatively 2️0% and 80%.

Difference and Relation Between Transition Time and Propagation Delay

➤ Transition Time (Rise/Fall Time): Time taken for a signal to move between
threshold levels (e.g., from 10% to 90% of Vmax). It shows the steepness of the signal
edge.
➤ Propagation Delay: Time taken for a signal change at the input to reflect at the
output, usually measured at the 50% voltage level.
➤ Relation: If the transition is slow (high slew), it delays the output's response,
increasing propagation delay.
➤ This connection is visible in the diagram, where slower input transition affects the
output timing.
Delays Under Timing Check

➤ 1️. Input Delay


• Input delay is the time taken by a signal to arrive at a register (flip-flop) from the
external input port.
• It is measured from the external clock edge to the time the signal becomes stable at
the input pin of the register.
• It is modeled as a delay between the input port and the register D-input.
• Input delay is important in setup and hold checks at the first register stage.

➤ 2️. Output Delay


• Output delay is the time taken for a signal to propagate from the output of a
register to the external output port.
• It is measured from the clock edge to the time the signal appears at the output port.
• This delay includes the clock-to-Q delay and logic delay in the path.
• Used for timing analysis of register-to-output paths.

➤ 3️. Setup Time


• Setup time is the minimum time before the active clock edge that the data must be
stable at the D-input of a flip-flop.
• If data changes during the setup window, the flip-flop may enter a metastable state
or capture wrong data.
• Setup time violation leads to functional errors or incorrect data capture.
➤ 4. Hold Time
• Hold time is the minimum time the data must remain stable after the clock
edge to ensure correct latching.
• If data changes too soon after the clock edge, it can result in hold violation
and incorrect latching.
• Setup and hold times together define the valid data window for capturing.

➤ 5. Clock-to-Q Delay
• Clock-to-Q delay is the time taken by a flip-flop to reflect a change at its Q
output after the active clock edge.
• It is an internal delay of the flip-flop and depends on load and technology.
• This delay is used as the starting point for data propagation in timing analysis.

➤ 6. Register-to-Register Delay
• This is the total time taken for data to travel from one flip-flop to another.
• It includes:
o Clock-to-Q delay of the launching register
o Combinational logic delay in the path
o Setup time requirement of the receiving register
• The clock period must be greater than or equal to this total delay to avoid
setup violations.
External Asynchronous Delay (General Explanation)
• External asynchronous delay happens when a signal comes from outside the
system and is not synchronized with the system clock.
Because its timing is uncertain and random, it can't be checked like regular
(synchronous) signals.
This delay can cause metastability issues, so we use special circuits like flip-
flop synchronizers to safely bring it into the clock domain.
It's not defined by fixed time but treated with uncertainty in timing analysis
tools.
SDD (small delay defect)
In modern VLSI (Very Large Scale Integration) design, as technology nodes shrink to
nanometer scales, defects that cause minor delays in signal propagation have become
increasingly important. These defects are referred to as Small Delay Defects (SDDs).
Unlike gross defects that result in logical failures or stuck-at faults, SDDs cause only a
slight delay in the circuit’s operation, which might not immediately lead to a functional
failure under normal conditions. However, under high-speed or worst-case conditions,
these delays can accumulate or exceed timing margins, resulting in setup or hold time
violations and ultimately functional errors in the chip.
An SDD is typically caused by very subtle manufacturing imperfections—such as
marginal shorts, resistive opens, process variations, or contamination at vias or
interconnects. These small physical defects don’t always create permanent logic errors
but can delay the signal enough to create timing issues. Detecting such defects requires
more than just traditional stuck-at fault testing. It involves testing the circuit’s ability
to operate at its intended speed, which is why delay testing techniques such as
transition fault testing and path delay testing are used.
One of the major challenges in detecting SDDs is that their effect is not always visible
in functional tests or low-speed scan testing. They may only appear when the circuit is
switching fast and is close to the critical timing paths. Therefore, Advanced DFT (Design
for Test) methods such as launch-on-capture and launch-on-shift delay tests are
implemented to stimulate and capture delay faults under realistic operational speeds.
These methods help in identifying defects that affect the speed but not necessarily the
logic correctness.
To address SDDs effectively, statistical timing analysis, critical path identification, and
fault modeling are crucial during test pattern generation. Additionally, process-aware
testing and adaptive test strategies are increasingly being used, where the test
parameters are tuned based on process variations and environmental conditions. The
increasing significance of SDDs highlights the need for timing-aware design and test
methodologies to ensure chip reliability and yield.
In summary, Small Delay Defects are subtle but critical defects that impact the timing
behavior of VLSI circuits. They don't cause immediate logical errors but can degrade
system performance and cause failure under high-speed operations. Hence, their
detection and management are essential in today's high-frequency and low-margin
digital systems.

Common questions

Powered by AI

Clock jitter refers to the variance in the clock edge from its ideal timing position and can significantly affect a digital circuit's timing performance. It introduces uncertainty in the clock signal, potentially leading to timing errors when processes rely on exact clock cycles for data processing. Jitter can cause violations of setup and hold time requirements, leading to data corruption or functional errors. Potential causes of clock jitter include noise, power supply variations, and interference from neighboring circuits. Managing jitter is crucial in high-speed circuits where timing margins are tight, as it helps ensure the stability and reliability of circuit operations .

Input delay is the time taken for a signal to arrive at a register (flip-flop) from an external input, measured from the external clock edge to when the signal becomes stable at the input pin. Output delay is the time a signal takes to propagate from a register output to an external port, including the clock-to-Q delay and any logic delay in between. Both delays affect timing analysis by defining the time windows for correct data capture and transition within the circuit. Input delay is crucial for setup and hold checks at the first register stage, whereas output delay affects the analysis of signal propagation toward outputs. Proper timing analysis considers these delays to ensure data integrity and prevent timing violations .

Small Delay Defects (SDDs) are subtle defects in VLSI circuits that cause slight delays in signal propagation, unlike traditional stuck-at faults which result in permanent logical errors by fixing a circuit node permanently in either the high or low state. SDDs do not cause immediate logical errors but can degrade system performance under high-speed conditions, potentially leading to functional failures such as setup or hold time violations. Their subtlety and impact under specific operational conditions make them difficult to detect using traditional stuck-at fault testing. Therefore, advanced delay testing techniques such as launch-on-capture and launch-on-shift tests are necessary to stimulate and capture these faults under realistic operational speeds .

Clock Tree Synthesis (CTS) is a process in VLSI design that ensures the clock signal is evenly distributed across the chip, minimizing clock skew. Clock skew is the difference in arrival time of the clock signal at various flip-flops in a circuit. Without CTS, variations in the distribution of the clock signal could lead to significant timing errors, as different parts of the chip might operate asynchronously. By minimizing clock skew, CTS ensures that all sequential elements receive the clock signal at nearly the same time, which is crucial for synchronized operation and preventing timing errors. This uniformity is essential to the chip's functionality, as it helps avoid data setup and hold violations during operation .

Path delay analysis is crucial in circuit design to ensure reliable operation across different operating conditions. Minimum path delay, or shortest path, is used to check hold time violations by analyzing the fastest path a signal can take. If a path is too fast, it can cause data to be captured prematurely, leading to incorrect data processing. Maximum path delay, or critical path, determines the slowest path from input to output, crucial for setup time analysis, as it dictates the maximum clock frequency of the circuit. If the delay along any path exceeds the acceptable limits, it can cause setup violations where data arrival is too late to be captured correctly. Together, these analyses help ensure the correct timing of data throughout the circuit, preventing errors and enhancing reliability .

Intrinsic delay, also known as cell delay or gate delay, refers to the time required for a signal to be transmitted through an individual logic gate when no external load is connected to its output. This includes the time taken for internal signal processing within the gate, such as switching between logical states. Extrinsic delay, on the other hand, is associated with factors external to the logic cell, such as load capacitance (due to fan-out), interconnect or wire delay, and parasitic effects from routing and neighboring cells. It is these extrinsic effects that usually comprise the majority of the total signal propagation delay, as they include both the RC delay of wires and the delay caused by load capacitances connected to a net. Together, intrinsic and extrinsic delays determine the total time it takes for a signal to travel from the gate output to the next input along a path .

Transition time, or signal slew, refers to the time taken for a signal to change state between logic levels (i.e., from low to high or high to low). It plays a significant role in determining propagation delay, which is the time a signal takes to travel through a gate from input to output. Transition time affects propagation delay because a slow transition (high slew rate) increases the time it takes for the output to reflect the input change, thus increasing the overall delay. This interdependence highlights the importance of minimizing the transition time for optimal timing performance; slow transitions can lead to increased delays and potentially affect the timing accuracy of other circuit paths .

IDDQ leakage detection involves measuring the quiescent (standby) current in a circuit to identify stuck-at faults. In normal operation, a correctly functioning circuit consumes minimal current when idle. If a stuck-at fault is present, such as a node being permanently stuck at a logical '1' or '0', the faulty circuit consumes an abnormally high current even when not actively switching, which can be detected with IDDQ testing. This method is particularly relevant in modern VLSI design because it provides a powerful and efficient way to detect faults that might not be otherwise visible through logic tests, thereby enhancing the reliability and quality control of advanced circuits .

Interconnect delay, primarily caused by the resistance and capacitance (RC delay) of metal wires, increases with the length and congestion of wiring in high-speed VLSI design. This delay can significantly impact circuit performance, leading to slower signal travel across a chip. As technology scales down, interconnects become thinner and longer, exacerbating this issue. To mitigate its impact, various strategies are employed, including optimizing routing algorithms to shorten metal wires, using advanced materials with better conductivity, and employing buffer insertion to break long interconnect paths into shorter segments. Additionally, techniques like RC extraction are used to accurately model these delays during post-layout timing analysis .

Clock source latency, or source insertion delay, is the time taken for the clock signal to reach the clock definition point from its source, such as a PLL or oscillator. Clock network latency, or network insertion delay, refers to the time taken for the clock signal to travel from the clock definition point to the various sinks of the clock, such as flip-flops or other sequential elements. Both are crucial components of clock insertion delay, which impacts the timing performance of a circuit by affecting how simultaneous and synchronized the clock signal is across the entire chip. Properly assessing and minimizing both latencies ensure the clock signal's timely and even distribution, essential for synchronized operations .

You might also like