Chapter #6: Sequential Logic Design 6.2 Timing Methodologies

Slides:



Advertisements
Similar presentations
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Advertisements

Introduction to CMOS VLSI Design Sequential Circuits.
11/12/2004EE 42 fall 2004 lecture 311 Lecture #31 Flip-Flops, Clocks, Timing Last lecture: –Finite State Machines This lecture: –Digital circuits with.
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.
Designing Sequential Logic Circuits
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
ELEC 256 / Saif Zahir UBC / 2000 Timing Methodology Overview Set of rules for interconnecting components and clocks When followed, guarantee proper operation.
Lecture 11: Sequential Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 11: Sequential Circuits2 Outline  Sequencing  Sequencing Element Design.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops, Registers, Counters, and a Simple Processor
1 Kuliah Rangkaian Digital Kuliah 8: Rangkaian Logika Sekuensial Teknik Komputer Universitas Gunadarma.
EE2420 – Digital Logic Summer II 2013
Introduction to Sequential Logic Design Bistable elements Latches.
Chapter #6: Sequential Logic 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,
1 CS 151: Digital Design Chapter 5: Sequential Circuits 5-3: Flip-Flops I.
Page 1 Sequential Logic Basic Binary Memory Elements.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
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.
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.
Lecture 9 Memory Elements and Clocking
Sequential Logic 1  Combinational logic:  Compute a function all at one time  Fast/expensive  e.g. combinational multiplier  Sequential logic:  Compute.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
11/10/2004EE 42 fall 2004 lecture 301 Lecture #30 Finite State Machines Last lecture: –CMOS fabrication –Clocked and latched circuits This lecture: –Finite.
11/15/2004EE 42 fall 2004 lecture 321 Lecture #32 Registers, counters etc. Last lecture: –Digital circuits with feedback –Clocks –Flip-Flops This Lecture:
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Flip-Flop Types.
Introduction to CMOS VLSI Design Lecture 10: Sequential Circuits Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
ELEC 256 / Saif Zahir UBC / 2000 Sequential Logic Design Sequential Networks Simple Circuits with Feedback R-S Latch J-K Flipflop Edge -Triggered Flip-Flops.
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.
CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 17: Static Sequential Circuits Mary Jane Irwin.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Digital Integrated Circuits A Design Perspective
Introduction to Sequential Logic Design Flip-flops.
Digital System Design. Intro. VLSI: CMOS inverter.
CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 17: Static Sequential Circuits Mary Jane Irwin.
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
Introduction to Sequential Logic Design Flip-flops.
D Latch Delay (D) latch:a) logic symbolb) NAND implementationc) NOR implementation.
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.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Introduction to Sequential Logic Design Bistable elements.
BR 8/991 DFFs are most common Most programmable logic families only have DFFs DFF is fastest, simplest (fewest transistors) of FFs Other FF types (T, JK)
Sp09 CMPEN 411 L18 S.1 CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 16: Static Sequential Circuits [Adapted from Rabaey’s Digital Integrated Circuits,
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
6-1 Programmable and Steering Logic Chapter #6: Sequential Logic Design.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
Designing Sequential Logic Circuits Ilam university.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
Clocking System Design
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
Review: Sequential Definitions
Dept. of Electrical Engineering
Chapter #6: Sequential Logic Design
Introduction to Sequential Logic Design
CS Fall 2005 – Lec. #5 – Sequential Logic - 1
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 19 Logistics Last lecture Today
Presentation transcript:

Chapter #6: Sequential Logic Design 6.2 Timing Methodologies

Timing Methodology Overview • Set of rules for interconnecting components and clocks • When followed, guarantee proper operation of system • Approach depends on building blocks used for memory elements For systems with latches: Narrow Width Clocking Multiphase Clocking (e.g., Two Phase Non-Overlapping) For systems with edge-triggered flipflops: Single Phase Clocking • Correct Timing: (1) correct inputs, with respect to time, are provided to the FFs (2) no FF changes more than once per clocking event

Timing Methodologies Cascaded Flipflops and Setup/Hold/Propagation Delays Shift Register S,R are preset, preclear New value to first stage while second stage obtains current value of first stage Correct Operation, assuming positive edge triggered FF Should not mix flip-flops that are sensitive to different timing events within the same circuit.

Timing Methodologies Cascaded Flipflops and Setup/Hold/Propagation Delays Why this works: • Propagation delays far exceed hold times; Clock width constraint exceeds setup time • This guarantees following stage will latch current value before it is replaced by new value • Assumes infinitely fast distribution of the clock Timing constraints guarantee proper operation of cascaded components

Narrow Width Clocking versus Multiphase Clocking Timing Methodologies Narrow Width Clocking versus Multiphase Clocking Level Sensitive Latches vs. Edge Triggered Flipflops • Latches use fewer gates to implement a memory function • Less complex clocking with edge triggered devices CMOS Dynamic Storage Element Feedback path broken by two phases of the clock (just like master/slave idea!) 8 transistors to implement memory function but requires two clock signals constrained to be non-overlapping Edge-triggered D-FF: 6 gates (5 x 2-input, 1 x 3-input) = 26 transistors!

for Clocked Sequential latches or edge-triggered FFs Timing Methodologies Narrow Width Clocking for Systems with Latches for State Generic Block Diagram for Clocked Sequential System state implemented by latches or edge-triggered FFs Two-sided Constraints: must be careful of very fast signals as well as very slow signals! Clock Width < fastest propagation through comb. logic plus latch prop delay Clock Period > slowest propagation through comb. logic (rising edge to rising edge)

Two Phase Non-Overlapped Clocking Timing Methodologies Two Phase Non-Overlapped Clocking Clock Waveforms: must never overlap! only worry about slow signals F1 F2 F1 F1 F2 F2 Embedding CMOS storage element into Clocked Sequential Logic Note that Combinational Logic can be partitioned into two pieces C/L1: inputs latched and stable by end of phase 1; compute between phases, latch outputs by end of phase 2 C/L2: just the reverse Combinational Logic 1 Combinational Logic 2

Timing Methodologies Generating Two-Phase Non-Overlapping Clocks Single reference clock (or crystal) Phase 1 high while clock is low Phase 2 high while clock is high Phase X cannot go high until phase Y goes low! Non-overlap time can be increased by increasing the delay on the feedback path

Timing Methodologies The Problem of Clock Skew Correct behavior assumes next state of all storage elements determined by all storage elements at the same time Not possible in real systems! • logical clock driven from more than one physical circuit with timing behavior •  different wire delay to different points in the circuit Effect of Skew on Cascaded Flipflops: CLK2 is a delayed version of CLK1 Original State: Q0 = 1, Q1 = 1, In = 0 Because of skew, next state becomes: Q0 = 0, Q1 = 0, not Q0 = 0, Q1 = 1

Timing Methodologies Design Strategies for Minimizing Clock Skew Typical propagation delays for LS FFs: 13 ns Need substantial clock delay (on the order of 13 ns) for skew to be a problem in this relatively slow technology Nevertheless, the following are good design practices: • distribute clock signals in general direction of data flows • wire carrying the clock between two communicating components should be as short as possible • for multiphase clocked systems, distribute all clocks in similar wire paths; this minimizes the possibility of overlap • for the non-overlap clock generate, use the phase feedback signals from the furthest point in the circuit to which the clock is distributed; this guarantees that the phase is seen as low everywhere before it allows the next phase to go high