Automatic Generation of a Network-on-Chip Interconnect