CMOS Latches and Flip-Flops

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

ECE321 Electronics I

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

Topic 8. Sequential Circuits 1

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

Logic Design. Flip Flops, Registers and Counters

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

Chapter 11 Latches and Flip-Flops

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

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

Engr354: Digital Logic Circuits

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

Unit 11. Latches and Flip-Flops

Sequential Circuit Design: Part 1

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

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

Sequential Logic. References:

Sequential Design Basics

D Latch (Transparent Latch)

Sequential Circuit Design: Part 1

ELE2120 Digital Circuits and Systems. Tutorial Note 7

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

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

Sequential Circuits: Latches & Flip-Flops

SEQUENTIAL LOGIC. Sequential Logic

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

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

Synchronous Sequential Logic

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

Lecture 21: Sequential Circuits. Review: Timing Definitions

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

Digital Integrated Circuits EECS 312

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

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.

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).

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

CHAPTER 11 LATCHES AND FLIP-FLOPS

Lecture 8: Sequential Logic

INTRODUCTION TO SEQUENTIAL CIRCUITS

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

11. Sequential Elements

6. Sequential Logic Flip-Flops

High Performance Dynamic Hybrid Flip-Flop For Pipeline Stages with Methodical Implanted Logic

Lecture 7: Sequential Networks

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

UNIT III COMBINATIONAL AND SEQUENTIAL CIRCUIT DESIGN

Chapter 5 Synchronous Sequential Logic

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

Combinational vs Sequential

Sequential Logic Circuits

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Clocking Spring /18/05

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

CS8803: Advanced Digital Design for Embedded Hardware

Feedback Sequential Circuits

Advanced Digital Logic Design EECS 303

MUX AND FLIPFLOPS/LATCHES

Switching Circuits & Logic Design

Fundamentals of Computer Systems

Introduction to Sequential Circuits

CHAPTER 1 LATCHES & FLIP-FLOPS

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

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

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

Combinational / Sequential Logic

Project 6: Latches and flip-flops

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Fundamentals of Computer Systems

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

ECE 341. Lecture # 2

Chapter. Synchronous Sequential Circuits

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

Lecture 11: Sequential Circuit Design

Flip-flop and Registers

II. ANALYSIS I. INTRODUCTION

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Chapter 5: Synchronous Sequential Logic

Introduction to Microprocessor & Digital Logic

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

CHAPTER 4: Logic Circuits

LATCHES & FLIP-FLOP. Chapter 7

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

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

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

Chapter 5 Flip-Flops and Related Devices

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

CHAPTER 4: Logic Circuits

Flip-Flops and Sequential Circuit Design

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

ELCT201: DIGITAL LOGIC DESIGN

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

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

Fundamentals of Computer Systems

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

Rangkaian Sekuensial. Flip-flop

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Transcription:

CMOS Latches and Flip-Flops João Canas Ferreira University of Porto Faculty of Engineering 2016-05-04

Topics 1 General Aspects 2 Circuits based on positive feedback 3 Circuits based on charge storage João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 2 / 30

Sequential digital circuits Two main data storage mechanisms: positive feedback electric charge storage João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 3 / 30

Latch vs. register (flip-flop) D Q D Q Clk Clk Clk D Q Clk D Q Latch stores data while clock is low (level-sensitive circuit) Register stores date on rising clock edge (edge-triggered) João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 4 / 30

Latches Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 5 / 30

Circuits with latches Latch N is transparent for φ = 0 Latch P is transparent for φ = 1 N Latch Logic P Latch Logic João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 6 / 30

Timing parameters CLK t su t hold t Register D Q D stable data t CLK t c-q Q stable data t t su t hold t c-q t plogic t cd how long the input data must be stable before the active clock edge how long the input should remain stable after the active clock edge output propagation delay referred to the clock edge worst propagation delay through combinational logic smallest propagation delay through combinational logic (contamination delay) Conditions for correct operation: T t c q + t plogic + t su t cdreg + t cdlogic t hold João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 7 / 30

Timining characterization t d-q D Q D Q clk clk t c-q t c-q João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 8 / 30

Positive feedback implies bistability João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 9 / 30

Topics 1 General Aspects 2 Circuits based on positive feedback 3 Circuits based on charge storage João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 10 / 30

Latches based on multiplexers 1 Q 0 Q D 0 D 1 CLK Q=Clk Q Clk In negative latch CLK Q=Clk Q Clk In positive latch João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 11 / 30

CMOS latch João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 12 / 30

Latch: alternative implementation Only uses NMOS pass transistors Important: There should be no overlap of the clock signals João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 13 / 30

Master-slave register Source: [Rabaey03] Two latches of opposite polarity (master: negative, slave: positive) The register is positive edge-triggered (active edge is the rising edge) João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 14 / 30

Master-slave register: implementation Source: [Rabaey03] t su = 3 t pd_inv + t tp_dx t c q = t pd_inv + t tp_dx t hold = 0 Main issue: relatively large charge on the clock signal João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 15 / 30

Propagation delay t c q (lh) = 23 ps FreePDK45 technology t c q (hl) = 26 ps João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 16 / 30

Setup time simulation João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 17 / 30

Setup time violation (simulation) João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 18 / 30

Clock load reduction Source: [Rabaey03] I 2 and I 4 should be weak inverters (ratioed circuit) Reverse current is, typically, not a problem. João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 19 / 30

Issue: clock signal overlap Source: [Rabaey03] There is a direct path between D and Q (overlap on the rising edge) Contention on node A Main solution: avoid overlapping clock signals or use pseudo-static register. João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 20 / 30

Forcing the feedback loop Source: [Rabaey03] set/reset latch based on NOR gates fully asynchronous (is not a good match to the synchronous design style) João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 21 / 30

SR latch with clock signal Source: [Rabaey03] Better for use in synchronous circuits Sizing problem: how should transistors M5-M6 and M7-M8 be sized? João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 22 / 30

Dimensioning example M5 n1 s 0 0 NMOS + L=50n W= factor*90n M6 qbar clk n1 0 NMOS + L=50n W= factor*90n * FreePDK45 technology João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 23 / 30

Topics 1 General Aspects 2 Circuits based on positive feedback 3 Circuits based on charge storage João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 24 / 30

Static vs. dynamic latch Static Dynamic Source: [Rabaey03] João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 25 / 30

Dynamic register Positive edge-triggered t setup < t x_gate t hold = 0 t c q < 2 t pinv +t x_gate Source: [Rabaey03] Clock overlap is a significant issue Source: [Rabaey03] t 0 0 < t T1 + t I1 + t T2 t 1 1 < t hold João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 26 / 30

Pseudo-static latch Source: [Rabaey03] Much better noise immunity The feedback inverter must be weak. João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 27 / 30

C 2 MOS latches and registers C 2 MOS: Clocked CMOS Source: [Rabaey03] Immune to clock overlap if the rise/fall times are sufficiently small. João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 28 / 30

Behavior for overlapping clock signals At X: possible transition 0 1 At X: possible transition 1 0 (def. hold time) During the overlap only one of the pull-up or pull-down networks is active. João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 29 / 30

References Some of the figures come from the book: Rabaey03 J. M. Rabaey et al, Digital Integrated Circuits, 2 nd edition,prentice Hall, 2003. http://bwrc.eecs.berkeley.edu/icbook/ João Canas Ferreira (FEUP) CMOS Latches and Flip-Flops 2016-05-04 30 / 30