SlideShare a Scribd company logo
1 of 15
Counting devices
ME3114D -Computer Integrated Manufacturing
-Naik Aniruddha Murlidhar(B170164PE)
1
National Institute of Technology
Calicut
30-05-2020
Index:
30-05-2020 National Institute of Technology Calicut 2
1. What is a counter?
2. Inside the counter
1. Building bock
2. JK Flip-flop
3. SR-latch as memory
3. Types of counters
1. Asynchronous Counter and Synchronous counter
4. Two bit asynchronous counter and applications
What are counters?
• “A counter is a device which stores
(and sometimes displays) the
number of times a
particular event or process has
occurred” – Wikipedia
Mechanical counter
Image source:
https://woodgears.ca/counter/
• Two types:
• Mechanical counters
• Electronic Digital counters
• Sequential Electronic circuit
3National Institute of Technology Calicut30-05-2020
Building block of Counters:
• Combinational circuit and Flip-Flops as memory:
 Combinational circuit: A circuit where current o/p is dependent on
current I/p.
 Are actually sequential circuits
(Present output depends on present input and past output)
4National Institute of Technology Calicut30-05-2020
JK flip-flop:
5National Institute of Technology Calicut30-05-2020
JK flip flop
Image source : google
Memory:
NOR- SR latch and truth table
Image source : google
6National Institute of Technology Calicut30-05-2020
NOR gate truth table
Image source : google
Types of counters:
• Synchronous counters:
7National Institute of Technology Calicut30-05-2020
• Asynchronous( Ripple) counters:
• The first flip-flop is clocked by the external clock pulse and
the each successive flip-flops are clocked by output of the
previous flip-flop
• All memory elements are simultaneously triggered by the
same clock
Asynchronous counter:
R
S
CLK
Q
Q
Negative edge triggering flip-flops
8National Institute of Technology Calicut30-05-2020
Synchronous Counter:
Negative edge triggering flip-flops
CLK
9National Institute of Technology Calicut30-05-2020
30-05-2020 National Institute of Technology Calicut 10
( 1 1 ) ~ 3
(Q1 Q0 ) ~ decimal form
( 0 1) ~ 1
( 1 0 ) ~ 2
( 0 0 ) ~ 0
Two-bit asynchronous counter:
Image source: google
(animation is made in
power point)
• Negative edge
triggering
• The external clock is
connected to clock of
1st flip flop
• The output from first
flip flop is connected
to clock of next flip-
flop
11National Institute of Technology Calicut30-05-2020
Two-bit asynchronous counter:
• Usually, clear input are connected together, so that a single pulses
can clear all the flip-slops before counting starts
• The 2-bit ripple counter circuit above has four different states, each
one corresponding to a count value.
• Thus, a counter with n flip-flops can have 2N states
• The number of states in a counter is known as its mod(modulo)
number.
• E.g. 2 bit counter is a mod-4 counter.
12National Institute of Technology Calicut30-05-2020
What is a mod counter?
13National Institute of Technology Calicut30-05-2020
• If the counter is ‘n’ mod counter, then it will count from ‘0’ to ‘n-1’
in cyclic order.
• And a n- bit counter means it is ‘2N ‘ that means it will count from ‘0’
to ‘2N – 1 ‘
Applications of Counters:
• To count number of events occurred
• Increment/ decrement count
• Generating timing sequences
14National Institute of Technology Calicut30-05-2020
Thank you!
30-05-2020 National Institute of Technology Calicut 15

More Related Content

What's hot

Eceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_designEceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_design
Nebiyu Musie
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
Piyush Rochwani
 

What's hot (19)

decade counter
decade counterdecade counter
decade counter
 
Cadancesimulation
CadancesimulationCadancesimulation
Cadancesimulation
 
EC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCET
EC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCETEC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCET
EC8392 Digital Electronics- Unit-3 -S.Sesha Vidhya-ASP-ECE-RMKCET
 
Eceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_designEceg 3201-dld-lec 12-synchronous_counter_design
Eceg 3201-dld-lec 12-synchronous_counter_design
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Lecture 07 more about pic
Lecture 07 more about picLecture 07 more about pic
Lecture 07 more about pic
 
Assignment#3a
Assignment#3aAssignment#3a
Assignment#3a
 
B sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registersB sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registers
 
8 bit alu design
8 bit alu design8 bit alu design
8 bit alu design
 
Dsa 170930180124
Dsa 170930180124Dsa 170930180124
Dsa 170930180124
 
Module1:Introduction to sequential circuit
Module1:Introduction to sequential circuitModule1:Introduction to sequential circuit
Module1:Introduction to sequential circuit
 
Assignment#5
Assignment#5Assignment#5
Assignment#5
 
Assignment of dld by seerat abbas khan roll 13
Assignment of dld by seerat abbas khan roll 13Assignment of dld by seerat abbas khan roll 13
Assignment of dld by seerat abbas khan roll 13
 
digital electronics Design of 101 sequence detector without overlapping for...
digital  electronics Design of 101 sequence detector without  overlapping for...digital  electronics Design of 101 sequence detector without  overlapping for...
digital electronics Design of 101 sequence detector without overlapping for...
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters
 
MSI Counters
MSI CountersMSI Counters
MSI Counters
 
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
 
Lecture 06 pic programming in c
Lecture 06 pic programming in cLecture 06 pic programming in c
Lecture 06 pic programming in c
 
