Understanding Shift Registers and Counters in Digital Electronics
60 likes | 204 Views
This lecture by Professor CK Cheng delves into the fundamentals of shift registers, both synchronous and asynchronous counters, and flip-flops. It covers essential concepts such as asynchronous clear, inputs, outputs, and timing parameters including setup times and hold times. Additionally, the lecture illustrates the operation of 3-bit shift registers and counters with example timing diagrams, enhancing comprehension of digital circuit behaviors. Ideal for students and enthusiasts looking to reinforce their knowledge in digital electronics.
Understanding Shift Registers and Counters in Digital Electronics
E N D
Presentation Transcript
CS 140L Lecture 4 Professor CK Cheng 10/22/02
F-F • Shift register • Counter (Asynchronous) • Counter (Synchronous)
Flip flop D FDCE Asynchronous Clear Q Inputs Output CE C CLR CE D C Q 1 X X X 0 0 0 X X No change 0 1 1 1 0 1 0 0 CLR Clock Enable CLK = 1 CLK = 0
Q D CLK CLK tsetup thold t D t Q t tcq
2) 3 bit shift register B D C A Q Q Q D D D CLK Time Steps A B C D • 0 0 X X X • 1 0 X X • 2 0 1 0 X • 1 0 1 0 • 1 1 0 1 • 0 1 1 0 • 0 0 1 1 • 1 0 0 0
3 bit counter (asynchronous) A B C Q Q Q 1 1 T T 1 T CLK Assume A(0) = B(0) = C(0) = 0 Time C B A • 0 0 0 0 0 • 1 1 1 7 • 2 1 1 0 6 • 1 0 1 5 • 1 0 0 4 • 0 1 1 3 • 0 1 0 2 • 0 0 1 1 CLK t A 1 0 1 0 t B 1 1 0 0 t C 1 1 1 1 t 7 6 5 4