SlideShare a Scribd company logo
DIGITAL COMPUTER
ELECTRONICS
Third Edition
By Malvino - Brown
PART 1: DIGITAL PRINCIPLES
CHAPTER 8: REGISTER AND COUNTERS
Registers
 It is the group of memory elements that work together in a unit
 The simplest registers to do nothing more than to store a binary word; other modify the
store word by shifting its bits left or right or by performing other operations
 A Counter is a special kind of register, design to count the number of clock pulses
arriving at inputs
Counters
Buffer Register
 It is the simplest kind of registers; all it does is store a digital word
 CONTROLLED BUFFER REGISTER: The same buffer register is provided with active- high
Shift Registers
 Shift Register simply moves the stored bits left or right. This bit shifting is essential for
certain arithmetic and logic operations used in micro-computers
Controlled Shift Registers
 A controlled Shift Register has control inputs that determines what it does on the next
pulse
 SHL Control
 Feedback
 Left Shift
 Serial Loading: means storing a word in the shift register by entering 1 bit per clock
pulses e.g. 4 bits need 4 clock
 Parallel Loading or Broadside Loading: It takes only one clock pulse to store a digital
word
Ripple Counters
 It is a register capable of counting the numbers of clock pulses that have arrived at its
clock input
 The circuit shown is built with JK Flip flops; Since the JK inputs are returned to a high
voltage, each flip flop will toggle when its clock input receive a negative edge
Ripple Counter
 Ripple Counter: It is known as a Ripple Counter because the carry moves through the
flip flops like a ripple in water. In other word Q0 toggle before Q1, Q1 toggle before Q2,
and so on
 It counts the clock pulses when commanded to do so
 The problem with ripple counters is that each new stage put on the counter adds a
delay. This propagation delay is seen when we look at a less idealized timing diagram
Controlled Ripple Counter
Problems with Ripple Counter
Synchronous Counters
 When the carry has to propagate through a chain of n flip flops, the overall
propagation delay time is ntp
 For that very reason the ripple counters are too slow for some applications
 To get around ripple counter we use synchronous counter
Working of Synchronous Counters
 However, with the Synchronous Counter, the external clock signal is connected to the
clock input of every individual flip-flop within the Counter so that all of the flip-flops are
clocked together simultaneously (in parallel) at the same time giving a fixed time
relationship. In other words, changes in the output occur in “synchronization” with the
clock signal
 The result of this synchronization is that all the individual output bits changing state at
exactly the same time in response to the common clock signal with no ripple effect
and therefore, no propagation delay
Controlled Synchronous Counter
 A low count disable all flip flops. When COUNT is high, the circuit becomes a
synchronous counter; each positive clock edge advance the count by 1
Ring Counters
The Ring Counter built with D flip flops
Application of Ring Counter
 Ring counters can not compete with ripple and synchronous counters when it comes to
ordinary counting, but they are invaluable when it’s necessary to control a sequence of
operations. Because each ring word has only 1 high bit, you can activate one of the
several devices

More Related Content

What's hot

Unit 3 – assembly language programming
Unit 3 – assembly language programmingUnit 3 – assembly language programming
Unit 3 – assembly language programming
Kartik Sharma
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
ISMT College
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
anishgoel
 
Microcontroller 8096
Microcontroller 8096Microcontroller 8096
Microcontroller 8096
Mannar Hussein
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
cs19club
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
GargiKhanna1
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
Monica Gunjal
 
Counters
CountersCounters
Counters
Abhilash Nair
 
Types of line coding
Types of line codingTypes of line coding
Types of line coding
ramalakshmi54
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
Anirban Saha Anik
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Flag register 8086 assignment
Flag register 8086 assignmentFlag register 8086 assignment
Flag register 8086 assignment
Zia3130
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.ppt
RavikumarR77
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
Shafaan Khaliq Bhatti
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
Akhila Rahul
 
Counters
Counters Counters
Counters
Bilal Mirza
 
