0% found this document useful (0 votes)
6 views24 pages

Understanding Digital Registers and Shift Operations

The document discusses registers in digital logic, explaining that a flip-flop stores 1-bit of information and multiple flip-flops form a register. It details various types of shift registers and their operations, including serial and parallel input/output configurations. Additionally, it outlines applications of shift registers such as time delay, data conversion, and sequence generation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views24 pages

Understanding Digital Registers and Shift Operations

The document discusses registers in digital logic, explaining that a flip-flop stores 1-bit of information and multiple flip-flops form a register. It details various types of shift registers and their operations, including serial and parallel input/output configurations. Additionally, it outlines applications of shift registers such as time delay, data conversion, and sequence generation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Digital Logic

1
CHAPTER 7

Registers

2
Registers
❑A flip-flop can store 1-bit of digital information. It is also
referred to as a 1-bit register.
❑A register contains a group of flip-flops, the number of flip-
flops in a register being equal to the number of bits present
in the data.
❑Flip-flops are connected in such a way that binary number
can be entered into the register and retrieved from the
same.
❑A register capable of shifting its binary information either to
the right or to the left is called a “Shift register”.
❑A register can be designed using SR or JK as D type FF.
3
Basic Shift Register Operations

Data in Data out


Data out Data in

(a) Serial in/shift right/serial out (b) Serial in/shift left/serial out

Data in
Data in Data in

Data out
Data out
(c) Parallel in/serial out (d) Serial in/parallel out Data out
(e) Parallel in /
parallel out

(f) Rotate right (g) Rotate left


4
Types of Registers

5
Serial In Serial Out (SISO)

6
7
Serial In/Parallel Out (SIPO)

8
4-bit serial in/parallel out

9
8-bit serial in/parallel out

10
8-bit serial
in/parallel out

11
Parallel In/Serial Out (PISO)

12
Parallel In/Serial Out (PISO)

13
Parallel In/Parallel Out (PIPO)

14
Parallel In/Parallel Out (PIPO)

15
Bidirectional Shift Register

16
Shift Register Applications

❑Time delay
❑Serial to parallel data converter
❑Circulating register or Ring counter
❑Switched -tail/ Twisted –tail/ Johnson counter
❑Sequence generator & detector
❑Serial adder

17
Time delay
Shift registers can be used to delay a digital signal
by a predetermined amount.

A SRG 8 Q7
Data in Data out
B
CLK Q7
C
40 MHz

CLK

Data in

Data out
td

18
Ring Counter
FF0

FF0 FF1 FF2 FF3 J0 Q0


Q3
D0 Q0 D1 Q1 D2 Q2 D3 Q3 C

C C C C K0 Q0

Q3
Q3
CLK

Q3

Q3

K1

J1
C
FF3

FF1
C

Q1

Q1
3

K3
J
FF0 FF1 FF2 FF3
Q3
J0 Q0 J1 Q1 J2 Q2 J3 Q3
Q2 K2
C C C C
C
Q3
K0 Q0 K1 Q1 K2 Q2 K3 Q3
Q2 2 J

CLK 2 FF

19
Ring Counter
A common pattern for a ring counter is to load it with a single 1
or a single 0. The waveforms shown here are for an 8-bit ring
counter with a single 1.
CLK 1 2 3 4 5 6 7 8 9 10

Q0

Q1

Q2

Q3

Q4

Q5

Q6

Q7
20
Switched -tail/ Twisted –tail/ Johnson counter

FF0

FF0 FF1 FF2 FF3 J0 Q0

D0 Q0 D1 Q1 D2 Q2 D3 Q3 C

C C C C K0 Q0

Q3 Q3

Q3
Q3
CLK

Q3

Q3

K1

J1
C
FF3

FF1
C

Q1

Q1
J3

K3
FF0 FF1 FF2 FF3
Q3
J0 Q0 J1 Q1 J2 Q2 J3 Q3
Q2 K2
C C C C
C
Q3
K0 Q0 K1 Q1 K2 Q2 K3 Q3
Q2 2 J

CLK 2 FF

21
Switched -tail/ Twisted –tail/ Johnson counter

22
Sequence generator & detector

Serial data out

23
Serial adder

Serial in

CLK

24

You might also like