Abstract-A 7-chip, 160-Gchip/s phase-shift keyed code is assigned to short pulses after reflection from a superstructured fiber Bragg grating. The code is then recognized by a second grating, which is nominally identical to the encoder grating. Such an encoding/decoding action is required in code-division multiple-access systems and packet-switched networks.