EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 16 Timing and Clock Issues



Similar documents
Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

TIMING ISSUES IN DIGITAL CIRCUITS

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

Lecture 11: Sequential Circuit Design

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Lecture 10: Sequential Circuits

路 論 Chapter 15 System-Level Physical Design

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Lecture 7: Clocking of VLSI Systems

A New Paradigm for Synchronous State Machine Design in Verilog

Set-Reset (SR) Latch

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

TIMING-DRIVEN PHYSICAL DESIGN FOR DIGITAL SYNCHRONOUS VLSI CIRCUITS USING RESONANT CLOCKING

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Programmable Logic Design Grzegorz Budzyń Lecture. 10: FPGA clocking schemes

EE552. Advanced Logic Design and Switching Theory. Metastability. Ashirwad Bahukhandi. (Ashirwad Bahukhandi)

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

Chapter 13: Verification

Digital Integrated Circuit (IC) Layout and Design

Sequential Circuit Design

EE360: Digital Design I Course Syllabus

Chapter 9 Latches, Flip-Flops, and Timers

Measuring Metastability

Master/Slave Flip Flops

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

S. Venkatesh, Mrs. T. Gowri, Department of ECE, GIT, GITAM University, Vishakhapatnam, India

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

RETRIEVING DATA FROM THE DDC112

Power Reduction Techniques in the SoC Clock Network. Clock Power

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

ECE380 Digital Logic

Clock Distribution in RNS-based VLSI Systems

Alpha CPU and Clock Design Evolution

Sequential Logic Design Principles.Latches and Flip-Flops

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

Fairchild Solutions for 133MHz Buffered Memory Modules

Asynchronous IC Interconnect Network Design and Implementation Using a Standard ASIC Flow

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Combinational Logic Design Process

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Clock Distribution Networks in Synchronous Digital Integrated Circuits

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Chapter 7: Advanced Modeling Techniques

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

EE411: Introduction to VLSI Design Course Syllabus

IEEE. Proof. INCREASING circuit speed is certain to remain the major. Dual-Edge Triggered Storage Elements and Clocking Strategy for Low-Power Systems

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

Asynchronous counters, except for the first block, work independently from a system clock.

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Lecture-3 MEMORY: Development of Memory:

Lesson 12 Sequential Circuits: Flip-Flops

Engr354: Digital Logic Circuits

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DESIGN CHALLENGES OF TECHNOLOGY SCALING

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

White Paper Understanding Metastability in FPGAs

CSE140: Components and Design Techniques for Digital Systems

DDR subsystem: Enhancing System Reliability and Yield

EXPERIMENT 8. Flip-Flops and Sequential Circuits

LOW POWER DESIGN OF DIGITAL SYSTEMS USING ENERGY RECOVERY CLOCKING AND CLOCK GATING

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters


INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Sequential Logic: Clocks, Registers, etc.

Layout of Multiple Cells

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control

Modeling Latches and Flip-flops

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

Signal integrity in deep-sub-micron integrated circuits

Chapter 7 Memory and Programmable Logic

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Digital Systems. Syllabus 8/18/2010 1

PowerPC Microprocessor Clock Modes

CHAPTER 3 Boolean Algebra and Digital Logic

White Paper FPGA Performance Benchmarking Methodology

DS2187 Receive Line Interface

Lecture 11. Clocking High-Performance Microprocessors

CpE358/CS381. Switching Theory and Logical Design. Class 4

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Topics. Flip-flop-based sequential machines. Signals in flip-flop system. Flip-flop rules. Latch-based machines. Two-sided latch constraint

7. Latches and Flip-Flops

The Future of Multi-Clock Systems

Multiple clock domains

Class 11: Transmission Gates, Latches

74AC191 Up/Down Counter with Preset and Ripple Clock

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Memory Elements. Combinational logic cannot remember

Theory of Logic Circuits. Laboratory manual. Exercise 3

Transcription:

EE 459/500 HDL Based Digital Design with Programmable Logic Lecture 16 Timing and Clock Issues 1 Overview Sequential system timing requirements Impact of clock skew on timing Impact of clock jitter on timing Clock distribution 2 1

Clocked Synchronous State Machine Flip-Flop Timing Parameters 2

Latch Timing Parameters State Machine Timing 3

Satisfying Timing Requirements The period must be long enough for the data to propagate through the registers and logic and to be set up at the destination register before the next rising edge of the clock. Satisfied by making T long enough. Cycle time: T CLK > t c-q + t logic + t su The hold time at the destination register must be shorter than the minimum propagation delay through the logic network. This requirement is independent of system clock; manufacturer s minimum delay specifications are needed. Guarantee that minimum combinational logic delay is larger than hold time. Race margin: t hold < t c-q,cd + t logic,cd Clock Uncertainties Devices 2 4 Power Supply 3 Interconnect 6 Capacitive Load 1 Clock Generation 5 Temperature 7 Coupling to Adjacent Lines 4

