SlideShare a Scribd company logo
1 of 32
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 
Logic circuits are classified into two groups: 
Combinational logic circuits 
Basic building 
blocks include: 
Sequential logic circuits 
Basic building blocks 
include FLIP-FLOPS: 
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 period 
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.
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 
Q Complementory output 
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 
defined 
Not 
defined 
Not 
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 
defined 
Not 
defined 
Not 
defined 
R 
Q 
S Q’
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 
0 X X No change 
1 0 0 
1 0 1 
1 1 0 
1 1 1 
Q 
No change 
0 
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 
D 
E 
Q 
Q 
Normal 
Comple-mentary 
FF 
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 
Set 
Reset 
S 
R 
Q 
Q 
FF 
ASYNCHRONOUS 
Outputs of logic circuit can 
change state anytime one 
or more input changes 
Set 
Reset 
S 
R 
Q 
Q 
FF 
Clock 
CLK 
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 
Reset 
S 
R 
Q 
Q 
Normal 
Comple-mentary 
FF 
Clock 
CLK 
Clk S R Qn Qn 
0 0 No change 
0 1 0 1 
1 0 1 0 
1 1 Race Race
POSITIVE EDGE TRIGGERED 
R-S FLIP-FLOP 
TIMING DIAGRAMS 
CLK R S Q 
0 
0 
0 NO CHG 
1 
1 0 
1 1 
SET 
RESET 
ILLEGAL
NEGATIVE EDGE TRIGGERED 
R-S FLIP-FLOP 
CLK R S Q 
0 
0 
0 NO CHG 
1 
1 0 
1 1 
SET 
RESET 
ILLEGAL
D Flip-Flop
J-k latch 
J 
K 
Q 
Q 
J-k 
latch 
E 
E S R Qn Qn 
1 0 0 No change 
1 0 1 0 1 
1 1 0 1 0 
1 1 1 Qn Qn Toggle 
Race around 
condition
Race around condition 
This condition occur when j=k=1 i.e when the 
latch is in toggle mode. 
This can be avoided by 
Using edge triggering J-k flip-flop 
Using master slave flip-flop
J-K flip-flop 
Clk J k Qn Qn 
0 0 No change 
0 1 0 1 
1 0 1 0 
1 1 Qn Qn Toggle
Master slave flip-flop
Master slave flip-flop 
Clk j k Qn Qn 
0 0 No change 
0 1 0 1 
1 0 1 0 
1 1 Qn Qn Toggle
T flip flop 
clk T Q Q comments 
0 Q Q No change 
1 Q Q toggle
Excitation table 
SR flip-flop:- 
Excitation table:- 
Clk S R Qn Qn 
0 0 No change 
0 1 0 1 
1 0 1 0 
1 1 Race Race 
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:- 
Excitation table:- 
Present state of 
Q o/p 
Clk J k Qn Qn 
0 0 No change 
0 1 0 1 
1 0 1 0 
1 1 Qn Qn 
Next state of Q 
o/p 
Jn Input Kn input 
0 0 0 × 
0 1 1 × 
1 0 × 1 
1 1 × 0
D flip-flop:- 
Excitation table:- 
Present state of 
Q o/p 
Clk D Q 
0 0 
1 1 
Next state of Q 
o/p 
Dn Input 
0 0 0 
0 1 1 
1 0 0 
1 1 1
T flip-flop:- 
Excitation table:- 
Present state of 
Q o/p 
Clk T Q 
0 No change 
1 toggle 
Next state of Q 
o/p 
Tn Input 
0 0 0 
0 1 1 
1 0 1 
1 1 0

More Related Content

What's hot (20)

Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Flipflop
FlipflopFlipflop
Flipflop
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
PLDs
PLDsPLDs
PLDs
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
flip flops
flip flops flip flops
flip flops
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
Flip flo ps
Flip flo psFlip flo ps
Flip flo ps
 
Switch level modeling
Switch level modelingSwitch level modeling
Switch level modeling
 

Similar to Flipflops and Excitation tables of flipflops

Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptxramkumarraja7
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flopsSandeep Kumar
 
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
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitRai University
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdfDSOOP
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1Sarah Sue Calbio
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
SequentialcircuitsRaghu Vamsi
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxThapar Institute
 
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationSmit Luvani
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slidejyothir19
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsArti Parab Academics
 

Similar to Flipflops and Excitation tables of flipflops (20)

Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 
Flip flops
Flip flopsFlip flops
Flip flops
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
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
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf08 Latches and Flipflops.pdf
08 Latches and Flipflops.pdf
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
Flip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and OrganizationFlip Flop | Counters & Registers | Computer Fundamental and Organization
Flip Flop | Counters & Registers | Computer Fundamental and Organization
 
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
 

More from student

Logic Gates
Logic GatesLogic Gates
Logic Gatesstudent
 
Number Systems
Number SystemsNumber Systems
Number Systemsstudent
 
towers of hanoi
towers of hanoitowers of hanoi
towers of hanoistudent
 
header, circular and two way linked lists
header, circular and two way linked listsheader, circular and two way linked lists
header, circular and two way linked listsstudent
 
Arrays Data Structure
Arrays Data StructureArrays Data Structure
Arrays Data Structurestudent
 
Number Systems
Number SystemsNumber Systems
Number Systemsstudent
 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rulesstudent
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesstudent
 
