SlideShare a Scribd company logo
16
Most read
20
Most read
21
Most read
DESIGN OF
COUNTERS
FOR DIGITAL
CLOCK
By GAURAV RAIKAR
DSCH (DIGITAL SCHEMATIC)
The DSCH program is a logic editor and simulator. DSCH provides a user-friendly environment for
hierarchical logic design, and fast simulation with delay analysis, which allows the design and validation
of complex logic structures.
Highlights
• User-friendly environment for rapid design of logic circuits.
• Supports hierarchical logic design.
• Improved interface between DSCH and Win spice.
• Handles both conventional pattern-based logic simulation.
• Supported by huge symbol library
Counter: In digital logic and computing, 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.
BLOCK
DIAGRAM
Mod 24
COUNTER
Mod 10
counter
Mod 60
COUNTER
Mod 60
COUNTER
Mod 6
counter
Mod 10
counter
Mod 6
counter
Mod 10
counter
Mod 3
counter
CLOCK
ENABLE
RESET
CLEAR
HOUR MINUTE SECONDS
Modulus counters, or simply MOD counters, are defined based on the
number of states that the counter will sequence through before
returning back to its original value.
Mod-N counter will require “N” number of flip-flops connected
together to count a single data bit while providing 2n different output
states, (n is the number of bits).
Here, Mod 3 counter counts up to 0-2 counts (tens place of hour
section of a 24 hour clock resets after 2 ) and mod 6 counter counts up
to 0-5 counts(since tens place of minute section of clock resets after
5). Both mod 3 and mod 6 counters are combined together and
designed to count from 0-23,.i.e. displaying HOURS.
THEORY
Mod 10 counter is used to get a count from 0-9(the ones place of minute and
seconds resets after 9).mod 10 counter is coupled with mod 6 counter to
obtain a mod 60 counter which gives a count from 0-59,i.e. mode 60 counter
is used for displaying Minutes and Sections.
When the seconds reaches count 59 it will enable mode 60(minute).And
when minutes reaches to count 59 it will enable mod 24. After mod 24
reaches 23 the clock will reset to 0 and start the seconds counter again.
Clock triggered Flip-Flop samples the input exactly at the moment when the
clock signal goes up ( rising edge triggered) or down (falling edge triggered).
Here we are implementing negative edge trigger.
Enable input samples the input continuously as long as enable input is
high(1). Enable input can be made low (0) to make the flip-flop stop its
functions.
CIRCUIT
DIAGRAM
CLOCK BASE T FLIPFLOP
Here the D-flip flop is converted to T-flip flop. This designed T or
"toggle" flip-flop changes its output on each falling clock edge.
when you provide a logic-high input to a T input. Output Q
which is initially logic 0, changes to logic high at the falling edge.
The output Q changes from logic high to logic low at the next
falling edge.
Clear clears input to flipflop.
Reset forces the output to zero.
Now this schematic is converted to an clock base T IC.
Clock out is used as input signal for next IC.
MOD3 COUNTER
The En and clear signal is given as a continuous logic high. Initially the
output of both the IC’s is 0. During the first falling edge of the clock the
output QA of the 1st clock base t is high and 2nd clock base t QB is
low(count 1).C0 of the first clock base t enables 2nd clock base t and
during the next falling edge the output QB of the 2nd clock base t is high
and 1st clock base t QA is low(count 2).since we need to count only up to
2 we give the QB to a 2 input nand who receives 1 input from the enable.
The output of the nand gate is connected to the input a 2 input and gate
which receives 1 input from clear. When we obtain count 2 then for the
next falling edge the and gate clears the outputs to 0.
This circuit is converted to an mod 3 IC.
This output is used as tense place in hours counter.
MOD6 COUNTER
Since we need to count up to 5 there fore we need 3 bits, hence we use 3 flip flops.
The En and clear signal is given as a continuous logic high. Initially the output of both the
IC’s is 0. During the first falling edge of the clock the output QA of the 1st clock base t is
high and 2nd and 3rd clock base t QB and QC is low(count 1).C0 of the first clock base t
enables 2nd clock base t and during the next falling edge the output QB of the 2nd clock
base t is high and 1st and 3rd clock base t QA,QC is low(count 2).similarly , each IC’s CO
enables the next IC and we count up to 5. Since we need to count only up to 5 we give the
QA AND QB to a 3 input nand who receives 1 input from the enable. The output of the
nand gate is connected to the input of a 3 input And gate which receives 1 input from
clear. When we obtain count 5 then for the next falling edge the And gate clears the
outputs to 0.
This circuit is converted to an mod 6 IC.
This out put is used as tense place for minutes and seconds counter
MOD10 COUNTER
Since we need to count up to 9 there fore we need 4 bits, hence we use 4 flip flops.
The En and clear signal is given as a continuous logic high.
Initially the output of both the IC’s is 0. During the first falling edge of the clock the
output QA of the 1st clock base t is high and 2nd ,3rd and 4th clock base t QB,QC & QD is
low(count 1).C0 of the first clock base t enables 2nd clock base t and during the next
falling edge the output QB of the 2nd clock base t is high and QA,QC,QD is low(count
2).similarly, each IC’s CO enables the next IC and we count up to 9.since we need to
count only up to 9we give the QA AND QD to a 3 input nand who receives 1 input from
the enable. The output of the nand gate is connected to the input of a 3 input And gate
which receives 1 input from clear. When we obtain count 9 then for the next falling edge
the And gate clears the outputs to 0.
This circuit is converted to an mod 10 IC.
This out put is used as units place for minutes and seconds counter.
MOD60 COUNTER
Here Mod 10 and Mod 6 are implemented to generate a Mode 60 counter .
It generates counts from 0-59.
The outputs of Mod 6,i.e. 0-5 is used to indicate the tens place in seconds and minutes
counter.
The outputs of Mod 10,i.e. 0-9 is used to indicates the units place in hours and seconds
counter. we are using Mod 10 for units place so that we can get 0-9( for count 0-19)
When Mod 10 count reaches 9,the C0 enables the Mod 6 counter .When Count
reaches 59 the counters reset to 0 and the C0 of both the Mod counters are given as
inputs to the AND gate which is given as C0 for further processing .
The full circuit is converted in to an MOD 60 counter IC which is used to count 0-59 for
indicating seconds and minutes in a digital clock.
MOD24 COUNTER
Here Mod 10 and Mod 3 are implemented to generate a Mode 24 counter .
It generates counts from 0-23.
The outputs of Mod 3,i.e. 0-2 is used to indicate the tens place in seconds and
minutes counter.
The outputs of Mod 10,i.e. 0-9 is used to indicates the units place in hours and
seconds counter.
When Mod 10 count reaches 9,the C0 enables the Mod 3 counter. when count
reaches 23 , output QB of both Mod 3 and Mod 10 are given to the AND gate
,whose output is given as one of the inputs to the NAND gate and the other input is
taken from QA of Mod 10 counter .The out put of the NAND gate is applied to the
and gate . When the output of AND gate is high the counters reset to 0.
The full circuit is converted in to an MOD 24 counter IC which is used to count 0-23
for indicating hours in a digital clock.
24 HOURS DIGITAL CLOCKCIRCUITDIAGRAM
When the enable signal is applied to the Mod 60 counter it generates counts form
0-59 ( seconds ). Once the counter reaches 59 the counter resets to 0 and the C0 of
the Mod 60 counter is given as input enable to the 2nd Mod 60 counter and it also
generates counts from 0-59( indicating minutes ).
When the minutes counter reaches 59 the counter resets to 0 and C0 of the 2nd Mod
60 counter is given as input enable to the Mod 24 counter.
The mod 24 counter generates count from 0-24 indicating hours .when the counter
reaches count 23 the counter resets to 0 and the whole process starts all over again.

