Abstract: An optical code division multiplexing signal generator provided with an optical pulse light source, a first encoder to an Nth encoder, a first optical modulator to an Nth optical modulator, and a first optical circulator to an Nth optical circulator. The first optical circulator inputs an input optical pulse train to a first encoder, and inputs a first encoded optical pulse train output by Bragg reflection from the first encoder to the first optical modulator. The kth optical circulator inputs an input (k?1)th optical pulse train which has passed through the (k?1)th encoder to a kth encoder, and inputs a kth encoded optical pulse train output by Bragg reflection from the kth encoder to the kth optical modulator. Herein k takes all integers from 2 to N, and N is a positive integer of 2 or more.