The system designed in project SAC OCDMA.osd is a spectral-amplitude- coding OCDMA. It has three users, where in this setup two users are transmitting data, while one user is off. The FBGs in the system are working as encoders/decoders for the incoherent optical signal. Here is the link for the same you may find it useful for your case.
The above design illustrates a 3-user spectral-amplitude-coded OCDMA with two users transmitting data and the other user offline. The FBGs in the system are working as encoders/decoders for the incoherent optical signal.In an SAC-OCDMA system based on FBGs, each user has bits of information that are modulating the broadband incoherent optical carrier to fulfill the E/O conversion (OOK modulation format). A series of FBGs are introduced to control the amplitude spectra of the broadband incoherent optical signals.
I hope this will help you.