TIMING-DRIVEN GLOBAL PLACEMENT BASED ON GEOMETRY-AWARE TIMING BUDGETS

A system and method for timing-closed placement which also takes wirelength and congestion into consideration. In one aspect, the system and method of timing driven placement according to the present invention incorporates a timing budget management technique which satisfies triangle parity and inequality, a timing-driven quadrisection placement strategy based on flexible timing window configurations to minimize the wirelength and congestion during each mincut quad-partition of top-down hierarchy, and a linear programming formulation incorporating bin capacity, channel capacity and congestion criticality.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] 1. Technical Field

[0002] The present invention relates generally to a system and method for designing and placing circuitry on semiconductor chips, and more particularly, to a system and method for incorporating a timing-closed placement solution into a physical design process of integrated circuitry.

[0003] 2. Description of the Related Art

[0004] The development of electronic manufacturing technology has created the ability to build thousands of circuits on a single chip. To take advantage of this technology, thousands of circuits must by physically placed and connected on the chip. This can be a very time-consuming process, especially when the actual process of designing, placing and connecting the circuits on the chip can affect the performance and timing requirements of the chip. Therefore, it has become necessary to automate the design process by using a computer to quickly place and wire predesigned circuits into a functional chip.

[0005] The basic problem with this automation technique is that it sacrifices the performance of the resulting circuit for the ability to get a connected circuit in a reasonable amount of computing time. When the functional chip being designed is a central processing unit of a computer or other chip in which performance is critical and design complexity high, the performance sacrificed is not acceptable and the automation technique is not useful. This performance sacrifice usually manifests itself in the inability to obtain timing closure in complicated logic. Timing closure is the difference between the time allowed for processing information on the chip as logically designed, and the time required for processing information on the chip as physically designed. Timing closure is not met when the chip as physically wired and placed is not as fast as required by the logical design.

[0006] With advances in VLSI technology, the size of modules in integrated circuits is becoming smaller and the density of modules on a chip is increasing. Consequently, intramodule delays are becoming smaller, and the total delay in the circuit is being dominated by delays in the interconnections between the modules. The communication-bounded nature of total circuit delay, along with more stringent timing requirements due to more aggressive design style, have made timing driven layout an important area of study. To meet the needs of a fast-expanding electronics industry, high performance chips must be designed in a short period. Accordingly, a design flow which incorporates timing analysis and verification into the physical design is desirable. This motivates the development of layout tools which optimize layout area and timing simultaneously.

[0007] The problem of timing-driven placement has been studied extensively over recent years. Existing timing-driven approaches can be broadly classified into net-based methods and path-based methods. In a net-based algorithm, timing constraints are first translated into physical constraints, such as upper and lower bounds on the lengths of nets. More specifically, net-based algorithms try to satisfy timing constraints by (1) assigning higher weights to nets which are part of critical paths, or (2) by transforming timing requirements into a set of upper bounds on the net delays. In scenario (1), minimizing the delay in a critical net may increase the delay in other nets. This may result in additional critical paths and the delays of the nets in these paths also then have to be minimized. This again may result in an excessive delay in the previous critical net. It is desirable to prevent this oscillating effect. In scenario (2) above, delay constraints on the paths are translated into either length or timing lower and upper bounds (slacks) for each net. The bounds are then used to guide the placement and routing. Timing driven placement optimization will not shorten nets that are below the threshold, but nets near or above the threshold are very strongly weighted for improvement. A major problem of these approaches is the selection of the weights or bounds. Also, the use of individual net bounds may overconstrain the problem.

[0008] Path-based methods consider timing requirements explicitly, and try to satisfy timing requirements and physical requirements simultaneously during the placement phase. A major difficulty encountered in path-based methods is the enormous complexity of computation. Path-based approaches overcome these difficulties via an optimization process which models the problem using paths instead of individual nets. The problem may be modeled as a linear programming or transforming the quadratic programming problem into a Lagrangian problem to reduce the number of constraints. However, this optimization process becomes very complex and time consuming in deep sub-micron designs.

[0009] A legal (or feasible) solution to the timing-driven placement problem should satisfy the following placement constraints: (1) Macros should be placed at legitimate locations without overlapping, (2) there should be sufficient space to implement interconnections, (3) timing constraints should be satisfied for all logically possible paths in the circuit, (4) region constraints should be satisfied, i.e., some modules may be placed only in an certain regions, for example, (a) for movable I/O pins (input/output terminals): some I/O pins' positions may be fixed, others may be assigned to any of the available I/O pads,(b) locations of some modules may already be fixed.

[0010] An input to a timing-driven placement problem is a set of modules and a net list, where each module has a fixed shape and fixed terminal locations. The goal is to find the best position for each module on the chip according to appropriate cost functions. Timing driven placement incorporates timing objective functions into the placement problem. Nets that must satisfy timing requirements are called critical nets. In timing-driven placement, it is desirable to make critical nets timing-efficient and other nets length- and area-efficient.

[0011] In a net-based timing-driven layout, timing requirements are usually first translated into physical requirements. Delay slacks correspond to budget wiring delays. Slack is the difference between the designed (logical) delay and the actual delay (after added wiring delay) from the wiring program. A positive slack implies that the current cycle-time is fulfilled by the physical layout (i.e., the net meets the design criteria), while a negative value indicates that the layout violates the timing conditions. In addition, a large positive value indicates that the cycle-time can be further improved. Hence, the goal in timing-driven layout is to maximize the min-slack.

[0012] The delay budgeting problem seeks to allocate delay slacks before the placement and routing steps. Thus, as a result of delay budgeting, the performance-driven placement and routing steps are given net delay bounds. Since the delay slacks equate with wiring delay, it is natural to expect all nets to have positive slacks. Furthermore, the distribution of these slacks determines the difficulty of finding a feasible placement (and/or routing) solution.

[0013] Excessive local congestion gives rise to future routing difficulty and also increases potential crosstalk noise in high-speed signal lines. Furthermore, it increases power dissipation due to coupling capacitance. In a timing analysis of a prerouting design, the routing of a net is usually assumed to be a minimal rectilinear Steiner tree. Due to the congestion, the capacitance (i.e., wirelength) of this routing tree is larger than the one with a minimal Steiner tree. Thus, we need to avoid the timing-critical nets from the congested areas.

[0014] Existing timing-driven flows lead to unpredictable and suspicious timing results. Their main flaw is a lack of timing coverage which requires designers to spend days or even weeks iterating between synthesis and layout to achieve timing closure. Extremely complex deep submicron designs requires a new placement algorithm being completed with faster clocks.

[0015] There have been many works in timing-driven placement in recent years. Recent results are mainly categorized as: A) Top-down hierarchical partitioning (slack-based), B) quadratic programming (path-based), and C) constructive approaches.

A. Top-Down Hierarchical Partitioning

[0016] In top-down hierarchical partitioning, the length of all interconnections are estimated provided that entire cells assigned to a partitioned region are located at the center of the region. Therefore, after each cut of a min-cut algorithm, a global routing is computed. See J. Garbers, B. Korte, H. J. Promel, E. Schwietzke, and A. Seger, VLSI-Placement Based on Routing and Timing Information, IEEE, 1990. This provides an expected net length for every net. These net lengths are subsequently used to perform a timing analysis. In particular, increasing the weight of some nets should lead to a shorter realization of these nets and thus should increase the minimum slack. In this algorithm, modules are not placed at upper levels of the mincut partitioning; the exact module placement is realized at the bottom of hierarchy. Thus, it is hardly guaranteed that the expected net length computed at each level of the hierarchy is consistent with the net length obtained by final placement.

[0017] FIG. 1 illustrates an exemplary conventional net-weight and mincut based placement approach. One example of this approach, hierarchical mincut-based partitioning, involves dividing a circuit into smaller parts, recursively. The object is to partition the circuit into parts such that the sizes of the partitions are within a prescribed range and the number of connections between components is minimized at each level of hierarchy. This results in minimizing the number of global wires and accordingly, maximizing the number of local wires, thus minimizing the total wirelength. During the partitioning, if module ml in partition 100 is moved to partition 102, the result is an undesirable solution since the critical net C with its timing budget of 1 unit is on the cutline 104 and thus may span the entire chip region in a worst case scenario. On the other hand, if module m2 is moved, then the timing budget of net D becomes over-weighted in a smaller wiring region. Therefore, there is a need for a more insightful timing budget management strategy.

[0018] In M. Marek-Sadowska and S. P. Lin, “Timing-Driven Placement”, IEEE Conference, pp. 94-97, 1989, the timing-driven placement problem was formulated as a facility location problem, for example, for m old facilities located on a plane, locations of additional n-m new facilities are sought. The objective is to minimize the sum of weighted (net-weight based) rectilinear distances between them. Solutions to the problem produce placements of cells only at coordinates of the old facilities (for example, cells with fixed locations such as input/output (I/O) pads). In order to decompose cells into two partitions in the plane, fictitious terminals are added at the cutline that partitions the netlist into two equal-sized netlists.

[0019] Usually, bi-partitioning and clustering-based partitioning approaches attempt to cluster critical nets in a local region so that most of the critical nets can reside in close proximity, but some critical paths can easily be divided into different partitions that span a timing-specifically unbounded routing region (i.e., a region where timing is not satisfied). In T. Koide, et al. “A New Performance Driven Placement Method with the Elmore Delay Model for Row Based VLSIs”, Hiroshima Univ. koide@ecs.hiroshima-u.acjp, during 4-way partitioning, while moving the cell, slack gain is computed, and the cells connecting nets with large slack gains on the cutline may span the timing specifically unbounded routing region. To decrease the delay time of the paths, the cells are moved into clusters within a partition so that nets connecting the cells will span a smaller routing region. However, this method does not guarantee that the final layout of a net does not exceed the timing slack.

B. Quadratic Programming

[0020] Lagrangian relaxation offers an alternative to simulated annealing for controlling the tradeoff between the system cycle time and wirelength. A. Srinivasan, K. Chaudhary, and E. S. Kuh, “RITUAL: A Performance-Driven Placement Algorithm”, IEEE Trans. on Circuits and Systems II, Vol. 39, No. 11. pp. 825-840, Nov. 1992, presented such a mathematical programming approach such that the runtime is smaller than simulated annealing and the quality of the results are reasonable. However, issues like congestion analysis and routability factors are not considered. Routability constraints are among the most difficult because they are not analytical and are checked only by means of routing. This is a major reason why the routability constraints are not included into the mathematical programming formulations.

