SlideShare a Scribd company logo
Sanjivani Rural Education Society’s
Sanjivani College of Engineering, Kopargaon-423 603
(An Autonomous Institute, Affiliated to Savitribai Phule Pune University, Pune)
NACC ‘A’ Grade Accredited, ISO 9001:2015 Certified
Department of Computer Engineering
(NBA Accredited)
Prof. S.A.Shivarkar
Assistant Professor
E-mail : shivarkarsandipcomp@sanjivani.org.in
Contact No: 8275032712
Subject- Digital Electronics and Data Communication
(CO204)
Unit 3- Sequential Circuit Design-1
One bit memory cell
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 2
• One bit memory cell is designed using two cross
coupled invertors N1 and N2. (NAND gates are used
as invertors).
• It is known as bistable element as it contain only two
states logic 1 state (HIGH) and logic 0 state (LOW).
• Let us assume that Q=1
• Which is input to N2.
• So output of N2 is 0 which is input for N1.
• So output of N1 is 1 which confirms our
assumption.
• Similarly second assumptions can be verified.
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
One bit memory cell cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 3
• Conclusion
• The outputs Q and Q’ are always complementary.
• The circuit has two stable states.
• If circuit is in 1 state then it continues to remain
in this state.
• Similarly if it is in 0 state then it continues to
remain in this state.
• So it is one bit memory cell.
• Also called as latch.
SR Latch
• No way of entering desired digital
information in latch shown in Fig. 1
• When power is switched ON the
circuit will switch to one of the
stable state either 1 or 0. Can not
predict!!
• So we have modified circuit as
shown in Fig. 2
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 4
Fig. 1
Fig. 2
SR Latch cont..
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 5
• Case 1
• S=R=0
• Assume Initial Q = 0
• then Next Q=0
• Assume Initial Q = 1
• then Next Q=1
• State does not
change.
Note: If We know that one of
the input of NAND gate is 0
then output of the NAND will
be always 1…
• Case 2
• S=1 and R=0
• Assume Initial Q = 0
• then Next Q=1
• Assume Initial Q = 1
• then Next Q=1
• Set state.
SR Latch cont..
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 6
Note: If We know that one of
the input of NAND gate is 0
then output of the NAND will
be always 1…
• Case 3
• S=0 and R=1
• Assume Initial Q = 0
• then Next Q=0
• Assume Initial Q = 1
• then Next Q=0
• Reset state.
• Case 4
• S=1 and R=1
• Both Q and Q’ tries
to become 1.
• Invalid. (This
condition is
prohibited)
SR Latch cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 7
Summary of operation of SR Latch
S R Qn Qn+1 Remark
0 0 0 0 No Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 × Ambiguous
1 1 1 ×
• Case 1
• S=R=0
• State does not
change.
• Case 2
• S=0 and R=1
• Reset state.
• Case 3
• S=1 and R=0
• Set state.
• Case 4
• S=1 and R=1
• Invalid.
Clocked SR Flip Flop
• It is often require to set or reset the
memory cell in synchronism with
train of pulse known as clock.
• Such a circuit is called as clocked SR
Flip Flop.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 8
Edge Detector
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 9
Clocked SR Flip Flop cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 10
Summary of operation of SR Flip Flop (Positive edge triggered)
CLK S R Qn Qn+1 Remark
0 0 0 0 No Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 × Ambiguous
1 1 1 ×
Clocked SR Flip Flop cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 11
Summary of operation of SR Flip Flop (Negative edge triggered)
CLK S R Qn Qn+1 Remark
0 0 0 0 No Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 × Ambiguous
1 1 1 ×
JK Flip Flop
• Similar to SR FF only one major
difference:
• J=K=1 condition does not result in
ambiguous state.
• For this condition (J=K=1) the FF
always goes in opposite state (i.e. if
previous state of FF is 0 then next
state will be 1 and if previous state is
1 then next state will be 0).
• This is called as toggle mode of
operation.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 12
JK Flip Flop cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 13
Operation of JK Flip Flop (Negative edge triggered)
CLK J K Qn Qn+1 Remark
0 0 0 0 No
Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 1 Toggle
1 1 1 0
D Flip Flop
• It has only one input D, which stands
for data.
• Block diagram
• Operation
• If D is 0 then Qn+1 will 0.
• If D is 1 then Qn+1 will be 1.
• The level present on D will be stored
in the FF when negative edge is
detected on clock pulse.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 14
CLK D Qn Qn+1
0 0 0
0 1 0
1 0 1
1 1 1
Implementation of D FF
• D FF can easily implemented
using JK FF by adding invertor.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 15
T Flip Flop
• It has only one input T.
• Block diagram
• Operation
• If T is 0 then no change
• IF T is 1 then toggle.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 16
CLK T Qn Qn+1
0 0 0
0 1 1
1 0 1
1 1 0
T Flip Flop cont..
• It is obtained from JK FF by connecting J and K inputs together.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 17
Excitation table
• In designing sequential circuits sometimes present state and next
state of the circuit are specified and it is required to find input
condition that will cause desired transition of the state.
• So there is a need of excitation table.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 18
Excitation table of SR FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 19
Truth table for SR Flip Flop (Negative edge triggered)
CLK S R Qn Qn+1 Remark
0 0 0 0 No Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 × Ambiguous
1 1 1 ×
Excitation table
Qn Qn+1 S R
0 0 0 ×
0 1 1 0
1 0 0 1
1 1 × 0
Excitation table of JK FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 20
Truth table for JK Flip Flop (Negative edge triggered)
CLK J K Qn Qn+1 Remark
0 0 0 0 No Change
0 0 1 1
0 1 0 0 Reset
0 1 1 0
1 0 0 1 Set
1 0 1 1
1 1 0 1 Toggle
1 1 1 0
Excitation table
Qn Qn+1 J K
0 0 0 ×
0 1 1 ×
1 0 × 1
1 1 × 0
Excitation table of D FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 21
Excitation table
Qn Qn+1 D
0 0 0
0 1 1
1 0 0
1 1 1
Truth Table
CLK D Qn Qn+1
0 0 0
0 1 0
1 0 1
1 1 1
Excitation table of T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 22
Excitation table
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
Truth Table
CLK T Qn Qn+1
0 0 0
0 1 1
1 0 1
1 1 0
Excitation table of T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 23
Excitation table
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
Truth Table
CLK T Qn Qn+1
0 0 0
0 1 1
1 0 1
1 1 0
Flip Flop conversion
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 24
Flip Flop conversion cont..
• Convert SR FF into D FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 25
Flip Flop conversion cont..
• Convert SR FF into D FF
• Step1
• Write TT of D FF.
• Step2
• Add two column S and R
in TT of D FF.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 26
D Qn Qn+1
0 0 0
0 1 0
1 0 1
1 1 1
D Qn Qn+1 S R
0 0 0
0 1 0
1 0 1
1 1 1
Flip Flop conversion cont..
• Step3
• Combine excitation table
of SR FF in the table
obtained in step 2
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 27
D Qn Qn+1 S R
0 0 0
0 1 0
1 0 1
1 1 1
Excitation table
Qn Qn+1 S R
0 0 0 ×
0 1 1 0
1 0 0 1
1 1 × 0
D Qn Qn+1 S R
0 0 0 0 ×
0 1 0 0 1
1 0 1 1 0
1 1 1 × 0
Flip Flop conversion cont..
• Step4
• Neglect Qn+1
• Design required combinational circuit
assuming D, Qn as input and S, R as
output
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 28
D Qn Qn+1 S R
0 0 0 0 ×
0 1 0 0 1
1 0 1 1 0
1 1 1 × 0
Flip Flop conversion cont..
• Step5
• Draw K map for S and R
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 29
D Qn S R
0 0 0 ×
0 1 0 1
1 0 1 0
1 1 × 0
Flip Flop conversion cont..
• Step6
• Draw logic diagram for Flip Flop conversion
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 30
• It is a sequential circuit used for counting.
• It is used for counting particular event.
• Clock is given as a input.
• A circuit used for counting the clock pulses is called as counter.
• Counter is group of FF.
Counter
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 31
• Basically there are two types of counter
• Asynchronous counter (Ripple counter)
• Synchronous counter
• In case of Asynchronous counter all the flip flops are not
clocked simultaneously.
• External clock pulse is applied only to first FF and output of first
becomes clock for second, output of second becomes clock for
third and so on.
• In case of Synchronous counter all the flip flops are
clocked simultaneously.
• External clock pulse is applied to all FF
Counter cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 32
• No. of FF required?
• 2 bit counter so two FF will be required.
• Type of FF
• T or JK
• Fig. shows 2 bit counter with T FF having
negative edge triggering..
• It will have 4 states (22).
• Inputs of both FF should be at Logic 1 so
that output will toggle.
• External clock pulse is applied to FF A and
its o/p QA is connected to clock input of
FF B.
2 bit Asynchronous (Ripple) Up Counter
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 33
• f(QA)=f(CLK)/2
• f(QB)= f(CLK)/4
2 bit Asynchronous Up Counter / Ripple Counter
cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 34
• When power is applied, all flip flops comes in random
state.
• In some digital system it is required to set FF when
power is applied..
• In some digital system it is required to reset FF when
power is applied..
• So we have Preset and Clear input in FF..
• These are active low inputs.
• If Preset’=0 then Q=1
• If clear’=0 then Q=0
• These are asynchronous inputs because there
operation is independent of the clock.
Preset and Clear Input in FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 35
• The counter with N FF can have 2N states.
• For example 2 bit counter has 4 states, 3 bit counter has 8 states.
• If counter has m states then it is called MOD m counter.
• 2 bit counter is MOD 4 counter.
• If MOD m counter is required then number of FF required (N) is determined using following condition.
• m<=2N
• Example
• For MOD 3 counter
• 2 FF
• For MOD 6 counter
• 3 FF
• But using 3 FF we will get 8 states. In MOD 6 counter only 6 states will be used, 2 will be unused.
• The counter is required to reset at the end of 6th clock pulse.
• This is possible by generating logic 0 signal at the end of 6th clock pulse and applying it to clear
input of all FF.
Modulus Asynchronous counter
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 36
• Design MOD 6 ripple
counter.
• Using 2 FF not possible
• Using 3 FF it is possible but
required to design RESET
logic.
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 37
Modulus Asynchronous counter cont..
IC 7490
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 38
• It is ripple counter IC.
• It is decade counter. (mod 10)
• It consist of 4 FF internally connected together.
• It contain two separate counter i.e MOD 2 and MOD
5.
• These counter can be used as independently or in
combination to provide MOD 10 counter.
• There are two reset input R0(1) and R0(2) both of
which are to be connected to logic 1 for clearing
outputs of counter.
• There are two more reset input R9(1) and R9(2) both
of which are to be connected to logic 1 for setting
counter to 1001.
7490 cont..
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 39
7490 as Decade Counter
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 40
Design MOD 6 counter using 7490
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 41
• Steps
1. Determine number of FF required and decide
type of FF.
2. Write excitation table for selected FF.
3. Draw state diagram.
4. Prepare circuit excitation table.
5. Prepare K map for each FF input in terms of FF
outputs as input variable.
6. Simplify K map and obtain minimized
expression.
7. Draw final circuit diagram.
Design of Synchronous counter
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 42
• Step1:
• 2 bit counter so 2
FF will be required.
Type of FF is T as
given in problem.
• Step2:
• Step3:
Design 2 bit synchronous counter using T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 43
Excitation table
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
• Step4:
Design 2 bit synchronous counter using T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 44
Present state Next state TB TA
QB QA QB1 QA1
0 0 0 1 0 1
0 1 1 0 1 1
1 0 1 1 0 1
1 1 0 0 1 1
• Step5:
Design 2 bit synchronous counter using T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 45
Present state Next state TB TA
QB QA QB1 QA1
0 0 0 1 0 1
0 1 1 0 1 1
1 0 1 1 0 1
1 1 0 0 1 1
• Step7:
Design 2 bit synchronous counter using T FF
DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 46

More Related Content

Similar to Sequential Ckt.pdf

Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
Naohiko Shimizu
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
EasyStudy3
 
Counters r012
Counters  r012Counters  r012
Counters r012
arunachalamr16
 
Basics Counters
Basics Counters Basics Counters
Basics Counters
Danial Mirza
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
Heman Pathak
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
ACE ENGINEERING COLLEGE
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
Asif Iqbal
 
Memory elements
Memory elementsMemory elements
Memory elements
chandkec
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
wajanga
 
Lec9
Lec9Lec9
Lecture-32-33.pptx
Lecture-32-33.pptxLecture-32-33.pptx
Lecture-32-33.pptx
AqeelAbbas94
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
arunachalamr16
 
Sequential Logic
Sequential LogicSequential Logic
Topic 3 Digital Technique Flip flop
Topic 3 Digital Technique Flip flopTopic 3 Digital Technique Flip flop
Topic 3 Digital Technique Flip flop
Bai Haqi
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
Er. Nawaraj Bhandari
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
GargiKhanna1
 
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
UtsavDas21
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
jyothir19
 

Similar to Sequential Ckt.pdf (20)

Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Counters r012
Counters  r012Counters  r012
Counters r012
 
Basics Counters
Basics Counters Basics Counters
Basics Counters
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
 
