The role of Arrayed Waveguide Gratings in energy-efficient optical switching architectures