INTRODUCTION Overview of Shift Registers

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.
Registers and Counters
//HDL Example 6-1 // //Behavioral description of //Universal shift register // Fig. 6-7 and Table 6-3 module shftreg.
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Shift Register Application Chapter 22 Subject: Digital System Year: 2009.
4bit Parallel to Serial Data Stream Converter By Ronne Abat Johnny Liu.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Shift Registers and Shift Register Counters
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
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.
A.Abhari CPS2131 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers:
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Sequential logic and systems
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Registers and Counters
1 Shift Registers. –Definitions –I/O Types: serial, parallel, combinations –Direction: left, right, bidirectional –Applications –VHDL implementations.
Registers and Counters
Principles & Applications
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Sequential Logic Circuit
Sequential logic circuits
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’
REGISTER TRANSFER LANGUAGE (RTL) INTRODUCTION TO REGISTER Registers1.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
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 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
Principles & Applications
EET 1131 Unit 12 Shift Registers
REGISTER TRANSFER LANGUAGE (RTL)
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Flip-Flops and Related Devices
Electronics Technology
Digital Fundamentals Abdul Hameed
Prof. Hsien-Hsin Sean Lee
Sequential Logic Counters and Registers
Principles & Applications
3.2 Shift Register Basic shift register function
D Flip-Flop.
Flip-FLops and Latches
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.
Flip-FLops and Latches
EET 1131 Unit 12 Shift Registers
Flip-FLops and Latches
COE 202: Digital Logic Design Sequential Circuits Part 4
Flip-FLops and Latches
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
ECE 3130 – Digital Electronics and Design
SYEN 3330 Digital Systems Chapter 7 – Part 1 SYEN 3330 Digital Systems.
Principles & Applications
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.
Registers and Counters
Reference Chapter 7 Moris Mano 4th Edition
Week 11 Flip flop & Latches.
FLIP-FLOP. The basic memory circuit is known as Flip-flop. OR It is a bistable sequential circuit which has two stable state (set & reset) and can be.
Presentation transcript:

INTRODUCTION Overview of Shift Registers Characteristics of Shift Registers Serial/Parallel Data Conversion Serial Load Shift Register Parallel Load Shift Register Recirculating Shift Register

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 Parallel/Serial Data Conversion As a memory device

Characteristics of Shift Registers Number of bits (4-bit, 8-bit, etc.) Loading Serial Parallel Common modes of operation. Parallel load Shift right-serial load Shift left-serial load

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

ECE 301 - Digital Electronics

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