CMPEN 411. Spring Lecture 18: Static Sequential Circuits

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

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

Digital Integrated Circuits A Design Perspective

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

Digital Integrated Circuits A Design Perspective

Integrated Circuits & Systems

Digital Integrated Circuits A Design Perspective

EE141- Spring 2007 Digital Integrated Circuits

GMU, ECE 680 Physical VLSI Design

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

Lecture 9: Sequential Logic Circuits. Reading: CH 7

MODULE 5 Chapter 7. Clocked Storage Elements

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Hold Time Illustrations

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

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

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

Sequential vs. Combinational

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

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

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

CMOS Inverter. Performance Scaling

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

EE141Microelettronica. CMOS Logic

F14 Memory Circuits. Lars Ohlsson

CMPEN 411 VLSI Digital Circuits Spring Lecture 21: Shifters, Decoders, Muxes

Designing Sequential Logic Circuits

ELCT201: DIGITAL LOGIC DESIGN

Integrated Circuits & Systems

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

Clock Strategy. VLSI System Design NCKUEE-KJLEE

CMPEN 411 VLSI Digital Circuits Spring Lecture 14: Designing for Low Power

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Sequential Logic Worksheet

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

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

Memory, Latches, & Registers

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

Synchronous Sequential Logic

Chapter 7. Sequential Circuits Registers, Counters, RAM

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

ALU A functional unit

ALU, Latches and Flip-Flops

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

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

Chapter 7 Sequential Logic

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

Problem Set 9 Solutions

Fundamentals of Digital Design

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Lecture 3 Review on Digital Logic (Part 2)

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

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

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

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

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

Topic 8: Sequential Circuits

UMBC. At the system level, DFT includes boundary scan and analog test bus. The DFT techniques discussed focus on improving testability of SAFs.

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

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

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

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

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

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

ELEN Electronique numérique

EE241 - Spring 2000 Advanced Digital Integrated Circuits. References

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

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

LECTURE 28. Analyzing digital computation at a very low level! The Latch Pipelined Datapath Control Signals Concept of State

Digital Integrated Circuits A Design Perspective

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Logic Design - Chapter 4

Sequential Logic Circuits

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

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

Fundamentals of Computer Systems

Laboratory Exercise #8 Introduction to Sequential Logic

Fundamentals of Computer Systems

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

EE 447 VLSI Design. Lecture 5: Logical Effort

Sequential Logic. Road Traveled So Far

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

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

Sequential Circuits. Circuits with state. Silvina Hanono Wachman Computer Science & Artificial Intelligence Lab M.I.T. L06-1

Review for Final Exam


Fundamentals of Computer Systems

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

Digital Integrated Circuits A Design Perspective

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

Lecture 24. CMOS Logic Gates and Digital VLSI II

University of Toronto. Final Exam

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

Introduction to Digital Logic

Transcription:

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 18: Static Sequential Circuits [Adapted from Rabaey s Digital Integrated Circuits, Second Edition, 2003 J. Rabaey, A. Chandrakasan, B. Nikolic] Sp11 CMPEN 411 L18 S.1

A Chip Example Type Gate_Count Area ---------------------------- NAND 70232 425102 AND 44417 310227 OR 21652 139790 NOR 43635 361006 XOR 17095 211430 XNOR 9699 127071 INV 78870 269643 MUX 34505 422824 REG 112805 2737435 MEM 138 17937962 OA 37878 379645 AO 40396 480452 ADD 4185 87885 ------------------------ total gate count 502597 total gate count for combinatorial 389654 total area 23,766,927 um2 total area for combinatorial 3,091,530 um2 87% of the area are memory and registers Sp11 CMPEN 411 L18 S.2

Sequential Logic Inputs Current State Combinational Logic Outputs Next State clock Sp11 CMPEN 411 L18 S.3

Timing Metrics clock clock t su t hold time In data stable t c-q time Out output stable output stable time Sp11 CMPEN 411 L18 S.4

System Timing Constraints Inputs Current State Combinational Logic Outputs Next State clock T (clock period) t cdreg + t cdlogic t hold T t c-q + t plogic + t su Sp11 CMPEN 411 L18 S.5

