JPS622322A - Adding circuit - Google Patents

Adding circuit

Info

Publication number
JPS622322A
JPS622322A JP14096385A JP14096385A JPS622322A JP S622322 A JPS622322 A JP S622322A JP 14096385 A JP14096385 A JP 14096385A JP 14096385 A JP14096385 A JP 14096385A JP S622322 A JPS622322 A JP S622322A
Authority
JP
Japan
Prior art keywords
sum
selection
output
binary number
carry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP14096385A
Other languages
Japanese (ja)
Other versions
JPH0471216B2 (en
Inventor
Teru Ishizuka
輝 石塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP14096385A priority Critical patent/JPS622322A/en
Publication of JPS622322A publication Critical patent/JPS622322A/en
Publication of JPH0471216B2 publication Critical patent/JPH0471216B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reduce an increase of an operation time and to execute an operation at a high speed even against a binary number having a large bit number, by providing three pieces of unit adding circuits, one piece of selecting signal generating circuit, and three pieces of selecting circuits. CONSTITUTION:A unit circuit 601 inputs two pieces of binary numbers X1, Y1 and putputs its sum V1 and the sum V1 and the sum W1 of said sum and '1'. A unit adding circuit 602 inputs binary numbers X2, Y2 and outputs its sum V2, the sum W2 of said sum '1', and the respective carry outputs g2, p2. A unit circuit 603 inputs binary numbers X3, Y3, the sum W3 of said sum and '1', and the respective carry outputs g3, p3. A selecting signal generating circuit 620 inputs the outputs g2, p2, g3 and p3, and an auxiliary input (r) and outputs selecting signals s1-s3, t1-t3. Selecting circuits 631-633 input the signals V1 and W1, V2 and W2, and V3 and W3, respectively, and select and output binary numbers Z1, Z2 and Z3, based on a logic of the signals s1, s2 and s3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は加算回路に関し、特に2進数の加算回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an adder circuit, and particularly to a binary number adder circuit.

〔従来の技術〕[Conventional technology]

従来、この種の加算回路は、2個のm(正整数)ビット
の2進数Xi 、yiと、補助人力r、とを入力とし、
XiとYiとr、との和のmビットの2進数Ziと、X
i とYiとの和の上位桁への第1桁上り出力giと、
Xiとyi と1との和の上位桁への第2桁上り出力p
iとを生成し出力する!(正整数)個の単位加算回路を
並列に設けるとともに、2個の単位加算回路より出力さ
れた2個の第1桁上り出力g+、  gz、・・・、g
iと、2個の第2桁上り出力Ill 1. pt、・・
・、piと、補助入力CINとを入力とし、論理式 %式% となる第1代表桁上り信号Gと、第2代表桁上り信号P
と、2個の単位加算回路のための2個の補助人力r1、
rt、・・・、rlとを生成し出力する桁上り信号生成
回路を設けた構成となっていた。
Conventionally, this type of adder circuit takes as input two m (positive integer) bit binary numbers Xi, yi and an auxiliary human power r,
An m-bit binary number Zi of the sum of Xi, Yi, and r, and
the first carry output gi to the upper digit of the sum of i and Yi;
Second digit ascending output p of the sum of Xi, yi, and 1 to the upper digit
Generate and output i! (Positive integer) unit adder circuits are provided in parallel, and the two first carry outputs g+, gz, ..., g output from the two unit adder circuits.
i and two second carry outputs Ill 1. pt...
・, pi and the auxiliary input CIN are input, and the first representative carry signal G and the second representative carry signal P are given as the logical formula % formula %
and two auxiliary human power r1 for the two unit adder circuits,
The configuration includes a carry signal generation circuit that generates and outputs rt, . . . , rl.

第7図に、従来の加算回路の一例を示す。FIG. 7 shows an example of a conventional adder circuit.

第7図おいて、3個の単位加算回路910,920.9
30は、それぞれ補助人力r5、r2、r、と、2進数
x、。
In FIG. 7, three unit addition circuits 910, 920.9
30 are the auxiliary human power r5, r2, r, and the binary number x, respectively.

x2、Xiと、2進数Y + 、 Y z、Yコとを入
力し、2進数Z、Zt、Ziを出力するとともに、第1
桁上り出力g+、gz、gzと、第2桁上り出力1)+
、pz、1)sとを桁上り信号生成回路940に対して
出力する。桁上り信号生成回路940は、第1桁上り出
力g1、gz、g3と、第2桁上り出力pr、pz、p
iと、補助入力CINとを入力し、3個の単位加算回路
910.920.930に対し補助人力r1、rfi、
rlをそれぞれ出力するとともに、第1代表桁上り信号
Gと、第2代表桁上り信号Pとを生成し出力する。
Input x2, Xi and binary numbers Y + , Y z, Y, and output binary numbers Z, Zt, Zi.
Carry output g+, gz, gz and second carry output 1)+
, pz, 1)s are output to the carry signal generation circuit 940. The carry signal generation circuit 940 generates first carry outputs g1, gz, g3 and second carry outputs pr, pz, p.
i and the auxiliary input CIN, the auxiliary human power r1, rfi,
rl, and also generates and outputs a first representative carry signal G and a second representative carry signal P.

