Heterogeneous Photonic Network-On-Chip With Dynamic Bandwidth Allocation