SlideShare une entreprise Scribd logo
1  sur  16
Counter with Unused
      States
Counters with Unused States

                                   n
• A circuit with n flip-flops has 2 states

• There are occasions when a sequential
  circuit uses fewer than there maximum
  possible number of states. States that
  are not used in specifying the sequential
  circuit are not listed in the stable table.
Counter with Unused States
Unused States
• For example, here is a state table and diagram for
  a counter that repeatedly counts 000, 001, 010,
  100, 101, 110.

   Present State    Next State
   Q2   Q1    Q0   Q2  Q1    Q0
    0    0    0    0    0    1
    0    0    1    0    1    0
    0    1    0    0    1    1
    1    0    0    1    0    0
    1    0    1    1    0    1
    1    1    0    0    0    0
    0    1    1    ?    ?    ?
    1    1    1    ?    ?    ?
Unused States
  • Unused states may be treated as don’t care or
    assigned specific next state
 Present State    Next State    Present State    Next State
 Q2   Q1    Q0   Q2  Q1    Q0   Q2   Q1    Q0   Q2  Q1 Q0
 0     0    0    0    0    1    0     0    0    0    0   1
 0     0    1    0    1    0    0     0    1    0    1   0
 0     1    0    0    1    1    0     1    0    0    1   1
 1     0    0    1    0    0    1     0    0    1    0   0
 1     0    1    1    0    1    1     0    1    1    0   1
 1     1    0    0    0    0    1     1    0    0    0   0
 0     1    1    X    X    X    0     1    1    1    0   0
 1     1    1    X    X    X
                                1     1    1    0    0   0
Ring Counters
• A ring counter is a type of counter composed of a
  circular shift register with only one flip-flop being set
  at any particular time.
• If the output of a shift register is fed back to the
  input. a ring counter results
 • Two types of Ring Counters

 • Straight Ring Counter
 • Switch-Tail Ring Counter or
   Twisted Ring Counter
Straight Ring Counter
• or Overbeck counter connects the output of the last
  shift register to the first shift register input and
  circulates a single one (or zero) bit around the ring.
Straight Ring Counter
• Loading binary 1000 into the ring counter prior to
  shifting yields a viewable pattern. The data pattern
  for a single stage repeats every four clock pulses in
  our 4-stage example
Straight Ring Counter
 • The waveforms for all four stages look the
   same, except for the one clock time delay from
   one stage to the next. See figure below.




  Capable of generating different timing signals
Twisted Ring Counter
           (Johnson Counter)

• The number of state is (or can be) doubled by choosing
  this type of circuit.
• Like a Straight ring counter a Johnson counter is a
  shift register fed back on its' self.
• If the complement output of a ring counter is fed back
  to the input instead of the true output, a Johnson
  counter results.
Johnson Counter
Johnson Counter
• This "reversed" feedback connection has a profound
  effect upon the behavior of the otherwise similar
  circuits. Circulating a single 1 around a ring counter
  divides the input clock by a factor equal to the
  number of stages. Whereas, a Johnson counter
  divides by a factor equal to twice the number of
  stages. For example, a 4-stage ring counter divides by
  4. A 4-stage Johnson counter divides by 8.
Johnson Counter
• Determine the output pulses for this counter circuit,
  known as a Johnson counter, assuming that all Q
  outputs begin in the low state:
Johnson Counter




  Ans.
Johnson Counter




• The above waveforms illustrates that multi-phase
  square waves are generated by a Johnson counter.
  The 4-stage unit above generates four overlapping
  phases of 50% duty cycle.
Ring Counter

Contenu connexe

Tendances (20)

Johnson Counter
Johnson CounterJohnson Counter
Johnson Counter
 
Synchronous down counter
Synchronous down counterSynchronous down counter
Synchronous down counter
 
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
 
DELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counterDELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counter
 
Counter
CounterCounter
Counter
 
Counters
CountersCounters
Counters
 
Counters
CountersCounters
Counters
 
Johnson counter
Johnson counterJohnson counter
Johnson counter
 
Counters
CountersCounters
Counters
 
Counters
CountersCounters
Counters
 
Ripple counter
Ripple counterRipple counter
Ripple counter
 
Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
Chapter#8
Chapter#8Chapter#8
Chapter#8
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
 
Counters
Counters Counters
Counters
 
