SlideShare uma empresa Scribd logo
1 de 12
Submitted To:
Miss:
Lecturer
Department of CSE
European University of Bangladesh
Submitted by :
Dipto Ratna -220121050
Taofiqur Rhaman – 220121017
Sheikh Fardin Raj - 2201210
4th Semester
Department of CSE
European University of Bangladesh
Project on Digital Logic Counter
 Introduction
 Counter Classification
 System Analysis
 Design Overview
 Decade Counter
 A Counter is a device which stores (and sometimes displays)
the number of times a particular event or process has
occurred, often in relationship to a clock signal. Counters are
used in digital electronics for counting purpose, they can count
specific event happening in the circuit. For example, in
UP counter a counter increases count for every rising edge of
clock. Not only counting, a counter can follow the certain
sequence based on our design like any random sequence
0,1,3,2… .They can also be designed with the help of flip
flops. They are used as frequency dividers where the
frequency of given pulse waveform is divided. Counters are
sequential circuit that count the number of pulses can be
either in binary code or BCD form. The main properties of a
counter are timing , sequencing , and counting.
Counter works in two modes
 Up counter
 Down counter
Introduction
Counter
Classification
 Counters are broadly divided into two categories
 Asynchronous counter
 Synchronous counter
1. Asynchronous Counter
 In asynchronous counter we don’t use universal clock, only first flip flop is
driven by main clock and the clock input of rest of the following flip flop is
driven by output of previous flip flops. We can understand it by following
diagram- It is evident from timing diagram that Q0 is changing as soon as
the rising edge of clock pulse is encountered, Q1 is changing when rising
edge of Q0 is encountered(because Q0 is like clock pulse for second flip
flop) and so on. In this way ripples are generated through Q0,Q1,Q2,Q3
hence it is also called RIPPLE counter. A ripple counter is a cascaded
arrangement of flip flops where the output of one flip flop drives the clock
input of the following flip flop
( অ্যাসিঙ্ক্রানাি )
( সিঙ্ক্রানাি )
System Analysis
Asynchronous counter
Unlike the asynchronous counter, synchronous
counter has one global clock which drives each flip
flop so output changes in parallel. The one
advantage of synchronous counter over
asynchronous counter is, it can operate on higher
frequency than asynchronous counter as it does
not have cumulative delay because of same clock
is given to each flip flop.
2. Synchronous
Counter
Synchronous Counter
Synchronous counter circuit
 Timing diagram synchronous counter
 From circuit diagram we see that Q0 bit gives response to each falling edge of clock
while Q1 is dependent on Q0, Q2 is dependent on Q1 and Q0 , Q3 is dependent on
Q2,Q1 and Q0.
Decade Counter
A decade counter counts ten different states and then reset to its
initial states. A simple decade counter will count from 0 to 9 but
we can also make the decade counters which can go through
any ten states between 0 to 15(for 4 bit counter).
Clock
pulse
Q3 Q2 Q1 Q0
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 0 0 0 0
Clock
pulse
Q3 Q2 Q1 Q0
Truth table for simple decade counter
Decade counter circuit diagram
Decade counter
circuit diagram
 We see from circuit diagram that we have used nand gate for Q3 and Q1
and feeding this to clear input line because binary representation of 10
is— 1010
And we see Q3 and Q1 are 1 here, if we give NAND of these two bits to
clear input then counter will be clear at 10 and again start from beginning.
 Important point: Number of flip flops used in counter are always greater
than equal to (log2 n) where n=number of states in counter.
Thank You!

Mais conteúdo relacionado

Semelhante a Digital Logic Counter.ppt

Semelhante a Digital Logic Counter.ppt (20)

Latch and Counter
Latch and CounterLatch and Counter
Latch and Counter
 
Chapter#8
Chapter#8Chapter#8
Chapter#8
 
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
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Basics Counters
Basics Counters Basics Counters
Basics 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
 
Timers in Arduino
Timers in ArduinoTimers in Arduino
Timers in Arduino
 
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 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 
Counters
CountersCounters
Counters
 
