Enabling circuit-switching in modern on-chip networks