C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.

Slides:



Advertisements
Similar presentations
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
Advertisements

CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
Counter Circuits and VHDL State Machines
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D. 4/10/2002.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
Flip-Flops and Related Devices
M.S.P.V.L. Polytechnic College, Pavoorchatram
Sequential Circuit Introduction to Counter
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
A.Abhari CPS2131 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers:
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
A presentation on Counters
Electronics Technology
Counters.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Registers and Counters
Chapter 1_4 Part II Counters
Chapter 7 Counters and Registers
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Registers and Counters
Registers and Counters
Principles & Applications
Electronics Technology
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
Asynch 1.1 Asynchronous Counters 1 ©Paul Godin Last Edit Sept 2009.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
Introduction to Sequential Logic
Counter Circuits and VHDL State Machines
Sequential logic circuits
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
COUNTERS Why do we need counters?
Counters.
Basic terminology associated with counters Technician Series
EKT 121 / 4 ELEKTRONIK DIGIT I
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
Ch.5 Flip Flops and Related Devices
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
LATCHED, FLIP-FLOPS,AND TIMERS
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Lecture No. 24 Sequential Logic.
Switching Theory and Logic Design Chapter 5:
Presentation transcript:

C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is kept in memory devices The state dependency is accomplished by feedback path

C.S. Choy2 LATCH Active Low

C.S. Choy3 LATCH Active High

C.S. Choy4 LATCH APPLICATION Switch Debounce Almost all mechanical switches have contact bounce problem

C.S. Choy5 GATED-LATCH Also known as level-triggered S-C Type D-Type

C.S. Choy6 EDGED-TRIGGERED FLIP-FLOP D-Type

C.S. Choy7 Positive-Edge Detector Negative-Edge Detector

C.S. Choy8 D-TYPE FLIP-FLOP VARIATIONS Negative-Edge Triggered With Asynchronous Controls

C.S. Choy9 TOGGLE FLIP-FLOP The flip-flop changes states on every active clock transition From the waveform, one can observe that when a toggle flip- flop is continuously driven by a clock signal of frequency f in, the output (Q) produces a repetitive waveform of frequency f out =f in /2 Divide-By-2 Circuit

C.S. Choy10 J-K FLIP-FLOP

C.S. Choy11 J-K FLIP-FLOP WITH MASTER-SLAVE CONFIGURATION

C.S. Choy12 COMMON SEQUENTIAL CIRCUITS Counters A digital counter is a circuit used to generate binary numbers in a specific count sequence. That sequence is mainly governed by input clock pulses, and it is repetitive as long as these clock pulses are applied. Counters serve two main functions in digital systems – counting and frequency division ASYNCHRONOUSSYNCHRONOUS

C.S. Choy13 ASYNCHRONOUS COUNTER (RIPPLE COUNTER) Basic building block is a toggle flip-flop Since each flip-flop receives its clock pulse from another flip- flop, there will be delay through these flip-flops. This addition delay is the longest for the MSB flip-flop

C.S. Choy14 ALTERNATIVE MOD-8 UP-COUNTER

C.S. Choy15 MOD-16 UP-COUNTER

C.S. Choy16 COUNTERS OF OTHER MODULUS Mod-5

C.S. Choy17 MISCOUNTS IN ASYNCHRONOUS COUNTER The additive propagation delays produce short duration of miscounts

C.S. Choy18 MAXIMUM CLOCK FREQUENCY ALLOWED IN ASYNCHRONOUS COUNTERS n – number of stages  ff – propagation delay of flip-flop

C.S. Choy19 SYNCHRONOUS COUNTERS All flip-flops are clocked simultaneously Mod-16 Synchronous Up-Counter

C.S. Choy20 MOD-10 SYNCHRONOUS UP-COUNTER (BCD OR DECADE) QA – toggle every time QB – toggle at A high and D low QC – toggle at A and B high QD – change high at A, B and C high but change low afterwards (A high)

C.S. Choy21 MOD-8 DOWN COUNTER

C.S. Choy22 MOD-8 SYNCHRONOUS UP/DOWN COUNTER

C.S. Choy23 PRESETABLE COUNTERS

C.S. Choy24 SYNCHRONOUS COUNTER DESIGN Mod-6 Up-Counter Using D-flip-flops –Design table

C.S. Choy25 MOD-6 UP-COUNTER –K-maps –Final design

C.S. Choy26 REGISTERS A group of latches or flip-flops used to store, transfer, or shift data Serial Shift Register Data is clocked into the register bit by bit It is important to note that level-triggered type of latches will not work properly

C.S. Choy27 AN UNIVERSAL REGISTER S1S1 S0S0 Mode of operation 11Parallel load 10Shift left 01Shift right 00Hold

C.S. Choy28 RING COUNTER The counter is a shift register that has its output connected back to its own input

C.S. Choy29 JONHSON COUNTER Each bit is toggled in turn Mod With its unique bit pattern, any sequence can be detected with a 2-input gate

C.S. Choy30 MULTIPLY/DIVIDE REGISTER A left shift operation multiplies a binary number by a factor of 2 A right shift operation divides a binary number by a factor of 2

C.S. Choy31 PSEUDO-RANDOM-SEQUENCE GENERATOR QAQA QBQB QCQC QDQD INVALID CONDITION

C.S. Choy32

C.S. Choy33

C.S. Choy34

C.S. Choy35

C.S. Choy36

C.S. Choy37

C.S. Choy38

C.S. Choy39

C.S. Choy40