Memory elements
Memory elementsMemory elements
Memory elements
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
 
Lec9
Lec9Lec9
Lec9
 
Lecture-32-33.pptx
Lecture-32-33.pptxLecture-32-33.pptx
Lecture-32-33.pptx
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Topic 3 Digital Technique Flip flop
Topic 3 Digital Technique Flip flopTopic 3 Digital Technique Flip flop
Topic 3 Digital Technique Flip flop
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
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
 
Flip flop slide
Flip flop slideFlip flop slide
Flip flop slide
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 

More from ShivarkarSandip

Cluster Analysis: Measuring Similarity & Dissimilarity
Cluster Analysis: Measuring Similarity & DissimilarityCluster Analysis: Measuring Similarity & Dissimilarity
Cluster Analysis: Measuring Similarity & Dissimilarity
ShivarkarSandip
 
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
ShivarkarSandip
 
Frequent Pattern Analysis, Apriori and FP Growth Algorithm
Frequent Pattern Analysis, Apriori and FP Growth AlgorithmFrequent Pattern Analysis, Apriori and FP Growth Algorithm
Frequent Pattern Analysis, Apriori and FP Growth Algorithm
ShivarkarSandip
 
Data Warehouse and Architecture, OLAP Operation
Data Warehouse and Architecture, OLAP OperationData Warehouse and Architecture, OLAP Operation
Data Warehouse and Architecture, OLAP Operation
ShivarkarSandip
 
