SlideShare a Scribd company logo
1
Subject : EE227-Digital Logic Design
Subject : EE227-Digital Logic Design
Lecture
ecture : #20
: #20
Date : 08 April, 2020 Wednesday
Date : 08 April, 2020 Wednesday
Instructor : Mr. Muhammad Kamran
Instructor : Mr. Muhammad Kamran
office : Exam Hall (M-117)
office : Exam Hall (M-117)
Email : muhammad.kamran@nu.edu.pk
Email : muhammad.kamran@nu.edu.pk
In the Name of Allah the Most
Beneficent the Most Merciful
2
Outline
 Flip-Flop with direct inputs
 Characteristic equations of D, SR and JK flip flops.
 Excitation table for D, DR and JK flip flop.
Flip Flops with direct inputs
Flip Flops with direct inputs
 Special inputs for setting and resetting memory
Special inputs for setting and resetting memory
elements like flip-flops
elements like flip-flops asynchronously .
 The special inputs that
The special inputs that asynchronously set the
set the
flip-flop are called direct set input or preset.
flip-flop are called direct set input or preset.
3
 The special inputs that
The special inputs that asynchronously Reset the
set the
flip-flop are called direct Reset input or clear.
flip-flop are called direct Reset input or clear.
 These inputs change the state of the flip-flop
These inputs change the state of the flip-flop
independent of the clock input.
independent of the clock input.
4
Why direct input?
Why direct input?
5
 Direct inputs are useful to bring the flip-flop in
Direct inputs are useful to bring the flip-flop in
reset state when power is turned on because we
reset state when power is turned on because we
don’t know what was previously stored in
don’t know what was previously stored in
memory.
memory.
 Similarly we can bring flip-flop to set state
Similarly we can bring flip-flop to set state
without applying clock inputs.
without applying clock inputs.
Positive edge triggered D FF
Positive edge triggered D FF
6
 The notations
The notations C1 and
and 1D shows control
shows control
dependency.
dependency.
 An input labeled Cn, where n is any number,
controls all the other inputs starting with the
number n
 C1 controls input 1D. S and R have no 1 in
front of them, and therefore they are not
controlled by the clock at C1.
7
8
9
 The positioning of S and R at the top and
bottom of the symbol rather than on the left
edge implies that resulting output changes are
not controlled by the clock C.
10
Find Characteristic equation of
Find Characteristic equation of
Flip-Flop
Flip-Flop
 Characteristic table is used to find equations of
Characteristic table is used to find equations of
flip-flops.
flip-flops.
 Characteristic table of a flip flop is designed by
Characteristic table of a flip flop is designed by
using truth table of that flip-flop.
using truth table of that flip-flop.
11
 D
D
 Q(t+1) = D(t)
Q(t+1) = D(t)
 SR
SR
 Q(t+1) = S(t) + R’(t)Q(t)
Q(t+1) = S(t) + R’(t)Q(t)
 JK
JK
 Q(t+1) = J(t)Q’(t) + K’(t)Q(t)
Q(t+1) = J(t)Q’(t) + K’(t)Q(t)
12
Excitation table of flip-flop
Excitation table of flip-flop
 What will be the input value for a combination
What will be the input value for a combination
of present state and next state of a particular
of present state and next state of a particular
flip-flop
flip-flop
 is described by excitation table.
is described by excitation table.
 Excitation table of a flip-flop is designed using
Excitation table of a flip-flop is designed using
characteristic table of that particular flip-flop.
characteristic table of that particular flip-flop.
 It is used to convert one flip-flop into another.
It is used to convert one flip-flop into another.
13
Applications of Flip-Flops
Applications of Flip-Flops
 Registers
Registers
 Counters
Counters
 Frequency Dividers
Frequency Dividers
14
Register
Register
 A memory block in CPU which is used to store a
A memory block in CPU which is used to store a
group of bits at the same time.
group of bits at the same time.
 If we are able to store one bit, we can definitely
If we are able to store one bit, we can definitely
store more than one bit at a time.
store more than one bit at a time.
 So we can say a register is a combination of flip
So we can say a register is a combination of flip
flops.
flops.
 Which means if we want to store 4 bit data, we
