SlideShare a Scribd company logo
Sequential
logic circuits
Combinational logic circuit
Sequential logic circuit
Flip-flop
Build flip-flop using logic gates
1
Objectives:
• Define sequential logic circuit.
• Differentiate between combinational logic circuit and
sequential logic circuit.
• Describe flip - flop.
• Identify various types of flip-flops.
• Build SR and T flip – flop using logic gates.
• Draw the symbol and truth table of SR and T flip – flop.
1
2
3
4
5
6
2
Sequential & Combinational
logic circuit
Define sequential logic circuit.
Differentiate between combinational logic circuit and
sequential logic circuit.
1
2
3
Difference between
Combinational & Sequential logic circuit
Basic building
blocks include:
Basic building blocks
include FLIP-FLOPS:
Combinational Logic Circuits
Sequential Logic Circuits
4
Sequential
logic circuit
• Sequential logic is the type of digital system
that does not only depend on current input, but
also the previous history of the system.
• For that reason sequential logic requires
memory elements to function.
• The building blocks used to construct devices
that store data are called flip-flops.
S
C
R
Q
Q'
5
Sequential
logic circuit
• The output of circuit depends on the previous output and
the present inputs.
• The inputs must follow a specific sequence to produce a
required output.
• In order to follow a sequence of inputs the circuits must
contain some form of memory to retain knowledge of those
inputs, which have already occurred.
• This memory is obtained by feedback connections, which
are made so that history of the previous inputs is
maintained.
• Most sequential circuit elements are known as Bistables or
Flip Flops.
S
C
R
Q
Q'
6
Sequential circuit have loops
– these enable circuits to receive feedback
Sequential logic circuit
7
Combinational
logic circuit
• Combinational logic is an interconnection of
logic gates to generate a specific logic
function where the inputs result in an
immediate output, having no memory or
storage capabilities.
• They function only based on their inputs,
and NOT based on clocks.
8
Combinational circuit is combination
of various logic gates
Combinational logic circuit
9
Flip-Flop
Describe flip - flop.3
10
Flip-Flop
• "Flip-flop" is the common name given to two-state
devices which offer basic memory for sequential
logic operations.
• Flip-flops are heavily used for digital data storage and
transfer and are commonly used in banks called
"registers" for the storage of binary numerical
data.
11
Flip-Flop
• They have two stable
conditions and can be
switched from one to
the other by appropriate
inputs. These stable
conditions are usually
called the states of the
circuit.
• They are 1 (HIGH) or
0 (LOW).
• Whenever we refer to the
state of flip flop, we refer
to the state of its normal
output (Q).
• More complicated Flip-
Flop use a clock as the
control input. These
clocked flip-flops are used
whenever the input and
output signals must occur
within a particular sequence
12
• This is the general flip-flop symbol.
Flip-Flop
• Flip-flop are basic storage/memory elements.
• Flip-flop are essentially 1-bit storage devices.
• Types of flip-flops are:
• 1. SR Flip-flop
• 2. JK Flip-flop
• 3. D Flip-flop
• 4. T Flip-flop
• Application of flip-flop:
• 1. Counter 4. Logic controller
• 2. Register 5. Frequency Divider
• 3. Memory
13
SR Flip-Flop
Identify various types of flip-flops.
Build SR and T flip – flop using logic gates.
Draw the symbol and truth table of SR and T flip – flop.
4
5
6
14
SR Flip-Flop
• The simplest binary storage device.
• SR Flip-flop have 2 inputs (SET & RESET) and 2
outputs (Q & Q’).
NOTE: Q & Q’ are complements of each other
• The SR flip flop is sometimes referred to as an SR
latch. The term latch refers to its use as a temporary
memory storage device.
S
R
Q
Q'
15
SR Flip-Flop
• The SR Flip-flop have two inputs, SET (S) and
RESET (R)
• The SR Flip Flop has two outputs, Q and Q’.
• The Q output is considered the normal output and is
the one most used.
• The other output Q’ is simply the complement of
output Q.
S
R
Q
Q'
16
SR Flip-Flop
• The most basic Flip-Flop.
• The basic RS flip flop is an asynchronous device.
• In asynchronous devices, the outputs are immediately
changed anytime one or more of the inputs change just as
in combinational logic circuits.
• It does not operate in step with a clock or timing.
• These basic Flip Flop circuit can b constructed using two
NAND gate latch or two NOR gates latch.
• SR Flip Flop Active Low = NAND gates
• SR Flip Flop Active High = NOR gates
S
R
Q
Q'
17
S
R
Q
Q'
18
SR Flip-Flop
Construction:
SR Flip-Flop
Symbol:
SR Flip-flop (Active HIGH)
NOR gate
SR Flip-flop (Active HIGH)
Symbol
19
SR Flip-Flop
Symbol:
SR Flip-flop (Active LOW)
NAND gate
SR Flip-flop (Active LOW)
Symbol
20
SR Flip-Flop
Truth Table:
SR Flip-flop
(Active HIGH)
S R Q Q'
0 0 NC NC No change. Latch
remained in present state.
1 0 1 0 Latch SET.
0 1 0 1 Latch RESET.
1 1 0 0 Invalid condition.
S' R' Q Q'
1 1 NC NC No change. Latch
remained in present state.
0 1 1 0 Latch SET.
1 0 0 1 Latch RESET.
0 0 1 1 Invalid condition.
S
R
Q
Q'
S
R
Q
Q'
SR Flip-flop
(Active LOW)
21
Quick Revision
NOR gate & Truth Table:
22
SR Flip-Flop
Circuit: HOLD/LATCH Mode
23
• The analysis of a SR Flip
Flop NOR:
• S = 0, R = 0; This is the
normal resting state of the
circuit and it has no effect on
the output states. Q and Q’
will remain in whatever state
they were in prior to the
occurrence of this input
condition. It works in HOLD
(no change) mode operation.
SR Flip-Flop
Truth Table: HOLD/LATCH Mode
24
SR Flip-Flop
Circuit: SET Mode
25
• Consider the input S = 1. Any
time the input of a NOR gate
is 1 the output is 0. So, the
output of the second NOR
gate is 0, i.e. Q’ = 0.
• Q’ = 0 is fed back into the
input of the first NOR gate.
So, with R = 0, the output of
the first NOR gate is 1, i.e.
Q=1.
SR Flip-Flop
Truth Table: SET Mode
26
SR Flip-Flop
Circuit: RESET Mode
27
• Consider the input R = 1.
Any time the input of a NOR
gate is 1 the output is 0. So,
the output of the first NOR
gate is 0, i.e. Q = 0.
• Q = 0 is fed back into the
input of the second NOR
gate. So, with S = 0, the
output of the second NOR
gate is 1, i.e. Q’=1.
SR Flip-Flop
Truth Table: RESET Mode
28
SR Flip-Flop
Circuit: INVALID Mode
29
• S = 1, R = 1; This
condition tries to set and
reset the NOR gate latch at
the same time, it produces
Q = Q’ = 0. This is an
unexpected condition and
is not used.
• The two outputs should be
the inverse of each other.
SR Flip-Flop
Circuit: INVALID Mode
30
• If the inputs are returned to
1 simultaneously, the output
states are unpredictable.
• This input condition should
not be used and when
circuits are constructed, the
design should make this
condition SET=RESET=1
never arises.
SR Flip-Flop
Circuit: INVALID Mode
31
S
R
Q
Q'
32
SR Flip-Flop
Operation:
33
SR Flip-Flop
Operation:
AN ANIMATION OF
THE FLIP-FLOP
PROCESS FOR THE
NOR-GATE.
IN THIS ANIMATION,
RED SIGNIFIES TRUE
AND BLACK
SIGNIFIES FALSE.
(SOURCE)
SR NOR gate latch
Truth Table:
SR Flip-flop
(Active HIGH)
S R Q Q'
0 0 NC NC No change. Latch
remained in present state.
1 0 1 0 Latch SET.
0 1 0 1 Latch RESET.
1 1 0 0 Invalid condition.
S
R
Q
Q'
34
• From the description of the NOR gate latch operation, it
shows that the SET and RESET inputs are Active HIGH.
• The SET input will set Q=1 when SET is 1 (HIGH).
RESET input will reset Q when RESET is 1 (HIGH).
SR NOR gate latch
Timing Diagram
35
• Exercise: Determine the output
of NOR gate latch with Q initially
1 for the given input waveforms.
• Example: Determine the output of
NOR gate latch with Q initially 0
for the given input waveforms.
SR Flip-Flop
Timing Diagram:
36
Quick Revision
NAND gate & Truth Table:
37
SR Flip-Flop
Circuit: INVALID Mode
38
• The analysis of a SR Flip
Flop NAND:
• S = 0, R = 0; This
condition tries to set and
reset the NAND gate latch
at the same time.
• It produces Q = Q’ =1
SR Flip-Flop
Circuit: INVALID Mode
39
• This is an unexpected condition,
since the two outputs should be
inverses of each other.
• If the inputs are returned to 1
simultaneously, the output states
are unpredictable.
• This input condition should not
be used and when circuits are
constructed, the design should
make sue this condition.
S=R=0 never arises.
It is called INVALID/
PROHIBITED
SR Flip-Flop
Circuit: INVALID Mode
40
41
• The analysis of a SR Flip
Flop NAND:
• S = 1, R = 0; This will
reset Q = 0.
SR Flip-Flop
Circuit: RESET Mode
42
SR Flip-Flop
Truth Table: RESET Mode
SR Flip-Flop
Circuit: SET Mode
43
• Input, S = 0, R = 1
• This will set Q = 1.
SR Flip-Flop
Truth Table: SET Mode
44
SR Flip-Flop
Circuit: HOLD/LATCH Mode
45
• The analysis of a SR Flip
Flop NOR:
• S = 1, R = 1; This is the
normal resting state of the
circuit and it has no effect on
the output states. Q and Q’
will remain in whatever state
they were in prior to the
occurrence of this input
condition. It works in HOLD
(no change) mode operation.
SR Flip-Flop
Truth Table: HOLD/LATCH Mode
46
SR Flip-Flop
Truth Table:
S' R' Q Q'
1 1 NC NC No change. Latch
remained in present state.
0 1 1 0 Latch SET.
1 0 0 1 Latch RESET.
0 0 1 1 Invalid condition.
S
R
Q
Q'
SR Flip-flop
(Active LOW)
47
• From the description of the NAND gate latch operation, it
shows that the SET and RESET inputs are Active LOW.
• The SET input will set Q=1 when SET is 0 (LOW).
RESET input will reset Q=0 when RESET is 0 (LOW).
SR Flip-Flop
Truth Table:
S' R' Q Q'
1 1 NC NC No change. Latch
remained in present state.
0 1 1 0 Latch SET.
1 0 0 1 Latch RESET.
0 0 1 1 Invalid condition.
S
R
Q
Q'
SR Flip-flop
(Active LOW)
48
• In the prohibited/INVALID state both outputs are 1. This condition is
not used on the RS flip-flop. The set condition means setting the
output Q to 1.
• Likewise, the reset condition means resetting (clearing) the output Q to
0. The first row shows the disabled, or hold, condition of the RS flip-
flop. The outputs remain as they were before the hold condition
existed. There is no change in the outputs from the previous states.
• The flip-flop memorizes the previous condition.
SR NAND gate latch
Timing Diagram
49
• Exercise: Determine the output
of NAND gate latch with Q
initially 1 for the given input
waveforms.
• Example: Determine the output of
NAND gate latch with Q initially 0
for the given input waveforms.

