Claims
- 1. An adder comprising:
a plurality of computational stages each associated with one or more bit positions of the adder, the plurality of computational stages including one or more computational stages for generating a sum output signal and a primary carry-output signal of the adder; and a flag generation circuit coupled to at least one signal line of at least one of the computational stages and operative to generate an overflow flag for the adder, the overflow flag being generated substantially in parallel with the generation of at least one of the sum output signal and the primary carry-output signal of the adder.
- 2. The adder of claim 1 wherein the adder comprises an n-bit adder and the sum output signal comprises a final sum bit sn-1 of the n-bit adder.
- 3. The adder of claim 1 wherein the adder comprises an n-bit adder and the primary carry-output signal comprises a primary carry-output signal cn-1 of the n-bit adder.
- 4. The adder of claim 1 wherein the flag generation circuit does not require the primary carry-output signal to generate the overflow flag for the adder.
- 5. The adder of claim 1 wherein the adder comprises an n-bit adder and the flag generation circuit generates an overflow flag OVF as:
- 6. The adder of claim 1 wherein the flag generation circuit comprises a multiplexer which selects one of a plurality of input signals for propagation to its output as the overflow flag based at least in part on a signal associated with the signal line of at least one of the computational stages.
- 7. The adder of claim 1 wherein the flag generation circuit comprises a 2-to-1 multiplexer having a first input having a first signal applied thereto, a second input having a second signal applied thereto, an output corresponding to the overflow flag, and a select signal input for selecting one of the first signal and the second signal for propagation to the output as the overflow flag.
- 8. The adder of claim 7 wherein the adder comprises an n-bit adder and the multiplexer receives as the first input a transmit signal tn-1, receives as the second input a generate signal {overscore (g)}n-1, receives as the select signal a carry signal cn-2, and depending on the value of the select signal, the multiplexer selects either the transmit signal tn-1 or the generate signal {overscore (g)}n-1 for propagation in inverted form to its output as the overflow flag.
- 9. The adder of claim 1 wherein the adder comprises a prefix tree adder having a plurality of prefix trees, each associated with one of the bit positions of the adder and including one or more of the computation stages.
- 10. The adder of claim 1 wherein the adder comprises a carry-lookahead adder.
- 11. The adder of claim 1 wherein the adder comprises a carry-skip adder.
- 12. The adder of claim 1 wherein the adder comprises a carry-ripple adder.
- 13. The adder of claim 1 wherein the adder comprises a carry-save adder.
- 14. The adder of claim 1 wherein the adder comprises a radix-2 adder.
- 15. The adder of claim 1 wherein the adder comprises a non-radix-2 adder.
- 16. An integrated circuit comprising:
at least one adder, the adder comprising: (i) a plurality of computational stages each associated with one or more bit positions of the adder, the plurality of computational stages including one or more computational stages for generating a sum output signal and a primary carry-output signal of the adder; and (ii) a flag generation circuit coupled to at least one signal line of at least one of the computational stages and operative to generate an overflow flag for the adder, the overflow flag being generated substantially in parallel with the generation of at least one of the sum output signal and the primary carry-output signal of the adder.
- 17. A method for performing a computational operation in an adder, the method comprising the steps of:
providing a plurality of computational stages each associated with one or more bit positions of the adder, the plurality of computational stages including one or more computational stages for generating a sum output signal and a primary carry-output signal of the adder; and generating an overflow flag for the adder using at least one signal associated with at least one of the computational stages, the overflow flag being generated substantially in parallel with the generation of at least one of the sum output signal and the primary carry-output signal of the adder.
RELATED APPLICATIONS
[0001] The present application is related to U.S. patent application Ser. No. 09/291,677 filed Apr. 14, 1999 in the name of inventors M. Besz et al. and entitled “Prefix Tree Adder with Efficient Carry Generation,” U.S. patent application Ser. No. 09/525,644 filed Mar. 15,2000 in the name of inventors A. Goldovsky et al. and entitled “Prefix Tree Adder with Efficient Sum Generation,” and U.S. patent application Ser. No. 09/569,022 filed May 11, 2000 in the name of inventors A. Goldovsky et al. and entitled “Incorporation of Split-Adder Logic within a Carry-Skip Adder without Additional Propagation Delay,” all of which are incorporated by reference herein.