Multiple level spine routing is disclosed. In some embodiments, in response to receiving a specification of a net comprising a set of pins, a first wire for routing the net is generated, the set of pins comprising the net is partitioned into one or more groups based at least in part on a cost function, a second wire that connects to the first wire is generated for each group of the net, and a third wire that connects each pin to the second wire of its group is generated for each pin of each group of the net.
|
11. A system for routing a net, comprising:
a processor configured to:
receive a specification of a net comprising a plurality of pins;
generate a first wire for routing the net;
partition the plurality of pins into one or more groups of pins based at least in part on a cost function;
for each group of pins of the net, generate a second wire that connects to the first wire; and
for each pin of each group of pins of the net, generate a third wire that connects the pin to the second wire of its group of pins; and
a memory coupled to the processor and configured to provide the processor with instructions.
19. A computer program product for routing a net, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
receiving a specification of a net comprising a plurality of pins;
generating a first wire for routing the net;
partitioning the plurality of pins into one or more groups of pins based at least in part on a cost function;
for each group of pins of the net, generating a second wire that connects to the first wire; and
for each pin of each group of pins of the net, generating a third wire that connects the pin to the second wire of its group of pins.
1. A method for routing a net, comprising:
receiving, at one or more computer systems, information indicative of a specification of a net comprising a plurality of pins;
generating, using the one or more computer systems, a first wire for routing the net;
partitioning, using the one or more computer systems, the plurality of pins into one or more groups of pins based at least in part on a cost function;
for each group of pins of the net, generating, using the one or more computer systems, a second wire that connects to the first wire; and
for each pin of each group of pins of the net, generating using the one or more computer systems, a third wire that connects the pin to its associated second wire.
2. The method recited in
3. The method recited in
5. The method recited in
6. The method recited in
7. The method recited in
8. The method recited in
9. The method recited in
10. The method recited in
12. The system of
14. The system of
16. The system of
18. The system of
20. The computer program product of
21. The computer program product of
22. The computer program product of
23. The computer program product of
24. The computer program product of
25. The computer program product of
|
This application claims priority to U.S. Provisional Patent Application No. 61/417,839 entitled TWO-LEVEL SPINE ROUTING filed Nov. 29, 2010, which is incorporated herein by reference for all purposes.
Existing one-level spine routing techniques are typically performed one net at a time and thus often result in sub-optimal routing of integrated circuits. Improved spine routing techniques would be useful.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims, and the invention encompasses numerous alternatives, modifications, and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example, and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Generally, a net of an integrated circuit design comprises a wiring connection that carries a signal from a driving cell to a receiving cell. A netlist specifies the locations of the output pins comprising a net in an integrated circuit design, and these locations of the output pins are typically fixed prior to routing. The wiring of the output pins comprising a net during routing defines the implementation of the net. The output pins and/or wiring connections associated with a particular net may be distributed across one or more (metal) layers of an integrated circuit design.
Various techniques and styles exist for routing an integrated circuit design. Spine routing, also known as fishbone routing, provides many advantages over other routing techniques. For example, spine routing can reduce vias and jogs on interconnects and can result in better routing quality in terms of factors such as timing delay and signal integrity.
In existing spine routing techniques, a main spine assignment to each of a plurality of nets comprising an integrated circuit design is typically serially performed one net at a time. In some such cases, a heuristic approach in which nets are ranked and assigned main spines based on an order of importance of the nets may be employed. Existing spine routing techniques typically comprise one-level spine routing.
Improved spine routing techniques are disclosed herein. In some embodiments, multiple-level spine routing is employed. That is, more than one level of spine routing is employed. In some embodiments, a systematic approach for routing a plurality of nets is employed that at least in part optimizes the assignment of spines to nets and/or groups thereof. One or more of the disclosed techniques may be employed to obtain an improved integrated circuit topology in which one or more factors such as total wire lengths, propagation delays, skew times, etc., are improved compared to conventional routing solutions. Although in some of the provided examples horizontal and/or vertical routing of spines is described, the techniques disclosed herein may be similarly employed for any other spine orientations. Moreover, although two-level spine routing is described in some of the examples provided herein, the disclosed techniques may be similarly extended to any number of levels of spine routing.
In general, the total wire length of a net is computed by summing the wire lengths of all spines and the wire lengths connecting pins comprising the net to corresponding spines. For two-level spine routing, for instance, the total wire length of a net is computed by summing the length of the main spine, the lengths of all second level spines, and the lengths from each pin comprising the net to a corresponding second level spine. With respect to net 200 of
In some embodiments, as described above with respect to
arg min S Σi=1kΣx
For spine routing, the pin locations of a net are fixed prior to routing and comprise the set of observations. In this case, each observation or pin position comprises a one-dimensional vector (i.e., d is 1) whose value specifies pin position relative to a spine to which the pin is to be directly connected. In the example of
In some embodiments, the pins comprising a net are partitioned into groups based on a modified k-means clustering algorithm. Such an algorithm may at least in part be empirically or heuristically determined. In some cases, for example, a better result for total wire length may be obtained by using median instead of mean values and/or partitioning pins into groups such that the pins in each group all fall on the same side of the main spine, i.e., pins on opposite sides of the main spine are not partitioned into the same group. In some such cases, the pin partitioning problem is modeled as a one-dimensional k-median clustering problem with the constraint that pin locations relative to the main spine are taken into consideration such that pins in each group are positioned on the same side of the main spine. Any one or more well-known statistical algorithms, such as Lloyd's algorithm, may be employed to solve this problem. In some embodiments, an exhaustive search is performed to find the optimal number of groups, k, by varying k from 1 to the number of pins. In such cases, when k is 1, all pins of a net are put into a single group; and when k is the number of pins, each pin of the net is put into a distinct group of its own.
Given a set of nets to be routed at step 302 and a set of tracks to which main spines can be assigned at step 304, a main spine track is assigned to each of the set of nets at step 306. Each main spine track is assigned to at most a single net. Main spine tracks are assigned to nets based at least in part on a cost function, for example, that minimizes the total wire length for the set of nets to the extent possible. In some embodiments, the total wire length of a net with respect to each of at least a subset of main spine tracks is computed, and an optimal track assignment is selected based on such computations. For example, if a set of N nets need to be routed and main spines can be assigned to M possible tracks, an N×M matrix is in some cases generated in which entries represent the total wire length for a particular net assigned to a particular track. In such cases, the track assignments that minimize overall cost (e.g., total wire length) across all nets may be selected.
In some embodiments, computing the total wire length of a net with respect to a particular track includes first partitioning the pins of the net into an optimal number of groups based on the position or location of the track using the techniques for pin partitioning described above. That is, in some cases, the same pin partitioning may not be optimal or even applicable for different main spine tracks since the relative pin positions of a net with respect to different main spine tracks depends on the locations or positions of the main spine tracks. For example, some pins of a net that are located on a particular side of one main spine track may be located on the opposite side of a different main spine track. As such, pin partitioning into groups may need to be performed for each or at least each of a subset of available main spine tracks to obtain more accurate estimates of total wire lengths. Moreover, the total wire lengths computed may comprise estimates based on optimal second level spine locations or positions determined using the algorithms described above with respect to pin partitioning. The actual total wire lengths may differ based on restrictions on available positions for the second level spines in the design.
Mathematically, the problem of determining an optimal track to net assignment using a matrix such as matrix 400 can be modeled as a linear assignment problem and solved using any one or more well-known algorithms for solving linear assignment problems. With respect to a matrix having a structure such as matrix 400, for example, the linear assignment problem can be formally defined as follows: given a matrix with R rows and C columns, for each row r, find a unique column c such that the sum of M(r, c) computed over all rows of the matrix is minimized, wherein M(r, c) denotes the value at row r column c in the matrix. Solving such a linear assignment problem entails finding an optimal assignment of tracks to nets such that each track is assigned to at most one net. The solution resulting from solving such a linear assignment problem comprises the main spine track assignments for the nets. Once a main spine track has been assigned to a net at step 306 of process 300, an optimal pin partitioning for that track and therefore the number of groups and second level spines for the net are known.
At step 308 of process 300 of
In some embodiments, the total wire length for connecting the pins of a group to a second level spine and connecting that second level spine to the main spine of the associated net is computed for a group for each of at least a subset of second level spine tracks, and optimal second level spine track assignments are selected based on such computations. For example, if K groups exist for the entire set of nets under consideration and second level spines can be assigned to T possible tracks, a K×T matrix is in some cases generated in which entries represent the total wire length for a particular group assigned to a particular second level spine track. In such cases, the track assignments that minimize overall cost (e.g., total wire length) across all groups may be selected.
At step 312 of process 300 of
As described, the disclosed techniques may be systematically employed to assign positions to spines of an integrated circuit or portion thereof in a manner that optimizes or at least attempts to reduce or minimize the consumption of routing resources so that an improved integrated circuit topology can be achieved. The disclosed techniques may be employed to reduce or minimize the total amount of routing wire, propagation delays, skew times, etc., of a design. Although two-level spine routing is described in the examples of
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
Chang, Fong-Yuan, Chen, Sheng-Hsiung, Chuang, Wei-shun, Chang, Hsian-Ho, Rau, Ruey-Shi
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
4577276, | Sep 12 1983 | AT&T Bell Laboratories; BELL TELEPHONE LABORATORIES, INCORPORATED, 600 MAOUNTAIN AVE , MURRAY HILL, NJ 07974, A NY CORP | Placement of components on circuit substrates |
5361214, | Jul 09 1990 | Kabushiki Kaisha Toshiba | Method for automatically determining wiring routes |
5659717, | Jul 31 1995 | ALTERA CORPORATION A CORPORATION OF DELAWARE | Methods for partitioning circuits in order to allocate elements among multiple circuit groups |
5854752, | Jan 19 1996 | Mentor Graphics Corporation | Circuit partitioning technique for use with multiplexed inter-connections |
5917729, | May 19 1994 | SOCIONEXT INC | Method of and apparatus for placing and routing elements of semiconductor integrated circuit having reduced delay time |
6014507, | Aug 14 1996 | NEC Corporation | Integrated circuit routes designing method and apparatus |
6161056, | Apr 30 1997 | Fujitsu Limited | Placement method and apparatus |
6490713, | Jan 26 2000 | International Business Machines Corporation | Method and apparatus for automatically generating multi-terminal nets, and program storage medium storing program for executing automatic multi-terminal net generation method |
6804810, | Feb 21 2000 | SAMSUNG ELECTRONICS CO , LTD | Resistance and capacitance estimation |
6931610, | May 12 2000 | MAGMA DESIGN AUTOMATION, INC | Method for rapid estimation of wire delays and capacitances based on placement of cells |
7257797, | Jun 07 2004 | Pulsic Limited | Method of automatic shape-based routing of interconnects in spines for integrated circuit design |
7281233, | May 27 2005 | XILINX, Inc. | Method and apparatus for implementing a circuit design for integrated circuitry on a circuit board |
7506289, | Oct 19 1998 | Approach for routing an integrated circuit | |
7603644, | Jun 24 2005 | Pulsic Limited | Integrated circuit routing and compaction |
7802208, | Jun 07 2004 | Pulsic Limited | Design automation using spine routing |
7823113, | Jun 07 2004 | Pulsic Limited | Automatic integrated circuit routing using spines |
8010929, | Jun 04 2004 | Cadence Design Systems, Inc. | Method and apparatus for generating layout regions with local preferred directions |
8099700, | Jun 07 2004 | Pulsic Limited | Automatic integrated circuit routing using spines |
8099702, | Jul 30 2008 | Synopsys, Inc | Method and apparatus for proximate placement of sequential cells |
8151232, | Apr 10 2009 | Oracle America, Inc | Repeater driven routing methodology |
8201127, | Nov 18 2008 | XILINX, Inc. | Method and apparatus for reducing clock signal power consumption within an integrated circuit |
8271929, | Feb 19 2010 | Juniper Networks, Inc. | Method for clock load alignment during standard cell optimization |
8332793, | May 18 2006 | CALLAHAN CELLULAR L L C | Methods and systems for placement and routing |
8402414, | Mar 19 2010 | Fujitsu Limited | Support computer product, apparatus and method for wiring of integrated circuit design |
20030018947, | |||
20060080632, | |||
20060206848, | |||
20060288323, | |||
20080005711, | |||
20080216040, | |||
20080256380, | |||
20090217225, | |||
20090254874, | |||
20090327989, | |||
20110209112, | |||
20120137264, | |||
20120137265, | |||
20120297354, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Nov 04 2011 | Synopsys Taiwan Co., Ltd. | (assignment on the face of the patent) | / | |||
Nov 04 2011 | Synopsys, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Date | Maintenance Schedule |
Oct 15 2016 | 4 years fee payment window open |
Apr 15 2017 | 6 months grace period start (w surcharge) |
Oct 15 2017 | patent expiry (for year 4) |
Oct 15 2019 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 15 2020 | 8 years fee payment window open |
Apr 15 2021 | 6 months grace period start (w surcharge) |
Oct 15 2021 | patent expiry (for year 8) |
Oct 15 2023 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 15 2024 | 12 years fee payment window open |
Apr 15 2025 | 6 months grace period start (w surcharge) |
Oct 15 2025 | patent expiry (for year 12) |
Oct 15 2027 | 2 years to revive unintentionally abandoned end. (for year 12) |