ここで、2進数 X= (X+、Xz、Xff)= (X+、x 、、 
・’、x12〕と、2進数 Y= (’y’+、Yz、Yi) = ()’1. y
2、・・・、y+z〕とを入力すると、単位加算回路9
10は、入力X+=   (x、、  x、、  x、
、  x、)  。
Here, binary number X = (X+, Xz, Xff) = (X+, x ,,
・', x12] and binary number Y= ('y'+, Yz, Yi) = ()'1. y
2,...,y+z], the unit addition circuit 9
10 is input X+= (x,, x,, x,
, x, ).

Y+−(yi、’!z、Yx、ya) に対して、例えば、論理式 %式% (または、pI=gI十51s2・s3・s4)となる
第1桁上り出力giと、第2桁上り出力p2とを桁上り
信号生成回路940に対して出力する。
For Y+-(yi, '!z, Yx, ya), for example, the first carry output gi that becomes the logical formula % formula % (or pI = gI +51s2・s3・s4) and the second digit The uplink output p2 is outputted to the carry signal generation circuit 940.

単位加算回路920.930も同様に、第1桁上り出力
g2、g3と、第2桁上り出力p2、piとを桁上り信
号生成回路940に対して出力する。
Similarly, the unit adder circuits 920 and 930 output the first carry outputs g2 and g3 and the second carry outputs p2 and pi to the carry signal generation circuit 940.

桁上り信号生成回路940は、第1桁上り出力g+。The carry signal generation circuit 940 outputs a first carry output g+.

gl、giと、第2桁上り出力p+、pt、p3と、補
助入力CINとを入力し、 G=g++p+−gz+p+°pz・gszp=p直・
pり1φpト r+”gz+pz=gs+pz−p3・C+N−rt=
g3+px・C+xs rコニC,N となる第1代表桁上り出力Gと、第2代表桁上り出力P
と、補助人力rl、rgir、とを出力する。
Input gl, gi, second carry output p+, pt, p3, and auxiliary input CIN, G=g++p+-gz+p+°pz・gszp=pdirection・
pri1φptor+”gz+pz=gs+pz-p3・C+N-rt=
g3+px・C+xs rconiC,N The first representative carry output G and the second representative carry output P
and auxiliary human power rl, rgir.

単位加算回路910は、補助人力r、を入力すると、 z+=s+e(c、+s、−c3+sz・s3・c4+
 5g−32・S4・rl)、 2、=S2■(c3+33−C4+ s、・54−r、
)、z3=s、■ (Ca+Sa□r+)  、z 4
= s aer l となる4ビツトの2進数 Z+=(2+、Zz、23.24) を出力する。
When the unit addition circuit 910 inputs the auxiliary human power r, z+=s+e(c, +s, -c3+sz・s3・c4+
5g-32・S4・rl), 2,=S2■(c3+33-C4+ s,・54-r,
), z3=s, ■ (Ca+Sa□r+), z 4
Outputs a 4-bit binary number Z+=(2+, Zz, 23.24) where = saer l.

単位加算回路920.930も同様に、補助人力r2、
r、の入力により4ビツトの2進数Zz、Zxを出力す
る。
Similarly, the unit addition circuits 920 and 930 also have auxiliary human power r2,
r, and outputs 4-bit binary numbers Zz and Zx.

このようにして、加算回路9000は、12ビツトの2
進数XとYとの和である12ビツトの2進数Z= (Z
、、i、Z、) を出力する。
In this way, the adder circuit 9000 adds 2 bits of 12 bits.
A 12-bit binary number Z = (Z
,,i,Z,).

ここで、この加算回路9000は単位加算回路の条件を
満たしているため、加算回路9000を単位加算回路と
して、例えば第7図と同様な構成により、12×3ビツ
トの加算回路が構成できる。
Here, since this adder circuit 9000 satisfies the conditions for a unit adder circuit, a 12.times.3 bit adder circuit can be constructed by using the adder circuit 9000 as a unit adder circuit, for example, with a configuration similar to that shown in FIG.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の加算回路は、使用している単位加算回路
が和の2進数Z五の生成に補助入力riを必要とし、こ
の補助人力r、の生成にはさらに上位レベルの補助人力
CINを必要とするという問題点がある。
In the conventional adder circuit described above, the unit adder circuit used requires an auxiliary input ri to generate the sum of binary numbers Z5, and a higher-level auxiliary human power CIN is required to generate the auxiliary human power r. There is a problem with this.

このことは、入力2進数XいYの和の生成のためには、
第1桁上り出力、第2桁上り出力の生成から補助入力の
生成、2進数2の生成に至るまでの回路の遅延時間を全
て合計した演算時間が必要となることを意味する。した
がって、入力2進数XiYのビット数が増し、桁上り信
号生成回路が多段構成になるほど、演算時間が増大する
という欠点がある。
This means that to generate the sum of input binary numbers X and Y,
This means that the computation time is the sum of all circuit delay times from generation of the first carry output and second carry output to generation of the auxiliary input and generation of the binary number 2. Therefore, as the number of bits of the input binary number XiY increases and the carry signal generation circuit has a multi-stage configuration, there is a drawback that the calculation time increases.

本発明の目的は、ビット数の大きな2進数に対しても演
算時間の増加が少なく演算の高速化に適した加算回路を
提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an adder circuit that is suitable for increasing the speed of calculations with less increase in calculation time even for binary numbers with a large number of bits.

C問題点を解決するための手段〕 本発明の加算回路は、2個の1nビツトの2進数Xi 
、ytを入力し、XiとYiとの和のmビットの第1の
2進数v直と、XlとYiとの和の上位桁への第1損上
り出力giと、XiとYiと1との和のmビットの第2
の2進数W1と、XiとYiとlとの和の上位桁への第
2桁上り出力p。
Means for Solving Problem C] The adder circuit of the present invention stores two 1n-bit binary numbers Xi
, yt, the m-bit first binary number v of the sum of Xi and Yi, the first loss output gi to the upper digit of the sum of Xl and Yi, and the sum of Xi, Yi, and 1. The second of m bits of the sum of
The binary number W1 and the second digit up output p to the upper digit of the sum of Xi, Yi, and l.

とを生成し出力する1個の単位加算回路と、これら1個
の単位加算回路のうちの(1−1)個の単位加算回路よ
り出力された(l−1>個の第1桁上り出力g 2. 
g 2.・・・、gえと、(l−1)個の第2桁上り出
力pt、ps、・・・、pえと、補助人力rとを入力し
、論理式 %式% となる1個の選択信号sl、sア、・・・、S、を生成
し出力する選択信号生成回路と、前記1個の単位加算回
路より出力された1個の第1の2進数Vi、Vi。
One unit adder circuit that generates and outputs g2.
g2. ..., g, (l-1) second carry outputs pt, ps, ..., p, and auxiliary human power r are input, and one selection signal that becomes the logical formula A selection signal generation circuit that generates and outputs sl, sa, . . . , S, and one first binary number Vi, Vi output from the one unit addition circuit.

・・・、Vえのうちの1個の2進数■、と、1個の第2
の2進数W8、W2、・・・、W2のうちの1個の2進
数Wiと、前記選択信号生成回路より出力された1個の
選択信号s 、、 s !、・・・、S、のうちの1個
の選択信号S、とを入力し、前記選択信号s4が論理“
0”のときは■、を、前記選択信号siが論理“1”の
ときはWiを選択した結果のmビットの2進数Ztを生
成し出力する1個の選択回路とを有し、2個の(IXm
)ビットの2進数A=(X+、Xi、・・・、Xえ−1
、Xi)、B=(YI、Yt、・・・、y、−、、y、
)と、補助人力rとを入力とし、AとBとrとの和の(
/Xm)ビットの2進数 C=〔Zl、Zl、・・・、Z、−、、Z、)を生成し
出力する。
..., one binary number ■ of V, and one second
One binary number Wi among the binary numbers W8, W2, . . . , W2 and one selection signal s ,, s ! output from the selection signal generation circuit. , ..., S, and the selection signal s4 is a logic "
1 when the selection signal si is logic ``1'', and one selection circuit that generates and outputs an m-bit binary number Zt as a result of selecting Wi when the selection signal si is logic ``1''; of(IXm
) Bit binary number A = (X+, Xi, ..., Xe-1
,Xi),B=(YI,Yt,...,y,-,,y,
) and auxiliary human power r as inputs, and the sum of A, B, and r (
/Xm) Generates and outputs a bit binary number C=[Zl, Zl, . . . , Z, -, , Z,).

また、本発明の加算回路は、2個のmビットの2進数X
t 、Ytを入力し、XiとYiとの和のmビットの第
1の2進数V!と、X五とYiとの和の上位桁への第1
桁上り出力giと、XiとY。
Further, the adder circuit of the present invention can store two m-bit binary numbers X
t, Yt, and m-bit first binary number V! of the sum of Xi and Yi. and the first to the upper digit of the sum of X5 and Yi
Carry output gi, Xi and Y.

と1との和のmビットの第2の2進数Wiと、X逼とY
iと1との和の上位桁への第2桁上り出力piとを生成
し出力する2個の単位加算回路と、これら2個の単位加
算回路のうちの(1−1)個の単位加算回路より出力さ
れた(l−1)個の第1桁上り出力g2、gx、・・・
、gえと、(g−1)個の第2桁上り出力p2、p3、
・・・、piと、補助人力rとを入力し、論理式 %式% となる1個の第1選板体号s 1.s z、・・・、3
1と、4個の第2選板体号t 1. tt、・・・、t
、とを生成し出力する選択信号生成回路と、前記1個の
単位加算回路より出力されたp四の第1の2進数■1、
v2、・・・、■、のうちの1個の2進数Viと、2個
の第2の2進数Wi、W2.・・・、Wえのうちの1個
の2進数w8と、前記選択信号生成回路より出力された
1個の第1選板体号S 1.S @、・・・、511の
うちの1個の第1選板体号siと、1個の第2選板体号
1.,1.、・・・、t2のうちの1個の第2選板体号
1.とを入力し、前記第1選板体号Q、が論理“0”の
ときはViを、前記第1選板体号siが論理“1”のと
きはWiを選択した結果のmビットの2進数Z。
The m-bit second binary number Wi which is the sum of and 1, and X and Y
Two unit adder circuits that generate and output the second carry output pi to the upper digit of the sum of i and 1, and (1-1) unit adders of these two unit adder circuits. (l-1) first carry outputs g2, gx, . . . output from the circuit
, g, (g-1) second carry outputs p2, p3,
. . . Input pi and auxiliary human power r, and select one first selection board number s that becomes the logical formula % formula % 1. sz,...,3
1, and four second selection board numbers t1. tt,...,t
, and a selection signal generation circuit that generates and outputs p4 first binary number ■1, which is output from the one unit addition circuit.
One binary number Vi out of v2, ..., ■, and two second binary numbers Wi, W2. ..., one binary number w8 of W, and one first selection board number S output from the selection signal generation circuit 1. S @, . . . , one first selection board number si and one second selection board number 1. ,1. , . . . , one second selection board number 1 of t2. When the first board selection number Q is logic "0", select Vi, and when the first board selection number si is logic "1", select Wi. Binary number Z.

と、前記第2選板体号t1が論理“O”のときはvlを
、前記第2選板体号1.が論理“1”のときはWiを選
択した結果のmビットの2進数Q8とを生成し出力する
4個の選択回路とを有し、2個の(6Xm)ビットの2
進数 A= (X+、Xgi・・・、Xi−、、Xi)、B=
 CYi、Y2.・・・、Yl−+、Y1)と、補助人
力rとを入力とし、AとBとrとの和の(lXm)ビッ
トの2進数 C= (Z 、Z t、−1Z、−3、Z、)と、Aと
Bと1との和の(#Xm)ビットの2進数 D−(Q、、Q、、・・・、QtL−、、QIりとを生
成し出力する。
and when the second selection board number t1 is logic "O", vl is set, and the second selection board number 1. has four selection circuits that generate and output an m-bit binary number Q8 as a result of selecting Wi when is logic "1", and two (6Xm)-bit 2
Base number A= (X+, Xgi..., Xi-,, Xi), B=
CYi, Y2. ..., Yl-+, Y1) and the auxiliary human power r, the (lXm)-bit binary number C= (Z, Z t, -1Z, -3, Z, ) and (#Xm)-bit binary numbers D-(Q, , Q, . . . , QtL-, , QI) of the sum of A, B, and 1 are generated and output.

さらに、本発明の加算回路は、2個のmビットの2進数
Xi、YIを人力し、XiとYiとの和のmビットの第
1の2進数Viと、XiとYiとの和の上位桁への第1
桁上り出力g8と、XiとYiと1との和のmビットの
第2の2進数Wムと、XiとYiと1との和の上位桁へ
の第2桁上り出力pt とを生成し出力する2個の単位
加算回路と、これら1個の単位加算回路のうちの(l−
1)個の単位加算回路より出力された(ト用)個の第1
桁上り出力g z、 g s、・・・、gtと、(β〜
1)個の第2桁上り出力p !、 p 3.・・・、p
えと、補助人力「とを入力し、論理式 %式%: jt=gi++  + p i++’gi争!+ p 
i*IHp i令z° gt争s+1 + p l4I
Hp 息◆t  ’  ””  p  え −1° g
 史”pI+1pl+2”0’pt−1’pt(1≦i
≦I!−2)、 t Q−、=gに +pet。
Furthermore, the adder circuit of the present invention manually inputs two m-bit binary numbers Xi and YI, and generates an m-bit first binary number Vi of the sum of Xi and Yi, and an upper m-bit binary number Vi of the sum of Xi and Yi. 1st to digit
Generate a carry output g8, an m-bit second binary number W of the sum of Xi, Yi, and 1, and a second carry output pt to the upper digit of the sum of Xi, Yi, and 1. Of the two unit adder circuits that output, and (l-
1) The first (for G) output from the unit adder circuits.
Carry output g z, g s,..., gt, (β~
1) second carry output p! , p 3. ..., p
Well, input the auxiliary human power and enter the logical formula % formula %: jt=gi++ + p i++'gi conflict! + p
i*IHp i orderz° gt dispute s+1 + p l4I
Hp Breath◆t ' ”” p E -1° g
history"pI+1pl+2"0'pt-1'pt(1≦i
≦I! -2), t Q-, =g +pet.

t、 =1 となる1個の第1選板体号s1、sl、・・・、51と
、1個の第2選板体号t+、h、・・・、t、とを生成
し出力する選択信号生成回路と、前記1個の単位加算回
路より出力された1個の第1の2進数Vi、Vi、・・
・、■、のうちの1個の2進数Viと、1個の第2の2
進数Wi、Wi、・・・、Wiのうちの1個の2進数W
1と、前記選択信号生成回路より出力された4個の第1
選板体号S、、Sgi・・・、5gのうちの1個の第1
選板体号S、と、4個の第2選板体号り、、t、、・・
・、t、のうちの1個の第2選板体号ti とを入力し
、前記第1 JA択板体siが論理“0”のときはVi
を、前記第1選板体号siが論理“1”のときはWLを
選択した結果のmビットの2進数Z!と、前記第2選板
体号1.が論理“0”のときはV8を、前記第2選板体
号t8が論理“1”のときはWiを選択した結果のmビ
ットの2進数Q。
Generate and output one first selection board number s1, sl, ..., 51 and one second selection board number t+, h, ..., t, where t, = 1. and one first binary number Vi, Vi, . . . outputted from the one unit addition circuit.
・, ■, one binary number Vi and one second 2
One binary number W from the base numbers Wi, Wi, ..., Wi
1, and the four first signals output from the selection signal generation circuit.
Board selection number S, Sgi..., 1st of 5g
Selection board number S, and four second selection board numbers, t,...
, t, and when the first JA selection board si is logic "0", Vi
, when the first selection board number si is logic "1", the m-bit binary number Z! as a result of selecting WL. and the second selection board number 1. m-bit binary number Q as a result of selecting V8 when t8 is logic "0" and selecting Wi when the second board selection number t8 is logic "1".

とを生成し出力する1個の選択回路と、前記4個の単位
加算回路より出力された1個の第1桁上り出力g+、g
z、・・・、gIIと、1個の第2桁上り出力p7、p
2、・・・、piとを入力し、論理式0式% となる第1代表桁上り信号Gと、第2代表桁上り信号P
とを生成し出力する桁上り信号生成回路とを有し、2個
の(IXm)ビットの2進数A= (Xi、Xi、・・
・、Xi−1,Xi)、B −(Y+、 Yt、・・・
、Yg −+、  Yt )と、補助人力rとを入力と
し、AとBとrとの和の(#Xm)ビットの2進数 C=(Z+、Zz、・・・、Z、−1,2Q)と、Aと
Bと1との和の(IXm)ビットの2進数 D=  (Q、、Q!、・・・、Q、−1,Q、)と、
AとBとの和の上位桁への桁上り信号Gと、AとBと1
との和の上位桁への桁上り信号Pとを生成し出力する。
one selection circuit that generates and outputs g, and one first carry output g+, g output from the four unit adder circuits.
z,..., gII and one second carry output p7, p
2,..., pi are input, and the first representative carry signal G and the second representative carry signal P are
and a carry signal generation circuit that generates and outputs a two (IXm) bit binary number A= (Xi, Xi, . . .
・, Xi-1, Xi), B −(Y+, Yt,...
, Yg −+, Yt ) and the auxiliary human power r, the (#Xm)-bit binary number C=(Z+, Zz, . . . , Z, −1, 2Q), and the (IXm)-bit binary number D of the sum of A, B, and 1 = (Q,,Q!,...,Q,-1,Q,),
Carry signal G to the upper digit of the sum of A and B, A, B, and 1
A carry-over signal P to the upper digit of the sum of the sum and the signal P is generated and output.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
。第1図において、加算回路600は、3個の単位加算
回路601.602.603と、1個の選択信号生成回
路620と、3個の選択回路631.632.633と
から構成され、2個の12ビツトの2進数X = (x
+、 Xz、Xz)= (X+、Kt、−1X+z)、
Y=〔Yl、Yt、 Ys) = (Y +、 Y z
、・・・、3’+t)と、補助人力rとを入力し、Xと
Yとrとの和の12ビツトの2進数 Z= (Z+、Zz、Zs)= (2+、2gi”’、
 21りを出力する。
FIG. 1 is a block diagram showing a first embodiment of the present invention. In FIG. 1, the adder circuit 600 is composed of three unit adder circuits 601, 602, and 603, one selection signal generation circuit 620, and three selection circuits 631, 632, and 633. 12-bit binary number X = (x
+, Xz, Xz) = (X+, Kt, -1X+z),
Y = [Yl, Yt, Ys) = (Y +, Y z
, ..., 3'+t) and the auxiliary human power r, the 12-bit binary number Z= (Z+, Zz, Zs) = (2+, 2gi"',
Outputs 21.

単位加算回路602は、12ビツトの入力2進数Xおよ
びYのうちの4ビツト XZ=  (XS、Xb、  X 〕、  X II)
  5YZ=0’5.3’6、yt、3’s)を人力し
、X2とY2との和 Vz=  (V5.V 6.V )、Va)と、X2と
Y2との和の上位桁への桁上り出力g2と、XtとY2
と1との和 W2=(w5、W6.W)、W@) と、X2とY2と1との和の上位桁への桁上り出力p2
とを出力する。
The unit addition circuit 602 inputs 4 bits XZ of the 12-bit input binary numbers X and Y = (XS, Xb, X], X II)
5YZ=0'5.3'6, yt, 3's) manually, the sum of X2 and Y2 Vz= (V5.V 6.V ), Va) and the upper digit of the sum of X2 and Y2 Carry output g2 to Xt and Y2
and 1, W2 = (w5, W6.W), W@), and carry output p2 of the sum of X2, Y2, and 1 to the upper digit.
Outputs .