More Related Content

PPT
BCD,GRAY and EXCESS 3 codes
PPTX
block diagram reduction with examples
PDF
Reference Letter From Safety Manager & Project Manager
PDF
Asynchronous sequential circuit analysis
PPTX
Self exploration
PPTX
Ohms law
PPTX
Transport et stockage de pétrole
PPT
Karnaugh map
BCD,GRAY and EXCESS 3 codes
block diagram reduction with examples
Reference Letter From Safety Manager & Project Manager
Asynchronous sequential circuit analysis
Self exploration
Ohms law
Transport et stockage de pétrole
Karnaugh map

What's hot (20)

ODP
D Flip Flop
PPTX
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
PPTX
Jk flip flop
PPT
Sequential Logic Circuit
PPTX
D flip Flop
PPTX
latches
PPTX
Sequential circuits
PPTX
Presentation on Flip Flop
PPTX
D and T Flip Flop
PPT
Flipflops JK T SR D All FlipFlop Slides
PPTX
Flipflop
PDF
Registers and counters
PPTX
J - K & MASTERSLAVE FLIPFLOPS
PDF
Sequential circuits in Digital Electronics
PPT
Sequential circuit
PPTX
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
PPTX
Flip Flop | Counters & Registers | Computer Fundamental and Organization
PPT
Shift Registers
PPT
multiplexers and demultiplexers
PPTX
Multiplexers
D Flip Flop
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Jk flip flop
Sequential Logic Circuit
D flip Flop
latches
Sequential circuits
Presentation on Flip Flop
D and T Flip Flop
Flipflops JK T SR D All FlipFlop Slides
Flipflop
Registers and counters
J - K & MASTERSLAVE FLIPFLOPS
Sequential circuits in Digital Electronics
Sequential circuit
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Shift Registers
multiplexers and demultiplexers
Multiplexers
Ad