Which means if we want to store 4 bit data, we
have to combine 4 flip flops in a single circuit to
have to combine 4 flip flops in a single circuit to
design 4 bit register.
design 4 bit register.
15

More Related Content

PPT
Flip Flop
PPSX
Sequential circuits
PPTX
Flip flop
PDF
15CS32 ADE Module 4
PDF
Assignment#5
PPT
Lec17-Registers.ppt
PDF
13 down vote One reason we have a tendency to clock flip flops s.pdf
PPTX
Digital principles
Flip Flop
Sequential circuits
Flip flop
15CS32 ADE Module 4
Assignment#5
Lec17-Registers.ppt
13 down vote One reason we have a tendency to clock flip flops s.pdf
Digital principles

Similar to digital logic designing preview explain.ppt (20)

PDF
Talk About Performance
PPT
Ds flip flop
PPTX
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
PPTX
De EE unit-3.pptx
PPTX
ilide.info-flip-flops-and-application-japan-malaysia-technical-institute-jmti...
PPTX
Latches and flip flops
PPTX
Unit 4 sequential circuits
PDF
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
DOCX
All flipflop
PPTX
Flipflop
PDF
pointers_in_c.pdf iit pdf to understa ppinters
PPTX
Matlab Script - Loop Control
PPT
8.flip flops and registers
PPTX
7.SEQUENTIAL LOGIC Presentationwsss.pptx
PPTX
Flip flops & registers
DOCX
counter using 4 master slave flip-flops
PDF
PPT
Admission in india 2015
PPTX
Digital clock presentation
PDF
................................................................................
Talk About Performance
Ds flip flop
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
De EE unit-3.pptx
ilide.info-flip-flops-and-application-japan-malaysia-technical-institute-jmti...
Latches and flip flops
Unit 4 sequential circuits
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
All flipflop
Flipflop
pointers_in_c.pdf iit pdf to understa ppinters
Matlab Script - Loop Control
8.flip flops and registers
7.SEQUENTIAL LOGIC Presentationwsss.pptx
Flip flops & registers
counter using 4 master slave flip-flops
Admission in india 2015
Digital clock presentation
................................................................................
Ad

Recently uploaded (20)

PPTX
Introduction to Building Information Modeling
PDF
Introduction-to-World-Schools-format-guide.pdf
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PDF
Chalkpiece Annual Report from 2019 To 2025
PPTX
2. Competency Based Interviewing - September'16.pptx
PDF
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
PPTX
Media And Information Literacy for Grade 12
PPTX
Entrepreneur intro, origin, process, method
PPTX
Orthtotics presentation regarding physcial therapy
PPTX
22CDH01-V3-UNIT-I INTRODUCITON TO EXTENDED REALITY
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PPT
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
PPTX
CLASSIFICATION OF YARN- process, explanation
PDF
intro_to_rust.pptx_123456789012446789.pdf
PPTX
Acoustics new for. Sound insulation and absorber
PDF
The Basics of Presentation Design eBook by VerdanaBold
PPTX
UNIT III - GRAPHICS AND AUDIO FOR MOBILE
PDF
Architecture Design Portfolio- VICTOR OKUTU
PDF
ART & DESIGN HISTORY OF VEDIC CIVILISATION.pdf
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
Introduction to Building Information Modeling
Introduction-to-World-Schools-format-guide.pdf
Tenders & Contracts Works _ Services Afzal.pptx
Chalkpiece Annual Report from 2019 To 2025
2. Competency Based Interviewing - September'16.pptx
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
Media And Information Literacy for Grade 12
Entrepreneur intro, origin, process, method
Orthtotics presentation regarding physcial therapy
22CDH01-V3-UNIT-I INTRODUCITON TO EXTENDED REALITY
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
CLASSIFICATION OF YARN- process, explanation
intro_to_rust.pptx_123456789012446789.pdf
Acoustics new for. Sound insulation and absorber
The Basics of Presentation Design eBook by VerdanaBold
UNIT III - GRAPHICS AND AUDIO FOR MOBILE
Architecture Design Portfolio- VICTOR OKUTU
ART & DESIGN HISTORY OF VEDIC CIVILISATION.pdf
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
Ad