Counters
CountersCounters
Counters
 
Ethertnet data transfer.ppt
Ethertnet data transfer.pptEthertnet data transfer.ppt
Ethertnet data transfer.ppt
 
Ring counter
Ring counterRing counter
Ring counter
 
Chapter 5 counter
Chapter 5 counterChapter 5 counter
Chapter 5 counter
 

Similaire à Counter

Counter with memes
Counter with memesCounter with memes
Counter with memesLee Diaz
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Asif Iqbal
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter DesignGargiKhanna1
 
dsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxdsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxssuser1b2fab
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptxamudhak10
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential CircuitHeman Pathak
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfTamiratDejene1
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxThapar Institute
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnanJ11
 
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).pptxAniruddh70
 
Combinational logic 2
Combinational logic 2Combinational logic 2
Combinational logic 2Heman Pathak
 

Similaire à Counter (20)

Counter with memes
Counter with memesCounter with memes
Counter with memes
 
MSI Shift Registers
MSI Shift RegistersMSI Shift Registers
MSI Shift Registers
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
 
Counters
CountersCounters
Counters
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
dsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxdsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptx
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptx
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
 
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
 
counters.ppt
counters.pptcounters.ppt
counters.ppt
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 
Project lfsr
Project lfsrProject lfsr
Project lfsr
 
Lec 25 26_27
Lec 25 26_27Lec 25 26_27
Lec 25 26_27
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
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
 
Combinational logic 2
Combinational logic 2Combinational logic 2
Combinational logic 2
 

Dernier

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Dernier (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Counter

  • 2. Counters with Unused States n • A circuit with n flip-flops has 2 states • There are occasions when a sequential circuit uses fewer than there maximum possible number of states. States that are not used in specifying the sequential circuit are not listed in the stable table.
  • 4. Unused States • For example, here is a state table and diagram for a counter that repeatedly counts 000, 001, 010, 100, 101, 110. Present State Next State Q2 Q1 Q0 Q2 Q1 Q0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 1 0 0 0 0 0 1 1 ? ? ? 1 1 1 ? ? ?
  • 5. Unused States • Unused states may be treated as don’t care or assigned specific next state Present State Next State Present State Next State Q2 Q1 Q0 Q2 Q1 Q0 Q2 Q1 Q0 Q2 Q1 Q0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 1 0 1 0 0 1 1 1 0 0 1 0 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 1 1 0 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 1 X X X 0 1 1 1 0 0 1 1 1 X X X 1 1 1 0 0 0
  • 6. Ring Counters • A ring counter is a type of counter composed of a circular shift register with only one flip-flop being set at any particular time. • If the output of a shift register is fed back to the input. a ring counter results • Two types of Ring Counters • Straight Ring Counter • Switch-Tail Ring Counter or Twisted Ring Counter
  • 7. Straight Ring Counter • or Overbeck counter connects the output of the last shift register to the first shift register input and circulates a single one (or zero) bit around the ring.
  • 8. Straight Ring Counter • Loading binary 1000 into the ring counter prior to shifting yields a viewable pattern. The data pattern for a single stage repeats every four clock pulses in our 4-stage example
  • 9. Straight Ring Counter • The waveforms for all four stages look the same, except for the one clock time delay from one stage to the next. See figure below. Capable of generating different timing signals
  • 10. Twisted Ring Counter (Johnson Counter) • The number of state is (or can be) doubled by choosing this type of circuit. • Like a Straight ring counter a Johnson counter is a shift register fed back on its' self. • If the complement output of a ring counter is fed back to the input instead of the true output, a Johnson counter results.
  • 12. Johnson Counter • This "reversed" feedback connection has a profound effect upon the behavior of the otherwise similar circuits. Circulating a single 1 around a ring counter divides the input clock by a factor equal to the number of stages. Whereas, a Johnson counter divides by a factor equal to twice the number of stages. For example, a 4-stage ring counter divides by 4. A 4-stage Johnson counter divides by 8.
  • 13. Johnson Counter • Determine the output pulses for this counter circuit, known as a Johnson counter, assuming that all Q outputs begin in the low state:
  • 15. Johnson Counter • The above waveforms illustrates that multi-phase square waves are generated by a Johnson counter. The 4-stage unit above generates four overlapping phases of 50% duty cycle.