Viewers also liked (17)

PPTX
2.3 sequantial logic circuit
PDF
Sequential logic circuits flip-flop pt 3
PDF
Flip flop
PDF
Chapter 4 flip flop for students
PPTX
Combinational Logic Circuit
PPTX
Flip flops (ff)
PDF
Sequential circuits in digital logic design
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PDF
Primary Programs Framework - Curriculum Integration: Making Connections
PPTX
ARM CPU
PPTX
Sequential Logic Circuits
PPTX
Lecture 5 Synchronous Sequential Logic
PPTX
AVR CPU - ATmega328
PPTX
Smart Device RF & Antennas
PPT
Computer Oragnization Flipflops
PPTX
BJT - Model
PPTX
Combinational Logic
2.3 sequantial logic circuit
Sequential logic circuits flip-flop pt 3
Flip flop
Chapter 4 flip flop for students
Combinational Logic Circuit
Flip flops (ff)
Sequential circuits in digital logic design
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Primary Programs Framework - Curriculum Integration: Making Connections
ARM CPU
Sequential Logic Circuits
Lecture 5 Synchronous Sequential Logic
AVR CPU - ATmega328
Smart Device RF & Antennas
Computer Oragnization Flipflops
BJT - Model
Combinational Logic
Ad

Similar to Sequential logic circuits flip-flop pt 1 (20)