More Related Content

What's hot (20)

PDF
Vlsi design notes
Venkat Malai Avichi
 
PPTX
Introduction to Counters
ISMT College
 
PPTX
Race around and master slave flip flop
Shubham Singh
 
PPTX
Ditial to Analog Converter
Gauravsinh Parmar
 
PDF
Counters
Revathi Subramaniam
 
PDF
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Waqas Afzal
 
PDF
EMI Unit 5 Bridges and Measurement of Physical Parameters
GVNSK Sravya
 
PPTX
LCD Interacing with 8051
Sudhanshu Janwadkar
 
PPTX
Latches and flip flops
sheheryar ahmed
 
PDF
Chapter 5 counter
CT Sabariah Salihin
 
PDF
Digital stop watch
Sai Malleswar
 
PDF
Atmega 328p
Mrunal Deshkar
 
PDF
Digital Electronics Question Bank
Mathankumar S
 
PPTX
Dynamic logic circuits
Kalyan Kumar Kalita
 
PPTX
digital Counter
shamshad alam
 
PPT
lecture 16-CAMs,ROMs,PLAs and other detail of memory
Balraj Singh
 
PPTX
ASK, FSK, PSK Modulation Techniques in Detail
nomanbarki
 
PPTX
Sequential cmos logic circuits
Sakshi Bhargava
 