Data Preparation and Preprocessing , Data Cleaning
Data Preparation and Preprocessing , Data CleaningData Preparation and Preprocessing , Data Cleaning
Data Preparation and Preprocessing , Data Cleaning
ShivarkarSandip
 
Introduction to Data Mining, KDD Process, OLTP and OLAP
Introduction to Data Mining, KDD Process, OLTP and OLAPIntroduction to Data Mining, KDD Process, OLTP and OLAP
Introduction to Data Mining, KDD Process, OLTP and OLAP
ShivarkarSandip
 
Introduction to Data Mining KDD Process OLAP
Introduction to Data Mining KDD Process OLAPIntroduction to Data Mining KDD Process OLAP
Introduction to Data Mining KDD Process OLAP
ShivarkarSandip
 
Issues in data mining Patterns Online Analytical Processing
Issues in data mining  Patterns Online Analytical ProcessingIssues in data mining  Patterns Online Analytical Processing
Issues in data mining Patterns Online Analytical Processing
ShivarkarSandip
 
Introduction to data mining which covers the basics
Introduction to data mining which covers the basicsIntroduction to data mining which covers the basics
Introduction to data mining which covers the basics
ShivarkarSandip
 
Introduction to Data Communication.pdf
Introduction to Data Communication.pdfIntroduction to Data Communication.pdf
Introduction to Data Communication.pdf
ShivarkarSandip
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdf
ShivarkarSandip
 
Flip Flop.pdf
Flip Flop.pdfFlip Flop.pdf
Flip Flop.pdf
ShivarkarSandip
 
Combinational Ckt.pdf
Combinational Ckt.pdfCombinational Ckt.pdf
Combinational Ckt.pdf
ShivarkarSandip
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdf
ShivarkarSandip
 
Logic Minimization.pdf
Logic Minimization.pdfLogic Minimization.pdf
Logic Minimization.pdf
ShivarkarSandip
 
