A binary adder employs separate summing and carry circuitry within each digit to optimize the speed of operation of the adder. carry bits of less significant digits are calculated independently of corresponding sum bits, thus allowing propagation of such carry bits to more significant digits before completion of the summation of the less significant digits.

Patent
   4052604
Priority
Jan 19 1976
Filed
Jan 19 1976
Issued
Oct 04 1977
Expiry
Jan 19 1996
Assg.orig
Entity
unknown
32
6
EXPIRED
1. A binary adder for calculating the sum of first and second binary numbers, each binary number having a plurality of binary digits, the binary adder comprising:
a plurality of service logic circuits, each service logic circuit being connected for receiving corresponding bits of the first and second binary numbers, for producing a first gating signal when the corresponding bits of the binary numbers are both one, for producing a second gating signal when the corresponding bits of the binary numbers are both zero, and for producing a third gating signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of summing circuits, each summing circuit being connected for receiving the first, second, and third gating signals from a corresponding one of the plurality of service logic circuits, for receiving an input carry signal, for producing a sum bit output signal equal to the logical value of the input carry signal in response to either the first or second gating signal, and for producing a sum bit output signal equal to the logical complement of the input carry signal in response to the third gating signal; and
a plurality of carry circuits, each carry circuit being connected for receiving the first, second, and third gating signals from the corresponding service logic circuit, for receiving the input carry signal, for producing a carry bit output signal representing logical one in response to the first gating signal, for producing a carry bit output signal representing logical zero in response to the second gating signal, and for producing a carry bit output signal equal to the logical value of the input carry signal in response to the third gating signal;
the plurality of service logic, carry, and summing circuits being connected so that the carry bit output signal of a selected carry circuit serves as the input carry signal for both the succeeding more significant carry circuit and the corresponding more significant summing circuit.
2. A binary adder for calculating the sum of first and second binary numbers, each binary number having a plurality of binary digits, the binary adder comprising:
a plurality of first summing circuits, each first summing circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an input carry signal, for producing a sum bit output signal equal to the logical value of the input carry signal when corresponding bits of the first and second binary numbers are both zero or are both one, and for producing a sum bit output signal equal to the logical complement of the input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of second summing circuits, each second summing circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an inverted carry signal, for producing a sum bit output signal equal to the logical complement of the inverted input carry signal when corresponding bits of the first and second binary numbers are both zero or are both one, and for producing a sum bit output signal equal to the logical value of the inverted input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of first carry circuits, each first carry circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving the input carry signal, for producing a first carry bit output signal representing logical one when corresponding bits of both binary numbers are one, for producing a first carry bit output signal representing logical zero when the corresponding bits of both binary numbers are zero, and for producing a first carry bit output signal equal to the logical value of the input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of second carry circuits, each second carry circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an inverted input carry signal, for producing a second carry bit output signal representing logical zero when corresponding bits of both binary numbers are one, for producing a second carry bit output signal representing logical one when the corresponding bits of both binary numbers are zero, and for producing a second carry bit output signal equal to the logical value of the inverted input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero; and
a plurality of inverters, each operative for receiving an input logic signal and for producing a complementary output logic signal;
the plurality of first summing circuits, second summing circuits, first carry circuits, second carry circuits, and inverters being connected so that the first carry bit output signal from each one of said plurality of first carry circuits is connected through a selected one of said plurality of inverters to serve as the inverted input carry signal for both a successive one of said plurality of second carry circuits and an associated one of said plurality of second summing circuits, and being further connected so that the second carry bit output signal from each one of said plurality of second carry circuits is connected through a selected one of said plurality of inverters to serve as the input carry signal for both a successive one of said plurality of first carry circuits and an associated one of said plurality of first summing circuits.
3. A binary adder for calculating the sum of first and second binary numbers, each binary number having a plurality of binary digits, the binary adder comprising:
a plurality of first summing circuits, each first summing circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an input carry signal, for producing a sum bit output signal equal to the logical value of the input carry signal when corresponding bits of the first and second binary numbers are both zero or are both one, and for producing a sum bit output signal equal to the logical complement of the input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of second summing circuits, each second summing circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an inverted input carry signal, for producing a sum bit output signal equal to the logical complement of the inverted input carry signal when corresponding bits of the first and second binary numbers are both zero or are both one, and for producing a sum bit output signal equal to the logic value of the inverted input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of first carry circuits, each first carry circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving the input carry signal, for producing a first carry bit output signal representing logical one when corresponding bits of both binary numbers are one, for producing a first carry bit output signal representing logical zero when the corresponding bits of both binary numbers are zero, and for producing a first carry bit output signal equal to the logical value of the input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero;
a plurality of second carry circuits, each second carry circuit being connected for receiving corresponding bits of the first and second binary numbers, for receiving an inverted input carry signal, for producing a second carry bit output signal representing logical zero when corresponding bits of both binary numbers are one, for producing a second carry bit output signal representing logical one when the corresponding bits of both binary numbers are zero, and for producing a second carry bit output signal equal to the logical value of the inverted input carry signal when a bit of one binary number is one and the corresponding bit of the other binary number is zero; and
a plurality of inverters, each operative for receiving an input logic signal and for producing a complementary output logic signal;
a selected number of the plurality of first summing circuits and an equal number of the plurality of first carry circuits being connected to form at least one first group wherein the first carry bit output signal from each first carry circuit within a selected first group serves as the input carry signal for both a successive first carry circuit and an associated first summing circuit within said first group;
a selected number of the plurality of second summing circuits and an equal number of the plurality of second carry circuits being connected to form at least one second group wherein the second carry bit output signal from each second carry circuit within a selected second group serves as the inverted input carry signal for both a successive second carry circuit and an associated second summing circuit within said second group;
the first and second groups being alternately connected so that the first carry bit output signal from the most significant first carry circuit of a selected first group is connected through an inverter to serve as the inverted input carry signal for both the least significant second summing circuit and the associated second carry circuit of a successive second group, and being further alternately connected so that the second carry bit output signal from the most significant second carry circuit of a selected second group is connected through an inverter to serve as the input carry signal for both the least significant first summing circuit and the associated first carry circuit of a successive first group.