Digital counter
Digital counter Digital counter
Digital counter
 
Ring counter
Ring counterRing counter
Ring counter
 
Digital Electronics Registers and Counters.pptx
Digital Electronics Registers and Counters.pptxDigital Electronics Registers and Counters.pptx
Digital Electronics Registers and Counters.pptx
 
Ijecet 06 07_005
Ijecet 06 07_005Ijecet 06 07_005
Ijecet 06 07_005
 
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdfFREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
 
Counters r012
Counters  r012Counters  r012
Counters r012
 
Counting circuits
Counting circuitsCounting circuits
Counting circuits
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Digital Logic Counter.ppt

  • 1. Submitted To: Miss: Lecturer Department of CSE European University of Bangladesh Submitted by : Dipto Ratna -220121050 Taofiqur Rhaman – 220121017 Sheikh Fardin Raj - 2201210 4th Semester Department of CSE European University of Bangladesh
  • 2. Project on Digital Logic Counter  Introduction  Counter Classification  System Analysis  Design Overview  Decade Counter
  • 3.  A Counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to a clock signal. Counters are used in digital electronics for counting purpose, they can count specific event happening in the circuit. For example, in UP counter a counter increases count for every rising edge of clock. Not only counting, a counter can follow the certain sequence based on our design like any random sequence 0,1,3,2… .They can also be designed with the help of flip flops. They are used as frequency dividers where the frequency of given pulse waveform is divided. Counters are sequential circuit that count the number of pulses can be either in binary code or BCD form. The main properties of a counter are timing , sequencing , and counting. Counter works in two modes  Up counter  Down counter Introduction
  • 4. Counter Classification  Counters are broadly divided into two categories  Asynchronous counter  Synchronous counter 1. Asynchronous Counter  In asynchronous counter we don’t use universal clock, only first flip flop is driven by main clock and the clock input of rest of the following flip flop is driven by output of previous flip flops. We can understand it by following diagram- It is evident from timing diagram that Q0 is changing as soon as the rising edge of clock pulse is encountered, Q1 is changing when rising edge of Q0 is encountered(because Q0 is like clock pulse for second flip flop) and so on. In this way ripples are generated through Q0,Q1,Q2,Q3 hence it is also called RIPPLE counter. A ripple counter is a cascaded arrangement of flip flops where the output of one flip flop drives the clock input of the following flip flop ( অ্যাসিঙ্ক্রানাি ) ( সিঙ্ক্রানাি )
  • 6. Unlike the asynchronous counter, synchronous counter has one global clock which drives each flip flop so output changes in parallel. The one advantage of synchronous counter over asynchronous counter is, it can operate on higher frequency than asynchronous counter as it does not have cumulative delay because of same clock is given to each flip flop. 2. Synchronous Counter
  • 8. Synchronous counter circuit  Timing diagram synchronous counter  From circuit diagram we see that Q0 bit gives response to each falling edge of clock while Q1 is dependent on Q0, Q2 is dependent on Q1 and Q0 , Q3 is dependent on Q2,Q1 and Q0.
  • 9. Decade Counter A decade counter counts ten different states and then reset to its initial states. A simple decade counter will count from 0 to 9 but we can also make the decade counters which can go through any ten states between 0 to 15(for 4 bit counter). Clock pulse Q3 Q2 Q1 Q0 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 5 0 1 0 1 6 0 1 1 0 7 0 1 1 1 8 1 0 0 0 9 1 0 0 1 10 0 0 0 0 Clock pulse Q3 Q2 Q1 Q0 Truth table for simple decade counter
  • 11. Decade counter circuit diagram  We see from circuit diagram that we have used nand gate for Q3 and Q1 and feeding this to clear input line because binary representation of 10 is— 1010 And we see Q3 and Q1 are 1 here, if we give NAND of these two bits to clear input then counter will be clear at 10 and again start from beginning.  Important point: Number of flip flops used in counter are always greater than equal to (log2 n) where n=number of states in counter.