Set-Reset (SR) Latch



Similar documents
Memory Elements. Combinational logic cannot remember

Engr354: Digital Logic Circuits

Combinational Logic Design Process

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

CSE140: Components and Design Techniques for Digital Systems

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

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.

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

Sequential Logic: Clocks, Registers, etc.

ASYNCHRONOUS COUNTERS

Theory of Logic Circuits. Laboratory manual. Exercise 3

Lesson 12 Sequential Circuits: Flip-Flops

7. Latches and Flip-Flops

Chapter 9 Latches, Flip-Flops, and Timers

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

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

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

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

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

Sequential Logic Design Principles.Latches and Flip-Flops

ECE380 Digital Logic

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

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

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

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

CHAPTER 11 LATCHES AND FLIP-FLOPS

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

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

Design Verification & Testing Design for Testability and Scan

Module 3: Floyd, Digital Fundamental

ECE124 Digital Circuits and Systems Page 1

Lecture 11: Sequential Circuit Design

Master/Slave Flip Flops

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

Digital Logic Design Sequential circuits

Chapter 5. Sequential Logic

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

Modeling Latches and Flip-flops

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

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

Flip-Flops and Sequential Circuit Design

Upon completion of unit 1.1, students will be able to

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

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

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

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

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

Counters and Decoders

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

Lecture 10: Sequential Circuits

CHAPTER 11: Flip Flops

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

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Admin. ECE 550: Fundamentals of Computer Systems and Engineering. Last time. VHDL: Behavioral vs Structural. Memory Elements

Decimal Number (base 10) Binary Number (base 2)

Lecture-3 MEMORY: Development of Memory:

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

White Paper Understanding Metastability in FPGAs

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

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

DEPARTMENT OF INFORMATION TECHNLOGY

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

Chapter 8. Sequential Circuits for Registers and Counters

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

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

Lecture 7: Clocking of VLSI Systems

BINARY CODED DECIMAL: B.C.D.

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Asynchronous Counters. Asynchronous Counters

Counters & Shift Registers Chapter 8 of R.P Jain

Chapter 2 Clocks and Resets

CS311 Lecture: Sequential Circuits

Contents COUNTER. Unit III- Counters


Demystifying Data-Driven and Pausible Clocking Schemes

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

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

Lecture 8: Synchronous Digital Systems

Layout of Multiple Cells

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

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

Lecture 10: Latch and Flip-Flop Design. Outline

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

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control

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

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

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

Digital Design Verification

Digital Electronics Detailed Outline

CLOCK DOMAIN CROSSING CLOSING THE LOOP ON CLOCK DOMAIN FUNCTIONAL IMPLEMENTATION PROBLEMS

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

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

Fig1-1 2-bit asynchronous counter

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

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

Transcription:

et-eset () Latch Asynchronous Level sensitive cross-coupled Nor gates active high inputs (only one can be active) + + Function 0 0 0 1 0 1 eset 1 0 1 0 et 1 1 0-? 0-? Indeterminate cross-coupled Nand gates active low inputs (only one can be active) + + Function 0 0 1-? 1-? Indeterminate 0 1 1 0 et 1 0 0 1 eset 1 1 C.. troud, ept. of C, Auburn Univ.

nabled et-eset () Latch Asynchronous Level sensitive cross-coupled Nor gates active high inputs ( & cannot be active) + + Function 0 x x 1 0 0 1 0 1 0 1 eset 1 1 0 1 0 et 1 1 1 0-? 0-? Indeterminate cross-coupled Nand gates active low inputs ( & cannot be active) + + Function 0 0 0 1-? 1-? Indeterminate 0 0 1 1 0 et 0 1 0 0 1 eset 0 1 1 1 x x C.. troud, ept. of C, Auburn Univ.

Transparent Latch Asynchronous Level sensitive cross-coupled Nor gates active high enable () + Function 0 x 1 0 0 Transparent Mode 1 1 1 Transparent Mode cross-coupled Nand gates active low enable () + Function 1 x 0 0 0 Transparent Mode 0 1 1 Transparent Mode C.. troud, ept. of C, Auburn Univ.

Flip-Flop ynchronous (also know as Master-lave 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 ection active low latch lave ection active high latch active high latch followed by active low latch negative edge triggered (falling edge of ) Master ection active high latch lave ection active low latch C.. troud, ept. of C, Auburn Univ.

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

Timing Considerations To verify that a sequential logic circuit will work at the specified clock frequency, f clk, we must consider the clock period, T p, the propagation delay, P del, of the worst case path through the combinational logic, as well as t su and t co of the flip-flops such that the following relationship holds: For paths from flip-flop outputs to flip-flop inputs: + t co + t su For paths from primary inputs to flip-flop inputs: + t su For paths from flip-flop outputs to primary outputs: + t co For paths from primary inputs to primary outputs: Timing analysis and timing simulation CA tools are typically used for this verification. C.. troud, 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.. troud, ept. of C, Auburn Univ.