Q: What is short path timing effect?
A:
Short path effect is same as hold violation in clock skew.
Design techniques to minimize clock skew and minimize short path effect.
1. Add delay in data path:
Delays can be introduced in the data path to ensure that data arrives the destination FF in sync with the clock. Delays in data path can be introduced by adding buffers and/or inverters.
2. Clock reversing:
In this technique, clock is applied in reverse direction, clock reached the sink FF first and than to source FF. This ensures that the sink FF gates the input before the source changes its output.
3. Alternate Phase Clocking:
This is the most renowned method to avoid clock skew issues. There are two methods to implement this.
a. Clocking on alternate edge:
In this method, alternate registers are clocked on opposite edge of clock. This method gives a margin of one-half clock cycles.
b. Clock with two phases:
In this method, adjacent registers are alternately clocked on two different phases of same clock.
Saturday, November 13, 2010
Clock Skew
Q: Define clock skew, negative clock skew and positive clock skew.
A:
Clock Skew:
In circuit designs, clock skew (sometimes timing skew) is a phenomenon in synchronous circuits in which the clock signal (sent from the clock circuit) arrives at different components at different times. This can be caused by many different things, such as wire-interconnect length, temperature variations, variation in intermediate devices, capacitive coupling, material imperfections, and differences in input capacitance on the clock inputs of devices using the clock. As the clock rate of a circuit increases, timing becomes more critical and less variation can be tolerated if the circuit is to function properly.
Positive Clock Skew:
Positive skew occurs when the transmitting register receives the clock earlier than the receiving register.
Negative Clock Skew:
Negative skew occurs when the receiving register gets the clock earlier than the sending register.
Skew Violations:
Two kinds of violations can be caused by clock skew, hold violation, and setup violation.
1. Hold Violation:
The clock travels more slowly than the path from one register to another - allowing data to penetrate two registers in the same clock tick, or maybe destroying the integrity of the latched data. This is called a hold violation because the previous data is not held long enough at the destination flip-flop to be properly clocked through. Similar to short path problem.
2. Setup Violation:
If the destination flip-flop receives the clock tick earlier than the source flip-flop - the data signal has that much less time to reach the destination flip-flop before the next clock tick. If it fails to do so, a setup violation occurs, so-called because the new data was not set up and stable before the next clock tick arrived.
A hold violation is more serious than a setup violation because it cannot be fixed by increasing the clock period.
Clock skew impact on clock period determination:
Clocks period must be greater than or equal to sum of transmitting registers "Clock to Q" delay, "Max path delay", receiving registers setup time, and difference between "clock skew to source register and clock skew to destination register".

References:
1. http://en.wikipedia.org/wiki/Clock_skew
2. http://www.actel.com/documents/Clock_Skew_AN.pdf
A:
Clock Skew:
In circuit designs, clock skew (sometimes timing skew) is a phenomenon in synchronous circuits in which the clock signal (sent from the clock circuit) arrives at different components at different times. This can be caused by many different things, such as wire-interconnect length, temperature variations, variation in intermediate devices, capacitive coupling, material imperfections, and differences in input capacitance on the clock inputs of devices using the clock. As the clock rate of a circuit increases, timing becomes more critical and less variation can be tolerated if the circuit is to function properly.
Positive Clock Skew:
Positive skew occurs when the transmitting register receives the clock earlier than the receiving register.
Negative Clock Skew:
Negative skew occurs when the receiving register gets the clock earlier than the sending register.
Skew Violations:
Two kinds of violations can be caused by clock skew, hold violation, and setup violation.
1. Hold Violation:
The clock travels more slowly than the path from one register to another - allowing data to penetrate two registers in the same clock tick, or maybe destroying the integrity of the latched data. This is called a hold violation because the previous data is not held long enough at the destination flip-flop to be properly clocked through. Similar to short path problem.
2. Setup Violation:
If the destination flip-flop receives the clock tick earlier than the source flip-flop - the data signal has that much less time to reach the destination flip-flop before the next clock tick. If it fails to do so, a setup violation occurs, so-called because the new data was not set up and stable before the next clock tick arrived.
A hold violation is more serious than a setup violation because it cannot be fixed by increasing the clock period.
Clock skew impact on clock period determination:
Clocks period must be greater than or equal to sum of transmitting registers "Clock to Q" delay, "Max path delay", receiving registers setup time, and difference between "clock skew to source register and clock skew to destination register".

References:
1. http://en.wikipedia.org/wiki/Clock_skew
2. http://www.actel.com/documents/Clock_Skew_AN.pdf
Subscribe to:
Comments (Atom)