[0021] Another technique involves an algorithm which uses an iterative approach. See A. Mathus and C. L. Liu, Compression-Realization: A New Approach to Timing-Driven Placement for Regular Architectures, IEEE TCAD, Vol. 16, No. 6, June 1997. In each iteration, there is a compression phase and a relaxation phase. The compression phase attempts to make the placement delay feasible by compressing the long paths that cause some of the primary output signals to arrive too late. However, the compression phase may produce an infeasible placement with some of the slots occupied by two modules. This allows the compression phase more flexibility, and often allows it to achieve the required decrease in delay. If an infeasible placement is produced in the compression phase (path-based), the relaxation phase (net-based), which carries out a timing-driven reconfiguration of the infeasible placement to produce a feasible solution, will be executed. Forming a slack neighborhood graph, the delays in the critical paths are guaranteed not to increase beyond a certain bound. It captures the freedom of movement of the modules, without “violating the timing constraints.” If the compression phase produces an infeasible placement, the original modules occupying the overcrowded slots need to be relocated. In the relaxation phase, relocation is carried out simultaneously for all of the modules in such a way that the delays do not increase by too much. The slack of an edge measures the amount by which the delay of the edge can be increased without violating any timing constraints. The slacks of the edges incident to a module determines the neighborhood within which the module can be moved without violating the timing requirements. In any iterative algorithm for placement, it is initially essential that the mobility of the modules be sufficiently high. This ensures that a bad initial placement does not cause the algorithm to get stuck in a high-cost local minimum. In order to prevent the mobility from being completely governed by the slacks, a relaxation parameter was introduced that allows the algorithm to increase the values of edge slacks which will be referred to as relaxed slacks. In order to incorporate a routability measure into the placement process, each edge of the slack neighborhood graph (SNG) is associated with a cost that measures the penalty, in terms of an increase in congestion, that results from the move associated with that edge. A reasonable measure of this penalty is a congestion gradient that measures the difference in congestion in different areas of the current placement. This approach tries to satisfy the timing constraints for most critical paths, but after spreading out the overlapped modules, it is not guaranteed that the final placement satisfies the timing constraints for entire critical nets.

[0022] In most of these timing criticality-based approaches, some of the non-critical nets can turn into the critical nets due to the unbounded treatment for the wirelength of non-critical nets. In recent aggressive designs, most of the nets are critical and thus a priority-based approach may not be effective.

C. Constructive Approaches

[0023] A successive augmentation approach has also been proposed which adds one macro at a time to a partial placement until all macros are exhausted. There are two stages. The first technique involves adaptive changing of parameters according to evaluations of partial solutions. The second technique is carried out by an adaptive look-ahead procedure for improving global characteristics of the placement. The adaptive algorithm uses adaptation of parameters to handle a wider range of operating controls. A set of adjustable parameters such as a timing budget are used to control placement. This approach is effective when dynamic adjustment process can be realized in a reasonable amount of computation. However, this approach lacks global optimization.

[0024] Another technique involves a constructive approach based on a path-delay timing window. See I. Lin and D. H. C. Du, “Performance-Driven Constructive Placement”, Design Automation Conference, pp. 103-106, 1990. This approach considered a path with a sequence of modules along the path. All modules in the path are bounded in a rectangle called a window to satisfy the timing requirement. Even if all modules are inside the region, a zig-zag routing may result. The basic idea is to define an area to guide the placement of the first module in the window such that the total interconnect delay can be minimized. The net constraints are used to reduce the placement constraints instead of directly using complete path constraints. Once a cell location is determined in a window, all associated paths are broken into two sub-paths.

[0025] Previous works lacked the ability to deal with the timing constraints in terms of paths.

[0026] For example, a timing driven placement method has been presented based on a path delay relaxation force (PDRF) method. The delay of a timing-critical path having a small timing margin is minimized by placing the cells on the path (called path core cells) at the center of gravity, and this process is performed for other path core cells. However, these approaches are only concerned with the timing-critical paths. The cells on the non-critical paths must be treated carefully since their placement may cause further timing problems in recent high performance designs. To deal with this problem, the net constraint driven placement can be utilized. However, the main problem with net constraints is that timing constraints are path based, hence net bounds are usually over-constraining, resulting in infeasible placements. As a result, methods of handling over-constrained net bounds have been proposed but usually rely on re-budgeting only after a physical design step (placement) is completed.

[0027] Accordingly, there is a need for a system and method for a very large scale integration (VLSI) placement that efficiently increases production capacity of integrated circuits and accurately optimizes the integrated circuit design.

SUMMARY OF THE INVENTION

[0028] The present invention is directed to a system and method for timing-closed placement which also takes wirelength and congestion into consideration. The system and method of timing driven placement according to the present invention incorporates a timing budget management technique which satisfies triangle parity and inequality, a timing-driven quadrisection placement strategy based on flexible timing window configurations to minimize the wirelength and congestion during each mincut quad-partition of top-down hierarchy, and a linear programming formulation incorporating bin capacity, channel capacity and congestion criticality. Advantageously, these features allow good timing-closed placement results to be achieved without excessive computation time, thus accelerating the sign-off-to-silicon cycle for customers and increasing production capacity.

[0029] In an aspect of the present invention, a method for placing circuit elements on semiconductor chips is provided comprising the steps of: creating a circuit graph including cutlines, said circuit graph comprising said circuit elements connected by nets for placement on a placement grid; clustering critical nets in the circuit graph; assigning a timing budget for each net using at least one of a plurality of slack distribution algorithms satisfying at least one geometric constraint; partitioning the circuit graph using a mincut algorithm; generating a timing window region on the placement grid for each net which is less than or equal to each net's respective timing budget; and assigning the circuit elements attached to each net to each of their respective timing window regions.

[0030] In another aspect of the present invention, a method for determining placement of circuit elements is provided comprising the steps of: describing a circuit image as a graph comprising circuit elements connected by edges; assigning a timing budget for each edge using a geometry-aware slack distribution algorithm which satisfies at least one geometric constraint; generating a timing window region on a placement grid for each edge, said timing window region being equal to or less than the timing budget for the respective edge; and assigning the circuit elements attached to each edge to each of their respective timing window regions.

[0031] These and other aspects, features and advantages of the present invention will be described or become apparent from the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0032] FIG. 1 illustrates an exemplary conventional net-weight and mincut based placement approach.

[0033] FIG. 2 illustrates a preferred embodiment of a timing driven placement process with timing closure according to an aspect of the present invention.

[0034] FIG. 3 illustrates an exemplary circuit graph comprising nodes connected by edges having slack values.

[0035] FIG. 4A illustrates an exemplary placement of a slack-weighted circuit graph which has its slack modified to satisfy the triangle inequality rule and a parity rule according to an aspect of the present invention.

[0036] FIG. 4B illustrates an exemplary placement of a circuit graph which does not satisfy the triangle inequality rule.

[0037] FIG. 5 illustrates an exemplary slack-weighted circuit graph and a resulting feasible placement solution and an infeasible placement solution.

[0038] FIG. 6A depicts exemplary illustrations of rebudgeting where positive gains on the timing margins are realized.

[0039] FIG. 6B illustrates an exemplary circuit graph depicting variables to be used for rebudgetting while preserving triangle inequalities.

[0040] FIGS. 7A-7B are exemplary illustrations of rebudgeting results using geometry-aware slack distribution (rebudgetting) algorithms applied to the circuit graph of FIG. 3 according to an aspect of the present invention.

[0041] FIG. 7C illustrates an exemplary slack reassignment satisfying the triangle inequality rule according to an aspect of the present invention, where the slack is not rebudgetted.

[0042] FIGS. 8A-F illustrate an exemplary overall application of a method of module placement according to an aspect of the present invention.

[0043] FIG. 9A depicts another example of an initial circuit graph G=(V, E) comprising node labels V (V=1, 2, . . . , 8) attached by edges E.

[0044] FIG. 9B illustrates an exemplary placement grid having fixed labeling comprising bin and channel labels.

[0045] FIG. 9C illustrates an exemplary timing-driven partitioning of the circuit graph of FIG. 9A into four quadrants based on a min-slack cut for maximizing resource balancing.

[0046] FIG. 9D illustrates an exemplary timing-closed placement of the modules and edges of FIG. 9A onto the placement grid of FIG. B according to an aspect of the present invention

[0047] FIGS. 10A-C illustrate exemplary steps of generating a timing window for level i considering timing windows generated in previous levels i=1 and i=2.

[0048] FIG. 11 A and 11B illustrate exemplary formations of circuit graphs associated with a multiple-unit cell such that there are imaginery edges between two adjacent basic cells with a corresponding edge weight.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0049] It is to be understood that the exemplary system modules and method steps described herein may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. Preferably, the present invention is implemented in software as an application program tangibly embodied on one or more program storage devices.

[0050] The application program may be executed by any machine, device or platform comprising suitable architecture. It is to be further understood that, because some of the constituent system modules and method steps depicted in the accompanying Figures are preferably implemented in software, the actual connections between the system components (or the process steps) may differ depending upon the manner in which the present invention is programmed. Given the teachings herein, one of ordinary skill in the related art will be able to contemplate these and similar implementations or configurations of the present invention.

[0051] A basic design model applicable to a timing-driven placement solution according to the present invention involves, for example, a microcell-library sea of gates technology which comprises the following features. A chip has a regular pattern of basic gates. Routing tracks in both directions are distributed between columns and rows and do not produce concentrated routing channels but require over-the-cell routing. This design style has a library of predesigned macrocells in drastically different sizes having varying heights and widths. The number of routing tracks available for inter-macrocell connections depends on the number of tracks utilized by intra-macrocell connections.

[0052] FIG. 2 illustrates a preferred embodiment of a timing driven placement process with timing closure according to an aspect of the present invention. Initially, in step 201 a circuit graph is created for later defining a timing budget window for each net on a placement grid. The circuit graph comprises, for example, modules (circuit elements) attached to each other by edges (nets), wherein some modules are partitioned by cutlines. The timing budget window is a timing-feasible rectangular area on the placement grid within which modules can be placed without violating a timing budget. Thus, the size of the placement grid affects timing accuracy. One timing slack unit corresponds to, for example, a width of a basic grid size. For example, a timing slack should be set to 1 or 2 if the placement grid forms a 2 by 2 array. In another example, the timing slack can be an integer value between 1 and 6 if the placement grid forms a 4 by 4 array (since a length of the diagonal of the 4 by 4 array is 6).

