# US 5,050,120 A · Residue addition overflow detection processor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,050,120 A
- Document ID: US5050120A
- Status: Granted
- Kind: A
- Application number: 07/414,276
- Filed: 1989-09-29
- Granted: 1991-09-17
- Earliest claimed: 1989-09-29
- Assignees: The Boeing Company
- Inventors: Theodore L. Houk
- Web page: https://patentgrep.com/patent/US5050120A

## CPC

- H03M 7/18: Conversion to or from residue codes
- G06E 1/065: {using residue arithmetic}
- G06F 7/729: {using representation by a residue number system}
- H03M 7/12: having two radices, e.g. binary-coded-decimal code
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06E: OPTICAL COMPUTING DEVICES (digital storage using optical elements G11C13/04)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A residue addition overflow detection processor detects overflow resulting from the addition of two residue numbers by extending the base of the two numbers, adding the two extended numbers to each other, and converting the resultant sum into mixed base representation. The digits of the mixed base representation are processed to produce signals indicating whether overflow has occurred. Delay circuits maintain the synchronism of the processing. The detection processor can be used in conjunction with optical information processing systems.

## Claims

### Claim 1

A residue addition overflow detection processor which adds a first non-redundant residue input number and a second non-redundant residue input number, said overflow detection processor comprising:
a first base extension circuit which receives said first non-redundant residue input number and which generates a first redundant residue digit;
a second base extension circuit, in parallel to said first base extension circuit, which receives said second non-redundant residue input number and which generates a second redundant residue digit;
a first adder which receives said first non-redundant residue input number and said first redundant residue digit as a first operand, and receives said second non-redundant residue input number and said second redundant residue digit as a second operand, said first adder adding said first operand to said second operand using modular addition to produce a first sum in residue representation;
a residue to mixed base converter which receives said first sum, converts said first sum into mixed base representation, and generates at least one mixed base digit corresponding to said mixed base representation; and
a validity determination circuit which receives said at least one mixed base digit and transmits at least one signal indicating whether overflow has occurred in addition of said first non-redundant residue input number to said second non-redundant residue input number.

### Claim 2 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, further comprising:
a first delay circuit, arranged in parallel to said first base extension circuit, which delays a transmission of said first non-redundant residue input number to said first adder;
a second delay circuit, arranged in parallel to said second base extension circuit, which delays a transmission of said second non-redundant residue input number to said first adder; and
a third delay circuit, arranged in parallel to said residue to mixed base converter, which delays a transmission of said first sum such that said first sum is transmitted from said overflow detection processor simultaneously with transmission of said at least one signal indicating whether overflow has occurred.

### Claim 3 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, further comprising:
a first signal line transmitting an active validity signal when a redundant mixed base digit is equal to zero; and
a second signal line transmitting an active invalidity signal when said redundant mixed base digit is not equal to zero.

### Claim 4 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, further comprising:
a second adder which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said second adder adding said redundant mixed base digit to said highest order non-redundant mixed base digit using modular addition to produce a second sum, said second adder transmitting an active validity signal when said second sum is equal to zero and transmitting an active invalidity signal when said second sum is not equal to zero.

### Claim 5 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, further comprising:
an arithmetic and logic unit which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said arithmetic and logic unit transmitting an active validity signal when both said redundant mixed base digit and said highest order non-redundant mixed base digit are equal to zero or when both said highest order non-redundant mixed base digit is equal to one and said redundant mixed base digit is equal to the value of a redundant modulus minus one.

### Claim 6 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, wherein said first base extension circuit, said second base extension circuit, said first adder, and said residue to mixed base converter comprise optical circuits.

### Claim 7 (depends on 1)

A residue addition overflow detection processor as set forth in claim 1 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 8 (depends on 2)

A residue addition overflow detection processor as set forth in claim 2 above, further comprising:
a first signal line transmitting an active validity signal when a redundant mixed base digit is equal to zero; and
a second signal line transmitting an active invalidity signal when said redundant mixed base digit is not equal to zero.

### Claim 9 (depends on 2)

A residue addition overflow detection processor as set forth in claim 2 above, further comprising:
a second adder which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said second adder adding said redundant mixed base digit to said highest order non-redundant mixed base digit using modular addition to produce a second sum, said second adder transmitting an active validity signal when said second sum is equal to zero and transmitting an active invalidity signal when said second sum is not equal to zero.

