ECE380 Digital Logic



Similar documents
Engr354: Digital Logic Circuits

CHAPTER 11 LATCHES AND FLIP-FLOPS

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

Lesson 12 Sequential Circuits: Flip-Flops

Sequential Logic Design Principles.Latches and Flip-Flops

7. Latches and Flip-Flops

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

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

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

Sequential Logic: Clocks, Registers, etc.

Master/Slave 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

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

Theory of Logic Circuits. Laboratory manual. Exercise 3

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

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

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

Chapter 9 Latches, Flip-Flops, and Timers

CSE140: Components and Design Techniques for Digital Systems

Module 3: Floyd, Digital Fundamental

Memory Elements. Combinational logic cannot remember

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

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

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

Chapter 5. Sequential Logic

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

Digital Fundamentals

Chapter 8. Sequential Circuits for Registers and Counters

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

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

BINARY CODED DECIMAL: B.C.D.

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

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.

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

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

Lecture 8: Synchronous Digital Systems

Design: a mod-8 Counter

Digital Logic Design Sequential circuits

CS311 Lecture: Sequential Circuits

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

Counters & Shift Registers Chapter 8 of R.P Jain

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

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

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

Lecture-3 MEMORY: Development of Memory:

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

Layout of Multiple Cells

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

Counters. Present State Next State A B A B

Counters and Decoders

Upon completion of unit 1.1, students will be able to

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Contents COUNTER. Unit III- Counters

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Set-Reset (SR) Latch

Lecture 10: Sequential Circuits

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

Design Verification & Testing Design for Testability and Scan

Lecture 11: Sequential Circuit Design

Fig1-1 2-bit asynchronous counter

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

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

Modeling Latches and Flip-flops

CHAPTER 3 Boolean Algebra and Digital Logic

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

Combinational Logic Design Process

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

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

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

Asynchronous Counters. Asynchronous Counters

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

SN54/74LS192 SN54/74LS193

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

Sequential Circuit Design

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

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

Digital Electronics Detailed Outline

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

Lecture 10: Latch and Flip-Flop Design. Outline

Lecture 7: Clocking of VLSI Systems

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

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

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

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

PURDUE UNIVERSITY NORTH CENTRAL

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

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

EXPERIMENT 8. Flip-Flops and Sequential Circuits

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

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

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

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

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

DEPARTMENT OF INFORMATION TECHNLOGY

The 104 Duke_ACC Machine

Transcription:

ECE38 igital Logic Flip-Flops, Registers and Counters: Flip-Flops r.. J. Jackson Lecture 25- Flip-flops The gated latch circuits presented are level sensitive and can change states more than once during the active period of the signal Circuits (storage elements) that can change their state no more than once during a period are also useful Two types of circuits with such behavior Master-slave flip-flip Edge-triggered flip-flop r.. J. Jackson Lecture 25-2

Master-slave flip-flop Consists of 2 gated latches The first, master, changes its state while = The second, slave, changes its state while = Master Slave m s Clk Clk 38 transistors r.. J. Jackson Lecture 25-3 Master-slave flip-flop When =, the master tracks the values of the input signal and the slave does not change Thus m follows any changes in and s remains constant When the signal changes to, the master stage stops following the changes in the input signal At the same time, the slave stage responds to the value of m and changes states accordingly Since m does not change when =, the slave stage undergoes at most one change of state during a cycle From an output point of view, the circuit changes s (its output) at the negative edge of the signal r.. J. Jackson Lecture 25-4 2

Master-slave flip-flop m = s r.. J. Jackson Lecture 25-5 Edge-triggered flip-flop A circuit, similar in functionality to the master-slave flip-flop, can be constructed with 6 NAN gates P3 P 2 5 P2 6 3 Positive-edge-triggered type flip-flop 4 P4 24 transistors r.. J. Jackson Lecture 25-6 3

Edge-triggered flip-flop The previous circuit responds on the positive edge of the signal A negative-edge triggered flip-flop can be constructed by replacing the NAN with NOR gates Positive-edge-triggered type flip-flop Negative-edge-triggered type flip-flop r.. J. Jackson Lecture 25-7 Comparing storage elements a clk b a b c c r.. J. Jackson Lecture 25-8 4

Clear and preset inputs It may be desirable to specifically set (=) or clear (=) a flip-flop Practical flip-flops often have preset and clear inputs Generally, these inputs are asynchronous (they do not depend on the signal) Preset As long as Preset =, = Clear As long as Clear =, = r.. J. Jackson Lecture 25-9 T flip-flop Another flip-flop type, the T flip-flop, can be derived from the basic flip-flop presented Feedback connections make the input signal equal to the value of or under control of a signal labeled T T r.. J. Jackson Lecture 25-5

T flip-flop The name T derives from the behavior of the circuit, which toggles its state when T= This feature makes the T flip-flop a useful element when constructing counter circuits T (t+) (t) (t) T T Positive edge triggered r.. J. Jackson Lecture 25- JK flip-flop The JK flip-flop can also be derived from the basic flip-flop such that =J +K The JK flip-flop combines aspects of the SR and the T flip-flop It behaves as the SR flip-flop (where J=S and K=R) for all values except J=K= For J=K=, it toggles like the T flip-flop r.. J. Jackson Lecture 25-2 6

JK flip-flop J K J K (t+) (t) (t) J K Positive edge triggered r.. J. Jackson Lecture 25-3 JK flip-flop timing diagram Complete the following timing diagram Clk K J Time r.. J. Jackson Lecture 25-4 7