[0053] A multiple of the basic grid size can also be used as a grid size. In this case, a slack should be redistributed into its nearest (with lower slack) grid point. For example, if the size of a bin is 4 timing units, then the new slack value becomes:. 1 ( old - slack - value 4 )

[0054] Therefore, the finer (smaller) the grid, the greater the timing budget, and thus the greater the flexibility of placement for finding a feasible solution; however, the computation time is also increased.

[0055] For instances where the grid size is more than one unit, a set of critical nets with small timing budgets are clustered into grid bins using a timing-driven clustering algorithm in a bottom-up clustering stage (step 203). Timing-driven clustering involves clustering cells with nets so as to minimize the following function inside each cluster:

f(cluster)=timing budget/connectivity

[0056] This results in a timing-aware connectivity-based clustering, i.e., nets with a small timing budget will be clustered together into a subgraph having a higher connectivity (density). After finding a set of clusters of the same size, a cluster size corresponds to a grid size. Since the new grid size is larger than the basic (smallest) grid size, the number of components is decreased for future computation. Using this method with an appropriate bin size will be effective in order to reduce the computation time and to take advantage of clustered critical nets.

[0057] Next, an initial timing budget for each net is determined using a geometry-concerned slack distribution algorithm according to an aspect of the present invention, where the timing budget satisfies the triangle inequality rule and triangle parity (step 205).

[0058] In step 207, the circuit elements are divided into segments to minimize a number of global nets. Global nets are nets which span multiple segments. It is mandatory to use a partitioning approach as design complexity continues to increase. For example, the present invention preferably uses a multi-level graph partitioning mincut algorithm in step 207.

[0059] In step 209, a timing window is generated within a placement grid based on one-bend global routing. The timing window is a rectangular area within which the modules can be placed without violating their timing budget. A one-bend global routing (a wire having one bend between modules) is preferable to, for example, a two-bend routing, since the more the number of bends, the more vias and thus, the more delays.

[0060] Next, the modules are assigned to their respective timing window regions on the placement grid (step 211). Preferably, each module is assigned to a more general rather than specific bin on the placement grid. The exact placement of the modules are deferred to a lower level of hierarchy. This flexibility leads to a better mincut solution in the successive levels of hierarchy.

[0061] To minimize congestion during the module assignment process, timing-feasible regions for each module are determined by selecting the region (or bin) which best distributes wires evenly over the cutlines.

[0062] The larger the size of the timing windows, the greater the probability of finding a feasible solution (i.e., a solution which reduces the possibility of cell overlaps), and thus, the more flexibility of reducing the total wirelength during top-down partitioning hierarchy. In addition, straight connections between the modules are desirable to reduce the possibility of congestions (cell/module overlap) and the number of bends. Thus, the objective is to maximize the timing window sizes and the number of straight-line connections.

[0063] Following module assignment, it is ascertained whether the recursive top-down partitioning is finished, i.e., whether all levels of the top down hierarchy have been processed and all modules in the circuit graph are assigned (step 212). If not, the system goes to the next level of hierarchy and repeats the process starting from step 207 again.

[0064] If the top-down recursion is finished, it is then ascertained whether the module assignments are legal, i.e., whether the module capacity of each bin is not exceeded (step 213). If yes, then the process ends (step 217). Otherwise, a module relocation technique is executed (step 215). The above steps of the overall method will now be described in more detail below.

I. Net Delay Model and Slack Redistribution

[0065] It is desirable to determine the initial timing budget for each module before synthesis since good initial timing-budgeting should shorten the number of resynthesis iterations and thus speed up the entire design process. For example, initially, the total timing slack (budget) in the path can be distributed equally over the nets in each path. If a path does not meet its constraint, all the nets in the path are targeted for improvement until the path as a whole falls below a threshold constraint.

[0066] In a budget refinement problem, paths may have positive or negative slacks as a result of a given placement. Since the budgeting results are heuristic in nature and may be overtight (i.e., overly constraining), it is necessary to provide a method by which the budgeting algorithm can adjust the timing budget based on, for example, information on results from a failed placement. Given a directed acyclic graph with timing constraints, the object of budget management is to assign to each vertex an incremental delay such that the total sum of these delays is maximized without violating given constraints. A maximum effective budget can maximize the flexibility and freedom all signal nets can have during layout while keeping within the timing constraints, which is desirable for most placers and routers.

[0067] FIG. 3 illustrates an exemplary circuit graph comprising nodes 301 connected by edges or nets 303 having slack values 305. The total slack here (does not include values for the dotted line) is for example, 18. A timing analysis as illustrated, for example, in Youssef, E. Shragowiz, and L. C. Bening, “Critical path issue in VLSI designs,” in Proc. Int. Conf. on Computer-Aided Design, pp. 520-523, 1989, can be performed to identify a set of critical nets. A critical net is a net which belongs to at least one critical path. A net weight is set proportional to the frequency of appearance of a critical net in a set of critical paths. The net weights are then used to weigh the driving strength of the nets. Weight implies a measure of priority, and a smaller timing budget implies critical nets. Therefore, a critical net will be characterized by a higher value on the timing weight and a lower value on a budget.

[0068] The critical path of a very large circuit contains a hundred-pin net, which causes more than 50% of the entire maximum path delay. As seen from an Elmore delay model, one long wire in a multi-terminal net will affect the delay of the entire net. Therefore, it is desirable to put special emphasis on reducing the lengths of nets with high numbers of pins (terminals). Thus, a lower timing budget is assigned in proportion to a greater number of terminals of the net.

[0069] The most critical net may contain a buffer chain and/or drives large fanouts. Therefore, the criticality (i.e., timing budget) of net i, &tgr;(i), in path j is measured as follows: 2 τ ⁡ ( i ) = τ ⁡ ( j ) × ( 1 - a ⁢   ⁢ η ⁡ ( i ) × β ⁢   ⁢ ϕ ⁡ ( i ) ∑ k = 1 n ⁡ ( j ) ⁢ a ⁢   ⁢ η ⁡ ( κ ) × β ⁢   ⁢ ϕ ⁡ ( κ ) ) ,

[0070] where is &tgr;(j) is total-timing-budget of path j, n(i) the number of nets in a path i, &eegr;(i) is the multiplicity of net i and &phgr;(i) is the frequency factor associated with net i. Here, &agr; and &bgr; are the relative weights between &eegr;(i) and &phgr;(i) such that &agr;+&bgr;=1. The delay budget s (e) on an edge e can be transformed on the wirelength l (e) by using the Elmore delay model, Rd(cl(e)+CL)+1/2crl(e)2+rl(e)CL=s(e), where Rd is the driver resistance, CL is the load capacitance, and c and r is the unit capacitance and resistance respectively.

[0071] After slacks are generated, slack redistribution is performed by initially determining a maximum effective slack for each path segment. This can be done by: 1) computing all slacks, and 2) distributing the slacks along the path segment based on the criticality measures; i.e., a net with a higher criticality measure will have a lower timing budget. For example, a net (edge) shared by two different paths is assigned a lower timing budget than a net which is part of a single path. The above two steps are repeated until there are no positive slacks on any nodes.

[0072] A set of critical nets can be identified either prior to module placement (static method) or during module placement (dynamic method). In a static method, the set of controlled critical nets does not change during the layout process. Preferably, instead of using the time-consuming dynamic method, the method of the present invention adopts a static timing budget management technique which uses a lookahead function to determine a feasible placement.

[0073] To ensure that a final module placement results in a feasible solution in terms of timing constraints while simultaneously minimizing wirelengths, the placement satisfying the timing budget is realized by careful treatment for instances where a circuit includes cycles in its corresponding circuit graph. Since wires are connected rectilinearly, the following triangle parity inequality rule must be satisfied prior to placement:

P(wi+wj)=P(wk), ∀i, j, k&egr;C of G,

[0074] where P (wi) is the weight parity (i.e., edge weight is even or odd) of edge i with its weight wi, and C is a cycle in the graph G. Equivalently, if (wi+wj)mod2 =wkmod2, then P (wi+wj)=P (Wk). To have one-bend routing for every net in a cycle, every cycle of length three (referred to as a 3-cycle) should comply with the triangle inequality rule. Otherwise, a placement problem will result in which the timing budget will not be satisfied. The triangle property of an undirected cycle is a property that a complete weighted cycle satisfies s(u, v)≦s(u, w)+s(w, v) for all vertices u, v, w, where s(i, j) is the timing slack (margin) for the net connecting two cells i and j. This holds for any graph representing points in both Euclidean and rectilinear (Manhattan) metric space, for example, a placement graph. Therefore, both the triangle inequality rule and a parity rule should be met for satisfying timing constraints.

[0075] FIG. 4A illustrates an exemplary placement of a slack-weighted circuit graph which has its slack modified to satisfy the triangle inequality rule and a parity rule according to an aspect of the present invention. Circuit graph 401 is an exemplary cycle of length three which is not feasible for placement due to its edges having weights which do not satisfy the triangle inequality rule or the parity rule. The parity rule involves an integer quality (i.e., whether an edge weight is an odd or even number). For example, for the parity rule to be satisfied in a 3 cycle circuit graph, adding any two edges should result in a number which has a same parity/quality (i.e., odd or even) as the third edge. In addition, the triangle inequality rule is not satisfied in 401. To satisfy the triangle inequality rule (which applies only to 3 cycle graphs), when the weights of any two edges are added, their sum should be greater than or equal to a weight of the third edge.

[0076] Circuit graph 403 is an exemplary cycle of length three which satisfies both the triangle inequality rule and the parity rule, and is thus feasible for placement. The triangle inequality rule is satisfied since the sum of any two edges in 401 is greater than or equal to the third edge. For example, the sum of the values of edges a-b and b-c (which is 4) is greater than the value of the edge a-c (which is 2). To illustrate the satisfaction of the parity rule in graph 403, if the values of edges a-c and a-b are added (2+1), they will equal an odd number (3) which is a same parity as the third edge b-c (also an odd number).

[0077] Placement graph 405 illustrates an exemplary rectilinear-wired placement of circuit graph 403 using one-bend routing. For example, there is one-bend 406 in the wire between nodes b and c. One-bend routing is preferable for placement since it results in a shortest path and thus a shorter wirelength. The circuit graph 403 can also be placed using two-bend routing (407). However, it is very time-consuming to formulate the two-bend routing in Linear Programming. Furthermore, the more bends, the greater the wirelength and detours and thus the more delays. Thus, two-bend interconnections between modules are preferably avoided, if possible.