Digital Registers & Counters
Digital Registers & CountersDigital Registers & Counters
Digital Registers & Counters
university of education,Lahore
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
SIVA NAGENDRA REDDY
 
Unit 5
Unit 5Unit 5
Unit 5
sowndaryaM5
 

What's hot (20)

Unit 3 – assembly language programming
Unit 3 – assembly language programmingUnit 3 – assembly language programming
Unit 3 – assembly language programming
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Microcontroller 8096
Microcontroller 8096Microcontroller 8096
Microcontroller 8096
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
 
Counters
CountersCounters
Counters
 
Types of line coding
Types of line codingTypes of line coding
Types of line coding
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Flag register 8086 assignment
Flag register 8086 assignmentFlag register 8086 assignment
Flag register 8086 assignment
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.ppt
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
Counters
Counters Counters
Counters
 
Digital Registers & Counters
Digital Registers & CountersDigital Registers & Counters
Digital Registers & Counters
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
 
Unit 5
Unit 5Unit 5
Unit 5
 

Viewers also liked

Chapter#6
Chapter#6Chapter#6
Microformats nishikant-taksande
Microformats nishikant-taksandeMicroformats nishikant-taksande
Microformats nishikant-taksandeNishikant Taksande
 
Computer Science: The best fun there is? @ Fareham Byte
Computer Science: The best fun there is? @ Fareham ByteComputer Science: The best fun there is? @ Fareham Byte
Computer Science: The best fun there is? @ Fareham Byte
rikkiprince
 
Chapter # 7
Chapter # 7Chapter # 7
Syllabus of b.sc_electronics_semester_pattern2013
Syllabus of b.sc_electronics_semester_pattern2013Syllabus of b.sc_electronics_semester_pattern2013
Syllabus of b.sc_electronics_semester_pattern2013
SRR Govt. Degree & PG College
 
Electronics Introduction
Electronics IntroductionElectronics Introduction
Electronics Introduction
Maria Romina Angustia
 
How to Design for Mobile
How to Design for MobileHow to Design for Mobile
How to Design for Mobile
Angela Naegele
 
Sintesis informativa 30 04 2013
Sintesis informativa 30 04 2013Sintesis informativa 30 04 2013
Sintesis informativa 30 04 2013megaradioexpress
 
Accelerating OpenERP accounting: Precalculated period sums
Accelerating OpenERP accounting: Precalculated period sumsAccelerating OpenERP accounting: Precalculated period sums
Accelerating OpenERP accounting: Precalculated period sums
Borja López
 
Noesiterapia escudero
Noesiterapia escuderoNoesiterapia escudero
Noesiterapia escudero
Lauraaqui
 
Helping Teens Drive Safer Around Large Commercial Vehicles
Helping Teens Drive Safer Around Large Commercial VehiclesHelping Teens Drive Safer Around Large Commercial Vehicles
Helping Teens Drive Safer Around Large Commercial Vehicles
Texas A&M Transportation Institute
 
Iv summer acad abbau der grenzen im kopf
Iv summer acad abbau der grenzen im kopfIv summer acad abbau der grenzen im kopf
Iv summer acad abbau der grenzen im kopf
Reinhard Wilfinger
 
Dropbox
DropboxDropbox
Dropbox
alvaro1725
 
A3 presentación virus y antivirustltl
A3 presentación virus y antivirustltlA3 presentación virus y antivirustltl
A3 presentación virus y antivirustltl
Jmarcospr90
 
How To Get The Most Of Your Employees' Efforts
How To Get The Most Of Your Employees' EffortsHow To Get The Most Of Your Employees' Efforts
How To Get The Most Of Your Employees' Efforts
Aniisu K Verghese
 
Bienaventuranzasdelhombreactual
BienaventuranzasdelhombreactualBienaventuranzasdelhombreactual
Bienaventuranzasdelhombreactualsalvadortorresm
 
