Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Similar documents
Lecture 10: Sequential Circuits

Lecture 11: Sequential Circuit Design

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

Sequential Circuit Design

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

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

Weste07r4.fm Page 183 Monday, January 5, :39 AM. 7.1 Introduction

Lecture 7: Clocking of VLSI Systems

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Engr354: Digital Logic Circuits

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

ECE380 Digital Logic

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

Sequential Logic: Clocks, Registers, etc.

Sequential Logic Design Principles.Latches and Flip-Flops

Master/Slave Flip Flops

Lecture-3 MEMORY: Development of Memory:

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

CSE140: Components and Design Techniques for Digital Systems

Lecture 10: Latch and Flip-Flop Design. Outline

CHAPTER 11 LATCHES AND FLIP-FLOPS

Module 3: Floyd, Digital Fundamental

Set-Reset (SR) Latch

Memory Elements. Combinational logic cannot remember

ASYNCHRONOUS COUNTERS

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Layout of Multiple Cells

Introduction to CMOS VLSI Design

7. Latches and Flip-Flops

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 16 Timing and Clock Issues

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Theory of Logic Circuits. Laboratory manual. Exercise 3

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Lesson 12 Sequential Circuits: Flip-Flops

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Chapter 9 Latches, Flip-Flops, and Timers

Lecture 8: Synchronous Digital Systems

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

CS 61C: Great Ideas in Computer Architecture Finite State Machines. Machine Interpreta4on

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Chapter 5. Sequential Logic

Counters. Present State Next State A B A B

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Asynchronous Counters. Asynchronous Counters

Design Verification & Testing Design for Testability and Scan

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

A New Paradigm for Synchronous State Machine Design in Verilog

Combinational Logic Design Process

路 論 Chapter 15 System-Level Physical Design

Counters & Shift Registers Chapter 8 of R.P Jain

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

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

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

ECE124 Digital Circuits and Systems Page 1

Flip-Flops, Registers, Counters, and a Simple Processor

Digital Logic Design Sequential circuits

Chapter 2 Clocks and Resets

Asynchronous counters, except for the first block, work independently from a system clock.

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Counters and Decoders

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Register File, Finite State Machines & Hardware Control Language

Modeling Latches and Flip-flops

Chapter 8. Sequential Circuits for Registers and Counters

BINARY CODED DECIMAL: B.C.D.

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

MM74HC4538 Dual Retriggerable Monostable Multivibrator

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

CHAPTER 11: Flip Flops

Pass Gate Logic An alternative to implementing complex logic is to realize it using a logic network of pass transistors (switches).

Contents COUNTER. Unit III- Counters

Sequential 4-bit Adder Design Report

CS311 Lecture: Sequential Circuits

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Obsolete Product(s) - Obsolete Product(s)

Digital Fundamentals

Lecture 5: Gate Logic Logic Optimization

A Lesson on Digital Clocks, One Shots and Counters

Class 11: Transmission Gates, Latches

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

A Lesson on Digital Clocks, One Shots and Counters

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

TRIPLE D FLIP-FLOP FEATURES DESCRIPTION PIN NAMES BLOCK DIAGRAM

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

The components. E3: Digital electronics. Goals:

Transcription:

EE4800 CMOS igital IC esign & Analysis Lecture 10 Sequential Circuit esign Zhuo Feng 10.1 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Outline Sequencing Element esign Max and Min-elay Clock Skew 10.2 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Combinational logic Sequencing output depends on current inputs Sequential logic output depends on current and previous inputs Requires separating previous, current, future Called state or tokens Ex: FSM, pipeline in out CL CL CL Finite State Machine Pipeline 10.3 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Cont. If tokens moved through pipeline at constant speed, no sequencing elements would be necessary Ex: fiber-optic cable Light pulses (tokens) are sent down cable Next pulse sent before first reaches end of cable No need for hardware to separate pulses But dispersion sets min time between pulses This is called wave pipelining in circuits In most circuits, dispersion is high elay fast tokens so they don t catch slow ones. 10.4 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Overhead Use flip-flops to delay fast tokens so they move through exactly one stage each cycle. Inevitably adds some delay to the slow tokens Makes circuit slower than just the logic delay Called sequencing overhead Some people call this clocking overhead But it applies to asynchronous circuits too Inevitable side effect of maintaining sequence 10.5 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Elements Latch: Level sensitive a.k.a. transparent latch, latch Flip-flop: edge triggered A.k.a. master-slave flip-flop, flip-flop, register Timing iagrams Transparent Opaque Edge-trigger Latch Flop (latch) (flop) 10.6 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Elements Latch: Level sensitive a.k.a. transparent latch, latch Flip-flop: edge triggered A.k.a. master-slave flip-flop, flip-flop, register Timing iagrams Transparent Opaque Edge-trigger Latch Flop (latch) (flop) 10.7 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Pass Transistor Latch Pros +Tiny + Low clock load Cons V t drop nonrestoring backdriving output noise sensitivity dynamic diffusion input Used in 1970 s 10.8 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Transmission gate +No V t drop - Requires inverted clock 10.9 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Inverting buffer +Restoring + No backdriving X + Fixes either Output noise sensitivity Or diffusion input Inverted output 10.10 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Tristate feedback + Static Backdriving risk X Static latches are now essential 10.1111 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Buffered input + Fixes diffusion input + Noninverting X 10.1212 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Latch esign Buffered output + No backdriving X Widely used in standard cells + Very robust (most important) - Rather large - Rather slow (1.5 2 FO4 delays) - High clock loading 10.1313 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

atapath latch Latch esign + Smaller, faster - unbuffered input X 10.1414 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Flip-Flop esign Flip-flop is built as pair of back-to-back latches X X 10.1515 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Enable Enable: ignore clock when en = 0 Mux: increase latch - delay Clock Gating: increase en setup time, skew Symbol Multiplexer esign Clock Gating esign en Latch 1 0 Latch Latch en en en F lop 1 0 en Flop lop F en 10.1616 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Reset Force output low when reset asserted Synchronous vs. asynchronous Symbol Latch Flop reset reset Synchronous Re eset reset reset Asynchronous Reset reset reset reset reset 10.1717 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Set / Reset Set forces output high when enabled Flip-flop pwith asynchronous set and reset set reset reset set 10.1818 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Sequencing Methods Flip-flops T c 2-Phase Latches Pulsed Latches Flip-Flo ops Flop Combinational Logic Flop 2-Phase Transpar rent Latches 1 2 Latch T c /2 t nonoverlap Latch t nonoverlap 1 2 1 Combinational Logic Combinational Logic Half-Cycle 1 Half-Cycle 1 Latch Pulsed Latches p t pw p Latc ch Combinational Logic p Latc ch 10.1919 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Timing iagrams Contamination and Propagation elays t pd t cd t pcq Logic Prop. elay Logic Cont. elay Latch/Flop Clk- Prop elay A Combinational Logic Y A Y t cd t pd t ccq t pdq t pcq t setup Latch/Flop Clk- Cont. elay Latch - Prop elay Latch - Cont. elay Latch/Flop Setup Time Flop t setup t ccq t hold t pcq t hold Latch/Flop Hold Time t setup t hold t t ccq pcq q Latch t cdq t pdq 10.20 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Max-elay: Flip-Flops ( setup ) tpd Tc t + tpcq sequencing overhead F1 1 Combinational Logic 2 F2 T c t pcq t setup 1 t pd 2 10.21 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Max elay: Pulsed Latches ( setup ) tpd Tc max tpdq, tpcq + t tpw sequencing overhead p p 1 L1 1 Combinational Logic 2 L2 2 T c 1 t pdq (a) t pw > t setup 1 t t pd 2 p t pcq tpd tsetup T c t pw (b) t pw < t setup 1 2 10.22 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Min-elay: Flip-Flops t t t cd hold ccq F1 1 CL 2 F2 1 t ccq t cd 2 t hold 10.23 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Clock Skew We have assumed zero clock skew Two types of clock skews: Negative skew: sending register receives the clock earlier than the receiving register Positive skew: receiving register gets the clock earlier than the sending register. Clocks really have uncertainty t in arrival time ecreases maximum propagation delay Increases minimum contamination delay ecreases time borrowing 10.24 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010

Skew: Flip-Flops ( setup skew ) tpd Tc tpcq + t + t sequencing overhead F1 1 Combinational Logic T c 2 F2 t t t + t cd hold ccq skew t pcq t skew 1 t pdq t setup 2 F1 1 CL 2 F2 t skew t hold 1 t ccq 2 t cd 10.25 Z. Feng MTU EE4800 CMOS igital IC esign & Analysis 2010