Professional Documents
Culture Documents
Algorithm
M S Santosh Kumar
3
rd
year, BTe!h, "le!tri!al "ngineering
Indian Institute of Te!hnology, Madras
#hennai, India
mss$umi%gmail!om
AbstractThis paper provides a review on the problem of
VLSI routing and the approximate optimization algorithm that is
used in practice, the problem of finding a Minimum Steiner Tree,
to solve the problem of global routing
KeywordsRouting, Minimum Spanning Tree, Minimum
Steiner Tree, Optimization algorithms, N ! hard"
I I&TR'()#TI'&
Routing is an im*ortant *hase in the *hysi!al design of
VLSI !ir!uits This *hase !onsists of finding the layout of the
+ires !onne!ting the terminals on !ir!uit blo!$s or gates A
terminal is a lo!ation on a blo!$, ty*i!ally along one of the
edges, +hi!h needs to be !onne!ted to some other blo!$s on
the layout A net is a set of terminals that are re,uired to be
!onne!ted together A netlist is a !olle!tion of nets that are to
routed The routing space is the s*a!e in +hi!h +e are allo+ed
to *la!e the +ires and the routing s*a!e bet+een t+o blo!$s is
!alled a channel. The *roblem of VLSI routing is to !onne!t all
the nets in the netlist through +ires running in the routing
s*a!e The routing *roblem is !om*utationally -ery diffi!ult
Infa!t, it is &P.hard
/01
Be!ause of this hardness, most of
routing algorithms are a**ro2imate and a fe+ ty*i!al
sim*lifi!ations are generally made The first one is to di-ide
the *roblem into t+o *hases !alled global routing and detailed
routing. In global routing, +e ignore the e2a!t geometri!
details and only does a !oarse.grain assignment of routes to
routing regions These routes are !on-erted into e2a!t layout in
the latter *hase Detailed routing !om*letes the *oint to *oint
+iring by s*e!ifying the geometri! information and layer
assignments There are also ste*s of routing in-ol-ed in the
design of VLSI !hi*s namely Timing-Driven routing, Non-
Manhattan and clock routing. 'ur fo!us in this *a*er +ill be
the *roblem of global routing
II M)LTI 3 T"RMI&AL &"TS A&( ST"I&"R TR""S
A. Input to the algorithm
The in*ut is a netlist !onsisting of a set of nets ea!h of +hi!h is
a set of terminals In addition to the netlist, the s*e!ifi!ations
on the routing s*a!e has to be *ro-ided All this information is
ty*i!ally *ro-ided in terms of a gra*h The are t+o gra*h
models that are ty*i!ally used4 Grid graph model and Channel-
Insertion graph model. In Grid-graph model, the !hi* is
modelled as n m grid gra*h +ith -erti!es that do not belong
to the routing s*a!e li$e blo!$s are remo-ed and +ires !an be
routed along any edge of the gra*h 5e assume that the gra*h is
un.+eighted All the edges in this model ha-e the same length
In the channel-insertion graph model, -erti!es are *la!ed at all
interse!tions of the !hannels and the terminals The lengths of
the edges are no longer same
!. "teiner Trees
6i-en a gra*h 67V,"8 +ith set of -erti!es V and set
of demand *oints 7 nets in our !ase 8 (, the Steiner tree is a set
of edges that !onne!t all the demand *oints ( A minimum
s*anning tree is a tree +hi!h !onne!ts all -erti!es +ith edges
+ith minimum total +eight
The minimum "teiner tree *roblem is similar to
minimum spanning tree *roblem4 6i-en a set of -erti!es V,
find the set of edges su!h that the total edge length is
minimi9ed The only differen!e bet+een the "teiner tree
problem and the "panning tree problem is that, in Steiner tree
*roblem, not all set of -erti!es in the gra*h are in the set of
demand *oints 5e !an add e2tra intermediate -erti!es and
edges to redu!e the length of the s*anning tree The ne+
-erti!es that are introdu!ed are !alled "teiner points or "teiner
vertices. Sin!e finding MST is hard, the ty*i!al initial ste* is
to start +ith a minimum s*anning tree
C. "teiner trees in #$"I routing
In VLSI !ir!uits, +ires are to be laid do+n in hori9ontal
and -erti!al dire!tions Thus for the grid 3 model, the demand
*oints ( are the set of -erti!es on the grid and routing *roblem
is to find minimum re!tilinear Steiner tree 7MRST8 Again
MRST is &P.hard Thus in *ra!ti!e, the a**ro2imate minimum
RST is obtained by re!ti lineari9ing ea!h edge of minimum
s*anning tree It is *ro-ed that ratio of the !ost of a re!tilinear
MST to that of an o*timal RST is no greater than 0:
7;+ang<s Theorm8
/=1
;ere !ost is defined using Manhattan
distan!e as !ost7 V0, V> 8 ? @ 20 3 2> @ A @ y0 3 y> @ +here V0 and V>
are -erti!es at 720,y08 and 72>,y>8 res*e!ti-ely
Various methods for re!tilinear edges in a MST e2ist
/1/1/1/1