Master/Slave Flip Flops



Similar documents
ECE380 Digital Logic

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

Lesson 12 Sequential Circuits: Flip-Flops

CHAPTER 11 LATCHES AND FLIP-FLOPS

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

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

Flip-Flops and Sequential Circuit Design

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

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

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

Chapter 9 Latches, Flip-Flops, and Timers

Engr354: Digital Logic Circuits

BINARY CODED DECIMAL: B.C.D.

Memory Elements. Combinational logic cannot remember

Chapter 8. Sequential Circuits for Registers and Counters

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

Theory of Logic Circuits. Laboratory manual. Exercise 3

Sequential Logic: Clocks, Registers, etc.

CS311 Lecture: Sequential Circuits

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

Module 3: Floyd, Digital Fundamental

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

Digital Fundamentals

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

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

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

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

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

Combinational Logic Design Process

Chapter 5. Sequential Logic

CSE140: Components and Design Techniques for Digital Systems

Counters & Shift Registers Chapter 8 of R.P Jain

Sequential Logic Design Principles.Latches and Flip-Flops

Digital Logic Design Sequential circuits

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

ASYNCHRONOUS COUNTERS

Cascaded Counters. Page 1 BYU

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

Layout of Multiple Cells

Lecture 8: Synchronous Digital Systems

Lecture 10: Sequential Circuits

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

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

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

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.

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

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

Design Verification & Testing Design for Testability and Scan

Counters and Decoders

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.

Counters. Present State Next State A B A B

7. Latches and Flip-Flops

Lecture 7: Clocking of VLSI Systems

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

Lecture-3 MEMORY: Development of Memory:

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Lecture 11: Sequential Circuit Design

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

Set-Reset (SR) Latch

Contents COUNTER. Unit III- Counters

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

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

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

Measuring Metastability

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

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

Asynchronous Counters. Asynchronous Counters

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

Fig1-1 2-bit asynchronous counter

Modeling Latches and Flip-flops

A New Paradigm for Synchronous State Machine Design in Verilog

A Lesson on Digital Clocks, One Shots and Counters

A Lesson on Digital Clocks, One Shots and Counters

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

CHAPTER 11: Flip Flops

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

I 2 S bus specification

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

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

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Digital Controller for Pedestrian Crossing and Traffic Lights

The components. E3: Digital electronics. Goals:

EXPERIMENT 8. Flip-Flops and Sequential Circuits

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

Sequential 4-bit Adder Design Report

Qucs. A Tutorial. Transient Domain Flip-Flop Models for Mixed-Mode Simulation. Mike Brinson. Copyright c 2006 Mike Brinson <mbrin72043@yahoo.co.

DEPARTMENT OF INFORMATION TECHNLOGY

A Pausible Bisynchronous FIFO for GALS Systems

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

Debouncing Switches. Mechanical switches are one of the most common interfaces to a uc.

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

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

Lecture 10: Latch and Flip-Flop Design. Outline

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

路 論 Chapter 15 System-Level Physical Design

We r e going to play Final (exam) Jeopardy! "Answers:" "Questions:" - 1 -

Obsolete Product(s) - Obsolete Product(s)

Transcription:

Master/Slave Flip Flops Page 1

A Master/Slave Flip Flop ( Type) Gated latch(master) Gated latch (slave) 1 Gate Gate GATE Either: The master is loading (the master in on) or The slave is loading (the slave is on) But never both at the same time Page 2

FF Timing Gate 1 Gate GATE Master Loads Slave Loads Master Loads Slave Loads Master Loads Slave Loads Gate 1 time Page 3

Output Changes in Response to Falling Clock Gate 1 Gate GATE Master Loads Slave Loads Master Loads Slave Loads Master Loads Slave Loads 1 time Page 4

FF etailed Schematic Master latch () Usually call the gate Slave latch (SR) Page 5

A Falling Edge Triggered FF Edge-triggered Falling edge triggered Page 6

Oscillator (Toggle Circuit) Operation time Page 7

Rising Edge Triggered FF Schematic Edge-triggered Rising edge triggered Page 8

Oscillator (Toggle Circuit) Operation time Page 9

Flip Flop Transition Table + 0 0 0 0 1 0 1 0 1 1 1 1 + = No clock shown since it is edge triggered (assumed) Page 10

Falling vs. Rising Edge Triggered fall rise fall rise Page 11

Alternative Flip Flops T JK Page 12

Toggle Flip Flop T + T T 0 0 0 0 1 1 1 0 1 1 1 0 No Action Toggle + = T + T = T + Clock edge is assumed in this transition table Page 13

Toggle Flip Flop T + T T 0 0 0 0 1 1 1 0 1 1 1 0 No Action Toggle + = T + T = T + An oscillator with an enable input (T) T Page 14

Toggle Flip Flop T Page 15

JK Flip Flop J K + J K J K 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 No Change Reset Set Toggle Kind of a cross between a SR FF and a T FF + = K + J Page 16

JK Flip Flop J K Page 17

Why Alternative FF s? With discrete parts (TTL family) JK or T FF s could reduce gate count for the input forming logic Extensively used With VLSI IC s and FPGA s JK or T FF s must be built from FF+gates Larger, slower than a FF Not used Page 18

Flip Flops With Additional Control Inputs Page 19

What is this???? Page 20

What is this? Enable A falling edge triggered, -type FF with enable Master only loads when =Enable= 1 Page 21

What is this???? Page 22

What is this? Set A falling edge triggered, -type FF with an asynchronous set If Set=1 then =>1, regardless of or Page 23

What is this???? Page 24

What is this? Set A falling edge triggered, -type FF with a synchronous set If Set=1 then =>1 on the next falling edge of the clock, regardless of Page 25

Flip Flops With Additional Control Inputs A variety of FF s have been made over the years They contain combinations of these inputs: Enable Set Reset The Set and Reset can be either: Asynchronous (independent of ) Synchronous (work only on edge) Page 26

Flip Flop Timing Characteristics Page 27

Clock-to- Time (t ) t = t NOT + t AN + 2 x t NOR Why 2 x t NOR? The output does not change instantaneously Page 28

t t time Page 29

Setup Time (t setup ) t setup = t NOT + t AN + 2 x t NOR The input has to get there early enough to set the master latch before the clock turns off Page 30

t setup t setup time Page 31

Rising Edge FF Setup Time (t SETUP ) Same setup time as before Clock is delayed through the NOT gate Page 32

t setup-old time Page 33

dly t not t setup-old t setup-old time Page 34

new dly t not t setup-old t setup-old time Page 35

new dly t setup t setup-old time Page 36

Falling Edge Hold Time (t hold ) t hold = 0ns (AN gates turn off immediately) You have to keep the old value there until the AN gates are shut off (but no longer) Page 37

Rising Edge Hold Time (t hold ) t hold = t NOT You have to keep the old value there until the AN gates are shut off Page 38

t hold t hold = t NOT Clock edge AN gate turns off, can now change time Page 39

Flip Flop Timing t hold t setup t time Page 40

Timing of a Synchronous System Input Input Forming Forming Logic Logic t CYCLE >= t + t IFL + t SETUP t t IFL t SETUP time Page 41

Example of a Synchronous System 4 +1 Circuit 4 4 One transition per clock edge CNT = 0000 0001 0010 0011 0100 1111 0000 Page 42