PPTX
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
PPTX
Chapter 6: Sequential Logic
PPTX
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
PPTX
Digital Electronics Unit_3.pptx
PPTX
Flip flop
PPTX
SEQUENTIAL_CIRCUIT digital logic design.pptx
PPTX
GROUP 4 DIGITAL elect S-R FLIP FLOP.pptx
PPT
Flipflops and Excitation tables of flipflops
PPTX
Latch and Flipflop.pptx
PPTX
adder and flip-flop explanation in detail
PPT
16148_flip-flopaaaaaaaaaaaaaaaaa1[1].ppt
PPTX
Latches and flip flop
PPTX
UNIT - III.pptx
PPTX
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
PPT
Unit IV version I.ppt
PPT
14827 unit 4_clocked_flip_flops
PPTX
PPT for MMTC Submission and format of details
PPTX
MMTC DELEVRI LECTURE PPTS SAMPLE FOR ATTENDING
PDF
5. Latches and flip-flop do it fasrt f.pdf
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
Chapter 6: Sequential Logic
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
Digital Electronics Unit_3.pptx
Flip flop
SEQUENTIAL_CIRCUIT digital logic design.pptx
GROUP 4 DIGITAL elect S-R FLIP FLOP.pptx
Flipflops and Excitation tables of flipflops
Latch and Flipflop.pptx
adder and flip-flop explanation in detail
16148_flip-flopaaaaaaaaaaaaaaaaa1[1].ppt
Latches and flip flop
UNIT - III.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Unit IV version I.ppt
14827 unit 4_clocked_flip_flops
PPT for MMTC Submission and format of details
MMTC DELEVRI LECTURE PPTS SAMPLE FOR ATTENDING
5. Latches and flip-flop do it fasrt f.pdf

More from Sarah Sue Calbio (20)

