2.01M

Lecture-7

1.

Digital Logic Design
Lecture – 7:
Shift registers
Konakbayev Olzhas

2.

Lecture base
Digital Electronics: Principles & Applications, 9th edition by Roger
Tokheim & Patrick E. Hoppe:
• Chapter 9
2

3.

Introduction
• Overview of Shift Registers
• Characteristics of Shift Registers
• Serial/Parallel Data Conversion
• Serial Load Shift Register
• Parallel Load Shift Register
• Recirculating Shift Register
• A Universal Shift Register
3

4.

Overview of Shift Registers 1
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.
4

5.

Overview of Shift Registers 2
Common tasks of shift registers:
• Serial/parallel data conversion
• UART = Universal Asynchr. Receiver/transmitter (an
example)
• Time delay
• Ring counter
(https://en.wikipedia.org/wiki/Ring_counter)
• Twisted-ring counter or Johnson counter
(https://en.wikipedia.org/wiki/Ring_counter)
• Memory device
5
5

6.

Characteristics of Shift Registers 1
• Number of bits (4-bit, 8-bit, etc.)
• Loading
• Serial
• Parallel
6

7.

Characteristics of Shift Registers 2
• Common modes of operation
• Parallel load
• Shift right-serial load
• Shift left-serial load
• Hold
• Clear
7

8.

Serial/Parallel Data Conversion
Shift registers can be used to convert from serial-toparallel or the reverse from parallel-to-serial.
8

9.

Serial Load Shift Register
9

10.

Parallel Load Shift Register
• Serial-load shift registers permit only one bit of data to
be entered at a time.
• Serial-load shift registers lose the data out the right
side as it shifts right.
• Parallel-load shift registers permit all four bits of data
to be entered at a time.
• Parallel-load shift registers can incorporate a
recirculating feature that brings the output data back
into the input so they are not lost.
10

11.

Recirculating Shift Register 1
11

12.

Recirculating Shift Register 2
12

13.

A Universal Shift Register 1
Semiconductor manufacturers produce shift registers in
IC form. An example is the 74LS194 4-bit bidirectional
universal shift register.
• Shift right
• Shift left
• Serial load
• Parallel load
13

14.

A Universal Shift Register 2
Serial-load shift-right reg.
Serial-load shift-left reg.
14

15.

A Universal Shift Register 3
Parallel-load shift-right/left register
15

16.

Review 1
What type of shift register is shown below?
16

17.

Review 2
What type of shift register is shown below?
Serial in-serial out
17

18.

Review 3
What type of shift register is shown below?
18

19.

Review 4
What type of shift register is shown below?
Serial in-parallel out
19

20.

Review 5
What type of shift register is shown below?
20

21.

Review 6
What type of shift register is shown below?
Parallel in-serial out
21

22.

Review 7
What type of shift register is shown below?
22

23.

Review 8
What type of shift register is shown below?
Parallel in-parallel out
23

24.

Review 9
List the Common modes of operation of a shift register
24

25.

Review 10
List the Common modes of operation of a shift register
• Parallel load
• Shift right-serial load
• Shift left-serial load
• Hold
• Clear
25

26.

Review 11
• ___________ shift registers permit only one bit of
data to be entered at a time.
• ___________ shift registers lose the data out the right
side as it shifts right.
26

27.

Review 12
• Serial-load shift registers permit only one bit of data to
be entered at a time.
• Serial-load shift registers lose the data out the right
side as it shifts right.
27

28.

Review 13
• ____________ shift registers permit all four bits of
data to be entered at a time.
• ____________ shift registers can incorporate a
recirculating feature that brings the output data back
into the input so they are not lost.
28

29.

Review 14
• Parallel-load shift registers permit all four bits of data
to be entered at a time.
• Parallel-load shift registers can incorporate a
recirculating feature that brings the output data back
into the input so they are not lost.
29

30.

Thank you!
30
English     Русский Правила