Fast scheduling based on iterative parallel wavelength matching for a multi-wavelength ring network-on-chip