Optical switches for high performance on-chip communication in multi-core processors architecture