### Claim 10 (depends on 2)

A residue addition overflow detection processor as set forth in claim 2 above, further comprising:
an arithmetic and logic unit which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said arithmetic and logic unit transmitting an active validity signal when both said redundant mixed base digit and said highest order non-redundant mixed base digit are equal to zero or when both said highest order non-redundant mixed base digit is equal to one and said redundant mixed base digit is equal to the value of a redundant modulus minus one.

### Claim 11 (depends on 6)

A residue addition overflow detection processor as set forth in claim 6 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 12

A residue addition overflow detection processor which adds a first redundant residue input number and a second redundant residue input number, said overflow detection processor comprising:
an adder which receives said first redundant residue input number as a first operand and said second redundant residue input number as a second operand, said adder adding said first operand to said second operand using modular addition to produce a sum in residue representation;
a residue to mixed base converter which receives said sum, converts said sum into mixed base representation, and transmits a value of a mixed base digit corresponding to said mixed base representation;
a validity determination circuit which receives said value of said mixed base digit and transmits at least one signal, indicating that overflow has occurred in addition of said first redundant residue input number to said second redundant residue input number, when said value of said mixed base digit is either equal to zero or equal to the value of a highest order modulus minus one.

### Claim 13 (depends on 12)

A residue addition overflow detection processor as set forth in claim 12, further comprising:
a delay circuit, arranged parallel to said residue to mixed base converter, which delays a transmission of said sum such that said sum is transmitted from said overflow detection processor essentially simultaneously with transmission of said at least one signal indicating whether overflow has occurred

### Claim 14 (depends on 12)

A residue addition overflow detection processor as set forth in claim 12 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 15 (depends on 12)

A residue addition overflow detection processor as set forth in claim 12 above, wherein said adder, said residue to mixed base converter, and said validity determination circuit are optical circuits.

### Claim 16 (depends on 15)

A residue addition overflow detection processor as set forth in claim 15 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 17

A method of detecting overflow resulting from adding a first non-redundant residue input number to a second non-redundant residue input number, comprising the steps of:
receiving said first non-redundant residue input number;
receiving said second non-redundant residue input number;
generating a first redundant residue digit corresponding to said first non-redundant residue input number;
delaying said first non-redundant residue input number to produce a delayed first non-redundant residue input number;
generating a second redundant residue digit corresponding to said second non-redundant residue input number;
delaying said second non-redundant residue input number to produce a delayed second non-redundant residue input number;
adding said delayed first non-redundant residue input number and said first redundant residue digit as a first operand to said delayed second non-redundant residue input number and said second redundant residue digit as a second operand to produce a sum;
converting said sum into mixed base representation in a form of at least one mixed base digit;
generating at least one signal based on at least one value of said at least one mixed base digit, said at least one signal indicating whether overflow resulted from addition of said first non-redundant residue input number to said second non-redundant residue input number; and
delaying a transmission of said sum in order to transmit said sum simultaneously with transmission of said at least one signal.

### Claim 18 (depends on 17)

A method of detecting overflow as set forth in claim 17, further comprising the step of:
simultaneously generating a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 19

A method of detecting overflow resulting from adding a first redundant residue input number to a second redundant residue input number, comprising the steps of:
receiving said first redundant residue input number;
receiving said second redundant residue input number;
adding said first redundant residue input number to said second redundant residue input number to produce a sum;
converting said sum into mixed base representation in a form of at least one mixed base digit;
generating at least one signal based on at least one value of said at least one mixed base digit, said at least one signal indicating whether overflow resulted from addition of said first redundant residue input number to said second redundant residue input number; and
delaying a transmission of said sum in order to transmit said sum simultaneously with a transmission of said at least one signal.

### Claim 20 (depends on 19)

A method of detecting overflow as set forth in claim 19, further comprising the step of:
simultaneously generating a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 21

A residue addition overflow detection processor which adds a first non-redundant residue input number and a second redundant residue input number, said overflow detection processor comprising:
a first base extension circuit which receives said first non-redundant residue input number and which generates a first redundant residue digit;
a first adder which receives said first non-redundant residue input number and said first redundant residue digit as a first operand, and receives said second redundant residue input number as a second operand, said first adder adding said first operand to said second operand using modular addition to produce a first sum in residue representation;
a residue to mixed base converter which receives said first sum, converts said first sum into mixed base representation, and generates at least one mixed base digit corresponding to said mixed base representation; and
a validity determination circuit which receives said at least one mixed base digit and transmits at least one signal indicating whether overflow has occurred in addition of said first non-redundant residue input number to said second redundant residue input number.

