10-Gb/s time-spread/wavelength-hop optical code generation and decoding were performed by group delay compensating fiber Bragg grating (FBG) en/decoder pair. A 10-km single-mode fiber (SMF) transmission of 10-Gb/s optical code division multiplexing (OCDM) was experimentally demonstrated. Index Terms-Optical code division multiple access (CDMA), optical fiber communications, optical fiber devices, optical networks.