Calendario 3ª grupo ix 13 14
Calendario 3ª grupo ix 13 14Calendario 3ª grupo ix 13 14
Calendario 3ª grupo ix 13 14Estepona Dxt
 
Wie High Potentials eine attraktiven Arbeitgeber finden
Wie High Potentials eine attraktiven Arbeitgeber findenWie High Potentials eine attraktiven Arbeitgeber finden
Wie High Potentials eine attraktiven Arbeitgeber finden
Lüderitz -Einer von Euch-
 

Viewers also liked (20)

Chapter#6
Chapter#6Chapter#6
Chapter#6
 
Microformats nishikant-taksande
Microformats nishikant-taksandeMicroformats nishikant-taksande
Microformats nishikant-taksande
 
42 128-1-pb
42 128-1-pb42 128-1-pb
42 128-1-pb
 
Computer Science: The best fun there is? @ Fareham Byte
Computer Science: The best fun there is? @ Fareham ByteComputer Science: The best fun there is? @ Fareham Byte
Computer Science: The best fun there is? @ Fareham Byte
 
Chapter # 7
Chapter # 7Chapter # 7
Chapter # 7
 
Syllabus of b.sc_electronics_semester_pattern2013
Syllabus of b.sc_electronics_semester_pattern2013Syllabus of b.sc_electronics_semester_pattern2013
Syllabus of b.sc_electronics_semester_pattern2013
 
Electronics Introduction
Electronics IntroductionElectronics Introduction
Electronics Introduction
 
How to Design for Mobile
How to Design for MobileHow to Design for Mobile
How to Design for Mobile
 
Sintesis informativa 30 04 2013
Sintesis informativa 30 04 2013Sintesis informativa 30 04 2013
Sintesis informativa 30 04 2013
 
Accelerating OpenERP accounting: Precalculated period sums
Accelerating OpenERP accounting: Precalculated period sumsAccelerating OpenERP accounting: Precalculated period sums
Accelerating OpenERP accounting: Precalculated period sums
 
Naturalezayvida
NaturalezayvidaNaturalezayvida
Naturalezayvida
 
Noesiterapia escudero
Noesiterapia escuderoNoesiterapia escudero
Noesiterapia escudero
 
Helping Teens Drive Safer Around Large Commercial Vehicles
Helping Teens Drive Safer Around Large Commercial VehiclesHelping Teens Drive Safer Around Large Commercial Vehicles
Helping Teens Drive Safer Around Large Commercial Vehicles
 
Iv summer acad abbau der grenzen im kopf
Iv summer acad abbau der grenzen im kopfIv summer acad abbau der grenzen im kopf
Iv summer acad abbau der grenzen im kopf
 
Dropbox
DropboxDropbox
Dropbox
 
A3 presentación virus y antivirustltl
A3 presentación virus y antivirustltlA3 presentación virus y antivirustltl
A3 presentación virus y antivirustltl
 
How To Get The Most Of Your Employees' Efforts
How To Get The Most Of Your Employees' EffortsHow To Get The Most Of Your Employees' Efforts
How To Get The Most Of Your Employees' Efforts
 
Bienaventuranzasdelhombreactual
BienaventuranzasdelhombreactualBienaventuranzasdelhombreactual
Bienaventuranzasdelhombreactual
 
Calendario 3ª grupo ix 13 14
Calendario 3ª grupo ix 13 14Calendario 3ª grupo ix 13 14
Calendario 3ª grupo ix 13 14
 
Wie High Potentials eine attraktiven Arbeitgeber finden
Wie High Potentials eine attraktiven Arbeitgeber findenWie High Potentials eine attraktiven Arbeitgeber finden
Wie High Potentials eine attraktiven Arbeitgeber finden
 

Similar to Chapter#8

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
Arti Parab Academics
 
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
Rai University
 
digital Counter
digital Counterdigital Counter
digital Counter
shamshad alam
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.ppt
RaziyaSultana30
 
