Synthesis Algorithm for Application-Specific Homogeneous Processor Networks