Presentation is loading. Please wait.

Presentation is loading. Please wait.

Shift Registers pp. 353-356. 2 Shift Registers Capability to shift bits ♦ In one or both directions Why? ♦ Part of standard CPU instruction set ♦ Cheap.

Similar presentations


Presentation on theme: "Shift Registers pp. 353-356. 2 Shift Registers Capability to shift bits ♦ In one or both directions Why? ♦ Part of standard CPU instruction set ♦ Cheap."— Presentation transcript:

1 Shift Registers pp. 353-356

2 2 Shift Registers Capability to shift bits ♦ In one or both directions Why? ♦ Part of standard CPU instruction set ♦ Cheap multiplication ♦ Serial communications Just a chain of flip-flops

3 3 Simple 4-Bit Shift Register In the simplest case, the shift register is simply a set of D flip-flops connected in a row like this: Shift Registers move data laterally within the register toward its MSB (Most Significant Bit), or LSB (Least Significant Bit) position

4 4 Simple 4-Bit Shift Register (continued) Data input, In, is called a serial input or the shift right input. Data output, Out, is often called the serial output.

5 5 Simple 4-Bit Shift Register (continued) Clocked in common The vector (A, B, C, Out) is called the parallel output.

6 6 Symbol

7 7 Shift Register with Parallel Load Can provide parallel outputs from flip-flops And also parallel inputs

8 8 Shift Register with Parallel Load (continued) Shift Parallel load “no change” Schematic next

9 9 Fig. 7-10 Shift Register with Parallel Load --------------------------------------------- ------------------------------------ Function Table

10 10 Why is this useful? Basis for serial communications ♦ Keyboard ♦ Serial port Now mainly for modems

11 11 Bidirectional Shift Register Shift either way Now we have following possible inputs ♦ Parallel load ♦ Shift from left ♦ Shift from right ♦ Also “no change” Schematic next

12 12 Schematic

13  Shift registers can also be designed to shift more than a single bit position right or left  Shift register can be designed to shift a variable number of bit positions specified by a variable called a shift amount. Shift Registers with Additional Functions


Download ppt "Shift Registers pp. 353-356. 2 Shift Registers Capability to shift bits ♦ In one or both directions Why? ♦ Part of standard CPU instruction set ♦ Cheap."

Similar presentations


Ads by Google