PPT
Digital Communication: Information Theory
Dr. Sanjay M. Gulhane
 
PPTX
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
Vlsi design notes
Venkat Malai Avichi
 
Introduction to Counters
ISMT College
 
Race around and master slave flip flop
Shubham Singh
 
Ditial to Analog Converter
Gauravsinh Parmar
 
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Waqas Afzal
 
EMI Unit 5 Bridges and Measurement of Physical Parameters
GVNSK Sravya
 
LCD Interacing with 8051
Sudhanshu Janwadkar
 
Latches and flip flops
sheheryar ahmed
 
Chapter 5 counter
CT Sabariah Salihin
 
Digital stop watch
Sai Malleswar
 
Atmega 328p
Mrunal Deshkar
 
Digital Electronics Question Bank
Mathankumar S
 
Dynamic logic circuits
Kalyan Kumar Kalita
 
digital Counter
shamshad alam
 
lecture 16-CAMs,ROMs,PLAs and other detail of memory
Balraj Singh
 
ASK, FSK, PSK Modulation Techniques in Detail
nomanbarki
 
Sequential cmos logic circuits
Sakshi Bhargava
 
Digital Communication: Information Theory
Dr. Sanjay M. Gulhane
 
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 

Similar to Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar (20)

PPT
Digital Logic Counter.ppt
RaziyaSultana30
 
DOCX
Digital Clock Using Logic Gates
JalpaMaheshwari1
 
PDF
DigitalLogic_Counters.pdfDigitalLogic_Counters.pdfDigitalLogic_Counters.pdfDi...
studyspport8
 
PDF
Ijecet 06 07_005
IAEME Publication
 
PPTX
Basics Counters
Danial Mirza
 
PPT
Counters r012
arunachalamr16
 
DOCX
Digital clock
Abi Malik
 
PDF
FYBSC IT Digital Electronics Unit V Chapter I Counters
Arti Parab Academics
 
PPTX
COUNTERS.pptx
SaifURehmanSidhu
 
PDF
Microcontroller part 3
Keroles karam khalil
 
PDF
Chapter 5 counter1
CT Sabariah Salihin
 
PPTX
Counter Register power point to learn good
6AEntertainment
 
PPTX
8254.pptx
ranjeeta29
 
PPT
8254 PIT
deval patel
 
PPSX
Dee2034 chapter 5 counter
SITI SABARIAH SALIHIN
 
PPT
counters and registers
MeenaAnusha1
 
PPT
counters_and_registers_5 lecture fifth.ppt
ImranAhmadAhmad
 
PDF
Design of Counter Using SRAM
IOSRJECE
 
PPT
Ece221 Ch7 Part1
developmentalnerd
 
PPT
Chapter5 dek3133
Hattori Sidek
 
Digital Logic Counter.ppt
RaziyaSultana30
 
Digital Clock Using Logic Gates
JalpaMaheshwari1
 
DigitalLogic_Counters.pdfDigitalLogic_Counters.pdfDigitalLogic_Counters.pdfDi...
studyspport8
 
Ijecet 06 07_005
IAEME Publication
 
Basics Counters
Danial Mirza
 
Counters r012
arunachalamr16
 
Digital clock
Abi Malik
 
FYBSC IT Digital Electronics Unit V Chapter I Counters
Arti Parab Academics
 
COUNTERS.pptx
SaifURehmanSidhu
 
Microcontroller part 3
Keroles karam khalil
 
Chapter 5 counter1
CT Sabariah Salihin
 