The speed of a binary adder is limited, in part, by the speed at which any carry bit signal issued in the course of summing corresponding digits of the two binary numbers being added can be propagated through successive more significant digits of the adder. Prior art binary adders are disadvantageous in that the carry bit from a less significant digit within the adder cannot be propagated to the next more significant digit until a summation of the less significant digits has been completed.

Accordingly, it is the principal object of this invention to provide a binary adder having the capability of propagating any carry bit signal, calculated in the course of summing corresponding digits of the numbers being added, prior to the time the addition has been completed.

It is a further object of this invention to provide isolation between successive digits of the binary adder in order to prevent circuitry of more significant digits from affecting signals associated with less significant digits.

These objects are accomplished in accordance with the preferred embodiment of this invention by employing separate logic circuitry within each digit of the binary adder to determine the status of the output carry bit signal based solely on the status of bits from the corresponding digits of the numbers being added and the carry bit signal from the preceding less significant digit of the adder. The status of this output carry bit signal may be determined prior to the completion of the calculation of the sum of the corresponding digits of the numbers being added and the carry bit from the preceding less significant digit of the adder by means of this separate logic circuitry. Therefore, summation of more significant digits may be commenced by the binary adder prior to completion of the summation of less significant digits.

Interference with signals associated with less significant digits of the binary adder by circuitry associated with more significant digits is prevented by insertion of a logic inverter between the carry bit output of the less significant digit and the carry input of the succeeding more significant digit. This logic inverter causes the input carry signal for even digit positions to be complementary to the input signal for odd digit positions, and summing and carry circuitry within the even and odd digit positions of the adder is arranged accordingly.

FIG. 1 is a block diagram of a binary adder for summing two binary numbers.

FIG. 2 is a diagram of service logic circuitry for producing logic signals that control the carry and summing circuitry of FIG. 3.

FIG. 3 is a schematic diagram of carry and summing circuitry of representative successive even and odd digit positions of the binary adder of FIG. 1.

Referring now to FIG. 1, there is shown a block diagram of an adder for summing two binary numbers A and B. Any specific digit Di of the adder produces a sum bit Si and a carry bit Ci based on the state of the corresponding bits Ai and Bi of the binary numbers A and B to be summed and the input carry bit Ci-1 from the preceding less significant digit Di-1. Digit Do is the least significant digit position of the binary adder, and digit Dn-1 is the most significant digit position. The symbol "n" represents the number of binary digits in the adder. A digit Di represents any arbitrary digit position in the binary adder.

The logic states of the sum bit Si and the carry bit Ci for various states of the input bits Ai, Bi, and Ci-1 are shown in Table I below.

