Professional Documents
Culture Documents
Fundamentals of Electronics 24
Fundamentals of Electronics 24
Fundamentals of Electronics 24
PH Wang
Fundamentals of Electronics II
基礎電學2
2023 Spring
Section 24
Instructor: Assistant Professor Pei-Hsun Wang
王培勳 助理教授
Department of Optics and Photonics
10
00 01 11
Shift Registers
• A group of flip-flops can store a set of binary number. This
number can be shifted left or right when a shift signal is
applied.
Shift Registers
Shift Registers
Keep
Shift
Load
Fundamentals of Logic Design, 7th
Edition, Roth/Kinney 8
Shift Registers
Tc TB TA
DB = B ⊕ A DA = A’
DC=C’AB+CA’+CB’
= C ⊕ AB
13
Up-down Counter
• U=D=1 is not allowed.
U=1 D=1
14
Up-down Counter
DC = C ⊕ (UAB+DB’A’) DB = B ⊕ (UA+DA’) DA = A ⊕(U+D)
Loadable Counter
• When Ld=1, the binary data is loaded into the counter on the
rising clock edge.
17
C B A C+ B+ A+ TC TB TA
0 0 0 1 0 0 1 0 0
0 0 1 - - - - - -
0 1 0 0 1 1 0 0 1
0 1 1 0 0 0 0 1 1
1 0 0 1 1 1 0 1 1
1 0 1 - - - - - -
1 1 0 - - - - - -
1 1 1 0 1 0 1 0 1
• Timing scheme: