The NOR latch is similar to the NAND latch

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

FLIP-FLOPS AND RELATED DEVICES

EET2411 DIGITAL ELECTRONICS

Chapter 5 Flip-Flops and Related Devices

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

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

LATCHES & FLIP-FLOP. Chapter 7

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Unit 11. Latches and Flip-Flops

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

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

Asynchronous (Ripple) Counters

EKT 121/4 ELEKTRONIK DIGIT 1

Introduction to Microprocessor & Digital Logic

Introduction to Sequential Circuits

Counters

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

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

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Digital Circuits ECS 371

Sequential Logic and Clocked Circuits

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

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

RS flip-flop using NOR gate

Other Flip-Flops. Lecture 27 1

Lecture 8: Sequential Logic

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

RS flip-flop using NOR gate

Logic Design. Flip Flops, Registers and Counters

CHAPTER 1 LATCHES & FLIP-FLOPS

Digital Fundamentals

ELCT201: DIGITAL LOGIC DESIGN

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

Switching Circuits & Logic Design

Chapter 2. Digital Circuits

INTRODUCTION TO SEQUENTIAL CIRCUITS

CHAPTER 6 COUNTERS & REGISTERS

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

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

Engr354: Digital Logic Circuits

Digital Fundamentals: A Systems Approach

Experiment 8 Introduction to Latches and Flip-Flops and registers

6. Sequential Logic Flip-Flops

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

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

D Latch (Transparent Latch)

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Chapter 11 Latches and Flip-Flops

Chapter. Synchronous Sequential Circuits

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.

CH 11 Latches and Flip-Flops

Review of digital electronics. Storage units Sequential circuits Counters Shifters

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

Chapter 4. Logic Design

CHW 261: Logic Design

Flip-Flops and Sequential Circuit Design

Rangkaian Sekuensial. Flip-flop

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

ELCT201: DIGITAL LOGIC DESIGN

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

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

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

5: Sequential Logic Latches & Flip-flops

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

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

(Refer Slide Time: 2:05)

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

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Combinational vs Sequential

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

Sequential Logic Circuits

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

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.

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

CPS311 Lecture: Sequential Circuits

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

CMSC 313 Preview Slides

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Sequential Circuits: Latches & Flip-Flops

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

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

MC9211 Computer Organization

Registers and Counters

Chapter 5: Synchronous Sequential Logic

Chapter 8 Sequential Circuits

Digital Logic Design I

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

PGT104 Digital Electronics. PGT104 Digital Electronics

ECE 341. Lecture # 2

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Plog rev 1.0 MANUAL Overview

Chapter 7 Counters and Registers

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Chapter 5 Synchronous Sequential Logic

Synchronous Sequential Logic

Transcription:

5-2 NOR Gate Latch The NOR latch is similar to the NAND latch except that the Q and Q outputs are reversed. The set and clear inputs are active high, that is, the output will change when the input is pulsed high. In order to ensure that a FF begins operation at a known level, a pulse may be applied to the set or clear inputs when a device is powered up. 163 NOR gate latch: truth table and simplified block symbol Summary of the NAND latch: Set = clear = 0. Normal resting state, outputs remain in state prior to input. Set = 1, clear = 0. Q will go high and remain high even if the set input goes low. Set = 0, clear = 1. Q will go low and remain low even if the clear input goes low. Set = clear = 1. Output is unpredictable because the latch is being set and cleared at the same time. 164 1

Example 5-3 Waveforms are applied at the NOR latch: Assume that initially Q=0, determine the Q waveform. SET=CLEAR=0, no change At T1, high pulse on SET causes Q to go high and remain high At T2, low pulse on SET will cause no effect on Q. At T3, high pulse on CLEAR will clear Q, Q=0 and remains low even after CLEAR return low at T4. At T5, high pulse on CLEAR will have no effect on Q St T6, a high pulse on SET causes Q to go back High and stays high 165 5-4 Digital Pulses Signals that switch between active and inactive states are called pulse waveforms. A positive pulse has an active high level. A negative pulse has an active low level. 166 2

5-4 Digital Pulses The transition from low to high on a positive pulse is called rise time (t r ). Rise time is measured between the 10% and 90% points on the leading edge of the voltage waveform. The transition from high to low on a positive pulse is called fall time (t f ). Fall time is measured between the 90% and 10% points on the trailing edge of the voltage waveform. The pulse width (t w ) is defined as the time between the points when the leading and trailing edges are at 50% of the high level. 167 5-55 Clock Signals and Clocked Flip-FlopsFlops Asynchronous system outputs can change state at any time the input(s) change. Difficult to design and debug. Synchronous system output can change state only at a specific time in the clock cycle. The clock signal is a rectangular pulse train or square wave. It is distributed to all parts of the system. Positive going transition (PGT) when clock pulse goes from 0 to 1. Negative going transition (NGT) when clock pulse goes from 1 to 0. Transitions are also called edges. Most digital systems are principally synchronous. The speed of the synchronous system depends on clock speed. A clock period is measured between PGT to the next PGT, seconds/cycle (T). The speed of the system is normally referred as number of cycles in 1 second, Frequency of the clock, (Hertz = 1 cycle/second). 168 3

5-55 Clock Signals and Clocked Flip-FlopsFlops Clocked FFs change state on one or the other clock transitions. Some common characteristics: Clock inputs are labeled CLK, CK, or CP mainly edge-triggered. A small triangle at the CLK input indicates that the input is activated with a PGT. A bubble and a triangle indicates that the CLK input is activated with a NGT. Control inputs have an effect on the output only at the active clock transition (NGT or PGT). These are also called synchronous control inputs. The control inputs get the FF outputs ready to change (determine What), but the change is not triggered until the CLK edge (determine when). 169 5-55 Clock Signals and Clocked Flip-FlopsFlops Setup time, t S is the minimum time interval before the active CLK transition that the control input must be kept at the proper level. Hold time, t H is the time following the active transition of the CLK during which the control input must kept at the proper level. The control inputs must be stable for at least t S (min) prior the clk transition & at least t H (min) after the clk transition 170 4

5-6 Clocked S-C Flip-Flop Flop The set-clear (or set-reset) FF will change states at the positive going or negative going clock edge. FF is only affected by PGT transition at points (a, c, e, g, i) 171 internal circuitry for an edge-triggered S-C flip-flop flop Basic NAND gate latch formed by NAND(3,4) Pulse-steering circuit formed by NAND(1,2) Edge-detector d t circuit it Edge detector produces a narrow positive going spike (CLK*) that coincident with the PGT of the CLK The pulse circuits steers the spike through to the SET or CLEAR input in accordance with the level present on S and C When S=1, C=0, the CLK* produces a low pulse at the SET input of the latch. 172 5

Implementation of edge-detector detector circuits used in edge- triggered flip-flops: flops: (a) PGT; (b) NGT. 173 5-7 Clocked J-K Flip-Flop Flop Operates like the S-C FF. J is set, K is clear. When J and K are both high the output is toggled from whatever state it is in to the opposite state. May be positive going or negative going clock trigger. Has the ability to do everything the S-C FF does, plus operate in toggle mode. 174 6

internal circuitry for an edge-triggered J-K flip-flop flop Same as edge-triggered S-C flip-flop The only difference is that the Q, Q outputs are fed back to the pulse-steering steering NAND gate, this causes J-K to toggle for J=K=1 Assume J=K=1 and Q is low, NAND gate 1 steers CLK* to SET of the NAND latch to produce Q = 1. The opposite will occur if we starts with Q=1 175 7