A diagonal permutation shift (DPS) code can be constructed using both prime codes and some matrix operations. In addition, it can be easily implemented as it exists for prime numbers P, which limits the addressing probability of codes to P2. Fiber Bragg gratings (FBGs) are used for code ...