In this paper, a simulation and general analysis of nonlinear microring resonators (MRRs) as all-optical switches are discussed in a flower-like structure. These MRRs are modulated through an optical pump beam, which receives temporal shift of MRRs’ resonance wavelengths. These shifts are a result of the refractive index changing due to carrier injection. A green laser is used as the optical pump to shift the resonant wavelength of each MRR. This proposed structure can operate as all-optical logic gates. Of those innovations are reconfigurable structure to achieve various gates, integrating capability, and a high extinction ratio between zero and one logical levels. This configuration would be useful to design optical integrated circuits.