Clocking Spring /18/05

Similar documents
ECE321 Electronics I

Sequential Circuit Design: Part 1

Sequential Circuit Design: Part 1

Lecture 11: Sequential Circuit Design

ECEN454 Digital Integrated Circuit Design. Sequential Circuits. Sequencing. Output depends on current inputs

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Homework #8 due next Tuesday. Project Phase 3 plan due this Sat.

EE141-Fall 2010 Digital Integrated Circuits. Announcements. Synchronous Timing. Latch Parameters. Class Material. Homework #8 due next Tuesday

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

11. Sequential Elements

Keeping The Clock Pure. Making The Impurities Digestible

Timing EECS141 EE141. EE141-Fall 2011 Digital Integrated Circuits. Pipelining. Administrative Stuff. Last Lecture. Latch-Based Clocking.

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EE241 - Spring 2005 Advanced Digital Integrated Circuits

Fundamentals of Computer Systems

Clock - key to synchronous systems. Topic 7. Clocking Strategies in VLSI Systems. Latch vs Flip-Flop. Clock for timing synchronization

Clock - key to synchronous systems. Lecture 7. Clocking Strategies in VLSI Systems. Latch vs Flip-Flop. Clock for timing synchronization

Chapter 7 Sequential Circuits

Fundamentals of Computer Systems

Digital Circuits and Systems

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

CMOS Latches and Flip-Flops

Lecture 10: Sequential Circuits

Lecture 21: Sequential Circuits. Review: Timing Definitions

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

MUX AND FLIPFLOPS/LATCHES

UNIT III COMBINATIONAL AND SEQUENTIAL CIRCUIT DESIGN

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

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing


55:131 Introduction to VLSI Design Project #1 -- Fall 2009 Counter built from NAND gates, timing Due Date: Friday October 9, 2009.

Lecture 6. Clocked Elements

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Combinational / Sequential Logic

Lecture 1: Circuits & Layout

EE273 Lecture 11 Pipelined Timing Closed-Loop Timing November 2, Today s Assignment

Lecture 26: Multipliers. Final presentations May 8, 1-5pm, BWRC Final reports due May 7 Final exam, Monday, May :30pm, 241 Cory

Synchronizing Multiple ADC08xxxx Giga-Sample ADCs

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

Scan. This is a sample of the first 15 pages of the Scan chapter.

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

Sequential Logic. References:

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Microcontrollers and Interfacing week 7 exercises

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

Lecture 1: Intro to CMOS Circuits

Lecture 8: Sequential Logic

Learning Outcomes. Unit 13. Sequential Logic BISTABLES, LATCHES, AND FLIP- FLOPS. I understand the difference between levelsensitive

Logic Design. Flip Flops, Registers and Counters

CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

Homework 3 posted this week, due after Spring break Quiz #2 today Midterm project report due on Wednesday No office hour today

Basis of sequential circuits: the R-S latch

SYNCHRONOUS DERIVED CLOCK AND SYNTHESIS OF LOW POWER SEQUENTIAL CIRCUITS *

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Timing Error Detection: An Adaptive Scheme To Combat Variability EE241 Final Report Nathan Narevsky and Richard Ott {nnarevsky,

Topic 8. Sequential Circuits 1

EE241 - Spring 2007 Advanced Digital Integrated Circuits. Announcements

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

EE-382M VLSI II FLIP-FLOPS

Fundamentals of Computer Systems

A MISSILE INSTRUMENTATION ENCODER

Digital Logic & Computer Design CS Professor Dan Moldovan Spring Chapter 3 :: Sequential Logic Design

Memory, Latches, & Registers

Energy Recovery Clocking Scheme and Flip-Flops for Ultra Low-Energy Applications

Hardware Design I Chap. 5 Memory elements

Synchronization in Asynchronously Communicating Digital Systems

Dual Link DVI Receiver Implementation

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Combinational vs Sequential

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

Project 6: Latches and flip-flops

Chapter 5 Flip-Flops and Related Devices

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Flip-Flops A) Synchronization: Clocks and Latches B) Two Stage Latch C) Memory Requires Feedback D) Simple Flip-Flop Gate

ECEN620: Network Theory Broadband Circuit Design Fall 2014

Digital Integrated Circuit Design II ECE 426/526, Chapter 10 $Date: 2016/04/07 00:50:16 $

Static Timing Analysis for Nanometer Designs

D Latch (Transparent Latch)

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

SEQUENTIAL CIRCUITS SEQUENTIAL CIRCUITS

Clock Generation and Distribution for High-Performance Processors

EECS150 - Digital Design Lecture 18 - Circuit Timing (2) In General...

SEQUENTIAL LOGIC. Sequential Logic

LFSR Counter Implementation in CMOS VLSI

COMP2611: Computer Organization. Introduction to Digital Logic

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Asynchronous inputs. 9 - Metastability and Clock Recovery. A simple synchronizer. Only one synchronizer per input

12-bit Wallace Tree Multiplier CMPEN 411 Final Report Matthew Poremba 5/1/2009

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Sequential Circuits. Sequential Logic. Circuits with Feedback. Simplest Circuits with Feedback. Memory with Cross-coupled Gates.

Dual Edge Adaptive Pulse Triggered Flip-Flop for a High Speed and Low Power Applications

Transcription:

ing L06 s 1

Why s and Storage Elements? Inputs Combinational Logic Outputs Want to reuse combinational logic from cycle to cycle 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 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 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) 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 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 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 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) 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. 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) 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. 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 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 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 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 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 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 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 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 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 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 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 L06 s 23

Intel Itanium istribution SK = Active eskew Circuits, cancels out systematic skew PLL = Phase Locked Loop Regional Grid 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 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 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 L06 s 27