EECS150 - Digital Design Lecture 3 - Timing

Similar documents
EECS150 - Digital Design Lecture 3 - Timing

EECS150 - Digital Design Lecture 17 - Circuit Timing. Performance, Cost, Power

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

EECS150 - Digital Design Lecture 2 - CMOS

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

Logic Design. Flip Flops, Registers and Counters

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

Outline. EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits. Cross-coupled NOR gates. Asynchronous State Transition Diagram

EECS150 - Digital Design Lecture 9 - CPU Microarchitecture. CMOS Devices

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

Chapter 2. Digital Circuits

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

Sequential Circuit Design: Part 1

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

Lecture 8: Sequential Logic

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

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

11. Sequential Elements

Why FPGAs? FPGA Overview. Why FPGAs?

Lecture 11: Sequential Circuit Design

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

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

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

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

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

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

CPS311 Lecture: Sequential Circuits

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

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

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

Lecture 10: Sequential Circuits

CSE 352 Laboratory Assignment 3

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

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

LSN 12 Shift Registers

Sequential Circuit Design: Part 1

! Two inverters form a static memory cell " Will hold value as long as it has power applied

Sequential Logic. Sequential Circuits. ! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew

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

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

EECS150 - Digital Design Lecture 10 - Interfacing. Recap and Topics

D Latch (Transparent Latch)

CHAPTER 4: Logic Circuits

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

CS61C : Machine Structures

MC9211 Computer Organization

EE292: Fundamentals of ECE

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

Administrative issues. Sequential logic

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

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

PESIT Bangalore South Campus

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Logic Design II (17.342) Spring Lecture Outline

Counter dan Register

Figure 1 shows a simple implementation of a clock switch, using an AND-OR type multiplexer logic.

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

ECE321 Electronics I

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

CS3350B Computer Architecture Winter 2015

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

Logic Design II (17.342) Spring Lecture Outline

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

ECE 341. Lecture # 2

ELCT201: DIGITAL LOGIC DESIGN

Chapter 5 Flip-Flops and Related Devices

Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14

CprE 281: Digital Logic

IT T35 Digital system desigm y - ii /s - iii

Counters

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

Digital Integrated Circuits EECS 312

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

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

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

EKT 121/4 ELEKTRONIK DIGIT 1

COMP2611: Computer Organization. Introduction to Digital Logic

CS 250 VLSI System Design

Sequential Logic and Clocked Circuits

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

Experiment 8 Introduction to Latches and Flip-Flops and registers

CprE 281: Digital Logic

LATCHES & FLIP-FLOP. Chapter 7

Principles of Computer Architecture. Appendix A: Digital Logic


CHAPTER 4: Logic Circuits

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

Chapter 4: One-Shots, Counters, and Clocks

Physics 120 Lab 10 (2018): Flip-flops and Registers

EECS150 - Digital Design Lecture 15 Finite State Machines. Announcements

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics

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

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

Computer Systems Architecture

NEW MEXICO STATE UNIVERSITY Electrical and Computer Engineering Department. EE162 Digital Circuit Design Fall Lab 5: Latches & Flip-Flops

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

EE-382M VLSI II FLIP-FLOPS

Transcription:

EECS150 - Digital Design Lecture 3 - Timing September 3, 2002 John Wawrzynek Fall 2002 EECS150 - Lec03-Timing Page 1

Outline Finish up from lecture 2 General Model of Synchronous Systems Performance Limits Announcements Delay in logic gates Delay in wires Clock Skew Delay in flip-flops Fall 2002 EECS150 - Lec03-Timing Page 2

Transistor-level Logic Circuits (cont.) Positive Level-sensitive latch Transistor Level clk Positive Edge-triggered flip-flop clk clk clk Fall 2002 EECS150 - Lec03-Timing Page 3

General Model of Synchronous Circuit clock input input CL reg CL reg output option feedback All wires, except clock, may be multiple bits wide. Registers (reg) collections of flip-flops clock distributed to all flip-flops typical rate? output Combinational Logic Blocks (CL) no internal state output only a function of inputs Particular inputs/outputs are optional Optional Feedback Fall 2002 EECS150 - Lec03-Timing Page 4

Example Circuit Parallel to Serial Converter All signal paths single bit wide Registers are single flip-flops Combinational Logic blocks are simple multiplexors No feedback in this case. Fall 2002 EECS150 - Lec03-Timing Page 5

General Model of Synchronous Circuit clock input input CL reg CL reg output option feedback output How do we measure performance? operations/sec? cycles/sec? What limits the clock rate? What happens as we increase the clock rate? Fall 2002 EECS150 - Lec03-Timing Page 6

Limitations on Clock Rate 1 Logic Gate Delay 2 Delays in flip-flops input output What are typical delay values? t D clk Q setup time clock to Q delay Both times contribute to limiting the clock period. What must happen in one clock cycle for correct operation? Assuming perfect clock distribution (all flip-flops see the clock at the same time): All signals must be ready and setup before rising edge of clock. Fall 2002 EECS150 - Lec03-Timing Page 7

