Optical Coding Schemes 79
termined by which input port i is injected with a broadband optical pulse, where i and
j ∈ [1, M].Forexample,consideran8×8AWGdevice.Assumethattheexitwave-
lengths at the output ports j = {1,2, 3,4,5,6, 7,8} are {
λ
1
,
λ
2
,
λ
3
,
λ
4
,
λ
5
,
λ
6
,
λ
7
,
λ
8
},
respectively, when input port i = 1isinjectedwithanopticalpulse.Then,theexit
wavelengths at the output ports j = {1,2,3,4, 5,6,7, 8}are rotated once and become
{
λ
2
,
λ
3
,
λ
4
,
λ
5
,
λ
6
,
λ
7
,
λ
8
,
λ
1
},respectively,wheninputporti = 2receivestheoptical
pulse. Table 2.3 tabulates the wavelength at each output portofthis8×8AWGde-
vice as a function of which input port (or row) is applied with abroadbandoptical
pulse. By turning the optical router to the desired input portandtappingintotheap-
propriate output ports, the spectral components of an optical pu lse can be separ ated
and rotated rapidly.
TABLE 2.4
Transmission Wavelengths of Spectral-Amplitude Code BasedontheMaximal-
Length Sequences of Length 7 and Walsh Code of Length 8
Maximal-Length Sequences Wavelength Usage
C
1
(+1,+1,+1,−1,−1,+1,−1)
λ
1
λ
2
λ
3
λ
6
C
2
(−1,+ 1, +1,+1,−1,−1,+1)
λ
2
λ
3
λ
4
λ
7
C
3
(+1,−1,+1,+1,+1,−1,−1)
λ
1
λ
3
λ
4
λ
5
C
4
(−1 + 1,−1,+1,+1,+1,−1)
λ
2
λ
4
λ
5
λ
6
C
5
(−1,− 1, +1,−1,+1,+1,+1)
λ
3
λ
5
λ
6
λ
7
C
6
(+1,−1,−1,+1,−1,+1,+1)
λ
1
λ
4
λ
6
λ
7
C
7
(+1,+1,−1,−1,+1,−1,+1)
λ
1
λ
2
λ
5
λ
7
Walsh Codes Wavelengths Usage
C
1
(+1,−1,+1,−1,+1,−1,+1,−1)
λ
1
λ
3
λ
5
λ
7
C
2
(+1,+1,−1,−1,+1,+1,−1,−1)
λ
1
λ
2
λ
5
λ
6
C
3
(+1,−1,−1,+1,+1,−1,−1,+1)
λ
1
λ
4
λ
5
λ
8
C
4
(+1,+1,+1,+1,−1,−1,−1,−1)
λ
1
λ
2
λ
3
λ
4
C
5
(+1,−1,+1,−1,−1,+1,−1,+1)
λ
1
λ
3
λ
6
λ
8
C
6
(+1,+1,−1,−1,−1,−1,+1,+1)
λ
1
λ
2
λ
7
λ
8
C
7
(+1,−1,−1,+1,−1,+1,+1,−1)
λ
1
λ
4
λ
6
λ
7
To generate 1-D spectral-amplitude codes based on the maximal-length sequence
(+1,+1,+1,−1 , −1,+1, −1) of length 7, the encoder is configured with M = 7,
all delay-lines being set to give zero time-delay, and th e phase modulators giving
zero ph ase shift. In this configur ation, every “+1” element in the maximal-length
sequence is transmitted with a wavelength that is determinedbythe“+1” element’s
position. The “−1” elements are not transmitted, which is done by turning off the
intensity modulators along the corresponding wavelength path. So, the resulting
spectral-amplitude codeword C
1
contains
λ
1
λ
2
λ
3
λ
6
.Thereexisttotally7orthogonal