Static vs Dynamic Storage Static storage preserve state as long as the power is on have positive feedback (regeneration) with an internal connection between the output and the input useful when updates are infrequent (clock gating) Dynamic storage store state on parasitic capacitors only hold state for short periods of time (milliseconds) require periodic refresh usually simpler, so higher speed and lower power Sp11 CMPEN 411 L18 S.6

Latches vs Flipflops Latches level sensitive circuit that passes inputs to when the clock is high (or low) - transparent mode input sampled on the falling edge of the clock is held stable when clock is low (or high) - hold mode Flipflops (edge-triggered) edge sensitive circuits that sample the inputs on a clock transition - positive edge-triggered: 0 1 - negative edge-triggered: 1 0 built using latches (e.g., master-slave flipflops) Sp11 CMPEN 411 L18 S.7

Positive and Negative Latches clock clock In In Out Out Sp11 CMPEN 411 L18 S.8

Review: The Regenerative Property V i1 V o1 V i2 V o2 cascaded inverters A C B If the gain in the transient region is larger than 1, only A and B are stable operation points. C is a metastable operation point. V i1 = V o2 Sp11 CMPEN 411 L18 S.9

Bistable Circuits The cross-coupling of two inverters results in a bistable circuit (a circuit with two stable states) V i1 V i2 Have to be able to change the stored value by making A (or B) temporarily unstable by increasing i the loop gain to a value larger than 1 done by applying a trigger pulse at V i1 or V i2 the width of the trigger pulse need be only a little larger than the total propagation delay around the loop circuit (twice the delay of an inverter) Two approaches used cutting the feedback loop (mux based latch) overpowering the feedback loop (as used in SRAMs) Sp11 CMPEN 411 L18 S.10

Bistable Circuits The cross-coupling of two inverters results in a bistable circuit (a circuit with two stable states) V i1 V i2 Have to be able to change the stored Two approaches used cutting the feedback loop (mux based latch) overpowering the feedback loop (as used in SRAMs) Sp11 CMPEN 411 L18 S.11

Review (from CSE 271): SR Latch S R! S R! 0 0! memory 1 0 1 0 set 0 1 0 1 reset 1 1 0 0 disallowed Sp11 CMPEN 411 L18 S.12

Review (from CSE 271): Clocked D Latch D! D clock transparent mode clock clock hold mode Sp11 CMPEN 411 L18 S.13

MUX Based Latches Change the stored value by cutting the feedback loop feedback 1 D 0 feedback 0 D 1 Negative Latch Positive Latch = &! & D transparent when the clock is low =! & & D transparent when the clock is high Sp11 CMPEN 411 L18 S.14

TG MUX Based Latch Implementation! D input sampled (transparent mode) D! feedback (hold mode) Sp11 CMPEN 411 L18 S.15

PT MUX Based Latch Implementation! D! Reduced area and clock load, but a threshold drop at output of pass transistors so reduced noise margins and performance Sp11 CMPEN 411 L18 S.16! input sampled (transparent mode) feedback (hold mode)

Latch Race Problem B B B Which value of B is stored? Two-sided clock constraint T t c-q + t plogic + t su T high < t c-q + t cdlogic Sp11 CMPEN 411 L18 S.17

Master Slave Based ET Flipflop D 0 1 1 D 0 M Slave Master D clock = 0 transparent hold M = 0 1 hold transparent Sp11 CMPEN 411 L18 S.18

MS ET Implementation Master Slave Sa I 2 T I I 3 5 T I 2 4 6 M D I I 1 T 1 4 T 3! Sp11 CMPEN 411 L18 S.19

MS ET Implementation Master Slave Sa I 2 T I I 3 5 T I 2 4 6 M D I I 1 T 1 4 T 3 master transparent slave hold master hold slave transparent! Sp11 CMPEN 411 L18 S.20

MS ET Timing Properties Assume propagation delays are t pd_inv and t pd_tx, that the contamination delay is 0, and that the inverter delay to derive! is 0 Set-up time - time before rising edge of that D must be valid Propagation delay - time for M to reach Hold time - time D must be stable after rising edge of - Sp11 CMPEN 411 L18 S.21

MS ET Timing Properties Assume propagation delays are t pd_inv and t pd_tx, that the contamination delay is 0, and that the inverter delay to derive! is 0 Set-up time - time before rising edge of that D must be valid t su = 3 * t pd_inv + t pd_tx Propagation delay - time for M to reach t c-q = t pd_inv + t pd_tx Hold time - time D must be stable after rising edge of t hold = zero Sp11 CMPEN 411 L18 S.22