PDF
Solar System Models
PDF
Newton's Second Law - The Effect of Force
PDF
Which law review worksheet
PDF
Newton’s laws of motion practice
PDF
Newton's third law
PDF
Newton's second law
PDF
Seat belts and air bags
PDF
Sir isaac newton's first law
PDF
Planning Resources for Teachers in small high schools. Summer 2003
PDF
The Understanding by Design Guide to Creating high-quality units forms and FAQs
PDF
Chapter16openstax
PDF
Ap2 unit6 open stax notes wave optics
PDF
Ap2 unit6 open stax notes geometric optics
PDF
Ap2 unit6 open stax notes electromagnetic waves
PDF
Ap2 unit5 open stax notes
PDF
College Physics for AP courses
PDF
Chapter 15 thermodynamics
Solar System Models
Newton's Second Law - The Effect of Force
Which law review worksheet
Newton’s laws of motion practice
Newton's third law
Newton's second law
Seat belts and air bags
Sir isaac newton's first law
Planning Resources for Teachers in small high schools. Summer 2003
The Understanding by Design Guide to Creating high-quality units forms and FAQs
Chapter16openstax
Ap2 unit6 open stax notes wave optics
Ap2 unit6 open stax notes geometric optics
Ap2 unit6 open stax notes electromagnetic waves
Ap2 unit5 open stax notes
College Physics for AP courses
Chapter 15 thermodynamics

Recently uploaded (20)

PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
advance database management system book.pdf
PDF
Trump Administration's workforce development strategy
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
Empowerment Technology for Senior High School Guide
PPTX
Cell Types and Its function , kingdom of life
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
advance database management system book.pdf
Trump Administration's workforce development strategy
Hazard Identification & Risk Assessment .pdf
Weekly quiz Compilation Jan -July 25.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
Final Presentation General Medicine 03-08-2024.pptx
Final Presentation General Medicine 03-08-2024.pptx
What if we spent less time fighting change, and more time building what’s rig...
A systematic review of self-coping strategies used by university students to ...
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Empowerment Technology for Senior High School Guide
Cell Types and Its function , kingdom of life
Orientation - ARALprogram of Deped to the Parents.pptx

