1. A two-dimensional layout of hierarchical routing network implemented in a non-transitory medium comprising: a total of a×b blocks with one side of said layout having the size of “a” blocks and the other side of said layout having the size of “b” blocks where a≧1 and b≧1, and said routing network comprising a total of N 1 inlet links and a total of N 2 outlet links and y hierarchical stages where y≧1, N 1 >1 and N 2 >1 wherein either N 2 =N 1 ×p 2 , N 1 =(a×b)×p, and said each block comprising at most p inlet links and at most p×p 2 outlet links; or N 1 =N 2 ×p 1 , N 2 =(a×b)×p, and said each block comprising at most p outlet links and at most p×p 1 inlet links, where p≧1, p 1 ≧1 and p 2 ≧1, and said each stage comprising at least one switch of size d×d, where d≧2 and each said switch of size d×d having d incoming links and d outgoing links; and said each block may not be comprising the same number of said inlet links and may not be comprising the same number of said out links; said each block may not be comprising the same number of said stages; said each stage may not be comprising the same number of switches; and said each switch in said each stage may not be of the same size d, Said inlet links directly connected to one or more said incoming links, and said outgoing links directly connected to one or more said outlet links, said incoming links and outgoing links in each switch in said each stage of said each block comprising a plurality of forward connecting links connected from switches in lower stage to switches in the immediate succeeding higher stage, and also comprising a plurality of backward connecting links connected from switches in higher stage to switches in the immediate preceding lower stage; and said forward connecting links comprising a plurality of straight links connected from a switch in a stage in a block to a switch in another stage in the same block and also comprising a plurality of cross links connected from a switch in a stage in a block to a switch in another stage in a different block, and said backward connecting links comprising a plurality of straight links connected from a switch in a stage in a block to a switch in another stage in the same block and also comprising a plurality of cross links connected from a switch in a stage in a block to a switch in another stage in a different block; and said all cross links are connected as either vertical or horizontal links between switches in two different said blocks.