The present invention relates to a method for the definition of a library of application-domain-specific logic cells.
Typical integrated circuit design environments make use of libraries of pre-designed standard cells (a cell library) which usually consist of from 500 cells to more than 1,000 cells. These libraries are composed of a number of simple, generic and standard logic functions that have been implemented in a form suitable for manufacturing. Each standard cell is a representation, typically the mask level representation, of the circuit that performs the logic function for that cell.
The logic functions performed by the cells in a typical cell library are intentionally general purpose and basic and represent common, low-level logic functions such as AND, OR, XOR, AND-OR-INVERT (AOI), Multiplexer, Adder, etc. These are functions are representative of patterns that are recognized by logic designers, and those that are used as the building blocks for manual logic design. Full custom logic design at the transistor level can sometimes include complex AOI functions that are identifiable from their logic description such as:
(ā+
But such functions are typically not included in standard cell libraries, and not representative of specific basic building blocks that are known to logic designers. Instead, they are more likely to be custom designed at the transistor level as an AOI gate.
A portion of a typical integrated circuit (IC) design flow 100 is shown in
As a high level language cannot be directly implemented into the physical layout of an integrated circuit, it is first converted to a gate level implementation. The result of a conversion step 130 is a representation of the design called a gate level netlist. This representation is usually in the form of simple logic functions such as NAND, NOR, etc. along with a representation of the connections between functions (the netlist).
Automatic logic synthesis tools are then generally used, as shown at library binding step 140, to bind a design to an implementation, based on a set of manufacturing technology specific logic cells from a cell library 150. The synthesis tool selects cells from the library 150 based on a set of implementation goals that may include any combination of metrics related to area, performance or power and possibly manufacturing yield, to obtain a cell-based netlist 160.
Within the context of the conventional design flow as described above, techniques for optimization using regularity extraction have been proposed for designs dominated by datapaths, which are formed by a small number of repeating logic elements (or bit slices) that are interconnected in a very organized pattern, and other regular circuit structures including RAMs, PLAs, array multipliers etc. For such designs, identifying repeating regularity in circuits simplifies the effort required via synthesis, optimization and layout. However, such regularity extraction techniques rely on the assumption that the designs inherently have within them a high degree of regularity. For example, most of these techniques use information such as bus names and datapath features such as high-fanout control nets to identify repeating strictures, such as bit slices. These techniques do not apply, therefore, to more general design flows and logic descriptions that are without such organization and repetition. Also, these techniques to identify repeating regularity do not modify the underlying structural or functional topology of the circuit, which further makes them ineffective for generalized logic and random logic applications.
The present invention relates to a method for the definition of a library of application-domain-specific logic cells.
In one aspect, the present invention provides a method of defining a logic cell library composed of complex functions and simple functions, with some of the complex functions obtained from identifying logic function patterns.
In a particular aspect, the method of defining a logic cell library includes providing a sample of circuit representations of Boolean logic functions from at least one portion of one or more integrated circuit designs, the circuit representations containing at least a plurality of sets of interconnected circuit representations, wherein each of set interconnected circuit representations includes interconnected Boolean logic functions that contain recurring Boolean logic chains therein; identifying logic function patterns within the sample, the logic function patterns including at least some of the recurring Boolean logic chains; determining a set of complex functions that together can substantially specify a significant portion of the sample, wherein the set of complex functions includes a plurality of non-standard complex Boolean logic functions that are each derived from the identified logic function patterns of the recurring Boolean logic chains, wherein substantially all of the plurality of non-standard complex Boolean logic functions each have at least three inputs; and determining a set of simple functions that, together with the set of complex functions, can together completely specify the sample.
Another aspect of the present invention provides method of designing a representation of an integrated circuit that uses complex functions and simple functions.
In one aspect, the complex functions include a plurality of non-standard complex Boolean logic functions that are determined to collectively provide for logic pattern minimization.
In a particular aspect, the method of designing a representation of an integrated circuit for a particular application design space includes providing a cell library that has a set of complex functions and a set of simple functions, the set of complex functions including a plurality of non-standard complex Boolean logic functions that are determined to collectively provide for logic minimization; providing a high-level representation of the integrated circuit, the high-level representation including circuit representations of Boolean logic functions; and translating the high level representation of the integrated circuit into the representation, wherein the representation is completely defined using the set of complex functions and the set of simple functions, and wherein a substantial portion of the integrated circuit is defined using the set of complex functions.
These and other aspects and features of the present invention will become apparent to those of ordinary skill in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures, wherein:
The invention provides a method and process for defining complex logic cells used for the design of an integrated circuit. Logic operations are conventionally described using a Boolean equation, which is a formal method for expressing a logic operation. In particular, the present invention provides a method and process for defining complex logic cells that are each made from non-standard complex Boolean logic functions. These non-standard complex Boolean logic functions are each derived from the identified logic function patterns of the recurring Boolean logic chains that are found in an integrated circuit design for the logic of a particular application space, as described further herein. According to the invention, and as described further herein, substantially all of the non-standard complex Boolean logic functions each have at least three inputs and a depth of at least three standard cell functions. Thus, each of the resulting complex logic cells are based on one of a set of complex logic functions that have been automatically derived to match the requirements of a specific design or design space. By design space is meant a set of applications representing a common application domain, such as network processors, or digital signal processing (DSP), as two examples.
By contrast, traditional design techniques utilize cells representing logic functions that are generic and simple in nature, such as NAND and NOR, or even more complex AND-OR-INVERT (AOI). This new approach results in a targeted and efficient collection of complex cells that enables an improved implementation of integrated circuit designs. At the same time, the resulting cell library is relatively small—usually less than 40 cells, with most of these cells, typically over 75%, being the complex logic cells. When compared to traditional approaches which often result in cell libraries containing over 1,000 cells, this much smaller cell library simplifies cell design and analysis for manufacturability, and requires significantly less maintenance as the semiconductor process is changed.
In the approach described herein, a generic cell library is not used. Instead a specific design representation (which can be in the form of an RTL representation, a gate-level netlist, a behavioral description or some other source level or intermediate level description of a design) for an entire integrated circuit, for entire integrated circuits, or for a portion of an integrated circuit or integrated circuits is analyzed to determine a set of non-standard complex Boolean logic functions that are optimal for the implementation of the design.
RTL stands for register transfer logic. This is a commonly used style of design description which specifies the storage elements in a design (the registers) and the logic operations that occur between those storage elements. The logic operations may be described as a netlist of logic functions or may be specified with logic equations.
This analysis can be extended to simultaneously cover any number of designs or portions of designs, thereby determining a set of non-standard complex Boolean logic functions that are optimal for implementation in a design space (set of designs representing an application domain). The precise set of non-standard complex Boolean logic functions determined by this method can vary depending on the target design goals, including relative values and prioritization of area, performance, power, manufacturing yield or any other criteria of interest, uniquely or in combination.
The non-standard complex Boolean logic functions thus determined are then implemented in a style suitable for manufacturing and are collected into a cell library that is specific to a single design or to a class or style of designs as represented in the analysis. Rather than only representing “standard” logic functions, the cells resulting from the analysis will implement the non-standard complex Boolean functions that were found in the analyzed designs, as well as a small number of “standard” or simple logic functions that can be used along with the non-standard complex Boolean functions to fully specify an integrated circuit design. These non-standard complex Boolean functions are represented by complex Boolean equations and can have a large number of inputs as well as multiple outputs, typically at least 3 inputs and having 3 levels of depth (when viewed as a standard cell function). A few examples of such complex functions, for varying number of inputs, are:
It is noted that although the last function has only 3 inputs, this is a non-traditional logic function that requires at least 14 transistors for its implementation, and is not a function that is typically used as a standard cell.
Table 1 below illustrates a cells that are typical of a conventional cell library. Table 2 below illustrates a set of complex cells according to the present invention, which are usable together to implement a particular integrated circuit:
In practice, these complex cells can be implemented with a small number of output drive strength options (options to drive different loads placed on its output), including an option for these complex cells to have only one output drive strength. This keeps the count of unique cells in the cell library small, simplifying library development, including analysis and maintenance of the manufacturability when implemented in a design with other cells and memories. In order to have the capability to match a cell's output drive capability with loads of varying magnitudes, the complex cells can then be used in combination with a set of inverting and non-inverting buffers of varying sizes as well as in possible combination with a set of simple logic gates of fixed or varying drive strengths.
This new approach 200 is shown in
Logic Pattern Bias
Bias, also referred to as logic pattern bias, is the tendency of a design or design tool to exhibit or create recurring patterns of identical or functionally equivalent logic structures. The approach described here is effective because most styles of design specification, synthesis or mapping have a bias towards creating certain recurring non-standard complex logic patterns resulting from recurring non-standard complex Boolean functions. In addition, certain types of designs exhibit inherent logic pattern regularity. Further, with sufficiently advanced techniques, logic pattern bias can be detected in many styles of design representation. Once detected, this bias may be exploited by creating complex logic cells that directly and efficiently implement the recurring patterns that result from this logic pattern bias.
In most cases, the logic patterns that are identified are the result of a number of different bias contributors. For example, a typical integrated circuit design is often specified by using a high-level language such as Verilog or VHDL. A design may include previously developed logic components either from previous designs or from collections of complex IP (whether static or dynamically generated), which complex IP can include a the intellectual property from a collection of previously designed and verified functional building blocks or components. These components may be created in-house or licensed from commercial vendors, for example. A design can also incorporate components implemented using different methods of specification, including schematic capture or direct netlist implementation or netlist generation by software. All of these contributors are used during the specification of a design and all have the potential to introduce significant logic pattern bias.
Designs typically include some level of hierarchy which may also lead to logic pattern bias. In addition, certain design tools, such as logic synthesis tools, can exhibit a tendency towards generating logic pattern bias. In some cases, the patterns generated by designs tools are incidental to the algorithms used within the tool, and in other cases a design tool might have been designed to intentionally and deterministically generate certain logic patterns.
Each of the bias contributors described in the above paragraphs can be thought of as cumulative, resulting in a compound bias, which is the overall logic pattern bias resulting from a design passing through several stages of a design flow, each of which may introduce logic pattern bias or modify the logic pattern bias introduced by previous stages. A modern design flow consists of many design tools that operate on a design in stages. Each stage has the potential to contribute logic pattern bias, or to modify the bias introduced by prior stages. In some cases, the logic patterns can be the direct result of the interaction between stages; for example, the specific interaction between a hierarchical IP library and a certain synthesis algorithm can lead to a unique logic pattern set that may not be apparent in the IP library before processing by the synthesis tool.
Because of this bias compounding it can be useful to analyze the design for logic pattern bias at different points in the design flow.
Logic pattern bias can also be introduced by adding an optimization dimension (other than area, performance, power etc.) of regularity to logic synthesis and optimization techniques such as factoring, decomposition, gate duplication etc. This dimension can be added to optimizations at one or more stages of the design flow such as at the technology independent optimization stage, the technology binding stage or the place and route stage. Often, this dimension can be added without any penalty to area, performance and other constraints.
Implementation
The set of specific non-standard complex Boolean logic functions that is derived for a given design space is usable to define a cell library that has far fewer cells than a standard cell library.
By contrast, traditional design techniques map designs to a set of logic functions that are generic and simple in nature. This new approach results in a targeted and efficient collection of complex cells that allows for an improved implementation of integrated circuit designs. At the same time, the resulting cell library is relatively small—usually less than 40 cells, with most of them, typically 75%, being complex cells that together allow for representation of substantially all of a design for that design space. When compared to traditional approaches which often result in cell libraries containing over 1,000 cells, this much smaller cell library simplifies cell layout, analysis and maintenance.
The cell library resulting from this new approach can be a combination of some number of complex cells implementing complex functions, along with a number of simple cells. The complex cells directly and efficiently implement the non-standard complex Boolean equations that in a traditional design environment may never have been identified or more likely would have been decomposed to (a potentially large number of) simple and less efficient cells. The few simple cells used in the cell library according to the present invention can be used to implement the remaining parts of the design that don't fit well into the complex cells resulting from the logic pattern bias analysis step as described. These simple cells include INVERT, AND, OR, and NOR logic functions, for example.
For the simple and complex logic functions described herein, for each logic function, it is understood that different parameters can be included, such as drive strength, which will allow for that same function to exist with different parameters. It is, however, still the same logic function, as used herein.
By keeping complex logic functions at a high level and not reducing them to basic gates, they can be directly implemented using relatively more efficient transistor-level design techniques. The resulting integrated circuit designs will generally have a beneficial combination of reduced area and power, as well as improved performance and yield characteristics when compared to designs based on traditional standard cell design techniques.
Specifics of Pattern Analysis Implementation
Integrated circuit designs or portions of integrated circuit designs are analyzed to identify complex logic functions that are candidates for cell level implementation and inclusion in a cell library, as described previously in step 240 of
How efficiently, actually or expected, can the function be implemented in a stand-alone cell?
It is important to determine if the candidate function can be efficiently implemented as a cell and if the resulting implementation would have an advantage over an implementation of the function based on a composition of simpler cells that are likely to be available in the cell library. To make this determination, comparisons must consider performance, power, area and yield differences in a ranking appropriate to a set of specific design goals.
Cell size and complexity must be carefully analyzed. For example, if the function is too simple, then the benefits of the resulting cell may not be significant, in which case the additional complexity created by adding the function to the cell library might not be justified. And if the function is too complex, then this can be an indication that the resulting cell is too design specific and would not add incremental benefit over the span of the general design space. In addition, overly complex functions can result in cells that are large and can lead to poor place and route results due to blockage and congestion.
How frequently does the function occur, or is expected to occurs in the overall design space?
This can be determined by several methods. One method might be the use of direct pattern matching to locate other parts of the design(s) where the identical function occurs. Another method is to determine if there are other logic functions in the design(s) that can be transformed through some set of operations (such as a DeMorgan transform—which is a simple logic transformation by which an AND function followed by an inversion can be converted to an OR function with an inversion at each input) of logical equivalence to match the candidate function. The goal is to only add complex cells to the cell library if they will be frequently used.
After analysis, the logic functions that are candidates for addition to the cell library can be listed in rank order based on expected usage frequency or some other measure. Experiments can further be performed to determine the incremental benefit of adding the next cell in the ordered list to the cell library. If it is determined that adding more functions provides only a marginal benefit, then the conclusion may be reached that the cell library is complete and no more functions should be added.
How unique is the function?
If a candidate function differs from a previously selected function by a trivial logic operation, such as inversion, then the cell may not be a good candidate for the cell library and the function may instead be constructed from the similar cell followed by a simple inverter.
Will adding the function to the cell library lead to an improvement in the resulting integrated circuit design?
It is possible to identify functions that meet all other criteria, but create no additional power, performance, area or yield advantage over the functions that already exist in the cell library. In this case, the new function adds complexity to the creation and development of the cell library with no benefit and should therefore not likely be added.
How well does the set of chosen functions globally cover the design?
The tradeoff involves choosing functions in such a way as to maximize the logic covered in the design and to minimize the total number of distinct chosen functions. A certain set of functions might result in better coverage of the design compared to another set of functions even though the individual functions in the latter set might have a higher frequency of occurrence than the individual functions in the former set.
In general, finding an optimal cover is NP-complete. NP-complete problems are the most difficult problems in the class of NP problems (non-deterministic polynomial time) in the sense that they are the smallest subclass of NP that can conceivably remain outside of P, the class of deterministic polynomial-time problems. The reason is that a deterministic, polynomial-time solution to any NP-complete problem would also be a solution to every other problem in NP. Various optimization techniques can be applied to find a good solution. For example, the general solution obtained by the approach shown in
The problem of finding an efficient cover can also be formulated as a set-covering problem in which the information is represented in a matrix where the columns are nodes in the graph and rows are candidate functions covering each node. The values in the matrix are the cost with which a row (function) covers the column (node). These costs could be based on various design goals such as the area efficiency, performance efficiency etc. with which the function covers the node. The goal is to find the minimal set of rows that maximizes the total cost of the nodes covered.
In another aspect of the invention, complex functions are implemented in a manner that selects logic chains will translate into a best implementations in terms of area, power and/or performance. Thus, depending on trade-offs of minimizing area, minimizing power, and increasing performance, different sets of complex functions may be implemented. By minimizing logic that is used, that allows for minimization of combination of area, timing (delay) and/or power.
Although the present invention has been particularly described with reference to embodiments thereof, it should be readily apparent to those of ordinary skill in the art that various changes, modifications and substitutes are intended within the form and details thereof, without departing from the spirit and scope of the invention. Accordingly, it will be appreciated that in numerous instances some features of the invention will be employed without a corresponding use of other features. Further, those skilled in the art will understand that variations can be made in the number and arrangement of components illustrated in the above figures. It is intended that the scope of the appended claims include such changes and modifications.
Number | Name | Date | Kind |
---|---|---|---|
5682323 | Pasch et al. | Oct 1997 | A |
6505332 | Oda | Jan 2003 | B1 |
6594808 | Kale et al. | Jul 2003 | B1 |
6892373 | Whitaker et al. | May 2005 | B2 |
20030149953 | Whitaker et al. | Aug 2003 | A1 |
20040143797 | Nguyen et al. | Jul 2004 | A1 |
20050028128 | Sachs | Feb 2005 | A1 |
20070011643 | Wang et al. | Jan 2007 | A1 |
20080120588 | Becker | May 2008 | A1 |
20080163151 | Motiani et al. | Jul 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20080163151 A1 | Jul 2008 | US |