Clocking. Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 Clocks 1



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

Lecture 11: Sequential Circuit Design

Lecture 10: Sequential Circuits

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

Alpha CPU and Clock Design Evolution

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

Lecture 7: Clocking of VLSI Systems

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

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

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

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

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

Sequential Logic: Clocks, Registers, etc.

Lecture 10: Latch and Flip-Flop Design. Outline

ECE380 Digital Logic

Introduction to CMOS VLSI Design

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

Fairchild Solutions for 133MHz Buffered Memory Modules

Sequential 4-bit Adder Design Report

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

Engr354: Digital Logic Circuits

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Sequential Circuit Design

Low latency synchronization through speculation

路 論 Chapter 15 System-Level Physical Design

Master/Slave Flip Flops

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

Class 11: Transmission Gates, Latches

Power Reduction Techniques in the SoC Clock Network. Clock Power

DS2187 Receive Line Interface

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

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

Set-Reset (SR) Latch

Title: Low EMI Spread Spectrum Clock Oscillators

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

Managing High-Speed Clocks

CHAPTER 11 LATCHES AND FLIP-FLOPS

Timing Errors and Jitter

CMOS, the Ideal Logic Family

Clocks Basics in 10 Minutes or Less. Edgar Pineda Field Applications Engineer Arrow Components Mexico

CSE140: Components and Design Techniques for Digital Systems

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

Flip-Flops, Registers, Counters, and a Simple Processor

ICS SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

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

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

Weste07r4.fm Page 183 Monday, January 5, :39 AM. 7.1 Introduction

Low Power AMD Athlon 64 and AMD Opteron Processors

Layout of Multiple Cells

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

Theory of Logic Circuits. Laboratory manual. Exercise 3

Application Note 58 Crystal Considerations with Dallas Real Time Clocks

FPGA Clocking. Clock related issues: distribution generation (frequency synthesis) multiplexing run time programming domain crossing

Sequential Logic Design Principles.Latches and Flip-Flops

Chapter 9 Latches, Flip-Flops, and Timers

11. High-Speed Differential Interfaces in Cyclone II Devices

Lecture 11. Clocking High-Performance Microprocessors

An All-Digital Phase-Locked Loop with High Resolution for Local On-Chip Clock Synthesis

TIMING ISSUES IN DIGITAL CIRCUITS

Phase-Locked Loop Based Clock Generators

Abstract. Cycle Domain Simulator for Phase-Locked Loops

PowerPC Microprocessor Clock Modes

Chapter 2 Clocks and Resets

Lesson 12 Sequential Circuits: Flip-Flops

ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by:

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

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2010

ECE124 Digital Circuits and Systems Page 1

An On-chip Security Monitoring Solution For System Clock For Low Cost Devices

Clock Distribution Networks in Synchronous Digital Integrated Circuits

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

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

MAS.836 HOW TO BIAS AN OP-AMP

Chapter 6 PLL and Clock Generator

DDR subsystem: Enhancing System Reliability and Yield

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

White Paper Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces

CHAPTER 16 MEMORY CIRCUITS

The Future of Multi-Clock Systems

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

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

Sentinel-SSO: Full DDR-Bank Power and Signal Integrity. Design Automation Conference 2014

SPREAD SPECTRUM CLOCK GENERATOR. Features

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

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

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Jitter in PCIe application on embedded boards with PLL Zero delay Clock buffer

Digital Fundamentals

7. Latches and Flip-Flops

Application Note 58 Crystal Considerations for Dallas Real-Time Clocks

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

How to Improve Tablet PCs and Other Portable Devices with MEMS Timing Technology

Transcription:

ing Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 s 1

Why s and Storage Elements? Inputs Combinational Logic Outputs Want to reuse combinational logic from cycle to cycle 6.884 - Spring 2005 2/18/05 L06 s 2

