Beruflich Dokumente
Kultur Dokumente
Roger L. Tokheim
Chapter 9
Shift Registers
INTRODUCTION
Overview of Shift Registers Characteristics of Shift Registers Serial/Parallel Data Conversion Serial Load Shift Register
Common tasks of shift registers: Serial/parallel data conversion UART (an example) Time delay Ring counter Twisted-ring counter or Johnson counter Memory device
2008 The McGraw-Hill Companies, Inc. All rights reserved.
Serial in
10 01 10 01 11 11 11 1 1 1 0 1 0 1 1 1 1
Parallel in
QUIZ
Q#1This represents a ___ register. Q#2This represents a ___ register. Q#3This represents a ___ register. Q#4- This represents a ___ register. a. Parallel-in, parallel-out a. Parallel-in, parallel-out a. Parallel-in, serial a. Parallel-in, serialout out b. Serial-in, parallel-out b. Serial-in, serial-out b. parallel-out b. Serial-in, Parallel-in, parallel-out
ANS: serial-in parallel-out ANS: serial-in serial-out ANS: parallel-in serial-out ANS: parallel-in parallel-out
Note the use of D FFs. Clock (CLK) inputs wired in parallel. Clear (CLR) inputs can be activated with LOW or disabled with HIGH. Preset (PS) inputs deactivated.
QUIZ
QUESTION #7 #2 #3 #4 #6 #5 QUESTION #1 What is the 4-bit output (bit A on left, D on right) after pulse 6? 1? 2? 3? 5? 4? This is a ___ type shift register. A. Serial-in, parallel out A: Serial-in, parallel-out A: 0100 1000 1100 0000 A: 0010 1001 B. Parallel-in, serial-out
Data Data = =1 1 0 0 Data Data = 1 Clock ClockPulse Pulse Pulse 2 4 3 Clock Clock Pulse 6 5 1 Clear Clear Clear = = =1 1 1 1 Clear 0
Recirculating lines: Pass data from Note the FFD to FFA recirculating on each lines. clock pulse.
Note the use of J-K FFs. Clock (CLK) inputs wired in parallel. Clear (CLR) input activated with LOW. Parallel load inputs (A,B,C,D) are active LOW.
2008 The McGraw-Hill Companies, Inc. All rights reserved.
QUIZ
Q#1After clock pulse 1, the output from the shift register Q#2After clock pulse 2, the output from the shift register Q#3After clock pulse 3, the output from the shift register Q#4After clock pulse 4, the output from the shift register will Q#5be ___. After clock pulse 5, the output from the shift register will Q#6be ___. After clock pulse 6, the output from the shift register will be ___. will be ___. will willbe be___. ___.
00 10 11 0 1 1 0 0 1 00 00 10 1 0 1 1 0 0
Parallel data inputs= Bnone and C active active
Clear input Serial data Rightactive input LOW used during Serial Load Right mode ofdata operation Parallel inputs
Order: A, B, C, D Serial Left input during data Parallel loading used during Serial Load Left mode of operation Clock input Mode Controls: L-to-H triggering Hold Parallel load Shift right Shift left 74194 Universal 4-bit Shift Register IC. Modes of operation: Hold, Parallel load, Shift right & Shift left. An active LOW Clear (CLR) input overrides all others.
2008 The McGraw-Hill Companies, Inc. All rights reserved.
X = Irrelevant
QUIZ
QUESTION QUESTION#3 #1 #2 #5 #6 #7 QUESTION #4- What is the mode of operation during and the output of the The What What 74194 is isthe the IC mode mode could of of be operation operation described during during as a 4-bit and andthe the (shift output output right, of of universal) the the shift register after pulse 3? shift shiftregister register. registerafter afterpulse pulse2? 1? 4? 5? 6?
? ? ? ?
0 CLR = 1 X Serial R = 0
1 0
1 0 1 0
0 1 1 0 1 0
1 0
QUIZ
Q#1The block at A in the digital roulette game Q#2Q#3- The Theblock blockat atB Cin inthe thedigital digitalroulette roulettegame game contains a(n) ___ circuit. contains containsa(n) a(n)___ ___circuit. circuit which is a type of 8-bit shift register. ANS: voltage-controlled oscillator (VCO) ANS: audio ANS: ringamplifier counter
C
2008 The McGraw-Hill Companies, Inc. All rights reserved.
Look for broken connections, signs of excessive heat Smell for overheating
Check power source
QUIZ
1. The most important factor in successful troubleshooting is a good knowledge of the circuits normal operation. (True or False) 2. The first three steps in troubleshooting are to use your senses to (1) __________ the top of the ICs for overheating, (2) look for broken connections, and (3) smell for signs of overheating. 3. The fourth step in troubleshooting is to use a(n) __________ (logic probe, tachometer) to check the power sources to the IC. 4. The fifth step in troubleshooting is to trace the path of logic through the circuit. (True or False)
True
feel
logic probe
True
REVIEW
Overview of Shift Registers Characteristics of Shift Registers Serial/Parallel Data Conversion Serial Load Shift Register