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

Similar documents
Asynchronous (Ripple) Counters

RS flip-flop using NOR gate

ASYNCHRONOUS COUNTER CIRCUITS

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

RS flip-flop using NOR gate

Counter dan Register

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

Module -5 Sequential Logic Design

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

Decade Counters Mod-5 counter: Decade Counter:

LATCHES & FLIP-FLOP. Chapter 7

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

Counters

MODULE 3. Combinational & Sequential logic

Review of digital electronics. Storage units Sequential circuits Counters Shifters

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

Lecture 8: Sequential Logic

Sequential Logic Circuits

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

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

Analogue Versus Digital [5 M]

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

Chapter 3: Sequential Logic Systems

Vignana Bharathi Institute of Technology UNIT 4 DLD

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

Experiment 8 Introduction to Latches and Flip-Flops and registers

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

Asynchronous Counter

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

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

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

Registers and Counters

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

Digital Fundamentals: A Systems Approach

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

CHAPTER 6 COUNTERS & REGISTERS

FLIP-FLOPS AND RELATED DEVICES

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

Introduction. Serial In - Serial Out Shift Registers (SISO)

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

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Registers and Counters

UNIT IV. Sequential circuit

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

Other Flip-Flops. Lecture 27 1

INC 253 Digital and electronics laboratory I

CHAPTER 4: Logic Circuits

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.

Chapter 4. Logic Design

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Digital Logic Design I

Logic Design. Flip Flops, Registers and Counters

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

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

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Sequential Logic and Clocked Circuits

EKT 121/4 ELEKTRONIK DIGIT 1

MC9211 Computer Organization

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

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

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

INTRODUCTION TO SEQUENTIAL CIRCUITS

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).

EE292: Fundamentals of ECE

Rangkaian Sekuensial. Flip-flop

Lecture 12. Amirali Baniasadi

Unit 11. Latches and Flip-Flops

Logic Design Viva Question Bank Compiled By Channveer Patil

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

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

Chapter 5 Flip-Flops and Related Devices

CHAPTER 4: Logic Circuits

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

Digital Circuits ECS 371

Chapter 7 Counters and Registers

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

Digital Fundamentals

WINTER 15 EXAMINATION Model Answer

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

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Chapter 9. Design of Counters

Synchronous Sequential Logic

Introduction to Microprocessor & Digital Logic

Digital Logic Design ENEE x. Lecture 19

Sequential Logic Counters and Registers

CHAPTER 1 LATCHES & FLIP-FLOPS

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

Digital Fundamentals: A Systems Approach

UNIVERSITI TEKNOLOGI MALAYSIA

CH 11 Latches and Flip-Flops

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Chapter. Synchronous Sequential Circuits

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

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

DIGITAL REGISTERS. Serial Input Serial Output. Block Diagram. Operation

REPEAT EXAMINATIONS 2002

Transcription:

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39 Objectives: Students should be able to Thursday 21 st January 2016 @ 10:45 am Module 2-5.10 - describe the operation of the triggered bistable; Module 2-5.11 - combine triggered bistables (T flip-flops) to make a 3-bit binary counter; T-TYPE BISTABLE T-type bistables, also called triggered or toggling flip-flops, are the building blocks of binary counters. They are modified RS bistables with extra components that enable successive pulses, applied to an input called the trigger T, to make it switch to and fro (or toggle ) from one stable state (e.g. Q = 0 and Q = 1) to the other ( Q = 1 and Q = 0). If the T input is high, the T flip-flop changes state (toggles) when the clock input changes. If the T input is low, the T flip-flop holds its previous value. T Q (current state) Qnext (next state) 0 0 0 hold state 0 1 1 hold state 1 0 1 toggle 1 1 0 toggle The S-R flip-flop may be modified in such a way that successive pulses to a single input called the trigger cause the flip-flop to switch from one stable state to the other. The circuit can be designed to trigger the bistable to change state with a pulse going down (from, say 6V to 0V) or up (from, say 0V to 6V). The output changes state at a specified point on a triggering input called the clock. The T-type flip-flop changes state either at the negative edge (falling edge) or at the positive edge (rising edge) of the clock signal. Clock signal Positive edges Negative edges The output of Q and NOT Q will not change (despite making changes to the inputs) in a clocked flipflop until receiving a signal from the clock.