Counter Register power point to learn good
6AEntertainment
 
8254.pptx
ranjeeta29
 
8254 PIT
deval patel
 
Dee2034 chapter 5 counter
SITI SABARIAH SALIHIN
 
counters and registers
MeenaAnusha1
 
counters_and_registers_5 lecture fifth.ppt
ImranAhmadAhmad
 
Design of Counter Using SRAM
IOSRJECE
 
Ece221 Ch7 Part1
developmentalnerd
 
Chapter5 dek3133
Hattori Sidek
 
Ad

Recently uploaded (20)

PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PPTX
AIMA UCSC-SV Leadership_in_the_AI_era 20250628 v16.pptx
home
 
PDF
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Different types of inheritance in odoo 18
Celine George
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PPTX
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
AIMA UCSC-SV Leadership_in_the_AI_era 20250628 v16.pptx
home
 
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
Horarios de distribución de agua en julio
pegazohn1978
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Different types of inheritance in odoo 18
Celine George
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
epi editorial commitee meeting presentation
MIPLM
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 
Ad

Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar

  • 2. DSCH (DIGITAL SCHEMATIC) The DSCH program is a logic editor and simulator. DSCH provides a user-friendly environment for hierarchical logic design, and fast simulation with delay analysis, which allows the design and validation of complex logic structures. Highlights • User-friendly environment for rapid design of logic circuits. • Supports hierarchical logic design. • Improved interface between DSCH and Win spice. • Handles both conventional pattern-based logic simulation. • Supported by huge symbol library Counter: In digital logic and computing, 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.
  • 4. Mod 24 COUNTER Mod 10 counter Mod 60 COUNTER Mod 60 COUNTER Mod 6 counter Mod 10 counter Mod 6 counter Mod 10 counter Mod 3 counter CLOCK ENABLE RESET CLEAR HOUR MINUTE SECONDS
  • 5. Modulus counters, or simply MOD counters, are defined based on the number of states that the counter will sequence through before returning back to its original value. Mod-N counter will require “N” number of flip-flops connected together to count a single data bit while providing 2n different output states, (n is the number of bits). Here, Mod 3 counter counts up to 0-2 counts (tens place of hour section of a 24 hour clock resets after 2 ) and mod 6 counter counts up to 0-5 counts(since tens place of minute section of clock resets after 5). Both mod 3 and mod 6 counters are combined together and designed to count from 0-23,.i.e. displaying HOURS. THEORY
  • 6. Mod 10 counter is used to get a count from 0-9(the ones place of minute and seconds resets after 9).mod 10 counter is coupled with mod 6 counter to obtain a mod 60 counter which gives a count from 0-59,i.e. mode 60 counter is used for displaying Minutes and Sections. When the seconds reaches count 59 it will enable mode 60(minute).And when minutes reaches to count 59 it will enable mod 24. After mod 24 reaches 23 the clock will reset to 0 and start the seconds counter again. Clock triggered Flip-Flop samples the input exactly at the moment when the clock signal goes up ( rising edge triggered) or down (falling edge triggered). Here we are implementing negative edge trigger. Enable input samples the input continuously as long as enable input is high(1). Enable input can be made low (0) to make the flip-flop stop its functions.
  • 8. CLOCK BASE T FLIPFLOP
  • 9. Here the D-flip flop is converted to T-flip flop. This designed T or "toggle" flip-flop changes its output on each falling clock edge. when you provide a logic-high input to a T input. Output Q which is initially logic 0, changes to logic high at the falling edge. The output Q changes from logic high to logic low at the next falling edge. Clear clears input to flipflop. Reset forces the output to zero. Now this schematic is converted to an clock base T IC. Clock out is used as input signal for next IC.
  • 11. The En and clear signal is given as a continuous logic high. Initially the output of both the IC’s is 0. During the first falling edge of the clock the output QA of the 1st clock base t is high and 2nd clock base t QB is low(count 1).C0 of the first clock base t enables 2nd clock base t and during the next falling edge the output QB of the 2nd clock base t is high and 1st clock base t QA is low(count 2).since we need to count only up to 2 we give the QB to a 2 input nand who receives 1 input from the enable. The output of the nand gate is connected to the input a 2 input and gate which receives 1 input from clear. When we obtain count 2 then for the next falling edge the and gate clears the outputs to 0. This circuit is converted to an mod 3 IC. This output is used as tense place in hours counter.
  • 13. Since we need to count up to 5 there fore we need 3 bits, hence we use 3 flip flops. The En and clear signal is given as a continuous logic high. Initially the output of both the IC’s is 0. During the first falling edge of the clock the output QA of the 1st clock base t is high and 2nd and 3rd clock base t QB and QC is low(count 1).C0 of the first clock base t enables 2nd clock base t and during the next falling edge the output QB of the 2nd clock base t is high and 1st and 3rd clock base t QA,QC is low(count 2).similarly , each IC’s CO enables the next IC and we count up to 5. Since we need to count only up to 5 we give the QA AND QB to a 3 input nand who receives 1 input from the enable. The output of the nand gate is connected to the input of a 3 input And gate which receives 1 input from clear. When we obtain count 5 then for the next falling edge the And gate clears the outputs to 0. This circuit is converted to an mod 6 IC. This out put is used as tense place for minutes and seconds counter
  • 15. Since we need to count up to 9 there fore we need 4 bits, hence we use 4 flip flops. The En and clear signal is given as a continuous logic high. Initially the output of both the IC’s is 0. During the first falling edge of the clock the output QA of the 1st clock base t is high and 2nd ,3rd and 4th clock base t QB,QC & QD is low(count 1).C0 of the first clock base t enables 2nd clock base t and during the next falling edge the output QB of the 2nd clock base t is high and QA,QC,QD is low(count 2).similarly, each IC’s CO enables the next IC and we count up to 9.since we need to count only up to 9we give the QA AND QD to a 3 input nand who receives 1 input from the enable. The output of the nand gate is connected to the input of a 3 input And gate which receives 1 input from clear. When we obtain count 9 then for the next falling edge the And gate clears the outputs to 0. This circuit is converted to an mod 10 IC. This out put is used as units place for minutes and seconds counter.
  • 17. Here Mod 10 and Mod 6 are implemented to generate a Mode 60 counter . It generates counts from 0-59. The outputs of Mod 6,i.e. 0-5 is used to indicate the tens place in seconds and minutes counter. The outputs of Mod 10,i.e. 0-9 is used to indicates the units place in hours and seconds counter. we are using Mod 10 for units place so that we can get 0-9( for count 0-19) When Mod 10 count reaches 9,the C0 enables the Mod 6 counter .When Count reaches 59 the counters reset to 0 and the C0 of both the Mod counters are given as inputs to the AND gate which is given as C0 for further processing . The full circuit is converted in to an MOD 60 counter IC which is used to count 0-59 for indicating seconds and minutes in a digital clock.
  • 19. Here Mod 10 and Mod 3 are implemented to generate a Mode 24 counter . It generates counts from 0-23. The outputs of Mod 3,i.e. 0-2 is used to indicate the tens place in seconds and minutes counter. The outputs of Mod 10,i.e. 0-9 is used to indicates the units place in hours and seconds counter. When Mod 10 count reaches 9,the C0 enables the Mod 3 counter. when count reaches 23 , output QB of both Mod 3 and Mod 10 are given to the AND gate ,whose output is given as one of the inputs to the NAND gate and the other input is taken from QA of Mod 10 counter .The out put of the NAND gate is applied to the and gate . When the output of AND gate is high the counters reset to 0. The full circuit is converted in to an MOD 24 counter IC which is used to count 0-23 for indicating hours in a digital clock.
  • 20. 24 HOURS DIGITAL CLOCKCIRCUITDIAGRAM
  • 21. When the enable signal is applied to the Mod 60 counter it generates counts form 0-59 ( seconds ). Once the counter reaches 59 the counter resets to 0 and the C0 of the Mod 60 counter is given as input enable to the 2nd Mod 60 counter and it also generates counts from 0-59( indicating minutes ). When the minutes counter reaches 59 the counter resets to 0 and C0 of the 2nd Mod 60 counter is given as input enable to the Mod 24 counter. The mod 24 counter generates count from 0-24 indicating hours .when the counter reaches count 23 the counter resets to 0 and the whole process starts all over again.