Method and apparatus for performing incremental placement on a structured application specific integrated circuit
Granted 4 Oct 2011 · 7 office actions
Assignee: Altera Law Group
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Deshanand Singh, Andrew C. Ling · Examiner: Jack Chiang · AU 2825 · TC 2800
Life of the application
20 dated eventsAbstract
A method for placing a system on a structured application specific integrated circuit (ASIC) using an electronic design automation tool is disclosed. A subregion that includes an illegal position in a placement solution is identified. All structured ASIC cells in the subregion are removed. Positions for all the structured ASIC cells that are legal are determined.
Description
8 parts›TECHNICAL FIELD
The present invention relates to electronic design automation (EDA) tools. More specifically, the present invention relates to a method and apparatus for performing incremental placement on a structured application specific integrated circuit (ASIC) when modifications are made after initial placement.
›BACKGROUND
Structured ASICs may be used to implement large systems that include millions of gates and megabits of embedded memory. Of the tasks required in managing and optimizing a design, designing components and placement of the components on the structured ASICs utilizing available resources can be the most challenging and time consuming. In order to satisfy placement and timing specifications, EDA tools are used to manage and optimize their design onto physical target devices. Automated synthesis and placement algorithms in EDA tools perform the time consuming task of designing and placement of components onto physical devices.
As the complexity of circuits increase, traditional synthesis methods often are unable to produce a timing optimal solution. Delays associated with unplaced circuits are difficult to estimate which make optimization for timing challenging for the traditional synthesis methods. One approach taken by circuit designers to improve timing is to perform physical synthesis which involves re-synthesizing the circuit incrementally after placement. Physical synthesis allows delays to be modeled more accurately after placement when cell positions have been determined.
The optimizations that are performed during physical synthesis will usually lead to a placement that is illegal. For example, one optimization technique that is commonly used is component duplication where nodes feeding a critical connection are duplicated and the duplicated node is moved to its critical fanout connection. A problem with this optimization technique is that congestion often occurs after duplication. When modifications made to a system produce a placement that is illegal, current EDA tools require a re-work of the entire placement procedure. This may require a significant amount of time which is inefficient and undesirable.
Thus, what is needed is an efficient method and apparatus for performing incremental placement on a structured ASIC.
›SUMMARY
According to an embodiment of the present invention, a method for placing a system on a structured ASIC using an electronic design automation tool is described that provides guided movement of structured ASIC cells to remove illegalities in placement. Techniques for solving the transportation problem are used to determine positions for structured ASIC cells that are legal. According to one embodiment, a subregion is identified that includes an illegal position in a placement solution. All structured ASIC cells in the subregion are removed. Positions are determined for all the structured ASIC cells that are legal.
›BRIEF DESCRIPTION OF THE DRAWINGS
The features and advantages of the present invention are illustrated by way of example and are by no means intended to limit the scope of the present invention to the particular embodiments shown.
FIG. 1 is a flow chart that illustrates a method for designing a system on a target device according to an embodiment of the present invention.
FIG. 2 illustrates an exemplary target device according to an embodiment of the present invention.
FIG. 3 is a flow chart that illustrates a method for performing incremental placement according to an embodiment of the present invention.
FIG. 4 is a flow chart that illustrates a method for placing a structured ASIC cell according to an embodiment of the present invention.
FIG. 5 is a flow chart that illustrates a method for finding a new positions for structured ASIC cells using the transportation problem according to an embodiment of the present invention.
FIG. 6 illustrates a representation of incremental placement as a transportation problem according to an embodiment of the present invention.
FIG. 7 a - c illustrate an example of replacement using a suggested location from a solution to the transportation problem.
FIG. 8 illustrates a block diagram of a system designer according to an embodiment of the present invention.
FIG. 9 illustrates an incremental placement unit according to an embodiment of the present invention.
›DETAILED DESCRIPTION · 1 of 4
In the following description, for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of embodiments of the present invention. It will be apparent to one skilled in the art that specific details in the description may not be required to practice the embodiments of the present invention. In other instances, well-known circuits, devices, and programs are shown in block diagram form to avoid obscuring embodiments of the present invention unnecessarily.
FIG. 1 is a flow chart illustrating a method for designing a system on a target device according to an embodiment of the present invention. The target device may be an integrated circuit such as a structured ASIC, field programmable gate array (FPGA), or other circuit. At 101 , the system is synthesized. Synthesis includes generating a logic design of the system to be implemented by the target device. According to an embodiment of the present invention, synthesis generates an optimized logical representation of the system from a HDL design definition. The optimized logical representation of the system may include a representation that has a minimized number of functional blocks and registers, such as logic gates and logic elements, required for the system. Synthesis also includes mapping the optimized logic design. Mapping includes determining how to implement logic gates and logic elements in the optimized logic representation with specific resources on the target device. According to an embodiment of the present invention, a netlist is generated from mapping. This netlist may be an optimized technology-mapped netlist generated from the HDL.
At 102 , the mapped logical system design is placed. Placement works on the optimized technology-mapped netlist to produce a placement for each of the functional blocks. According to an embodiment of the present invention, for a target device that is a structured ASIC, placement includes fitting the system on the integrated circuit by determining which resources on the integrated circuit are to be used for specific logic elements, and other functional blocks.
At 103 , physical synthesis is performed. According to an embodiment of the present invention, optimizations are made to the placed mapped logical system design and the modifications made to the design are placed. Physical synthesis also includes performing incremental placement where identified illegalities are resolved while maintaining the quality of the optimizations made.
At 104 the system is routed. Routing involves determining how to connect the functional blocks in the system. According to an embodiment of the present invention, a cost function may be used to generate a cost associated with each routing option. The cost function may take into account, delay, capacitive loading, cross-sink loading, power, and/or other criteria.
At 105 , an assembly procedure is performed. The assembly procedure involves creating a data file or set of files that includes information determined by the fitting procedure described by 101 - 104 . The data file may be a bit stream that may be used to program the integrated circuit or a set of layout masks used to manufacture the device.
FIG. 2 illustrates an exemplary target device according to an embodiment of the present invention. In this embodiment, the target device is a structured ASIC 200 . The structured ASIC 200 is a hybrid device that includes a number of pre-defined or pre-built layers used to define logic fabric and IP blocks, and a number of customizable design-specific layers that may be used to provide connectivity in the logic fabric and to/from IP blocks.
According to one embodiment, the structured ASIC 200 includes a grid of locations. Each location includes an area of equal length and width and is given a planar grid coordinate (x, y). Each a single subcell may occupy a location at a grid coordinate. A subcell is a basic building block used in the structured ASIC 200 that may be used to form a structured ASIC cell. Each subcell includes the same basic programmable circuitry. Structured ASIC cells may include one or more subcells to implement logic such as combinational and sequential circuits. As illustrated, block 210 is a first structured ASIC cell formed by a single subcell. Block 211 is a second structured ASIC cell formed by three subcells.
The structured ASIC 200 may include embedded IP blocks such as random access memory (RAM), digital signal processors (DSP), and/or input/outputs (IOs) such as that shown at 202 . Customizable layers may be used to connect structured ASIC cells with other structured ASIC cells, and other components. Route 220 illustrates an exemplary connection between the first structured ASIC cell 210 and the second structured ASIC cell 211 . Performing placement in a structured ASIC involves placing structured ASIC cells such that every location or grid coordinate is occupied by at most one subcell.
FIG. 3 is a flow chart that illustrates a method for performing incremental placement according to an embodiment of the present invention. The procedure described in FIG. 3 may be used to implement a portion of the procedure described at 103 in FIG. 1 . At 301 , illegal positions identified from post placement optimizations are identified. According to an embodiment of the present invention, an illegal position of a structured ASIC cell may involve a first structured ASIC cell occupying the same grid coordinate as a second structured ASIC cell. The illegal positions identified may be stored in a queue.
At 302 , it is determined whether there are additional illegal positions left to consider. If there are no illegal positions left to consider, control proceeds to 303 and the procedure is terminated. If illegal positions are left to consider, control proceeds to 304 .
At 304 , a subregion is created around the illegal position. According to an embodiment of the present invention, the subregion is a predetermined size that includes one or more structured ASIC cells.
›DETAILED DESCRIPTION · 2 of 4
At 305 , the structured ASIC cells in the subregion are removed.
At 306 , new positions are determined for the structured ASIC cells removed from the subregion. New positions are determined one at a time for each structured ASIC cell removed. According to an embodiment of the present invention, determining positions for the structured ASIC cells includes determining positions for structured ASIC cells in a crowded area of the subregion before determining positions for structured ASIC cells in an un-crowded area of the subregion. Determining positions for the structured ASIC cells may also include determining positions for structured ASIC cells on critical paths before determining positions for structured ASIC cells on non-critical paths.
At 307 , it is determined whether the new positions for the structured ASIC cells are legal. If the new positions for the structured ASIC cells are legal, control returns to 302 . If at least one new position for the structured ASIC cells is illegal, control proceeds to 308 .
At 308 , the positions for the structured ASIC cells that are illegal are identified. According to an embodiment of the present invention, the illegal positions are pushed to the end of the queue.
FIG. 4 is a flow chart that illustrates a method for placing a structured ASIC cell according to an embodiment of the present invention. The procedure described in FIG. 4 may be used to implement the procedure described at 306 shown in FIG. 3 . At 401 , it is determined whether an additional structured ASIC cell (SAC) from a subregion needs to be placed. If no additional structured ASIC cells from a subregion needs to be placed, control proceeds to 402 and terminates the procedure. If an additional structured ASIC cell from the subregion needs to be placed, control proceeds to 403 .
At 403 , it is determined whether the structured ASIC cell can be placed back in its original position. If the structured ASIC cell can be placed in its original position, control proceeds to 404 . If the structured ASIC cell cannot be placed in its original position, control proceeds to 405 .
At 404 , the position is assigned to the structured ASIC.
At 405 , a new position is determined for the structured ASIC cell that is legal.
At 406 , it is determined whether the new position is within a fixed radius from its original position. If the new position is within the fixed radius from its original position, control proceeds to 404 . If the new position is not within the fixed radius from its original position, control proceeds to 407 .
At 407 , the original position of the structured ASIC cell is re-assigned to the structured ASIC, creating an illegal position. Control returns to 401 .
According to an embodiment of the present invention, determining new positions for structured ASIC cells is performed using an incremental placement technique where guide paths are identified using the transportation problem. The transportation problem takes a given set of suppliers and consumers at fixed locations where there exists a set of directed paths from suppliers to consumers with an associated cost. A subset of paths is found that fulfills the demands of all the consumers or exhausts the supply of all the suppliers such that the total cost of the used paths is minimized. The directed paths may be referred to as edges. Edges leave the suppliers and enter the consumers. Thus, the suppliers are the edge tails and the consumers are the edge heads.
FIG. 5 is a flow chart that illustrates a method for finding new positions for structured ASIC cells using the transportation problem according to an embodiment of the present invention. It should be appreciated that the procedure illustrated in FIG. 5 may also be used to find a new position for a single structured ASIC cell in a structured ASIC. Thus, the procedure illustrated in FIG. 5 may be used to implement the procedure described at 405 shown in FIG. 4 . At 501 , the subcells in structured ASIC cells are identified.
At 502 , the subcells in the structured ASIC cells are designated as suppliers.
At 503 , the graph coordinates in the structured ASIC are designated as consumers. According to an embodiment of the present invention only a subset of the graph coordinates in the structured ASIC is designated as consumers. The subset may include only those graph coordinates that are within a fixed distance of the subregion where the structure ASIC cells originated from.
At 504 , paths are provided between the subcells (suppliers) and graph coordinates (consumers) with costs associated with each path. According to an embodiment of the present invention, paths between subcells and graph coordinates are provided only when the graph coordinates are relatively close to the original position of the structured ASIC cell corresponding to the subcells.
The cost associated with each path may be related to an estimate of delay where wire length is proportional to the delay. One metric that may be used to estimate wire length of a net is the half-length perimeter. The half-length perimeter is the width plus height of a bounding box containing all the pins of a net. The cost of a path between a structured ASIC cell and a graph coordinate would be computed as the sum of the half-lengths for all nets connected to the structured ASIC cell when placed at a given location. It should be appreciated that other techniques for measuring wire length and other criteria for determining cost may be used.
At 505 , a solution is determined where the cost for satisfying consumer requirements is minimized. By solving the transportation problem, a set of paths are selected. The locations found at the heads of selected paths are used to determine a suggested location for the subcell found at the tail of the path.
FIG. 6 illustrates a representation of incremental placement as a transportation problem according to an embodiment of the present invention. The transportation graph 600 includes a first column of nodes 610 that represent suppliers. Each of the nodes represents a structured ASIC cell that includes a plurality of subcells. Node 611 represents a first structured ASIC cell that includes 2 subcells. Node 612 represents a second structured ASIC cell that includes 3 subcells. Node 613 represents a third structured ASIC cell that includes 1 subcell.
›DETAILED DESCRIPTION · 3 of 4
The transportation graph 600 includes a second column of nodes 620 that represent consumers. Each of the node represents a graph coordinate on the structured ASIC. Node 621 represents a first graph coordinate (0,0). Node 622 represents a second graph coordinate (1,0). Node 623 represents a third graph coordinate (2,0). Node 624 represents a fourth graph coordinate (0,1). Node 625 represents a fifth graph coordinate (1,1).
The transportation graph includes a plurality of paths or edges 631 - 639 that connect the nodes representing suppliers 610 and the nodes representing consumers 620. Paths 631 - 639 have costs a-i associated with them respectively.
According to an embodiment of the present invention, one way to formulate a solution to the transportation problem illustrated in FIG. 6 is shown below, where paths 631 - 639 are designated as x11, x12, x13, x21, x22, x23, x31, x32, and x33, respectively.
Minimize a*x11+b*x12, +c*x13+d*x21+e*x22+f*x23+g*x31+h*x32+i*x33
Subject to:
x11+x12+x13<=2
x21+x22+x23<=3
x31+x32+x33<=1
x11>=1
x12+x21>=1
x13+x22+x31>=1
x23+x32>=1
x33>=1
This is under the assumption that all suppliers' demands will be met. If this is not the case, there will be no solution to the above example.
It should be appreciated that the transportation problem may be solved using any linear programming or other appropriate technique or procedure, such as the minimum-cut bipartite graph problem and graph theory algorithms.
FIG. 7 a - c illustrates an example of replacement using a suggested location from a solution to the transportation problem. In order to consolidate subcells, their center of gravity may be used as a suggested location of a structured ASIC cell. This suggested location may be used to create a directed vector to be used for guided shifting of structured ASIC cells as illustrated in FIG. 7 a . FIG. 7 b illustrates the shifting procedure if the structured ASIC cell placement location is occupied. FIG. 7 c illustrates a final valid location found for the structured ASIC cell.
FIG. 8 illustrates a system designer 800 according to an embodiment of the present invention. The system designer 800 may be an EDA tool for designing a system on an integrated circuit. The integrated circuit may be, for example, an application specific integrated circuit (ASIC), a structured application specific integrated circuit (Structured ASIC), a field programmable gate array (FPGA) or other circuitry. Furthermore the integrated circuit may be implemented using semiconductor or nanoelectronic technology. FIG. 8 illustrates software modules implementing an embodiment of the present invention. According to one embodiment, system design may be performed by a computer system (not shown) executing sequences of instructions represented by the software modules shown in FIG. 8 . Execution of the sequences of instructions causes the computer system to support system design as will be described hereafter. In alternate embodiments, hard-wire circuitry may be used in place of or in combination with software instructions to implement the present invention. Thus, the present invention is not limited to any specific combination of hardware circuitry and software. The system designer 800 includes a designer manager 805 . The designer manager 805 is connected to and transmits data between the components of the system designer 800 .
Block 810 represents a synthesis unit. The synthesis unit 810 generates a logic design of a system to be implemented in the integrated circuit or other target device. According to an embodiment of the system designer 800 , the synthesis unit 810 takes a conceptual Hardware Description Language (HDL) design definition and generates an optimized logical representation of the system. The optimized logical representation of the system generated by the synthesis unit 810 may include a representation that has a minimized number of functional blocks and registers, such as logic gates and logic elements, required for the system. Alternatively, the optimized logical representation of the system generated by the synthesis unit 810 may include a representation that has a reduced depth of logic and that generates a lower signal propagation delay. The synthesis unit 810 also determines how to implement the functional blocks and registers in the optimized logic representation utilizing specific resources on a target integrated circuit thus creating an optimized “technology-mapped” netlist. The technology-mapped netlist illustrates how the resources on the integrated circuit are utilized to implement the system. In an embodiment where the integrated circuit is an ASIC, the components could be gates or standard cells. In an embodiment where the integrated circuit is a structured ASIC, the technology-mapped netlist may contain components that can be implemented in the structured ASIC fabric, such as RAM blocks, multiplier blocks, and gates from a library of implementable gates.
Block 820 represents a placement unit 820 . The placement unit 820 helps map the system on to the integrated circuit by determining which resources or areas on the integrated circuit are to be used for specific functional blocks and registers. According to an embodiment of the system designer 800 , the placement unit 820 first determines how to implement portions of the optimized logic design in clusters. Clusters may represent a subset of the components on the integrated circuit. In an embodiment where the integrated circuit is a structured ASIC, a cluster or structured ASIC cell may be represented, for example, by a number of standard cells such as subcells grouped together. In this embodiment, after portions of the optimized logic design are implemented in clusters, the clusters may be placed by assigning the clusters to specific positions on the integrated circuit. The placement unit 820 may utilize a cost function in order to determine a good assignment of resources on the integrated circuit to find a placement solution.
Block 830 represents a physical synthesis unit 830 . The physical synthesis unit 830 optimizes the placed system and performs placement on the modifications made. The physical synthesis unit includes an incremental placement unit 831 that performs incremental placement on identified illegalities resulting from the placement of the modifications. The incremental placement unit 831 attempts to resolve the illegalities while maintaining the quality of the optimizations made.
›DETAILED DESCRIPTION · 4 of 4
Block 840 represents a routing unit 840 . The routing unit 840 determines how to provide interconnection between the functional blocks and registers on the integrated circuit. The routing unit 830 may use a cost function to generate a total cost associated with each routing option. The cost function may take into account, delay, cross-sink loading, capacitive loading on a net, power and/or other criteria.
FIG. 9 illustrates an incremental placement unit 900 according to an embodiment of the present invention. The incremental placement unit 900 includes a placement manager 910 . The placement manager 910 is connected to and transmits data between the components of the incremental placement unit 900 .
The incremental placement unit 900 includes a subregion identifier unit 920 . The subregion identifier unit 920 identifies a subregion that includes an illegal position in a placement solution. The subregion may include one or more structured ASIC cells.
The incremental placement unit 900 includes a priority unit 930 . The priority unit 920 prioritizes the structured ASIC cells in the subregions for position placement. According to an embodiment of the present invention, the priority unit 930 may determine an order of priority based on crowdedness of areas in the subregion, criticality of paths through the structured ASIC cells, and/or other criteria.
The incremental placement unit 900 includes an optimization unit 940 . For structured ASIC cells that are unable to be placed back in their original locations, the optimization unit sets up and solves a transportation problem to determine positions that are legal for the structured ASIC cell. The components described in FIG. 9 may implement the procedures described in FIGS. 3-5 .
FIGS. 1 , and 3 - 5 are flow charts illustrating methods according to embodiments of the present invention. The techniques illustrated in these figures may be performed sequentially, in parallel or in an order other than that which is described. It should be appreciated that not all of the techniques described are required to be performed, that additional techniques may be added, and that some of the illustrated techniques may be substituted with other techniques. It should be appreciated that the techniques may be used in any EDA tool for the creation/processing/optimization/implementation of any electronic design, such as that encountered in the creation of structured ASICs, ASICs, FPGAs, or other circuits.
Embodiments of the present invention may be provided as a computer program product, or software, or firmware that may include an article of manufacture on a machine accessible or a machine-readable medium having instructions. The instructions on the machine accessible medium may be used to program a computer system or other electronic device. The machine accessible medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, magneto-optical disks, or other type of media/machine accessible medium suitable for storing or transmitting electronic instructions. The techniques described herein are not limited to any particular software configuration. They may find applicability in any computing or processing environment. The term “machine accessible medium” used herein shall include any medium that is capable of storing, encoding, or transmitting a sequence of instructions for execution by the machine and that cause the machine to perform any one of the methods described herein. Furthermore, it is common in the art to speak of software, in one form or another (e.g., program, procedure, process, application, module, unit, logic, firmware and so on) as taking an action or causing a result. Such expressions are merely a shorthand way of stating that the execution of the software by a processing system causes the processor to perform an action to produce a result.
In the foregoing specification embodiments of the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the embodiments of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than restrictive sense.
Claims as granted
28 claimsLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- G06F17/50
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock