ContentsPrevious Chapter Next Chapter

4 Sequential Logic Circuits, State Machines

4.5 Registers


With the feedback lines the element of storage was added to the combinational circuits. In principle the resulting flip-flops represent storage units with a capacity of one bit.

Larger storage (memory) units can be realized using several flip-flops. In the most simple form the storage units built with a limited number of FFs is called a "register". Significant for these registers is that all registers involved are clocked synchronously (at the same time) using one unique clock signal.

Different types of registers can be implemented interconnecting the required number of FFs. The way the data inputs and outputs are used will determine the register type and function. With each clock signal information inside the registers will be moved bit-by-bit. Therefore the term shift register (abbr. SRG) is commonly used for this circuit type.


4.5.1 Shift Register Classification

Considering their functions the following shift registers can be distinguished:

Data Input
Data Output
Function
Example (8 Bit)

serial

serial

SISO


serial

parallel

SIPO


parallel

serial

PISO


parallel

parallel

PIPO


Figure 4.44: Shift Register Classes.


4.5.2 Shift Register Realization

For the implementation of shift registers all flip-flop types can in principle be used. Very often applied are especially the D and the JK flip-flops (the level as well as the edge sensitive ones).

Example:

Figure 4.45: Realization of a right-shifting register.

Complete shift registers need additional control inputs beyond those that have been introduced so far, p.ex.:

When the connection between the Q output of one stage and the D input of the following FF stage is done not directly but via a multiplexer, then the programming of different SRG types becomes possible:

Figure 4.46: Shift register implementation with multiplexer support.


The functions of the control inputs s0 and s1 are then defined as follows:

s1
s0
Function
0
0
without function
0
1
parallel Load
1
0
right shift
1
1
left shift

Table 4.12: Definition of the control inputs defined in Fig. 4.46.


Example:

Timing diagram and function table for the 4-Bit Shift Register shown in Fig. 4.45.

Requirements:

 

Figure 4.47: Timing Diagram (timing schedule)


Clock C1
DA
QA
QB
QC
QD
0
0
0
0
0
0
1
1
0
0
0
0
2
0
1
0
0
0
3
1
0
1
0
0
4
0
1
0
1
0
5
0
0
1
0
1
6
0
0
0
1
0
7
0
0
0
0
1
8
0
0
0
0
0

Table 4.13: Function Table

(The darker fields correspond to the dashed line in the timing diagram)

4.5.3 Shift Register Devices (Integrated Circuits - ICs)

Example of a modern SRG device:

Figure 4.48: Integrated SRG Device (74LS194).


Inputs
Outputs
Clear
Mode
Clock
Serial
Parallel
S1
S0
Left
Right
A
B
C
D
QA
QB
QC
QD
L
x
x
x
x
x
x
x
x
x
L
L
L
L
H
x
x
L
x
x
x
x
x
x
QA0
QB0
QC0
QD0
H
H
H
x
x
a
b
c
d
a
b
c
d
H
L
H
x
H
x
x
x
x
H
QAn
QBn
QCn
H
L
H
x
L
x
x
x
x
L
QAn
QBn
QCn
H
H
L
H
x
x
x
x
x
QBn
QCn
QDn
H
H
H
L
L
x
x
x
x
x
QBn
QCn
QDn
L
H
L
L
x
x
x
x
x
x
x
QA0
QB0
QC0
QD0

Figure 4.49: Function Table of the 74x194.


ContentsPrevious Chapter Next Chapter