TABLE 1
______________________________________
INPUTS OUTPUTS
Ai Bi Ci-1 Si Ci
______________________________________
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
______________________________________

As shown in Table I, if bits A1 and B1 are both zero, output carry bit Ci will be zero regardless of the state of input carry bit Ci-1. If bits Ai and Bi are both one, output carry bit Ci will be one regardless of the state of input carry bit Ci-1. If only one of the bits Ai and Bi is one, and the other bit is zero, output carry bit Ci will have the same logical value as input carry bit Ci-1.

If bits Ai and Bi are both zero, sum bit Si will have the same value as input carry bit Ci-1. Also, if bits Ai and Bi are both one, sum bit Si will have the same logical value as input carry bit Ci-1. Finally, if only one of the bits Ai and Bi is one, and the other bit is zero, sum bit Si will be complementary to the logical value of input carry bit Ci-1.

These relationships may be expressed symbolically as follows:

1. If NORi = 1, then Ci = 0, where NORi = Ai + Bi

2. If ANDi = 1, then Ci = 1, where ANDi = Ai . Bi

3. If XORi = 1, then Ci = Ci-1, where XORi = Ai . Bi = Ai . Bi + Ai . Bi

4. If NORi = 1, Si = Ci-1

5. If ANDi = 1, Si = Ci-1

6. If XORi = 1, Si = Ci-1

These relationships are referred to hereinbelow as equations (1) through (6). The values of NORi, ANDi, and XORi, defined in equations (1) - (3), for all combinations of Ai and Bi are given in Table 2below.

TABLE 2
______________________________________
Ai Bi NORi ANDi
XORi
______________________________________
0 0 1 0 0
0 1 0 0 1
1 0 0 0 1
1 1 0 1 0
______________________________________

It may be seen that the logical relationships XORi, ANDi, and NORi are mutually exclusive: that is, only one of such relationships will have a logical value of one for any selected combination of bits Ai and Bi. By defining the relationships between Ai and Bi in the above way, circuitry for implementing addition of two binary numbers A and B is simplified. This simplification is possible because the same logic signals, ANDi, NORi, and XORi, may be employed in both the summing and carry circuitry for each digit.

Referring now to FIG. 2, there is shown service logic circuitry for receiving the bits Ai and Bi and for producing the logic signals corresponding to ANDi, XORi, and NORi in accordance with Table 2 above.

Bits Ai and Bi are supplied as inputs to an inverting OR gate 8 to produce the signal NORi. Bits Ai and Bi are also inverted by two inverters 2 and 4, and then supplied to an inverting OR gate 6 to produce the signal ANDi. (It can be shown by basic Boolean manipulations that Ai + Bi = ANDi.) The signals ANDi and NORi are supplied as inputs to an inverting OR gate 10 to produce the signal XORi. (Reference to Table 2 showsthat NORi + ANDi = XORi.)

Referring now to FIG. 3, there is shown circuitry employing the logic signals produced by the service logic circuitry of FIG. 2 to implement the logical relationships of equations (1) through (6) above. While the circuitry of FIG. 3, described hereinbelow, comprises logic circuits which respond to signals from the separate service logic circuitry of FIG. 2, those persons skilled in the art will appreciate that logic circuits directly responsive to the logic levels of the bits Ai and Bi could also be employed within the circuitry for each digit to implement the logical relationships of equations (1) through (6) above. The service logic of FIG. 2 would then be eliminated, while the circuitry illustrated in FIG. 3 would become more complex.

Representative circuitry for an even digit position Di and an odd digit position Di+1 are shown in FIG. 3. For reasons discussed hereinbelow, circuitry for an even digit position will have as its input from the previous less significant digit a signal representing the logical complement of the output carry bit of that prior digit. For example, the carry input to even digit position Di is a signal Ci-1 representing the complement of the output carry bit Ci-1 of preceding odd digit position Di-1. Circuitry for the even digit position Di comprises a carry circuit 21, a summing circuit 29, and an inverter 26. Circuitry for the odd digit position Di+1 comprises a carry circuit 41, a summing circuir 49, and an inverter 46.

Carry circuit 21 for even digit position Di operates as follows:

If NORi = 1, a transfer gate 22 is turned on, and a junction 23 is forced to the voltage level of a voltage supply 25, which represents a logical one. The inverter 26 inverts the logic level at junction 23 to produce the output carry signal Ci equal to logical zero. This operation implements equation (1).

If ANDi = 1, a transfer gate 24 is turned on, and junction 23 is forced to ground to produce a logical zero. The logic level at junction 23 is inverted by inverter 26 to produce an output carry bit Ci equal to logical one. This operation implements equation (2).

If XORi = 1, a transfer gate 20 is turned on, and junction 23 assumes the value of input signal Ci-1. Inverter 26 then produces output carry bit Ci equal to the logic value of carry bit Ci-1. This operation implements equation (3).

Carry circuit 41 for odd digit position Di+1 operates as follows:

If NORi+1 = 1, a transfer gate 44 is turned on, and a junction 43 is forced to ground or logical zero. Output carry bit Ci+1 is represented by the signal at junction 43. This operation implements equation (1) for digit Di+1.

If ANDi+1 = 1, a transfer gate 42 is turned on, and junction 43 is forced to the level of voltage supply 25, or logical one. This operation implements equation (2).

If XORi+1 = 1, a transfer gate 40 is turned on, and junction 43 assumes the value of input carrybit Ci. This operationimplements equation (3).

The signal appearing at junction 43 is inverted by the inverter 46 to produce an output signal Ci+1 complementary to the logic level of the output carry bit for digit Di+1.

The summing circuit 29 for even digit position Di operates as follows:

If the signal NORi = 1, a transfer gate 32 is turned on, and a signal representing the input carry bit Ci-1, obtained by inverting the input signal Ci-1 through an inverter 30, is coupled to a junction 35. Junction 35 represents the sum bit Si. This operation implements equation (4).

If ANDi = 1, a transfer gate 34 is turned on, and junction 35 assumes the logical value of input carry bit Ci-1. This operation implements equation (5).

If XORi = 1, a transfer gate 28 is turned on, and the input signal Ci-1 appears at junction 35. This operation implements equation (6). An inverter 36 inverts the signal at junction 35 to provide electrical isolation and to produce an inverted sum bit signal Si.

The summing circuit 49 for odd digit position Di+1 operates as follows:

If NORi+1 = 1, a transfer gate 48 is turned on, and the input carry bit signal Ci is connected to a junction 55 to produce a signal Si+1. This operation implements equation (4) for digit Di+1.

If ANDi+1 = 1, a transfer gate 52 is turned on, and the input carry bit signal Ci is connected to junction 55 to produce the signal Si+1. This operation implements equation (5).

If XORi+1 = 1, a transfer gate 54 is turned on, and a signal Ci, obtained by inverting the input carry bit signal Ci through an inverter 50, is applied to junction 55. This operation implements equation (6). The signal Si+1 at junction 55 is applied to an inverter 56 to produce an inverted sum bit signal Si+1.

Any number of pairs of summing and carry circuits for even and odd digit positions may be linked together to create a binary adder of required length. The linkage is accomplished through inverters 26 and 46, which are employed to prevent loading of the signals at junctions 23 and 43, respectively, by circuitry for more significant digits. As illustrated in FIG. 3, the resulting inversion of the signals requires a rearrangement of the circuitry for alternate digits of the adder, but does not require additional components within each digit to process the inverted signals. Those persons skilled in the art will appreciate that, where loading is not a problem, inverters 26 and 46 may be deleted, and all digits of the adder may employ circuitry for odd digit positions, such as digit Di+1, or for even digit positions, such as digit Di. In addition, inverters may be interposed between groups of odd digit position circuits and groups of even digit position circuits. This arrangement reduces the number of inverters required to construct a binary adder of required length, but still prevents excessive loading of circuitry associated with less significant digits of the binary adder.

Although the least significant digit Do does not receive an input carry bit, the same summing and carry circuits as are employed in other even digit positions of the binary adder may be employed for digit Do. For use as digit Do, a voltage supply is connected at the carry input to the even digit position circuit so that an input signal Cin assumes a constant value of logical one. This corresponds to an input carry bit Cin to digit Do that is a constant logical zero. Those persons skilled in the art will appreciate that input signal Cin also allows the binary adder to be used to increment a number by one. For example, to increment binary number A by one, binary number B is set to zero and the input signal Cin is set to logical zero to supply an input carry bit Cin equal to logical one to digit Do. The output of the binary adder is then the binary number A incremented by one.

Maitland, David Steven, Thayer, Billy E.