Verilog data types -For beginners
Verilog data types -For beginnersVerilog data types -For beginners
Verilog data types -For beginners
 

Similar to Counters

10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
John Todora
 

Similar to Counters (20)

Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
Ijecet 06 07_005
Ijecet 06 07_005Ijecet 06 07_005
Ijecet 06 07_005
 
Basics Counters
Basics Counters Basics Counters
Basics Counters
 
Bds lab 4
Bds lab 4Bds lab 4
Bds lab 4
 
Sequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdfSequential Circuit Design-2.pdf
Sequential Circuit Design-2.pdf
 
Chapter 5 counter
Chapter 5 counterChapter 5 counter
Chapter 5 counter
 
Counter - by Zakariya Hossain
Counter - by Zakariya HossainCounter - by Zakariya Hossain
Counter - by Zakariya Hossain
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.ppt
 
Chapter 5 counter1
Chapter 5 counter1Chapter 5 counter1
Chapter 5 counter1
 
Real Life Application of Digital Electronics
Real Life Application of Digital ElectronicsReal Life Application of Digital Electronics
Real Life Application of Digital Electronics
 
Counters
CountersCounters
Counters
 
FYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersFYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I Counters
 
counters and registers
counters and registerscounters and registers
counters and registers
 
counters_and_registers_5 lecture fifth.ppt
counters_and_registers_5 lecture fifth.pptcounters_and_registers_5 lecture fifth.ppt
counters_and_registers_5 lecture fifth.ppt
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
 
Presentation on Counters for (Digital Systems Design).pptx
Presentation on Counters for (Digital Systems Design).pptxPresentation on Counters for (Digital Systems Design).pptx
Presentation on Counters for (Digital Systems Design).pptx
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 

Recently uploaded

01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
AshwaniAnuragi1
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
Kira Dess
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
c3384a92eb32
 

Recently uploaded (20)

Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
Databricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdfDatabricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 

Counters

  • 1. Counting devices ME3114D -Computer Integrated Manufacturing -Naik Aniruddha Murlidhar(B170164PE) 1 National Institute of Technology Calicut 30-05-2020
  • 2. Index: 30-05-2020 National Institute of Technology Calicut 2 1. What is a counter? 2. Inside the counter 1. Building bock 2. JK Flip-flop 3. SR-latch as memory 3. Types of counters 1. Asynchronous Counter and Synchronous counter 4. Two bit asynchronous counter and applications
  • 3. What are counters? • “A counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred” – Wikipedia Mechanical counter Image source: https://woodgears.ca/counter/ • Two types: • Mechanical counters • Electronic Digital counters • Sequential Electronic circuit 3National Institute of Technology Calicut30-05-2020
  • 4. Building block of Counters: • Combinational circuit and Flip-Flops as memory:  Combinational circuit: A circuit where current o/p is dependent on current I/p.  Are actually sequential circuits (Present output depends on present input and past output) 4National Institute of Technology Calicut30-05-2020
  • 5. JK flip-flop: 5National Institute of Technology Calicut30-05-2020 JK flip flop Image source : google
  • 6. Memory: NOR- SR latch and truth table Image source : google 6National Institute of Technology Calicut30-05-2020 NOR gate truth table Image source : google
  • 7. Types of counters: • Synchronous counters: 7National Institute of Technology Calicut30-05-2020 • Asynchronous( Ripple) counters: • The first flip-flop is clocked by the external clock pulse and the each successive flip-flops are clocked by output of the previous flip-flop • All memory elements are simultaneously triggered by the same clock
  • 8. Asynchronous counter: R S CLK Q Q Negative edge triggering flip-flops 8National Institute of Technology Calicut30-05-2020
  • 9. Synchronous Counter: Negative edge triggering flip-flops CLK 9National Institute of Technology Calicut30-05-2020
  • 10. 30-05-2020 National Institute of Technology Calicut 10 ( 1 1 ) ~ 3 (Q1 Q0 ) ~ decimal form ( 0 1) ~ 1 ( 1 0 ) ~ 2 ( 0 0 ) ~ 0
  • 11. Two-bit asynchronous counter: Image source: google (animation is made in power point) • Negative edge triggering • The external clock is connected to clock of 1st flip flop • The output from first flip flop is connected to clock of next flip- flop 11National Institute of Technology Calicut30-05-2020
  • 12. Two-bit asynchronous counter: • Usually, clear input are connected together, so that a single pulses can clear all the flip-slops before counting starts • The 2-bit ripple counter circuit above has four different states, each one corresponding to a count value. • Thus, a counter with n flip-flops can have 2N states • The number of states in a counter is known as its mod(modulo) number. • E.g. 2 bit counter is a mod-4 counter. 12National Institute of Technology Calicut30-05-2020
  • 13. What is a mod counter? 13National Institute of Technology Calicut30-05-2020 • If the counter is ‘n’ mod counter, then it will count from ‘0’ to ‘n-1’ in cyclic order. • And a n- bit counter means it is ‘2N ‘ that means it will count from ‘0’ to ‘2N – 1 ‘
  • 14. Applications of Counters: • To count number of events occurred • Increment/ decrement count • Generating timing sequences 14National Institute of Technology Calicut30-05-2020
  • 15. Thank you! 30-05-2020 National Institute of Technology Calicut 15