SlideShare a Scribd company logo
1 of 15
ENGIN 112
                Intro to Electrical and Computer
                           Engineering
                            Lecture 27

                           Counters




ENGIN112 L27: Counters                   November 5, 2003
Overvie
      w
  ° Counters are important components in computers
         • The increment or decrement by one in response to input

  ° Two main types of counters
         • Ripple (asynchronous) counters
         • Synchronous counters

  ° Ripple counters
         • Flip flop output serves as a source for triggering other flip flops

  ° Synchronous counters
         • All flip flops triggered by a clock signal

  ° Synchronous counters are more widely used in
    industry.



ENGIN112 L27: Counters                                  November 5, 2003
Counters

     ° Counter: A register that goes through a prescribed
       series of states
     ° Binary counter
            • Counter that follows a binary sequence
            • N bit binary counter counts in binary from n to 2n-1

     ° Ripple counters triggered by initial Count signal
     ° Applications:
            • Watches
            • Clocks
            • Alarms
            • Web browser refresh




ENGIN112 L27: Counters                                  November 5, 2003
Binary Ripple
      Counter


° Reset signal sets all outputs
  to 0
° Count signal toggles output
  of low-order flip flop
° Low-order flip flop provides
  trigger for adjacent flip flop
° Not all flops change value
  simultaneously
     • Lower-order flops change first

° Focus on D flip flop
  implementation




ENGIN112 L27: Counters                  November 5, 2003
Another Asynchronous Ripple Counter




     ° Similar to T flop example on previous slide
ENGIN112 L27: Counters                    November 5, 2003
Asynchronous Counters

     ° Each FF output drives the CLK input of the next
       FF.
     ° FFs do not change states in exact synchronism
       with the applied clock pulses.
     ° There is delay between the responses of
       successive FFs.
     ° Ripple counter due to the way the FFs respond
       one after another in a kind of rippling effect.
                         A3   A2   A1   A0
                         0    0    0    0
                         0    0    0    1
                         0    0    1    0
                         0    0    1    1
                         0    1    0    0
                         0    1    0    1
                         1    0    0    0
                         1    0    0    1

ENGIN112 L27: Counters                       November 5, 2003
Synchronous counters

    ° Synchronous(parallel)
      counters
          •   All of the FFs are triggered
              simultaneously by the clock
              input pulses.
          •   All FFs change at same time

    ° Remember
          •   If J=K=0, flop maintains value
          •   If J=K=1, flop toggles

    ° Most counters are
      synchronous in computer
      systems.
    ° Can also be made from D
      flops
    ° Value increments on
      positive edge


ENGIN112 L27: Counters                         November 5, 2003
Synchronous counters

     ° Synchronous counters
           • Same counter as previous slide except Count enable replaced
             by J=K=1
           • Note that clock signal is a square wave
           • Clock fans out to all clock inputs




ENGIN112 L27: Counters                             November 5, 2003
Circ
      uit
      ope
      rati
      on




  ° Count value increments on each negative edge
  ° Note that low-order bit (A) toggles on each clock cycle


ENGIN112 L27: Counters                   November 5, 2003
Synchronous UP/Down counters


  ° Up/Down Counter can either
    count up or down on each
    clock cycle
  ° Up counter counts from
    0000 to 1111 and then
    changes back to 0000
  ° Down counter counts from
    1111 to 0000 and then back
    to 1111
  ° Counter counts up or down
    each clock cycle
  ° Output changes occur on
    clock rising edge




ENGIN112 L27: Counters               November 5, 2003
Counters with Parallel
      Load


° Counters with parallel load
  can have a preset value
° Load signal indicates that
  data (I3…I0) should be
  loaded into the counter
° Clear resets counter to all
  zeros
° Carry output could be used
  for higher-order bits




ENGIN112 L27: Counters          November 5, 2003
Counters with Parallel
        Load
