SlideShare a Scribd company logo
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 19/21/2020
Chapter 7
Counters and Registers
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 49/21/2020
Asynchronous (Ripple) Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 59/21/2020
Asynchronous (Ripple) Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 69/21/2020
Asynchronous (Ripple) Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 109/21/2020
Asynchronous (Ripple) Counters
Mod Number = 2N
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 119/21/2020
Frequency Division
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 159/21/2020
Digital Clock
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 259/21/2020
Propagation Delay in Ripple Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 269/21/2020
Propagation Delay in Ripple Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 279/21/2020
Propagation Delay in Ripple Counters
max
1
clock pd
pd
T N t
f
N t
 


To avoid losing states
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 289/21/2020
Synchronous (Parallel) Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 299/21/2020
Synchronous (Parallel) Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 309/21/2020
Advantages of Synchronous Counters
     Pd Pd Pdt Counter t FF t AND 
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 319/21/2020
Counters With Mod Number ≠ 2N
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 329/21/2020
Counters With Mod Number ≠ 2N
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 339/21/2020
Counters With Mod Number ≠ 2N
CLRCLRCLR
2Q
1Q
MOD = 6
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 349/21/2020
Counters With Mod Number ≠ 2N
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 359/21/2020
Displaying Counter State
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 369/21/2020
Decade Counters and BCD Counters
Decade Counters: 10 States
BCD Counters: 0 1 … 9 States
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 409/21/2020
Synchronous Down
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 419/21/2020
Synchronous Down and Up/Down Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 429/21/2020
Presettable Counters
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 439/21/2020
Decoding a Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 449/21/2020
Decoding a Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 459/21/2020
A
A
B
BC
C
ABC
Decoding a Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 479/21/2020
Active Low Decoding
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 499/21/2020
BCD Counter Decoding
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 509/21/2020
BCD Counter Decoding
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 569/21/2020
Analyzing Synchronous Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 579/21/2020
Analyzing Synchronous Counter
Self-correcting counter: unused states → normal count sequence
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 619/21/2020
Analyzing Synchronous Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 629/21/2020
Analyzing Synchronous Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 639/21/2020
Analyzing Synchronous Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 649/21/2020
Synchronous Counter Design
1. Number of Flip Flops
2. Type of Flip Flop
3. Flip Flop Excitation Table
4. Counter Excitation Table
5. Design Inputs for Different Flip Flops
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 659/21/2020
Synchronous Counter Design
Flip Flop Excitation Table
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 669/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 679/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 689/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 699/21/2020
Synchronous Counter Design
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
Excitation Table for T Flip Flop
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 709/21/2020
Synchronous Counter Design
Example
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 719/21/2020
Synchronous Counter Design
Example
Counter State Transion Table
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 729/21/2020
Synchronous Counter Design
Example
Counter Excitation Table
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 739/21/2020
Synchronous Counter Design
Example
𝐾𝐴 = 1
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 749/21/2020
Synchronous Counter Design
Example
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 759/21/2020
Synchronous Counter Design
Example
Counter State Transion Digram
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 769/21/2020
Synchronous Counter Design
Counter Excitation Table (T FF)
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 779/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 789/21/2020
Synchronous Counter Design
Example
1x 
1x 
0x 
0x 
0x 
0x 
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 799/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 809/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 819/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 829/21/2020
Synchronous Counter Design
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 839/21/2020
Synchronous Counter Design
Stepper Motor Control
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 849/21/2020
Synchronous Counter Design
Stepper Motor Control
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 859/21/2020
Synchronous Counter Design
Stepper Motor Control
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 869/21/2020
Synchronous Counter Design
Stepper Motor Control
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 879/21/2020
Synchronous Counter Design
Stepper Motor Control
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 889/21/2020
Part 2
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 899/21/2020
Integrated-Circuit Registers
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 909/21/2020
Parallel In/Parallel Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 919/21/2020
Parallel In/Parallel Out
Connecting 74ALS174 as a serial shift register
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 929/21/2020
Serial In/Serial Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 939/21/2020
Serial In/Serial Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 969/21/2020
Parallel In/Serial Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 979/21/2020
Parallel In/Serial Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 989/21/2020
Serial In/Parallel Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 999/21/2020
Serial In/Parallel Out
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1009/21/2020
Shift Register Counters
1. Ring Counter
2. Johnson Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1019/21/2020
Ring Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1029/21/2020
Ring Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1039/21/2020
Starting a Ring Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1049/21/2020
Decoding Ring Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1059/21/2020
Johnson Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1069/21/2020
Johnson Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1089/21/2020
Johnson Counter
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1099/21/2020
Johnson Counter
Clock # Q0 Q1 Q2 Q3
0 1 0 0 0
1 1 1 0 0
2 1 1 1 0
3 1 1 1 1
4 0 1 1 1
5 0 0 1 1
6 0 0 0 1
7 0 0 0 0
8 1 0 0 0
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1109/21/2020
Johnson Counter
1000
0111
0001 1110
11000000
0011 1111
Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1119/21/2020
Decoding Johnson Counter

