Arithmetic circuit with overflow detection capability
AssigneeNippon Electric Co., Ltd.
InventorsTakao Nishitani, Yuichi Kawakami
Life of this patent
Estimating the term…
Loading patent…
AssigneeNippon Electric Co., Ltd.
InventorsTakao Nishitani, Yuichi Kawakami
Estimating the term…
Overflow monitoring circuitry for an arithmetic unit offsets consecutive positive and negative overflows against one another to eliminate unnecessary overflow compensation during an arithmetic operation. In a first embodiment, an up/down counter is used to count positive overflows in one direction and negative overflows in another, with the value of the counter at the end of the arithmetic operation indicating the net overflow, if any has occurred, and the most significant bit of the counter representing the direction of any net overflow. In a second embodiment, logic circuitry offsets alternate positive and negative overflows against one another but will provide an overflow signal if either an odd number of overflows occurs or if two consecutive overflows in one direction occur during the arithmetic operation.
In an arithmetic circuit of the type for performing an arithmetic operation comprising a plurality of consecutive internal addition or subtraction operations, said circuit including a calculating means for receiving first and second inputs represented in two's complement-fixed point and adding or subtracting said inputs to provide an output and accumulator means for receiving and storing said calculating means output, the content of said accumulator means being provided as said second input and said first input being externally supplied, whereby said arithmetic circuit performs consecutive additions or subtractions in response to consecutive externally supplied first inputs, said circuit further comprising:
Dependencies are inferred from the claim text.