SlideShare a Scribd company logo
1 of 25
Latches and flip-flops
Gates and flip-flops
➢Gates are the building block of the logic
circuits. Their primary function is to perform
decision making operations.
➢Flip-flops are the building blocks of the digital
circuits. Their primary function is to store the
binary bits.
Logic circuits are classified into two groups:
Combinational logic circuits
Sequential logic circuits
Basic building
blocks include:
Basic building blocks
include FLIP-FLOPS:
LOGIC CIRCUITS
Logic gates make decisions
Flip Flops have memory
Synchronous and Asynchronous Sequential Logic:-
➢Synchronous
– the timing of all state transitions is controlled
by a common clock
– changes in all variables occur simultaneously
➢Asynchronous
–state transitions occur independently of any
clock and normally dependent on the timing of
transitions in the input variables
– changes in more than one output do not
necessarily occur simultaneously
Clock:-
➢A clock is a special device that whose
output continuously alternates between 0
and 1.
➢The time it takes the clock to change from 1
to 0 and back to 1 is called the clock period, or
clock cycle time.
➢The clock frequency is the inverse of the
clock period. The unit of measurement for
frequency is the hertz.
➢Clocks are often used to synchronize circuits.
clock period
Triggering
➢Sequential circuits are dependant on clock pulses
applies to their inputs.
➢The result of flip-flop responding to a clock input is
called clock pulse triggering, of which there are
four types. Each type responds to a clock pulse in
one of four ways :-
1. High level triggering
2. Low level triggering
3. Positive edge triggering
4. Negative edge triggering
Latch
Latch are the bi-stable devices which responds
to the change of input logic levels as they occur.
Latch
Inputs
Complementory output
Q
Q
Q is the primary output
Q is its complemetory
It is said to be in SET state if output Q is high
It is said to be in RESET state if output Q is low
R-S Latch using NOR gate
The two inputs, S and R
denote ``set'' and
``reset'' respectively.
The latch has memory,
and the present output
is dependent on the
state of the latch
R S Q Q comment
0 0 Qn Qn Previous
state
0 1 1 0 SET state
1 0 0 1 RESET state
1 1 Not Not Not
defined defined defined
R-S Latch using NAND gate
R S Q Q comment
1 1 Qn Qn Previous
state
0 1 1 0 SET state
1 0 0 1 RESET
state
0 0 Not Not Not
defined defined defined
R
Q
Q’
S
Level-Sensitive/ Gated RS-Latch
•
•
“Q” only changes when CLK is high (i.e. level-sensitive)
When CLK is high, behavior same as RS latch
E S R Q
0 X X No change
1 0 0 No change
1 0 1 0
1 1 0 1
1 1 1 Undefined Race condition
Level-Sensitive D-Latch
➢Make level-sensitive D-latch
from level-sensitive RS-latch
by connecting S = D and R =
not D
➢Due to NOT gate ,S and R will
always be the complements
of each other. hence S=R=0
or S=R=1, these inputs will
never appear. This will avoid
the problems associated
with SR=00 and SR=11
conditions
mal
Comple-
mentary
D Q
Nor
FF
Q
E
E D Q Q comments
0 X Q Q No change
1 0 0 1 Reset
1 1 1 0 Set
CLOCKED R-S FLIP-FLOP
S
R
et FF
S Q
eset
R
Q
ASYNCHRONOUS
Outputs of logic circuit can
change state anytime one
or more input changes
S
R
C
et FF
S Q
CLK
Q
R
lock
eset
SYNCHRONOUS
Clock signal determines
exact time at which any
output can change state
Flip-flops
❑A flip-flop is a bi-stable device, with inputs,
that remains in a given state as long as power
is applied and until input signals are applied to
cause its output to change.
❑There are four basic different types of flip-
flops:
➢
➢
➢
➢
SR
D
JK
T
CLOCKED R-S FLIP-FLOP
Symbols:
Truth Table:
Set
R
mal
Comple-
mentary
Clock
FF Nor
S Q
CLK
eset
R
Q
Clk S R
0 0
0 1
1 0
1 1
Qn Qn
No change
0 1
1 0
Race Race
Excitation table
Present state of
Q o/p
Next state of Q
o/p
Sn Input Rn input
0 0 0 ×
0 1 1 0
1 0 0 1
1 1 × 0
JK flip-flop:-
J
Q
K Q
J-k
latch
E
JK flip-flop:-
Excitation table:-
Present state of
Q o/p
Next state of Q
o/p
Jn Input Kn input
0 0 0 ×
0 1 1 ×
1 0 × 1
1 1 × 0
Clk J k Qn Qn
0 0 No change
0 1 0 1
1 0 1 0
1 1 Qn Qn
D Flip-Flop
D flip-flop:-
Excitation table:-
Present state of
Q o/p
Next state of Q
o/p
Dn Input
0 0 0
0 1 1
1 0 0
1 1 1
Clk D Q
0 0
1 1
T flip flop
clk T Q Q comments
0 Q Q No change
1 Q Q toggle
T flip-flop:-
Excitation table:-
Present state of
Q o/p
Next state of Q
o/p
Tn Input
0 0 0
0 1 1
1 0 1
1 1 0
Clk T Q
0 No change
1 toggle

More Related Content

