IBM® is a registered trademark of International Business Machines Corporation, Armonk, N.Y., U.S.A. S/390, Z900 and z990 and other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies.
1. Field of the Invention
This invention relates to minimizing the area of a binary orthogonality checker implemented in static CMOS circuits.
2. Description of Background
This invention relates to minimizing the area of a binary orthogonality checker implemented in static CMOS circuits. Binary orthogonality checkers are used in static CMOS logic to check the control inputs to an orthogonal selector, ensuring there is no data collision between inputs. The checker guarantees that no more than one input to the checker has a true logical value during any comparison cycle. Since the primary purpose of the circuit is a checker, the primary concern for the circuit is to reduce the area the checker uses to complete the function. Within IBM, orthogonality checkers compared each combination of inputs with an AND gate, and then ORed all the outputs (see
This invention provides a way for minimizing the area of a binary orthogonality checker implemented in static CMOS circuits. The area and logic growth rate of the prior art can be reduced by creating an internal hierarchical checking structure. In accordance with our preferred embodiment we have provided a method for minimizing the gate count and area needed to implement an orthogonality checker given a library of logical gates to implement the circuit and the area for each gate in the library. In accordance with our improvement we have provided for determining the optimal mix of hierarchical levels and inputs to implement a given orthogonality checker to achieve the minimized circuit. An orthogonality checker was employed in a scalable selector system for controlling data transfer and routing in a data processing system, comprising a plurality of input data buses coupled to a multiple-bit, multiple bus selector having data, data valid, and orthogonality check outputs and having multiple data input bus ports coupled for receipt of signal from said plurality of input data buses. for providing binary orthogonality checking by hierarchically combining the checks with smaller numbers of inputs, so that the total check of a large number of inputs is performed with less gates and in a smaller area. In accordance with our preferred embodiment we combine multiple checks into one larger check, providing that the check is performed on each input set, as well as combining an OR of all the inputs to the check. The resulting OR values are then checked for orthogonality, and the results of all the checks are ORed together (see
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.
The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains the preferred embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
To minimize the area of the orthogonality checker, this method minimizes the total gate count necessary to implement the orthogonality logic. This minimization is achieved through implementing the orthogonality logic in a hierarchical structure. This method shows the area benefit of the hierarchical structure and identifies the optimal structure for any static CMOS library.
The basic orthogonality function identifies if two or more binary signals in a group have a logical true value. The IBM system described in the background compared every combination of two signals in the group and performed a logical OR on each of the outputs. While correct, this produces a structure of
two input gates. As the number of inputs, N, gets larger, this number grows with N squared. By dividing a set of signals into two, or more groups, the orthogonality of the total set can be determined by: determining the orthogonality of each group individually, forming a new group of the OR value of each group, determining the orthogonality of the new group, and producing the final output by ORing each of the resulting orthogonality signals. For example, let N=6, calling the inputs a, b, c, d, e, and f (see
The prior implementation generalized to an N input checker, it will have one AND gate for each combination of two inputs, or
AND gates. This will be followed by an OR gate with the same number of inputs. Assuming the implementation can be completed with a library of gates consisting of only two input AND and two input OR gates, the size of the final solution takes
gates. This solution grows with N squared gates, and thus N squared area (see
To determine the ideal hierarchical structure, the following analysis is necessary. First determine the point when a hierarchical structure is smaller than the prior art structure. For example, with a library of 2 input AND and OR gates, with 4 inputs, the prior art checking structure uses 11 gates, while the hierarchical structure uses only 8 gates. The next step in the method is to determine the optimal mix of ORTH2 and ORTH3 checks to combine to make the hierarchical checker. To determine this, examine the trade off of replacing two ORTH3 circuits with three ORTH2 circuits. The cost of the trade equals 2*(ORTH(3)+OR(3))−3*(ORTH(2)+OR(2)). The savings you gain by doing this equals (ORTH(J)−ORTH(J−1))+(OR(J+1)−OR(J)), where J is the number of output signals at the next level of hierarchy, and ORTH(N) is the cost of the orthogonality circuit with N inputs, OR(N) is the cost of the or circuit with N inputs. For this library the cost is equal to the number of 2 input gates necessary to implement the circuit. To substitute multiple groups of circuits, we find the total cost equals the original cost function multiplied by the number of groups substituted. The total savings from multiple substitutions equals (ORTH(J)−ORTH(J−M))+(OR(J+1)−OR(J+1−M)), where M is the number of substitutions. The optimal implementation for a hierarchical orthogonality checker is one that maximizes the value of savings minus cost. This can be determined for any orthogonality checker and library using a spreadsheet of values and building valid values.
For a CMOS library consisting of NAND, NOR, and INV gates, the basic theory from the previous library holds, however, the sizes of each function must be computed based on the area of the standard cells necessary to complete the function. Also in this library the functions can be optimized to reduce the number of inverters necessary.
From the Table of
From this generalization, in the case of N=6, we note we need seven 2-1 AND gates, and five 3-1 OR gates of a total of 7+5*(3-1) area units, which is equal to 17 area units, a number much smaller than the 29 needed without employing the method of grouping.
We can generalize by first determined that ORTH# is the size of an orthogonality check of #inputs, and we provide OR# as the size of an OR gate with # inputs. Then ORTH2+OR2=1+1=2. ORTH3+OR3=3+3+(3−1))+3−1)=7. ORTH4+OR4=(6+(6−1))+(4−1)=14. This illustrates a succession of determinations, and the process can continue for the determined number of gates. We note, interesting that since the hierarchical ORTH4+OR4 contains 8 gates, ORTH4 should never be used.
Here we should note that the illustrations relating to AND gates can be implemented for NAND gates, equivalent to the circuit of
While the preferred embodiment to the invention has been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.
| Number | Name | Date | Kind |
|---|---|---|---|
| 4410989 | Berlekamp | Oct 1983 | A |
| 4775852 | Sloane | Oct 1988 | A |
| 5189629 | Kohnen | Feb 1993 | A |
| 5257201 | Berman et al. | Oct 1993 | A |
| 5631915 | Meaney et al. | May 1997 | A |
| 5745373 | Watai et al. | Apr 1998 | A |
| 5774481 | Meaney et al. | Jun 1998 | A |
| 5996040 | Meaney et al. | Nov 1999 | A |
| 6038626 | Meaney et al. | Mar 2000 | A |
| 6063132 | DeCamp et al. | May 2000 | A |
| 6212669 | Jain | Apr 2001 | B1 |
| 6269467 | Chang et al. | Jul 2001 | B1 |
| 6421810 | McCown | Jul 2002 | B1 |
| 6426939 | Moon et al. | Jul 2002 | B1 |
| 6437598 | Zhou | Aug 2002 | B1 |
| 6587990 | Andreev et al. | Jul 2003 | B1 |
| 6721926 | Wang et al. | Apr 2004 | B2 |
| 7028278 | Jain | Apr 2006 | B2 |
| 20040131011 | Sandell et al. | Jul 2004 | A1 |
| 20050129071 | Boerstler et al. | Jun 2005 | A1 |
| 20050146352 | Madurawe | Jul 2005 | A1 |
| Number | Date | Country | |
|---|---|---|---|
| 20050228910 A1 | Oct 2005 | US |