2.2.
SPREADING SEQUENCES AND WAVEFORMS
65
If
a
linear feedback shift register reached the zero state with all its contents
equal to 0 at some time, it would always remain in the zero state, and the
output sequence would subsequently be all 0’s. Since a linear feed-
back shift register has exactly nonzero states, the period of its output
sequence cannot exceed A sequence of period generated by a
linear feedback shift register is called a maximal or maximal-length sequence.
If a linear feedback shift register generates a maximal sequence, then all of its
nonzero output sequences are maximal, regardless of the initial states.
Out of possible states, the content of the last stage, which is the same
as the output bit, is a 0 in states. Among the nonzero states, the output
bit is a 0 in states. Therefore, in one period of a maximal sequence,
the number of 0’s is exactly while the number of 1’s is exactly
Given the binary sequence
a
, let denote a shifted binary
sequence. If a is
a
maximal sequence and modulo then
is not the sequence of all 0’s. Since is generated by the same shift
register as
a
, it must be a maximal sequence and, hence, some cyclic shift of
a
.
We conclude that the modulo-2 sum of a maximal sequence and a cyclic shift
of itself by digits, where modulo produces another cyclic shift
of the original sequence; that is,
In contrast, a non-maximal linear sequence is not necessarily a
cyclic shift of
a
and may not even have the same period. As an example,
consider the linear feedback shift register depicted in Figure 2.8. The pos-
sible state transitions depend on the initial state. Thus, if the initial state
is 0 1 0, then the second state diagram indicates that there are two possible
states, and, hence, the output sequence has a period of two. The output se-
quence is a = (0,1,0,1,0,1,...), which implies that a(1) = (1,0,1,0,1,0,...)
and this result indicates that there is no value of
for which (2-31) is satisfied.
Periodic Autocorrelations
A binary sequence
a
with components can be mapped into a
binary antipodal sequence
p
with components by means of the
transformation
or, alternatively, The periodic autocorrelation of a periodic binary
sequence
a
with period
N
is defined as
Substitution of (2-32) into (2-33) yields