Clock Nonidealities Clock Skew Spatial variations in equivalent clock edges Mostly deterministic Clock Jitter Temporal variations in consecutive clock edges Mostly random Pulse Width Variation Clock Skew and Clock Jitter Clk t SK Clk t JS Clock skew and jitter can affect the cycle times Clock skew can cause race conditions 5

Overview Sequential system timing requirements Impact of clock skew on timing Impact of clock jitter on timing Clock distribution Clock Skew Bad design 6

Clock Skew Clock Skew In R1 D Q Combinational Logic R2 D Q CLK t CLK1 t CLK2 t c - q t c - q, cd t su, t hold t logic t logic, cd Assume the following timing parameters are available: Contamination or minimum delay (t c-q,cd ) and maximum propagation delay (t c-q ) of the register Setup (t su ) and Hold (t hold ) times for registers Contamination delay (t logic,cd ) and maximum delay (t logic ) of the combinational logic The positions of the rising edges of clocks CLK1 and CLK2 (t CLK1 and t CLK2 ) relative to a global reference. Ideally t CLK1 = t CLK2. 7

Positive Clock Skew Launching edge arrives before the receiving edge Minimum clock cycle: T+ t c-q + t logic + t su In CLK D R1 Q t CLK1 Combinational Logic R2 D Q t CLK2 t c - q t c - q, cd t su, t hold t logic t logic, cd Negative Clock Skew Receiving edge arrives before the launching edge Minimum clock cycle: T+ t c-q + t logic + t su In D R1 Q t c - q t c - q, cd t su, t hold t CLK1 Combinational Logic t logic t logic, cd R2 D Q t CLK2 CLK 8

Positive and Negative Clock Skew Impact of Clock Skew on Timing: Cycle Time (Long Path) 9

Impact of Clock Skew on Timing: Race Margin (Short Path) Overview Sequential system timing requirements Impact of clock skew on timing Impact of clock jitter on timing Clock distribution 10

Clock Jitter T C LK CLK -t jitter t jitter In REGS CLK t c-q, t c-q, cd t su, t hold t jitter Combinational Logic t log ic t log ic, cd T CLK - 2t jitter t c-q + t logic + t su 2t jitter + t hold < t c-q,cd + t logic,cd Impact of Clock Jitter on Timing: Cycle Time (Late-Early Problem) 11

Impact of Clock Jitter on Timing Impact of Clock Skew and Jitter: Cycle Time (Late-Early Problem) 12

Impact of Clock Skew and Jitter: Race Margin (Early-Late Problem) Combined Impact of Clock Skew and Jitter Minimum clock cycle (cycle time) T CLK > t c-q + t logic + t su - + 2t jitter Positive skew improves performance Negative skew reduces performance Jitter reduces performance Minimum logic delay (race) t logic,cd + t c-q,cd > t hold + + 2t jitter Skew reduces race margin Jitter reduces acceptable skew Notes: Absolute delay through a clock distribution path is not important What matters is the relative arrival time at the register points at the end of each path 13

Overview Sequential system timing requirements Impact of clock skew on timing Impact of clock jitter on timing Clock distribution Dealing with Clock Skew and Jitter Balance clock paths (tree distribution) Don t use gated clocks Use negative skew to eliminate race conditions (at the cost of performance): Add up the components that result in the time budget - the period must be greater than this value T CLK > t c-q + t logic + t su - ( <0) 14

Clock Distribution Clock Distribution Distribute clock in a tree fashion H-Tree CLK 15

More Realistic H-Trees Example: EV6 (Alpha 21264) Clocking 600 MHz 0.35 micron CMOS 16

Spartan-6 FPGA Spartan-6 FPGA Global Clock Network 17

Spartan-6 FPGA I/O Clock Network Spartan-6 FPGA Clock Management Tile (CMT) 18

Digital Clock Manager (DCM) Eliminating Clock Skew 19

Eliminating Clock Skew Quadrant Phase Shifting 20

Fine Phase Shifting Summary Clock skew and clock jitter increasingly important issues with technology downscaling CAD tools (e.g., ISE WebPack) take care of many issues automatically 21

References and Credits Chapter 10 of: Jan M. Rabaey, Anantha Chandrakasan, Borivoje Nikolic, Digital Integrated Circuits, 2nd Edition, Prentice Hall, 2003. Spartan-6 FPGA Clocking Resources: http://www.xilinx.com/support/documentation/user _guides/ug382.pdf Appendix A: Asynchronous Inputs 22

Asynchronous Inputs: Multiple Synchronizers 23