Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

Similar documents
Experiment 8 Introduction to Latches and Flip-Flops and registers

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

MC9211 Computer Organization

Logic Design. Flip Flops, Registers and Counters

EE292: Fundamentals of ECE

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Other Flip-Flops. Lecture 27 1

Chapter. Synchronous Sequential Circuits

CHAPTER1: Digital Logic Circuits

Registers and Counters

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

LATCHES & FLIP-FLOP. Chapter 7

Digital Logic Design ENEE x. Lecture 19

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

Lecture 8: Sequential Logic

ECE 341. Lecture # 2

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

RS flip-flop using NOR gate

Lecture 12. Amirali Baniasadi

Registers and Counters

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

FLIP-FLOPS AND RELATED DEVICES

Sequential Logic Basics

ME 515 Mechatronics. Introduction to Digital Electronics

Sequential Logic Circuits

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

DIGITAL CIRCUIT COMBINATORIAL LOGIC

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

CHAPTER 4: Logic Circuits

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

EET2411 DIGITAL ELECTRONICS

UNIT IV. Sequential circuit

Final Exam review: chapter 4 and 5. Supplement 3 and 4

D Latch (Transparent Latch)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

RS flip-flop using NOR gate

CprE 281: Digital Logic

ELCT201: DIGITAL LOGIC DESIGN

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Sequential Logic and Clocked Circuits

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Flip-Flops and Sequential Circuit Design

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

CHAPTER 4: Logic Circuits

Chapter 2. Digital Circuits

Chapter 4. Logic Design

AIM: To study and verify the truth table of logic gates

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

CH 11 Latches and Flip-Flops

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

FE REVIEW LOGIC. The AND gate. The OR gate A B AB A B A B 0 1 1

Vignana Bharathi Institute of Technology UNIT 4 DLD

Introduction to Microprocessor & Digital Logic

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

Chapter 5 Synchronous Sequential Logic

ELCT201: DIGITAL LOGIC DESIGN

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Digital Fundamentals: A Systems Approach

Synchronous Sequential Logic

Asynchronous (Ripple) Counters

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Solar Power for Small Hall

Counters

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Topics of Discussion

IT T35 Digital system desigm y - ii /s - iii

10.1 Sequential logic circuits are a type of logic circuit where the output of the circuit depends not only on

Synchronous Sequential Logic

5: Sequential Logic Latches & Flip-flops

Serial In/Serial Left/Serial Out Operation

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Counter dan Register

Chapter 8 Sequential Circuits

Digital Logic Design I

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

ASYNCHRONOUS COUNTER CIRCUITS

Unit 11. Latches and Flip-Flops

Flip-Flops and Registers

INTRODUCTION TO SEQUENTIAL CIRCUITS

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Part II. Chapter2: Synchronous Sequential Logic

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Rangkaian Sekuensial. Flip-flop

(Refer Slide Time: 2:05)

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Physics 323. Experiment # 10 - Digital Circuits

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Engr354: Digital Logic Circuits

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

Transcription:

MEMS1082 Chapter 6 Digital Circuit 6-5

General digital system

D Flip-Flops, The D flip-flop is a modification of the clocked SR flip-flop. The D input goes directly into the S input and the complement of the D input goes to the R input. The D input is sampled during the occurrence of a clock pulse. If it is 1, the flip-flop is switched to the set state (unless it was already set). If it is 0, the flip-flop switches to the clear state. CK

JK Flip-Flop A JK flip-flop is a refinement of the SR flip-flop in that the indeterminate state of the SR type is defined in the JK type. Inputs J and K behave like inputs S and R to set and clear the flip-flop. J is for set and the letter K is for clear. When logic 1 inputs are applied to both J and K simultaneously, the flip-flop switches to its complement state, i.e., if Q=1, it switches to Q=0 and vice versa. Transition table CK

JK Flip-Flop Timing Diagram/ wave form

JK Flip-Flop

JK Flip-Flop D flip-flop (JK)

Timing diagram for D flip-flop

D flip-flop for parallel data transfer Controlled by negative edge clock signal

JK Flip-Flop with Synchronous Inputs

JK Flip-Flop

JK Flip-Flop Toggle

JK Flip-Flop T (toggle) flip-flop Toggle: the output changes to opposite state

JK Flip-Flop: Timing diagram A,B, C: input wave forms D,E, F: output wave forms

Applications Flip-flop Q Switch debouncing Q Mechanical contact bounce will produce multiple transition NANA latch is used to debounce a Mechanical switch

Applications Flip-flop Switch debouncing Circuit

Applications Flip-flop Example: Analyze the operation of the circuit Passage of lkhz pulse signal NANA latch used to debounce a Mechanical switch

Applications Flip-flop Light detector/alarming using flip-flop When light on the phototransistor, S=R=0, Q is LOW When light off momentarily, S=1, R=0, then Q will be HIGH Alarming The alarm will remain on because Q will remain HIGH even light on again. Open S1 will produce high to S (C in the figure), which turn off alarm.

Applications Flip-flop Detecting an input sequence

Applications Flip-flop Data Register A 4-bit data register uses negative edge-triggered D flip-flops to transfer data from four data lines to the outputs of four AND gates First, the data values Di are transferred to the outputs Q of the flip-flops on the negative edge of the load signal. Then a pulse on the read line presents the data at the register outputs Ri of the AND gates. Data registers are used in microprocessors to hold data for arithmetic calculations. Data registers can be cascaded to store as many bits as are required.

Applications Flip-flop A: Binary counting (3 bits) and frequency divider A 3-bit binary counter consisting of fthree negative edge-triggered toggle flip-flops connected in sequence. The three output bits Xi change according to the binary number counting sequence, counting from 0 to 8 (base 10) and returning back to 0. This circuit may also be used as a frequency divider. Output Xo is a divide-by-2 output since its frequency is 1/2 the input pulse train frequency. Xl, X2, and are divide-by-4, and-8 outputs, respectively.

Applications Flip-flop A: Binary counting (3 bits)

Applications Flip-flop B: Binary counting (4 bits) and frequency divider A 4-bit binary counter consisting of four negative edge-triggered toggle flip-flops connected in sequence. The four output bits Bi change according to the binary number counting sequence, counting from 0 to 15 (base 10) and returning back to 0. This circuit may also be used as a frequency divider. Output Bo is a divide-by-2 output since its frequency is 1/2 the input pulse train frequency. Bl, B2, and B3 are divide-by-4, -8, and -16 outputs, respectively.

Applications Flip-flop Series and Parallel Interfaces Series-to-parallel converter using negative-edge-triggered D flip-flop

Applications Flip-flop Series and Parallel Interfaces Parallel-to-Series converter using negative-edge-triggered JK flip-flop