Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.

Slides:



Advertisements
Similar presentations
CS 140 Lecture 11 Sequential Networks: Timing and Retiming Professor CK Cheng CSE Dept. UC San Diego 1.
Advertisements

1 A latch is a pair of cross-coupled inverters –They can be NAND or NOR gates as shown –Consider their behavior (each step is one gate delay in time) –From.
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
1 COMP541 Flip-Flop Timing Montek Singh Oct 6, 2014.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n State assignment. n Power optimization of sequential machines. n Design validation.
Introduction to CMOS VLSI Design Sequential Circuits.
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Introduction to CMOS VLSI Design Sequential Circuits
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Memory elements. n Basics of sequential machines.
Lecture 11: Sequential Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 11: Sequential Circuits2 Outline  Sequencing  Sequencing Element Design.
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Clocking disciplines Flip-flops. Latches.
K-Maps, Timing Sequential Circuits: Latches & Flip-Flops Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier,
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics High-level synthesis. Architectures for low power. GALS design.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 17 - Sequential.
1 Lecture 28 Timing Analysis. 2 Overview °Circuits do not respond instantaneously to input changes °Predictable delay in transferring inputs to outputs.
Sequential Logic 1 clock data in may changestable data out (Q) stable Registers  Sample data using clock  Hold data between clock cycles  Computation.
1 Digital Design: State Machines Timing Behavior Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals.
Assume array size is 256 (mult: 4ns, add: 2ns)
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
ENGIN112 L28: Timing Analysis November 7, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 28 Timing Analysis.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Sequential machine implementation: –clocking. n Sequential machine design.
EE141 © Digital Integrated Circuits 2nd Timing Issues 1 Latch-based Design.
Sequential Logic 1  Combinational logic:  Compute a function all at one time  Fast/expensive  e.g. combinational multiplier  Sequential logic:  Compute.
Timing in Sequential circuits – Stabilization time of a latch Assume that: t hl,1 = t lh,1 = t hl,2 = t lh,2 = 1 time unit 1 2.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n State assignment. n Power optimization of sequential machines. n Design validation.
11/15/2004EE 42 fall 2004 lecture 321 Lecture #32 Registers, counters etc. Last lecture: –Digital circuits with feedback –Clocks –Flip-Flops This Lecture:
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
Introduction to CMOS VLSI Design Lecture 10: Sequential Circuits Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
Digital System Clocking: High-Performance and Low-Power Aspects Vojin G. Oklobdzija, Vladimir M. Stojanovic, Dejan M. Markovic, Nikola M. Nedovic Wiley-Interscience.
1 CSE370, Lecture 16 Lecture 19 u Logistics n HW5 is due today (full credit today, 20% off Monday 10:29am, Solutions up Monday 10:30am) n HW6 is due Wednesday.
DELAY INSERTION METHOD IN CLOCK SKEW SCHEDULING BARIS TASKIN and IVAN S. KOURTEV ISPD 2005 High Performance Integrated Circuit Design Lab. Department of.
Lecture 5. Sequential Logic 3 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction.
EEE2243 Digital System Design Chapter 7: Advanced Design Considerations by Muhazam Mustapha, extracted from Intel Training Slides, April 2012.
Digital System Clocking: High-Performance and Low-Power Aspects Vojin G. Oklobdzija, Vladimir M. Stojanovic, Dejan M. Markovic, Nikola M. Nedovic Wiley-Interscience.
1 CSE370, Lecture 17 Lecture 17 u Logistics n Lab 7 this week n HW6 is due Friday n Office Hours íMine: Friday 10:00-11:00 as usual íSara: Thursday 2:30-3:20.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Basics of register-transfer design: –data paths and controllers; –ASM charts. Pipelining.
1 Performance Analysis (Clock Signal). 2 Unbalanced delays Logic with unbalanced delays leads to inefficient use of logic: long clock periodshort clock.
Sequential Networks: Timing and Retiming
June clock data Q-flop Flop dataQ clock Flip-flop is edge triggered. It transfers input data to Q on clock rising edge. Memory Elements.
Digital System Clocking: High-Performance and Low-Power Aspects Vojin G. Oklobdzija, Vladimir M. Stojanovic, Dejan M. Markovic, Nikola M. Nedovic Wiley-Interscience.
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
12006 MAPLD International ConferenceSpaceWire 101 Seminar Data Strobe (DS) Encoding Sam Stratton 2006 MAPLD International Conference.
Clocking System Design
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
EE141 Timing Issues 1 Chapter 10 Timing Issues Rev /11/2003.
Computer Science 210 Computer Organization
Computer Architecture & Operations I
Chapter #6: Sequential Logic Design
Computer Science 210 Computer Organization
CSE 140 MT 2 Review By Daniel Knapp.
Introduction to Sequential Logic Design
CPE/EE 422/522 Advanced Logic Design L03
Computer Science 210 Computer Organization
COMP541 Flip-Flop Timing Montek Singh Feb 23, 2010.
Timing Analysis 11/21/2018.
Clocking in High-Performance and Low-Power Systems Presentation given at: EPFL Lausanne, Switzerland June 23th, 2003 Vojin G. Oklobdzija Advanced.
Topics Performance analysis..
ECE434a Advanced Digital Systems L06
Performance Analysis (Clock Signal) مرتضي صاحب الزماني.
Chapter 10 Timing Issues Rev /11/2003 Rev /28/2003
Topics Clocking disciplines. Flip-flops. Latches..
Pipeline Principle A non-pipelined system of combination circuits (A, B, C) that computation requires total of 300 picoseconds. Comb. logic.
COMP541 Sequential Logic Timing
Lecture 19 Logistics Last lecture Today
Lecture 3: Timing & Sequential Circuits
Presentation transcript:

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Unbalanced delays Logic with unbalanced delays leads to inefficient use of logic: long clock periodshort clock period

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew Machine data signals must obey setup and hold times—avoid signal skew.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew Clock must arrive at all memory elements in time to load data.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Qualified clocks and skew n Logic in the clocking path introduces delay. n Delay can cause clock to arrive at latches at different times, violating clocking assumptions. n When designing qualification logic: –minimize and check skew; –sharpen clock edge.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Qualification skew example

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period n For each phase, phase period must be longer than sum of: –combinational delay; –latch propagation delay. n Phase period depends on longest path.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Unbalanced delays Logic with unbalanced delays leads to inefficient use of logic: long clock periodshort clock period

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Flip-flop-based system performance analysis

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Flip-flop-based system model n Clock signal is perfect (no rise/fall), period P. n Clock event on rising edge. n Setup time s. –Time from arrival of combinational logic event to clock event. n Propagation time p. –Time for value to go from flip-flop input to output. n Worst-case combinational delay C. –Time from output of flip-flop to input.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock parameters

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period constraint n P >= C + s + p. s p C

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock with rise/fall

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Rise/fall clock period constraint n P >= C + s + p + t r. s p C trtr

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Min-max delays n Delays may vary: –Manufacturing variations. –Temperature variations. n Min/max delays compound over paths. –Delays within a chip are correlated. t

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch system clock period n For each phase, phase period must be longer than sum of: –combinational delay; –latch propagation delay. n Phase period depends on longest path.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch-based system model

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Two-phase timing parameters

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period constraint n Total clock period (both phases): –P >= C1 + C2 + 2s + 2p. n Each phase must meet timing for its own latch.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch-based system model

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Advanced performance analysis n Latch-based systems always have some idle logic. n Can increase performance by blurring phase boundaries. Results in cycle time closer to average of phases.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Example with unbalanced phases One phase is much longer than the other:

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Spreading out a phase Compute only part of long paths in one phase:

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Spreading out a phase, cont’d. Use other phase for end of long logic block and all of short logic block:

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Problems n Hard to debug—can’t stop the system. n Hard to initialize system state. n More sensitive to process variations.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Timing and glitches in FSMs n If inputs don’t change, can outputs glitch? DQ logic input output

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Skew n Skew: relative delay between events. n Signal skew: most important for asynchronous, timing-dependent logic. n Clock skew: can harm any sequential system.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew Machine data signals must obey setup and hold times—avoid signal skew.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew example

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew Clock must arrive at all memory elements in time to load data.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew example

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew in system DQDQ logic 

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew and qualified clocks

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew analysis model s 12 =  1 –  2 s 21 =  2 –  1

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Skew and clock period n Assume that each flip-flop operates instantaneously: –T >=  2 +  12 n If clock arrives at FF2 after FF1, then we have more time to compute. n Given clock period, determine allowable skew: –s 12 >= T +  2

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Timing through logic n As skew increases, we have less time to get the signal through the logic.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock distribution n Often one of the hardest problems in clock design. –Fast edges. –Minimum skew.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew example 10 ps 20 ps 30 ps DQDQDQ DQ

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Retiming Retiming moves registers through combinational logic:

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Retiming properties n Retiming changes encoding of values in registers, but proper values can be reconstructed with combinational logic. n Retiming may increase number of registers required. n Retiming must preserve number of registers around a cycle—may not be possible with reconvergent fanout.