igital Systems Timing Conventions All digital systems need a convention about when a receiver can sample an incoming data value synchronous systems use a common clock asynchronous systems encode data ready signals alongside, or encoded within, data signals Also need convention for when it s safe to send another value synchronous systems, on next clock edge (after hold time) asynchronous systems, acknowledge signal from receiver ata Synchronous ata Ready Acknowledge Asynchronous 6.884 - Spring 2005 2/18/05 L06 s 3

Large Systems Most large scale ASICs, and systems built with these ASICs, have several synchronous clock domains connected by asynchronous communication channels domain 1 domain 3 Chip A domain 2 Asynch. channel Chip C domain 6 domain 5 domain 4 Chip B We ll focus on a single synchronous clock domain today 6.884 - Spring 2005 2/18/05 L06 s 4

ed Storage Elements Transparent Latch, Level Sensitive data passes through when clock high, latched when clock low Transparent Latched -Type Register or Flip-Flop, Edge-Triggered data captured on rising edge of clock, held for rest of cycle (Can also have latch transparent on clock low, or negative-edge triggered flip-flop) 6.884 - Spring 2005 2/18/05 L06 s 5

0 1 Building a Latch Latches are a mux, clock selects either data or output value CMOS Transmission Gate Latch Usually have local inverter to generate Optional input buffer Optional output buffer Parallel N and P transistors act as switch, called a transmission gate 6.884 - Spring 2005 2/18/05 L06 s 6

Static CMOS Latch Variants ed CMOS (C 2 MOS) feedback inverter Weak feedback inverter so input can overpower it Can be small, lower clock load, but sizing problematic Output buffer shields storage node from downstream logic Generally the best, fast and energy efficient Has lowest clock load Pulldown stack overpowers cross-coupled inverters 6.884 - Spring 2005 2/18/05 L06 s 7

Latch Timing Parameters T setup T hold T Cmin T Cmax T min T max T Cmin /T Cmax propagation in out when clock opens latch T min /T max propagation in out while transparent usually the most important timing parameter for a latch T setup /T hold define window around closing clock edge during which data must be steady to be sampled correctly 6.884 - Spring 2005 2/18/05 L06 s 8

The Setup Time Race Setup represents the race for new data to propagate around the feedback loop before clock closes the input gate. (Here, we re rooting for the data signal) 6.884 - Spring 2005 2/18/05 L06 s 9

Failing Setup If data arrives too close to clock edge, it won t set up the feedback loop before clock closes the input transmission gate. 6.884 - Spring 2005 2/18/05 L06 s 10

The Hold Time Race Added clock buffers to demonstrate positive hold time on this latch other latch designs naturally have positive hold time Hold time represents the race for clock to close the input gate before next cycle s data disturbs the stored value. (Here we re rooting for the clock signal) 6.884 - Spring 2005 2/18/05 L06 s 11

Failing Hold Time If data changes too soon after clock edge, clock might not have had time to shut off input gate and new data will corrupt feedback loop. 6.884 - Spring 2005 2/18/05 L06 s 12

Flip-Flops Can build a flip-flop using two latches back to back Master Slave Master Transparent Master Latched Master Transparent Slave Latched Slave Transparent Slave Latched On positive edge, master latches input, slave becomes transparent to pass new to output On negative edge, slave latches current, master goes transparent to sample input again 6.884 - Spring 2005 2/18/05 L06 s 13

Flip-Flop esigns Can have true or complementary output or both Transmission-gate master-slave latches most popular in ASICs robust, convenient timing parameters, energy-efficient Many other ways to build a flip-flop other than transmission gate master-slave latches usually trickier timing parameters only found in high performance custom devices 6.884 - Spring 2005 2/18/05 L06 s 14

Flip-Flop Timing Parameters T setup T hold T Cmin T Cmax T Cmin /T Cmax propagation in out at clock edge T setup /T hold define window around rising clock edge during which data must be steady to be sampled correctly either setup or hold time can be negative 6.884 - Spring 2005 2/18/05 L06 s 15