animals colours numbers idioms
animals colours numbers idiomsanimals colours numbers idioms
animals colours numbers idiomsstudent
 
irregular verbs
irregular verbsirregular verbs
irregular verbsstudent
 
dc generator ece
dc generator ecedc generator ece
dc generator ecestudent
 
INDUCTION MOTOR
INDUCTION MOTORINDUCTION MOTOR
INDUCTION MOTORstudent
 
structure and union
structure and unionstructure and union
structure and unionstudent
 
storage class
storage classstorage class
storage classstudent
 
file handling1
file handling1file handling1
file handling1student
 
direct and indirect band gap
direct and indirect band gapdirect and indirect band gap
direct and indirect band gapstudent
 
hall effect
hall effecthall effect
hall effectstudent
 
optics chapter_07_solution_manual
optics chapter_07_solution_manualoptics chapter_07_solution_manual
optics chapter_07_solution_manualstudent
 
dyneins and kinesins
dyneins and kinesinsdyneins and kinesins
dyneins and kinesinsstudent
 
Structure and function of bacterial cells
Structure and function of bacterial cellsStructure and function of bacterial cells
Structure and function of bacterial cellsstudent
 

More from student (20)

Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
towers of hanoi
towers of hanoitowers of hanoi
towers of hanoi
 
header, circular and two way linked lists
header, circular and two way linked listsheader, circular and two way linked lists
header, circular and two way linked lists
 
Arrays Data Structure
Arrays Data StructureArrays Data Structure
Arrays Data Structure
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
animals colours numbers idioms
animals colours numbers idiomsanimals colours numbers idioms
animals colours numbers idioms
 
irregular verbs
irregular verbsirregular verbs
irregular verbs
 
dc generator ece
dc generator ecedc generator ece
dc generator ece
 
INDUCTION MOTOR
INDUCTION MOTORINDUCTION MOTOR
INDUCTION MOTOR
 
structure and union
structure and unionstructure and union
structure and union
 
storage class
storage classstorage class
storage class
 
file handling1
file handling1file handling1
file handling1
 
direct and indirect band gap
direct and indirect band gapdirect and indirect band gap
direct and indirect band gap
 
hall effect
hall effecthall effect
hall effect
 
optics chapter_07_solution_manual
optics chapter_07_solution_manualoptics chapter_07_solution_manual
optics chapter_07_solution_manual
 
dyneins and kinesins
dyneins and kinesinsdyneins and kinesins
dyneins and kinesins
 
Structure and function of bacterial cells
Structure and function of bacterial cellsStructure and function of bacterial cells
Structure and function of bacterial cells
 

Recently uploaded

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
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
 
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
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
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
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 

Recently uploaded (20)

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
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, ...
 
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...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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 )
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
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
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

Flipflops and Excitation tables of flipflops

  • 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 Logic circuits are classified into two groups: Combinational logic circuits Basic building blocks include: Sequential logic circuits Basic building blocks include FLIP-FLOPS: 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 period 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.
  • 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 Q Complementory output 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 defined Not defined Not 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 defined Not defined Not defined R Q S Q’
  • 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 0 X X No change 1 0 0 1 0 1 1 1 0 1 1 1 Q No change 0 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 D E Q Q Normal Comple-mentary FF 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 Set Reset S R Q Q FF ASYNCHRONOUS Outputs of logic circuit can change state anytime one or more input changes Set Reset S R Q Q FF Clock CLK 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 Reset S R Q Q Normal Comple-mentary FF Clock CLK Clk S R Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Race Race
  • 19. POSITIVE EDGE TRIGGERED R-S FLIP-FLOP TIMING DIAGRAMS CLK R S Q 0 0 0 NO CHG 1 1 0 1 1 SET RESET ILLEGAL
  • 20. NEGATIVE EDGE TRIGGERED R-S FLIP-FLOP CLK R S Q 0 0 0 NO CHG 1 1 0 1 1 SET RESET ILLEGAL
  • 21.
  • 23. J-k latch J K Q Q J-k latch E E S R Qn Qn 1 0 0 No change 1 0 1 0 1 1 1 0 1 0 1 1 1 Qn Qn Toggle Race around condition
  • 24. Race around condition This condition occur when j=k=1 i.e when the latch is in toggle mode. This can be avoided by Using edge triggering J-k flip-flop Using master slave flip-flop
  • 25. J-K flip-flop Clk J k Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Qn Qn Toggle
  • 27. Master slave flip-flop Clk j k Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Qn Qn Toggle
  • 28. T flip flop clk T Q Q comments 0 Q Q No change 1 Q Q toggle
  • 29. Excitation table SR flip-flop:- Excitation table:- Clk S R Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Race Race 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
  • 30. JK flip-flop:- Excitation table:- Present state of Q o/p Clk J k Qn Qn 0 0 No change 0 1 0 1 1 0 1 0 1 1 Qn Qn Next state of Q o/p Jn Input Kn input 0 0 0 × 0 1 1 × 1 0 × 1 1 1 × 0
  • 31. D flip-flop:- Excitation table:- Present state of Q o/p Clk D Q 0 0 1 1 Next state of Q o/p Dn Input 0 0 0 0 1 1 1 0 0 1 1 1
  • 32. T flip-flop:- Excitation table:- Present state of Q o/p Clk T Q 0 No change 1 toggle Next state of Q o/p Tn Input 0 0 0 0 1 1 1 0 1 1 1 0