Tapless and topology agnostic calibration solution for silicon photonic switches