単位加算回路602は、−例として、 as=Xs・ys% I)S=X5■y5\ah”Xh
−Ybs  bh=XbeYh−a フ=Xt・Y?s
    b?=x、■Yqsa酋= ” l ’ )’
 6 %  b l = X @ΦyII〜gg=as
+bSHa、+b5・bh−aq+ b 5− b h
・b 1・a s %pz=bs・b、・b、、b。
For example, the unit addition circuit 602 is as=Xs・ys% I)S=X5■y5\ah”Xh
-Ybs bh=XbeYh-a Fu=Xt・Y? s
b? =x、■Yqsa馋= ``l')'
6% bl = X @ΦyII~gg=as
+bSHa, +b5・bh-aq+ b 5- b h
・b 1・a s %pz=bs・b,・b,,b.

(または、gt+bsbh、bl、b++)、Vs=b
se(a、+b&・a7+b、・b、−a、、)、ws
=bse <a6+b6−al+b6・bl・a@+b6−bl−
bB)、v、=b6■(at+by・a*)、 w6=b、■ (a 、4− b7− a 1.+ b
、、ba)、vt=bteas  、 w、=b、■ (ae+bs) のような論理で実現できる。
(or gt+bsbh, bl, b++), Vs=b
se (a, +b&・a7+b,・b, -a,,), ws
=bse <a6+b6-al+b6・bl・a@+b6-bl-
bB), v, = b6■(at+by・a*), w6=b,■ (a, 4- b7- a 1.+ b
,,ba), vt=bteas, w,=b, ■ (ae+bs).