More Related Content

What's hot

8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
PreethiSureshkumar1
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
Monica Gunjal
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
Nikhil Sharma
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
sobhadevi
 
Verilog HDL
Verilog HDL Verilog HDL
Verilog HDL
HasmukhPKoringa
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
Smart sensors seminar'
Smart sensors seminar'Smart sensors seminar'
Smart sensors seminar'
Naresh Kannan
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
Sudhanshu Janwadkar
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontrollerDiwaker Pant
 
Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming
Dr. Pankaj Zope
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
Kedarv
 
DAC and sensor interfacing with PIC
DAC and sensor interfacing with PICDAC and sensor interfacing with PIC
DAC and sensor interfacing with PIC
Sasidharan Srinivasan
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
Amr Rashed
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
Mahmoud Sadat
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
Saumya Ranjan Behura
 
Cache memory
Cache memoryCache memory
Cache memory
Ansari Maviya
 
Sensors and actuators
Sensors and actuatorsSensors and actuators
Sensors and actuatorsnazibhmd
 

What's hot (20)

8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Interrupt
InterruptInterrupt
Interrupt
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
 
Verilog HDL
Verilog HDL Verilog HDL
Verilog HDL
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
Smart sensors seminar'
Smart sensors seminar'Smart sensors seminar'
Smart sensors seminar'
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
Interfacing methods of microcontroller
Interfacing methods of microcontrollerInterfacing methods of microcontroller
Interfacing methods of microcontroller
 
Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
DAC and sensor interfacing with PIC
DAC and sensor interfacing with PICDAC and sensor interfacing with PIC
DAC and sensor interfacing with PIC
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Cache memory
Cache memoryCache memory
Cache memory
 
Sensors
SensorsSensors
Sensors
 
Sensors and actuators
Sensors and actuatorsSensors and actuators
Sensors and actuators
 

Similar to Tocci ch 7 counters and registers modified x

Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
cairo university
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
cairo university
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
cairo university
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
cairo university
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
cairo university
 
Rsm bldr contract_2021
Rsm bldr contract_2021Rsm bldr contract_2021
Rsm bldr contract_2021
R Sanghavi Mercantile Pvt Ltd
 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
cairo university
 

Similar to Tocci ch 7 counters and registers modified x (7)

Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
 
Rsm bldr contract_2021
Rsm bldr contract_2021Rsm bldr contract_2021
Rsm bldr contract_2021
 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
 

More from cairo university

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
cairo university
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
cairo university
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
cairo university
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
cairo university
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
cairo university
 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
cairo university
 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
cairo university
 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
cairo university
 
Fields Lec 5&6
Fields Lec 5&6Fields Lec 5&6
Fields Lec 5&6
cairo university
 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
cairo university
 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
cairo university
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
cairo university
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
cairo university
 
Lecture 12 (adc) rv01
Lecture 12  (adc) rv01Lecture 12  (adc) rv01
Lecture 12 (adc) rv01
cairo university
 
