Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Similar documents
Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

9/18/2008 GMU, ECE 680 Physical VLSI Design

GMU, ECE 680 Physical VLSI Design

Digital Integrated Circuits A Design Perspective

EE141- Spring 2007 Digital Integrated Circuits

Lecture 9: Sequential Logic Circuits. Reading: CH 7

Integrated Circuits & Systems

Hold Time Illustrations

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

Sequential Logic. Digital Integrated Circuits A Design Perspective. Latch versus Register. Naming Conventions. Designing Sequential Logic Circuits

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

MODULE 5 Chapter 7. Clocked Storage Elements

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab

EE141Microelettronica. CMOS Logic

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

EECS 427 Lecture 15: Timing, Latches, and Registers Reading: Chapter 7. EECS 427 F09 Lecture Reminders

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

EE141. Lecture 28 Multipliers. Lecture #20. Project Phase 2 Posted. Sign up for one of three project goals today

Designing Sequential Logic Circuits

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

CMPEN 411 VLSI Digital Circuits Spring 2012 Lecture 17: Dynamic Sequential Circuits And Timing Issues

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

Clock Strategy. VLSI System Design NCKUEE-KJLEE

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Digital Integrated Circuits A Design Perspective

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Sequential vs. Combinational

EECS 427 Lecture 14: Timing Readings: EECS 427 F09 Lecture Reminders

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1

Lecture 4: Implementing Logic in CMOS

Timing Issues. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolić. January 2003

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Time Allowed 3:00 hrs. April, pages

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Properties of CMOS Gates Snapshot

Fundamentals of Computer Systems

Jin-Fu Li Advanced Reliable Systems (ARES) Lab. Department of Electrical Engineering. Jungli, Taiwan

Memory, Latches, & Registers

9/18/2008 GMU, ECE 680 Physical VLSI Design

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Lecture 9: Digital Electronics

EE 560 CHIP INPUT AND OUTPUT (I/0) CIRCUITS. Kenneth R. Laker, University of Pennsylvania

Integrated Circuits & Systems

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

ELCT201: DIGITAL LOGIC DESIGN

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective

COMBINATIONAL LOGIC. Combinational Logic

Circuit A. Circuit B

Issues on Timing and Clocking

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements.

GMU, ECE 680 Physical VLSI Design 1

Lecture 9: Clocking, Clock Skew, Clock Jitter, Clock Distribution and some FM

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

THE INVERTER. Inverter

The Linear-Feedback Shift Register

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

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

P2 (10 points): Given the circuit below, answer the following questions:

Sequential Logic Worksheet

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400)

Xarxes de distribució del senyal de. interferència electromagnètica, consum, soroll de conmutació.

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

F14 Memory Circuits. Lars Ohlsson

Digital Integrated Circuits A Design Perspective

Chapter 4. Sequential Logic Circuits

Topic 8: Sequential Circuits

Sequential Logic. Road Traveled So Far

ALU, Latches and Flip-Flops

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Chapter 7 Sequential Logic

Chapter #6: Sequential Logic Design

Unit 7 Sequential Circuits (Flip Flop, Registers)

Sequential Logic Circuits

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

EEE 421 VLSI Circuits

Sequential Logic. Handouts: Lecture Slides Spring /27/01. L06 Sequential Logic 1

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Digital EE141 Integrated Circuits 2nd Combinational Circuits

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Dual D Flip-Flop with Set and Reset High-Speed Silicon-Gate CMOS

Lecture 1: Circuits & Layout

The Devices. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. July 30, 2002

CMOS Inverter. Performance Scaling

EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

Chapter 3. Chapter 3 :: Topics. Introduction. Sequential Circuits

Digital Integrated Circuits A Design Perspective. Arithmetic Circuits. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

Lecture 320 Improved Open-Loop Comparators and Latches (3/28/10) Page 320-1

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

CPE/EE 427, CPE 527 VLSI Design I L06: CMOS Inverter, CMOS Logic Gates. Course Administration. CMOS Inverter: A First Look

Chapter 5 CMOS Logic Gate Design

Integrated Circuits & Systems

Transcription:

igital Integrated Circuits A esign Perspective Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic esigning i Sequential Logic Circuits November 2002

Sequential Logic Inputs Current State COMBINATIONAL LOGIC Registers Outputs Next state 2 storage mechanisms positive feedback charge-based

Naming Conventions In our text: alatchislevel level sensitive a register is edge-triggered There are many different naming conventions For instance, many books call edgetriggered elements flip-flops This leads to confusion however

Latch versus Register Latch stores data when clock is low Register stores data when clock rises Clk Clk Clk Clk

Latches Positive Latch Negative Latch In G Out In Out G clk In Out clk In Out Out stable Out follows In Out stable Out follows In

Latch-Based esign N latch is transparent when φ = 0 φ P latch is transparent when φ = 1 N Latch Logic P Latch Logic

Timing efinitions t su t hold t Register ATA STABLE t t c 2 q ATA STABLE t

