Академический Документы
Профессиональный Документы
Культура Документы
Abstract
Initial electronic design automation is concerned with the
design and production of VLSI systems. The next important
step in creating a VLSI circuit is Physical Design. Physical
design problems are combinatorial in nature and of large
problem sizes. Due to its complexity, the physical design is
normally divided into various sub-steps. The circuit has to be
partitioned to get some (up to 50) macro cells which have to
be placed on the chip (floor-planning). In the routing phase
pins on the walls of these modules have to be connected. The
last step in the physical design is the compaction of the layout,
where it is compressed in all dimensions so that the total area
is reduced. This survey paper aims at a study on Efficient
Algorithms for Partitioning in VLSI design and observes the
common traits of the superior contributions.
Problem Formulation
Introduction
43
1. Clustering
2. Graph
3. Ratio cut
4. Stochastic Algorithms
5. Neural Algorithms
Generic partitioning techniques are based on a graph model of
the design. Each node in the graph represents a physical
component such as a gate, flip-flop, register or adder and each
edge represents a physical connection between two
components. Multi-terminal nets between several components
are decomposed to several two terminal nets. Thus we get a
graph of several nodes and two terminal edges representing
the circuit. The main objective of partitioning is to decompose
a graph into a set of sub-graphs to satisfy a given constraints,
such as the size of sub-graphs, while minimizing the objective
function, such as the number of edges connecting the two subgraphs. Figure 1 shows graph G divided into two sub-graphs
G1 and G2 corresponding to chip1 and chip2 respectively. In
figure 2, Edges e24 and e36 across the cut-line represent the
two nets, ni and nj connecting chip1 and chip2 in figure 3. [4,
6]
GRAPH PARTITIONING
ALGORITHMS
In 1970, Kernighan and Lin proposed a semi greedy algorithm
called Min-cut partitioning or K-L Algorithm. The K-L
algorithm starts with random partition and tries to minimize
the cut cost by making small local changes through
interchanging pair of nodes. The algorithm makes several
passes. Each pass consists of a series of interchanges of pairs
of nodes. The nodes are interchanged in the sequence of
maximum gain in the cut-cost. At the end of a pass, all the
nodes are interchanged and the cut-cost becomes the same as
that at the beginning of the pass. The intermediate partitions
44
KL-algorithm:
Pair-wise exchange of nodes to reduce cut size Allow cut
size to increase temporarily within a pass
Compute the gain of a swap
Repeat
Perform a feasible swap of max gain
Mark swapped nodes .locked.;
update swap gains;
Until no feasible swap;
Find max prefix partial sum in gain sequence g1, g2, ..., gm
Make corresponding swaps permanent.
Start another pass if current pass reduces the cut size
(usually converge after a few passes)
FM- algorithm:
1. Start with "balance" partition
2. Move across partition if move does not violate balance
condition
3. To choose next vertex
a. find max gain vertex max.
b. move vertex if balanced condition is not violated
c. lock vertex .
4. Identify the critical nets and update gain of only those
cells that are connected by those nets.
45
Ratio-Cut Algorithms
The graph algorithms are successful in bipartitioning and
multi-way partitioning, but they dont capture the fact that
digital circuits are hierarchical in nature. Hierarchy imposes a
certain type of clustering but graph algorithms tend to divide
the circuit in way of strict balanced partitioning and the
resulting cut sizes are not minimal. The ratio-cut algorithms
were introduced by Wei and Chang. They identify natural
clusters in the circuit and prevent them from being truncated
by the cut-set. The algorithm tries to find the best ratio-cut as
opposed to minimal cut size. The ratio-cut due to dividing the
graph into two blocks is given by the ratio of cut set between
two blocks to product of cardinality (size) of each block. The
ratio cut approach has been applied to a set of benchmark net
lists and it is found that cut size can be improved upto 70%
over the ones obtained by F-M algorithm. [11]
Stochastic Algorithms
Figure 8. Greedy Nature of KL and FM Algorithms
46
Results
It is found that 100 runs of F-M Algorithm takes about same
amount of time as 40 runs of LA-2 and 20 runs of PROP. The
totals of best cutsets obtained by these three algorithms, run as
above, are 1776 (F-M), 1898 (LA-2) and 1380 (PROP). Thus
an improvement of 27.3% over LA-2 and 22.3% over F-M can
be achieved by PROP. In case of LA-3, PROP shows an
improvement of 16.6% over LA-3. A major limitation with all
the above algorithms is that they are suitable for bipartitioning
a graph or circuit network, and not for multiway partitioning.
[6] In order to perform k-way partitioning by the above
bipartitioning algorithms, one has to employ recursive
bipartitioning is k is exactly equal to or close to power of 2.
Otherwise, one has to perform k(k-1)/2 separate runs for a
bipartitioning algorithm. Neither of these methods yields good
results, since they tend to sequentially improve the partitioning
between two blocks at a time. In order to obtain a globally
optimal multiway partitioning, one has to apply partitioning
over entire graph or net list simultaneously. [1]
References
[11] Daniel D Gajski, Nikhil D. Dutt, Allen C-H Wu, Steve YL Lin High Level Synthesis Introduction to Chip and System
Design (1994) Kluwer Academic Publishers
[12] David E. Goldberg Genetic Algorithms in Search,
Optimization and Machine Learning (2009) Pearson
Education
Biographies
Assistant Professor, Deepak Batra obtained his Bachelors of
Engineering degree in Electronics and Communication from
Maharshi Dayanand University, Rohtak in 1999 and Masters
of Technology in VLSI-CAD from Manipal University,
Manipal, Karnataka in 2002. He has 4 years experience in IT
industry and has been a faculty in different colleges of
GGSIPU, MDU, KUK University for past 7 years. He has
taught B.E. and M.E. students and has provided guidance to
B.E. students for their projects.
Dhruv Malik, Assistant Professor did BE in ECE from UPTU,
Lucknow and ME in ECE from Maharshi Markendeshwar
University, Mullana. He has published a number of papers in
international journals. His area of interest is Digital
Communications.
47