Latch versus Register Latch Register stores data when clock is low

Slides:



Advertisements
Similar presentations
EE466: VLSI Design Lecture 7: Circuits & Layout
Advertisements

Fig Typical voltage transfer characteristic (VTC) of a logic inverter, illustrating the definition of the critical points.
1 A latch is a pair of cross-coupled inverters –They can be NAND or NOR gates as shown –Consider their behavior (each step is one gate delay in time) –From.
Lecture on Flip-Flops.
Transmission Gate Based Circuits
Digital Techniques Fall 2007 André Deutz, Leiden University
Chapter 4: Combinational Logic
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Circuiti sequenziali1 Progettazione di circuiti e sistemi VLSI Anno Accademico Lezione Circuiti sequenziali.
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.]
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Designing Sequential Logic Circuits
Pass Transistor Logic. Agenda  Introduction  VLSI Design methodologies  Review of MOS Transistor Theory  Inverter – Nucleus of Digital Integrated.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Lecture: 1.6 Tri-states, Mux, Latches & Flip Flops
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
VLSI Design Circuits & Layout
Introduction to CMOS VLSI Design Lecture 1: Circuits & Layout
Digital Logic Circuits (Part 2) Computer Architecture Computer Architecture.
Circuits require memory to store intermediate data
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
Sequential Circuits IEP on Synthesis of Digital Design Sequential Circuits S. Sundar Kumar Iyer.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
© 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,
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
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.
VLSI Design Circuits & Layout
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
1 CSE370, Lecture 14 Lecture 14 u Logistics n Midterm 1: Average 90/100. Well done! n Midterm solutions online n HW5 due date delayed until this Friday.
Digital Integrated Circuits A Design Perspective
EE4800 CMOS Digital IC Design & Analysis
D Latch Delay (D) latch:a) logic symbolb) NAND implementationc) NOR implementation.
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,
Designing Sequential Logic Circuits Ilam university.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
ECE 301 – Digital Electronics Brief introduction to Sequential Circuits and Latches (Lecture #14)
ECE 331 – Digital System Design Introduction to Sequential Circuits and Latches (Lecture #16)
LATCHES AND FLIP-FLOPS
Digital Integrated Circuits A Design Perspective
Digital Integrated Circuits A Design Perspective
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
Instructor: Alexander Stoytchev
Prof. Hsien-Hsin Sean Lee
Flip Flops.
Flip-Flops SHAH KEVAL EN. NO.: EC DEPARTMENT,
SEQUENTIAL LOGIC -II.
Latches and Flip-flops
Elec 2607 Digital Switching Circuits
Excitation Vectors Input Combinational Logic Memory Output States.
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Excitation Vectors Input Combinational Logic Memory Output States.
1) Latched, initial state Q =1
FLIP-FLOPS.
Sequential Digital Circuits
FLIPFLOPS.
Presentation transcript:

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

Latches

Latch-Based Design N latch is transparent when f = 0 P latch is transparent when f = 1 f N P Logic Latch Latch Logic

Timing Definitions CLK t Register t t D Q D DATA CLK STABLE t t Q DATA su hold D DATA CLK STABLE t t c 2 q Q DATA STABLE t

Positive Feedback: Bi-Stability 1 A C B o 2 = o1 Vi2 1 o 1 o V V 5 2 i V 1 o V 5 i 2 V

Meta-Stability Gain should be larger than 1 in the transition region

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

Cascade connection of pass transistors V V V V V Vo R R R R C C C C = RC • n(n+1)/2, n: number of stages(transistors)  1/2 • n2 • RC Vo can reach up to V-VTN Vo(high) = V-3VTN Output of pass transistor better not be used as control variable for another gate. V V V Vo V

Cases where pass tr. is appropriate Multiplexer S A S B S

4-input Multiplexer using CMOS switch concept Removing contacting & interconnecting wire segments saves space.

Rules for transmission gate logic construction 1 A conducting path must not exist between two different inputs which could take different logic levels. If there is an overlap between 1 and 2, the intermediate node “y” will take an undefined potential, located between the 1 and 0. This potential will give rise to an erratic behavior of the logic, although it may not be detected by a switch-level simulator This problem can be solved by designing control signal with a mutual exclusion feature 1 X1 2 Y X1

Rules for transmission gate logic construction 2 When a branch has several transmission-gates in series, internal nodes can behave as a dynamic memory Such a gate cannot be considered as a pure static combinational logic gate, because the memory effect can give rise to false outputs, according to the history of successive inputs and control levels, Moreover, the output could be at high impedance if no buffer has been provided. This behavior dramatically increases the simulation and test problems

Rules for transmission gate logic construction 3 To avoid undesired high impedance states, care should be taken to always provide at least one conducting path between an input and the output The input variable sources must be low-impedance sources for the same reason a a Ex) 1-to-2 decoder 1 a X1 X1 1 a X2 X2 wrong good

Mux-Based Latches Positive latch (transparent when CLK= 1) Negative latch (transparent when CLK= 0) CLK 1 D Q 1 D Q CLK

Mux-Based Latch

Mux-Based Latch NMOS only Non-overlapping clocks

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

Master-Slave Register Multiplexer-based latch pair

Combinational logic circuit Flip-flops Combinational logic circuit

Basic Latch Both circuit are the same The only feedback path is the red line

Basic Latch Consider Set = 0, Reset =0

Basic Latch Consider S = 1, R =0 As S=1, NOR1 output must be 0 As NOR1 ouput = 0 and R =0, NOR2 output must be 1

Basic Latch Consider S = 0, R =1 As R = 1, NOR2 output must be 0

Basic Latch Consider R = 1 and S =1 As R = 1, NOR2 output must be 0 As S = 1, NOR1 output must be 0

Level sensitive and edge sensitive For a latch and flip-flop (FF), it can be level sensitive or edge sensitive Level sensitive means the latch / FF will copy input D to output Q when Clk = 1 Edge sensitive means that the latch / FF will only copy input D to output Q when Clk change from 0 -> 1 (positive edge trigger) / 1 -> 0 (negative edge trigger)

Level sensitive

Edge sensitive