Similar to Logic Gates vs Flip Flops - Key Differences

Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdfAreebaShoukat4
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxbagotjesusa
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdfDSOOP
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)Sairam Adithya
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SUBHA SHREE
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineeringkasheen2803
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
SequentialcircuitsRaghu Vamsi
 

Similar to Logic Gates vs Flip Flops - Key Differences (20)

Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Flip flops
Flip flopsFlip flops
Flip flops
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docx
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
Flipflop
FlipflopFlipflop
Flipflop
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineering
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
flip flops
flip flops flip flops
flip flops
 
Flip flop
Flip flopFlip flop
Flip flop
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

Logic Gates vs Flip Flops - Key Differences

  • 2. Gates and flip-flops ➢Gates are the building block of the logic circuits. Their primary function is to perform decision making operations. ➢Flip-flops are the building blocks of the digital circuits. Their primary function is to store the binary bits.
  • 3. Logic circuits are classified into two groups: Combinational logic circuits Sequential logic circuits Basic building blocks include: Basic building blocks include FLIP-FLOPS: LOGIC CIRCUITS Logic gates make decisions Flip Flops have memory
  • 4. Synchronous and Asynchronous Sequential Logic:- ➢Synchronous – the timing of all state transitions is controlled by a common clock – changes in all variables occur simultaneously ➢Asynchronous –state transitions occur independently of any clock and normally dependent on the timing of transitions in the input variables – changes in more than one output do not necessarily occur simultaneously
  • 5. Clock:- ➢A clock is a special device that whose output continuously alternates between 0 and 1. ➢The time it takes the clock to change from 1 to 0 and back to 1 is called the clock period, or clock cycle time. ➢The clock frequency is the inverse of the clock period. The unit of measurement for frequency is the hertz. ➢Clocks are often used to synchronize circuits. clock period
  • 6. Triggering ➢Sequential circuits are dependant on clock pulses applies to their inputs. ➢The result of flip-flop responding to a clock input is called clock pulse triggering, of which there are four types. Each type responds to a clock pulse in one of four ways :- 1. High level triggering 2. Low level triggering 3. Positive edge triggering 4. Negative edge triggering
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Latch Latch are the bi-stable devices which responds to the change of input logic levels as they occur. Latch Inputs Complementory output Q Q Q is the primary output Q is its complemetory It is said to be in SET state if output Q is high It is said to be in RESET state if output Q is low
  • 12. R-S Latch using NOR gate The two inputs, S and R denote ``set'' and ``reset'' respectively. The latch has memory, and the present output is dependent on the state of the latch R S Q Q comment 0 0 Qn Qn Previous state 0 1 1 0 SET state 1 0 0 1 RESET state 1 1 Not Not Not defined defined defined
  • 13. R-S Latch using NAND gate R S Q Q comment 1 1 Qn Qn Previous state 0 1 1 0 SET state 1 0 0 1 RESET state 0 0 Not Not Not defined defined defined R Q Q’ S
  • 14. Level-Sensitive/ Gated RS-Latch • • “Q” only changes when CLK is high (i.e. level-sensitive) When CLK is high, behavior same as RS latch E S R Q 0 X X No change 1 0 0 No change 1 0 1 0 1 1 0 1 1 1 1 Undefined Race condition
  • 15. Level-Sensitive D-Latch ➢Make level-sensitive D-latch from level-sensitive RS-latch by connecting S = D and R = not D ➢Due to NOT gate ,S and R will always be the complements of each other. hence S=R=0 or S=R=1, these inputs will never appear. This will avoid the problems associated with SR=00 and SR=11 conditions mal Comple- mentary D Q Nor FF Q E E D Q Q comments 0 X Q Q No change 1 0 0 1 Reset 1 1 1 0 Set
  • 16. CLOCKED R-S FLIP-FLOP S R et FF S Q eset R Q ASYNCHRONOUS Outputs of logic circuit can change state anytime one or more input changes S R C et FF S Q CLK Q R lock eset SYNCHRONOUS Clock signal determines exact time at which any output can change state
  • 17. Flip-flops ❑A flip-flop is a bi-stable device, with inputs, that remains in a given state as long as power is applied and until input signals are applied to cause its output to change. ❑There are four basic different types of flip- flops: ➢ ➢ ➢ ➢ SR D JK T
  • 18. CLOCKED R-S FLIP-FLOP Symbols: Truth Table: Set R mal Comple- mentary Clock FF Nor S Q CLK eset R Q Clk S R 0 0 0 1 1 0 1 1 Qn Qn No change 0 1 1 0 Race Race
  • 19. Excitation table Present state of Q o/p Next state of Q o/p Sn Input Rn input 0 0 0 × 0 1 1 0 1 0 0 1 1 1 × 0
  • 21. JK flip-flop:- Excitation table:- Present state of Q o/p Next state of Q o/p Jn Input Kn input 0 0 0 × 0 1 1 × 1 0 × 1 1 1 × 0 Clk J k Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Qn Qn
  • 23. D flip-flop:- Excitation table:- Present state of Q o/p Next state of Q o/p Dn Input 0 0 0 0 1 1 1 0 0 1 1 1 Clk D Q 0 0 1 1
  • 24. T flip flop clk T Q Q comments 0 Q Q No change 1 Q Q toggle
  • 25. T flip-flop:- Excitation table:- Present state of Q o/p Next state of Q o/p Tn Input 0 0 0 0 1 1 1 0 1 1 1 0 Clk T Q 0 No change 1 toggle