Clear     Clk       Load   Count   Function
  0        X         X      X      Clear to 0
  1        ↑          1     X      Load inputs
  1        ↑          0     1      Count
  1        ↑          0     0      No Change

                Function Table
   ° If Clear is asserted (0), the
     counter is cleared
   ° If Load is asserted data
     inputs are loaded
   ° If Count asserted counter
     value is incremented




  ENGIN112 L27: Counters                         November 5, 2003
Binary Counter with Parallel Load and
     Preset
  • Presettable parallel counter with
  asynchronous preset.




                              If PL’ = 0, load P into flops
ENGIN112 L27: Counters                     November 5, 2003
Binary Counter with Parallel Load and
     Preset
  • Commercial version of binary counter




ENGIN112 L27: Counters                November 5, 2003
Summary

  ° Binary counters can be ripple or synchronous
  ° Ripple counters use flip flop outputs as flop triggers
         • Some delay before all flops settle on a final value
         • Do no require a clock signal

  ° Synchronous counters are controlled by a clock
         • All flip flops change at the same time

  ° Up/Down counters can either increment or decrement a
    stored binary value
         • Control signal determines if counter counts up or down

  ° Counters with parallel load can be set to a known value
    before counting begins.



ENGIN112 L27: Counters                                 November 5, 2003

More Related Content

What's hot

Overview of Shift register and applications
Overview of Shift register and applicationsOverview of Shift register and applications
Overview of Shift register and applicationsKarthik Kumar
 
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 counterKanchanPatil34
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updatedDANISHAMIN950
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnanJ11
 
3 Bit Synchronous Down Counter
3 Bit Synchronous Down Counter3 Bit Synchronous Down Counter
3 Bit Synchronous Down CounterRabin BK
 
Ripple counter
Ripple counterRipple counter
Ripple counterchandkec
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERSkumari36
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters Deepak John
 
14827 shift registers
14827 shift registers14827 shift registers
14827 shift registersSandeep Kumar
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift registerBilawal Fiaz
 
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 & registersRai University
 

What's hot (20)

Overview of Shift register and applications
Overview of Shift register and applicationsOverview of Shift register and applications
Overview of Shift register and applications
 
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
 
Counters
CountersCounters
Counters
 
Counters
CountersCounters
Counters
 
Mod 10 synchronous counter updated
Mod 10 synchronous counter updatedMod 10 synchronous counter updated
Mod 10 synchronous counter updated
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Counters
Counters Counters
Counters
 
Johnson counter
Johnson counterJohnson counter
Johnson counter
 
3 Bit Synchronous Down Counter
3 Bit Synchronous Down Counter3 Bit Synchronous Down Counter
3 Bit Synchronous Down Counter
 
G. ripple counter
G. ripple counterG. ripple counter
G. ripple counter
 
counters.ppt
counters.pptcounters.ppt
counters.ppt
 
Ripple counter
Ripple counterRipple counter
Ripple counter
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
Counters
CountersCounters
Counters
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters
 
14827 shift registers
14827 shift registers14827 shift registers
14827 shift registers
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift register
 
Flip flops and registers
Flip flops and registersFlip flops and registers
Flip flops and registers
 
Counters
CountersCounters
Counters
 
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
 

Viewers also liked

ECDC African Community Center
ECDC African Community CenterECDC African Community Center
ECDC African Community Centersusibuller
 
5 kesebangunan segitiga
5 kesebangunan segitiga5 kesebangunan segitiga
5 kesebangunan segitiganina_rou
 
ECDC African Community Center
ECDC African Community CenterECDC African Community Center
ECDC African Community Centersusibuller
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Vine Gonzales
 
5 kesebangunan segitiga
5 kesebangunan segitiga5 kesebangunan segitiga
5 kesebangunan segitiganina_rou
 
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...Norhaniza Taharuddin
 
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDIN
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDINPsv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDIN
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDINNorhaniza Taharuddin
 
petroleum-development-geology
 petroleum-development-geology petroleum-development-geology
