JPH03225419A - Adder - Google Patents

Adder

Info

Publication number
JPH03225419A
JPH03225419A JP2166590A JP2166590A JPH03225419A JP H03225419 A JPH03225419 A JP H03225419A JP 2166590 A JP2166590 A JP 2166590A JP 2166590 A JP2166590 A JP 2166590A JP H03225419 A JPH03225419 A JP H03225419A
Authority
JP
Japan
Prior art keywords
block
circuit
adder
carry
bits
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.)
Pending
Application number
JP2166590A
Other languages
Japanese (ja)
Inventor
Masaaki Arioka
有岡 雅章
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2166590A priority Critical patent/JPH03225419A/en
Publication of JPH03225419A publication Critical patent/JPH03225419A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of constituent elements while holding fastness by using a correcting circuit which can be composed of a small number of elements instead of providing two adding circuits in a block. CONSTITUTION:At every small number of bits in the block which is divided at every the small number of bits, the addition is executed in order to perform entire addition and an adding circuit 1 which is applied with 0 at the least significant bit as a carrier at all times outputs the sum of the respective bits and the carry of the block. Further, when a carry from a precedent-stage block is 1, the correcting circuit 2 in the block decides whether or not the sum of respective bits outputted by the adding circuit 1 is inverted and generates a signal, bit by bit. Inverting circuits 3 and 4 inputs the sum outputted by the adding circuit 1 and the signal generated by the correcting circuit 2, inverts bits which need to be inverted, and outputs the sum of the block. Consequently, the number of elements can be decreased while maintaining the fastness of a conventional selection type adder.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電子回路における加算器に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to adders in electronic circuits.

