ELEC 7770 Advanced VLSI Design Spring 2012 Clock Skew Problem

Slides:



Advertisements
Similar presentations
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Advertisements

1 COMP541 Flip-Flop Timing Montek Singh Oct 6, 2014.
10/4-6/05ELEC / Lecture 111 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Spring 08, Mar 11 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Zero - Skew Clock Routing Vishwani D. Agrawal.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.
Spring 07, Apr 10, 12 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Constraint Graph and Performance Optimization.
Spring 07, Feb 13 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Binary Decision Diagrams Vishwani D. Agrawal James.
11/17/05ELEC / Lecture 201 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Fall 2006, Oct. 31, Nov. 2 ELEC / Lecture 10 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis:
Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
EE141 © Digital Integrated Circuits 2nd Timing Issues 1 Latch-based Design.
Spring 08, Jan 31.. ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Timing Simulation and STA Vishwani D. Agrawal.
Spring 07, Feb 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Logic Equivalence Vishwani D. Agrawal James J.
Spring 08, Feb 28 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Retiming Vishwani D. Agrawal James J. Danaher.
Fall 2006, Nov. 30 ELEC / Lecture 12 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Test Power Vishwani D.
Spring 07, Jan 23 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Moore’s Law Vishwani D. Agrawal James J. Danaher.
Vishwani D. Agrawal James J. Danaher Professor
9/29/05ELEC / Lecture 101 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Fall 2006, Oct. 17 ELEC / Lecture 9 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis: Logic Level.
Spring 07, Mar 20 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 A Linear Programming Solution to Clock Constraint.
Spring 07, Apr 5 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Retiming Vishwani D. Agrawal James J. Danaher Professor.
Spring 07, Mar 1, 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Simulation and STA Vishwani D. Agrawal.
Spring 08, Feb 26 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Clock Skew Problem Vishwani D. Agrawal James J.
Spring 07, Jan 30 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 SOC Test Scheduling Vishwani D. Agrawal James.
Spring 2010, Feb 10...ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2010 Constraint Graph and Retiming Solution Vishwani.
ELEC 7770 Advanced VLSI Design Spring 2014 Timing Simulation and STA Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University,
Spring 2014, Feb 14...ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2014 Constraint Graph and Retiming Solution Vishwani.
Spring 2014, Mar 17...ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2014 Zero - Skew Clock Routing Vishwani D. Agrawal.
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
Digital Integrated Circuits A Design Perspective
ELEC 7770 Advanced VLSI Design Spring Gate Delay and Circuit Timing
Chapter #6: Sequential Logic Design
Vishwani D. Agrawal James J. Danaher Professor
Sequential circuit design with metastability
Prof. Hsien-Hsin Sean Lee
Flip Flops.
Overview Part 1 – The Design Space
James D. Z. Ma Department of Electrical and Computer Engineering
Introduction to Sequential Logic Design
Digital Logic Design Sequential Circuits (Chapter 6)
ELEC 7770 Advanced VLSI Design Spring 2016 Clock Skew Problem
ELEC 7770 Advanced VLSI Design Spring 2016 Zero-Skew Clock Routing
Elec 2607 Digital Switching Circuits
ELEC 7770 Advanced VLSI Design Spring 2014 Clock Skew Problem
COMP541 Flip-Flop Timing Montek Singh Feb 23, 2010.
Introduction to Static Timing Analysis:
Timing Analysis 11/21/2018.
ELEC 7770 Advanced VLSI Design Spring 2012 Retiming
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Vishwani D. Agrawal James J. Danaher Professor
Topics Performance analysis..
ELEC 7770 Advanced VLSI Design Spring 2010 Interconnects and Crosstalk
Vishwani D. Agrawal James J. Danaher Professor
ELEC 7770 Advanced VLSI Design Spring 2014 Technology Mapping
Vishwani D. Agrawal James J. Danaher Professor
Vishwani D. Agrawal James J. Danaher Professor
VLSI Testing Lecture 9: Delay Test
ECE 352 Digital System Fundamentals
Flip Flops Unit-4.
ELEC 7770 Advanced VLSI Design Spring 2016 Retiming
VLSI Testing Lecture 4: Testability Analysis
COMP541 Sequential Logic Timing
Timing Analysis and Optimization of Sequential Circuits
VLSI Testing Lecture 13: DFT and Scan
ELEC 7770 Advanced VLSI Design Spring 2012 Timing Simulation and STA
SEQUENTIAL CIRCUITS __________________________________________________
ELEC 7770 Advanced VLSI Design Spring 2012 Gate Sizing
ELEC 7770 Advanced VLSI Design Spring 2010 Zero-Skew Clock Routing
Lecture 3: Timing & Sequential Circuits
Presentation transcript:

ELEC 7770 Advanced VLSI Design Spring 2012 Clock Skew Problem Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University Auburn, AL 36849 vagrawal@eng.auburn.edu http://www.eng.auburn.edu/~vagrawal/COURSE/E7770_Spr12/course.html Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Single Clock FF A Comb. FF B Data_in Data_out CKA CKB CK CKA CKB Single-cycle path delay Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Multiple Clocks FF A Comb. FF B Data_in Data_out CKA CKB CKA CKB Multi-cycle path delay Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Clock Skew Skew is the time delay of clock signal at a flip-flop with respect to some time reference. For a given layout each flip-flop has a skew, measured with respect to a common reference. Skews of flip-flops separated by combinational paths affect the short-path and long-path constraints. Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Skews for Single-Cycle Paths Combinational Block Delay: FFi CKi FFj CKj δ(i,j) ≤ d(i,j) ≤ Δ(i,j) xi xj xi and xj are arrival times of clock edges Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Delay Latch or D-Latch SR-latch D CK Q Q Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Setup and Hold Times of Latch Signals are synchronized with respect to clock (CK). Operation is level-sensitive: CK = 1 allows data (D) to pass through CK = 0 holds the value of Q, ignores data (D) Setup time is the interval before the clock transition during which data (D) should be stable (not change). This will avoid any possible race condition. Hold time is the interval after the clock transition during which data should not change. This will avoid data from latching incorrectly. Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Latch Inputs tp 1 D time Ts Th 1 CK time Tr Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Master-Slave D-Flip-Flop Master latch Slave latch D CK Q Q Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Master-Slave D-Flip-Flop Uses two level-sensitive clocked D-latches. Transfers data (D) with one clock period delay. Operation is edge-triggered: Negative edge-triggered, CK = 1→0, Q = D (previous slide) Positive edge-triggered, CK = 0→1, Q = D Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Negative-Edge Triggered D-Flip-Flop Clock period, Tck Slave open Master closed Master open Slave closed CK D Triggering clock edge Hold time Th Setup time Ts Data stable Data can change Data can change Time Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Skews for Single-Cycle Paths Combinational Block Delay: FFi CKi FFj CKj δ(i,j) ≤ d(i,j) ≤ Δ(i,j) xi xj xi and xj are arrival times of clock edges Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Short-Path Constraint (Double-Clocking) Tck CKi si intended Not intended CKj Thj sj δ(i,j) si + δ(i,j) ≥ sj + Thj Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Long-Path Constraint (Zero-Clocking) Tck CKi si Not intended intended CKj sj Tsj Δ(i,j) si + Δ(i,j) ≤ sj + Tck – Tsj Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Maximum Clock Frequency Linear program: Objective function, Minimize Tck Subject to constraints, for all flip-flop pairs (i,j), (1) si + δ(i,j) ≥ sj + Thj short path (2) si + Δ(i,j) ≤ sj + Tck – Tsj long path Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Effects of Constraints Short path: Independent of clock δ(i,j) ≥ sj – si + Thj Long path: Tck ≥ si – sj + Δ(i,j) + Tsj Example: Shift register, δ(i,j) ≈ Δ(i,j) ≈ 0 si – sj ≥ Thj > 0 si > sj for correct operation Tck ≥ si – sj + Tsj sj > si for maximum speed Clock routed opposite to data Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Shift Register Example Delay ≈ 0 Delay ≈ 0 FFi FFj FFk Delay = si sj sk CK Ri Rj Rk Ci Cj Ck si – sj ≥ Thj for correct operation Tck ≥ si – sj + Tsj for correct operation Maximum clock speed, Tck = Thj + Tsj Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Finding Clock Skews sk FFi FFj FFk si CK Ri Rj Rk Ci Cj Ck sj Use Elmore delay formula to calculate si, sj, sk. Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Interconnect Delay: Elmore Delay Model W. Elmore, “The Transient Response of Damped Linear Networks with Particular Regard to Wideband Amplifiers,” J. Appl. Phys., vol. 19, no.1, pp. 55-63, Jan. 1948. Ri i Rj j Rk k CK Ci Shared resistance: Rii = Ri Rij = Rji = Ri Rik = Rki = Ri Rjj = Ri + Rj Rjk = Rkj = Ri + Rj Rkk = Ri + Rj + Rk Cj Ck Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Elmore Delay Calculation Delay at nodes, sk = 0.69 (Ci × Rik + Cj × Rjk + Ck × Rkk ) = 0.69 [Ri Ci + (Ri + Rj) Cj + (Ri + Rj + Rk)Ck] sj = 0.69 [Ri Ci + (Ri + Rj) (Cj + Ck)] si = 0.69 [Ri (Ci + Cj + Ck)] Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Example 1Ω i 1Ω j 1Ω k CK 1pF 1pF 1pF si = 0.69 × 3 ps sj = 0.69 × 5 ps sk = 0.69 × 6 ps Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Finding δ(I,j) and Δ(I,j) Minimum delay Maximum delay , - A 1 , - H 3 9, 10 j , - 0, 0 B 3 3, 3 4, 4 i E 1 G 2 6, 7 , - C 1 , - J 1 6, 8 F 1 k , - 5, 5 D 2 , - Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Maximum Clock Frequency for Tolerance ±q/2 in Skew Linear program: Minimize Tck Subject to: For all flip-flop pairs (i,j), si + δ(i,j) ≥ sj + Thj + q si + Δ(i,j) ≤ sj + Tck – Tsj – q Where q is a constant si are variables, simin ≤ si Tck is a variable Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

Maximum Tolerance for Given Clock Frequency Linear program: Maximize q Subject to: For all flip-flop pairs (i,j), si + δ(i,j) ≥ sj + Thj + q si + Δ(i,j) ≤ sj + Tck – Tsj – q Where Tck is a constant si are variables, simin ≤ si q is a variable Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Tradeoffs No solution because of zero slack. Increasing skew tolerance q Increasing clock period Tck Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)

ELEC 7770: Advanced VLSI Design (Agrawal) Clock Skew Problem N. Maheshwari and S. S. Sapatnekar, Timing Analysis and Optimization of Sequential Circuits, Springer, 1999. J. P. Fishburn, “Clock Skew Optimization,” IEEE Trans. Computers, vol. 39, no. 7, pp. 945-951, July 1990. Spring 2012, Feb 22 . . . ELEC 7770: Advanced VLSI Design (Agrawal)