Lecture 11 (dac and comparator) rv01
Lecture 11 (dac and comparator) rv01Lecture 11 (dac and comparator) rv01
Lecture 11 (dac and comparator) rv01
cairo university
 
Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)
cairo university
 
Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012
cairo university
 
Lecture 4 (8051 instruction set) rv01
Lecture 4 (8051 instruction set) rv01Lecture 4 (8051 instruction set) rv01
Lecture 4 (8051 instruction set) rv01
cairo university
 
Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01
cairo university
 
Modern control 2
Modern control 2Modern control 2
Modern control 2
cairo university
 

More from cairo university (20)

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
 
Fields Lec 5&6
Fields Lec 5&6Fields Lec 5&6
Fields Lec 5&6
 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
 
Lecture 12 (adc) rv01
Lecture 12  (adc) rv01Lecture 12  (adc) rv01
Lecture 12 (adc) rv01
 
Lecture 11 (dac and comparator) rv01
Lecture 11 (dac and comparator) rv01Lecture 11 (dac and comparator) rv01
Lecture 11 (dac and comparator) rv01
 
Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)
 
Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012
 
Lecture 4 (8051 instruction set) rv01
Lecture 4 (8051 instruction set) rv01Lecture 4 (8051 instruction set) rv01
Lecture 4 (8051 instruction set) rv01
 
Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01
 
Modern control 2
Modern control 2Modern control 2
Modern control 2
 

Recently uploaded

6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 

Recently uploaded (20)

6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 

