Scheduling in multi-wavelength ring-based optical networks-on-chip