単位加算回路601は、12ピントの入力2進数Xおよ
びYのうちの上位4ビツト X+=(X+、Xt、)CI、x4〕−Y+=、(y直
、Yz、’/*、y4)を入力し、XiとYiとの和 Vi= (v、、Vz、v3.v、) と、XiとYlと1との和 Wi=   (w、、w2、Wコ、wa)とを出力する
The unit addition circuit 601 calculates the upper 4 bits of the 12-pin input binary numbers X and Y, X+=(X+, It inputs and outputs the sum Vi=(v,,Vz,v3.v,) of Xi and Yi and the sum Wi=(w,,w2,Wko,wa) of Xi, Yl, and 1.

単位加算回路601は、単位加算回路602と同様の論
理回路で実現でき、本実施例では桁上り出力g+、p+
は使用しない。
The unit addition circuit 601 can be realized by a logic circuit similar to the unit addition circuit 602, and in this embodiment, carry outputs g+, p+
is not used.

単位加算回路603は、12ビツトの入力2進数Xおよ
びYのうちの下位4ビツト Xs−(Xl、 X111. Xt+、 X+z) −
The unit addition circuit 603 receives the lower 4 bits of the 12-bit input binary numbers X and Y, Xs-(Xl, X111.Xt+, X+z)-
.

Y−+= (Y q、 yIo、 Y ++、Y+t)
を入力し、X3とYiとの和 V3”’ (V9. VIO,Vll、 V+z)と、
XiとYiとの和の上位桁への桁上り出力g。
Y−+= (Yq, yIo, Y++, Y+t)
Input the sum of X3 and Yi, V3"' (V9. VIO, Vll, V+z),
Carry output g of the sum of Xi and Yi to the upper digit.

と、X3とYiと1との和 Wi= [wq、Wi、、Wi+、WI!]と、Xiと
Yiと1との和の上位桁への桁上り出力p3とを出力す
る。
and the sum Wi of X3, Yi, and 1 = [wq, Wi,, Wi+, WI! ] and a carry output p3 to the upper digit of the sum of Xi, Yi, and 1.

単位加算回路603は、単位加算回路602と同様の論
理回路で実現できる。
The unit addition circuit 603 can be realized by a logic circuit similar to the unit addition circuit 602.

選択信号生成回路620は、単位加算回路602.60
3より出力された桁上り出力gt、pz、g5、piと
、補助人力rとを入力し、論理式 %式% となる選択信号s1、sgis2を出力する。
The selection signal generation circuit 620 includes unit addition circuits 602 and 60.
The carry outputs gt, pz, g5, pi outputted from 3 and the auxiliary human power r are inputted, and selection signals s1 and sgis2 that form the logical formula % are output.

選択回路631は、単位加算回路601より出力された
2進数Vi、Wiと、選択信号生成回路620より出力
された選択信号s1とを入力し、選択信号siが論理“
0”のときは、 Z + =V I=  (V +、VgiVi、V4)
  、選択信号s1が論理“1“のときは、 7、、=Wi= (w、、w、、tvl、w4)となる
2進数 Z+= (21,22,zs、Zm) を出力する。
The selection circuit 631 inputs the binary numbers Vi and Wi outputted from the unit addition circuit 601 and the selection signal s1 outputted from the selection signal generation circuit 620, and selects the selection signal si when the logic "
0”, Z + =V I= (V +, VgiVi, V4)
, when the selection signal s1 is logic "1", it outputs the binary number Z+= (21, 22, zs, Zm) such that 7, , =Wi= (w,, w,, tvl, w4).

選択回路631は、−例として、 z、=sl−Vi+5.°Wi。For example, the selection circuit 631 z,=sl−Vi+5. °Wi.

Zg=51’Vg+SI’W2、 z3=sl’v3+sl’wl、 Z、=S、・V4+S、−W。Zg=51'Vg+SI'W2, z3=sl'v3+sl'wl, Z, =S, ・V4+S, -W.

のような論理で実現できる。This can be achieved using the following logic.

選択回路632は、単位加算回路602がら出力された
2進数Vi、Wiと、選択信号生成回路620がら出力
された選択信号s2とを入力し、選択回路631と同様
に、選択信号S−が論理“0”のときはv2を、選択信
号s2が論理“1”のときはw2を2進数Z2として出
力する。
The selection circuit 632 inputs the binary numbers Vi and Wi outputted from the unit addition circuit 602 and the selection signal s2 outputted from the selection signal generation circuit 620, and similarly to the selection circuit 631, the selection signal S- is logical. When the selection signal s2 is "0", v2 is output, and when the selection signal s2 is logic "1", w2 is output as a binary number Z2.

選択口1”11 ’・、゛) も、選択回路631.6
32と同様に、2進数Vi、Wiと、選択信号S、との
入力に対し、2進数Z、を生成し出力する。
Selection port 1"11'・,゛) is also the selection circuit 631.6
Similarly to 32, a binary number Z is generated and output in response to the input of the binary numbers Vi, Wi and the selection signal S.

選択回路632.633は、選択回路631と同様の論
理回路で実現できる。
The selection circuits 632 and 633 can be realized by logic circuits similar to the selection circuit 631.

第2図は本発明の第2の実施例を示すブロック図であり
、本実施例の加算回路700は第1図に示した第1の実
施例の加算回路600における選択信号生成回路620
と、選択回路631,632.633との機能を強化し
たものである。
FIG. 2 is a block diagram showing a second embodiment of the present invention, and the addition circuit 700 of this embodiment is the selection signal generation circuit 620 in the addition circuit 600 of the first embodiment shown in FIG.
The functions of the selection circuits 631, 632, and 633 are strengthened.

第2図において、加算回路700は、3個の単位加算回
路701.702.703と、1個の選択信号生成回路
720と、3個の選択回路731,732.733とか
ら構成され、2個の12ビツトの2進数 X = (X +、 Xz、 Xs) −(X +、X
l、・・・、X+z)、Y= (Y+、Yz、Yi)=
 (y+、3’z、・・・、y+z)と、補助人力rと
を入力し、XとYと「との和の12ビツトの2進数 Z= (Z+、Zz、Zz)= (Z+、2z、−12
+z)と、XとYと1との和の12ビツトの2進数Q 
−(Q+、 QCQ3) = (ql、 Q z、・・
・、q12〕とを出力する。
In FIG. 2, the adder circuit 700 is composed of three unit adder circuits 701, 702, and 703, one selection signal generation circuit 720, and three selection circuits 731, 732, and 733. 12-bit binary number X = (X +, Xz, Xs) - (X +,
l, ..., X+z), Y= (Y+, Yz, Yi)=
Input (y+, 3'z, ..., y+z) and the auxiliary human power r, and enter the 12-bit binary number Z= (Z+, Zz, Zz) = (Z+, 2z, -12
+z) and the 12-bit binary number Q, which is the sum of X, Y, and 1.
−(Q+, QCQ3) = (ql, Q z,...
, q12].

単位加算回路701.702.703は、第1図に示し
た第1の実施例の加算回路600における単位加算回路
601,602.603と同様のものなので、これらの
詳しい説明は省略する。
Since the unit adder circuits 701, 702, and 703 are similar to the unit adder circuits 601, 602, and 603 in the adder circuit 600 of the first embodiment shown in FIG. 1, a detailed explanation thereof will be omitted.

選択信号生成回路720は、単位加算回路702.70
3より出力された桁上り出力gz、 pz、gs、p3
と・補助人力rとを入力し、論理式 %式% となる選択信号sH,t、、sz、t2.sコ、t、を
出力する。
The selection signal generation circuit 720 includes unit addition circuits 702.70
Carry output gz, pz, gs, p3 output from 3
and auxiliary human power r are input, and a selection signal sH, t, , sz, t2 . Outputs sco,t.

選択回路731は、単位加算回路701より出力された
2進数v +、 Wiと、選択信号生成回路720より
出力された選択信号S1、tlとを入力し、選択信号s
iが論理“0”のときは、 Z + −V + = (V +、Vl、V3、V4)
、選択信号S1が論理“l”のときは、 ZI= W+=  (Wl、W2.Wl、w、)となる
2進数 Z+” (2+、22.23,24) と、選択信号t1が論理“0”のときは、Q、=Vi=
 (v、、vz、v3.v4)、選択信号t1が論理“
1”のときは、 Q、=W1= (w、、wz、w31w4)となる2進
数 Q+= (q+、Qz、qz、qa) とを出力する。
The selection circuit 731 inputs the binary numbers v + and Wi outputted from the unit addition circuit 701 and the selection signals S1 and tl outputted from the selection signal generation circuit 720, and generates the selection signal s.
When i is logic “0”, Z + −V + = (V +, Vl, V3, V4)
, when the selection signal S1 is logic "l", the binary number Z+" (2+, 22.23, 24) becomes ZI=W+= (Wl, W2.Wl, w,), and the selection signal t1 is logic " 0”, Q,=Vi=
(v,,vz,v3.v4), selection signal t1 is logic “
1'', it outputs the binary number Q+= (q+, Qz, qz, qa) where Q,=W1= (w,, wz, w31w4).

選択回路731は、−例として、 z、=9.− v、+51−wl。For example, the selection circuit 731 z,=9. - v, +51-wl.

Q+=E+°v+ + L 1 ’ W 1 %z、=
sl’ Vt+SI’W2、 q z= L 11V@ + L 1 ’ WZ%Z1
=51’ vl+31’ W2S q3°t、6vl+t、−w、。
Q+=E+°v+ + L 1 ' W 1 %z, =
sl'Vt+SI'W2, q z= L 11V@ + L 1' WZ%Z1
=51'vl+31' W2S q3°t, 6vl+t, -w,.

z、=s、+  Vi+3.−Wi、 qa”j+ ・v4+t、−w4 のような論理で実現できる。z, = s, + Vi+3. -Wi, qa"j+ ・v4+t, -w4 This can be achieved using the following logic.

選択回路732は、単位加算回路702より出力された
■2、Wiと、選択信号S2、t2とを入力し、選択回
路733は、単位加算回路703より出力されたV3、
Wiと、選択信号S1、t、とを入力して、それぞれ2
進数Z、、Q、と、Zl、Q3とを出力する。
The selection circuit 732 inputs ■2, Wi outputted from the unit addition circuit 702 and selection signals S2, t2, and the selection circuit 733 inputs V3, Wi outputted from the unit addition circuit 703.
Input Wi and selection signals S1, t, and select 2
It outputs the base numbers Z,,Q, and Zl,Q3.

選択回路732.733は、選択回路731 と同様な
論理回路で実現できる。
The selection circuits 732 and 733 can be realized by logic circuits similar to the selection circuit 731.

第3図は本発明の第3の実施例を示すブロック図であり
、本実施例の加算回路800は第2図に示した第2の実
施例の加算回路700と同様の回路に桁上り信号生成回
路840を付加したものである。
FIG. 3 is a block diagram showing a third embodiment of the present invention, and an adder circuit 800 of the present embodiment provides a carry signal to a circuit similar to the adder circuit 700 of the second embodiment shown in FIG. A generation circuit 840 is added.

第3図において、加算回路800は、3個の単位加算回
路801.802.803と、1個の選択信号生成回路
820と、3個の選択回路831.832.833と、
1個の桁上り信号生成回路840とから構成され、2個
の12ビツトの2進数 X=(Xt、Xz、Xs) = (Xt、xz、・・・
、x、2〕、Y =CY+、Y*、Yz) = (V 
+、 Y !、 ”’、 )’ 12)と、補助人力「
とを入力し、XとTと「との和の12ビツトの2進数 Z= (Z+、Zt、Zs)= (2+、2z、・=、
212)と、XとYと1との和の12ビツトの2進数Q
= (Q、、Q、、Q3)= (Q+、qz、・・・、
qI2)と、XとYとの和の上位桁への桁上り信号Gと
、XとYと1との和の上位桁への桁上り信号Pとを出力
する。
In FIG. 3, the addition circuit 800 includes three unit addition circuits 801.802.803, one selection signal generation circuit 820, and three selection circuits 831.832.833.
It consists of one carry signal generation circuit 840 and two 12-bit binary numbers X = (Xt, Xz, Xs) = (Xt, xz, . . .
, x, 2], Y = CY+, Y*, Yz) = (V
+、Y! , ``', )' 12) and auxiliary manpower ``
Input the 12-bit binary number Z= (Z+, Zt, Zs)= (2+, 2z, ・=,
212) and the 12-bit binary number Q, which is the sum of X, Y, and 1.
= (Q,,Q,,Q3)=(Q+,qz,...,
qI2), a carry signal G for the sum of X and Y to the upper digit, and a carry signal P for the sum of X, Y, and 1 to the upper digit.

単位加算回路801,802.803 、選択信号生成
回路820および選択回路831.832.833は、
第2図に示した第2の実施例の加算回路700における
単位加算回路701,702,703、選択信号生成回
路720および選択回路?31.732.733とそれ
ぞれ同様のものなので、これらの詳しい説明は省略する
The unit addition circuits 801, 802.803, selection signal generation circuit 820, and selection circuits 831.832.833 are
Unit addition circuits 701, 702, 703, selection signal generation circuit 720, and selection circuit 700 of the second embodiment shown in FIG. 31, 732, and 733, detailed description thereof will be omitted.

桁上り信号生成回路840は、単位加算回路801゜8
02、803より出力された桁上り出力g7、pl、g
z。
The carry signal generation circuit 840 is a unit addition circuit 801゜8.
Carry output g7, pl, g output from 02, 803
z.

p2およびgx、pxをそれぞれ入力し、G” g I
+ pI−g t + p +・pI・g3、P=pi
・pz−ps となる代表桁上り信号GおよびPを出力する。
Input p2, gx, and px, respectively, and select G” g I
+ pI-g t + p +・pI・g3, P=pi
・Output representative carry signals G and P that become pz-ps.

第4図は本発明の第4の実施例を示すブロック図であり
、本実施例の加算回路6000は第1図に示した第1の
実施例の加算回路600と同一の構成で、かつ単位加算
回路として第3図に示した第3の実施例の加算回路80
0の補助人力「を“0”とした回路を使用したものであ
る。
FIG. 4 is a block diagram showing a fourth embodiment of the present invention, and an adder circuit 6000 of this embodiment has the same configuration as the adder circuit 600 of the first embodiment shown in FIG. Adder circuit 80 of the third embodiment shown in FIG. 3 as an adder circuit
This uses a circuit in which the auxiliary human power of 0 is set to 0.

第4図において、加算回路6000は、第1の実施例の
加算回路600と同様に、3個の単位加算回路6001
.6002.6003と、1個の選択信号生成回路60
20と、3個の選択回路6031.6032.6033
とから構成され、2個の36ビツトの2進数 A= (l+、Az、Ai)= (at、at、−、a
ss)、B=CBl、Bt、B2)= (b+、bz、
・・・、1)+6)と、補助人力Rとを入力し、AとB
とRとの和の36ビツトの2進数 c = (c + 、 C2、Cz) = (c +、
 c z、−1CB6)を出力する。
In FIG. 4, an adder circuit 6000 includes three unit adder circuits 6001, similar to the adder circuit 600 of the first embodiment.
.. 6002.6003 and one selection signal generation circuit 60
20 and three selection circuits 6031.6032.6033
It consists of two 36-bit binary numbers A = (l+, Az, Ai) = (at, at, -, a
ss), B=CBl, Bt, B2)= (b+, bz,
..., 1) + 6) and the auxiliary human power R, A and B
36-bit binary number c = (c + , C2, Cz) = (c +,
c z, -1CB6).

単位加算回路6002は、第3の実施例の加算回路80
0の補助人力r(rz)を“0”とした回路であるから
、3個の単位加算回路と、1個の選択信号生成回路と、
3個の選択回路と、1個の桁上り信号生成回路とから構
成され、2個の12ビア)の2進数 Ag= (a +z、 a +4、°°°、a B4)
−(X+、Xz、Xs)、 B2= (b+3.b+a、・・・、b24〕=〔Yl
、Yzl、Yi) を入力し、Atと82との和の12ビツトの2進数■2
=(vIiv14、°°°、V 24)=〔Zl、Zz
、Zi) と、Axと82との和の上位桁への桁上り信号G2と、
AtとB2と1との和の上位桁への桁上り信号P2とを
出力する。
The unit addition circuit 6002 is the addition circuit 80 of the third embodiment.
Since this is a circuit in which the auxiliary human power r (rz) of 0 is set to "0", there are three unit addition circuits, one selection signal generation circuit,
Consisting of three selection circuits and one carry signal generation circuit, two 12 vias) binary number Ag = (a + z, a + 4, ° ° °, a B4)
−(X+, Xz, Xs), B2= (b+3.b+a,..., b24]=[Yl
, Yzl, Yi) and enter the 12-bit binary number of the sum of At and 82 ■2
= (vIiv14, °°°, V 24) = [Zl, Zz
, Zi) and a carry signal G2 to the upper digit of the sum of Ax and 82,
A carry signal P2 to the upper digit of the sum of At, B2, and 1 is output.

単位加算回路6001は、12ビツトの2進数A+=(
at、az、・・’、a+z)、B+=(b+、bt、
・・・、b1□〕を入力し、A1とB、との和 V+=(V+、Vz、”・、v、l) と、A1とB1と1とnT1 Wi= (w、、Wgi−、Wiり とを出力する。
The unit addition circuit 6001 calculates the 12-bit binary number A+=(
at, az,...', a+z), B+=(b+, bt,
..., b1□], the sum of A1 and B, V+ = (V+, Vz, "・, v, l), and A1, B1, 1, and nT1 Wi = (w,, Wgi-, Output Wirit.

単位加算回路6003は、12ビツトの2進数A x 
= (a zs、 a th、 ”’、83&)〜Bx
= Cbts、bth、 ”’、b 36)を入力し、
A、とB、との和 V2”’ CVt5. vzi、 ”’、 V3&)と
、A、とBユと1との和 W3= いv 25.w 、6.”’、W S&)と、
A、とB、との和の上位桁への桁上り出力G。
The unit addition circuit 6003 inputs a 12-bit binary number A x
= (a zs, a th, ”', 83 &) ~Bx
= Cbts, bth, ”', b 36),
The sum of A, B, and 1 is V2'' CVt5. w, 6. ”', W S&),
Carry output G of the sum of A and B to the upper digit.

と、A、とB、と1との和の上位桁への桁上り出力P、
とを出力する。
Carry output P of the sum of , A, B, and 1 to the upper digit,
Outputs .

単位加算回路6001.6003は、単位加算回路60
02と同様に、第3の実施例の加算回路800の補助人
力r (rt % +2)を“0”とした回路であり、
本実施例では単位加算回路6001の桁上り出力G、。
Unit addition circuits 6001 and 6003 are unit addition circuits 60
Similarly to 02, this is a circuit in which the auxiliary human power r (rt % +2) of the addition circuit 800 of the third embodiment is set to "0",
In this embodiment, the carry output G of the unit addition circuit 6001.

P+ は使用しない。P+ is not used.

選択信号生成回路6020および選択回路6031.6
032、6033の動作は、第1図に示した第1の実施
例の加算回路600における選択信号生成回路620お
よび選択回路631.632.633とそれぞれ同様な
ので、これらの詳しい説明は省略する。
Selection signal generation circuit 6020 and selection circuit 6031.6
The operations of the circuits 032 and 6033 are the same as those of the selection signal generation circuit 620 and selection circuits 631, 632, and 633 in the adder circuit 600 of the first embodiment shown in FIG. 1, so a detailed explanation thereof will be omitted.

第5図は本発明の第5の実施例を示すブロック図であり
、本実施例の加算回路7000は第2図に示した第2の
実施例の加算回路700と同一の構成で、かつ単位加算
回路として第3図に示した第3の実施例の加算回路80
0の補助人力rを“0”とした回路を使用したものであ
る。
FIG. 5 is a block diagram showing a fifth embodiment of the present invention, and an adder circuit 7000 of this embodiment has the same configuration as the adder circuit 700 of the second embodiment shown in FIG. Adder circuit 80 of the third embodiment shown in FIG. 3 as an adder circuit
This circuit uses a circuit in which the auxiliary human power r is set to "0".

第5図において、加算回路7000は、第2の実施例の
加算回路700と同様に、3個の単位加算回路7001
.7002.7003と、1個の選択信号生成回路70
20と、3個の選択回路7031.7032.7033
とから構成され、2個の36ビツトの2進数 A= (l+、At、A、+)= (at、ax、・・
・、B3.〕、B= CB+、Bt、Bs)= (b+
、bt、・・・、b36〕と、補助人力Rとを入力し、
AとBとRとの和の36ビツトの2進数 C= (Ct、 Cz、C5)= (c+、cz、・・
・、C16〕と、AとBと1との和の36ビツトの2進
数D = (D+、 Dz、 Dzl = (d +、
d2、・・・、d36〕とを出力する。
In FIG. 5, an adder circuit 7000 includes three unit adder circuits 7001, similar to the adder circuit 700 of the second embodiment.
.. 7002.7003 and one selection signal generation circuit 70
20 and three selection circuits 7031.7032.7033
It consists of two 36-bit binary numbers A = (l+, At, A, +) = (at, ax,...
・,B3. ], B= CB+, Bt, Bs)= (b+
, bt, ..., b36] and the auxiliary human power R,
36-bit binary number C = (Ct, Cz, C5) = (c+, cz,...
・, C16] and the 36-bit binary number D = (D+, Dz, Dzl = (d +,
d2,...,d36].

単位加算回路7002は、第3の実施例の加算回路80
0の補助人力「(r2)を“θ″とした回路であるから
、3個の単位加算回路と、1個の選択信号生成回路と、
3個の選択回路と、1個の桁上り信号生成回路とから構
成され、2個の12ビツトの2進数 A@= (a 13.a 14.°’°、a 24)−
(X 1X !、X s)、 Bz= Cb+x、bla、・・・、bzi)=(Y+
、Yz、Y s ) を入力し、AtとB2との和の12ビツトの2進数vt
” cVIIVI4.”’、v24〕= (Z+、Zz
、Zs) と、A2とB、との和の上位桁への桁上り信号Gtと、
A□とB2と1との和の上位桁への桁上り信号P、とを
出力する。
The unit addition circuit 7002 is the addition circuit 80 of the third embodiment.
Since it is a circuit with 0 auxiliary human power "(r2)" as "θ", it requires three unit addition circuits, one selection signal generation circuit,
Consisting of three selection circuits and one carry signal generation circuit, two 12-bit binary numbers A@= (a 13.a 14.°'°, a 24)-
(X 1X!, X s), Bz= Cb+x, bla,..., bzi)=(Y+
, Yz, Y s ), and input the 12-bit binary number vt of the sum of At and B2.
"cVIIVI4."', v24] = (Z+, Zz
, Zs), a carry signal Gt to the upper digit of the sum of A2 and B,
A carry signal P to the upper digit of the sum of A□, B2, and 1 is output.

単位加算回路7001.7003も単位加算回路700
2と同様に、第3の実施例の加算回路800の補助人力
r (r+ 、rs)を“O″とした回路であり、A。
Unit addition circuits 7001 and 7003 are also unit addition circuits 700
2, this is a circuit in which the auxiliary human power r (r+, rs) of the addition circuit 800 of the third embodiment is set to "O", and A.

とB、の入力に対しvlとWIとG1とP、とを、A、
とB’+の人力に対しViとWiとG3とP。
For the inputs of and B, let vl, WI, G1 and P, and A,
and Vi, Wi, G3, and P for the human power of B'+.

とをそれぞれ生成するが、本実施例ではG、とP。In this embodiment, G, and P are generated.

は使用しない。is not used.

選択信号生成回路7020および選択回路7o31.7
032.7033の動作は、第2図に示した第2の実施
例の加算回路700における選択信号生成回路720お
よび選択回路731,732.733とそれぞれ同様な
ので、これらの詳しい説明は省略する。
Selection signal generation circuit 7020 and selection circuit 7o31.7
The operation of 032.7033 is similar to the selection signal generation circuit 720 and the selection circuits 731, 732.733 in the adder circuit 700 of the second embodiment shown in FIG. 2, so a detailed explanation thereof will be omitted.

第6図は本発明の第6の実施例を示すブロック図であり
、本実施例の加算回路8000は第3図に示した第3の
実施例の加算回路800と同一の構成で、かつ単位加算
回路としても加算回路800の補助人力rを“0”とし
た回路を使用したものである。
FIG. 6 is a block diagram showing a sixth embodiment of the present invention, and an adder circuit 8000 of this embodiment has the same configuration as the adder circuit 800 of the third embodiment shown in FIG. The adder circuit also uses a circuit in which the auxiliary human power r of the adder circuit 800 is set to "0".

第6図において、加算回路8000は、第3の実施例の
加算回路800と同様に、3個の単位加算回路8001
.8002.8003と、1個の選択信号生成回路80
20と、3個の選択回路8031.8032.8033
と、1個の桁上り信号生成回路8040とから構成され
、2個の36ビツトの2進数 A= (l+、AgiAs) −(a +、 at、−
、ash〕、B、=(Bl、Bz、Bx)=  (b+
、b3.・・・、b 36)と、補助人力Rとを人力し
、AとBとRとの和の36ビツトの2進数 C”” (C+、Cz、G3)” (C+、Cz、・・
”、 C36)と、AとBと1との和の36ビツトの2
進数D= CD、、B2、Dコ) = (dl、dl、
・・・、dl、〕と、AとBとの和の上位桁への桁上り
信号Eと、AとBと1との和の上位桁への桁上り信号F
とを出力する。
In FIG. 6, an adder circuit 8000 includes three unit adder circuits 8001, similar to the adder circuit 800 of the third embodiment.
.. 8002.8003 and one selection signal generation circuit 80
20 and three selection circuits 8031.8032.8033
and one carry signal generation circuit 8040, and two 36-bit binary numbers A = (l+, AgiAs) - (a +, at, -
, ash], B, = (Bl, Bz, Bx) = (b+
, b3. ..., b 36) and auxiliary human power R to generate a 36-bit binary number C"" (C+, Cz, G3)" (C+, Cz,...
”, C36) and 2 of the 36 bits of the sum of A, B, and 1.
Base number D = CD,, B2, Dko) = (dl, dl,
..., dl,], a carry signal E of the sum of A and B to the upper digit, and a carry signal F of the sum of A, B, and 1 to the upper digit.
Outputs .

単位加算回路8002は、第3の実施例の加算回路80
0の補助人力r(r2)を“O”とした回路であるから
、3個の単位加算回路と、1個の選択信号生成回路と、
3個の選択回路と、1個の桁上り信号生成回路とから構
成され、2個の12ビツトの2進数 Az= (a Ill、 a 14. =・、 a 1
4)= (X 1. X t、 X 3)、Bz= C
blz、bra、・・・、b24〕= (Yi、Yi、
ys) を入力し、A2とB2との和の12ビツトの2進数Vt
−(V’s、V+m、  ・・・、vza〕=  (Z
+、Zt、Zs) と、A2と82との和の上位桁への桁上り信号G。
The unit addition circuit 8002 is the addition circuit 80 of the third embodiment.
Since this is a circuit in which the auxiliary human power r(r2) of 0 is set to "O", there are three unit addition circuits, one selection signal generation circuit,
It is composed of three selection circuits and one carry signal generation circuit, and generates two 12-bit binary numbers Az= (a Ill, a 14. = ., a 1
4) = (X 1. X t, X 3), Bz = C
blz, bra, ..., b24] = (Yi, Yi,
ys), and input the 12-bit binary number Vt of the sum of A2 and B2.
−(V's, V+m, ..., vza]= (Z
+, Zt, Zs) and a carry signal G to the upper digit of the sum of A2 and 82.

と、A2とB、と1との和の上位桁への桁上り信号Pt
とを出力する。
A carry signal Pt to the upper digit of the sum of A2, B, and 1
Outputs .

単位加算回路8001.8003も、単位加算回路80
02と同様に、第3の実施例の加算回路800の補助入
力r (rl 、rl )を0”とした回路であり、A
、とBl(0人力に対しViとWiとG、とP。
The unit addition circuits 8001 and 8003 are also unit addition circuits 80
02, this is a circuit in which the auxiliary input r (rl, rl) of the adder circuit 800 of the third embodiment is set to 0'', and A
, and Bl (Vi, Wi, G, and P for 0 human power.

とを、AsとB3の入力に対しViとWiとG。and Vi, Wi, and G for the inputs of As and B3.

とP、とをそれぞれ生成し出力する。and P, respectively, are generated and output.

選択信号生成回路8020、選択回路8031.803
2.8033および桁上り信号生成回路8040の動作
は、第3頃に示した第3の実施例の加算回路800にお
ける選択信号生成回路820、選択回路831.832
.833および桁上り信号生成回路840と同様なので
、これらの詳しい説明は省略する。
Selection signal generation circuit 8020, selection circuit 8031.803
2.8033 and the operation of the carry signal generation circuit 8040 are similar to the selection signal generation circuit 820 and the selection circuit 831.832 in the addition circuit 800 of the third embodiment shown in Section 3.
.. 833 and carry signal generation circuit 840, detailed explanation thereof will be omitted.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、従来の加算回路において
は最上位の桁上り信号生成回路から下位へ順次生成され
単位加算回路での和の2進数生成のために必要だった補
助入力を必要とせず、2個の入力2進数の和の2進数と
、それに1だけ加えた和の2進数との2個の和の2進数
を出力する単位加算回路と、最上位での選択信号生成回
路内で桁上り情報から生成される選択信号により2個の
和の2進数のいずれかを選択する選択回路とを使用する
ことにより、最上位での桁上り信号の決定から加算結果
の出力までの演算時間が短縮できる効果がある。
As explained above, the present invention eliminates the need for an auxiliary input, which in conventional adder circuits is generated sequentially from the highest carry signal generation circuit to the lower order, and is necessary for the unit adder circuit to generate a binary number for the sum. First, a unit adder circuit that outputs a binary number that is the sum of two input binary numbers and a binary number that is the sum of the two input binary numbers, and a selection signal generation circuit at the highest level. By using a selection circuit that selects either of the two summed binary numbers using a selection signal generated from carry information at This has the effect of reducing time.

また、ビット数の大きな2進数に対しても演算時間の増
加が少ないため、演算の高速化に適した加算回路が得ら
れる効果がある。
Further, since the increase in calculation time is small even for binary numbers with a large number of bits, it is possible to obtain an adder circuit suitable for speeding up calculations.

さらに、加算後の処理、例えば、演算結果の正規化シフ
ト、パリティ発生、リーディングゼロなどの他の処理を
選択回路に入力される前、つまり単位加算回路の出力の
時点で準備し、選択回路内に加算後の処理の一部または
全部を組み込むことが比較的容易になるため、加算回路
のみではなく、加算理路を含んだデータ処理装置全体の
高速化が可能になるという効果がある。
Furthermore, post-addition processing, such as normalization shift of operation results, parity generation, leading zero, etc., is prepared before input to the selection circuit, that is, at the time of output of the unit addition circuit, and other processing is performed within the selection circuit. Since it is relatively easy to incorporate part or all of the post-addition processing into the system, it is possible to speed up not only the addition circuit but also the entire data processing device including the addition logic.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の第1の実施例のブロック図、第2図は
本発明の第2の実施例のブロック図、第3図は本発明の
第3の実施例のブロック図、第4図は本発明の第4の実
施例のブロック図、第5図は本発明の第5の実施例のブ
ロック図、第6図は本発明の第6の実施例のブロック図
、第7図は従来の加算回路の一例を示すブロック図であ
る。 図において、 600.700.800.6000.7000.800
0・・・・・・・・加算回路、 601〜603,701〜703,801〜803.6
001〜6003.7001〜7003.8001〜8
003・・・・・・単位加算回路、 620.720.820.6020.7020.802
0・・・・選択信号生成回路、 631〜633,731〜733.831〜833.6
031〜6033.7031〜7033.8031〜8
033・・・・・・・・選択回路、 840.8040    ・・・桁上り信号生成回路で
ある。 菩 IWJ $−2m 第 3 図 茅 4I!] 茅 SvJ 第  6  図 第 7 図 手続補正書(自発)
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a block diagram of a second embodiment of the present invention, FIG. 3 is a block diagram of a third embodiment of the present invention, and FIG. The figure is a block diagram of the fourth embodiment of the present invention, FIG. 5 is a block diagram of the fifth embodiment of the present invention, FIG. 6 is a block diagram of the sixth embodiment of the present invention, and FIG. FIG. 1 is a block diagram showing an example of a conventional adder circuit. In the figure, 600.700.800.6000.7000.800
0...Addition circuit, 601-603, 701-703, 801-803.6
001~6003.7001~7003.8001~8
003...Unit addition circuit, 620.720.820.6020.7020.802
0... Selection signal generation circuit, 631-633, 731-733.831-833.6
031~6033.7031~7033.8031~8
033...Selection circuit, 840.8040...Carry signal generation circuit. Bodhisattva IWJ $-2m 3rd figure grass 4I! ] Kaya SvJ Figure 6 Figure 7 Written amendment to procedure (voluntary)

Claims (4)

【特許請求の範囲】[Claims] (1)2個のm(正整数)ビットの2進数X_i、Y_
iを入力し、X_iとY_iとの和のmビットの第1の
2進数V_iと、X_iとY_iとの和の上位桁への第
1桁上り出力g_iと、X_iとY_iと1との和のm
ビットの第2の2進数W_iと、X_iとY_iと1と
の和の上位桁への第2桁上り出力p_iとを生成し出力
するl(正整数)個の単位加算回路と、これらl個の単
位加算回路のうちの(l−1)個の単位加算回路より出
力された(l−1)個の第1桁上り出力g_2、g_3
、…、g_lと、(l−1)個の第2桁上り出力p_2
、p_3、…、p_lと、補助入力rとを入力し、論理
式 s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r(1≦i≦l−2)、 s_l_−_1==g_l+p_l・r、 s_l=r となるl個の選択信号s_1、s_2、…、s_lを生
成し出力する選択信号生成回路と、 前記l個の単位加算回路より出力されたl個の第1の2
進数V_1、V_2、…、V_lのうちの1個の2進数
V_iと、l個の第2の2進数W_1、W_2、…、W
_lのうちの1個の2進数W_iと、前記選択信号生成
回路より出力されたl個の選択信号s_1、s_2、…
、s_lのうちの1個の選択信号s_iとを入力し、前
記選択信号s_iが論理“0”のときはV_iを、前記
選択信号s_iが論理“1”のときはW_iを選択した
結果のmビットの2進数Z_iを生成し出力するl個の
選択回路とを有し、 2個の(l×m)ビットの2進数 A=〔X_1、X_2、…、X_l_−_1、X_l〕
、B=〔Y_1、Y_2、…、Y_l_−_1、Y_l
〕と、補助入力rとを入力とし、AとBとrとの和の(
l×m)ビットの2進数 C=〔Z_1、Z_2、…、Z_l_−_1、Z_l〕
を生成し出力することを特徴とする加算回路。
(1) Two m (positive integer) bit binary numbers X_i, Y_
input i, m-bit first binary number V_i of the sum of X_i and Y_i, first carry output g_i to the upper digit of the sum of X_i and Y_i, and sum of X_i, Y_i, and 1. m
l (positive integer) unit adder circuits that generate and output a second binary number W_i of bits and a second digit up output p_i to the upper digit of the sum of X_i, Y_i, and 1; (l-1) first carry outputs g_2, g_3 output from (l-1) unit adder circuits of the unit adder circuits
,...,g_l and (l-1) second carry outputs p_2
, p_3, ..., p_l and the auxiliary input r are input, and the logical formula s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
...・p_l_-_1・p_l・r (1≦i≦l-2), s_l_-_1==g_l+p_l・r, s_l=r Generate and output l selection signals s_1, s_2, ..., s_l a selection signal generation circuit; and l first 2 outputs from the l unit adder circuits;
One binary number V_i among the base numbers V_1, V_2, ..., V_l and l second binary numbers W_1, W_2, ..., W
One binary number W_i of _l and l selection signals s_1, s_2, . . . output from the selection signal generation circuit.
, s_l, and selects V_i when the selection signal s_i is logic "0" and selects W_i when the selection signal s_i is logic "1". and l selection circuits that generate and output a bit binary number Z_i, and two (l×m) bit binary numbers A=[X_1, X_2, ..., X_l_-_1, X_l]
, B=[Y_1, Y_2, ..., Y_l_-_1, Y_l
] and auxiliary input r as inputs, and the sum of A, B, and r (
l × m) bit binary number C = [Z_1, Z_2, ..., Z_l_-_1, Z_l]
An addition circuit characterized by generating and outputting.
(2)2個のm(正整数)ビットの2進数X_i、Y_
iを入力し、X_iとY_iとの和のmビットの第1の
2進数V_iと、X_iとY_iとの和の上位桁への第
1桁上り出力g_iと、X_iとY_iと1との和のm
ビットの第2の2進数W_iと、X_iとY_iと1と
の和の上位桁への第2桁上り出力p_iとを生成し出力
するl(正整数)個の単位加算回路と、これらl個の単
位加算回路のうちの(l−1)個の単位加算回路より出
力された(l−1)個の第1桁上り出力g_2、g_3
、…、g_lと、(l−1)個の第2桁上り出力p_2
、p_3、…、p_lと、補助入力rとを入力し、論理
式 s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r(1≦i≦l−2)、 s_l_−_1=g_l+p_l・r、 s_l=r、 t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l(1≦i≦l−2)、 t_l_−_1=g_l+p_l、 t_l=1 となるl個の第1選択信号s_1、s_2、…、s_l
と、l個の第2選択信号t_1、t_2、…、t_lと
を生成し出力する選択信号生成回路と、 前記l個の単位加算回路より出力されたl個の第1の2
進数V_1、V_2、…、V_lのうちの1個の2進数
V_iと、l個の第2の2進数W_1、W_2、…、W
_lのうちの1個の2進数W_iと、前記選択信号生成
回路より出力されたl個の第1選択信号s_1、s_2
、…、s_lのうちの1個の第1選択信号s_iと、l
個の第2選択信号t_1、t_2、…、t_lのうちの
1個の第2選択信号t_iとを入力し、前記第1選択信
号s_iが論理“0”のときはV_iを、前記第1選択
信号s_iが論理“1”のときはW_iを選択した結果
のmビットの2進数Z_iと、前記第2選択信号t_i
が論理“0”のときはV_iを、前記第2選択信号t_
iが論理“1”のときはW_iを選択した結果のmビッ
トの2進数Q_iとを生成し出力するl個の選択回路と
を有し、 2個の(l×m)ビットの2進数 A=〔X_1、X_2、…、X_l_−_1、X_l〕
、B=〔Y_1、Y_2、…、Y_l_−_1、Y_l
〕と、補助入力rとを入力とし、AとBとrとの和の(
l×m)ビットの2進数 C=〔Z_1、Z_2、…、Z_l_−_1、Z_l〕
と、AとBと1との和の(l×m)ビットの2進数 D=〔Q_1、Q_2、…、Q_l_−_1、Q_l〕
とを生成し出力することを特徴とする加算回路。
(2) Two m (positive integer) bit binary numbers X_i, Y_
input i, m-bit first binary number V_i of the sum of X_i and Y_i, first carry output g_i to the upper digit of the sum of X_i and Y_i, and sum of X_i, Y_i, and 1. m
l (positive integer) unit adder circuits that generate and output a second binary number W_i of bits and a second digit up output p_i to the upper digit of the sum of X_i, Y_i, and 1; (l-1) first carry outputs g_2, g_3 output from (l-1) unit adder circuits of the unit adder circuits
,...,g_l and (l-1) second carry outputs p_2
, p_3, ..., p_l and the auxiliary input r are input, and the logical formula s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r (1≦i≦l−2), s_l_−_1=g_l+p_l・r, s_l=r, t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
...・p_l_-_1・p_l (1≦i≦l-2), t_l_-_1=g_l+p_l, t_l=1 l first selection signals s_1, s_2, ..., s_l
and a selection signal generation circuit that generates and outputs l second selection signals t_1, t_2,..., t_l; and l first selection signals output from the l unit adder circuits.
One binary number V_i among the base numbers V_1, V_2, ..., V_l and l second binary numbers W_1, W_2, ..., W
one binary number W_i of _l and l first selection signals s_1, s_2 output from the selection signal generation circuit
, ..., s_l, one first selection signal s_i and l
one second selection signal t_i among the second selection signals t_1, t_2, ..., t_l is input, and when the first selection signal s_i is logic "0", V_i is inputted to the first selection signal t_i. When the signal s_i is logic "1", the m-bit binary number Z_i resulting from selecting W_i and the second selection signal t_i
is logic “0”, V_i is set to the second selection signal t_
When i is logic "1", it has l selection circuits that generate and output an m-bit binary number Q_i as a result of selecting W_i, and two (l×m)-bit binary numbers A. = [X_1, X_2, ..., X_l_-_1, X_l]
, B=[Y_1, Y_2, ..., Y_l_-_1, Y_l
] and auxiliary input r as inputs, and the sum of A, B, and r (
l × m) bit binary number C = [Z_1, Z_2, ..., Z_l_-_1, Z_l]
and the (l×m)-bit binary number D of the sum of A, B, and 1 = [Q_1, Q_2, ..., Q_l_-_1, Q_l]
An adder circuit characterized in that it generates and outputs.
(3)2個のm(正整数)ビットの2進数X_i、Y_
iを入力し、X_iとY_iとの和のmビットの第1の
2進数V_iと、X_iとY_iとの和の上位桁への第
1桁上り出力g_iと、X_iとY_iと1との和のm
ビットの第2の2進数W_iと、X_iとY_iと1と
の和の上位桁への第2桁上り出力p_iとを生成し出力
するl(正整数)個の単位加算回路と、これらl個の単
位加算回路のうちの(l−1)個の単位加算回路より出
力された(l−1)個の第1桁上り出力g_2、g_3
、…、g_lと、(l−1)個の第2桁上り出力p_2
、p_3、…、p_l、補助入力rとを入力し、論理式 s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r(1≦i≦l−2)、 s_l_−_1=g_l+p_l・r、 s_l=r、 t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l(1≦i≦l−2)、 t_l_−_1=g_l+p_l、 t_l=1 となるl個の第1選択信号s_1、s_2、…、s_l
と、l個の第2選択信号t_1、t_2、…、t_lと
を生成し出力する選択信号生成回路と、 前記l個の単位加算回路より出力されたl個の第1の2
進数V_1、V_2、…、V_lのうちの1個の2進数
V_iと、l個の第2の2進数W_1、W_2、…、W
_lのうちの1個の2進数W_iと、前記選択信号生成
回路より出力されたl個の第1選択信号s_1、s_2
、…、s_lのうちの1個の第1選択信号s_iと、l
個の第2選択信号t_1、t_2、…、t_lのうちの
1個の第2選択信号t_iとを入力し、前記第1選択信
号s_iが論理“0”のときはV_iを、前記第1選択
信号s_iが論理“1”のときはW_iを選択した結果
のmビットの2進数Z_iと、前記第2選択信号t_i
が論理“0”のときはV_iを、前記第2選択信号t_
iが論理“1”のときはW_iを選択した結果のmビッ
トの2進数Q_iとを生成し出力するl個の選択回路と
、 前記l個の単位加算回路より出力されたl個の第1桁上
り出力g_1、g_2、…、g_lと、l個の第2桁上
り出力p_1、p_2、…、p_lとを入力し、論理式
G=g_1+p_1・g_2+p_1・p_2・g_3
+…+p_1・p_2・…・p_l_−_1・g_l、
P=p_1・p_2・…・p_l となる第1代表桁上り信号Gと、第2代表桁上り信号P
とを生成し出力する桁上り信号生成回路とを有し、 2個の(l×m)ビットの2進数 A=〔X_1、X_2、…、X_l_−_1、X_l〕
、B=〔Y_1、Y_2、…、Y_l_−_1、Y_l
〕と、補助入力rとを入力とし、AとBとrとの和の(
l×m)ビットの2進数 C=〔Z_1、Z_2、…、Z_l_−_1、Z_l〕
と、AとBと1との和の(l×m)ビットの2進数 D=〔Q_1、Q_2、…、Q_l_−_1、Q_l〕
と、AとBとの和の上位桁への桁上り信号Gと、AとB
と1との和の上位桁への桁上り信号Pとを生成し出力す
ることを特徴とする加算回路。
(3) Two m (positive integer) bit binary numbers X_i, Y_
input i, m-bit first binary number V_i of the sum of X_i and Y_i, first carry output g_i to the upper digit of the sum of X_i and Y_i, and sum of X_i, Y_i, and 1. m of
l (positive integer) unit adder circuits that generate and output a second binary number W_i of bits and a second digit up output p_i to the upper digit of the sum of X_i, Y_i, and 1; (l-1) first carry outputs g_2, g_3 output from (l-1) unit adder circuits of the unit adder circuits
,...,g_l and (l-1) second carry outputs p_2
, p_3, ..., p_l, and the auxiliary input r are input, and the logical formula s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r (1≦i≦l−2), s_l_−_1=g_l+p_l・r, s_l=r, t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
...・p_l_-_1・p_l (1≦i≦l-2), t_l_-_1=g_l+p_l, t_l=1 l first selection signals s_1, s_2, ..., s_l
and a selection signal generation circuit that generates and outputs l second selection signals t_1, t_2,..., t_l; and l first selection signals output from the l unit adder circuits.
One binary number V_i among the base numbers V_1, V_2, ..., V_l and l second binary numbers W_1, W_2, ..., W
one binary number W_i of _l and l first selection signals s_1, s_2 output from the selection signal generation circuit
, ..., s_l, one first selection signal s_i and l
one second selection signal t_i among the second selection signals t_1, t_2, ..., t_l is input, and when the first selection signal s_i is logic "0", V_i is inputted to the first selection signal t_i. When the signal s_i is logic “1”, the m-bit binary number Z_i as a result of selecting W_i and the second selection signal t_i
is logic “0”, V_i is set to the second selection signal t_
l selection circuits that generate and output an m-bit binary number Q_i as a result of selecting W_i when i is logic "1"; and l first selection circuits output from the l unit adder circuits; Input the carry outputs g_1, g_2, ..., g_l and l second carry outputs p_1, p_2, ..., p_l, and form the logical formula G=g_1+p_1・g_2+p_1・p_2・g_3
+...+p_1・p_2・...・p_l_-_1・g_l,
A first representative carry signal G and a second representative carry signal P where P=p_1・p_2・...・p_l
and a carry signal generation circuit that generates and outputs two (l×m) bit binary numbers A = [X_1, X_2, ..., X_l_−_1, X_l]
, B=[Y_1, Y_2, ..., Y_l_-_1, Y_l
] and auxiliary input r as inputs, and the sum of A, B, and r (
l × m) bit binary number C = [Z_1, Z_2, ..., Z_l_-_1, Z_l]
and the (l×m)-bit binary number D of the sum of A, B, and 1 = [Q_1, Q_2, ..., Q_l_-_1, Q_l]
, a carry signal G to the upper digit of the sum of A and B, and A and B.
1. An adder circuit that generates and outputs a carry signal P to a high-order digit of the sum of 1 and 1.
(4)前記単位加算回路が、 2個のmビットの2進数X_i、Y_iを入力し、X_
iとY_iとの和のmビットの第1の2進数V_iと、
X_iとY_iとの和の上位桁への第1桁上り出力g_
iと、X_iとY_iと1との和のmビットの第2の2
進数W_iと、X_iとY_iと1との和の上位桁への
第2桁上り出力p_iとを生成し出力するl個の単位加
算回路と、 これらl個の単位加算回路のうちの(l−1)個の単位
加算回路より出力された(l−1)個の第1桁上り出力
g_2、g_3、…、g_lと、(l−1)個の第2桁
上り出力p_2、p_3、…、p_lと、補助入力rと
を入力し、論理式 s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r(1≦i≦l−2)、 s_l_−_1=g_l+p_l・r、 s_l=r、 t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l(1≦i≦l−2)、 t_l_−_1=g_l+p_l、 t_l=1 となるl個の第1選択信号s_1、s_2、…、s_l
と、l個の第2選択信号t_1、t_2、…、t_lと
を生成し出力する選択信号生成回路と、 前記l個の単位加算回路より出力されたl個の第1の2
進数V_1、V_2、…、V_lのうちの1個の2進数
V_iと、l個の第2の2進数W_1、W_2、…、W
_lのうちの1個の2進数W_iと、前記選択信号生成
回路より出力されたl個の第1選択信号s_1、s_2
、…、s_lのうちの1個の第1選択信号s_iと、l
個の第2選択信号t_1、t_2、…、t_lのうちの
1個の第2選択信号t_iとを入力し、前記第1選択信
号s_iが論理“0”のときはV_iを、前記第1選択
信号s_iが論理“1”のときはW_iを選択した結果
のmビットの2進数Z_iと、前記第2選択信号t_i
が論理“0”のときはV_iを、前記第2選択信号t_
iが論理“1”のときはW_iを選択した結果のmビッ
トの2進数Q_iとを生成し出力するl個の選択回路と
、 前記l個の単位加算回路より出力されたl個の第1桁上
り出力g_1、g_2、…、g_lと、l個の第2桁上
り出力p_1、p_2、…、p_lとを入力し、論理式
G=g_1+p_1・g_2+p_1・p_2・g_3
+…+p_1・p_2・…・p_l_−_1・g_l、
P=p_1・p_2・…・p_l となる第1代表桁上り信号Gと、第2代表桁上り信号P
とを生成し出力する桁上り信号生成回路とを有し、 2個の(l×m)ビットの2進数 A=〔X_1、X_2、…、X_l_−_1、X_l〕
、B=〔Y_1、Y_2、…、Y_l_−_1、Y_l
〕と、補助入力rとを入力とし、AとBとrとの和の(
l×m)ビットの2進数 C=〔Z_1、Z_2、…、Z_l_−_1、Z_l〕
と、AとBと1との和の(l×m)ビットの2進数 D=〔Q_1、Q_2、…、Q_l_−_1、Q_l〕
と、AとBとの和の上位桁への桁上り信号Gと、AとB
と1との和の上位桁への桁上り信号Pとを生成し出力す
る加算回路の前記補助入力rを論理“0”にした加算回
路でなることを特徴とする特許請求範囲第1項、第2項
または第3項記載の加算回路。
(4) The unit addition circuit inputs two m-bit binary numbers X_i and Y_i, and
an m-bit first binary number V_i of the sum of i and Y_i;
First carry output g_ to the upper digit of the sum of X_i and Y_i
i, the second 2 of m bits of the sum of X_i, Y_i, and 1
l unit adder circuits that generate and output the base number W_i and the second digit up output p_i to the upper digit of the sum of X_i, Y_i, and 1; 1) (l-1) first carry outputs g_2, g_3, ..., g_l output from the unit adder circuits and (l-1) second carry outputs p_2, p_3, ..., Input p_l and auxiliary input r, and formulate the logical formula s_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
…・p_l_−_1・p_l・r (1≦i≦l−2), s_l_−_1=g_l+p_l・r, s_l=r, t_i=g_i_+_1+p_i_+_1・g_i_+
_2+p_i_+_1・p_i_+_2・g_i_+_
3+…+p_i_+_1・p_i_+_2・…・p_l
_−_1・g_l+p_i_+_1・p_i_+_2・
...・p_l_-_1・p_l (1≦i≦l-2), t_l_-_1=g_l+p_l, t_l=1 l first selection signals s_1, s_2, ..., s_l
and a selection signal generation circuit that generates and outputs l second selection signals t_1, t_2,..., t_l; and l first selection signals output from the l unit adder circuits.
One binary number V_i among the base numbers V_1, V_2, ..., V_l and l second binary numbers W_1, W_2, ..., W
one binary number W_i of _l and l first selection signals s_1, s_2 output from the selection signal generation circuit
, ..., s_l, one first selection signal s_i and l
one second selection signal t_i among the second selection signals t_1, t_2, ..., t_l is input, and when the first selection signal s_i is logic "0", V_i is inputted to the first selection signal t_i. When the signal s_i is logic "1", the m-bit binary number Z_i resulting from selecting W_i and the second selection signal t_i
is logic “0”, V_i is set to the second selection signal t_
l selection circuits that generate and output an m-bit binary number Q_i as a result of selecting W_i when i is logic "1"; and l first selection circuits output from the l unit adder circuits; Input the carry outputs g_1, g_2, ..., g_l and l second carry outputs p_1, p_2, ..., p_l, and form the logical formula G=g_1+p_1・g_2+p_1・p_2・g_3
+...+p_1・p_2・...・p_l_-_1・g_l,
A first representative carry signal G and a second representative carry signal P where P=p_1・p_2・...・p_l
and a carry signal generation circuit that generates and outputs two (l×m) bit binary numbers A=[X_1, X_2, ..., X_l_−_1, X_l]
, B=[Y_1, Y_2, ..., Y_l_-_1, Y_l
] and auxiliary input r as inputs, and the sum of A, B, and r (
l × m) bit binary number C = [Z_1, Z_2, ..., Z_l_-_1, Z_l]
and the (l×m)-bit binary number D of the sum of A, B, and 1 = [Q_1, Q_2, ..., Q_l_-_1, Q_l]
, a carry signal G to the upper digit of the sum of A and B, and A and B.
Claim 1, characterized in that the adder circuit is an adder circuit in which the auxiliary input r of the adder circuit that generates and outputs a carry signal P to the upper digit of the sum of The addition circuit according to item 2 or 3.
JP14096385A 1985-06-27 1985-06-27 Adding circuit Granted JPS622322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14096385A JPS622322A (en) 1985-06-27 1985-06-27 Adding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14096385A JPS622322A (en) 1985-06-27 1985-06-27 Adding circuit

Publications (2)

Publication Number Publication Date
JPS622322A true JPS622322A (en) 1987-01-08
JPH0471216B2 JPH0471216B2 (en) 1992-11-13

Family

ID=15280889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14096385A Granted JPS622322A (en) 1985-06-27 1985-06-27 Adding circuit

Country Status (1)

Country Link
JP (1) JPS622322A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56105540A (en) * 1980-01-25 1981-08-22 Hitachi Ltd Adder
JPS59136848A (en) * 1983-01-03 1984-08-06 モトロ−ラ・インコ−ポレ−テツド N-bit addition circuit
JPS6055438A (en) * 1983-09-05 1985-03-30 Matsushita Electric Ind Co Ltd Two-input adder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56105540A (en) * 1980-01-25 1981-08-22 Hitachi Ltd Adder
JPS59136848A (en) * 1983-01-03 1984-08-06 モトロ−ラ・インコ−ポレ−テツド N-bit addition circuit
JPS6055438A (en) * 1983-09-05 1985-03-30 Matsushita Electric Ind Co Ltd Two-input adder

Also Published As

Publication number Publication date
JPH0471216B2 (en) 1992-11-13

Similar Documents

Publication Publication Date Title
Hotkar et al. Implementation of Low Power and area efficient carry select Adder
US3700875A (en) Parallel binary carry look-ahead adder system
US6301600B1 (en) Method and apparatus for dynamic partitionable saturating adder/subtractor
CN112988657A (en) FPGA expert processing block for machine learning
JPS61502288A (en) X×Y bit array multiplier/accumulator circuit
EP0171805A2 (en) High speed digital arithmetic unit
EP0271255A2 (en) High-speed binary and decimal arithmetic logic unit
US5185714A (en) Arithmetic operation processing apparatus
US3970833A (en) High-speed adder
JPS622322A (en) Adding circuit
EP0147296A2 (en) Multiplication circuit
EP0344226B1 (en) High-speed digital adding system
US7216141B2 (en) Computing carry-in bit to most significant bit carry save adder in current stage
JPS5831463A (en) Magnetic disk controller
Calmet et al. Towards the mathematics software bus
KR100241071B1 (en) Adder for generating sum and sum plus one in parallel
JPS6275840A (en) Carry selecting adder
JPH0628503A (en) Adder
Woodall Applications of polymatroids and linear programming to transversals and graphs
US6301597B1 (en) Method and apparatus for saturation in an N-NARY adder/subtractor
JP3188302B2 (en) Arithmetic unit
JPS63157231A (en) Exponent addition/subtraction circuit
US6272514B1 (en) Method and apparatus for interruption of carry propagation on partition boundaries
JPS6349835A (en) Arithmetic processor
RU2001428C1 (en) Adding device