Research Article

A Generic Three-Sided Rearrangeable Switching Network for Polygonal FPGA Design

Algorithm 3

Algorithm for constructing an -sided universal switch block of size .
Algorithm: Universal switch block .
Input: —number of sides of the polygonal switch block; —number of
terminals on each side of the polygonal switch block, .
Output: ; : set of terminals; SW: set of switches.
(1)   ;
(2)   ;
(3)   for     to     do
(4)     for     to     do
(5)       for     to     do
(6)         ;
(7)  Return