Resource allocation in time-division-multiplexed networks on chip door