← Back to Patent Explorer
US4379338A Expired / Lapsed US ⏱️ 0.0 years remaining

Arithmetic circuit with overflow detection capability

Assignee: NEC Corp
•
Filing: 1980-11-21
•
Granted: 1983-04-05
•
Expires: 2000-11-21
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract 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.

Inventors

  • 👤 Takao Nishitani
  • 👤 Yuichi Kawakami

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-04 10:20
CPC Classifications
G; G06; G06F; G06F7/00; G06F7/38; G06F7/48; G06F7/50; G06F7/505; G06F7/509; G06F7/5095; G06F7/499; G06F7/49905; G06F7/4991

Claims Analysis

Total Claims: 8
Claim 1
Independent Claim 229 words
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: overflow occurrence detection means for providing an overflow occurrence signal output each time an overflow occurs in one of said internal operations; overflow direction detection means for providing an overflow direction signal output indicating the direction of each said overflow; and overflow monitoring means responsive to said overflow occurrence and overflow direction signals for offsetting positive and negative overflows against one another, said overflow monitoring means providing a net overflow occurrence signal and a net overflow direction signal indicating the occurrence and direction of a net overflow if an unequal number of positive and negative overflows has occurred during said arithmetic operation, said overflow monitoring means providing no net overflow occurrence signal if an even number of alternately occurring positive and negative overflows has occurred during said arithmetic operation.
Claim 2
Dependent Claim 229 words
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: overflow occurrence detection means for providing an overflow occurrence signal output each time an overflow occurs in one of said internal operations; overflow direction detection means for providing an overflow direction signal output indicating the direction of each said overflow; and overflow monitoring means responsive to said overflow occurrence and overflow direction signals for offsetting positive and negative overflows against one another, said overflow monitoring means providing a net overflow occurrence signal and a net overflow direction signal indicating the occurrence and direction of a net overflow if an unequal number of positive and negative overflows has occurred during said arithmetic operation, said overflow monitoring means providing no net overflow occurrence signal if an even number of alternately occurring positive and negative overflows has occurred during said arithmetic operation.
Claim 3
Dependent Claim 157 words
An arithmetic circuit as defined in claim 1, wherein said overflow monitoring means comprises: counting means responsive to said overflow occurrence and overflow direction signals for counting said overflow occurrence signals in a direction determined by said overflow direction signal; resetting means for resetting said counter to a zero value at the beginning of said arithmetic operation; zero detecting means for providing said net overflow occurrence signal when the content of said counter is non-zero; and sign indicating means responsive to the most significant bit in said counter for providing said net overflow direction signal; whereby said overflow monitoring means provides said net overflow occurrence and net overflow direction signals only when an unequal number of positive and negative overflows has occurred during said arithmetic operation and will not provide said net overflow occurrence signal if an equal number of positive and negative overflows has occurred even though two consecutive overflows may occur in the same direction.
Claim 4
Dependent Claim 249 words
An arithmetic circuit as defined in claim 1, wherein said overflow monitoring means comprises: first memory means responsive to said overflow occurrence signals for indicating whether the number of overflows is even or odd; overflow direction memory means for memorizing the direction of overflow each time an overflow occurs and said first memory means is indicating an even number of overflows and when no overflow signal is provided; overflow memory means for storing a net overflow signal and providing said overflow signal in response to said overflow occurrence signal when said first memory means is indicating an odd number of overflows and said direction stored in said direction memory is the same as said overflow direction signal; prohibiting means responsive to an overflow signal stored in said overflow memory for prohibiting the alteration of the contents of said overflow direction memory means; net overflow detection means for providing said net overflow signal in response to either an overflow signal from said overflow memory or an odd signal from said first memory; and clearing means for clearing said first memory, direction memory and overflow memory at the beginning of said arithmetic operation; whereby said overflow monitoring means provides said net overflow signal if an unequal number of positive and negative overflows has occurred during said arithmetic operation or if an equal number of positive and negative overflows has occurred but two consecutive overflows have the same direction, the output of said direction memory means comprising said net overflow direction signal.
Claim 5
Dependent Claim 29 words
An arithmetic unit as defined in any one of claims 1, 2 or 3, wherein said overflow direction signal comprises the most significant bit of said calculating means output.
Claim 6
Dependent Claim 64 words
An arithmetic unit as defined in any one of claims 1, 2 or 3, wherein said calculating means includes a plurality of stages each having a carry-over output terminal, and said overflow occurrence detection means comprises an Exclusive OR (EOR) gate having first and second inputs coupled to the carry over output terminals of the two most significant bit stages of said calculating means.
Claim 7
Dependent Claim 17 words
An arithmetic circuit as defined in claim 3, wherein said direction memory means comprises a D-type flip-flop.
Claim 8
Dependent Claim 18 words
An arithmetic circuit as defined in claim 3, wherein said overflow memory means comprises an R-S type flip-flop.

References Cited (Backward Citations)

US3700874A Cited
US3970833A Cited
US4223389A Cited
US4215415A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1986-04-04 1986-10-04 1987-04-05 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1990-04-04 1990-10-04 1991-04-05 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 1994-04-04 1994-10-04 1995-04-05 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag