A timing-driven cloning method iteratively partitions sinks of the net into different sets of clusters and for each set computes a figure of merit for a cloned gate location which optimizes timing based on linear delay, that is, a delay proportional to the distance between the cloned gate location and the sinks. The set having the highest figure of merit is selected as the best solution. The original gate may also be moved to a timing-optimized location. The sinks are advantageously partitioned using boundaries of Voronoi polygons defined by a diamond region surrounding the original gate, or vice versa. The figure of merit may be for example worst slack, a sum of slacks at the sinks in the second cluster, or a linear combination of worst slack and sum of the slacks.
|
13. A computer program product comprising:
a computer-readable storage medium; and
program instructions residing in said storage medium which, when executed by a computer, receive a description of a circuit design having locations for sources and sinks of an original gate, iteratively partition the sinks into different sets of clusters wherein the original gate is assigned to a first one of the clusters in a given set and at least one cloned gate is assigned to at least a second one of the clusters in the given set, for each set of clusters compute a figure of merit for a location of the cloned gate which optimizes timing based on delay that is proportional to a distance between the cloned gate location and the location of a given sink in the second cluster, select one of the sets of clusters having a highest figure of merit as a best solution, and store the description of the circuit design with a final location of the cloned gate corresponding to the best solution.
7. A computer system comprising:
one or more processors which process program instructions;
a memory device connected to said one or more processors; and
program instructions residing in said memory device which receive a description of a circuit design having locations for sources and sinks of an original gate, iteratively partition the sinks into different sets of clusters wherein the original gate is assigned to a first one of the clusters in a given set and at least one cloned gate is assigned to at least a second one of the clusters in the given set, for each set of clusters compute a figure of merit for a location of the cloned gate which optimizes timing based on delay that is proportional to a distance between the cloned gate location and the location of a given sink in the second cluster, select one of the sets of clusters having a highest figure of merit as a best solution, and store the description of the circuit design with a final location of the cloned gate corresponding to the best solution.
1. A computer-implemented method of cloning an original gate in a circuit design, comprising:
receiving a description of the circuit design which includes locations for sources and sinks of the original gate, by executing first instructions in a computer system;
iteratively partitioning the sinks into different sets of clusters wherein the original gate is assigned to a first one of the clusters in a given set and at least one cloned gate is assigned to at least a second one of the clusters in the given set, by executing second instructions in the computer system;
for each set of clusters, computing a figure of merit for a location of the cloned gate which optimizes timing based on delay that is proportional to a distance between the cloned gate location and the location of a given sink in the second cluster, by executing third instructions in the computer system;
selecting one of the sets of clusters having a highest figure of merit as a best solution, by executing fourth instructions in the computer system; and
storing the description of the circuit design with a final location of the cloned gate corresponding to the best solution, by executing fifth instructions in the computer system.
2. The method of
3. The method of
5. The method of
6. The method of
8. The computer system of
9. The computer system of
11. The computer system of
12. The computer system of
14. The computer program product of
15. The computer program product of
17. The computer program product of
18. The computer program product of
|
1. Field of the Invention
The present invention generally relates to the design of semiconductor chips and integrated circuits, and more particularly to the use of cloning techniques to manage timing requirements in an integrated circuit design.
2. Description of the Related Art
Integrated circuits are used for a wide variety of electronic applications, from simple devices such as wristwatches, to the most complex computer systems. A microelectronic integrated circuit (IC) chip can generally be thought of as a collection of logic cells with electrical interconnections between the cells, formed on a semiconductor substrate (e.g., silicon). An IC may include a very large number of cells and require complicated connections between the cells. A cell is a group of one or more circuit elements such as transistors, capacitors, resistors, inductors, and other basic circuit elements grouped to perform a logic function. Cell types include, for example, core cells, scan cells and input/output (I/O) cells. Each of the cells of an IC may have one or more pins, each of which in turn may be connected to one or more other pins of the IC by wires. The wires connecting the pins of the IC are also formed on the surface of the chip. For more complex designs, there are typically at least four distinct layers of conducting media available for routing, such as a polysilicon layer and three metal layers (metal-1, metal-2, and metal-3). The polysilicon layer, metal-1, metal-2, and metal-3 are all used for vertical and/or horizontal routing.
An IC chip is fabricated by first conceiving the logical circuit description, and then converting that logical description into a physical description, or geometric layout. This process is usually carried out using a netlist, which is a record of all of the nets, or interconnections, between the cell pins. A layout typically consists of a set of planar geometric shapes in several layers. The layout is then checked to ensure that it meets all of the design requirements, particularly timing requirements. The result is a set of design files known as an intermediate form that describes the layout. The design files are then converted into pattern generator files that are used to produce patterns called masks by an optical or electron beam pattern generator. During fabrication, these masks are used to pattern a silicon wafer using a sequence of photolithographic steps. The process of converting the specifications of an electrical circuit into a layout is called the physical design.
Cell placement in semiconductor fabrication involves a determination of where particular cells should optimally (or near-optimally) be located on the surface of a integrated circuit device. Due to the large number of components and the details required by the fabrication process for very large scale integrated (VLSI) devices, physical design is not practical without the aid of computers. As a result, most phases of physical design extensively use computer-aided design (CAD) tools, and many phases have already been partially or fully automated. Automation of the physical design process has increased the level of integration, reduced turn around time and enhanced chip performance. Several different programming languages have been created for electronic design automation (EDA), including Verilog, VHDL and TDML. A typical EDA system receives one or more high level behavioral descriptions of an IC device, and translates this high level design language description into netlists of various levels of abstraction.
Physical synthesis is prominent in the automated design of integrated circuits such as high performance processors and application specific integrated circuits (ASICs). Physical synthesis is the process of concurrently optimizing placement, timing, power consumption, crosstalk effects and the like in an integrated circuit design. This comprehensive approach helps to eliminate iterations between circuit analysis and place-and-route. Physical synthesis has the ability to repower gates (changing their sizes), insert repeaters (buffers or inverters), clone gates or other combinational logic, etc., so the area of logic in the design remains fluid. However, physical synthesis can take days to complete, and the computational requirements are increasing as designs are ever larger and more gates need to be placed. There are also more chances for bad placements due to limited area resources.
Faster performance and predictability of responses are elements of interest in circuit designs. As process technology scales to the submicron regime, interconnect delays increasingly dominate gate delays. Consequently, physical design optimization tools such as floorplanning, placement, and routing are becoming more timing-driven than the previous generation of tools. Different optimization techniques are used to fix bad timing behaviors during physical synthesis. Cloning is an optimization technique that can fix some timing problems that other optimization techniques (buffer insertion, repowering) cannot. Cloning takes an original gate and duplicates it for use with a portion of the circuit. The inputs of the original gate and the duplicate are the same.
A simplified cloning example is illustrated in
Timing closure is an important problem for ASIC and server designs with 90 nm technology and beyond. While cloning is useful for solving some timing problems, it is not particularly efficient. Prior art cloning uses gate delay models (the delay through a gate is proportional to the total capacitances of gates which it drives), ignoring the interconnect delay and physical layout information, and does not determine an optimum location of the duplicated gate. For example, if the cloned gate 6′ in
It is therefore one object of the present invention to provide an improved cloning method for use in designing the layout of an integrated circuit which is timing-driven.
It is another object of the present invention to provide such timing-driven cloning that can be used with interconnect modeling and buffering.
It is yet another object of the present invention to provide a method for optimal timing-driven cloning which is computationally efficient.
The foregoing objects are achieved in a method of cloning an original gate in a circuit design, by receiving a description of the circuit design which includes locations for sources and sinks of the original gate, iteratively partitioning the sinks into different sets of clusters wherein the original gate is assigned to a first one of the clusters in a given set and at least one cloned gate is assigned to a second one of the clusters in the given set, for each set of clusters computing a figure of merit for a location of the cloned gate which optimizes timing based on delay that is proportional to a distance between the cloned gate location and the location of a given sink in the second cluster, selecting one of the sets of clusters having a highest figure of merit as a best solution, and storing the description of the circuit design with a final location of the cloned gate corresponding to the best solution. The location of the original gate may also be changed to a new location which optimizes timing based on delay that is proportional to the distance between the new location and the location of a given sink in the first cluster. The sinks are advantageously partitioned using boundaries of Voronoi polygons defined by candidate clone locations and a diamond region surrounding the original gate, or the vice versa. The figure of merit may be for example worst slack, a sum of slacks at the sinks in the second cluster, or some combination of worst slack and sum of the slacks.
The above as well as additional objectives, features, and advantages of the present invention will become apparent in the following detailed written description.
The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
The use of the same reference symbols in different drawings indicates similar or identical items.
With reference now to the figures, and in particular with reference to
CPU 12, ROM 14 and DRAM 16 are coupled to a peripheral component interconnect (PCI) local bus 20 using a PCI host bridge 22. PCI host bridge 22 provides a low latency path through which processor 12 may access PCI devices mapped anywhere within bus memory or I/O address spaces. PCI host bridge 22 also provides a high bandwidth path to allow the PCI devices to access DRAM 16. Attached to PCI local bus 20 are a local area network (LAN) adapter 24, a small computer system interface (SCSI) adapter 26, an expansion bus bridge 28, an audio adapter 30, and a graphics adapter 32. LAN adapter 24 may be used to connect computer system 10 to an external computer network 34, such as the Internet. A small computer system interface (SCSI) adapter 26 is used to control high-speed SCSI disk drive 36. Disk drive 36 stores the program instructions and data in a more permanent state, including the program which embodies the present invention as explained further below and results of the circuit design (intermediate or final). Expansion bus bridge 28 is used to couple an industry standard architecture (ISA) expansion bus 38 to PCI local bus 20. As shown, several user input devices are connected to ISA bus 38, including a keyboard 40, a microphone 42, and a graphical pointing device (mouse) 44. Other devices may also be attached to ISA bus 38, such as a CD-ROM drive 46. Audio adapter 30 controls audio output to a speaker 48, and graphics adapter 32 controls visual output to a display monitor 50, to allow the user to carry out the buffer insertion as taught herein.
While the illustrative implementation provides the program instructions embodying the present invention on disk drive 36, those skilled in the art will appreciate that the invention can be embodied in a program product utilizing other non-transitory computer-readable media, excluding transitory media such as propagating signals. The program instructions may be written in the C++ programming language for an AIX environment. Computer system 10 carries out program instructions for an interconnect optimization process that uses novel cloning techniques to manage timing requirements. Accordingly, a program embodying the invention may include conventional aspects of various placement and timing tools, and these details will become apparent to those skilled in the art upon reference to this disclosure.
The present invention provides an improved cloning method which may be used to optimize the timing of a net in polynomial computation time. The invention examines certain possible partitions of the sinks of the output net, and uses a linear delay model to solve for the optimal location of the cloned gate for each partition (and the location of the original gate if it is movable). The linear delay model is applied to the net without any repeaters (buffers or inverters) ignoring Steiner tree effects, and repeaters may be inserted after gate location.
One example of timing-driven cloning according to the present invention is illustrated in
Different criteria may be used for initially deciding when to carry out cloning for a net. Cloning is considered desirable for any net exhibiting particularly poor slack or having highly imbalanced slack, i.e., a large deviation between input and output slacks, particularly a positive slack at the input(s) and a negative slack at the output(s). If the design criteria establish that cloning is desirable for subcircuit 60, the first step is to partition sinks 66a, 66b, 66c, 66d, 66e into two or more clusters. This grouping of the sinks is preferably carried out using the Voronoi diagram methods described below in conjunction with
Once the set of clusters has been selected, the problem of gate location is solved by modeling delay as a linear (proportional) function of distance from the gate to the sources and to the sinks it is assigned to. Computer system 10 computes the slack for each candidate location of the cloned gate. Slack at a given source i is computed as Si=RATg−AATi−Di, where RATg is the required arrival time at the gate, AATi is the actual arrival time at the source, and Di is the linear delay between the source and the gate. Slack at a given sink j is computed as Sj=RATj−AATg−Dj, where RATj is the required arrival time at sink j, AATg is the actual arrival time at the driving gate, and Dj is the linear delay between the gate and the sink. The candidate location having the maximum worst slack is chosen for cloned gate 64′, in other words, the location that represents the best timing solution for that sub-net. For example, if the worst slack for a set of possible locations of cloned gate 64′ based on a linear delay model varied from −0.5 nanoseconds to +0.1 nanoseconds, then the location corresponding to the worst slack of +0.1 nanoseconds would be chosen as the final gate location. While the illustrative embodiment optimizes timing based on worst slack, the designer can instead choose the best timing solution based on some other figure of merit (FOM), for example, the sum of the slacks at the sinks of the cloned gate, or some combination (e.g., linear) of the sum of the slacks and the worst slack.
The proportionality of the linear delay may vary considerably depending on the fabrication technology and wiring parameters. The following delays are considered exemplary for metal layer M3: for 130 nm technology, the delay used is 190 ps/mm; for 90 nm technology, the delay used is 240 ps/mm; and for 65 nm technology, the delay used is 320 ps/mm.
If the location of original gate 64 is not constrained, this same linear delay model is used to find an optimal location of original gate 64.
After the cloned and original gates have been located, repeaters 72 are inserted to achieve final timing closure as seen in
An initial problem for timing-driven cloning is how to determine the sinks for the cloned gate, i.e., how to partition the sinks. It is very time-consuming to compute worst slack or FOM for all possible partitions. The present invention may advantageously employ a more efficient method to find the partition that determines the sinks for the cloned gate in polynomial time instead of trying all possible combinations which takes exponential computation time. If the locations of the original gate and the cloned gate were known, the optimal partition would be the boundary of a Voronoi polygon defined by those two points or, for Manhattan space, defined by one of the points and a diamond inscribed in the unit circle around the other point as illustrated in
For the Manhattan space implementation, boundary 76 can include the three line segments shown (vertical, diagonal, and horizontal), but it can also be rotated or consist of the diagonal line segment with only one of the horizontal or vertical line segments depending upon the location of the diamond region (the original gate) and the candidate location for the cloned gate, as indicated by the dashed lines in
The invention may be further understood with reference to the flow chart of
Although the invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments of the invention, will become apparent to persons skilled in the art upon reference to the description of the invention. For example, while the net of
Li, Zhuo, Sze, Chin Ngai, Alpert, Charles J., Papa, David A.
Patent | Priority | Assignee | Title |
9235673, | May 28 2014 | NXP USA, INC | Apparatus for and a method of making a hierarchical integrated circuit design of an integrated circuit design, a computer program product and a non-transitory tangible computer readable storage medium |
Patent | Priority | Assignee | Title |
6286128, | Feb 11 1998 | Synopsys, Inc | Method for design optimization using logical and physical information |
7100144, | Dec 09 2003 | GLOBALFOUNDRIES Inc | System and method for topology selection to minimize leakage power during synthesis |
7111266, | Nov 24 2003 | GLOBALFOUNDRIES U S INC | Multiple voltage integrated circuit and design method therefor |
7290239, | Oct 06 2003 | Altera Corporation | Method and apparatus for performing post-placement functional decomposition for field programmable gate arrays |
20060095879, | |||
20060190224, | |||
20070271543, | |||
20090064069, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Nov 12 2007 | ALPERT, CHARLES J | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020100 | /0292 | |
Nov 12 2007 | LI, ZHUO | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020100 | /0292 | |
Nov 12 2007 | PAPA, DAVID A | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020100 | /0292 | |
Nov 12 2007 | SZE, CHIN NGAI | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020100 | /0292 | |
Nov 13 2007 | International Business Machines Corporation | (assignment on the face of the patent) | / | |||
Dec 31 2012 | International Business Machines Corporation | Mentor Graphics Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029733 | /0156 | |
Dec 30 2020 | Mentor Graphics Corporation | Siemens Industry Software Inc | MERGER AND CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 056597 | /0234 | |
Dec 30 2020 | Siemens Industry Software Inc | Siemens Industry Software Inc | MERGER AND CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 056597 | /0234 |
Date | Maintenance Fee Events |
Aug 16 2013 | ASPN: Payor Number Assigned. |
Aug 16 2013 | RMPN: Payer Number De-assigned. |
Dec 29 2014 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 13 2019 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Feb 07 2023 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 06 2014 | 4 years fee payment window open |
Mar 06 2015 | 6 months grace period start (w surcharge) |
Sep 06 2015 | patent expiry (for year 4) |
Sep 06 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 06 2018 | 8 years fee payment window open |
Mar 06 2019 | 6 months grace period start (w surcharge) |
Sep 06 2019 | patent expiry (for year 8) |
Sep 06 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 06 2022 | 12 years fee payment window open |
Mar 06 2023 | 6 months grace period start (w surcharge) |
Sep 06 2023 | patent expiry (for year 12) |
Sep 06 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |