Design and Implementation of Benes/Clos On-Chip Interconnection Networks