[従来の技術] 第5図は従来の選択型の16ビツト加算器のブロック図
である。図において、A(0)〜A (15) 、B 
(0)〜B(15)は加算される数の各ビットを示す信
号、5は4ビツトごとに加算を実行するプロ・ンク、5
(0)〜5(15)は各ブロック5が出力する各ビット
のサム、7は各ブロック5から出力するキャリを次段の
ブロック5に送るためのキャリ信号線を示す。第6図は
第5図におけるブロック5の内部回路のブロック図であ
る。図において、1は最下位ビットに加えられるキャリ
を0に固定した4ビツトのマンチェスタ型加算回路、1
0は最下位ビットに加えられるキャリを1に固定した4
ビツトのマンチェスタ型加算回路、11は前段のブロッ
ク5の出力するキャリによって加算回路1、加算回路l
Oのどちらかを選択する選択回路、6は論理ケートをC
(i−1)は前段のブロック5か出力したキャリの反転
した信号をC(i+3)はブロック5か次段ブロック5
へ出力するキャリ信号を5o(i)〜5o(i+3)は
加算回路1か出力した各ビットのサム信号を、5o(i
) 〜5l(i+:l)は加算回路(lO)か出力した
各ビットのサム信号を、Go(i+3)は加算回路(1
)か出力したキャリの反転した13号をC:1(i+3
)は加算回路(10)か出力したキャリの反転した43
号を、5(i)〜S(i+4)は選択回路IIによって
選択された最終的なブロック5のサム43号を示す。第
7図は第6図の加算回路1の内部回路図である。図にお
いて、8はnチャンネル相補型金属酸化膜トランジスタ
、9はnチャンネル相補型金属酸化膜トランジスタ、V
ccは電源線、Vssはクランド線、Cにはクロック信
号、P(i+1)〜P(i+3)は信号へ及びBより生
成される伝播信号、G(i)〜G(i+3)は信号へ及
びBより生成される生成信号、Co(i) 〜Co(i
+3)は加算回路1における各ビットで生成されるキャ
リを反転した信号を示す。第8図は第6図の加算回路I
Oの内部回路図、第9図は第6図の選択回路11の内部
回路図である。なお各図中、同一符号は同一のものを示
し、符号中のiは各ブロック5ごとにi=0.i=4.
i=8,1=12となり、記号中のjは各選択回路11
ごとにj・0,1,2.3となる。
[Prior Art] FIG. 5 is a block diagram of a conventional selective 16-bit adder. In the figure, A(0) to A(15), B
(0) to B(15) are signals indicating each bit of the number to be added, 5 is a pro-link that performs addition every 4 bits,
(0) to 5(15) indicate the sum of each bit output by each block 5, and 7 indicates a carry signal line for sending a carry output from each block 5 to the next block 5. FIG. 6 is a block diagram of the internal circuit of block 5 in FIG. In the figure, 1 is a 4-bit Manchester type adder circuit in which the carry added to the least significant bit is fixed to 0;
0 is 4 with the carry added to the least significant bit fixed at 1.
Bit's Manchester type adder circuit 11 is an adder circuit 1 and an adder circuit l by the carry output from the previous stage block 5.
Selection circuit that selects either O, 6 selects logic gate C
(i-1) is the inverted signal of the carry output from the previous block 5, and C(i+3) is the inverted signal from block 5 or the next block 5.
5o(i) to 5o(i+3) are the carry signals to be output to the adder circuit 1.
) ~5l(i+:l) is the sum signal of each bit output from the adder circuit (lO), and Go(i+3) is the sum signal of each bit output from the adder circuit (lO).
) or the inverted number 13 of the output carry is C:1(i+3
) is the inverted 43 of the carry output from the adder circuit (10).
5(i) to S(i+4) indicate the sum number 43 of the final block 5 selected by the selection circuit II. FIG. 7 is an internal circuit diagram of the adder circuit 1 of FIG. 6. In the figure, 8 is an n-channel complementary metal oxide film transistor, 9 is an n-channel complementary metal oxide film transistor, and V
cc is a power line, Vss is a ground line, C is a clock signal, P(i+1) to P(i+3) are propagation signals to the signal and generated from B, G(i) to G(i+3) are to the signal and The generated signal generated from B, Co(i) ~Co(i
+3) indicates a signal obtained by inverting the carry generated by each bit in the adder circuit 1. Figure 8 shows the adder circuit I in Figure 6.
9 is an internal circuit diagram of the selection circuit 11 of FIG. 6. In each figure, the same symbol indicates the same thing, and i in the symbol indicates i=0 for each block 5. i=4.
i=8, 1=12, and j in the symbol represents each selection circuit 11.
j・0, 1, 2.3 for each.

次に従来の選択型加算器の動作について説明する。第5
図に示すように、加算は4ビツトごとのブロック5に分
割して行なわれる。各ブロック5は前段のブロック5が
出力したキャリかキャリ信号線7を通して入力され、各
ビットのサムと次段のブロック5へ出力するキャリを生
成し、全体の16ビットの加算が実行される。各ブロッ
ク5の内部の動作を第6図について説明する。加算され
る4ビツトの数を示す信号A(i)〜A (i+3) 
、 B (i)〜B(i+3)か加算回路(1)と加算
回路(10)に入力される。ここで、加算回路(1)と
加算回路1Dの動作を説明する。まず、加算回路1は第
7図における伝播信号P、生成信号Gは図中には示して
いないが論理回路を用いて、G(n)−A(n)−B(
n)、P(n)=八(n)○B (n)なる論理で生成
される(ただしn”i −i+3)。
Next, the operation of the conventional selective adder will be explained. Fifth
As shown in the figure, addition is performed by dividing into blocks 5 each containing 4 bits. Each block 5 receives the carry output from the previous block 5 through the carry signal line 7, generates a sum of each bit and a carry to be output to the next block 5, and performs the total 16-bit addition. The internal operation of each block 5 will be explained with reference to FIG. Signals A(i) to A(i+3) indicating the number of 4 bits to be added
, B (i) to B (i+3) are input to the adder circuit (1) and the adder circuit (10). Here, the operations of the adder circuit (1) and the adder circuit 1D will be explained. First, the adder circuit 1 uses a logic circuit to generate the propagation signal P and the generated signal G in FIG. 7, although they are not shown in the figure.
n), P(n)=8(n)○B(n) (however, n”i −i+3).