### Claim 22 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, further comprising:
a first delay circuit, arranged in parallel to said first base extension circuit, which delays a transmission of said first non-redundant residue input number to said first adder;
a second delay circuit which delays a transmission of said second redundant residue input number to said first adder; and
a third delay circuit, arranged in parallel to said residue to mixed base converter, which delays a transmission of said first sum such that said first sum is transmitted from said overflow detection processor simultaneously with transmission of said at least one signal indicating whether overflow has occurred.

### Claim 23 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, further comprising:
a first signal line transmitting an active validity signal when a redundant mixed base digit is equal to zero; and
a second signal line transmitting an active invalidity signal when said redundant mixed base digit is not equal to zero.

### Claim 24 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, further comprising:
a second adder which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said second adder adding said redundant mixed base digit to said highest order non-redundant mixed base digit using modular addition to produce a second sum, said second adder transmitting an active validity signal when said second sum is equal to zero and transmitting an active invalidity signal when said second sum is not equal to zero.

### Claim 25 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, further comprising:
an arithmetic and logic unit which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said arithmetic and logic unit transmitting an active validity signal when both said redundant mixed base digit and said highest order non-redundant mixed base digit are equal to zero or when both said highest order non-redundant mixed base digit is equal to one and said redundant mixed base digit is equal to the value of a redundant modulus minus one.

### Claim 26 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, wherein said first base extension circuit, said first adder, and said residue to mixed base converter comprise optical circuits.

### Claim 27 (depends on 21)

A residue addition overflow detection processor as set forth in claim 21 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 28 (depends on 22)

A residue addition overflow detection processor as set forth in claim 22 above, further comprising:
a first signal line transmitting an active validity signal when a redundant mixed base digit is equal to zero; and
a second signal line transmitting an active invalidity signal when said redundant mixed base digit is not equal to zero.

### Claim 29 (depends on 22)

A residue addition overflow detection processor as set forth in claim 22 above, further comprising:
a second adder which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said second adder adding said redundant mixed base digit to said highest order non-redundant mixed base digit using modular addition to produce a second sum, said second adder transmitting an active validity signal when said second sum is equal to zero and transmitting an active invalidity signal when said second sum is not equal to zero.

### Claim 30 (depends on 22)

A residue addition overflow detection processor as set forth in claim 22 above, further comprising:
an arithmetic and logic unit which receives a redundant mixed base digit and a highest order non-redundant mixed base digit from said residue to mixed base converter, said arithmetic and logic unit transmitting an active validity signal when both said redundant mixed base digit and said highest order non-redundant mixed base digit are equal to zero or when both said highest order non-redundant mixed base digit is equal to one and said redundant mixed base digit is equal to the value of a redundant modulus minus one.

### Claim 31 (depends on 26)

A residue addition overflow detection processor as set forth in claim 26 above, wherein said validity determination circuit simultaneously transmits a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.

### Claim 32

A method of detecting overflow resulting from adding a first non-redundant residue input number to a second redundant residue input number, comprising the steps of:
receiving said first non-redundant residue input number;
receiving said second redundant residue input number;
generating a first redundant residue digit corresponding to said first non-redundant residue input number;
delaying said first non-redundant residue input number to produce a delayed first non-redundant residue input number;
delaying said second redundant residue input member to produce a delayed second redundant residue input number;
adding said delayed first non-redundant residue input number and said first redundant residue digit as a first operand to said delayed second redundant residue input number as a second operand to produce a sum;
converting said sum into mixed base representation in a form of at least one mixed base digit;
generating at least one signal based on at least one value of said at least one mixed base digit, said at least one signal indicating whether overflow resulted from addition of said first non-redundant residue input number to said second redundant residue input number; and
delaying a transmission of said sum in order to transmit said sum simultaneously with transmission of said at least one signal.

### Claim 33 (depends on 32)

A method of detecting overflow as set forth in claim 32, further comprising the step of:
simultaneously generating a validity signal indicating whether overflow has occurred and an invalidity signal, said invalidity signal being a complement of said validity signal.
