JPH04299733A - Addition system and its circuit - Google Patents

Addition system and its circuit

Info

Publication number
JPH04299733A
JPH04299733A JP3064294A JP6429491A JPH04299733A JP H04299733 A JPH04299733 A JP H04299733A JP 3064294 A JP3064294 A JP 3064294A JP 6429491 A JP6429491 A JP 6429491A JP H04299733 A JPH04299733 A JP H04299733A
Authority
JP
Japan
Prior art keywords
circuit
carry
signal
output
inputs
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
JP3064294A
Other languages
Japanese (ja)
Other versions
JP3106525B2 (en
Inventor
Kazumasa Suzuki
一正 鈴木
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 JP6429491A priority Critical patent/JP3106525B2/en
Publication of JPH04299733A publication Critical patent/JPH04299733A/en
Application granted granted Critical
Publication of JP3106525B2 publication Critical patent/JP3106525B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To increase the adding speed of two numbers by processing previously the carry signals which are continuously propagated in order to eliminate the carry propagation and also to simplify the hardware configuration by applying frequently a simple logical arithmetic for each bit. CONSTITUTION:When two numbers A and B are added together, the carry processing is previously applied to a part where the carry signals are continuously propagated. Then the value given in such a form that causes no carry propagation is deformed so as to increases the adding speed of the two numbers. An AND X and an OR Y of numbers A and B are obtained by an AND circuit 1 and an OR circuit 2. A carry range detecting circuit 3 obtains the value M showing a carry occurrence range from the values of X and Y. Then an EX-OR circuit 4 applies the batch carry processing to Y, and an EX-OR circuit 5 performs the addition for each bit to obtain a sum S.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はデジタル演算装置の加算
器の高速化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for increasing the speed of an adder in a digital arithmetic unit.

【0002】0002

【従来の技術】従来、高速加算を行う方法として桁上げ
先見法が知られている。この方法は以下の原理に基づい
て加算を行う方法である。加算するnビットの2数A、
Bの各ビットの値を、an−1 、an−2 、・・・
a1 、a0 とbn−1 、bn−2 、・・・b1
 、b0 とすると、その和sn−1 、sn−2 、
・・・s1 、s0 と桁上げcn−1 、cn−2 
、・・・c1 、c0 は次の式(1)、(2)で計算
される。
2. Description of the Related Art Conventionally, a carry look-ahead method has been known as a method for performing high-speed addition. This method performs addition based on the following principle. 2 numbers A of n bits to be added,
The value of each bit of B is an-1, an-2,...
a1, a0 and bn-1, bn-2,...b1
, b0, the sums sn-1, sn-2,
...s1, s0 and carry cn-1, cn-2
,...c1, c0 are calculated using the following equations (1) and (2).

【0003】0003

【0004】この式は、次の(3)、(4)で示す2つ
の関数を導入することによって式(5)、(6)のよう
に変形できる。
This equation can be transformed into equations (5) and (6) by introducing the following two functions (3) and (4).

【0005】[0005]

【0006】(5)式からわかるように全てのビットで
桁上げci が同時に利用できるなら、和si は並列
に計算できる。(6)式を使えば桁上げci を  c
0 =g0 +c−1・p0            
                         
      (7)  c1 =g1 + c0 ・p
1   =g1 +g0 ・p1 +c−1・p0 ・
p1                       
      (8)  c2 =g2 +c1 ・p2
    =g2 +g1 ・p2 +g0 ・p1 ・p2
 +c−1・p0 ・p1 ・p2     (9) 
 c3 =g3 +c2 ・p3    =g3 +g2 ・p3 +g1 ・p2 ・p3
 +g0 ・p1 ・p2 ・p3 +c−1・p0 
・p1 ・p2 ・p3              
                         
      (10)  ・・・ のように求めることができるので、これらの桁上げ信号
とpi を使えば(5)式から和を求めることができる
As can be seen from equation (5), if the carry ci can be used simultaneously for all bits, the sum si can be calculated in parallel. Using formula (6), carry ci becomes c
0 = g0 + c-1・p0

(7) c1 = g1 + c0 ・p
1 =g1 +g0 ・p1 +c-1・p0 ・
p1
(8) c2 = g2 + c1 ・p2
=g2 +g1 ・p2 +g0 ・p1 ・p2
+c-1・p0 ・p1 ・p2 (9)
c3 =g3 +c2 ・p3 =g3 +g2 ・p3 +g1 ・p2 ・p3
+g0 ・p1 ・p2 ・p3 +c-1・p0
・p1 ・p2 ・p3

(10) . . . Therefore, by using these carry signals and pi, the sum can be obtained from equation (5).

【0007】この方法を用いた4ビットの加算器の構成
例を図9に示す。桁上げ生成伝播回路81は(3)、(
4)式の演算をする部分であり、桁上げ先見回路82は
(7)〜(10)式の演算をし桁上げ信号を求める部分
であり、和生成回路83は(5)式によって和を求める
回路である。図中の信号名は(1)〜(10)式中の信
号名と1対1に対応する。
FIG. 9 shows an example of the configuration of a 4-bit adder using this method. The carry generation propagation circuit 81 is (3), (
4) This is the part that calculates the formula, the carry look ahead circuit 82 calculates the carry signal by calculating the formulas (7) to (10), and the sum generation circuit 83 calculates the sum according to the formula (5). This is the circuit you are looking for. The signal names in the figure correspond one-to-one with the signal names in equations (1) to (10).

【0008】[0008]

【発明が解決しようとする課題】以上述べた桁上げ先見
回路は、加算する数の語長が短いときにはハードウェア
を実現し易いが、語長が長くなったときに、全体の語長
を短く区切って計算するなどの工夫が必要で、それに伴
ってハードウェア構成に変更が必要であること、演算時
間が遅くなること等の欠点があった。
[Problem to be solved by the invention] The carry look-ahead circuit described above is easy to implement in hardware when the word length of the number to be added is short, but when the word length becomes long, the overall word length is shortened. This method requires measures such as performing calculations in sections, which has drawbacks such as requiring changes to the hardware configuration and slowing down calculation time.

【0009】本発明の目的はこのような従来法の欠点を
除去して、任意の加算語長で同様なハードウェア構成を
とり、高速に加算を行う方法を提供することにある。
An object of the present invention is to eliminate the drawbacks of the conventional method and provide a method for performing addition at high speed using a similar hardware configuration with an arbitrary addition word length.

【0010】0010

【課題を解決するための手段】本発明は加算項、被加算
項の論理和、論理積から桁上げ伝播が発生する桁の範囲
、もしくは、桁上げ伝播が発生しない桁の範囲を抽出し
、一度に各ビット毎桁上げ処理した後、和を求めること
を特徴としている。
[Means for Solving the Problems] The present invention extracts the range of digits where carry propagation occurs or the range of digits where carry propagation does not occur from the logical sum and logical product of addition terms and augend terms, It is characterized by performing carry processing for each bit at a time and then calculating the sum.

【0011】[0011]

【作用】本発明では、2数の加算を行うときに、連続し
て桁上げ信号が伝播する部分をあらかじめ桁上げ処理し
てしまい、桁上げ伝播が起こらない形に与えられた値を
変形することで高速化を実現する。また、各機能ブロッ
クの処理のほとんどは単純なビット毎の論理演算だけに
することができハードウェア構成が単純化される。
[Operation] In the present invention, when performing addition of two numbers, carry processing is performed in advance on the part where carry signals are propagated continuously, and the given value is transformed into a form in which carry propagation does not occur. This achieves faster speeds. Furthermore, most of the processing of each functional block can be done by simple logical operations for each bit, which simplifies the hardware configuration.

【0012】0012

【実施例】次に図1から図4を参照して本発明の原理と
実施例を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the principle and embodiments of the present invention will be described with reference to FIGS. 1 to 4.

【0013】nビットの語長を持つ被加算項と加算項を
A、Bとし各々の各ビットの値をan−1 、an−2
 、・・・a1 、a0 、及びbn−1 、bn−2
 、・・・b1、b0 とする。このA、Bに対して論
理積Xと論理和Yを求める。つまり、各ビットについて   xi =ai ・bi             
                         
         (11)  yi =ai +bi
                         
                      (12
)を求める。この操作によって、ai 、bi の両方
の値が1であったならxi 、yi 共に0となり、一
方が1で他方が0ならyi は1、xi は0となり、
双方とも1ならばxi 、yi 共に1となる。このこ
とはai 、bi の1をyi 、xi の順に詰め直
すことを意味しており、よってAとBの和を求めること
はXとYの和を求めることに転化できる。yi が0な
らばxi も0なのでこの桁iを超えて桁上げは伝播し
ない。そのため桁上げの伝播を考えるとき、Yの中で1
が連続する部分をそれぞれ独立に考えてよい。
Let the augend and addition term with a word length of n bits be A and B, and the values of each bit are an-1 and an-2.
,...a1, a0, and bn-1, bn-2
,... b1, b0. For these A and B, logical product X and logical sum Y are calculated. In other words, for each bit xi = ai ・bi

(11) yi = ai + bi

(12
). By this operation, if the values of both ai and bi are 1, xi and yi will both become 0, and if one is 1 and the other is 0, yi will become 1 and xi will become 0,
If both are 1, xi and yi are both 1. This means that the 1's in ai and bi are repacked in the order of yi and xi, so finding the sum of A and B can be converted into finding the sum of X and Y. If yi is 0, xi is also 0, so the carry does not propagate beyond this digit i. Therefore, when considering carry propagation, 1 in Y
You can consider each continuous part independently.

【0014】図2は各演算処理後の数値の変化を示して
いる。この図に示したようにYのlビットからkビット
までが1であるとする。但し、lはkより上位であると
する。さて、Xにおいて1ビットからkビットの間で値
が1となるビットのうち最下位のものをqビットとする
。この例ではk+1がqとなる。この時、桁上げの伝播
はqビットから始まり、l+1ビットまで続く。この桁
上げの範囲を示す値をMとする。この例では、桁上げが
伝わる先のビットmq+1 からml+1 までを1と
し、他を0とするようなMを求めている。桁上げが伝わ
る範囲となる部分となるyq+1 からyl+1 の値
を反転、つまり、次の(13)式で示すYとMの排他的
論理和を求めれば桁上げ処理は終わる。
FIG. 2 shows changes in numerical values after each calculation process. Assume that bits l to k of Y are 1 as shown in this figure. However, it is assumed that l is higher than k. Now, among the bits whose value is 1 between bits 1 and k in X, the least significant bit is defined as q bit. In this example, k+1 becomes q. At this time, carry propagation starts from q bits and continues to l+1 bits. Let M be a value indicating the range of this carry. In this example, M is determined such that the bits mq+1 to ml+1 to which the carry is transmitted are set to 1, and the other bits are set to 0. The carry process is completed by inverting the values from yq+1 to yl+1, which are the range in which the carry is transmitted, that is, by calculating the exclusive OR of Y and M shown in the following equation (13).

【0015】[0015]

【0016】この値をZとする。Zi はZのiビット
の値を示す。図2にこの例の時のZを示した。この処理
の後は桁上げは全く起こらないので、次の(14)式で
示すzとXの排他的論理和をとれば和Sが求められる。
Let this value be Z. Zi indicates the value of the i bit of Z. FIG. 2 shows Z in this example. After this processing, no carry occurs at all, so the sum S can be obtained by taking the exclusive OR of z and X shown in the following equation (14).

【0017】[0017]

【0018】si はSのiビットの値である。この和
Sは最初のAとBの和に等しい。
si is the value of the i bit of S. This sum S is equal to the sum of the initial A and B.

【0019】図1はこの加算方法を実現するハードウェ
アのブロック図である。AND回路1とOR回路2はそ
れぞれ(1)、(2)式を実現するブロックである。桁
上げ範囲検出回路3は、XとYの値から桁上げが起こる
範囲を示す値Mを求める。第1のEX−OR回路4で(
13)式の桁上げの処理をYに対して行い、第2のEX
−OR回路5で(14)式に示した各ビット毎の加算を
行う。この結果AとBの和Sが求められる。
FIG. 1 is a block diagram of hardware that implements this addition method. AND circuit 1 and OR circuit 2 are blocks that realize equations (1) and (2), respectively. The carry range detection circuit 3 determines a value M indicating the range in which carry occurs from the values of X and Y. In the first EX-OR circuit 4 (
13) Carry out the carry process of the expression for Y and convert it to the second EX
-OR circuit 5 performs addition for each bit as shown in equation (14). As a result, the sum S of A and B is obtained.

【0020】2数の加算をするときに下位ビットからの
桁上げ信号を加えることがある。この時は、最下位ビッ
トの下に更に1ビット付加し、このビットを−1桁とす
ると、x−1に桁上げ信号をy−1に1を与えればよい
When adding two numbers, a carry signal from the lower bits may be added. In this case, if one bit is added below the least significant bit and this bit is set to -1 digit, it is sufficient to give a carry signal to x-1 and a 1 to y-1.

【0021】次に桁上げ検出回路3の実施例を図3、図
4を用いて説明する。
Next, an embodiment of the carry detection circuit 3 will be described with reference to FIGS. 3 and 4.

【0022】図3は桁上げ検出回路3を実現するための
セル配置図である。縦方向にYの信号線21及びMの信
号線22を平行に並べた組を必要なビット分並べる。こ
の図に示されているのは8ビットの例である。これに対
してXの信号線23を、下位から上位の方向に斜めに配
置する。これらの信号線の交点に基本セル24を配置す
る。
FIG. 3 is a cell layout diagram for realizing the carry detection circuit 3. A set of Y signal lines 21 and M signal lines 22 arranged in parallel in the vertical direction is arranged for necessary bits. The figure shown is an 8-bit example. On the other hand, the X signal line 23 is arranged diagonally from the lower level to the upper level. A basic cell 24 is placed at the intersection of these signal lines.

【0023】図4に光論理回路を用いた基本セルの実施
例を示す。光遮断器32はyi の信号が1の時に光を
透過し、0の時に遮断する。xj は光の有無を1、0
に当てており、光信号があるときには光分配器31によ
って光遮断器とmi+1 の信号線に光信号を分配する
。mi+1の信号線を上方から伝わってきた信号はその
まま下方に伝わる。この構成によってXとYの信号から
桁上げ範囲信号Mを求めることができる。光遮断器32
のかわりにトランスファーゲートを、光分配器のかわり
にxj の信号によってmi+1 に信号を送るような
ゲートを置き換えれば電気信号による実現も可能である
FIG. 4 shows an embodiment of a basic cell using an optical logic circuit. The optical blocker 32 transmits light when the signal yi is 1, and blocks it when the signal yi is 0. xj is 1 and 0 for the presence or absence of light.
When there is an optical signal, the optical splitter 31 distributes the optical signal to the optical interrupter and the signal line mi+1. The signal transmitted from above through the mi+1 signal line is transmitted downward as is. With this configuration, the carry range signal M can be obtained from the X and Y signals. Optical interrupter 32
Alternatively, it is possible to implement electrical signals by replacing the transfer gate with a gate that sends a signal to mi+1 using the xj signal instead of the optical divider.

【0024】図5と図6を用いて本発明の他の実施例を
説明する。
Another embodiment of the present invention will be explained using FIGS. 5 and 6.

【0025】図2において、sq の値は必ず0となる
ので、桁上げの範囲を示す値Mのqビットも1となるよ
うに求め、(13)式と同様にZを求めるのと並列にx
q の値を強制的に0にしてしまえば(14)式の排他
的論理和を普通の論理和に変更しても和Sが求められる
In FIG. 2, the value of sq is always 0, so the q bits of the value M indicating the range of carry are also determined to be 1, and in parallel with determining Z in the same way as in equation (13). x
If the value of q is forcibly set to 0, the sum S can be obtained even if the exclusive OR in equation (14) is changed to an ordinary OR.

【0026】図5にこの方法の場合の信号の変化を示す
。M’ はqビット目も1となるよう桁上げ範囲を定義
した場合の桁上げ範囲信号である。X’ はXの信号の
kビット目を強制的に0とした信号で、   X’ i =Xi ・M’ i−1       
                         
         (15)とすれば求められる信号で
ある。Z’ は(13)式のMをM’ に置き換えて得
られた信号である。X’ とZ’ の排他的論理和を取
れば和Sが求められる。
FIG. 5 shows changes in signals in this method. M' is a carry range signal when the carry range is defined so that the q-th bit is also 1. X' is a signal that forcibly sets the k-th bit of the X signal to 0, X' i = Xi ・M' i-1

(15) is the required signal. Z' is a signal obtained by replacing M in equation (13) with M'. By taking the exclusive OR of X' and Z', the sum S can be obtained.

【0027】図6にこの方法による回路のブロック構成
図を示す。桁上げ範囲検出回路51はXとYの信号から
桁上げの範囲を示す信号M’ を出力する。第2のAN
D回路52は(15)式を実行し、X’ を出力する。 EX−OR回路4でM’ とYからZ’ を得る。X’
 とZ’ の論理和を第2のOR回路53で取り和Sが
求められる。
FIG. 6 shows a block diagram of a circuit according to this method. A carry range detection circuit 51 outputs a signal M' indicating a carry range from the X and Y signals. 2nd AN
The D circuit 52 executes equation (15) and outputs X'. An EX-OR circuit 4 obtains Z' from M' and Y. X'
and Z' are logically summed by the second OR circuit 53 to obtain the sum S.

【0028】次に図7と図8を用いて本発明の更に他の
実施例を説明する。これは、桁上げが起こらない範囲の
信号を用いた実施例である。
Next, another embodiment of the present invention will be described using FIGS. 7 and 8. This is an example using a signal within a range in which carry does not occur.

【0029】Mの代わりに桁上げが起こらない範囲を求
め、つまり、kからqまでを1とし、他を0とするよう
なM’’を求め、M’’とXの排他的論理和をとり、こ
れと並列に信号Yをl+1ビット目のみを1とし、他の
ビットをすべて0としたY’ に変換し、M’’とY’
 の論理和をとることによっても和Sが求められる。但
しこの時kからlの桁の間にXの1となるビットが一つ
も存在しないならば、y’ l+1 は0のままにして
おく必要がある。
[0029] Instead of M, find a range in which no carry occurs, that is, find M'' where k to q are 1 and the others are 0, and do the exclusive OR of M'' and X. In parallel, the signal Y is converted to Y' with only the l+1th bit set to 1 and all other bits set to 0, and M'' and Y'
The sum S can also be obtained by taking the logical sum of . However, at this time, if there is no bit of X that becomes 1 between digits k and l, y' l+1 needs to remain 0.

【0030】図7にこの場合の信号の変化を示す。M’
’は桁上げが起こらない範囲を示した信号、つまりY上
で1の連続が始まるkビット目から、Xで1が初めて現
れるk+1ビット目までを1とし、残りをすべて0とす
る非桁上げ範囲信号である。yl+1 のみを1とし他
のビットをすべて0とした信号をY’とする。また、Z
’’はM’’とXの排他的論理和から得られる信号であ
る。この信号は、最初の実施例に使用した桁上げ範囲信
号MとYの信号を使って、
FIG. 7 shows signal changes in this case. M'
' is a signal indicating the range in which carry does not occur, that is, from the kth bit where a series of 1s starts on Y to the k+1st bit where 1 appears for the first time on X is 1, and the rest are all 0s. It is a range signal. Let Y' be a signal in which only yl+1 is 1 and all other bits are 0. Also, Z
'' is a signal obtained from the exclusive OR of M'' and X. This signal is generated by using the carry range signals M and Y used in the first embodiment.

【0031】[0031]

【0032】とすれば得られる。このY’ とZ’’の
論理和から、和Sが求められる。
##EQU1## The sum S is obtained from the logical sum of Y' and Z''.

【0033】図8にこの方法による回路のブロック構成
図を示す。非桁上げ範囲検出回路71で信号M’’を求
める。M’’とXの排他的論理和をEX−OR回路72
を用いて求め、Z’ を得る。それと並行して、第1の
OR回路の出力Yと桁上げ範囲検出回路3の出力からN
OT回路73及び第2のAND回路74を使って(16
)式を実行し、Y’ の信号を求める。これらの信号Z
’ とY’ の論理和をOR回路75で取ることで和S
を求める。
FIG. 8 shows a block diagram of a circuit according to this method. A signal M'' is obtained by a non-carry range detection circuit 71. EX-OR circuit 72 performs the exclusive OR of M'' and X.
to obtain Z'. In parallel, from the output Y of the first OR circuit and the output of the carry range detection circuit 3,
Using the OT circuit 73 and the second AND circuit 74 (16
) to obtain the signal of Y'. These signals Z
By taking the logical sum of ' and Y' in the OR circuit 75, the sum S
seek.

【0034】[0034]

【発明の効果】以上述べてきたように、本発明を適用す
るならば、連続して伝播する桁上げ信号をあらかじめ処
理することにより桁上げ伝播をなくすことができ、高速
に2数を加算できる。また、各ビット毎の簡単な論理演
算を多用でき、ハードウェア構成を単純化できる。
[Effects of the Invention] As described above, if the present invention is applied, carry propagation can be eliminated by pre-processing continuously propagating carry signals, and two numbers can be added at high speed. . Furthermore, simple logical operations for each bit can be used frequently, and the hardware configuration can be simplified.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】各ブロックを通った後の信号変化を説明する図
である。
FIG. 2 is a diagram illustrating signal changes after passing through each block.

【図3】本発明の桁上げ範囲検出回路の実施例を示す図
である。
FIG. 3 is a diagram showing an embodiment of a carry range detection circuit of the present invention.

【図4】桁上げ範囲検出回路の基本セルの回路図である
FIG. 4 is a circuit diagram of a basic cell of a carry range detection circuit.

【図5】本発明の別の実施例を示すブロック図である。FIG. 5 is a block diagram showing another embodiment of the invention.

【図6】各ブロックを通った後の信号の変化を説明する
図である。
FIG. 6 is a diagram illustrating changes in a signal after passing through each block.

【図7】本発明の更に別の実施例を示す図である。FIG. 7 is a diagram showing yet another embodiment of the present invention.

【図8】各ブロックを通った後の信号の変化を説明する
図である。
FIG. 8 is a diagram illustrating changes in a signal after passing through each block.

【図9】従来の加算器の回路図である。FIG. 9 is a circuit diagram of a conventional adder.

【符号の説明】[Explanation of symbols]

1  AND回路 2  OR回路 3  桁上げ範囲検出回路 4  EX−OR回路 5  EX−OR回路 21  Yの信号線 22  Mの信号線 23  Xの信号線 24  基本セル 31  光分配器 32  光遮断器 51  桁上げ範囲検出回路 52  AND回路 53  OR回路 71  非桁上げ範囲検出回路 72  EX−OR回路 73  NOT回路 74  AND回路 75  OR回路 81  桁上げ生成伝播回路 82  桁上げ先見回路 83  和生成回路 1 AND circuit 2 OR circuit 3 Carry range detection circuit 4 EX-OR circuit 5 EX-OR circuit 21 Y signal line 22 M signal line 23 X signal line 24 Basic cell 31 Optical distributor 32 Optical interrupter 51 Carry range detection circuit 52 AND circuit 53 OR circuit 71 Non-carry range detection circuit 72 EX-OR circuit 73 NOT circuit 74 AND circuit 75 OR circuit 81 Carry generation propagation circuit 82 Carry look ahead circuit 83 Sum generation circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  加算項、被加算項の論理和、論理積か
ら桁上げ伝播が発生する桁の範囲、もしくは、桁上げ伝
播が発生しない桁の範囲を抽出し、一度に各ビット毎桁
上げ処理した後、和を求めることを特徴とする加算方式
[Claim 1] Extract the range of digits in which carry propagation occurs or the range of digits in which carry propagation does not occur from the logical sum and logical product of the addition term and the augend term, and carry out each bit at a time. An addition method characterized by calculating the sum after processing.
【請求項2】  被加算信号と加算信号を入力とするA
ND回路と、前記被加算信号と前記加算信号を入力とす
るOR回路と、前記AND回路と前記OR回路の出力を
入力とする桁上げ範囲検出回路と、前記桁上げ範囲検出
回路と前記OR回路の出力を入力とする第1のEX−O
R回路と、前記桁上げ検出回路と前記第1のEX−OR
回路の出力を入力とする第2のEX−OR回路を含むこ
とを特徴とする加算回路。
[Claim 2] A that receives the augend signal and the addition signal as inputs.
an ND circuit, an OR circuit whose inputs are the augend signal and the addition signal, a carry range detection circuit whose inputs are the outputs of the AND circuit and the OR circuit, and the carry range detection circuit and the OR circuit. The first EX-O whose input is the output of
R circuit, the carry detection circuit, and the first EX-OR
An adder circuit comprising a second EX-OR circuit that receives the output of the circuit as an input.
【請求項3】  被加算信号と加算信号を入力とする第
1のAND回路と、前記被加算信号と前記加算信号を入
力とする第1のOR回路と、前記第1のAND回路と前
記第1のOR回路の出力を入力とする桁上げ範囲検出回
路と、前記第1のAND回路の出力と前記桁上げ範囲検
出回路の出力を入力とする第2のAND回路と、前記第
1のOR回路の出力と前記桁上げ範囲検出回路の出力を
入力とするEX−OR回路と、前記第2のAND回路の
出力と前記EX−OR回路の出力を入力とする第2のO
R回路を含むことを特徴とする加算回路。
3. A first AND circuit that receives the augend signal and the addition signal as inputs, a first OR circuit that receives the addend signal and the addition signal as inputs, and the first AND circuit and the first a carry range detection circuit whose input is the output of the first OR circuit; a second AND circuit whose inputs are the output of the first AND circuit and the output of the carry range detection circuit; and the first OR circuit. an EX-OR circuit whose inputs are the output of the circuit and the output of the carry range detection circuit; and a second OR circuit whose inputs are the output of the second AND circuit and the output of the EX-OR circuit.
An adder circuit comprising an R circuit.
【請求項4】  被加算信号と加算信号を入力とする第
1のAND回路と、前記被加算信号と前記加算信号を入
力とする第1のOR回路と、前記第1のAND回路と前
記第1のOR回路の出力を入力とする非桁上げ範囲検出
回路と、前記第1のAND回路と前記第1のOR回路の
出力を入力とする桁上げ範囲検出回路と、前記非桁上げ
範囲検出回路の出力と前記第1のAND回路の出力を入
力とするEX−OR回路と、前記第1のOR回路の出力
を入力とするNOT回路と、前記桁上げ範囲検出回路の
出力と前記NOT回路の出力を入力とする第2のAND
回路と、前記EX−OR回路と前記第2のAND回路の
出力を入力とする第2のOR回路を含むことを特徴とす
る加算回路。
4. A first AND circuit that receives the augend signal and the addition signal as inputs, a first OR circuit that receives the augend signal and the addition signal as inputs, and the first AND circuit and the first a non-carry range detection circuit whose input is the output of the first OR circuit; a carry range detection circuit whose input is the output of the first AND circuit and the first OR circuit; and the non-carry range detection circuit. an EX-OR circuit whose inputs are the output of the circuit and the output of the first AND circuit; a NOT circuit whose inputs are the output of the first OR circuit; and the output of the carry range detection circuit and the NOT circuit. a second AND whose input is the output of
and a second OR circuit whose inputs are the outputs of the EX-OR circuit and the second AND circuit.
JP6429491A 1991-03-28 1991-03-28 Addition method and its circuit Expired - Lifetime JP3106525B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6429491A JP3106525B2 (en) 1991-03-28 1991-03-28 Addition method and its circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6429491A JP3106525B2 (en) 1991-03-28 1991-03-28 Addition method and its circuit

Publications (2)

Publication Number Publication Date
JPH04299733A true JPH04299733A (en) 1992-10-22
JP3106525B2 JP3106525B2 (en) 2000-11-06

Family

ID=13254077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6429491A Expired - Lifetime JP3106525B2 (en) 1991-03-28 1991-03-28 Addition method and its circuit

Country Status (1)

Country Link
JP (1) JP3106525B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017158041A (en) * 2016-03-02 2017-09-07 日本電信電話株式会社 Optical logic circuit and accumulator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017158041A (en) * 2016-03-02 2017-09-07 日本電信電話株式会社 Optical logic circuit and accumulator

Also Published As

Publication number Publication date
JP3106525B2 (en) 2000-11-06

Similar Documents

Publication Publication Date Title
US4575812A (en) X×Y Bit array multiplier/accumulator circuit
US3993891A (en) High speed parallel digital adder employing conditional and look-ahead approaches
US4737926A (en) Optimally partitioned regenerative carry lookahead adder
US5278783A (en) Fast area-efficient multi-bit binary adder with low fan-out signals
US4761760A (en) Digital adder-subtracter with tentative result correction circuit
US5367477A (en) Method and apparatus for performing parallel zero detection in a data processing system
US4758974A (en) Most significant digit location
US5122982A (en) Carry generation method and apparatus
US4878192A (en) Arithmetic processor and divider using redundant signed digit arithmetic
US4495593A (en) Multiple bit encoding technique for combinational multipliers
US4700325A (en) Binary tree calculations on monolithic integrated circuits
US5497343A (en) Reducing the number of carry-look-ahead adder stages in high-speed arithmetic units, structure and method
US5007010A (en) Fast BCD/binary adder
US5375081A (en) High speed adder using a varied carry scheme and related method
JPH04299733A (en) Addition system and its circuit
US5126965A (en) Conditional-sum carry structure compiler
US5142490A (en) Multiplication circuit with storing means
JPH0464091B2 (en)
JPS57147754A (en) Digital parallel adder
EP0520298A2 (en) Arithmetic circuit
JPS58225437A (en) Carry look-ahead adder
US5654911A (en) Carry select and input select adder for late arriving data
EP0738958B1 (en) Multiplier
US5394352A (en) Carry lookahead circuit for semiconductor integrated circuit
KR950015180B1 (en) High speed adder

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000808

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080908

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080908

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 11