Efficient microarchitecture for network-on-chip routers