petroleum-development-geologyShahnawaz Mustafa
 
Supercritical Fluid Chromatography
Supercritical Fluid ChromatographySupercritical Fluid Chromatography
Supercritical Fluid ChromatographyBHARATH_B
 
Transmission Line Basics
Transmission Line BasicsTransmission Line Basics
Transmission Line BasicsJohn Williams
 

Viewers also liked (11)

ECDC African Community Center
ECDC African Community CenterECDC African Community Center
ECDC African Community Center
 
5 kesebangunan segitiga
5 kesebangunan segitiga5 kesebangunan segitiga
5 kesebangunan segitiga
 
ECDC African Community Center
ECDC African Community CenterECDC African Community Center
ECDC African Community Center
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02
 
Wowpin
WowpinWowpin
Wowpin
 
5 kesebangunan segitiga
5 kesebangunan segitiga5 kesebangunan segitiga
5 kesebangunan segitiga
 
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...
Psv 3123 ( Lukisan & Penyuburan Diri) - Teknik Hatching by NORHANIZA BT. TAHA...
 
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDIN
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDINPsv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDIN
Psv3113 bentuk bentuk pentaksiran by NORHANIZA BT. TAHARUDDIN
 
petroleum-development-geology
 petroleum-development-geology petroleum-development-geology
petroleum-development-geology
 
Supercritical Fluid Chromatography
Supercritical Fluid ChromatographySupercritical Fluid Chromatography
Supercritical Fluid Chromatography
 
Transmission Line Basics
Transmission Line BasicsTransmission Line Basics
Transmission Line Basics
 

Similar to Lect27 Engin112

Registers and Counters.ppt
Registers and Counters.pptRegisters and Counters.ppt
Registers and Counters.pptVijay Bhadouria
 
18CS33 ADE M5 PPT.pptx
18CS33 ADE M5 PPT.pptx18CS33 ADE M5 PPT.pptx
18CS33 ADE M5 PPT.pptxsavithaj5
 
Registers and counters
Registers and countersRegisters and counters
Registers and countersHeman Pathak
 
Counters_pptx.pptx
Counters_pptx.pptxCounters_pptx.pptx
Counters_pptx.pptxYeHtetAung35
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronicsAsif Iqbal
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxThapar Institute
 
counters and resister presentations.pptx
counters and resister presentations.pptxcounters and resister presentations.pptx
counters and resister presentations.pptxarushika2211
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronicsvikram rajpurohit
 
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 CountersArti Parab Academics
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfTamiratDejene1
 

Similar to Lect27 Engin112 (20)

Lect26 Engin112
Lect26 Engin112Lect26 Engin112
Lect26 Engin112
 
Registers and Counters.ppt
Registers and Counters.pptRegisters and Counters.ppt
Registers and Counters.ppt
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
 
18CS33 ADE M5 PPT.pptx
18CS33 ADE M5 PPT.pptx18CS33 ADE M5 PPT.pptx
18CS33 ADE M5 PPT.pptx
 
Digital counter
Digital counter Digital counter
Digital counter
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
 
Counters_pptx.pptx
Counters_pptx.pptxCounters_pptx.pptx
Counters_pptx.pptx
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronics
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
 
counters and resister presentations.pptx
counters and resister presentations.pptxcounters and resister presentations.pptx
counters and resister presentations.pptx
 
Registers r011
Registers   r011Registers   r011
Registers r011
 
Ch2
Ch2Ch2
Ch2
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
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
 
Shift registers
Shift registersShift registers
Shift registers
 
Counters
CountersCounters
Counters
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 

More from John Williams

Employee job retention
Employee job retentionEmployee job retention
Employee job retentionJohn Williams
 
Mobile cellular-telecommunication-system-revised
Mobile cellular-telecommunication-system-revisedMobile cellular-telecommunication-system-revised
Mobile cellular-telecommunication-system-revisedJohn Williams
 
