Cost-Efficient On-Chip Routing Implementations for CMP and MPSoC Systems