クロックイ、τ号CKh)1のとき、信号Co(i)〜
Go(i÷3)か現われるノードかプリチャージされ、
このとき信号P(i) 〜P(i+3) 、G(j) 
〜G(j+3)ニヨー1テトランジスタかオン、オフす
る。次に、クロック信号Ckか0になると、イエ号Go
(i)〜Co(i+3)が現われるノートか条件的にデ
ィスチャージされ、信号Go(i) 〜C:o(i+:
I)を得る。信号(:o(i)が現われるノートは信号
G(i)か1てない限りディスチャージされないような
回路構成を取フているか、これはこの加算回路1が最下
位ビットに加えられるキャリか常に0であることになる
。次に加算回路lOだか、第8図に示すように同じよう
な回路となっているか、信号D(i)を入力するトラン
ジスタのがグランド線Vssに接続されている。これに
よって、信5P(i)、G(i)がともに00ときたけ
CI (j)か1になる。これは加算回路10か最下位
ビットに加えられるキャリか常に1であることになる。
When clock i, τ CKh)1, signal Co(i) ~
Go(i÷3) or the appearing node is precharged,
At this time, the signals P(i) ~ P(i+3), G(j)
~G(j+3) The transistor turns on and off. Next, when the clock signal Ck becomes 0, the output signal Go
The note where (i) ~ Co (i + 3) appears is conditionally discharged, and the signal Go (i) ~ C: o (i +:
I) is obtained. Is the circuit configured such that the note on which the signal (:o(i) appears is not discharged unless the signal G(i) is 1? This means that the adder circuit 1 is a carry added to the least significant bit or is always 0. Next, the adder circuit lO, which is a similar circuit as shown in Fig. 8, or the transistor that inputs the signal D(i) is connected to the ground line Vss. As a result, both signals 5P(i) and G(i) become 00 and CI(j) becomes 1. This means that the carry added to the adder circuit 10 or the least significant bit is always 1.

加算回路l、加算回路IOはこのようにして得た信号G
o(i) 〜C:o(i+3)、(:1(i) 〜(:
l(i+3)  と伝播信号P(i)〜P(i+3)と
により、図ては示していないが論理回路を用いて、5o
(n)=(:o(n)+P(n) 、5t(n)=CI
 (n) +P (n)なる論理で、信号5o(i) 
〜5o(i+3) 。
The adder circuit l and the adder circuit IO receive the signal G obtained in this way.
o(i) ~C:o(i+3), (:1(i) ~(:
l(i+3) and the propagation signals P(i) to P(i+3), using a logic circuit (not shown), 5o
(n)=(:o(n)+P(n), 5t(n)=CI
(n) +P (n), the signal 5o(i)
~5o(i+3).

51(i) 〜5I(i+:])を生成する(たたしn
=l〜i+3)。
51(i) to 5I(i+:]) (tap n
=l~i+3).

次に第6図に戻って、このようにして加算回路1、加算
回路10から出力される信号5o(i)〜5o(i+3
) 、5l(i)〜51(i+3)は、それぞれ選択回
路11に入力される。選択回路11は第9図に示すよう
に、前段からのキャリが0のときは5o(j)の方のト
ランジスタを、1のときは5l(j)の方のトランジス
タをオンにすることによって、正しい方の信号を選んて
5(i)〜S (i +3)を生成する。ブロック5か
ら次段のブロック5へ出力する信号(: (i +3)
は、加算回路1、加算回路10が出力したGo(j+3
) 。
Next, returning to FIG. 6, the signals 5o(i) to 5o(i+3
), 5l(i) to 51(i+3) are each input to the selection circuit 11. As shown in FIG. 9, the selection circuit 11 turns on the transistor 5o(j) when the carry from the previous stage is 0, and turns on the transistor 5l(j) when the carry from the previous stage is 1. The correct signal is selected to generate 5(i) to S (i +3). Signal output from block 5 to the next block 5 (: (i + 3)
is Go(j+3
).

e=> C(i+3)=C(i)−CI (i+3)+
Co(i+3)なる論理で生成される。
e=>C(i+3)=C(i)−CI(i+3)+
It is generated using the logic Co(i+3).

この選択型の加算器はキャリか伝わる紅路が第6図の論
理ケート6を通ることになり、各ブロック5当りゲート
2段分となる。各ブロック5内の加算回路1加算回路I
Oによるキャリ伝播の速度とは無関係に、全体のキャリ
が伝播することによって高速に加算を行うことかできる
In this selective adder, the red path through which a carry is transmitted passes through the logic gate 6 in FIG. 6, and each block 5 has two stages of gates. Adder circuit 1 in each block 5 Adder circuit I
Regardless of the speed of carry propagation by O, addition can be performed at high speed by propagating all carries.

なお、この加算器ではブロック5内の加算回路にタイナ
ミック回路を用いたマンチェスタ型加算回路を用いたか
、特にこの加算回路を用いる必要はない。
In this adder, a Manchester type adder circuit using a dynamic circuit is used as the adder circuit in the block 5, or there is no particular need to use this adder circuit.

[発明か解決しようとする課題] 従来の選択型加算器は以−トのように構成されていたの
で、高速化のために1つのブロックを構成]−るのに2
つの加算回路を用い、このためこの加算器を構成する素
子数か多きくなってしまうという問題点かあった。
[Problem to be solved by the invention] Since the conventional selective adder was configured as shown below, it is necessary to configure one block to increase the speed.
There was a problem in that the number of elements constituting the adder was increased because two adder circuits were used.

本発明はに記のような問題点を解決するためになされた
もので、従来の選択型加算器の高速性を保持し、かつ素
子数を減らすことのできる加算器を得ることを目的とす
る。
The present invention has been made in order to solve the problems mentioned above, and aims to provide an adder that maintains the high speed of the conventional selective adder and can reduce the number of elements. .

[課題を解決するための手段] 本発明に係る加算器は、複数ビットの加算を行うために
、少数ビットごとに加算を実行するいくつかの分割され
たブロックと、このブロックで出力されるキャリを他の
ブロックに入力し、前記ブロック間を直列に接続するキ
ャリ信号線を持つ加算器において、ブロック内にブロッ
クに割り当てられた少数ビットごとに加算を行い、その
最下位ビットに加えられるキャリが常に0である加算回
路と、ブロック内にキャリ信号線を通して入力された前
段のブロックのキャリが1である場合、加算回路の出力
した各ビットのサムを反転させるかを判定し、反転させ
るための信号を生成する修正回路と、ブロック内に、修
正回路の生成する信号によって加算回路の出力した各ビ
ットのサムのうち反転させる必要かあるビットのサムを
反転させる反転回路を備えたものである。
[Means for Solving the Problems] In order to perform addition of multiple bits, an adder according to the present invention includes several divided blocks that perform addition for each small number of bits, and a carrier output from this block. is input to another block, and in an adder that has a carry signal line that connects the blocks in series, addition is performed for each minority bit assigned to the block within the block, and the carry added to the least significant bit is If the adder circuit is always 0 and the carry of the previous block input through the carry signal line into the block is 1, determine whether to invert the sum of each bit output by the adder circuit, and The block is equipped with a correction circuit that generates a signal, and an inverting circuit within the block that inverts the sum of bits that need to be inverted among the sums of each bit output from the adder circuit using the signal generated by the correction circuit.

[作用] 本発明における加算器は、全体の加算を行うために少数
ビットごとに分割されたブロック内のその少数ビットご
との加算を行い、その最下位ビットに加えられるキャリ
か常に0である加算回路か、谷ビットのサムとそのブロ
ックのキャリを出力する。またブロック内の修正回路は
前段ブロックからのキャリか1であった場合、加算回路
か出7]する各ビットのサムを反転させるかどうかを判
定し、各ビットごとにそのための信号を生成する。
[Operation] In order to perform overall addition, the adder in the present invention performs addition for each fractional bit in a block divided into fractional bits, and adds a carry that is always added to the least significant bit or an addition that is always 0. The circuit outputs the sum of the valley bits and the carry of that block. If the carry from the previous block is 1, the correction circuit within the block determines whether or not to invert the sum of each bit output from the adder circuit, and generates a signal for this purpose for each bit.

反転回路は加算回路の出力したサムと修正回路のtl、
成したイ、:号を入力して反転させる必要のあるじノド
を反転させ、ブロックとしてのサムを出力する。また次
段のブロックに出力されるキャリは、加算回路の出力す
るキャリ、前段のブロックから入力されたキャリ、及び
修正回路の生成する信号を論理ケートを介して生成され
る。
The inversion circuit uses the sum output from the adder circuit and the tl of the correction circuit,
Input the sign, invert the same node that needs to be inverted, and output the sum as a block. Further, the carry output to the next stage block is generated from the carry output from the adder circuit, the carry input from the previous stage block, and the signal generated by the correction circuit via a logic gate.

このようにして各ブロックの各ビットのサムが′1モ成
され、各ブロックから出力されるキャリは、キャリ信号
線によって次段のブロックに入力され全体の加算を行う
In this way, the sum of each bit of each block is summed up by 1, and the carry output from each block is input to the next block via the carry signal line, and the total sum is added.

[′、(施例] 以ド、j:発明の一実施例を図について説明する。なお
、本発明の一実施例の加算器のブロック図は従来の加算
器と同じ第5図である。第1図は第5図におけるブロッ
ク5の内部回路のブロック図である。図において、2は
前段のブロック5から入力されたキャリか1である場合
、加算回路1の出力した各ビットのサムを反転させるか
を判定し、そのための信号を生成する修正回路、3は修
正回路2の生成する13号によって加算回路1の出力し
た各ビットのサムの内反転させる必要のあるビットのサ
ムを反転させる反転回路、4は反転回路3と同し機能で
入力信号に対する論理が反対である反転回路、12は論
理ゲート、I (i)〜I(i+3)は修正回路が生成
した信号を示す。第2図は修正回路2の内部回路図、第
3図は第1図における反転回路3の内部回路図である。
[', (Embodiment) Hereinafter, an embodiment of the invention will be described with reference to the drawings.The block diagram of an adder according to an embodiment of the invention is shown in FIG. 5, which is the same as the conventional adder. FIG. 1 is a block diagram of the internal circuit of block 5 in FIG. A correction circuit 3 determines whether to invert or not and generates a signal for that purpose, and 3 inverts the sum of the bits that need to be inverted out of the sum of each bit output from the adder circuit 1 using No. 13 generated by the correction circuit 2. An inverting circuit 4 has the same function as the inverting circuit 3 but has an opposite logic to the input signal; 12 is a logic gate; I(i) to I(i+3) indicate signals generated by the correction circuits; 3 is an internal circuit diagram of the correction circuit 2, and FIG. 3 is an internal circuit diagram of the inversion circuit 3 in FIG.

図において、jはi=1.2.3を取る。第4図は第1
図における反転回路4の内部回路図である。なお、図中
、前記従来のものと同一記号は同一または相当部分であ
る。
In the figure, j takes i=1.2.3. Figure 4 is the first
It is an internal circuit diagram of the inverting circuit 4 in the figure. In addition, in the drawings, the same symbols as those of the conventional device are the same or equivalent parts.

次に本実施例の動作について説明する。なお、本実施例
も前記従来のものと同じ(16ビツトの加算器であり、
第5図のブロック図で示すように4ビツトごとのブロッ
ク5に分けて全体の加算を行う。各ブロック5の内部の
動作を次に説明する。加算される4ビツトの数を示す信
号A(i)〜A(i+3) 、B(i)〜B(i+3)
が加算回路lと修正回路2に入力される。加算回路1は
従来のものと同しであり、その最下位ビットに加えられ
るキャリが0であるとして信号5o(i) 〜5o(i
+3) 、(d(i+3)を出力する。修正回路2は前
段のブロック5からの入力されるキャリが1の場合、加
算回路1で出力された信号5o(i)〜5o(i+3)
のどのビットを反転させれば正しい結果となるかを検出
するものである。例えば、加えられる数が2進数て10
01と00IOとすると、最下位ビットに加えられるキ
ャリが0としたときの加算した結果は、1011である
Next, the operation of this embodiment will be explained. Note that this embodiment is also the same as the conventional one (16-bit adder,
As shown in the block diagram of FIG. 5, the total addition is performed by dividing into blocks 5 each containing 4 bits. The internal operation of each block 5 will be explained next. Signals A(i) to A(i+3), B(i) to B(i+3) indicating the number of 4 bits to be added
is input to the addition circuit l and the correction circuit 2. The adder circuit 1 is the same as the conventional one, and assuming that the carry added to the least significant bit is 0, the adder circuit 1 receives signals 5o(i) to 5o(i
+3), (d(i+3)).When the carry input from the previous block 5 is 1, the correction circuit 2 outputs the signals 5o(i) to 5o(i+3) output from the adder circuit 1.
It detects which bits in the table should be inverted to produce the correct result. For example, the number to be added is 10 in binary
Assuming 01 and 00IO, the result of addition when the carry added to the least significant bit is 0 is 1011.

ここで、最下位ビットにキャリが加わると1100とな
るので、1011の下位から1ビツト目と2ビツト目を
反転させれば良いことになる。反転させるビットは最下
位ビットに1を加えることて、それによって生じたキャ
リがどのビットまで伝播するかを凋べる必要があり、こ
れは加算回路1中で生成される伝播信号P(i)〜P(
i÷3)がその情報として与えられる。修正回路2の動
作を第2図ついて説明する。伝播信号が1であれば、そ
れが入力されたnチャンネルトランジスタがオン、Pチ
ャネルトランジスタがオフして信号■は0となり、キャ
リが伝播されることを示す。伝播信号が0であれば、そ
れが入力されたnチャネルトランジスタがオフ、Pチャ
ネルトランジスタがオンして信号Iは1となる。伝播信
号がOとなったビットより上位のビットは、伝播信号が
0.1に関わらず総て1となる。このようにして、生成
される信号I(i)〜I(i+3)と前段のブロック5
から入力されたキャリを反転した信号C(i−1)を第
1図に示すように論理ゲート12に入力し、前段のブロ
ック5からキャリが送られた場合に、信号1(i)〜I
 (i+3)が反転回路39反転回路4に入力されるよ
うにする。
Here, if a carry is added to the least significant bit, it becomes 1100, so it is sufficient to invert the first and second bits from the least significant bit of 1011. It is necessary to add 1 to the least significant bit of the bit to be inverted to determine to which bit the carry generated by this is propagated, and this is determined by the propagation signal P(i) generated in the adder circuit ~P(
i÷3) is given as the information. The operation of the correction circuit 2 will be explained with reference to FIG. If the propagation signal is 1, the n-channel transistor to which it is input is turned on, the P-channel transistor is turned off, and the signal - becomes 0, indicating that a carry is propagated. If the propagation signal is 0, the n-channel transistor to which it is input is turned off, the P-channel transistor is turned on, and the signal I becomes 1. The bits higher than the bit where the propagation signal becomes O are all 1 regardless of whether the propagation signal is 0.1. In this way, the generated signals I(i) to I(i+3) and the previous block 5
A signal C(i-1), which is the inverted carry input from block 5, is input to the logic gate 12 as shown in FIG.
(i+3) is input to the inversion circuit 39 and the inversion circuit 4.

反転回路3は第3図のように構成されており、入力され
る信号によってSo U)を反転させるようになってい
る。反転回路4は第4図のようになっており、反転回路
4とは入力に対する論理か逆である。反転回路3、反転
回路4によりブロック5カ出力するサム5(i)〜S(
i+3)が出力される。また信号Go(i+4)、C(
i−1)、I(i+3)により、論理ゲート6を介して
次段のブロック5に出力するキャリを反転した信号か生
成される。
The inverting circuit 3 is constructed as shown in FIG. 3, and is configured to invert SoU according to an input signal. The inverting circuit 4 is constructed as shown in FIG. 4, and has a logic opposite to that of the inverting circuit 4 with respect to the input. The sums 5(i) to S(
i+3) is output. Also, the signals Go(i+4), C(
i-1) and I(i+3), an inverted carry signal is generated which is output to the next stage block 5 via the logic gate 6.

本実施例の加算器は従来の選択型加算器と同じくキャリ
の伝わる経路は、各ブロック5当り論理ケート2段分で
あり速度は同じである。そして、ブロック5内に加算回
路を2つ設けるかわりに、少ない素子数で構成できる。
The adder of this embodiment is the same as the conventional selective adder, and the path through which carry is transmitted is two stages of logic gates per block 5, and the speed is the same. Then, instead of providing two adder circuits in the block 5, it can be configured with a smaller number of elements.

修正回路を用いることにより、従来の加算器と同じ性能
を、従来の加算器より小さな規模の回路で実現できる。
By using a modified circuit, the same performance as a conventional adder can be achieved with a circuit smaller in size than a conventional adder.

なお、上記実施例ではダイナミック回路を用いたマンチ
ェスタ型加算回路を用いた場合を示したか、特にこれに
限定する必要はない。
It should be noted that although the above embodiment shows the case where a Manchester type adder circuit using a dynamic circuit is used, there is no need to specifically limit it to this.

[発明の効果] 以上のように本発明によれば従来の選択型加算器の高速
性を保持しながら構成素子数を減らすことが可能で、極
めた安価で高性能な加算器が実現できる効果がある。
[Effects of the Invention] As described above, according to the present invention, it is possible to reduce the number of constituent elements while maintaining the high speed of the conventional selective adder, and it is possible to realize an extremely inexpensive and high-performance adder. There is.

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

第1図は本発明の一実施例である加算器の少数ビットご
とに加算を実行するブロック5の内部回路のブロック図
、第2図は本発明の一実施例である加算器の修正回路2
の内部回路図、第3図は本発明の一実施例である加算器
の反転回路の内部回路図、第4図は本発明の一実施例で
ある加算器の入力信号の論理が反対の反転回路の内部回
路図、第5図は従来および本発明共通の加算器のブロッ
ク図、第6図は、従来例の分割されたブロック5の内部
回路のブロック図、第7図は従来および本発明共通の最
下位ビットへのキャリを0に固定したマンチェスタ型加
算回路の内部回路図、第8図は従来の最下位ビットへの
キャリを1に固定したマンチェスタ型加算回路の内部回
路図、第9図は従来の選択回路の内部回路図を示す。 図中、5は少数ビットごとに加算を実行するいくつかの
ブロック、7はキャリ信号線、1は最下位ビットへのキ
ャリアを0に固定した加算回路、2は修正回路、 3 4は反転回路を示す。 なお、 図中間 符号は同 または相当部分を ンrく−づ−。
FIG. 1 is a block diagram of an internal circuit of a block 5 that performs addition for each minority bit of an adder, which is an embodiment of the present invention, and FIG. 2 is a modification circuit 2 of the adder, which is an embodiment of the present invention.
3 is an internal circuit diagram of an inverting circuit of an adder, which is an embodiment of the present invention. FIG. The internal circuit diagram of the circuit, FIG. 5 is a block diagram of an adder common to the conventional example and the present invention, FIG. 6 is a block diagram of the internal circuit of the divided block 5 of the conventional example, and FIG. 7 is the conventional example and the present invention. An internal circuit diagram of a Manchester-type adder circuit in which the carry to the common least significant bit is fixed to 0. FIG. 8 is an internal circuit diagram of a conventional Manchester-type adder circuit in which the carry to the least significant bit is fixed to 1. The figure shows an internal circuit diagram of a conventional selection circuit. In the figure, 5 is several blocks that perform addition for each fractional bit, 7 is a carry signal line, 1 is an addition circuit that fixes the carrier to the least significant bit at 0, 2 is a correction circuit, 3 and 4 are inversion circuits. shows. Note that the symbols in the figures refer to the same or equivalent parts.

Claims (1)

【特許請求の範囲】 複数ビットの加算を行うために少数ビットごとに加算を
実行するいくつかの分割されたブロックと、このブロッ
クで出力されるキャリを他の前記ブロックに入力し、前
記ブロック間を直列に接続するキャリ信号線を有する加
算器において、前記ブロック内に前記ブロックに割り当
てられた少数ビットごとに加算を行い、その最下位ビッ
トに加えられるキャリが常に0である加算回路と、 前記ブロック内に前記キャリ信号線を通して入力された
前段の前記ブロックのキャリが1である場合、前記加算
回路の出力した各ビットのサムを反転させるかを判定し
、反転させるための信号を生成する修正回路と、 前記ブロック内に前記修正回路の生成する信号によって
前記加算回路の出力した各ビットのサムの内反転させる
必要があるビットのサムを反転させる反転回路を備えた
ことを特徴とする加算器。
[Claims] In order to perform addition of multiple bits, there are several divided blocks in which addition is performed for each small number of bits, and a carry outputted from this block is input to the other blocks, and between the blocks. an adder having a carry signal line connecting in series, an adder circuit that performs addition for each minority bit assigned to the block within the block, and a carry added to the least significant bit is always 0; A modification that determines whether to invert the sum of each bit output from the adder circuit and generates a signal for inverting it when the carry of the previous block inputted through the carry signal line into the block is 1. an adder comprising: a circuit; and an inversion circuit in the block that inverts the sum of the bits that need to be inverted among the sums of the bits output by the adder circuit according to a signal generated by the correction circuit. .
JP2166590A 1990-01-30 1990-01-30 Adder Pending JPH03225419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2166590A JPH03225419A (en) 1990-01-30 1990-01-30 Adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2166590A JPH03225419A (en) 1990-01-30 1990-01-30 Adder

Publications (1)

Publication Number Publication Date
JPH03225419A true JPH03225419A (en) 1991-10-04

Family

ID=12061337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2166590A Pending JPH03225419A (en) 1990-01-30 1990-01-30 Adder

Country Status (1)

Country Link
JP (1) JPH03225419A (en)

Similar Documents

Publication Publication Date Title
US4682303A (en) Parallel binary adder
EP0328063A2 (en) Absolute value calculating circuit having a single adder
JPS63102510A (en) Combinational circuits forming exclusive OR gates and/or exclusive NOR gates
US4860242A (en) Precharge-type carry chained adder circuit
US4704701A (en) Conditional carry adder for a multibit digital computer
JPH03225419A (en) Adder
JPS62241029A (en) Multi-stage parallel binary adder circuit
JPH0160856B2 (en)
US6696988B2 (en) Method and apparatus for implementing circular priority encoder
US4020362A (en) Counter using an inverter and shift registers
US7085796B1 (en) Dynamic adder with reduced logic
JPH01220528A (en) Parity generator
JPH01293436A (en) adder
JP2972218B2 (en) Logic circuit
JPS6333805B2 (en)
JPH01312626A (en) Adder cell for carry-save arithmetic mechanism
JPS6184123A (en) Logical intergrated circuit
SU572785A1 (en) Adder for adding two m-digit numbers
JPS595348A (en) full adder
US20040158599A1 (en) Fast incrementer using zero detection and increment method thereof
JPS63306718A (en) Serial access circuit
KR100402104B1 (en) Parallel multiplier
JPH04283829A (en) Full adder
JP2508041B2 (en) Increment circuit
JPH02300929A (en) Parallel binary adder