counters.ppt
counters.pptcounters.ppt
counters.ppt
NarendrakumarAnnadur
 
Digital counter
Digital counter Digital counter
Digital counter
Bhaskar Kumar Jha
 
Latch and Counter
Latch and CounterLatch and Counter
Latch and Counter
Delowar Hossain
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
Heman Pathak
 
Register counters.readonly
Register counters.readonlyRegister counters.readonly
Register counters.readonly
VARSHAKUMARI49
 
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
Aniruddh70
 
Selvapriya.pptx
Selvapriya.pptxSelvapriya.pptx
Selvapriya.pptx
FATHIMATHASLIMAMScCo
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
Jayakrishnan J
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
JayakrishnanJ11
 
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
PriyankaJain98423
 
counter lesson plan
counter lesson plancounter lesson plan
counter lesson plan
BDSKHATTU
 
Ch2
Ch2Ch2
timer counter (1).pptx
timer counter (1).pptxtimer counter (1).pptx
timer counter (1).pptx
SujalKumar73
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
SaifURehmanSidhu
 
Digital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdfDigital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdf
Kannan Kanagaraj
 
Registers
RegistersRegisters
Registers
Sanjeev Patel
 

Similar to Chapter#8 (20)

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
 
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
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.ppt
 
counters.ppt
counters.pptcounters.ppt
counters.ppt
 
Digital counter
Digital counter Digital counter
Digital counter
 
Latch and Counter
Latch and CounterLatch and Counter
Latch and Counter
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
 
Register counters.readonly
Register counters.readonlyRegister counters.readonly
Register counters.readonly
 
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
 
Selvapriya.pptx
Selvapriya.pptxSelvapriya.pptx
Selvapriya.pptx
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Unit4_DE.pptx
Unit4_DE.pptxUnit4_DE.pptx
Unit4_DE.pptx
 
counter lesson plan
counter lesson plancounter lesson plan
counter lesson plan
 
Ch2
Ch2Ch2
Ch2
 
timer counter (1).pptx
timer counter (1).pptxtimer counter (1).pptx
timer counter (1).pptx
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
 
Digital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdfDigital Electronics – Unit III.pdf
Digital Electronics – Unit III.pdf
 
Registers
RegistersRegisters
Registers
 

More from Syed Muhammad ALi Shah

Chapter # 9
Chapter # 9Chapter # 9
Chapter # 6
Chapter # 6Chapter # 6
Chapter # 5
Chapter # 5Chapter # 5
Chapter # 8
Chapter # 8Chapter # 8
Chapter # 4
Chapter # 4Chapter # 4
Chapter # 10
Chapter # 10Chapter # 10
Chapter # 3
Chapter # 3Chapter # 3
Chapter # 2
Chapter # 2Chapter # 2
Chapter # 1
Chapter # 1Chapter # 1
Chapter#18
Chapter#18Chapter#18
Chapter#17
Chapter#17Chapter#17
Chapter#16
Chapter#16Chapter#16
Chapter#15
Chapter#15Chapter#15
Chapter#14
Chapter#14Chapter#14
Chapter#13
Chapter#13Chapter#13
Chapter#14
Chapter#14Chapter#14
Chapter#13
Chapter#13Chapter#13
Chapter#12
Chapter#12Chapter#12
Chapter#11
Chapter#11Chapter#11

More from Syed Muhammad ALi Shah (20)

Chapter # 9
Chapter # 9Chapter # 9
Chapter # 9
 
Chapter # 6
Chapter # 6Chapter # 6
Chapter # 6
 
Chapter # 5
Chapter # 5Chapter # 5
Chapter # 5
 
Chapter # 8
Chapter # 8Chapter # 8
Chapter # 8
 
Chapter # 4
Chapter # 4Chapter # 4
Chapter # 4
 
Chapter # 10
Chapter # 10Chapter # 10
Chapter # 10
 
Chapter # 3
Chapter # 3Chapter # 3
Chapter # 3
 
