CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 17: Static Sequential Circuits Mary Jane Irwin.

Slides:



Advertisements
Similar presentations
Circuiti sequenziali1 Progettazione di circuiti e sistemi VLSI Anno Accademico Lezione Circuiti sequenziali.
Advertisements

Introduction to CMOS VLSI Design Sequential Circuits.
Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ.
EE415 VLSI Design Sequential Logic [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
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
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
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.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Memory elements. n Basics of sequential machines.
ELEC 256 / Saif Zahir UBC / 2000 Timing Methodology Overview Set of rules for interconnecting components and clocks When followed, guarantee proper operation.
Sequential circuits Part 1: flip flops All illustrations  , Jones & Bartlett Publishers LLC, (
Lecture 11: Sequential Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 11: Sequential Circuits2 Outline  Sequencing  Sequencing Element Design.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 16 - Sequential.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 12 Basic (NAND) S – R Latch “Cross-Coupling” two NAND gates gives the S -R Latch:
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
CP208 Digital Electronics Class Lecture 11 May 13, 2009.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Reading Assignment: Rabaey: Chapter 7
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis EE4800 CMOS Digital IC Design & Analysis Lecture 11 Sequential Circuit Design Zhuo Feng.
Sequential Circuits IEP on Synthesis of Digital Design Sequential Circuits S. Sundar Kumar Iyer.
Sequential Definitions  Use two level sensitive latches of opposite type to build one master-slave flipflop that changes state on a clock edge (when the.
CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 17: Dynamic Sequential Circuits And Timing Issues [Adapted from Rabaey’s Digital Integrated Circuits,
CSE477 L19 Timing Issues; Datapaths.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 19: Timing Issues; Introduction to Datapath.
CSE477 L19 Timing Issues; Datapaths.1Irwin&Vijay, PSU, 2002 Complex Digital Circuits Design Lecture 2: Timing Issues; [Adapted from Rabaey’s Digital Integrated.
ECE 424 – Introduction to VLSI Design Emre Yengel Department of Electrical and Communication Engineering Fall 2014.
SEQUENTIAL LOGIC Digital Integrated Circuits© Prentice Hall 1995 Introduction.
Lecture 9 Memory Elements and Clocking
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 22: Sequential Circuit Design (1/2) Prof. Sherief Reda Division of Engineering,
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
© Digital Integrated Circuits 2nd Sequential Circuits Cascading Dynamic Gates  Dynamic gates rely on temporary capacitive storage, while static gates.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
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.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Digital Integrated Circuits for Communication
DIGITAL INTEGRATED CIRCUITS FOR COMMUNICATION احسان احمد عرساڻِي Every Wednesday: 15:00 hrs to 18:00 hrs هر اربع: شام 3 وڳي کان 6 وڳي تائين.
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
© 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
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Chapter 7 Sequential Circuits
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.
D Latch Delay (D) latch:a) logic symbolb) NAND implementationc) NOR implementation.
CSE477 L07 Pass Transistor Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 07: Pass Transistor Logic Mary Jane Irwin (
Digital Integrated Circuits for Communication
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.
Designing Sequential Logic Circuits Ilam university.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
EE415 VLSI Design THE INVERTER [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Review: Sequential Definitions
Dept. of Electrical Engineering
CSE477 L19 Timing Issues; Datapaths.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 19: Timing Issues; Introduction to Datapath.
CSE477 L06 Static CMOS Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 06: Static CMOS Logic Mary Jane Irwin (
ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2017 ΔΙΑΛΕΞΕΙΣ 12-13: Designing Dynamic and Static CMOS Sequential Circuits Other handouts To.
Digital Integrated Circuits A Design Perspective
Digital Integrated Circuits A Design Perspective
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
SEQUENTIAL LOGIC -II.
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2002 Lecture 18: Dynamic Sequential Circuits Mary Jane.
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2003 Lecture 18: Dynamic Sequential Circuits Mary Jane.
Presentation transcript:

CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 17: Static Sequential Circuits Mary Jane Irwin ( ) [Adapted from Rabaey’s Digital Integrated Circuits, Second Edition, ©2003 J. Rabaey, A. Chandrakasan, B. Nikolic]

CSE477 L17 Static Sequential Logic.2Irwin&Vijay, PSU, 2003 Review: How to Choose a Logic Style  Must consider ease of design, robustness (noise immunity), area, speed, power, system clocking requirements, fan-out, functionality, ease of testing Style# TransEaseRatioed?DelayPower Comp Static81no31 CPL* no43 domino6 + 24no22 + clk DCVSL*103yes14 4-input NAND * Dual Rail  Current trend is towards an increased use of complementary static CMOS: design support through DA tools, robust, more amenable to voltage scaling.

CSE477 L17 Static Sequential Logic.3Irwin&Vijay, PSU, 2003 A time was probably coming when components would operate so quickly that the distance that signals had to travel would intimately affect the speed of most commercial computers. Then miniaturization and speed would become more nearly synonymous. The Soul of a New Machine, Kidder, pg. 160

CSE477 L17 Static Sequential Logic.4Irwin&Vijay, PSU, 2003 Sequential Logic Combinational Logic clock Outputs State Registers Next State Current State Inputs

CSE477 L17 Static Sequential Logic.5Irwin&Vijay, PSU, 2003 Timing Metrics clock In Out data stable output stable output stable time clock D Q In Out t su t hold t c-q

CSE477 L17 Static Sequential Logic.6Irwin&Vijay, PSU, 2003 System Timing Constraints Combinational Logic clock Outputs State Registers Next State Current State Inputs T  t c-q + t plogic + t su t cdreg + t cdlogic  t hold T (clock period)

CSE477 L17 Static Sequential Logic.7Irwin&Vijay, PSU, 2003 Static vs Dynamic Storage  Static storage l preserve state as long as the power is on l have positive feedback (regeneration) with an internal connection between the output and the input l useful when updates are infrequent (clock gating)  Dynamic storage l store state on parasitic capacitors l only hold state for short periods of time (milliseconds) l require periodic refresh l usually simpler, so higher speed and lower power

CSE477 L17 Static Sequential Logic.8Irwin&Vijay, PSU, 2003 Latches vs Flipflops  Latches l level sensitive circuit that passes inputs to Q when the clock is high (or low) - transparent mode l input sampled on the falling edge of the clock is held stable when clock is low (or high) - hold mode  Flipflops (edge-triggered) l edge sensitive circuits that sample the inputs on a clock transition -positive edge-triggered: 0  1 -negative edge-triggered: 1  0 l built using latches (e.g., master-slave flipflops)

CSE477 L17 Static Sequential Logic.9Irwin&Vijay, PSU, 2003 Positive and Negative Latches clock D Q In Out clock D Q In Out clk Out In clk Out In

CSE477 L17 Static Sequential Logic.10Irwin&Vijay, PSU, 2003 Review: The Regenerative Property 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. A V i2 V o2 V i1 = V o2 V i2 = V o1 B C V o1 V i1 cascaded inverters

CSE477 L17 Static Sequential Logic.11Irwin&Vijay, PSU, 2003 Bistable Circuits  The cross-coupling of two inverters results in a bistable circuit (a circuit with two stable states)  Have to be able to change the stored value by making A (or B) temporarily unstable by increasing the loop gain to a value larger than 1 l done by applying a trigger pulse at V i1 or V i2 l 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 l cutting the feedback loop (mux based latch) l overpowering the feedback loop (as used in SRAMs) V i1 V i2

CSE477 L17 Static Sequential Logic.12Irwin&Vijay, PSU, 2003 Review (from CSE 271): SR Latch SRQ!Q 00Q memory 1010set 0101reset 1100disallowed S R Q !Q

CSE477 L17 Static Sequential Logic.13Irwin&Vijay, PSU, 2003 Review (from CSE 271): Clocked D Latch clock D Latch QD D Q !Q clock transparent mode hold mode

CSE477 L17 Static Sequential Logic.14Irwin&Vijay, PSU, 2003 MUX Based Latches Q D clk 0 1 Positive Latch Q D clk 1 0 Negative Latch Q = !clk & Q | clk & D Q = clk & Q | !clk & D feedback transparent when the clock is low transparent when the clock is high feedback  Change the stored value by cutting the feedback loop

CSE477 L17 Static Sequential Logic.15Irwin&Vijay, PSU, 2003 TG MUX Based Latch Implementation Q D clk !clk clk input sampled (transparent mode) feedback (hold mode) clk D Latch QD

CSE477 L17 Static Sequential Logic.16Irwin&Vijay, PSU, 2003 PT MUX Based Latch Implementation Q D clk!Q !clk clk input sampled (transparent mode) feedback (hold mode)  Reduced area and clock load, but a threshold drop at output of pass transistors so reduced noise margins and performance

CSE477 L17 Static Sequential Logic.17Irwin&Vijay, PSU, 2003 Latch Race Problem Combinational Logic clk State Registers clk BB’ Two-sided clock constraint T  t c-q + t plogic + t su T high  t c-q + t cdlogic B Which value of B is stored?

CSE477 L17 Static Sequential Logic.18Irwin&Vijay, PSU, 2003 Master Slave Based ET Flipflop QMQM D0 1Q 1 0 Slave Master QMQM D clk 0 1Q 1 0 Slave Master clk QMQM Q D clock D FF QD clk = 0 transparent hold clk = 0  1 hold transparent

CSE477 L17 Static Sequential Logic.19Irwin&Vijay, PSU, 2003 MS ET Implementation Q D clk QMQM I1I1 I2I2 I3I3 I4I4 I5I5 I6I6 T2T2 T1T1 T3T3 T4T4 Master Slave!clk clk

CSE477 L17 Static Sequential Logic.20Irwin&Vijay, PSU, 2003 MS ET Implementation Q D clk QMQM I1I1 I2I2 I3I3 I4I4 I5I5 I6I6 T2T2 T1T1 T3T3 T4T4 Master Slave!clk clk master transparent slave hold master hold slave transparent

CSE477 L17 Static Sequential Logic.21Irwin&Vijay, PSU, 2003 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 !clk is 0  Set-up time - time before rising edge of clk that D must be valid  Propagation delay - time for Q M to reach Q  Hold time - time D must be stable after rising edge of clk -

CSE477 L17 Static Sequential Logic.22Irwin&Vijay, PSU, 2003 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 !clk is 0  Set-up time - time before rising edge of clk that D must be valid  Propagation delay - time for Q M to reach Q  Hold time - time D must be stable after rising edge of clk t su = 3 * t pd_inv + t pd_tx t c-q = t pd_inv + t pd_tx t hold = zero

CSE477 L17 Static Sequential Logic.23Irwin&Vijay, PSU, 2003 Set-up Time Simulation Volts Time (ns) D clk Q QMQM I 2 out t su = 0.21 ns works correctly t setup

CSE477 L17 Static Sequential Logic.24Irwin&Vijay, PSU, 2003 Set-up Time Simulation Volts Time (ns) D clk Q QMQM I 2 out t su = 0.20 ns fails t setup

CSE477 L17 Static Sequential Logic.25Irwin&Vijay, PSU, 2003 Propagation Delay Simulation Volts Time (ns) t c-q(LH) = 160 psec t c-q(HL) = 180 psect c-q(LH) t c-q(HL)

CSE477 L17 Static Sequential Logic.26Irwin&Vijay, PSU, 2003 Power PC Flipflop D Q !clk clk !clk clk

CSE477 L17 Static Sequential Logic.27Irwin&Vijay, PSU, 2003 Power PC Flipflop D Q !clk clk !clk clk master transparent slave hold master hold slave transparent 00 11 00 11

CSE477 L17 Static Sequential Logic.28Irwin&Vijay, PSU, 2003 Reduced Load MS ET FF !clkclk Q D !clkclk I1I1 I2I2 I4I4 I3I3 QMQM T2T2 T1T1 reverse conduction  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 l to switch the state of the master, T 1 must be sized to overpower I 2 l to avoid reverse conduction, I 4 must be weaker than I 1

CSE477 L17 Static Sequential Logic.29Irwin&Vijay, PSU, 2003 Non-Ideal Clocks 1-1 overlap 0-0 overlap !clk clk Ideal clocks !clk clk Non-ideal clocks clock skew

CSE477 L17 Static Sequential Logic.30Irwin&Vijay, PSU, 2003 Example of Clock Skew Problems D clk X !clk !Q !clkQ clk B A P1P1 P2P2 P3P3 P4P4 I1I1 I2I2 I3I3 I4I4 Race condition – direct path from D to Q during the short time when both clk and !clk are high (1-1 overlap) Undefined state – both B and D are driving A when clk and !clk are both high Dynamic storage – when clk and !clk are both low (0-0 overlap)

CSE477 L17 Static Sequential Logic.31Irwin&Vijay, PSU, 2003 Pseudostatic Two-Phase ET FF D clk1 X clk2 !Q clk2Q clk1 B A P1P1 P2P2 P3P3 P4P4 I1I1 I2I2 I3I3 I4I4 clk2 clk1 master transparent slave hold master hold slave transparent dynamic storage t non_overlap

CSE477 L17 Static Sequential Logic.32Irwin&Vijay, PSU, 2003 Two Phase Clock Generator clk clk1 clk2 A clk A B B clk1 clk2

CSE477 L17 Static Sequential Logic.33Irwin&Vijay, PSU, 2003 Ratioed CMOS Clocked SR Latch onoff on off on M1 S R clk !Q Q M2 M3 M4 M5 M6 M7 M8

CSE477 L17 Static Sequential Logic.34Irwin&Vijay, PSU, 2003 Ratioed CMOS Clocked SR Latch onoff off  on  0 1  on off on  on  off M1 S R clk !Q Q M2 M3 M4 M5 M6 M7 M8 0  1

CSE477 L17 Static Sequential Logic.35Irwin&Vijay, PSU, 2003 Sizing Issues W/L 5and6 !Q (Volts) W/L 2and4 = 1.5  m/0.25  m W/L 1and3 = 0.5  m/0.25  m so W/L 5and6 > 3

CSE477 L17 Static Sequential Logic.36Irwin&Vijay, PSU, 2003 Transient Response Q & !Q (Volts) SET !Q Q Time (ns) t c-!Q t c-Q

CSE477 L17 Static Sequential Logic.37Irwin&Vijay, PSU, Transistor CMOS SR Latch clk S R M1 S R clk !Q Q M2 M3 M4 M5 M6 clk

CSE477 L17 Static Sequential Logic.38Irwin&Vijay, PSU, 2003 Next Lecture and Reminders  Next lecture l Dynamic sequential circuits -Reading assignment – Rabaey, et al, 7.3, 7.7  Reminders l Project prototypes due on-line by 5:00pm on Oct 30 th l HW#4 due November 11 th (not Nov 4 th as on outline) l HW#5 will be optional (due November 20 th ) l Final exam scheduled -Tuesday, December 16 th from 10:10 to noon in TBD l Project final reports due December 5 th