Research Article
Modeling and Performance Analysis of a Fault-Tolerant 3D Photonic Network-on-Chip Based on Hybrid Photonics–Plasmonics
Algorithm 1
Fault-tolerant routing algorithm.
| | Input: | | | , | | | Output: , SPP ST(x, y, z) | | | begin | | | for | | | | | | end for | | | if | | | Improvement_GA_route; | | | For | | | if | | | if | | | (y x z)_fault_route; | | | or (x − n) or (x + n) | | | (y x z)_fault_route; | | | or (y − n) or (y + n) | | | (x y z)_fault_route; | | | else | | | fault_route; | | | else | | | normal_route; | | | end else | | | end else | | | end if | | | end else if | | | end if | | | end for | | | return and and SPP ST(x, y, z); | | | end |
|