Patent Priority Assignee Title
4153939, Jan 24 1976 Nippon Electric Co., Ltd. Incrementer circuit
4218747, Jun 05 1978 Fujitsu Limited Arithmetic and logic unit using basic cells
4357675, Aug 04 1980 Bell Telephone Laboratories, Incorporated Ripple-carry generating circuit with carry regeneration
4369500, Oct 20 1980 Motorola Inc. High speed NXM bit digital, repeated addition type multiplying circuit
4417315, Jul 14 1981 Rockwell International Corporation Method and apparatus for incrementing a digital word
4417316, Jul 14 1981 Rockwell International Corporation Digital binary increment circuit apparatus
4439835, Jul 14 1981 Rockwell International Corporation Apparatus for and method of generation of ripple carry signals in conjunction with logical adding circuitry
4514696, Dec 27 1982 General Dynamics Decision Systems, Inc Numerically controlled oscillator
4536855, Dec 23 1982 ITT Corporation Impedance restoration for fast carry propagation
4556948, Dec 15 1982 International Business Machines Corporation Multiplier speed improvement by skipping carry save adders
4559608, Jan 21 1983 Intersil Corporation Arithmetic logic unit
4563751, Apr 26 1984 Motorola, Inc. Carry propagate adder circuit which differentially senses a carry input
4584660, Jun 22 1983 Intersil Corporation Reduction of series propagation delay and impedance
4621338, Apr 15 1983 ITT Industries, Inc. CMOS adder using exclusive OR and/or exclusive-NOR gates
4685078, Oct 31 1984 International Business Machines Corporation Dual incrementor
4685079, Dec 14 1984 RCA LICENSING CORPORATION, TWO INDEPENDENCE WAY, PRINCETON, NJ 08540, A CORP OF DE Ripple-borrow binary subtraction circuit
4700325, Feb 08 1984 Hewlett-Packard Company Binary tree calculations on monolithic integrated circuits
4701877, Nov 28 1983 Kabushiki Kaisha Toshiba Highspeed parallel adder with clocked switching circuits
4707800, Mar 04 1985 Raytheon Company Adder/substractor for variable length numbers
4730266, Feb 09 1984 U S PHILIPS CORPORATION, A CORP OF DE Logic full adder circuit
4839849, Sep 30 1985 Siemens Aktiengesellschaft Ripple-carry adder
4860242, Dec 24 1983 Kabushiki Kaisha Toshiba Precharge-type carry chained adder circuit
4866658, Sep 10 1984 Raytheon Company High speed full adder
4899305, Jun 15 1988 National Semiconductor Corp. Manchester carry adder circuit
4920509, Mar 18 1987 Etat Francais, represente par le ministres Delegue des Postes et Binary calculation circuit
4931981, Sep 30 1985 Siemens Aktiengesellschaft Multi-place ripple-carry adder
4933894, May 24 1989 NCR Corporation Circuit and method for adding binary numbers with a difference of one or less
4974188, Dec 09 1988 The Johns Hopkins University Address sequence generation by means of reverse carry addition
5132921, Aug 25 1987 Hughes Aircraft Company High speed digital computing system
5726928, Jan 28 1994 CHIAO TUNG HOLDINGS, LLC Arithmetic logic unit circuit with reduced propagation delays
6505226, Sep 06 1996 MagnaChip Semiconductor, Ltd High speed parallel adder
6647405, Mar 17 1999 SOCIONEXT INC Adder circuit, integrating circuit which uses the adder circuit, and synchronism detection circuit which uses the integrating circuit
Patent Priority Assignee Title
3249746,
3454751,
3465133,
3766371,
3843876,
3932734, Mar 08 1974 British Aerospace Public Limited Company Binary parallel adder employing high speed gating circuitry
/
Executed onAssignorAssigneeConveyanceFrameReelDoc
Jan 19 1976Hewlett-Packard Company(assignment on the face of the patent)
Date Maintenance Fee Events


Date Maintenance Schedule
Oct 04 19804 years fee payment window open
Apr 04 19816 months grace period start (w surcharge)
Oct 04 1981patent expiry (for year 4)
Oct 04 19832 years to revive unintentionally abandoned end. (for year 4)
Oct 04 19848 years fee payment window open
Apr 04 19856 months grace period start (w surcharge)
Oct 04 1985patent expiry (for year 8)
Oct 04 19872 years to revive unintentionally abandoned end. (for year 8)
Oct 04 198812 years fee payment window open
Apr 04 19896 months grace period start (w surcharge)
Oct 04 1989patent expiry (for year 12)
Oct 04 19912 years to revive unintentionally abandoned end. (for year 12)