Sequential logic circuits flip-flop pt 1

  • 1. Sequential logic circuits Combinational logic circuit Sequential logic circuit Flip-flop Build flip-flop using logic gates 1
  • 2. Objectives: • Define sequential logic circuit. • Differentiate between combinational logic circuit and sequential logic circuit. • Describe flip - flop. • Identify various types of flip-flops. • Build SR and T flip – flop using logic gates. • Draw the symbol and truth table of SR and T flip – flop. 1 2 3 4 5 6 2
  • 3. Sequential & Combinational logic circuit Define sequential logic circuit. Differentiate between combinational logic circuit and sequential logic circuit. 1 2 3
  • 4. Difference between Combinational & Sequential logic circuit Basic building blocks include: Basic building blocks include FLIP-FLOPS: Combinational Logic Circuits Sequential Logic Circuits 4
  • 5. Sequential logic circuit • Sequential logic is the type of digital system that does not only depend on current input, but also the previous history of the system. • For that reason sequential logic requires memory elements to function. • The building blocks used to construct devices that store data are called flip-flops. S C R Q Q' 5
  • 6. Sequential logic circuit • The output of circuit depends on the previous output and the present inputs. • The inputs must follow a specific sequence to produce a required output. • In order to follow a sequence of inputs the circuits must contain some form of memory to retain knowledge of those inputs, which have already occurred. • This memory is obtained by feedback connections, which are made so that history of the previous inputs is maintained. • Most sequential circuit elements are known as Bistables or Flip Flops. S C R Q Q' 6
  • 7. Sequential circuit have loops – these enable circuits to receive feedback Sequential logic circuit 7
  • 8. Combinational logic circuit • Combinational logic is an interconnection of logic gates to generate a specific logic function where the inputs result in an immediate output, having no memory or storage capabilities. • They function only based on their inputs, and NOT based on clocks. 8
  • 9. Combinational circuit is combination of various logic gates Combinational logic circuit 9
  • 11. Flip-Flop • "Flip-flop" is the common name given to two-state devices which offer basic memory for sequential logic operations. • Flip-flops are heavily used for digital data storage and transfer and are commonly used in banks called "registers" for the storage of binary numerical data. 11
  • 12. Flip-Flop • They have two stable conditions and can be switched from one to the other by appropriate inputs. These stable conditions are usually called the states of the circuit. • They are 1 (HIGH) or 0 (LOW). • Whenever we refer to the state of flip flop, we refer to the state of its normal output (Q). • More complicated Flip- Flop use a clock as the control input. These clocked flip-flops are used whenever the input and output signals must occur within a particular sequence 12 • This is the general flip-flop symbol.
  • 13. Flip-Flop • Flip-flop are basic storage/memory elements. • Flip-flop are essentially 1-bit storage devices. • Types of flip-flops are: • 1. SR Flip-flop • 2. JK Flip-flop • 3. D Flip-flop • 4. T Flip-flop • Application of flip-flop: • 1. Counter 4. Logic controller • 2. Register 5. Frequency Divider • 3. Memory 13
  • 14. SR Flip-Flop Identify various types of flip-flops. Build SR and T flip – flop using logic gates. Draw the symbol and truth table of SR and T flip – flop. 4 5 6 14
  • 15. SR Flip-Flop • The simplest binary storage device. • SR Flip-flop have 2 inputs (SET & RESET) and 2 outputs (Q & Q’). NOTE: Q & Q’ are complements of each other • The SR flip flop is sometimes referred to as an SR latch. The term latch refers to its use as a temporary memory storage device. S R Q Q' 15
  • 16. SR Flip-Flop • The SR Flip-flop have two inputs, SET (S) and RESET (R) • The SR Flip Flop has two outputs, Q and Q’. • The Q output is considered the normal output and is the one most used. • The other output Q’ is simply the complement of output Q. S R Q Q' 16
  • 17. SR Flip-Flop • The most basic Flip-Flop. • The basic RS flip flop is an asynchronous device. • In asynchronous devices, the outputs are immediately changed anytime one or more of the inputs change just as in combinational logic circuits. • It does not operate in step with a clock or timing. • These basic Flip Flop circuit can b constructed using two NAND gate latch or two NOR gates latch. • SR Flip Flop Active Low = NAND gates • SR Flip Flop Active High = NOR gates S R Q Q' 17
  • 19. SR Flip-Flop Symbol: SR Flip-flop (Active HIGH) NOR gate SR Flip-flop (Active HIGH) Symbol 19
  • 20. SR Flip-Flop Symbol: SR Flip-flop (Active LOW) NAND gate SR Flip-flop (Active LOW) Symbol 20
  • 21. SR Flip-Flop Truth Table: SR Flip-flop (Active HIGH) S R Q Q' 0 0 NC NC No change. Latch remained in present state. 1 0 1 0 Latch SET. 0 1 0 1 Latch RESET. 1 1 0 0 Invalid condition. S' R' Q Q' 1 1 NC NC No change. Latch remained in present state. 0 1 1 0 Latch SET. 1 0 0 1 Latch RESET. 0 0 1 1 Invalid condition. S R Q Q' S R Q Q' SR Flip-flop (Active LOW) 21
  • 22. Quick Revision NOR gate & Truth Table: 22
  • 23. SR Flip-Flop Circuit: HOLD/LATCH Mode 23 • The analysis of a SR Flip Flop NOR: • S = 0, R = 0; This is the normal resting state of the circuit and it has no effect on the output states. Q and Q’ will remain in whatever state they were in prior to the occurrence of this input condition. It works in HOLD (no change) mode operation.
  • 24. SR Flip-Flop Truth Table: HOLD/LATCH Mode 24
  • 25. SR Flip-Flop Circuit: SET Mode 25 • Consider the input S = 1. Any time the input of a NOR gate is 1 the output is 0. So, the output of the second NOR gate is 0, i.e. Q’ = 0. • Q’ = 0 is fed back into the input of the first NOR gate. So, with R = 0, the output of the first NOR gate is 1, i.e. Q=1.
  • 27. SR Flip-Flop Circuit: RESET Mode 27 • Consider the input R = 1. Any time the input of a NOR gate is 1 the output is 0. So, the output of the first NOR gate is 0, i.e. Q = 0. • Q = 0 is fed back into the input of the second NOR gate. So, with S = 0, the output of the second NOR gate is 1, i.e. Q’=1.
  • 28. SR Flip-Flop Truth Table: RESET Mode 28
  • 29. SR Flip-Flop Circuit: INVALID Mode 29 • S = 1, R = 1; This condition tries to set and reset the NOR gate latch at the same time, it produces Q = Q’ = 0. This is an unexpected condition and is not used. • The two outputs should be the inverse of each other.
  • 30. SR Flip-Flop Circuit: INVALID Mode 30 • If the inputs are returned to 1 simultaneously, the output states are unpredictable. • This input condition should not be used and when circuits are constructed, the design should make this condition SET=RESET=1 never arises.
  • 33. 33 SR Flip-Flop Operation: AN ANIMATION OF THE FLIP-FLOP PROCESS FOR THE NOR-GATE. IN THIS ANIMATION, RED SIGNIFIES TRUE AND BLACK SIGNIFIES FALSE. (SOURCE)
  • 34. SR NOR gate latch Truth Table: SR Flip-flop (Active HIGH) S R Q Q' 0 0 NC NC No change. Latch remained in present state. 1 0 1 0 Latch SET. 0 1 0 1 Latch RESET. 1 1 0 0 Invalid condition. S R Q Q' 34 • From the description of the NOR gate latch operation, it shows that the SET and RESET inputs are Active HIGH. • The SET input will set Q=1 when SET is 1 (HIGH). RESET input will reset Q when RESET is 1 (HIGH).
  • 35. SR NOR gate latch Timing Diagram 35 • Exercise: Determine the output of NOR gate latch with Q initially 1 for the given input waveforms. • Example: Determine the output of NOR gate latch with Q initially 0 for the given input waveforms.
  • 37. Quick Revision NAND gate & Truth Table: 37
  • 38. SR Flip-Flop Circuit: INVALID Mode 38 • The analysis of a SR Flip Flop NAND: • S = 0, R = 0; This condition tries to set and reset the NAND gate latch at the same time. • It produces Q = Q’ =1
  • 39. SR Flip-Flop Circuit: INVALID Mode 39 • This is an unexpected condition, since the two outputs should be inverses of each other. • If the inputs are returned to 1 simultaneously, the output states are unpredictable. • This input condition should not be used and when circuits are constructed, the design should make sue this condition. S=R=0 never arises. It is called INVALID/ PROHIBITED
  • 41. 41 • The analysis of a SR Flip Flop NAND: • S = 1, R = 0; This will reset Q = 0. SR Flip-Flop Circuit: RESET Mode
  • 43. SR Flip-Flop Circuit: SET Mode 43 • Input, S = 0, R = 1 • This will set Q = 1.
  • 45. SR Flip-Flop Circuit: HOLD/LATCH Mode 45 • The analysis of a SR Flip Flop NOR: • S = 1, R = 1; This is the normal resting state of the circuit and it has no effect on the output states. Q and Q’ will remain in whatever state they were in prior to the occurrence of this input condition. It works in HOLD (no change) mode operation.
  • 46. SR Flip-Flop Truth Table: HOLD/LATCH Mode 46
  • 47. SR Flip-Flop Truth Table: S' R' Q Q' 1 1 NC NC No change. Latch remained in present state. 0 1 1 0 Latch SET. 1 0 0 1 Latch RESET. 0 0 1 1 Invalid condition. S R Q Q' SR Flip-flop (Active LOW) 47 • From the description of the NAND gate latch operation, it shows that the SET and RESET inputs are Active LOW. • The SET input will set Q=1 when SET is 0 (LOW). RESET input will reset Q=0 when RESET is 0 (LOW).
  • 48. SR Flip-Flop Truth Table: S' R' Q Q' 1 1 NC NC No change. Latch remained in present state. 0 1 1 0 Latch SET. 1 0 0 1 Latch RESET. 0 0 1 1 Invalid condition. S R Q Q' SR Flip-flop (Active LOW) 48 • In the prohibited/INVALID state both outputs are 1. This condition is not used on the RS flip-flop. The set condition means setting the output Q to 1. • Likewise, the reset condition means resetting (clearing) the output Q to 0. The first row shows the disabled, or hold, condition of the RS flip- flop. The outputs remain as they were before the hold condition existed. There is no change in the outputs from the previous states. • The flip-flop memorizes the previous condition.
  • 49. SR NAND gate latch Timing Diagram 49 • Exercise: Determine the output of NAND gate latch with Q initially 1 for the given input waveforms. • Example: Determine the output of NAND gate latch with Q initially 0 for the given input waveforms.