Single Edge-Triggered esign T Pmin /T Pmax Combinational Logic Single clock with edge-triggered registers most common design style in ASICs Slow path timing constraint T cycle T Cmax + T Pmax + T setup can always work around slow path by using slower clock Fast path timing constraint T Cmin + T Pmin T hold bad fast path cannot be fixed without redesign! might have to add delay into paths to satisfy hold time 6.884 - Spring 2005 2/18/05 L06 s 16

istribution Can t really distribute clock at same instant to all flip-flops on chip istribution Network Variations in trace length, metal width and height, coupling caps Central river Variations in local clock load, local power supply, local gate length and threshold, local temperature Local Buffers ifference in clock arrival time is clock skew 6.884 - Spring 2005 2/18/05 L06 s 17

Grids One approach for low skew is to use a single metal clock grid across whole chip (Alpha 21064) Low skew but very high power, no clock gating driver tree spans height of chip. Internal levels shorted together. Grid feeds flops directly, no local buffers 6.884 - Spring 2005 2/18/05 L06 s 18

H-Trees Recursive pattern to distribute signals uniformly with equal delay over area Uses much less power than grid, but has more skew In practice, an approximate H-tree is used at the top level (has to route around functional blocks), with local clock buffers driving regions 6.884 - Spring 2005 2/18/05 L06 s 19

Oscillators Where does the clock signal come from? Simple approach: ring oscillator Odd number of inverter stages connected in a loop Problem: What frequency does the ring run at? epends on voltage, temperature, fabrication run, Where are the clock edges relative to an external observer? Free running, no synchronization with external channel 6.884 - Spring 2005 2/18/05 L06 s 20

Crystals Fix the clock frequency by using a crystal oscillator Exploit peizo-electric effect in quartz to create highly resonant peak in feedback loop of oscillator Easy to obtain frequency accuracy of ~50 parts per million Expensive to increase frequency to more than a few 100MHz 6.884 - Spring 2005 2/18/05 L06 s 21

Phase Locked Loops (PLLs) Use a feedback control loop to force an oscillator to align frequency and phase with an external clock source. External Phase Comparator Frequency +/ Oscillator Circuit Generated 6.884 - Spring 2005 2/18/05 L06 s 22

Multiplying Frequency with a PLL By using a clock divider (a simple synchronous circuit) in the feedback loop, can force on-chip oscillator to run at rational multiple of external clock External Phase Comparator Frequency +/ Oscillator Circuit ivide by N 6.884 - Spring 2005 2/18/05 L06 s 23

Intel Itanium istribution Global istribution Regional istribution Local istribution G Regional Grid P N VCC/2 PLL Reference clock SK SK RC Main clock SK RC L OTB SK = Active deskew circuits, cancels out systematic skew PLL = Phase locked loop Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 s 24

Skew Sources and Cures Systematic skew due to manufacturing variation can be mostly trimmed out with adaptive deskewing circuitry cross chip skews of <10ps reported Main sources of remaining skew are temperature changes (low-frequency) and power supply noise (high frequency) Power supply noise affects clock buffer delay and also frequency of PLL often power for PLL is provided through separate pins clock buffers given large amounts of local on-chip decoupling capacitance 6.884 - Spring 2005 2/18/05 L06 s 25

Skew versus Jitter Skew is spatial variation in clock arrival times variation in when the same clock edge is seen by two different flip-flops Jitter is temporal variation in clock arrival times variation in when two successive clock edges are seen by the same flip-flop Power supply noise is main source of jitter From now on, use skew as shorthand for untrimmable timing uncertainty 6.884 - Spring 2005 2/18/05 L06 s 26

Timing Revisited T Pmin /T Pmax Combinational Logic 1 2 Skew eats into timing budget Slow path timing constraint T cyc T Cmax + T Pmax + T setup + T skew worst case is when 2 is earlier/later than 1 Fast path timing constraint T Cmin + T Pmin T hold + T skew worst case is when 2 is earlier/later than 1 6.884 - Spring 2005 2/18/05 L06 s 27