Set-Reset (SR) Latch

Similar documents
Set-Reset (SR) Latch

Memory Elements. Combinational logic cannot remember

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

CHAPTER 11 LATCHES AND FLIP-FLOPS

Theory of Logic Circuits. Laboratory manual. Exercise 3

Sequential Logic: Clocks, Registers, etc.

Engr354: Digital Logic Circuits

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

Master/Slave Flip Flops

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

ECE380 Digital Logic

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

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

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

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

Combinational Logic Design Process

Sequential Logic Design Principles.Latches and Flip-Flops

BINARY CODED DECIMAL: B.C.D.

Lesson 12 Sequential Circuits: Flip-Flops

CSE140: Components and Design Techniques for Digital Systems

Lecture 10: Latch and Flip-Flop Design. Outline

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

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

7. Latches and Flip-Flops

Chapter 9 Latches, Flip-Flops, and Timers

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

Layout of Multiple Cells

Lecture 11: Sequential Circuit Design

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

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

Flip-Flops and Sequential Circuit Design

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

Lecture 10: Sequential Circuits

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

ASYNCHRONOUS COUNTERS

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

Chapter 5. Sequential Logic

Design Verification & Testing Design for Testability and Scan

CS311 Lecture: Sequential Circuits

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

EE552. Advanced Logic Design and Switching Theory. Metastability. Ashirwad Bahukhandi. (Ashirwad Bahukhandi)

Upon completion of unit 1.1, students will be able to

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Modeling Latches and Flip-flops

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.

Lecture 7: Clocking of VLSI Systems

TIMING-DRIVEN PHYSICAL DESIGN FOR DIGITAL SYNCHRONOUS VLSI CIRCUITS USING RESONANT CLOCKING

The enable pin needs to be high for data to be fed to the outputs Q and Q bar.

Module 3: Floyd, Digital Fundamental

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

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

Digital Fundamentals

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

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

Sequential 4-bit Adder Design Report

Chapter 8. Sequential Circuits for Registers and Counters

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

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

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

Sequential Circuit Design

ECE124 Digital Circuits and Systems Page 1

IEEE. Proof. INCREASING circuit speed is certain to remain the major. Dual-Edge Triggered Storage Elements and Clocking Strategy for Low-Power Systems

Asynchronous Counters. Asynchronous Counters

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

Counters and Decoders

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

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

Standart TTL, Serie Art.Gruppe

Lecture-3 MEMORY: Development of Memory:

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

LOW POWER DUAL EDGE - TRIGGERED STATIC D FLIP-FLOP

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

Fig1-1 2-bit asynchronous counter

Measuring Metastability

Counters are sequential circuits which "count" through a specific state sequence.

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Introduction to CMOS VLSI Design

Low latency synchronization through speculation

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

Lecture 8: Synchronous Digital Systems

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DEPARTMENT OF INFORMATION TECHNLOGY

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Chapter 2 Clocks and Resets

Counters. Present State Next State A B A B

Contents COUNTER. Unit III- Counters

DM74LS112A Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flop with Preset, Clear, and Complementary Outputs

S. Venkatesh, Mrs. T. Gowri, Department of ECE, GIT, GITAM University, Vishakhapatnam, India

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

Wiki Lab Book. This week is practice for wiki usage during the project.

SN54/74LS192 SN54/74LS193

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Demystifying Data-Driven and Pausible Clocking Schemes

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

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

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

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Copyright Peter R. Rony All rights reserved.

Digital Electronics Detailed Outline

Transcription:

Set-Reset (SR) Latch Asynchronous Level sensitive cross-coupled Nor gates active high inputs (only one can be active) S R S R Function 0 0 + 0 1 0 1 Reset 1 0 1 0 Set 1 1 0-? 0-? Indeterminate State cross-coupled Nand gates active low inputs (only one can be active) S R S R Function 0 0 1-? 1-? Indeterminate State 0 1 1 0 Set 1 0 0 1 Reset 1 1 + C.. Stroud, ept. of C, Auburn Univ.

nabled Set-Reset (SR) Latch Asynchronous Level sensitive cross-coupled AOI21 gates active high inputs (S & R cannot be active) S R S R Function 0 x x + 1 0 0 + 1 0 1 0 1 Reset 1 1 0 1 0 Set 1 1 1 0-? 0-? Indeterminate State cross-coupled OAI21 gates active low inputs (S & R cannot be active) S R S R Function 0 0 0 1-? 1-? Indeterminate State 0 0 1 1 0 Set 0 1 0 0 1 Reset 0 1 1 + 1 x x + C.. Stroud, ept. of C, Auburn Univ.

Transparent Latch Asynchronous Level sensitive cross-coupled AOI21 gates and inverter active high enable () Function 0 x 1 0 0 Transparent Mode 1 1 1 Transparent Mode cross-coupled OAI21 gates active low enable () Function 1 x 0 0 0 Transparent Mode 0 1 1 Transparent Mode C.. Stroud, ept. of C, Auburn Univ.

Flip-Flop Synchronous (also know as Master-Slave FF) dge Triggered (data moves on clock transition) one latch transparent - the other in storage active low latch followed by active high latch positive edge triggered (rising edge of ) Master Section active low latch Slave Section active high latch active high latch followed by active low latch negative edge triggered (falling edge of ) Master Section active high latch Slave Section active low latch C.. Stroud, ept. of C, Auburn Univ.

Timing Considerations Set-up time (t s )= minimum time data must be valid before active edge of clock Hold time (t h )= minimum time data must be held valid after active edge of clock Clock-to-output delay (t do )= maximum time before output data is valid with respect to active edge of clock t s t h t do Set-up or Hold Time violation => metastability ( & go to intermediate voltage values which are eventually resolved to an unknown state) Set-up & Hold Time violations in a vector set referred to as clock-data races C.. Stroud, ept. of C, Auburn Univ.

Good esign Practices Use single clock, single edge synchronous design techniques as much as possible Asynchronous interfaces lead to metastability (minimize the async interface & double clock data to reduce probability of metastability) Avoid asynchronous presets & clears on FFs (use sync presets & clears whenever possible) O NOT construct a FF from two level sensitive latches of the same type with an inverter on the clock input to one latch active low latch active low latch O NOT gate clocks!!! Create clock enabled FFs via a MUX to feed back current data BA esign 0 1 CN CN BA esign GOO esign Active high clock enable (CN) C.. Stroud, ept. of C, Auburn Univ.

Transmission Gate Latches/FFs A single NFT (PFT) looks like a active high (low) level sensitive dynamic latch (storage mechanism is capacitive load) But NFT (PFT) passes a poor logic 1 (0) with both, enable inverter can cause timing problems inverter on gives consistent capacitive load ynamic FF made with 2 latches falling edge triggered dynamic FF ynamic latches/ffs require data refresh C.. Stroud, ept. of C, Auburn Univ.

Transmission Gate Latches/FFs Static FFs & Latches require feedback Cross-coupled gate FFs are static (like OAI21s & AOI21s - data lasts indefinitely) Static T-gate Latch => extra inverter & T-gate Static T-gate FF made with 2 latches falling edge triggered static FF T-gate based latches/ffs require careful design, layout, and simulation to ensure proper operation (no timing problems) C.. Stroud, ept. of C, Auburn Univ.