[0078] However, there are cases where two-bend routing must be used. FIG. 4B illustrates an exemplary placement of a circuit graph which does not satisfy the triangle inequality rule. Circuit graph 410 is infeasible since it does not satisfy either the triangle inequality of parity rules. Note that the weight of an edge (b,c) in graph 410 should be set to less than 3 to hold the triangle inequality property of placement. Circuit graph 412 satisfies a triangle parity rule, and thus is feasible for placement. However, in this case, we need to two-bend wire for the edge (b,c) as shown in placement graphs 414 and 416. If a legal solution satisfying channel capacity constraints cannot be found with one-bend routing, than two-bend wires are permitted to be used.

[0079] It is important to note that in both FIGS. 4A and 4B, during placement, the triangle inequality must be satisfied. FIG. 5 illustrates an exemplary slack-weighted circuit graph 501 and resulting feasible and infeasible placement solutions. Graph 501 comprises three cycles (a, b,c), (b,c,d) and (b,d,e) and a cutline 503 for partitioning the modules d and e from a, c and b during placement. Edges c,b and b,d include upper and lower bounds of a timing budget. It is desirable to maintain the triangle inequality for each cycle during placement, while the original slack values of each edge can be used to provide wiring flexibility.

[0080] Placement 507 represents an exemplary placement of modules b,c,d,e of graph 501 using a lookahead timing budgeting of edge b,c in which the triangle inequality property is satisfied during placement. Placement cutline 507 is analogous to the cutline 503 for partitioning the modules b,c and e,d in different partitions. Placement 507 results in a timing-legal placement for module a. Placement 510 illustrates an exemplary infeasible placement solution where the triangle inequality rule is not satisfied during placement. Here, there is no feasible placement for module a which would satisfy the timing constraints given in graph 501.

[0081] Given a directed graph with timing and geometric (triangle inequality and parity) constraints, the object of budget management according to an aspect of the present invention is to assign to each node an incremental delay such that the total sum of these slack delays is maximized without violating given constraints. A maximum effective budget advantageously increases the flexibility and freedom of all signal nets during layout while keeping within the timing constraints. Initially, an optimal algorithm for budget management is used to identify the edges that have initial slack values which need to be reduced or transferred. Then, a rebudgetting strategy is employed to maximize the total slack values.

[0082] To compute the timing budget assignment complying with the triangle inequality rule and timing (path) constraints (referred to as Triangle-based Rebudgetting) according to an aspect of the present invention, either of the following algorithms can be applied: 1) Geometry-constrained Slack Reassignment, or 2) Geometry-constrained Rebudgetting. The first algorithm does not allow for a net to increase its originally assigned timing margins, but only to reduce their values, while satisfying triangle inequality for every cycle. The second algorithm aims to maximize the total timing margins while preserving the triangle inequalities. Thus, in the second algorithm, timing margins assigned to nets are allowed to be increased.

[0083] The basic idea of the first algorithm is to build a spanning tree from a graph where during the tree construction, edge weights are checked and updated (re-assigned) to satisfy both triangle inequality and triangle parity. Basically, in Timing Budget Reassignment, Deque(Q) is to extract the cheapest (lowest weighted) edge (u, v) in a graph G from a priority queue Q, and Enque (Q, s(u, w)) is to insert a new value s(u, w) to Q.

[0084] The overall Timing Budget Reassignment algorithm is as follows:

[0085] Geometry-Constrained Slack Reassignment (GSRA):

[0086] Until Q is empty,

[0087] 1. s(u, v)=Deque(Q);

[0088] 2. If the edge (u, v) is incident to another edge (v, w) that is already traversed and they both form a cycle with another edge (u, w) (that has not yet been traversed) in G and s(u, w)≧s(v, w)+s(u, v), then the following is set: s(u, w)=s(v, w)+s(u, v) and Enque (Q, s(u, w));

[0089] 3. If the edge (u, v) is incident to another edge (v, w) that is already traversed and they both form a cycle with another edge (u, w) (that has not yet been traversed) in G and s (u, w)≦s (v, w)+s (u, v) and s (u, w)mod2≠(s(v, w)+s(u, v))mod2, then the following is set: s(u,w)=s(u, w)−1 and Enque(Q, s(u, w));

[0090] 4. If the edge (u, v) is incident to another edge (v, w) traversed so far and there is no edge (u, w) in G, then a dummy edge (u, w) is added to the graph G and the following is set: s(u, w)=s(v, w)+s(u, v) and Enque(Q, s(u,w));

[0091] 5. If the edge (u, v) creates a cycle with two edges, s(v, w) and s(u, w) already traversed in G, then the following is set: s(u, v)=s(v, w)+s(u, w) and Enque(Qs(u, v));

[0092] At each step in the above algorithm, a cheapest edge is selected. A cycle-completing edge is more expensive than any previously added edge, thus the edge weight can be updated to satisfy the triangle inequality rule without changing other edges in the cycle that have already been traversed. The above algorithm for Budget Reassignment takes at most O(|E|log|E|+|N|2) amount of time, where |E| is the number of edges and |N| is the number of nodes in the graph.

[0093] Given an initial budget assignment, when budget increases on some edges are not allowed, the Timing Budget Re-assignment algorithm finds an optimal solution for incremental budget assigning such that every cycle in the graph satisfies the triangle inequality rule.

[0094] It may be necessary to minimize the amount of timing budget updating through the timing budget assignment algorithm since it results in a tighter timing budget, and thus, there will be less possibility of finding a legal timing-driven placement solution. avoid reducing the total timing budgets, the following rebudgetting strategy can be used:

[0095] Rebudgetting is a labeling of the node r:V→Z, where Z is the set of integers. The rebudgetting label r(v) for a node v represents the amount of timing slacks moved from its output toward its inputs. The weight of an edge (u,v) after rebudgetting is denoted by:

s′(u, v)=s(u, v)+r(v)−r(u)

[0096] Let the total timing slacks of a circuit after rebudgetting be denoted by 3 S ⁡ ( G ′ ) = ∑ e ⁢ s ′ ⁡ ( e ) .

[0097] The maximum rebudgetting problem can be stated as maximizing S(G′), subject to timing constraints. One can rewrite: 4 S ⁡ ( G ′ ) = ∑ e ⁢ ( s ⁡ ( e ) + r ⁡ ( v ) - r ⁡ ( u ) ) = S ⁡ ( G ) + ∑ v ⁢ ( &LeftBracketingBar; FI ⁡ ( v ) &RightBracketingBar; - &LeftBracketingBar; FO ⁡ ( v ) &RightBracketingBar; ⁢ r ⁡ ( v ) ,

[0098] where |FI(v)| and |FO(v)| are the number of fanins and fanouts of node v. The maximum rebudgetting problem can then be formulated as the following linear program.

[0099] Minimize: 5 ∑ v ⁢ ( &LeftBracketingBar; FO ⁡ ( v ) &RightBracketingBar; - &LeftBracketingBar; FI ⁡ ( v ) &RightBracketingBar; ) ⁢ r ⁡ ( v ) ,

[0100] Subject to:

s(u, v)+r(v)−r(u)≧0

[0101] The objective function above represents the timing margin gains added to the rebudgetted circuit in relation to the original circuit. The constraint ensures that the s(e) for each edge e after rebudgetting is non-negative. This is referred to as a positive slack constraint.

[0102] The maximum rebudgetting problem can be reduced to the minimum cost network flow problem. Each edge (u,v) can be regarded as a network flow arc having infinite capacity and cost s(u,v) per unit of flow. The goal of the linear programming problem given asks that each edge is assigned a non-negative flow f(u,v) such that:

[0103] Maximize: 6 ∑ ( u , v ) ⁢ s ⁡ ( u , v ) ⁢ f ⁡ ( u , v )

[0104] Subject to: 7 ∑ V → ⁢ f ⁡ ( e ) - ∑ → V ⁢ f ⁡ ( e ) = &LeftBracketingBar; FO ⁡ ( v ) &RightBracketingBar; - &LeftBracketingBar; FI ⁢ ( v ) &RightBracketingBar;

[0105] FIG. 6A depicts exemplary illustrations of rebudgeting where positive gains on the timing margins are realized. Rebudgeting with positive gains on the timing margins can be done using the following two operators: forward and backward rebudgetting. For example:

[0106] 1. If|FO(v)|≧|FI(v)| (forward rebudgetting) then,

[0107] r(v)=rmin(v)(=mine(s(e)),e&egr;FI(v)) and g(v)=(|FO(v)−|FI(v)|)r(v);

[0108] 2. If|Fi(v)|>|FO(v)| (backward rebudgetting) then

[0109] r(v)=rmin(v)(=mine(s(e)), e&egr;FO(v)) and g(v)=(|FI(v)|−|FO(v)|)r(v).

[0110] Path 601 illustrates an example of backward rebudgetting where r(u) (that is, an edge value of u,v) is rebudgetted to each of its fanin edges i1,u and i2,u. This results in a positive gain on the total timing margin. Path 605 illustrates an example of forward rebudgetting where r(v) is rebudgetted to each of its fanout edges (v,o1) and (v,o2). If either of these backward or forward rebudgetting techniques are used, then the overall timing budgets will be increased to g(v)=(|FI(v)|−|FO(v)|)r(v) and g(v)=(|FI(v)|−|FO(v)|)(−r(v)), respectively.

[0111] Based on the above rebudgetting strategy, a Geometry-Constrained Rebudgetting problem that satisfies the triangle inequality s(u,v)>s(v,w)+s(w,u) for every cycle in graph G can then be formulated as the integer linear program below. In this case, a new variable w must be introduced to create r(u,v), r(v,w), r(w,u) in addition to r(u), r(v), r(w). FIG. 6B illustrates an exemplary circuit graph depicting variables to be used for rebudgetting while preserving triangle inequalities. These variables are required to find a solution satisfying triangle inequalities.

[0112] Therefore, Geometry-Constrained Rebudgetting is a labeling of the node r: V→Z and the edge r: E→Z in a directed circuit graph G=(V, E), where Z is the set of integers. Here, it is assumed that a graph G66 is given that has been triangulated, for example, by performing Geometry-constrained Slack Reassignment.

[0113] Geometry-Constrained Slack Rebudgetting (G2R)

[0114] Maximize:

[0115] g(u)+g(v)+g(w)−r(u,v)−r(v,w)−r(w,u),∀(u,v,w)&egr;G

[0116] where g(u)=(|FI(u)|−FO(u)|)r(u),g(v)=(|FI(v)−|FO(v)|)r(v), and

[0117] r(w)=(|FI(w)−|FO(w)|)r(w)

[0118] Subject to: (here, considering the case of triangle (u, v, w) in FIG. 6B)

[0119] Constraint 1:

s′(u,v)+s′(v,w)≧s′(w,u)

s′(u,v)+s′(w,u)≧s′(v,w)

s′(u,w)+s′(w,u)≧s′(u,v)

[0120] where

s′(u,v)=s(u,v)+r(v)−r(u)−r(u,v)

s′(v,w)=s(v,w)+r(w)−r(v)−r(v,w)

s′(w,u)=s(w,u)+r(u)−r(w)−r(w,u)

s(u,v)>r(u,v)>0

s(v,w)>r(v,w)>0

s(w,u)>r(w,u)>0

s(PI,u)>r(u)>−s(PO, u)

s(PI,v)>r(v)>−s(PO, v)

s(PI,w)>r(w)>−s(PO,w)

[0121] Constraint 2:

s(w,u)−r(w,u)>r(w)−r(u)

s(u,v)−r(u,v)>r(u)−r(v)

s(v,w)−r(v,w)>r(v)−r(w)

[0122] Constraint 3:

|r(u)|≦rmin(→u),r(u)≦0

|r(v)|≦rmin(→v),r(v)≦0

|r(w)|≦rmin(→w),r(w)≦0

r(u)≦rmin(u→),r(u)≦0

r(v)≦rmin(v→),r(v)≦0

r(w)≦rmin(w→),r(w)≦0

[0123] where

rmin(→i)=mine(s(e)),e&egr;FI(i)

rmin(→i)=mine(s(e)),e&egr;FO(i)

[0124] The objective function above represents the timing margin gains added to the rebudgetted circuit in relation to the original circuit. That is, the total slack gain G after performing the G2R algorithm will be:

G=g(u)+g(v)+g(w)−r(u,v)−r(v,w)−r(w,u))