Example Parallel to serial converter: clk a b T time(clk Q) + time(mux) + time(setup) T τ clk Q + τ mux + τ setup Fall 2002 EECS150 - Lec03-Timing Page 8

General Model of Synchronous Circuit clock input input CL reg CL reg output option feedback output In general, for correct operation: T time(clk Q) + time(cl) + time(setup) T τ clk Q + τ CL + τ setup for all paths. How do we enumerate all paths? Any circuit input or register output to any register input or circuit output. setup time for circuit outputs depends on what it connects to clk-q time for circuit inputs depends on from where it comes. Fall 2002 EECS150 - Lec03-Timing Page 9

Announcements Remember to check the web-page often. Homework due Friday. Start early, get help in discussion sections and office hours. Look at notes online before class. Suggestion: print out and bring copy to class - annotate when necessary. My notes are intentionally incomplete. Full page is easier for this than 6-up. Turn in HW#1 before 1pm Friday. Homework box moving from outside 218 Cory to outside 125 Cory Not sure where it will be on Friday. Discussions, TA office hours, and labs this week. Quiz Friday at lab lecture. Fall 2002 EECS150 - Lec03-Timing Page 10

Qualitative Analysis of Logic Delay Improved Transistor Model: nfet We refer to transistor "strength" as the amount of current that flows for a given Vds and Vgs. The strength is linearly proportional to the ratio of W/L. pfet Fall 2002 EECS150 - Lec03-Timing Page 11

Gate Switching Behavior Inverter: NAND gate: Fall 2002 EECS150 - Lec03-Timing Page 12

Gate Delay Cascaded gates: Vout Vin Fall 2002 EECS150 - Lec03-Timing Page 13

Gate Delay Fan-out: 2 1 3 The delay of a gate is proportional to its output capacitance. Because, gates #2 and 3 turn on/off at a later time. (It takes longer for the output of gate #1 to reach the switching threshold of gates #2 and 3 as we add more output capacitance.) Fall 2002 EECS150 - Lec03-Timing Page 14

Gate Delay Fan-in What is the delay in this circuit? Critical Path: the path with the maximum delay, from any input to any output. In general, we include register set-up and clk-to-q times in critical path calculation. Why do we care about the critical path? Fall 2002 EECS150 - Lec03-Timing Page 15

Delay in Flip-flops D clk Setup time results delay through first latch. clk Q clk clk setup time clock to Q delay clk Clock to Q delay results from delay through second latch. clk clk clk clk Fall 2002 EECS150 - Lec03-Timing Page 16

Wire Delay t In general, wire behave as transmission lines : signal wave-front moves close to the speed of light ~1ft/ns Time from source to destination is called the transit time. In ICs most wires are short, and the transit times are relatively short compared to the clock period and can be ignored. Not so on PC boards. x Fall 2002 EECS150 - Lec03-Timing Page 17

Wire Delay Even in those cases where the transmission line effect is negligible: Wires posses distributed resistance and capacitance v1 v2 v1 v2 v3 v4 Time constant associated with distributed RC is proportional to the square of the length v3 v4 For short wires on ICs, resistance is insignificant (relative to effective R of transistors), but C is important. Typically around half of C of gate load is in the wires. For long wires on ICs: busses, clock lines, global control signal, etc. Resistance is significant, therefore distributed RC effect dominates. signals are typically rebuffered to reduce delay: time Fall 2002 EECS150 - Lec03-Timing Page 18

Clock Skew Unequal delay in distribution of the clock signal to various parts of a circuit: if not accounted for, can lead to erroneous behavior. Comes about because: clock wires have delay, circuit is designed with a different number of clock buffers from the clock source to the various clock loads, or buffers have unequal delay. All synchronous circuits experience some clock skew: more of an issue for high-performance pipelined designs operating with very little extra time per clock cycle. clock skew, delay in distribution Fall 2002 EECS150 - Lec03-Timing Page 19

CLK CLK Clock Skew (cont.) CLK CL CLK clock skew, delay in distribution If clock period T = T CL +T setup +T clk Q, circuit will fail. Therefore: 1. Control clock skew a) Careful clock distribution. Equalize path delay from clock source to all clock loads by controlling wires delay and buffer delay. b) don t gate clocks. 2. T T CL +T setup +T clk Q + worst case skew. Most modern large high-performance chips (microprocessors) control end to end clock skew to a few tenths of a nanosecond. Fall 2002 EECS150 - Lec03-Timing Page 20

CLK CLK Clock Skew (cont.) CLK CL CLK clock skew, delay in distribution Note reversed buffer. In this case, clock skew actually provides extra time (adds to the effective clock period). This effect has been used to help run circuits as higher clock rates. Risky business! Fall 2002 EECS150 - Lec03-Timing Page 21