To test a T-type bistable a debounced switch is usually needed: an ordinary switch normally bounces and makes contact more than once whereas the debounced switch when pressed and released gives only one pulse. The timing diagram in Figure 29 shows how the output Q switches state each time the voltage goes down from 6V to 0V i.e. on the downward edge of the pulse. If a series of pulses, known as a clock input, is applied to the trigger the output Q stays on logic 0 or stays on logic 1 for twice as long as the clock pulse. In effect the bistable divides the input frequency by two. This feature is used in timing devices such as digital watches and also in the binary counter which is explained below.

THE BINARY COUNTER Figure 30 shows the construction of a binary counter counting from 0 to the equivalent of decimal 7. Since it goes through eight output states before resetting to zero, it is known as a modulo-8 counter. Before the first pulse enters the counter is at 0 0 0. The downward edge of the first pulse will cause Q1 to flip to 1 but the other two flip-flops will not be affected. So the output will change to 0 0 1. (See timing diagram (Fig. 31) and note that Q3 is the most significant bit (m.s.b.) and Q1 the l.s.b., the units, so to read the number the order is reversed.) When the second pulse is received Q1 switches to 0. This sends a downward signal to the second bistable which switches output state so that Q2 is 1. Thus after two pulses the outputs are displaying 0 1 0 which I equivalent to decimal 2. The third bistable does not receive a downward signal until Q2 switches off after the fourth pulse and so Q3 stays set on logic 0 twice as long as Q2 and four times as long as Q1. This principle of dividing the frequency by two may also be seen in the pattern of the binary numbers in the table below.

The 3-bit binary counter When several flip-flops are connected together, they form a register. A register is used for storing and shifting data from an external source. The data is in the form of 1s and 0s. A counter is a register that is able to count the number of clock pulses arriving at its clock input. A counter can be positive edge triggered (i.e. the input changes from low to high) or negative edge triggered (i.e. the input changes from high to low). An n-bit binary counter consists of n flip-flops and has 2n distinct states. A 3-bit binary counter consists of three flip-flops and has eight states (i.e. 2 3 =8). Figure 10.5.5. shows the circuit diagram for a 3-bit binary counter consisting of T flip-flops. The output changes when the input detects a negative edged signal (i.e. the input changes from logic 1 to logic 0). The outputs of the counter are Q0, Q1 and Q2. Assuming the outputs are initially all at logic 0, Figure 10.5.6. shows the timing diagram for the operation of the counter. Table 10.5.4 shows the sequential truth table for the 3-bit binary counter.

BINARY COUNTERS Electronic counters consist of bistables connected so that they toggle, i.e. behave as t-type flip-flops, when the pulses to be counted are applied to their clock (CK) input. Counting is done in binary code, the binary digits (bits) 1 and 0 being represented by high and low states respectively of the bistable s outputs. Ripple Counter In Fig. 23.69a, a 3-bit binary ripple (or asynchronous) counter is shown, consisting of three falling-edge triggered toggling flip-flops FF0, FF1 and FF2 in which the Q output of each one feeds the CK (T) input of the next. To explain the action, suppose that the outputs Q0, Q1 and Q2, which give the total count at any time, have all been reset to zero. On the falling edge [ab] of the first clock pulse applied to CK0 of FF0 shown in Fig 23.69b, Q0 switches from 0 to 1. The resulting rising edge [AB] of Q0 is applied to CK1 of FF1 which does not change state. So Q2=0, Q1=0 and Q0=1, giving a binary count of 001 after one pulse. The falling edge [cd] of the second clock pulse makes FF0 change second clock pulse makes FF0 change state again and Q0 flops from 1 to 0. The falling edge [CD] of Q0 switches FF1 this time, making Q1 = 1. The rising edge [LM] of Q1 leaves FF2 unchanged. The count is now Q2 = 0, Q1 = 1 and Q0 = 0, i.e. 010 in binary (2 in decimal). The falling edge [ef] of the third clock pulse to CK0 of FF0 changes Q0 from 0 to 1 again but the rising edge [EF] does not switch FF1, leaving Q1=1, Q2=0 and the count at 011 (3 in decimal). The action thus ripples along the flip-flops, each one waiting for the previous one to supply a falling edge at its CK input before changing state. The table in Fig. 23.69c shows how the states of Q0, Q1 and Q2 give the count in binary of the clock pulses fed to CK0. Q0 being the least significant bit (l.s.b.) and Q2 the most significant bit (m.s.b.)