[0125] Here s(w,PI) is the sum of timing margins on the edges in the shortest path from w to primary inputs,and s(w, PO) is the sum of timing margins on the edges in the shortest path from w to primary outputs. This value is used as a lower and upper bound for each of the retimed variables r(e).

[0126] The second and third constraints ensure that the s(e) for each edge e after rebudgetting is non-negative. Constraint 2 and Constraint 3 are redundant since Constraint 1 implies Constraint 2 (by adding two inequalities in Constraint 1), and Constraint 2 implies Constraint 3, respectively. Therefore, only Constraint 1 is needed.

[0127] A host node h is introduced that sources all “primary inputs” and sinks all “primary outputs” with dummy edges (edges having zero weight) connecting the host node with all primary inputs and primary outputs. A vertex u is strongly connected to v if two paths exist: one from a to b and another from b to a. Then:

[0128] Lemma 1

[0129] The graph G′(V′,E′), where V′=V∪h, and E′=E∪(h,i),∀i &egr;PI, ∪(h,o), ∀o&egr;PO is a strongly connected graph.

[0130] Corollary 1

[0131] If G=(V,E) is a strongly connected graph, then r(u,v)≧0,∀(u,v)&egr;E of G.

[0132] Lemma 2

[0133] In graph G′(V′,E′), a feasible solution can be found without explicitly specifying lower and upper bounds for the retimed variables in the following LP formulation.