Unit III Introduction to DWH.pdf
Unit III Introduction to DWH.pdfUnit III Introduction to DWH.pdf
Unit III Introduction to DWH.pdf
ShivarkarSandip
 
Unit II Decision Making Basics and Concepts.pdf
Unit II Decision Making Basics and Concepts.pdfUnit II Decision Making Basics and Concepts.pdf
Unit II Decision Making Basics and Concepts.pdf
ShivarkarSandip
 
Unit I Factors Responsible for Successful BI Project.pdf
Unit I Factors Responsible for Successful BI Project.pdfUnit I Factors Responsible for Successful BI Project.pdf
Unit I Factors Responsible for Successful BI Project.pdf
ShivarkarSandip
 
Unit I Operational data Informational data.pdf
Unit I Operational data  Informational data.pdfUnit I Operational data  Informational data.pdf
Unit I Operational data Informational data.pdf
ShivarkarSandip
 
Unit I Introduction to BI.pdf
Unit I Introduction to BI.pdfUnit I Introduction to BI.pdf
Unit I Introduction to BI.pdf
ShivarkarSandip
 

More from ShivarkarSandip (20)

Cluster Analysis: Measuring Similarity & Dissimilarity
Cluster Analysis: Measuring Similarity & DissimilarityCluster Analysis: Measuring Similarity & Dissimilarity
Cluster Analysis: Measuring Similarity & Dissimilarity
 
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
Classification, Attribute Selection, Classifiers- Decision Tree, ID3,C4.5,Nav...
 
Frequent Pattern Analysis, Apriori and FP Growth Algorithm
Frequent Pattern Analysis, Apriori and FP Growth AlgorithmFrequent Pattern Analysis, Apriori and FP Growth Algorithm
Frequent Pattern Analysis, Apriori and FP Growth Algorithm
 
Data Warehouse and Architecture, OLAP Operation
Data Warehouse and Architecture, OLAP OperationData Warehouse and Architecture, OLAP Operation
Data Warehouse and Architecture, OLAP Operation
 
Data Preparation and Preprocessing , Data Cleaning
Data Preparation and Preprocessing , Data CleaningData Preparation and Preprocessing , Data Cleaning
Data Preparation and Preprocessing , Data Cleaning
 
Introduction to Data Mining, KDD Process, OLTP and OLAP
Introduction to Data Mining, KDD Process, OLTP and OLAPIntroduction to Data Mining, KDD Process, OLTP and OLAP
Introduction to Data Mining, KDD Process, OLTP and OLAP
 
Introduction to Data Mining KDD Process OLAP
Introduction to Data Mining KDD Process OLAPIntroduction to Data Mining KDD Process OLAP
Introduction to Data Mining KDD Process OLAP
 
Issues in data mining Patterns Online Analytical Processing
Issues in data mining  Patterns Online Analytical ProcessingIssues in data mining  Patterns Online Analytical Processing
Issues in data mining Patterns Online Analytical Processing
 
Introduction to data mining which covers the basics
Introduction to data mining which covers the basicsIntroduction to data mining which covers the basics
Introduction to data mining which covers the basics
 
Introduction to Data Communication.pdf
Introduction to Data Communication.pdfIntroduction to Data Communication.pdf
Introduction to Data Communication.pdf
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdf
 
Flip Flop.pdf
Flip Flop.pdfFlip Flop.pdf
Flip Flop.pdf
 
Combinational Ckt.pdf
Combinational Ckt.pdfCombinational Ckt.pdf
Combinational Ckt.pdf
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdf
 
Logic Minimization.pdf
Logic Minimization.pdfLogic Minimization.pdf
Logic Minimization.pdf
 
Unit III Introduction to DWH.pdf
Unit III Introduction to DWH.pdfUnit III Introduction to DWH.pdf
Unit III Introduction to DWH.pdf
 
Unit II Decision Making Basics and Concepts.pdf
Unit II Decision Making Basics and Concepts.pdfUnit II Decision Making Basics and Concepts.pdf
Unit II Decision Making Basics and Concepts.pdf
 
Unit I Factors Responsible for Successful BI Project.pdf
Unit I Factors Responsible for Successful BI Project.pdfUnit I Factors Responsible for Successful BI Project.pdf
Unit I Factors Responsible for Successful BI Project.pdf
 