Microwave engineering jwfiles
Microwave engineering jwfilesMicrowave engineering jwfiles
Microwave engineering jwfilesJohn Williams
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051John Williams
 
Lut optimization for memory based computation
Lut optimization for memory based computationLut optimization for memory based computation
Lut optimization for memory based computationJohn Williams
 
Llr test english_totalquestions
Llr test english_totalquestionsLlr test english_totalquestions
Llr test english_totalquestionsJohn Williams
 
Lecture notes -_microwaves_jwfiles
Lecture notes -_microwaves_jwfilesLecture notes -_microwaves_jwfiles
Lecture notes -_microwaves_jwfilesJohn Williams
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfilteringJohn Williams
 
Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)John Williams
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Image processing3 imageenhancement(histogramprocessing)
Image processing3 imageenhancement(histogramprocessing)Image processing3 imageenhancement(histogramprocessing)
Image processing3 imageenhancement(histogramprocessing)John Williams
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingJohn Williams
 
Arm teaching material
Arm teaching materialArm teaching material
Arm teaching materialJohn Williams
 
4 things you_cannot_recover
4 things you_cannot_recover4 things you_cannot_recover
4 things you_cannot_recoverJohn Williams
 

More from John Williams (20)

Employee job retention
Employee job retentionEmployee job retention
Employee job retention
 
Moore's law & more
Moore's law & moreMoore's law & more
Moore's law & more
 
Mobile cellular-telecommunication-system-revised
Mobile cellular-telecommunication-system-revisedMobile cellular-telecommunication-system-revised
Mobile cellular-telecommunication-system-revised
 
Mnr
MnrMnr
Mnr
 
Microwave engineering jwfiles
Microwave engineering jwfilesMicrowave engineering jwfiles
Microwave engineering jwfiles
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Lut optimization for memory based computation
Lut optimization for memory based computationLut optimization for memory based computation
Lut optimization for memory based computation
 
Llr test english_totalquestions
Llr test english_totalquestionsLlr test english_totalquestions
Llr test english_totalquestions
 
Lecture1
Lecture1Lecture1
Lecture1
 
Lecture notes -_microwaves_jwfiles
Lecture notes -_microwaves_jwfilesLecture notes -_microwaves_jwfiles
Lecture notes -_microwaves_jwfiles
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfiltering
 
Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)Image processing9 segmentation(pointslinesedges)
Image processing9 segmentation(pointslinesedges)
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Image processing3 imageenhancement(histogramprocessing)
Image processing3 imageenhancement(histogramprocessing)Image processing3 imageenhancement(histogramprocessing)
Image processing3 imageenhancement(histogramprocessing)
 
Friday xpress
Friday xpressFriday xpress
Friday xpress
 
Fft
FftFft
Fft
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Arm teaching material
Arm teaching materialArm teaching material
Arm teaching material
 
An atm with an eye
An atm with an eyeAn atm with an eye
An atm with an eye
 
4 things you_cannot_recover
4 things you_cannot_recover4 things you_cannot_recover
4 things you_cannot_recover
 