Characterizing Timing t 2 Clk Clk t C 2 Register t C 2 Latch

Maximum Clock Frequency φ FF s LOGIC t p,comb t clk- + t p,comb + t setup = T Also: t cdreg + t cdlogic > t hold t cd : contamination delay = minimum delay

Positive Feedback: Bi-Stability V i1 V o1 =V i2 V o2 V o1 V i2 V o2 =V i 1 V o1 V 5Vo o1 V i 2 V i1 V o2 V i2 =V o1 A V i25 o1 V 2 C B V i1 = V o2

Meta-Stability i2 5V o1 A i2 5V o1 A V i V i C C d B B V i1 5V o2 d Gain should be larger than 1 in the transition region d V i1 5V o2

Writing into a Static Latch Use the clock as a decoupling signal, that distinguishes between the transparent and opaque states Converting into a MUX Forcing the state (can implement as NMOS-only)

Mux-Based Latches Negative latch (transparent when = 0) Positive latch (transparent when = 1) 1 0 0 1 = Clk + Clk In = Clk + Clk In

Mux-Based Latch

Mux-Based Latch M M NMOS only Non-overlapping overlapping clocks

Master-Slave (Edge-Triggered) Register Master Slave 1 0 M 0 1 M Two opposite latches trigger on edge Also called master-slave latch pair

Master-Slave Register Multiplexer-based latch pair I 2 T 2 I 3 I 5 T 4 I 6 M I 1 T 1 I 4 T 3

Clk- elay 2.5 Volt ts 1.5 05 0.5 t c 2 q(lh) t c 2 q(hl) 2 05 0.5 0 0.5 1 1.5 2 2.5 time, nsec

Setup Time 3.0 2.5 3.0 2.5 2.0 M 2.0 I 2 2 T 2 lts Vo 1.5 1.0 lts Vo 1.5 1.0 0.5 I 2 2 T 2 0.5 M 0.0 0.0 2 0.5 0 02 0.2 04 0.4 06 0.6 08 0.8 1 2 0.5 0 02 0.2 04 0.4 06 0.6 08 0.8 1 time (nsec) time (nsec) (a) T setup 5 0.21 nsec (b) T setup 5 0.20 nsec

Reduced Clock Load Master-Slave Register T 1 I 1 T 2 I 3 I 2 I 4

Avoiding Clock Overlap X A B (a) Schematic diagram (b) Overlapping clock pairs

Overpowering the Feedback Loop Cross-Coupled Coupled Pairs NOR-based set-reset S S S R 0 0 R R 1 0 1 0 0 1 0 1 1 1 0 0 Forbidden State

Cross-Coupled Coupled NAN Cross-coupled NANs Added clock V S M 2 M 4 M R 8 M 1 M 3 M 6 S M 5 M 7 R This is not used in datapaths any more, but is a basic building memory cell

Sizing Issues 2.0 3 S 1.5 2 W = 0.5 μm (Volts s) 1.0 0.5 00 0.0 2.0 2.5 3.0 W/L 5 and 6 3.5 4.0 Volts 1 W = 0.6 μm W = 0.7 μm W = 0.8 μm W = 0.9 μm W = 1 μm 0 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 time (ns) (a) (b) Output voltage dependence on transistor width Transient response

Storage Mechanisms Static ynamic (charge-based)

Making a ynamic Latch Pseudo-Static ti

More Precise Setup Time Clk t t (a) t 1.05t C 2 t C 2 t Su t 2 C t H (b)

Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case) CN TG1 1 S M Inv2 M Clk- elay Inv1 CP T Clk- ata T Setup-1 Clock T Setup-1 Time t=0 Time

Setup/Hold Time Illustrations Circuit it before clock arrival (Setup-1 case) CN TG1 1 S M Inv2 M Clk- elay Inv1 CP T Clk- ata T Setup-1 Clock T Setup-1 Time t=0 Time

Setup/Hold Time Illustrations Circuit it before clock arrival (Setup-1 case) CN TG1 1 S M Inv2 M Clk- elay Inv1 CP T Clk- ata T Setup-1 Clock T Setup-1 Time t=0 Time

Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case) CN TG1 1 S M Inv2 M Clk- elay Inv1 T Clk- CP ata Clock T Setup-1 Time T Setup-1 t=0 Time

Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case) CN TG1 1 S M Inv2 M Clk- elay T Clk- Inv1 CP ata Clock T Setup-1 Time T Setup-1 t=0 Time

Setup/Hold Time Illustrations Hold-1 case CN TG1 1 S M Inv2 M Clk- elay Inv1 CP 0 T Clk- Clock ata T Hold-1 Time T Hold-1 t=0 Time

Setup/Hold Time Illustrations Hold-1 case CN TG1 1 S M Inv2 M Clk- elay Inv1 CP 0 T Clk- Clock ata T Hold-1 Time T Hold-1 t=0 Time

Setup/Hold Time Illustrations Hold-1 case CN TG1 1 S M Inv2 M Clk- elay Inv1 CP 0 T Clk- T Hold-1 Time Clock ata T Hold-1 t=0 Time

Setup/Hold Time Illustrations Hold-1 case CN TG1 1 S M Inv2 M Clk- elay Inv1 T Clk- CP 0 Clock ata T Hold-1 Time T Hold-1 t=0 Time

Setup/Hold Time Illustrations Hold-1 case CN TG1 1 S M Inv2 M T Clk- Clk- elay Inv1 CP 0 Clock T Hold-1 ata T Hold-1 Time t=0 Time

Other Latches/Registers: C 2 MOS V V M 2 M 6 M 4 X M 8 M 3 C L1 M 7 C L2 M 1 M 5 Master Stage Slave Stage Keepers can be added to make circuit pseudo-staticstatic

Insensitive to Clock-Overlap V V V V M 2 M 6 M 2 M 6 M 4 0 0 X M 8 X 1 M 3 1 M 7 M 1 M 5 M 1 M 5 (a) (0-0) overlap (b) (1-1) overlap

Pipelining a REG a REG log REG Out REG REG log REG Out b REG b REG Reference Pipelined

Other Latches/Registers: t TSPC V V V V Out In In Out Positive latch (transparent when = 1) Negative latch (transparent when = 0)

Including Logic in TSPC V V V V PUN In 1 In 2 In PN In 1 In 2 Example: logic inside the latch AN latch

TSPC Register V V V M 3 M 6 M 9 Y M 2 X M 5 M 8 M 1 M 4 M 7

Pulse-Triggered Latches An Alternative ti Approach Ways to design an edge-triggered sequential cell: Master-Slave Pulse-Triggered Latches Latch ata L1 L2 L ata Clk Clk Clk Clk Clk

Pulsed Latches V V M 3 M 6 V G M 2 G M 5 M P X G M 1 M 4 M N (a) register (b) glitch generation G (c) glitch clock

Pulsed Latches Hybrid Latch Flip-flop (HLFF), AM K-6 and K-7 : P 3 x P 1 M 3 M 6 P M M 2 5 2 M 1 M 4

Hybrid Latch-FF Timing 3.0 2.5 2.0 Volts 1.5 1.0 0.5 0.0 20.5 00 0.0 02 0.2 04 0.4 06 0.6 08 0.8 10 1.0 time (ns)

Latch-Based Pipeline In F C 1 C 2 C 3 G Out Compute F compute G

Non-Bistable Sequential Circuits Schmitt Trigger In Out V ou t V OH VTC with hysteresis V OL Restores signal slopes V M V M+ V in

Noise Suppression using Schmitt Trigger V in V out V M+ V M t 0 t t 0 +t p t

CMOS Schmitt Trigger V M 2 M 4 V in X V out M 1 M 3 Moves switching threshold of the first inverter

Schmitt Trigger Simulated VTC 2.5 2.5 2.0 2.0 1.5 V M1 1.5 X(V) 1.0 V 0.5 V M2 1.0 x (V) k= 1 V k= 2 0.5 k= 3 k= 4 0.0 0.0 0.5 1.0 1.5 2.0 2.5 0.0 0.0 0.5 1.0 1.5 2.0 2.5 V in (V) V in (V) Voltage-transfer characteristics with hysteresis. The effect of varying the ratio of the PMOS device M 4. The width is k* 0.5 m m.

CMOS Schmitt Trigger (2) V M 4 M 3 M 6 In Out M 2 X M 5 V M 1

Multivibrator Circuits R S Bistable Multivibrator flip-flop, Schmitt Trigger T Monostable Multivibrator one-shot Astable Multivibrator oscillator

Transition-Triggered Triggered Monostable In ELAY t d Out t d

Monostable Trigger (RC-based) V In A R B Out C (a) Trigger circuit. In B V M (b) Waveforms. Out t t 1 t 2

Astable Multivibrators (Oscillators) 0 1 2 N-1 3.0 2.5 V 1 V 3 V 5 Ring Oscillator 2.0 Volts 1.5 1.0 0.5 0.0 20.5 0.0 0.5 1.0 1.5 time (ns) simulated response of 5-stage oscillator

Relaxation Oscillator I1 Out 1 I2 Out 2 R C Int T = 2 (log3) RC

Voltage Controller Oscillator (VCO) V M6 V M4 Schmitt Trigger restores signal slopes In M2 I ref M1 I ref V contr M5 M3 Current starved inverter 6 t ph L (n nsec) 4 2 0.0 0.5 1.5 2.5 V contr (V) propagation delay as a function of control voltage

ifferential elay Element and VCO V o 2 V o 1 v 3 in1 in2 v 1 v 2 v 4 V ctrl delay cell 3.0 two stage VCO 2.5 V 1 V 2 V 3 V 4 2.0 15 1.5 1.0 0.5 0.0 2 0.5 0.5 1.5 time (ns) 2.5 3.5 simulated waveforms of 2-stage VCO