[0134] Note that the original circuit graph G=(V,E) is usually neither a strongly connected graph nor a triangulated graph. Graph G is transformed into: G&Dgr;C=(VC=(V∪h),E&Dgr;C=(EC∪E&Dgr;), where EC are the augmented imaginary edges connecting the host node with primary and primary outputs, and E&Dgr; is the augmented imaginary edge after graph triangulation. The graph triangulation (forming a complete graph) can be done by running the Geometry-constrained Slack Reassignment algorithm (however, at this time without updating the slack values).

[0135] If there are still timing problems, the following algorithm (satisfying both triangle inequality and parity) can be applied:

[0136] Geometry-Aware Slack Re-Budgetting on G,GSRB(G2R)

[0137] Maximize:

g(u)+g(v)+g(w)−r(u,v)−r(v,w) r(w,u),∀(u,v,w) &egr;E,

[0138] where g(u)=(|FI(u)|−|FO(u)|)r(u),g(v)=(|FI(v)|−FO(v)|)r(v), and r(w)=(|FI(w)|−|FO(w)|)r(w), and FI(i) (resp. FO(i)) is the number of fanins (resp. fanouts of i&egr;V of G.

[0139] Subject to:

r(i)−r(h)≧0, ∀i&egr;PI

r(h)−r(o)≧0, ∀o&egr;PO

s′(u,v)+s′(v,w)≧s′(w,u)

s′(u,v)+s′(w,u)≧s′(v,w)

s′(v,w)+s′(w,u)≧s′(u,v),

[0140] where if (u,v), (v,w), (w,u)&egr;E then

s′(u,v)=s(u,v)+r(v)−r(u)−r(u,v)

s′(v,w)=s(v,w)+r(w)−r(v)−r(v,w)

s′(w,u)=s(w,u)+r(u)−r(w)−r(w,u)

[0141] else if (i,j)&egr;E66, then

s′(i,j)=d(i,j)

s′(i,j)>1,∀(i,j)&egr;E∪E&Dgr;

[0142] Here the variable r(i), ∀i&egr;(V∪h) is unconstrained, but the value is always positive because of introducing the host node, the variable r(i,j)≧0, ∀(i,j)&egr;E, and the variable d(i,j)≧0, ∀(i,j)&egr;E&Dgr;. PI(G) (resp. PO(G)) is defined as the set of nodes that has no incoming (resp. outgoing arcs) arcs in G. The last constraint is required to avoid cell overlaps in the same location.

[0143] FIGS. 7A-7B are exemplary illustrations of rebudgeting results using geometry-aware slack distribution (rebudgetting) algorithms applied to the circuit graph of FIG. 3 according to an aspect of the present invention. The goal in rebudgetting the slacks is to maximize the total slack while satisfying the triangle inequality rule. FIG. 7A illustrates slack rebudgetting which satisfies the triangle inequality rule. Here, the total slack is increased to 21. Host node h (701) is introduced to propagate a retimed value of 5 from a fanin edge h,1 to fanout edges 1,5 and 1,3, and so forth (the rebudgetting is done through all the paths in a continuous loop). The values in boxes 703 represent the retimed slack results for each node using the GSRB algorithm. It is to be noted that the total slack amount of 21 does not include the values 703.

[0144] FIG. 7B illustrates slack rebudgetting which satisfies both the triangle inequality rule and parity. Here, for example, the total slack is increased to 20. FIG. 7C illustrates an exemplary slack reassignment satisfying the triangle inequality rule without rebudgetting the slack. Although the slack reassigment algorithm is a much faster algorithm, it does not maximize the total slack; in fact, it reduces it (for example, here the total slack is 15).

[0145] Compared with the initial circuit graph of FIG. 3, applying the GSRB algorithm results in a slack gain of 3 units (from 21 to 18), while applying GSRA reduces the total slacks by 3 units (from 18 to 15). Note that triangulization does not affect the total timing slacks since the total slacks are maximized on circuit edges (shown in solid lines in FIGS. 7A-7C) only.

[0146] To incorporate the triangle parity constraints mentioned above, for each cycle (u,v,w) in graph G, the following additional constraints are needed:

s(u,v)=a020+a121+a222+a323+. . . +ak2k

s(v,w)+s(w,u)=b02+b121+b222+b323+. . . +bk2k

a0=b0,

[0147] where a0, a1, . . . ak, b0, b1, . . . bk are 0,1 variables, and k is the maximum value such that a020+a121+a222+a323+. . . +ak is less than the maximum slack in G.

[0148] Since the overall timing budgets on each path has not been increased, we have a situation where both GSRA and GSRB generate a solution which satisfies timing constraints.

II. Timing-Driven 4-Way Multi-Level Mincut Partitioning

[0149] Once a timing budget is assigned for each net, the circuits are divided into segments in a partitioning step using, for example, a multilevel partitioning mincut algorithm. The objective of the mincut partitioning step is to divide the circuits into a required number of segments to minimize the number of global nets (i.e., nets which span multiple segments). It is mandatory to use some partitioning approach as design complexity continues to increase. The partitioning problem can be formed as follows:

[0150] Given a graph G=(V,E) with weights on the edges and vertices and a parameter &phgr;, find a partitioning of the vertices of G into &phgr; sets in such a way that the sums of the vertex weights in each set are as equal as possible, and the sum of the weights of edges crossing between sets is minimized.

[0151] A brief description of an overall partitioning algorithm is as follows:

[0152] Algorithm multilevel timing-concerned partitioning (MTP):

[0153] 1. Perform Connectivity-aware Slack Reassignment (CSRA) on G=(V,E).

[0154] 2. Until G is small enough (e.g., |V|=5000):

[0155] G=coarsen(G); (i.e., minimize the timing budget by clustering)

[0156] 3. Perform GSRA or GSRB on the coarsened graph G and perform Congestion-Aware Timing-Driven Partitioning CAP(i) on G.

[0157] 4. Until the coarsened graph G=original graph G:

[0158] uncoarsen the graph;

[0159] partition the uncoarsened graph as described in Step 3 using CAP(i).

[0160] Mincut is effective for minimizing the number of nets crossing the cutline (cut nets) in the upper level of hierarchy, thus the wirelength can be decreased for the highly connected networks in the smaller region of the lower level of hierarchy. (The graph formed by the cut nets will be referred to as GC).

[0161] There are three different stages in a multilevel graph partitioning algorithm. Initially, a sequence of smaller and smaller graphs is created from the original graph (coarsening). Then, the smallest graph in the sequence is partitioned carefully (partitioning). Next, the partition is propagated back through the sequence of grids (uncoarsening), with an occasional local refinement. A solution is approximated using a fast heuristic such that the computational costs of constructing coarse graphs and the local improvement algorithms are both proportional to the number of edges in the graph.

[0162] Cell congestion (i.e., cell overlaps) is closely related to the partitioning strategy. By maximizing the minimum timing budget of the nets crossing the cutlines during partitioning, advantageously, the probability of finding a legal (i.e., where cells have no overlap) solution is increased. Cycles having a smaller radius (slack margin of the net crossing cutline diagonally) and a smaller diameter(sum of slack margins assigned to nets in the cycle) formed by paths crossing cutlines result in cell overlaps. These cycles are known as critical cycles. To reduce the possibility of cell overlaps, during partitioning, such critical cycles are minimized.

[0163] Maximizing the timing budget during partitioning can be done during timing-driven clustering in the multilevel partitioning. That is, cell congestion (cell overlap) is correlated with slack distribution. In order to minimize the possibility of cell overlaps (and thus maximize the porosity), the following weighted cell overlap contribution metric can be used: 8 d cell = ∑ s max s = 1 ⁢ 1 γ ⁡ ( s ) ⁢ n s

[0164] where &ggr;(s)=s(2s+2), the number of grids in the rectilinear circle with rectilinear radius minus 1. Here, the: 9 1 γ ⁡ ( s )

[0165] indicates the probability of cell overlaps. The same result can be obtained by using a clustering, thus dcell is not included in cost function of partitioning. Thus, a new congestion-driven mincut cost incorporating wire and cell congestion will be C=∝dwire+(1∝)dcell, where C is a cost function and ∝ measures the relative importance between dwire and dcell, and can be found by linear regression from the result of routing.

[0166] To meet the objective of congestion mitigation being consistent in terms of wirelength, we first apply a mincut algorithm with the cost function C and apply the GSRB algorithm to G with a new objective function such that we maximize the timing budgets on GC and minimize the timing budgets on G-GC. In this manner, strongly connected clusters are assigned lower timing budgets and weakly connected clusters are assigned greater timing budgets. This slack budget management is referred to as Connectivity-aware Slack Re-assignment (CSRA).

[0167] After applying the above multilevel partitioning algorithm (MTP), critical cycles are evenly distributed over the plane and appear in the low level of the top-down partitioning hierarchy. Alleviating the congestion in a local area is equivalent to evenly distributing the layout resource elements (cells and wires) over the entire chip area. Thus, at each level of top-down hierarchy, a quad-tree partitioning strategy is performed:

[0168] Quad-tree partitioning is an approach to region representation based on the successive subdivision of a plane into quadrants. This process can be represented by a quad-tree. A root node corresponds to the entire plane. Each son of a root node represents a quadrant. Each root node comprises four quadrants labeled in counter clock-wise order Q1, Q2, Q3, and Q4, from the right upper quadrant and four cutlines C1 (between Q1 and Q2), C2 (between Q2 and Q3), C3 (between Q3 and Q4) and C4 (between Q4 and Q1). The total timing slacks assigned on nets in qi during partitioning is denoted by s(qi). The total cell area assigned in qi during partitioning is denoted by a(i). The capacity of cutline ci is denoted by d(ci). The total timing slacks assigned on the nets crossing the cutline ci is denoted by s(ci), and the total number of nets crossing the cutline ci is denoted by n(ci). Leaf nodes of the quad tree correspond to a grid cell or a region with a functional block for which no further subdivision is necessary. A leaf node is occupied by basic cells, functional block, or clusters.

[0169] Q(i) denotes the quadrant region where cell i is assigned to and w(i,p) denotes the timing window region generated by s(i,p), which is the timing slack between cell i and I/O cell p.

[0170] The timing-driven partitioning problem can be effectively solved by an assignment technique in which each module and net is assigned to one of the four timing-closed quadrants.

[0171] The assignment technique can be formulated as a linear programming algorithm (described below). The smaller the total slacks on the cutlines, the higher the probability of finding a feasible solution, which reduces the possibility of cell overlaps in future placements at a lower level of the top-down partitioning hierarchy, and thus the more flexibility in reducing total wirelength during the top-down partitioning hierarchy.

[0172] Congestion-Aware Timing-Driven Partitioning (CAP(i)) on G=(V,E):

[0173] Minimize 10 ∑ i = 1 4 ⁢ n ⁡ ( i )

[0174] Subject to:

[0175] Cutline Capacity Constraints:

n(i)≦d(ci),i=(1,2,3,4)

[0176] Cut-nets Distribution Constraints: 11 n ⁢ ( i ) ≥ n 2 i + 1 ⁢ ( m + 1 ) ,

[0177] where the right hand side is the low bound on channel capacity, n is the number of nets and m is the chip size.

[0178] Bin Capacity Constraints

ab(i)≦avgAU, i=(1,2,3,4)

[0179] where ab(i)=area−modules(qi)+ 12 a ⁢   ⁢ b ⁡ ( i ) = area - modules ⁡ ( q i ) + area ⁡ ( c i : cutlines ⁢   ⁢ adjacent ⁢   ⁢ to ⁢   ⁢ q i ) 2 + area - nets ⁡ ( q i )

[0180] +area−nets(qi) and avgAU= 13 a ⁢   ⁢ v ⁢   ⁢ g ⁢   ⁢ A ⁢   ⁢ U = w ⁢   ⁢ s × S + w ⁢   ⁢ b × B 4 ,

[0181] where ws is wire unit are, S is the total slacks in G, and wb is cell unit area and B is the total number of modules in G. The upper-bound avgAU=avgAU+a.

[0182] Bin Resources Distribution Constraints:

ab(i)≧avgAL, i=(1,2,3,4)

[0183] The lower-bound: avgAL=avgA−a.

[0184] Timing Constraints:

q(i)∩w(i,P)≠0,i&egr;V

[0185] The overall placement algorithm is as follows:

[0186] Geometry-Aware Top-down Placement (GTP)

[0187] 1. Partition a circuit graph into 4 subgraphs by performing a multilevel timing-concerned partitioning (MTP) to find a mincut and to assign each of the subgraphs into a quadrant so as to satisfy the timing constraints between already placed cells (e.g., I/O pads) in a previous level of the top-down hierarchy and subgraphs.

[0188] 2. Perform Timing Window Generation and Module Assignment (described in the following section) for nets crossing 4 cutlines. Assign each net to channels on the four cutlines creating a pseudo-terminal. The fixed channel location of the pseudo terminal on the cutlines acts as an I/O pad for the quadrants, q1, q2, q3, and q4 (i.e., terminal propagation).

[0189] 3. Repeat the above procedures for each subgraph qi until a leaf node of the quad-tree is reached.

[0190] In step 1 above, path slacks between the already-placed cell in a previous level and the cell in the current level of the top-down hierarchy need to be checked. In the second iteration of GTP, one of the partitioning constraints &dgr;s(qi), as described above, is adjusted to further alleviate congestion.

III. Timing Window Generation and Module Assignment

[0191] Next, a module assignment algorithm is performed at each level of the mincut hierarchy. FIGS. 8A-F illustrate an exemplary overall application of a method of module placement according to an aspect of the present invention. Initially, in FIG. 8A, a circuit graph is provided comprising modules 800 connected by edges 801, the edges having slack values assigned according to the geometry aware slack distribution algorithm of the present invention. In addition, clusters 802 are formed from critical nets. In FIG. 8B, a mincut is performed to reduce the number of edges crossing cutlines 803 at a first level of hierarchy (top level 1). Next, FIG. 8C illustrates timing windows 805 generated for each module 800 on a placement grid 807, where each of the modules are assigned to their respective timing window at level 1 of the hierarchy. It is important to note that the cycle (f,b,d) was placed simultaneously at level 1. Once the modules in the first hierarchy are placed, mincut is performed in FIG. 8D on the set of edges on the cutlines (represented by dotted lines) at a next level of hierarchy (level 2). Then, in FIG. 8E the modules attached to the nets (represented by solid lines in FIG. 8D) are placed on the placement grid 807. FIG. 8F illustrates a next level of hierarchy (level 3) of the top-down placement process. Note that module c is not assigned to an exact location until this lower level (level 3) of hierarchy is processed.

[0192] FIG. 9A depicts another example of an initial circuit graph G=(V,E) 901 comprising node labels V 903 (V=1, 2, . . . , 8) attached by edges E 905. Each edge 905 includes an edge label comprising an edge ID 907 (E=1, 2, . . . 12) and a given feasible slack value 909. Each slack value is assigned using, for example, a geometry-aware slack distribution algorithm according to an aspect of the present invention satisfying geometric constraints such as triangle parity and inequality.

[0193] FIG. 9B illustrates an exemplary placement grid 910 having fixed labeling comprising bin and channel labels (addresses). Each quadrant comprises 9 bins; for example, quadrant 912 includes bins 1, 5, 6, 7, 8, 21, 22, 23 and 24. Bin 1 includes bins 21-24, bin 5 includes 21 and 22, bin 7 includes bins 23 and 24, bin 6 includes bins 22 and 23, and bin 8 includes bins 21 and 24. Each bin is labeled in a counter-clockwise fashion within each quadrant; bins 1-4 are also labeled in a counter-clockwise fashion starting from quadrant 912. Placement grid includes channel labels for labeling each of the four cutlines separating each quadrant (C=c , c12, . . . c42)

[0194] FIG. 9C illustrates an exemplary timing-driven partitioning of the circuit graph 901 into four quadrants 914, 916, 918 and 920 based on a min-slack cut for maximizing resource balancing. The circuit graph is partitioned into segments such that global nets (nets which span multiple segments) are minimized. FIG. 9D illustrates an exemplary timing-closed placement of the modules 903 onto the placement grid 910 and nets (edges) into channels according to an aspect of the present invention (the bin and channel labels here are not shown). Each module is placed into a target timing-closed window region, for example, module 1 is placed in bin 5, module 2 in bin 6, module 4 in bin 28, etc. The placement is situated such that straight connections and window sizes are maximized. Note that in the FIG. 9D, module 1 is allocated to bin 5 rather than assigning to an exact basic bin location. The exact module placements are deferred to a lower level of hierarchy.

[0195] The goal is to assign each module to a target timing-closed window region. A linear programming algorithm can be used to find an assignment of the modules.

[0196] The linear program described below has the following constraints with (0,1) variable of yibj, xibj, and xicj, where yibj=1 if a cell i is assigned to timing window j, xibj=1 if a net i is assigned to bin j, and xicj=1 if a net i is assigned to cut-channel j. To assign cells to bins and nets to channels, the labels as shown in FIG. 9B are used here for illustrative purposes.

[0197] Linear Programming Algorithm: Module Assignment

[0198] Maximize TW+ST, where TW is the size of timing windows assigned to nodes and ST is the set of configurations for straight connections. That is: max:

[0199] w13c11+w13c12+w24c11+w24c12+w75c31+w75c32+w86c31+w86c32+w35c21+w35c22+w46c21+w46c22+w28c41+w28c42+w17c41+w17+c42+y1b5+y1b6+y1b7+y1b8+y2b6+y2b7+y3b9+y3b10+y3b11+y3b12+y4b11+y4b12+y5b13+y5b14+y5b15+y5b16+y6b13+y6b16+y7b17+y7b18+y7b19+y7b20+y8b17+y8b18;

[0200] Subject to:

[0201] Assignment Constraint: All Possible Configurations Inside Timing-Windows

[0202] y1b5+y1b6+y1b7+y1b8+y1b21l+y1b22+y1b23+y1b24=1;

[0203] y3b9+y3b10+y3b11+y3b12+y3b25+y3b26+y3b27+y3b28=1;

[0204] y5b 13+y5b14+y5b15+y5b16+y5b29+y5b30+y5b31+y5b32=1;

[0205] y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36=1;

[0206] y2b6+y2b7+y2b22+y2b23+y2b24=1;

[0207] y4b11+y4b12+y4b25+y4b27+y4b28=1;

[0208] y6b13+y6b16+y6b29+y6b30+y6b32=1;

[0209] y8b17+y8b18+y8b33+y8b34+y8b35=1;

[0210] Net Connectivity Constraint

[0211] /*center nets with slacks=3 radius=3 from center*/y1b5+y1b6+y1b7+y1b8+y1b21+y1b22+y1b23+y1b24=y3b9+y3b10+y3b11+y3b12+y3b25+y3b26y3b27+y3b28;

[0212] y3b9+y3b10+y3b11+y3b12+y3b25+y3b26+y3b27+y3b28=y5b13+y5b14+y5b15+y5b16+y5b29+y5b30+y5b31+y5b32;

[0213] y5b13+y5b14+y5b15+y5b16+y5b29+y5b30+y5b31+y5b32=y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36;

[0214] y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36=y1b5+y1b6+y1b7+y1b8+y1b21+y1b22+y1b23+y1b24;

[0215] /*center nets with slacks=2 radius=2 from center*/y2b6+y2b7+y2b22+y2b23+y2b24=y4b11+y4b12+y4b25+y4b27+y4b28;

[0216] y4b11+y4b12+y4b25+y4b27+y4b28=y6b13+y6b16+y6b29+y6b30+y6b32;

[0217] y6b13+y6b16+y6b29+y6b30+y6b32=y8b17+y8b18+y8b33+y8b34+y8b35;

[0218] y8b17+y8b18+y8b33+y8b34+y8b35=y2b6+y2b7+y2b22+y2b23+y2b24;

[0219] 25/*side nets with slack2*/y1b5+y1b6+y1b7+y1b8+y1b21+y1b22+y23+y1b24=y2b6+y2b7+y2b22+y2b23+y2b24;

[0220] y3b9+y3b10+y3b11+y3b12+y3b25+y3b26+y3b27+y3b28=y3b28=y4b11+y4b12+y4b25+y4b27+y4b28;

[0221] y5b13+y5b14+y5b15+y5b16+y5b29+y5b30+y5b31+y5b32=y6b13+y6b16+y6b29+y6b30+y6b32;

[0222] y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36=y8b17+y8b18+y8b33+y8b34+y8b35;

[0223] This constraints represents a netlist associated with module assignment. Here all assignments is needed to be timing-closed so that all delays between the nodes satisfies the timing constraints. Thus we need the following constraints:

[0224] Timing Resolution Constraint

[0225] *remove timing violations for nets with slack=3*/y1b8+y3b9≦1;y1b8+y3b10 ≦1; y1b8+y3b11≦1; y1b8+y3b12≦1;

[0226] y1b5+y7b17≦1; y1b5+y7b18≦1; y1b5+y1b19≦1; y1b5+y7b20≦1;

[0227] y7b20+y5b13≦1; y7b20+y5b14≦1; y7b20+y5b15≦1;y7b20+y5b16≦1;

[0228] y7b19+y1b5≦1; y7b19+y1b6≦1; y7b19+y1b7≦1;y7b19+y1b8≦1;

[0229] y3b9+y5b13≦1; y3b9+y5b14≦1; y3b9+y5b15≦1;y3b9+y5b16≦1;

[0230] y3b10+y1b5≦1; y3b10+y1b6≦1; y3b10+y1b7≦1;y3b10+y1b8≦1;

[0231] y5b15+y3b9≦1; y5b15+y3b10≦1; y5b15+y3b11≦1;y5b15+y3b12≦1;

[0232] y5b14+y7b17≦1; y5b14+y7b18≦1; y5b14+y7b19≦1;y5b14+y7b20≦1;

[0233] /*remove timing violations for nets with slack=2*/y2b6+y4b11≦1; y2b6+y4b12≦1; y2b7+y4b11≦1; y2b7+y4b12≦1;

[0234] y4b11+y6b13≦1; y4b11+y6b16≦1; y4b12+y6b13≦1; y4b12+y6b16≦1;

[0235] y6b13+y8b17≦1; y6b13+y8b18≦1; y6b16+y8b17≦1; y6b16+y8b18≦1;

[0236] y8b17+y2b6≦1; y8b17+y2b7≦1; y8b18+y2b6≦1; y8b18+y2b18≦1;

[0237] y2b22+y4b11≦1; y2b22+y8b17≦1; y2b22+y8b18≦1;

[0238] y2b24+y4b11≦1; y2b24+y4b12≦1; y2b24+y8b18≦1;

[0239] y4b27+y6b16≦1; y4b27+y2b6≦1; y4b27+y2b7≦1;

[0240] y4b25+y6b16≦1; y4b25+y6b13<1; y4b25+y2b7≦1;

[0241] y6b32+y8b17≦1; y6b32+y4b11≦1; y6b32+y4b12≦1;

[0242] y6b30+y8b17≦1; y6b30+y8b18≦1; y6b30+y4b12≦1;

[0243] y8b33+y2b6≦1; y8b33+y6b13≦1; y8b33+y6b16≦1;

[0244] y8b35+y2b6≦1; y8b35+y2b7≦1; y8b35+y6b13≦1;

[0245] y2b22+y4b27≦1; y2b24+y4b27≦1; y2b24+y4b25≦1;

[0246] y4b27+y6b32≦1; y4b25+y6b30≦1; y4b25+y6b32≦1;

[0247] y6b30+y8b33≦1; y6b30+y8b35≦1; y6b32+y8b33≦1;

[0248] y8b33+y2b22≦1; y8b35+y2b22≦1; y8b35+y2b24≦1;

[0249] Channel Capacity Constraint

[0250] 1+x1c11+x1c12=y1b5+y1b6+y1b7+y1b8+y1b21+y1b22+y1b23+y1b24+y3b9+y3b b+y3b11+y3b12+y3b25+y3b26+y3b27+y3b28;

[0251] 1+x2c11+x2c12=y2b6+y2b7+y2b22+y21b23+y2b241+y4b11+y4b12+y4b25+y4b27+y4b28;

[0252] 130 x9c21+x9c22=y3b9+y3b10 +y3b11+y3b12+y3b27y3b28+y5b13+y5b14+y5b15+y5b16+y5b29+y5b30+y5b31+y5b32;

[0253] 1+x10c21+x10c22=y4b11+y4b12+y4b25+y4b27+y4b28+y6b13+y6b16+y6b29+y6b30+y6b32;

[0254] 130 x6c31+x6c32=y8b17+y8b18+y8b33+y8b34+y8b35+y6b13+y6b16+y6b29+y6b30+y6b32;

[0255] 1+x5c31+x5c32=y5b13+y5b14+y5b15+y5b16+y5b29+y5y5b30y5b31y5b32+y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36;

[0256] 1+x11c41+x11c42=y2b6+y2b7+y2b22+y2b23+y2b24+y8b17+y8b18+y8b33+y8b34+y8b35;

[0257] 130 x12c41+x12c42=y1b5+y1b6+y1b7+y1b8+y1b21+y1b22+y1b23+y1+y1b24+y7b17+y7b18+y7b19+y7b20+y7b33+y7b34+y7b35+y7b36;

[0258] /*≦channel capacity obtained by partitioning*/x1c11+x2c11≦1; x1c12+x2c12≦1; x9c21+x10c21≦1; x9c22+x10c22+x10c22≦1;

[0259] x5c31+x6c31≦1; x5c32+x6c32≦1; x11c41+x12c41≦1; x11c42+x12c42 ≦1;

[0260] Straight Connections Constraint

[0261] y1b5+y1b21+y1b22+y3b9+y3b25+y3b26+x1c11=w13c11;

[0262] y1b7+y1b23+y1b24+y3b11+y3b27+y3b28+x1c12=w13c12;

[0263] y2b22+y4b25+x2c11=w24c11;

[0264] y2b7+y2b23+y2b24+y4b11+y4b27+y4b28+x2c12=w24c12

[0265] y7b17+y7b33+y7b34+y5b13+y5b29+y5b30+x5c31=w75c31;

[0266] y7b19+y7b35+y7b36+y5b15+y5b31+y5b32+x5c32w75c32;

[0267] y8b17+y8b33+y8b34+y6b13+y6b29+y6b30+x6c31=w86c31;

[0268] y8b35+y6b32+x6c32=w86c32;

[0269] y3b10+y3b26+y3b27+y5b14+y5b30+y5b31+x9c21=w35c21;

[0270] y3b12+y3b25+y3b28+y5b16+y5b29+y5b32+x9c22=w22c22;

[0271] y4b27+y6b30+x10c21=w46c21;

[0272] y4b12+y4b25+y4b28+y6b16+y6b29+y6b32+x10c22=w46c22;

[0273] y2b6+y2b22+y2b23+y8b18+y8b34+y8b35+x11c41=w28c41;

[0274] y2b24+y8b33+x11c42=w28c42;

[0275] y1b6+y1b22+y1b23+y7b18+y7b34+y7b35+x12c41=w17c41;

[0276] y1b8+y1b21+y1b24+y7b20+y7b33+y7b36+x12c42=w17c42;

[0277] /*not allowing two-turn detours; LHS is maximized by cost function*/yb5+y1b21+y1b22+y3b9+y3b25+y3b26≧x1c11;

[0278] y1b7+y1b23+y1b24+y3b11+y3b27+y3b28≧x1c12;

[0279] y2b22+y4b25≧x2c11;

[0280] y2b7+y2b23+y2b24+y4b11+y4b27+y4b28≧x2c12

[0281] y7b17+y7b33+y7b34+y5b13+y5b29+y5b30≧x5c31;

[0282] y7b19+y7b35+y7b36+y5b15+y5b31+y5b32≧x5c32;

[0283] y8b17+y8b33+y8b34+y6b13+y6b29+y6b30≧x6c31;

[0284] y8b35+y6b32≧x6c32;

[0285] y3b10+y3b26+y3b27+y5b14+y5b30+y5b31≧x9c21;

[0286] y3b12+y3b25+y3b28+y5b16+y5b29+y5b32≧x9c22;

[0287] y4b27+y6b30≧x10c21;

[0288] y4b12+y4b25+y4b28+y6b16+y6b29+y6b32≧x10c22;

[0289] y2b6+y2b22+y2b23+y8b18+y8b34+y8b35+≧x11c41;

[0290] y2b24+8b33≧x11c42;

[0291] y1b6+y1b22+y1b23+y7b18+y7b34+y7b35+≧x12c41;

[0292] y1b8+y1b21+y1b24+y7b20+y7b33+y7b36+≧x12c42;

[0293] These constraints removes the two-bend (two-turn) detours.

[0294] Bin Capacity Constraint

[0295] y1b6+y2b6≦2; y1b7+y2b7≦2; y3b11+y4b11≦2; y3b12+y4b12≦2;

[0296] y5b13+y6b13≦2; y5b16+y6b16≦2; y7b17+y8b17≦2; y7b18+y8b18≦2;

[0297] y1b22+y2b22≦1; y1b23+y2b23≦1; y1b24+y2b24≦1;

[0298] y3b25+y4b25≦1; y3b27+y4b27≦1; y3b28+y4b28≦1;

[0299] y5b29+y6b29≦1; y5b30+y6b30≦1; y5b32+y6b32≦1;

[0300] (0,1) Integer Variables Constraint

[0301] y1b5≦1; y1b6≦1; y1b7≦1; y1b8≦1; y1b21≦1;y1b22≦1; y1b24≦1;

[0302] y2b6≦1; y2b7≦1; y2b22≦1; y2b23≦1; y2b24≦1;

[0303] y3b9≦1; y3b10≦1; y3b11≦1; y3b12≦1; y3b25≦1;y3b26≦1; y3b27≦1; y3b28≦1;

[0304] y4b11≦1; y4b12≦1; y4b25≦1; y4b27≦1; y4b28≦1;

[0305] y5b13≦1; y5b14≦1; y5b15≦1; y5b16≦1; y5b29≦1;y5b30≦1; y5b31≦1; y5b32≦1;

[0306] y6b13≦1; y6b16≦1; y6b29≦1; y6b30≦1; y6b32≦1;

[0307] y7b17≦1; y7b18≦1; y7b19≦1; y7b20≦1; y7b33≦1;y7b34≦1; y7b35≦1; y7b36≦1;

[0308] y8b17≦1; y8b18≦1; y8b33≦1; y8b34≦1; y8b35≦1;

[0309] x1c11≦1; x1c12≦1; x2c11≦1; x2c12≦1; x9c21≦1;x9c21≦1;x9c22≦1; y10c21≦1;

[0310] y10c22≦1; x6c31≦1; x6c32≦1; x5c31≦1; x5c32≦1;x11c41≦1; x11c42≦1;

[0311] x12c41≦1; x12c42≦1;

[0312] FIGS. 10A-C illustrate exemplary steps of generating a timing window for level i considering timing windows generated in previous levels i=1 and i=2. FIG. 10A illustrates a given subgraph of an edge (a,b) having a slack value of 4. FIG. 10B illustrates a timing window 1000 generated at level i-2 (here, a highest level of hierarchy) for module a, and a timing window 1002 generated for module b at level i-1 (a next lower level of hierarchy). FIG. 10B includes cut lines generated at level i-2 (1004), cut lines generated at level i-1 (1006) and cutlines at level i (1008). The timing window for edge (a,b) is generated at a current level i such that □(ai-2)∩□ (ai)≠Ø and □ (bi-2)∩□ (bi)≠Ø (we refer to the constraints as timing window closure constraints), where □ (ai) denotes the timing window for node a at level i of the top-down partition. A top-down partition is used here to get a more exact location for each module in the lower levels of the hierarchy. Here, module a for example, is assigned to an address in the highest level of hierarchy, but not to an exact location. In the current level i, module a is assigned to the upper right bin of timing window 1000. FIG. 10C illustrates an exemplary timing window 1010 generated for edge (a,b) at level i.

[0313] Note that the lower level of hierarchy where the possibility of overflow is increased has a smaller configuration space. Therefore, a feasible solution can be found by using a set of different slack distributions as well as increasing the number of timing window configurations.

[0314] Thus, an effective timing-driven placement that also takes the routing congestion and wirelength into consideration is reached where all nets meet timing constraints with absolute timing budgets. Based on these features, good global placement results can be achieved without excessive computation time.

[0315] It is to be noted that the basic algorithms described in this paper can be easily extended to cells with different sizes such that cell width and height are multiples of basic units. For example, as shown in FIG. 11A, a graph 1103 associated with a multiple-unit cell 1101 can be formed such that there are imaginery edges between two adjacent basic cells with a corresponding edge weight. For example, here the edge weight corresponds to a fixed timing budget (one grid unit corresponds to a unit timing budget).

[0316] In FIG. 11B, the graph 1105 can generate different shapes (e.g., a straight or bended shape). To generate a particular shape of a multiple-sizes cell 1106, an edge can be assigned an attribute which regards to its corresponding shape. For example, graph 1105 corresponds to an alternate placement configuration such that cell a is above cell b and cell c is to the right of cell b. Here, the attributes can be, for example, (a,c):L, (a,b):|, (b,c):-, where “L”, “|” and “-” correspond to L-shaped, horizontal and vertical placement respectively, of two cells.

[0317] Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those precise embodiments, and that various other changes and modifications maybe affected therein by one skilled in the art without departing from the scope or spirit of the invention. All such changes and modifications are intended to be included within the scope of the invention as defined by the appended claims.

Claims

1. A method for placing circuit elements on semiconductor chips comprising the steps of:

a) creating a circuit graph including cutlines, said circuit graph comprising said circuit elements connected by nets for placement on a placement grid;
b) clustering critical nets in the circuit graph;
c) assigning a timing budget for each net using at least one of a plurality of slack distribution algorithms satisfying at least one geometric constraint;
d) partitioning the circuit graph using a mincut algorithm;
e) generating a timing window region on the placement grid for each net which is less than or equal to each net's respective timing budget; and
f) assigning the circuit elements attached to each net to each of their respective timing window regions.