digital logic designing preview explain.ppt

  • 1. 1 Subject : EE227-Digital Logic Design Subject : EE227-Digital Logic Design Lecture ecture : #20 : #20 Date : 08 April, 2020 Wednesday Date : 08 April, 2020 Wednesday Instructor : Mr. Muhammad Kamran Instructor : Mr. Muhammad Kamran office : Exam Hall (M-117) office : Exam Hall (M-117) Email : muhammad.kamran@nu.edu.pk Email : muhammad.kamran@nu.edu.pk In the Name of Allah the Most Beneficent the Most Merciful
  • 2. 2 Outline  Flip-Flop with direct inputs  Characteristic equations of D, SR and JK flip flops.  Excitation table for D, DR and JK flip flop.
  • 3. Flip Flops with direct inputs Flip Flops with direct inputs  Special inputs for setting and resetting memory Special inputs for setting and resetting memory elements like flip-flops elements like flip-flops asynchronously .  The special inputs that The special inputs that asynchronously set the set the flip-flop are called direct set input or preset. flip-flop are called direct set input or preset. 3
  • 4.  The special inputs that The special inputs that asynchronously Reset the set the flip-flop are called direct Reset input or clear. flip-flop are called direct Reset input or clear.  These inputs change the state of the flip-flop These inputs change the state of the flip-flop independent of the clock input. independent of the clock input. 4
  • 5. Why direct input? Why direct input? 5  Direct inputs are useful to bring the flip-flop in Direct inputs are useful to bring the flip-flop in reset state when power is turned on because we reset state when power is turned on because we don’t know what was previously stored in don’t know what was previously stored in memory. memory.  Similarly we can bring flip-flop to set state Similarly we can bring flip-flop to set state without applying clock inputs. without applying clock inputs.
  • 6. Positive edge triggered D FF Positive edge triggered D FF 6
  • 7.  The notations The notations C1 and and 1D shows control shows control dependency. dependency.  An input labeled Cn, where n is any number, controls all the other inputs starting with the number n  C1 controls input 1D. S and R have no 1 in front of them, and therefore they are not controlled by the clock at C1. 7
  • 8. 8
  • 9. 9
  • 10.  The positioning of S and R at the top and bottom of the symbol rather than on the left edge implies that resulting output changes are not controlled by the clock C. 10
  • 11. Find Characteristic equation of Find Characteristic equation of Flip-Flop Flip-Flop  Characteristic table is used to find equations of Characteristic table is used to find equations of flip-flops. flip-flops.  Characteristic table of a flip flop is designed by Characteristic table of a flip flop is designed by using truth table of that flip-flop. using truth table of that flip-flop. 11
  • 12.  D D  Q(t+1) = D(t) Q(t+1) = D(t)  SR SR  Q(t+1) = S(t) + R’(t)Q(t) Q(t+1) = S(t) + R’(t)Q(t)  JK JK  Q(t+1) = J(t)Q’(t) + K’(t)Q(t) Q(t+1) = J(t)Q’(t) + K’(t)Q(t) 12
  • 13. Excitation table of flip-flop Excitation table of flip-flop  What will be the input value for a combination What will be the input value for a combination of present state and next state of a particular of present state and next state of a particular flip-flop flip-flop  is described by excitation table. is described by excitation table.  Excitation table of a flip-flop is designed using Excitation table of a flip-flop is designed using characteristic table of that particular flip-flop. characteristic table of that particular flip-flop.  It is used to convert one flip-flop into another. It is used to convert one flip-flop into another. 13
  • 14. Applications of Flip-Flops Applications of Flip-Flops  Registers Registers  Counters Counters  Frequency Dividers Frequency Dividers 14
  • 15. Register Register  A memory block in CPU which is used to store a A memory block in CPU which is used to store a group of bits at the same time. group of bits at the same time.  If we are able to store one bit, we can definitely If we are able to store one bit, we can definitely store more than one bit at a time. store more than one bit at a time.  So we can say a register is a combination of flip So we can say a register is a combination of flip flops. flops.  Which means if we want to store 4 bit data, we Which means if we want to store 4 bit data, we have to combine 4 flip flops in a single circuit to have to combine 4 flip flops in a single circuit to design 4 bit register. design 4 bit register. 15