Claims
- 1. A method of evaluating two binary variables (A and B) and a binary constant, said method comprising:
- providing at least one constant-adder bit-cell, said constant-adder bit-cell having inputs A and B, a constant-adder bit-cell sum output, and a constant-adder bit-cell carry output;
- providing a carry-save adder having sum and carry outputs, said carry-save adder including said constant-adder bit-cell in a bit position of said carry-save adder that corresponds to a bit value one in said binary constant, wherein said constant-adder bit-cell's sum and said carry output are included within said carry-save adder's sum and carry outputs, respectively;
- providing a carry-propagation circuit;
- generating said constant-adder bit-cell sum output, wherein the expanded sum-of-products form of said sum output is given by S(A,B)=.SIGMA.0,3;
- generating said constant-adder bit-cell carry output, wherein the expanded sum-of-products form of said carry output is given by C(A,B)=.SIGMA.1,2,3;
- coupling at least some of said sum and carry outputs of said carry-save adder to the inputs of said carry-propagation circuit;
- said carry-propagation circuit selectively propagating a carry in response to said sum and carry outputs of said carry-save adder; and generating a carry output from the most significant bit of said carry-propagation circuit.
- 2. The method of claim 1, wherein said binary constant is equal to 10 (decimal 2).
- 3. The method of claim 1, wherein said carry-propagation circuit further has sum outputs.
CROSS-REFERENCE TO RELATED APPLICATIONS
This is a continuation, of application Ser. No. 08/212,516, filed Mar. 11, 1994, now U.S. Pat. No. 5,394,351.
The present application is related to copending application Ser. No. 08/185488 filed Jan. 21, 1994, entitled "SUPERSCALAR EXECUTION UNIT FOR SEQUENTIAL INSTRUCTION POINTER UPDATES AND SEGMENT LIMIT CHECKS," by inventors E. A. Sowadsky, L. Widigen, D. L. Puziol, and K. S. Van Dyke (agent docket number NM.1993.3). This application is also related to application Ser. No. 08/212,514 filed on the same date as this application, entitled "OPTIMIZED BINARY ADDERS AND COMPARATORS FOR INPUTS HAVING DIFFERENT WIDTHS," by L. Widigen and E. A. Sowadsky (agent docket number NM. 1993.7). All of these applications are incorporated herein by this reference and are assigned to the assignee of the present invention.
US Referenced Citations (6)
Non-Patent Literature Citations (5)
Entry |
Gerritt A. Blaauw; "Digital System Implementation"; Prentice Hall, 1976; Section 2-12, pp. 54-58. |
David A. Patterson & John L. Hennessy; "Computer Arithmetic: A Quantitative Approach"; Morgan Kaufmann Publishers, 1990; pp. A-42 thru A-43. |
C.S. Wallace; "Computer Arithmetic"; A Suggestion for a Fast Multiplier; IEEE Transactions on Electric Computers EC-13 14-17, 1964; pp. 114-117. |
Kai Hwang; "Computer Arithmetic: Principles, Architecture, and Design"; John Wiley & Sons, 1979; pp. 98-100. |
Shlomo Waser and Michael J Flynn; "Introduction to Arithmetic for Digital Systems Designers"; Holt,Rinehart and Winston, 1982; pp. 103-104. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
212516 |
Mar 1994 |
|