an architectural co-essay algorithm for energy-aware network-on-chip design