Chapter # 2
Chapter # 2Chapter # 2
Chapter # 2
 
Chapter # 1
Chapter # 1Chapter # 1
Chapter # 1
 
Chapter#18
Chapter#18Chapter#18
Chapter#18
 
Chapter#17
Chapter#17Chapter#17
Chapter#17
 
Chapter#16
Chapter#16Chapter#16
Chapter#16
 
Chapter#15
Chapter#15Chapter#15
Chapter#15
 
Chapter#14
Chapter#14Chapter#14
Chapter#14
 
Chapter#13
Chapter#13Chapter#13
Chapter#13
 
Chapter#9
Chapter#9Chapter#9
Chapter#9
 
Chapter#14
Chapter#14Chapter#14
Chapter#14
 
Chapter#13
Chapter#13Chapter#13
Chapter#13
 
Chapter#12
Chapter#12Chapter#12
Chapter#12
 
Chapter#11
Chapter#11Chapter#11
Chapter#11
 

Chapter#8

  • 2. PART 1: DIGITAL PRINCIPLES CHAPTER 8: REGISTER AND COUNTERS
  • 3. Registers  It is the group of memory elements that work together in a unit  The simplest registers to do nothing more than to store a binary word; other modify the store word by shifting its bits left or right or by performing other operations  A Counter is a special kind of register, design to count the number of clock pulses arriving at inputs Counters
  • 4. Buffer Register  It is the simplest kind of registers; all it does is store a digital word  CONTROLLED BUFFER REGISTER: The same buffer register is provided with active- high
  • 5. Shift Registers  Shift Register simply moves the stored bits left or right. This bit shifting is essential for certain arithmetic and logic operations used in micro-computers
  • 6.
  • 7. Controlled Shift Registers  A controlled Shift Register has control inputs that determines what it does on the next pulse  SHL Control  Feedback  Left Shift  Serial Loading: means storing a word in the shift register by entering 1 bit per clock pulses e.g. 4 bits need 4 clock
  • 8.  Parallel Loading or Broadside Loading: It takes only one clock pulse to store a digital word
  • 9. Ripple Counters  It is a register capable of counting the numbers of clock pulses that have arrived at its clock input  The circuit shown is built with JK Flip flops; Since the JK inputs are returned to a high voltage, each flip flop will toggle when its clock input receive a negative edge
  • 10.
  • 11. Ripple Counter  Ripple Counter: It is known as a Ripple Counter because the carry moves through the flip flops like a ripple in water. In other word Q0 toggle before Q1, Q1 toggle before Q2, and so on  It counts the clock pulses when commanded to do so  The problem with ripple counters is that each new stage put on the counter adds a delay. This propagation delay is seen when we look at a less idealized timing diagram Controlled Ripple Counter Problems with Ripple Counter
  • 12. Synchronous Counters  When the carry has to propagate through a chain of n flip flops, the overall propagation delay time is ntp  For that very reason the ripple counters are too slow for some applications  To get around ripple counter we use synchronous counter
  • 13. Working of Synchronous Counters  However, with the Synchronous Counter, the external clock signal is connected to the clock input of every individual flip-flop within the Counter so that all of the flip-flops are clocked together simultaneously (in parallel) at the same time giving a fixed time relationship. In other words, changes in the output occur in “synchronization” with the clock signal  The result of this synchronization is that all the individual output bits changing state at exactly the same time in response to the common clock signal with no ripple effect and therefore, no propagation delay
  • 14. Controlled Synchronous Counter  A low count disable all flip flops. When COUNT is high, the circuit becomes a synchronous counter; each positive clock edge advance the count by 1
  • 15. Ring Counters The Ring Counter built with D flip flops
  • 16. Application of Ring Counter  Ring counters can not compete with ripple and synchronous counters when it comes to ordinary counting, but they are invaluable when it’s necessary to control a sequence of operations. Because each ring word has only 1 high bit, you can activate one of the several devices