2. The method of claim 1, wherein the geometric constraint is a triangle inequality rule or a triangle parity rule.

3. The method of claim 1, wherein the step of partitioning further comprises:

performing a connectivity aware slack reassignment on the circuit graph to assign densely connected clusters a lower timing budget and weakly connected clusters a higher timing budget; and
partitioning the circuit graph into four subgraphs to reduce a number of edges crossing cutlines at a first level of hierarchy.

4. The method of claim 1, wherein the placement grid comprises a plurality of bins for placement of the circuit elements, and channels for placement of the nets.

5. The method of claim 2, wherein the step of assigning a timing budget further comprises using a geometry constrained slack reassignment algorithm for assigning timing budgets which satisfy the triangle inequality rule for every cycle in the circuit graph.

6. The method of claim 2, wherein the step of assigning a timing budget further comprises using a geometry constrained slack rebudgetting algorithm for assigning timing budgets which satisfy the triangle inequality rule for every cycle in the circuit graph.

7. The method of claim 2, wherein the step of assigning a timing budget further comprises using a geometry constrained slack rebudgetting algorithm for assigning timing budgets which satisfy the triangle inequality rule and the triangle parity rule.

8. The method of claim 2, wherein the triangle inequality rule provides that a sum of the timing budgets of any two edges of a cycle is equal to or greater than the timing budget of the third edge.