Set-up Time Simulation 3 2.5 2 M t su = 0.21 ns 15 1.5 t setup Volts 1 05 0.5 0 D I 2 out -0.5 0 0.2 0.4 0.6 0.8 1 Time (ns) works correctly Sp11 CMPEN 411 L18 S.23

Set-up Time Simulation 3 2.5 2 I 2 out t su = 0.20 ns 15 1.5 Volts 1 0.5 t setup D 0 M -0.5 fails 0 0.2 0.4 0.6 0.8 1 Time (ns) Sp11 CMPEN 411 L18 S.24

Propagation Delay Simulation 3 2.5 2 t c-q(lh) = 160 psec 1.5 Volts 1 0.5 t c-q(lh) t c-q(hl) t c-q(hl) = 180 psec 0-0.5 0 0.5 1 1.5 2 2.5 Time (ns) Sp11 CMPEN 411 L18 S.25

Power PC Flipflop! 1 D 0 0 1 1!! Sp11 CMPEN 411 L18 S.26

Power PC Flipflop! 1 D 0 1 0 1 1 00 1 0! master transparent slave hold master hold slave transparent! Sp11 CMPEN 411 L18 S.27

Reduced Load MS ET FF Clock load per register is important since it directly impacts the power dissipation of the clock network. Can reduce the clock load (at the cost of robustness) by making the circuit ratioed D T 1!! I 1 I 3 M T 2 I 2 I 4 reverse conduction to switch the state of the master, T 1 must be sized to overpower I 2 to avoid reverse conduction, I 4 must be weaker than I 1 Sp11 CMPEN 411 L18 S.28

Non-Ideal Clocks!! Ideal clocks Non-ideal clocks clock skew 1-11 overlap 0-0 overlap Sp11 CMPEN 411 L18 S.29

Example of Clock Skew Problems X! D P A 1 I P 3 1 I I 2 3 I 4 B P P 2 4!! Race condition direct path from D to during the short time when both and! are high (1-1 overlap) Undefined state both B and D are driving A when and! are both high Dynamic storage when and! are both low (0-00 overlap) Sp11 CMPEN 411 L18 S.30

Pseudostatic Two-Phase ET FF 1 X 2 D P A 1 I P 1 I 3 I 2 3 I 4 B P P 2 4! master transparent slave hold 1 2 2 t non_overlap dynamic storage 1 master hold slave transparent Sp11 CMPEN 411 L18 S.31

Two Phase Clock Generator A 1 B 2 A B 1 2 Sp11 CMPEN 411 L18 S.32

Review (from CSE 271): SR Latch S R! S R! 0 0! memory 1 0 1 0 set 0 1 0 1 reset 1 1 0 0 disallowed Sp11 CMPEN 411 L18 S.33

Review (from CSE 271): Clocked D Latch D! D clock transparent mode clock clock hold mode Sp11 CMPEN 411 L18 S.34

Ratioed CMOS Clocked SR Latch 0! off M2 on M4 1 M6 M8 on M1 M3 off 0 S M5 M7 off on R 1 Sp11 CMPEN 411 L18 S.35

Ratioed CMOS Clocked SR Latch off on on off M2 M4 1 0 1 0! off on off on 0 1 M6 M8 0 1 M1 M3 on off off on 0 S R M5 M7 off on 1 Sp11 CMPEN 411 L18 S.36

Sizing Issues 2 1.5 so W/L 5and6 > 3! (Volts) 1 0.5 0 2 2.5 3 3.5 4 W/L 5and6 W/L 2and4 = 1.5μm/0.25 μm W/L 1and3 = 0.5μm/0.25 μm Sp11 CMPEN 411 L18 S.37

Transient Response 3 SET &! (Vol lts) 2 1 t c-!! t c- 0 0.9 1 1.1 1.2 1.3 1.4 1.5 Time (ns) Sp11 CMPEN 411 L18 S.38

6 Transistor CMOS SR Latch R S R M5! M2 M4 M6 S M1 M3 Will see this structure in SRAM design Sp11 CMPEN 411 L18 S.39

Next Lecture and Reminders Next lecture Dynamic sequential circuits - Reading assignment Rabaey, et al, 7.3, 7.7 Sp11 CMPEN 411 L18 S.40