Theoretical investigation of phase-based all-optical NOT, XOR and XNOR logic gates based on AlGaAs microring resonators