9. The method of claim 2, wherein the triangle parity rule provides that a sum of the timing budgets of any two edges of a cycle is of a same parity as the timing budget of the third edge.

10. A method for determining placement of circuit elements comprising the steps of:

describing a circuit image as a graph comprising circuit elements connected by edges;
assigning a timing budget for each edge using a geometry-aware slack distribution algorithm which satisfies at least one geometric constraint;
generating a timing window region on a placement grid for each edge, said timing window region being equal to or less than the timing budget for the respective edge; and
assigning the circuit elements attached to each edge to each of their respective timing window regions.

11. The method of claim 10, wherein the geometric constraint is a triangle inequality rule or a triangle parity rule.

12. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform the method steps for placing circuit elements on semiconductor chips, the method comprising the steps of:

a) creating a circuit graph including cutlines, said circuit graph comprising said circuit elements connected by nets for placement on a placement grid;
b) clustering critical nets in the circuit graph;
c) assigning a timing budget for each net using at least one of a plurality of slack distribution algorithms satisfying at least one geometric constraint;
d) partitioning the circuit graph using a mincut algorithm;
e) generating a timing window region on the placement grid for each net which is less than or equal to each net's respective timing budget; and
f) assigning the circuit elements attached to each net to each of their respective timing window regions.

13. The program storage device of claim 12, wherein the geometric constraint is a triangle inequality rule or a triangle parity rule.

14. The program storage device of claim 12, wherein the step of partitioning further comprises:

performing a connectivity aware slack reassignment on the circuit graph to assign densely connected clusters a lower timing budget and weakly connected clusters a higher timing budget; and
partitioning the circuit graph into four subgraphs to reduce a number of edges crossing cutlines at a first level of hierarchy.

15. The program storage device of claim 12, wherein the placement grid comprises a plurality of bins for placement of the circuit elements, and channels for placement of the nets.

16. The program storage device of claim 13, wherein the step of assigning a timing budget further comprises using a geometry constrained slack reassignment algorithm for assigning timing budgets which satisfy the triangle inequality rule for every cycle in the circuit graph.

17. The program storage device of claim 13, wherein the step of assigning a timing budget further comprises using a geometry constrained slack rebudgetting algorithm for assigning timing budgets which satisfy the triangle inequality rule for every cycle in the circuit graph.

18. The program storage device of claim 13, wherein the step of assigning a timing budget further comprises using a geometry constrained slack rebudgetting algorithm for assigning timing budgets which satisfy the triangle inequality rule and the triangle parity rule.

19. The program storage device of claim 13, wherein the triangle inequality rule provides that a sum of the timing budgets of any two edges of a cycle is equal to or greater than the timing budget of the third edge.

20. The program storage device of claim 13, wherein the triangle parity rule provides that a sum of the timing budgets of any two edges of a cycle is of a same parity as the timing budget of the third edge.

Patent History
Publication number: 20030005398
Type: Application
Filed: Apr 11, 2001
Publication Date: Jan 2, 2003
Inventors: Jun-Dong Cho (Millwood, NY), David S. Kung (Chappaqua, NY)
Application Number: 09832623
Classifications
Current U.S. Class: 716/8
International Classification: G06F009/45;