Tocci ch 7 counters and registers modified x

  • 1. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 19/21/2020 Chapter 7 Counters and Registers
  • 2. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 49/21/2020 Asynchronous (Ripple) Counters
  • 3. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 59/21/2020 Asynchronous (Ripple) Counters
  • 4. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 69/21/2020 Asynchronous (Ripple) Counters
  • 5. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 109/21/2020 Asynchronous (Ripple) Counters Mod Number = 2N
  • 6. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 119/21/2020 Frequency Division
  • 7. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 159/21/2020 Digital Clock
  • 8. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 259/21/2020 Propagation Delay in Ripple Counters
  • 9. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 269/21/2020 Propagation Delay in Ripple Counters
  • 10. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 279/21/2020 Propagation Delay in Ripple Counters max 1 clock pd pd T N t f N t     To avoid losing states
  • 11. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 289/21/2020 Synchronous (Parallel) Counters
  • 12. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 299/21/2020 Synchronous (Parallel) Counters
  • 13. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 309/21/2020 Advantages of Synchronous Counters      Pd Pd Pdt Counter t FF t AND 
  • 14. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 319/21/2020 Counters With Mod Number ≠ 2N
  • 15. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 329/21/2020 Counters With Mod Number ≠ 2N
  • 16. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 339/21/2020 Counters With Mod Number ≠ 2N CLRCLRCLR 2Q 1Q MOD = 6
  • 17. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 349/21/2020 Counters With Mod Number ≠ 2N
  • 18. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 359/21/2020 Displaying Counter State
  • 19. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 369/21/2020 Decade Counters and BCD Counters Decade Counters: 10 States BCD Counters: 0 1 … 9 States
  • 20. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 409/21/2020 Synchronous Down
  • 21. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 419/21/2020 Synchronous Down and Up/Down Counters
  • 22. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 429/21/2020 Presettable Counters
  • 23. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 439/21/2020 Decoding a Counter
  • 24. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 449/21/2020 Decoding a Counter
  • 25. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 459/21/2020 A A B BC C ABC Decoding a Counter
  • 26. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 479/21/2020 Active Low Decoding
  • 27. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 499/21/2020 BCD Counter Decoding
  • 28. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 509/21/2020 BCD Counter Decoding
  • 29. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 569/21/2020 Analyzing Synchronous Counter
  • 30. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 579/21/2020 Analyzing Synchronous Counter Self-correcting counter: unused states → normal count sequence
  • 31. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 619/21/2020 Analyzing Synchronous Counter
  • 32. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 629/21/2020 Analyzing Synchronous Counter
  • 33. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 639/21/2020 Analyzing Synchronous Counter
  • 34. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 649/21/2020 Synchronous Counter Design 1. Number of Flip Flops 2. Type of Flip Flop 3. Flip Flop Excitation Table 4. Counter Excitation Table 5. Design Inputs for Different Flip Flops
  • 35. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 659/21/2020 Synchronous Counter Design Flip Flop Excitation Table
  • 36. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 669/21/2020 Synchronous Counter Design
  • 37. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 679/21/2020 Synchronous Counter Design
  • 38. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 689/21/2020 Synchronous Counter Design
  • 39. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 699/21/2020 Synchronous Counter Design Qn Qn+1 T 0 0 0 0 1 1 1 0 1 1 1 0 Excitation Table for T Flip Flop
  • 40. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 709/21/2020 Synchronous Counter Design Example
  • 41. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 719/21/2020 Synchronous Counter Design Example Counter State Transion Table
  • 42. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 729/21/2020 Synchronous Counter Design Example Counter Excitation Table
  • 43. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 739/21/2020 Synchronous Counter Design Example 𝐾𝐴 = 1
  • 44. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 749/21/2020 Synchronous Counter Design Example
  • 45. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 759/21/2020 Synchronous Counter Design Example Counter State Transion Digram
  • 46. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 769/21/2020 Synchronous Counter Design Counter Excitation Table (T FF)
  • 47. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 779/21/2020 Synchronous Counter Design
  • 48. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 789/21/2020 Synchronous Counter Design Example 1x  1x  0x  0x  0x  0x 
  • 49. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 799/21/2020 Synchronous Counter Design
  • 50. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 809/21/2020 Synchronous Counter Design
  • 51. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 819/21/2020 Synchronous Counter Design
  • 52. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 829/21/2020 Synchronous Counter Design
  • 53. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 839/21/2020 Synchronous Counter Design Stepper Motor Control
  • 54. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 849/21/2020 Synchronous Counter Design Stepper Motor Control
  • 55. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 859/21/2020 Synchronous Counter Design Stepper Motor Control
  • 56. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 869/21/2020 Synchronous Counter Design Stepper Motor Control
  • 57. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 879/21/2020 Synchronous Counter Design Stepper Motor Control
  • 58. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 889/21/2020 Part 2
  • 59. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 899/21/2020 Integrated-Circuit Registers
  • 60. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 909/21/2020 Parallel In/Parallel Out
  • 61. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 919/21/2020 Parallel In/Parallel Out Connecting 74ALS174 as a serial shift register
  • 62. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 929/21/2020 Serial In/Serial Out
  • 63. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 939/21/2020 Serial In/Serial Out
  • 64. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 969/21/2020 Parallel In/Serial Out
  • 65. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 979/21/2020 Parallel In/Serial Out
  • 66. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 989/21/2020 Serial In/Parallel Out
  • 67. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 999/21/2020 Serial In/Parallel Out
  • 68. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1009/21/2020 Shift Register Counters 1. Ring Counter 2. Johnson Counter
  • 69. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1019/21/2020 Ring Counter
  • 70. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1029/21/2020 Ring Counter
  • 71. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1039/21/2020 Starting a Ring Counter
  • 72. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1049/21/2020 Decoding Ring Counter
  • 73. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1059/21/2020 Johnson Counter
  • 74. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1069/21/2020 Johnson Counter
  • 75. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1089/21/2020 Johnson Counter
  • 76. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1099/21/2020 Johnson Counter Clock # Q0 Q1 Q2 Q3 0 1 0 0 0 1 1 1 0 0 2 1 1 1 0 3 1 1 1 1 4 0 1 1 1 5 0 0 1 1 6 0 0 0 1 7 0 0 0 0 8 1 0 0 0
  • 77. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1109/21/2020 Johnson Counter 1000 0111 0001 1110 11000000 0011 1111
  • 78. Copyright  Muhammad A M Islam.SBE202A Counters and Registers 1119/21/2020 Decoding Johnson Counter