Lect27 Engin112

  • 1. ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters ENGIN112 L27: Counters November 5, 2003
  • 2. Overvie w ° Counters are important components in computers • The increment or decrement by one in response to input ° Two main types of counters • Ripple (asynchronous) counters • Synchronous counters ° Ripple counters • Flip flop output serves as a source for triggering other flip flops ° Synchronous counters • All flip flops triggered by a clock signal ° Synchronous counters are more widely used in industry. ENGIN112 L27: Counters November 5, 2003
  • 3. Counters ° Counter: A register that goes through a prescribed series of states ° Binary counter • Counter that follows a binary sequence • N bit binary counter counts in binary from n to 2n-1 ° Ripple counters triggered by initial Count signal ° Applications: • Watches • Clocks • Alarms • Web browser refresh ENGIN112 L27: Counters November 5, 2003
  • 4. Binary Ripple Counter ° Reset signal sets all outputs to 0 ° Count signal toggles output of low-order flip flop ° Low-order flip flop provides trigger for adjacent flip flop ° Not all flops change value simultaneously • Lower-order flops change first ° Focus on D flip flop implementation ENGIN112 L27: Counters November 5, 2003
  • 5. Another Asynchronous Ripple Counter ° Similar to T flop example on previous slide ENGIN112 L27: Counters November 5, 2003
  • 6. Asynchronous Counters ° Each FF output drives the CLK input of the next FF. ° FFs do not change states in exact synchronism with the applied clock pulses. ° There is delay between the responses of successive FFs. ° Ripple counter due to the way the FFs respond one after another in a kind of rippling effect. A3 A2 A1 A0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 1 ENGIN112 L27: Counters November 5, 2003
  • 7. Synchronous counters ° Synchronous(parallel) counters • All of the FFs are triggered simultaneously by the clock input pulses. • All FFs change at same time ° Remember • If J=K=0, flop maintains value • If J=K=1, flop toggles ° Most counters are synchronous in computer systems. ° Can also be made from D flops ° Value increments on positive edge ENGIN112 L27: Counters November 5, 2003
  • 8. Synchronous counters ° Synchronous counters • Same counter as previous slide except Count enable replaced by J=K=1 • Note that clock signal is a square wave • Clock fans out to all clock inputs ENGIN112 L27: Counters November 5, 2003
  • 9. Circ uit ope rati on ° Count value increments on each negative edge ° Note that low-order bit (A) toggles on each clock cycle ENGIN112 L27: Counters November 5, 2003
  • 10. Synchronous UP/Down counters ° Up/Down Counter can either count up or down on each clock cycle ° Up counter counts from 0000 to 1111 and then changes back to 0000 ° Down counter counts from 1111 to 0000 and then back to 1111 ° Counter counts up or down each clock cycle ° Output changes occur on clock rising edge ENGIN112 L27: Counters November 5, 2003
  • 11. Counters with Parallel Load ° Counters with parallel load can have a preset value ° Load signal indicates that data (I3…I0) should be loaded into the counter ° Clear resets counter to all zeros ° Carry output could be used for higher-order bits ENGIN112 L27: Counters November 5, 2003
  • 12. Counters with Parallel Load Clear Clk Load Count Function 0 X X X Clear to 0 1 ↑ 1 X Load inputs 1 ↑ 0 1 Count 1 ↑ 0 0 No Change Function Table ° If Clear is asserted (0), the counter is cleared ° If Load is asserted data inputs are loaded ° If Count asserted counter value is incremented ENGIN112 L27: Counters November 5, 2003
  • 13. Binary Counter with Parallel Load and Preset • Presettable parallel counter with asynchronous preset. If PL’ = 0, load P into flops ENGIN112 L27: Counters November 5, 2003
  • 14. Binary Counter with Parallel Load and Preset • Commercial version of binary counter ENGIN112 L27: Counters November 5, 2003
  • 15. Summary ° Binary counters can be ripple or synchronous ° Ripple counters use flip flop outputs as flop triggers • Some delay before all flops settle on a final value • Do no require a clock signal ° Synchronous counters are controlled by a clock • All flip flops change at the same time ° Up/Down counters can either increment or decrement a stored binary value • Control signal determines if counter counts up or down ° Counters with parallel load can be set to a known value before counting begins. ENGIN112 L27: Counters November 5, 2003

Editor's Notes

  1. Give qualifications of instructors: DAP teaching computer architecture at Berkeley since 1977 Co-athor of textbook used in class Best known for being one of pioneers of RISC currently author of article on future of microprocessors in SciAm Sept 1995 RY took 152 as student, TAed 152,instructor in 152 undergrad and grad work at Berkeley joined NextGen to design fact 80x86 microprocessors one of architects of UltraSPARC fastest SPARC mper shipping this Fall
  2. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  3. credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.