asic placement

28
PLACEMENT By: Patil Puneet M.Tech Electronics

Upload: puneet-patil

Post on 06-May-2017

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ASIC Placement

PLACEMENTBy:Patil PuneetM.Tech Electronics

Page 2: ASIC Placement

Row based ASIC•CBIC, MGA and FPGA are row based

ASICs.•Most ASICs use two or three metal layers.•With two metal layer

▫First metal layer for horizontal routing▫Second metal layer for vertical routing

Page 3: ASIC Placement

Terms & definitions•Channel capacity- max no of horizontal

interconnects that can be placed side by side

•Feedthrough▫An unused vertical track in a logic cell▫Vertical metal strip that runs from top to

bottom of cell, but has no interconnection inside the cell

•Electrically equivalent connectors- two connectors for the same physical net

•Crosser cell- is an empty cell that can hold one or more vertical interconnects.

Page 4: ASIC Placement

Interconnect structure in CBIC

Page 5: ASIC Placement

Interconnects in MGA

Page 6: ASIC Placement

•Feedthough pin- an input or output that has connection at both top & bottom of standard cell

•Spacer cell- used to fill space in rows•Alternative connectors- joined inside the

logic cell using high resistance•Electrically equivalent connectors- joined

inside the logic using low resistance•Logically equivalent connector-swapping

these does not alter the logic.

Page 7: ASIC Placement

Goals & objectives•Goal is to arrange all the logic cells within

the flexible blocks on a chip•Objectives of the placement steps are to

▫Guarantee the router can complete routing step

▫Minimize all the critical net delay▫Make chip as dense as possible▫Minimize power dissipation▫Minimize cross talk between signals

Page 8: ASIC Placement

•These objectives are difficult to define in a way that can be solved with as an algorithm

•Placement tools use more specific & achievable criteria, like-▫Minimize the total estimated interconnect

length▫Meet the timing requirements for critical

nets▫Minimize the interconnect congestion

Page 9: ASIC Placement

Measurement of placement goals & objectives

•Trees- graph structures that correspond to making all the connections for a net

•Steiner trees- minimize total length of interconnects & they are central to ASIC routing algorithm

•Manhattan routing- using inter connects on rectangular grid.▫Euclidean distance- straight line distance▫Manhattan distance- rectangular distance

Page 10: ASIC Placement

Placement using trees on graph

Page 11: ASIC Placement

Complete graph measure•Complete graph- has connections from

each terminal to every other terminal.•Adds all interconnect length of the

complete graph together & divides by n/2, where n is number of terminal.

•Since, no. of connections needed for complete graph= nC2 =n(n-1)/2

•We need only (n-1) interconnects to join n terminals.

Page 12: ASIC Placement

•Bounding box- is the smallest rectangle that encloses all the terminals

•Half perimeter measure- is one-half the perimeter of the bounding box.

Page 13: ASIC Placement

•It doesn’t matter if our approximations are inaccurate if there is good correlation between actual interconnect length & our approximation

•Wiring length approximations are functions of▫Number of terminals▫Size of bounding box

Page 14: ASIC Placement

Interconnect Congestion•Measured by maximum cut line

Page 15: ASIC Placement

Placement algorithm•Two classes of placement algorithm

commonly used in commercial CAD▫Constructive placement▫Iterative placement

•Constructive placement method uses set of rules to arrive at a constructed placement.

•Commonly used methods are-▫Min-cut algorithm▫Eigenvalue method

Page 16: ASIC Placement

Min-cut placement•Method uses successive application of

partition▫Cut the placement area into two pieces▫Swap the logic cells to minimize the cut

cost▫Repeat the process from step 1, cutting

smaller pieces until the logic cells are placed

Page 17: ASIC Placement

Eigenvalue placement•Uses cost matrix or weighted connectivity

matrix•Cost function f

▫f=▫f=xTBx + yTBy▫B is symmetric matrix, the disconnection

matrix▫Eigenvalues of the disconnection matrix B

are the solutions to our placement problem

Page 18: ASIC Placement

Example•Consider the following connectivity matrix

C and its disconnection matrix B

Page 19: ASIC Placement
Page 20: ASIC Placement

• We find the eigenvalues of B are 0.5858, 0.0, 2.0 and 3.4142. The corresponding eigenvectors are

Page 21: ASIC Placement

Iterative placement method•Takes existing placement & tries to

improve it by moving the logic cells.•Several iterative exchange methods that

differ in measurement criteria▫Pairwise▫Forced-directed interchange▫Forced directed relaxation▫Force-directed pairwise relaxation

Page 22: ASIC Placement

•Pairwise-interchange algorithm▫Select the source logic cell at random.▫Try all the other logic cells in turn as the

destination logic cell.▫Use any of the measurement methods to

decide on whether to accept the interchange.

▫The process repeats from step 1, selecting each logic cell in turn as a source logic cell.

Page 23: ASIC Placement
Page 24: ASIC Placement

Placement using simulated annealing• requires so many iterations• Applying simulated annealing to placement, the

algorithm is as follows:▫ Select logic cells for a trial interchange, usually at

random.▫Evaluate the objective function E for the new placement.▫If Δ E is negative or zero, then exchange the logic cells.

If Δ E is positive, then exchange the logic cells with a probability of exp(– Δ E / T ).

▫Go back to step 1 for a fixed number of times, and then lower the temperature T according to a cooling schedule: T n +1 = 0.9 T n , for example.

Page 25: ASIC Placement

Timing driven placement method•Zero slack algorithm•We know the arrival time and required

time for the primary output.•Work forward from primary input and work

backward from primary output.•Difference between required time and

arrival time is slack

Page 26: ASIC Placement
Page 27: ASIC Placement

Information formats•SDF- to describe the gate delay and

interconnect delay.•PDEF- used by Synopsis to describe

placement information and clustering of logic cells.

•LEF- used to define an IC process and a logic cell library.

•DEF- to describe all the physical aspects of a particular chip design including the netlist and physical location of cells on chip.

Page 28: ASIC Placement

Thank you !