Unit I Operational data Informational data.pdf
Unit I Operational data  Informational data.pdfUnit I Operational data  Informational data.pdf
Unit I Operational data Informational data.pdf
 
Unit I Introduction to BI.pdf
Unit I Introduction to BI.pdfUnit I Introduction to BI.pdf
Unit I Introduction to BI.pdf
 

Recently uploaded

Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 

Recently uploaded (20)

Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 

Sequential Ckt.pdf

  • 1. Sanjivani Rural Education Society’s Sanjivani College of Engineering, Kopargaon-423 603 (An Autonomous Institute, Affiliated to Savitribai Phule Pune University, Pune) NACC ‘A’ Grade Accredited, ISO 9001:2015 Certified Department of Computer Engineering (NBA Accredited) Prof. S.A.Shivarkar Assistant Professor E-mail : shivarkarsandipcomp@sanjivani.org.in Contact No: 8275032712 Subject- Digital Electronics and Data Communication (CO204) Unit 3- Sequential Circuit Design-1
  • 2. One bit memory cell DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 2 • One bit memory cell is designed using two cross coupled invertors N1 and N2. (NAND gates are used as invertors). • It is known as bistable element as it contain only two states logic 1 state (HIGH) and logic 0 state (LOW). • Let us assume that Q=1 • Which is input to N2. • So output of N2 is 0 which is input for N1. • So output of N1 is 1 which confirms our assumption. • Similarly second assumptions can be verified. A B Y 0 0 1 0 1 1 1 0 1 1 1 0
  • 3. One bit memory cell cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 3 • Conclusion • The outputs Q and Q’ are always complementary. • The circuit has two stable states. • If circuit is in 1 state then it continues to remain in this state. • Similarly if it is in 0 state then it continues to remain in this state. • So it is one bit memory cell. • Also called as latch.
  • 4. SR Latch • No way of entering desired digital information in latch shown in Fig. 1 • When power is switched ON the circuit will switch to one of the stable state either 1 or 0. Can not predict!! • So we have modified circuit as shown in Fig. 2 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 4 Fig. 1 Fig. 2
  • 5. SR Latch cont.. A B Y 0 0 1 0 1 1 1 0 1 1 1 0 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 5 • Case 1 • S=R=0 • Assume Initial Q = 0 • then Next Q=0 • Assume Initial Q = 1 • then Next Q=1 • State does not change. Note: If We know that one of the input of NAND gate is 0 then output of the NAND will be always 1… • Case 2 • S=1 and R=0 • Assume Initial Q = 0 • then Next Q=1 • Assume Initial Q = 1 • then Next Q=1 • Set state.
  • 6. SR Latch cont.. A B Y 0 0 1 0 1 1 1 0 1 1 1 0 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 6 Note: If We know that one of the input of NAND gate is 0 then output of the NAND will be always 1… • Case 3 • S=0 and R=1 • Assume Initial Q = 0 • then Next Q=0 • Assume Initial Q = 1 • then Next Q=0 • Reset state. • Case 4 • S=1 and R=1 • Both Q and Q’ tries to become 1. • Invalid. (This condition is prohibited)
  • 7. SR Latch cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 7 Summary of operation of SR Latch S R Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 × Ambiguous 1 1 1 × • Case 1 • S=R=0 • State does not change. • Case 2 • S=0 and R=1 • Reset state. • Case 3 • S=1 and R=0 • Set state. • Case 4 • S=1 and R=1 • Invalid.
  • 8. Clocked SR Flip Flop • It is often require to set or reset the memory cell in synchronism with train of pulse known as clock. • Such a circuit is called as clocked SR Flip Flop. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 8
  • 9. Edge Detector DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 9
  • 10. Clocked SR Flip Flop cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 10 Summary of operation of SR Flip Flop (Positive edge triggered) CLK S R Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 × Ambiguous 1 1 1 ×
  • 11. Clocked SR Flip Flop cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 11 Summary of operation of SR Flip Flop (Negative edge triggered) CLK S R Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 × Ambiguous 1 1 1 ×
  • 12. JK Flip Flop • Similar to SR FF only one major difference: • J=K=1 condition does not result in ambiguous state. • For this condition (J=K=1) the FF always goes in opposite state (i.e. if previous state of FF is 0 then next state will be 1 and if previous state is 1 then next state will be 0). • This is called as toggle mode of operation. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 12
  • 13. JK Flip Flop cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 13 Operation of JK Flip Flop (Negative edge triggered) CLK J K Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 1 Toggle 1 1 1 0
  • 14. D Flip Flop • It has only one input D, which stands for data. • Block diagram • Operation • If D is 0 then Qn+1 will 0. • If D is 1 then Qn+1 will be 1. • The level present on D will be stored in the FF when negative edge is detected on clock pulse. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 14 CLK D Qn Qn+1 0 0 0 0 1 0 1 0 1 1 1 1
  • 15. Implementation of D FF • D FF can easily implemented using JK FF by adding invertor. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 15
  • 16. T Flip Flop • It has only one input T. • Block diagram • Operation • If T is 0 then no change • IF T is 1 then toggle. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 16 CLK T Qn Qn+1 0 0 0 0 1 1 1 0 1 1 1 0
  • 17. T Flip Flop cont.. • It is obtained from JK FF by connecting J and K inputs together. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 17
  • 18. Excitation table • In designing sequential circuits sometimes present state and next state of the circuit are specified and it is required to find input condition that will cause desired transition of the state. • So there is a need of excitation table. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 18
  • 19. Excitation table of SR FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 19 Truth table for SR Flip Flop (Negative edge triggered) CLK S R Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 × Ambiguous 1 1 1 × Excitation table Qn Qn+1 S R 0 0 0 × 0 1 1 0 1 0 0 1 1 1 × 0
  • 20. Excitation table of JK FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 20 Truth table for JK Flip Flop (Negative edge triggered) CLK J K Qn Qn+1 Remark 0 0 0 0 No Change 0 0 1 1 0 1 0 0 Reset 0 1 1 0 1 0 0 1 Set 1 0 1 1 1 1 0 1 Toggle 1 1 1 0 Excitation table Qn Qn+1 J K 0 0 0 × 0 1 1 × 1 0 × 1 1 1 × 0
  • 21. Excitation table of D FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 21 Excitation table Qn Qn+1 D 0 0 0 0 1 1 1 0 0 1 1 1 Truth Table CLK D Qn Qn+1 0 0 0 0 1 0 1 0 1 1 1 1
  • 22. Excitation table of T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 22 Excitation table Qn Qn+1 T 0 0 0 0 1 1 1 0 1 1 1 0 Truth Table CLK T Qn Qn+1 0 0 0 0 1 1 1 0 1 1 1 0
  • 23. Excitation table of T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 23 Excitation table Qn Qn+1 T 0 0 0 0 1 1 1 0 1 1 1 0 Truth Table CLK T Qn Qn+1 0 0 0 0 1 1 1 0 1 1 1 0
  • 24. Flip Flop conversion DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 24
  • 25. Flip Flop conversion cont.. • Convert SR FF into D FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 25
  • 26. Flip Flop conversion cont.. • Convert SR FF into D FF • Step1 • Write TT of D FF. • Step2 • Add two column S and R in TT of D FF. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 26 D Qn Qn+1 0 0 0 0 1 0 1 0 1 1 1 1 D Qn Qn+1 S R 0 0 0 0 1 0 1 0 1 1 1 1
  • 27. Flip Flop conversion cont.. • Step3 • Combine excitation table of SR FF in the table obtained in step 2 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 27 D Qn Qn+1 S R 0 0 0 0 1 0 1 0 1 1 1 1 Excitation table Qn Qn+1 S R 0 0 0 × 0 1 1 0 1 0 0 1 1 1 × 0 D Qn Qn+1 S R 0 0 0 0 × 0 1 0 0 1 1 0 1 1 0 1 1 1 × 0
  • 28. Flip Flop conversion cont.. • Step4 • Neglect Qn+1 • Design required combinational circuit assuming D, Qn as input and S, R as output DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 28 D Qn Qn+1 S R 0 0 0 0 × 0 1 0 0 1 1 0 1 1 0 1 1 1 × 0
  • 29. Flip Flop conversion cont.. • Step5 • Draw K map for S and R DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 29 D Qn S R 0 0 0 × 0 1 0 1 1 0 1 0 1 1 × 0
  • 30. Flip Flop conversion cont.. • Step6 • Draw logic diagram for Flip Flop conversion DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 30
  • 31. • It is a sequential circuit used for counting. • It is used for counting particular event. • Clock is given as a input. • A circuit used for counting the clock pulses is called as counter. • Counter is group of FF. Counter DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 31
  • 32. • Basically there are two types of counter • Asynchronous counter (Ripple counter) • Synchronous counter • In case of Asynchronous counter all the flip flops are not clocked simultaneously. • External clock pulse is applied only to first FF and output of first becomes clock for second, output of second becomes clock for third and so on. • In case of Synchronous counter all the flip flops are clocked simultaneously. • External clock pulse is applied to all FF Counter cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 32
  • 33. • No. of FF required? • 2 bit counter so two FF will be required. • Type of FF • T or JK • Fig. shows 2 bit counter with T FF having negative edge triggering.. • It will have 4 states (22). • Inputs of both FF should be at Logic 1 so that output will toggle. • External clock pulse is applied to FF A and its o/p QA is connected to clock input of FF B. 2 bit Asynchronous (Ripple) Up Counter DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 33
  • 34. • f(QA)=f(CLK)/2 • f(QB)= f(CLK)/4 2 bit Asynchronous Up Counter / Ripple Counter cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 34
  • 35. • When power is applied, all flip flops comes in random state. • In some digital system it is required to set FF when power is applied.. • In some digital system it is required to reset FF when power is applied.. • So we have Preset and Clear input in FF.. • These are active low inputs. • If Preset’=0 then Q=1 • If clear’=0 then Q=0 • These are asynchronous inputs because there operation is independent of the clock. Preset and Clear Input in FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 35
  • 36. • The counter with N FF can have 2N states. • For example 2 bit counter has 4 states, 3 bit counter has 8 states. • If counter has m states then it is called MOD m counter. • 2 bit counter is MOD 4 counter. • If MOD m counter is required then number of FF required (N) is determined using following condition. • m<=2N • Example • For MOD 3 counter • 2 FF • For MOD 6 counter • 3 FF • But using 3 FF we will get 8 states. In MOD 6 counter only 6 states will be used, 2 will be unused. • The counter is required to reset at the end of 6th clock pulse. • This is possible by generating logic 0 signal at the end of 6th clock pulse and applying it to clear input of all FF. Modulus Asynchronous counter DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 36
  • 37. • Design MOD 6 ripple counter. • Using 2 FF not possible • Using 3 FF it is possible but required to design RESET logic. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 37 Modulus Asynchronous counter cont..
  • 38. IC 7490 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 38 • It is ripple counter IC. • It is decade counter. (mod 10) • It consist of 4 FF internally connected together. • It contain two separate counter i.e MOD 2 and MOD 5. • These counter can be used as independently or in combination to provide MOD 10 counter. • There are two reset input R0(1) and R0(2) both of which are to be connected to logic 1 for clearing outputs of counter. • There are two more reset input R9(1) and R9(2) both of which are to be connected to logic 1 for setting counter to 1001.
  • 39. 7490 cont.. DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 39
  • 40. 7490 as Decade Counter DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 40
  • 41. Design MOD 6 counter using 7490 DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 41
  • 42. • Steps 1. Determine number of FF required and decide type of FF. 2. Write excitation table for selected FF. 3. Draw state diagram. 4. Prepare circuit excitation table. 5. Prepare K map for each FF input in terms of FF outputs as input variable. 6. Simplify K map and obtain minimized expression. 7. Draw final circuit diagram. Design of Synchronous counter DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 42
  • 43. • Step1: • 2 bit counter so 2 FF will be required. Type of FF is T as given in problem. • Step2: • Step3: Design 2 bit synchronous counter using T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 43 Excitation table Qn Qn+1 T 0 0 0 0 1 1 1 0 1 1 1 0
  • 44. • Step4: Design 2 bit synchronous counter using T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 44 Present state Next state TB TA QB QA QB1 QA1 0 0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1
  • 45. • Step5: Design 2 bit synchronous counter using T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 45 Present state Next state TB TA QB QA QB1 QA1 0 0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1
  • 46. • Step7: Design 2 bit synchronous counter using T FF DEPARTMENT OF COMPUTER ENGINEERING, Sanjivani COE, Kopargaon 46