Principles & Applications

Slides:



Advertisements
Similar presentations
Principles & Applications
Advertisements

Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
D Flip-Flop.
Chapter 13 Shift Registers
Registers and Counters
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Shift Register Application Chapter 22 Subject: Digital System Year: 2009.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Shift Registers and Shift Register Counters
EET 1131 Unit 12 Shift Registers
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
Sequential Circuit Introduction to Counter
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
Digital Fundamentals Floyd Chapter 9 Tenth Edition
Electronics Technology
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Registers and Counters
Chapter 1_4 Part II Counters
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 10 Arithmetic Circuits.
1 Shift Registers. –Definitions –I/O Types: serial, parallel, combinations –Direction: left, right, bidirectional –Applications –VHDL implementations.
Registers and Counters
Principles & Applications
Principles & Applications
Electronics Technology
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
Introduction to Chapter 7
Sequential logic circuits
Last Mod: Jan 2015  Paul R. Godin Shift Registers : Technician Series Registers 1.1.
Digital Electronics Electronics Technology Landon Johnson Shift Registers.
Digital Fundamentals Tenth Edition Floyd Chapter 9.
D Flip Flop. Also called: Delay FF Data FF D-type Latches ‘Delayed 1 Clock Pulse’
Modular sequential logic Use latches, flip-flops and combinational logic –Flip-flops usually grouped to form a register Shift registers –n bits {x n …x.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Shift Register Counters
Digital Design: Sequential Logic Blocks
EET 1131 Unit 12 Shift Registers
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Flip-Flops and Related Devices
Electronics Technology
Digital Fundamentals Abdul Hameed
Sequential Logic Counters and Registers
Principles & Applications
Principles & Applications
Principles & Applications
INTRODUCTION Overview of Shift Registers
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Principles & Applications
3.2 Shift Register Basic shift register function
D Flip-Flop.
Introduction to Sequential Logic Design
Shift Registers.
DIGITAL ELECTRONICS THEME 7: Register structures – with parallel input, with serial input. Shift registers – reversible, cycle. Register structures are.
EET 1131 Unit 12 Shift Registers
Flip-Flop Applications
Flip-Flop Applications
COE 202: Digital Logic Design Sequential Circuits Part 4
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
SYEN 3330 Digital Systems Chapter 7 – Part 1 SYEN 3330 Digital Systems.
Principles & Applications
CHAPTER 4 COUNTER.
CHAPTER 4 SHIFT REGISTER
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
14 Digital Systems.
Reference Chapter 7 Moris Mano 4th Edition
Week 11 Flip flop & Latches.
Presentation transcript:

Principles & Applications Digital Electronics Principles & Applications Seventh Edition Roger L. Tokheim Chapter 9 Shift Registers ©2008 The McGraw-Hill Companies, Inc. All rights reserved.

INTRODUCTION Overview of Shift Registers Characteristics of Shift Registers Serial/Parallel Data Conversion Serial Load Shift Register Parallel Load Shift Register Recirculating Shift Register Using the 74194 Shift Register IC Digital Roulette Game Troubleshooting Hints

Overview of Shift Registers A shift register is a sequential logic device made up of flip-flops that allows parallel or serial loading and serial or parallel outputs as well as shifting bit by bit. Common tasks of shift registers: Serial/parallel data conversion UART (an example) Time delay Ring counter Twisted-ring counter or Johnson counter Memory device

Characteristics of Shift Registers Number of bits (4-bit, 8-bit, etc.) Loading Serial Parallel (asynchronous or synchronous) Common modes of operation. Parallel load Shift right-serial load Shift left-serial load Hold Clear Recirculating or non-recirculating

Serial/Parallel Data Conversion Shift registers can be used to convert from serial-to-parallel or the reverse from parallel-to-serial. 1 0 1 0 1 1 1 1 Parallel in Parallel out 1 0 1 0 1 1 1 1 Serial in Parallel out 1 0 1 0 1 1 1 1 Serial out Parallel in 1 0 1 0 1 1 1 1 Serial in Serial out

QUIZ Q#1- This represents a ___ register. a. Parallel-in, parallel-out b. Serial-in, parallel-out Q#2- This represents a ___ register. a. Parallel-in, parallel-out b. Serial-in, serial-out Q#3- This represents a ___ register. a. Parallel-in, serial out b. Serial-in, parallel-out Q#4- This represents a ___ register. a. Parallel-in, serial out b. Parallel-in, parallel-out ANS: serial-in parallel-out ANS: serial-in serial-out ANS: parallel-in serial-out ANS: parallel-in parallel-out

Serial Load Shift Register Parallel outputs here. Order= A B C D 1 1 0 0 0 0 1 1 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 Clock Pulse 6 Clear = 1 Data = 0 Clock Pulse 7 Clear = 1 Data = 1 Clock Pulse 8 Clear = 1 Data = 0 Clock Pulse 2 Clear = 1 Data = 1 Clock Pulse 5 Clear = 1 Data = 0 Clock Pulse 1 Clear = 0 Data = 1 Clock Pulse 4 Clear = 1 Data = 0 Clock Pulse 3 Clear = 1 Data = 1 Inputs here: (1) Data (2) Clock (3) Clear 4-bit serial-in parallel out shift right shift register Clock input: Positive-edge triggering Clear input: Active = 0 Deactivated = 1 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 A: Serial-in, parallel-out A: 1001 A: 0010 A: 0100 A: 1100 QUESTION #5 What is the 4-bit output (bit A on left, D on right) after pulse 4? QUESTION #2 What is the 4-bit output (bit A on left, D on right) after pulse 1? QUESTION #1 This is a ___ type shift register. A. Serial-in, parallel out B. Parallel-in, serial-out QUESTION #7 What is the 4-bit output (bit A on left, D on right) after pulse 6? QUESTION #4 What is the 4-bit output (bit A on left, D on right) after pulse 3? QUESTION #6 What is the 4-bit output (bit A on left, D on right) after pulse 5? QUESTION #3 What is the 4-bit output (bit A on left, D on right) after pulse 2? A: Serial-in, parallel-out A: 1001 A: 0010 A: 0100 A: 1100 A: 1000 A: 0000 Clock Pulse 6 Clear = 1 Data = 1 Clock Pulse 4 Clear = 1 Data = 0 Clock Pulse 5 Clear = 1 Data = 1 Clock Pulse 1 Clear = 0 Data = 1 Clock Pulse 2 Clear = 1 Data = 1 Clock Pulse 3 Clear = 1 Data = 0

Parallel Load Shift Register Outputs here. Order= A B C D Parallel data inputs (Active LOW) Recirculating lines: Pass data from FFD to FFA on each clock pulse. Clock input- H-to-L Note the recirculating lines. Clear input- Active LOW 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.

Recirculating Shift Register 0 1 1 0 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 Clock pulse 8 Clear input= 1 Parallel data inputs= only B active Clock pulse 7 Clear input= 0 Parallel data inputs= all inactive Clock pulse 1 Clear input= 0 Parallel data inputs= only D activated Clock pulse 6 Clear input= 1 Parallel data inputs= all inactive Clock pulse 3 Clear input= 1 Parallel data inputs= all inactive Clock pulse 5 Clear input= 1 Parallel data inputs= all inactive Clock pulse 2 Clear input= 1 Parallel data inputs= C & D activated Clock pulse 4 Clear input= 1 Parallel data inputs= all inactive

QUIZ Q#1- After clock pulse 1, the output from the shift register will be ___. Q#2- After clock pulse 2, the output from the shift register will be ___. Q#3- After clock pulse 3, the output from the shift register will be ___. Q#4- After clock pulse 4, the output from the shift register will be ___. Q#5- After clock pulse 5, the output from the shift register will be ___. Q#6- After clock pulse 6, the output from the shift register will be ___. 0 1 1 0 1 1 0 0 1 0 0 1 0 0 1 1 0 1 1 0 0 0 0 0 Clock pulse 6 Clear input= 1 Parallel data inputs= none active Clock pulse 1 Clear input= 0 Parallel data inputs= none active Clock pulse 5 Clear input= 1 Parallel data inputs= none active Clock pulse 3 Clear input= 1 Parallel data inputs= none active Clock pulse 4 Clear input= 1 Parallel data inputs= none active Clock pulse 2 Clear input= 1 Parallel data inputs= B and C active

Universal Shift Register IC Outputs here Clear input active LOW Serial data Right input used during Serial Load Right mode of operation Parallel data inputs Order: A, B, C, D during Parallel loading Serial data Left input used during Serial Load Left mode of operation Clock input L-to-H triggering Mode Controls: 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.

Using the 74194 Shift Register IC 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 1 0 0 1 1 0 1 0 0 1 CLR = 1 Serial R = X Parallel Load= 0 1 0 0 Serial L = X Clock pulse 6 (L-to-H) S0= 1 S1= 1 CLR = 1 Serial R = X Parallel Load= 0 1 0 0 Serial L = 1 Clock pulse 7 (L-to-H) S0= 0 S1= 1 CLR = 1 Serial R = X Parallel Load= 0 1 0 0 Serial L = 0 Clock pulse 8 (L-to-H) S0= 0 S1= 1 CLR = 1 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 4 (L-to-H) S0= 0 S1= 0 CLR = 1 Serial R = X Parallel Load= 0 1 1 0 Serial L = X Clock pulse 1 (L-to-H) S0= 1 S1= 1 CLR = 0 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 5 (L-to-H) S0= 1 S1= 1 CLR = 1 Serial R = 0 Parallel Load= 0 1 1 0 Serial L = X Clock pulse 2 (L-to-H) S0= 1 S1= 0 CLR = 1 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 3 (L-to-H) S0= 1 S1= 0 X = Irrelevant

QUIZ ? ? ? ? A: Universal A: Clear, 0 0 0 0 A: Parallel load, 0 1 0 0 QUESTION #1 The 74194 IC could be described as a 4-bit (shift right, universal) shift register. QUESTION #3 What is the mode of operation during and the output of the shift register after pulse 2? QUESTION #2 What is the mode of operation during and the output of the shift register after pulse 1? QUESTION #4- What is the mode of operation during and the output of the shift register after pulse 3? QUESTION #5 What is the mode of operation during and the output of the shift register after pulse 4? QUESTION #7 What is the mode of operation during and the output of the shift register after pulse 6? QUESTION #6 What is the mode of operation during and the output of the shift register after pulse 5? A: Universal A: Clear, 0 0 0 0 A: Parallel load, 0 1 0 0 A: Shift right, 0 0 1 0 A: Shift left, 0 1 0 1 A: Hold, 0 0 1 0 A: Shift left, 1 0 1 1 ? ? ? ? CLR = 1 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 2 (L-to-H) S0= 1 S1= 1 CLR = 1 Serial R = X Parallel Load= 0 1 0 0 Serial L = 1 Clock pulse 6 (L-to-H) S0= 0 S1= 1 CLR = 1 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 4 (L-to-H) S0= 0 S1= 0 CLR = 1 Serial R = X Parallel Load= 0 1 0 0 Serial L = 1 Clock pulse 5 (L-to-H) S0= 0 S1= 1 CLR = 0 Serial R = X Parallel Load= 0 1 0 0 Serial L = X Clock pulse 1 (L-to-H) S0= 1 S1= 1 CLR = 1 Serial R = 0 Parallel Load= 0 1 0 0 Serial L = X Clock pulse 3 (L-to-H) S0= 1 S1= 0

Digital Roulette Game 1 1 1 1 1 Spin Wheel 1 input 1 1 +5V Audio Amplifier 1 1 1 1 1 1 1 1 Power-up Initializing Circuit Spin Wheel input +5V Voltage Controlled Oscillator (VCO) 8-bit Ring Counter (shift register) Simulated Roulette Display

ANS: voltage-controlled oscillator (VCO) QUIZ Q#1- The block at A in the digital roulette game contains a(n) ___ circuit. Q#2- The block at B in the digital roulette game contains a(n) ___ circuit. Q#3- The block at C in the digital roulette game contains a(n) ___ circuit which is a type of 8-bit shift register. ANS: voltage-controlled oscillator (VCO) ANS: audio amplifier ANS: ring counter B C A

Simple Troubleshooting Hints Feel top of IC to determine if it is hot Look for broken connections, signs of excessive heat Smell for overheating Check power source Trace path of logic through circuit Know the normal operation of the circuit

QUIZ The most important factor in successful troubleshooting is a good knowledge of the circuit’s normal operation. (True or False) True 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. feel 3. The fourth step in troubleshooting is to use a(n) __________ (logic probe, tachometer) to check the power sources to the IC. logic probe 4. The fifth step in troubleshooting is to trace the path of logic through the circuit. (True or False) True

REVIEW Overview of Shift Registers Characteristics of Shift Registers Serial/Parallel Data Conversion Serial Load Shift Register Parallel Load Shift Register Recirculating Shift Register Using the 74194 Shift Register IC Digital Roulette Game Troubleshooting Hints