CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
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