JPH07219746A - Five input three output adder - Google Patents

Five input three output adder

Info

Publication number
JPH07219746A
JPH07219746A JP3325794A JP3325794A JPH07219746A JP H07219746 A JPH07219746 A JP H07219746A JP 3325794 A JP3325794 A JP 3325794A JP 3325794 A JP3325794 A JP 3325794A JP H07219746 A JPH07219746 A JP H07219746A
Authority
JP
Japan
Prior art keywords
circuit
output
input
exclusive
adder
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.)
Withdrawn
Application number
JP3325794A
Other languages
Japanese (ja)
Inventor
Toshihiro Minami
俊宏 南
Ryota Kasai
良太 笠井
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3325794A priority Critical patent/JPH07219746A/en
Publication of JPH07219746A publication Critical patent/JPH07219746A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the delay of a critical path and to reduce the number of transistors by setting the critical path to be three stages and making a specified circuit common. CONSTITUTION:OR 11 and 12 taking the OR of two inputs, NAND 11-15 taking the negation of AND of two inputs, NOR 11 taking the negation of the OR of two inputs, EXNOR 11-14 taking the exclusive NOR operation of two inputs and an inverter INV11 are provided. In the five input-three output adder 11, NAND 11 and NAND 9 in EXNOR 11, and NAND 12 and NAND 9 in EXNOR 12 can be made common. Furthermore, NAND 4 and NAND 9 in EXNOR 13 can be made common. A load viewed from NAND 14 increases and effect that a load viewed from points (a) and (b) in a drawing reduces is larger. Then, the delay of EXNOR 13 becomes small. Furthermore, the critical path becomes the three stages of an exclusive NOR operation gate and therefore delay becomes smaller than a conventional one.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、乗算器と多入力加算器
において、Wallace トリーを構成するために用いられる
4入力桁上げ保存加算器の構成要素として使用される5
入力3出力加算器に関するものである。
BACKGROUND OF THE INVENTION The present invention is used in multipliers and multi-input adders as a component of a 4-input carry save adder used to construct a Wallace tree.
The present invention relates to an input 3-output adder.

【0002】[0002]

【従来の技術】[Prior art]

[従来例1]全加算器(FA)1の構成例を図8に示
す。この加算器1は、2入力の論理積の否定をとるNA
ND1〜3と、2入力の排他的論理和をとるEXOR1
〜2から構成され、3ビットデータ(X0 、X1 、X
2 )を入力して1ビットの和SとキャリーCを出力す
る。図9は図8に示した加算器1を2個列接続して構成
した5入力3出力加算器2を示す図であり、ここでは5
ビットデータ(X0 、X1 、X2 、X3 、D0 )を入力
して1ビットの和Sと2ビットのキャリーC0 、C1
出力する。
[Conventional Example 1] FIG. 8 shows a configuration example of a full adder (FA) 1. This adder 1 is an NA that negates the logical product of two inputs.
EXOR1 which takes the exclusive OR of ND1 to 3 and 2 inputs
2 to 3 bits of data (X 0 , X 1 , X
2 ) is input and 1-bit sum S and carry C are output. FIG. 9 is a diagram showing a 5-input 3-output adder 2 configured by connecting two adders 1 shown in FIG.
Bit data (X 0 , X 1 , X 2 , X 3 , D 0 ) is input and a 1-bit sum S and 2-bit carries C 0 and C 1 are output.

【0003】この図9に示した5入力3出力加算器2を
m個並べ、出力C0 を左隣(1桁上位)の入力D0 に接
続することにより、m個の4ビット長データを加算しキ
ャリーと和を生成するm入力桁上げ保存加算器を構成す
ることができる。図10に、4個の4ビット長データを
加算し、4ビットの和と4ビットのキャリーを生成する
4入力桁上げ保存加算器(4CSA)3の回路例を示
す。
By arranging m 5-input 3-output adders 2 shown in FIG. 9 and connecting the output C 0 to the input D 0 on the left side (one digit higher), m 4-bit length data is obtained. An m-input carry save adder can be constructed that adds and produces a carry and a sum. FIG. 10 shows a circuit example of a 4-input carry save adder (4CSA) 3 that adds four 4-bit length data to generate a 4-bit sum and a 4-bit carry.

【0004】出力C0 は入力D0 に無関係であり、また
通常、排他的論理和(EXOR)ゲートの遅延は、論理
積の否定(NAND)ゲートの遅延の2倍より長いの
で、4入力桁上げ保存加算器3のクリティカルパスは、
排他的論理和ゲートが4段となる(図9参照)。
The output C 0 is independent of the input D 0 , and typically, the delay of an exclusive-or (EXOR) gate is longer than twice the delay of a NOT-AND (NAND) gate, so four input digits. The critical path of the up-save adder 3 is
The exclusive OR gate has four stages (see FIG. 9).

【0005】図10に示した4入力桁上げ保存加算器3
を、Wallace トリー方式で接続した8入力2出力加算器
4の構成を図11に示す。この8入力2出力加算器4を
n個並べ、出力C2 とC3 をそれぞれ左隣(1桁上位)
の入力D2 、D3 に接続することにより、n個の8ビッ
ト長データを加算し、キャリーと和を生成する8入力桁
上げ保存加算器(図示せず)を構成することができる。
The 4-input carry save adder 3 shown in FIG.
FIG. 11 shows the configuration of the 8-input 2-output adder 4 in which is connected in the Wallace tree system. These eight-input two-output adders 4 are arranged in n lines, and the outputs C 2 and C 3 are adjacent to the left (one digit higher).
It is possible to configure an 8-input carry save adder (not shown) which adds n pieces of 8-bit length data and generates a carry and a sum by connecting the inputs D 2 and D 3 of the above.

【0006】全加算器をWallace トリー方式で接続して
8入力桁上げ保存加算器を構成する場合に比べて、4入
力桁上げ保存加算器3をWallace トリー方式で接続して
8入力桁上げ保存加算器を構成すると、配線が規則的に
なるという特徴がある。
Compared to the case of configuring an 8-input carry save adder by connecting the full adders in the Wallace tree system, the 4-input carry save adder 3 is connected in the Wallace tree system to save the 8-input carry save The structure of the adder is characterized by regular wiring.

【0007】上記5入力3出力加算器2については、例
えば、MARK R. SANTORO, MARK A.HOROWITZ,^SPIM : A P
ipelined 64x64-bit Iterative Multiplier ”, IEEE
J.Solid-State Circuits, vol.SC-24, no.2, pp.487-49
3, Apr.1989 に記載されている。
Regarding the 5-input / 3-output adder 2, for example, MARK R. SANTORO, MARK A. HOROWITZ, ^ SPIM: AP
ipelined 64x64-bit Iterative Multiplier ”, IEEE
J. Solid-State Circuits, vol.SC-24, no.2, pp.487-49
3, Apr.1989.

【0008】[従来例2]前述した従来例1の図9の5
入力3出力加算器2からは、2ビットのキャリーC0
1 が出力される。この出力の一方が0、他方が1のと
き、どちらを1としても機能は等価である。この点に着
目した5入力3出力加算器の真理値を図15に示す。こ
こで説明する従来例2の5入力3出力加算器5の構成を
図12に示す。
[Conventional Example 2] 5 in FIG. 9 of the above-mentioned Conventional Example 1
From the input 3 output adder 2, a 2-bit carry C 0 ,
C 1 is output. When one of the outputs is 0 and the other is 1, whichever is 1, the functions are equivalent. The truth value of the 5-input 3-output adder focusing on this point is shown in FIG. FIG. 12 shows the configuration of the 5-input 3-output adder 5 of the conventional example 2 described here.

【0009】この5入力3出力加算器5は、2入力の論
理和をとるOR1〜2、2入力の論理積をとるAND1
〜3、2入力の排他的論理和をとるEXOR3〜6、2
入力の論理和の否定をとるNOR1〜3、2入力の論理
積の否定をとるNAND4、インバータINV1〜2か
らなる。この5入力3出力加算器5は、上記した図15
に示す真理値の論理を実現する。
The 5-input 3-output adder 5 has OR1 and OR2 that take the logical sum of 2 inputs and AND1 that takes the logical product of 2 inputs.
EXOR 3 to 6, which takes the exclusive OR of 3 to 2 inputs
It is composed of NORs 1 to 3 that take the negation of the logical sum of the inputs, and NAND 4 that takes the negation of the logical product of the inputs, and inverters INV 1 and 2. This 5-input / 3-output adder 5 is the same as that shown in FIG.
The logic of the truth value shown in is realized.

【0010】前述した従来例1の5入力3出力加算器2
(図9)の和Sが排他的論理和ゲート4段を通って生成
されたのに対し、この従来例2の5入力3出力加算器5
の和Sは排他的論理和ゲート3段を通って生成される。
本例においては、クリティカルパスは排他的論理和ゲー
ト2段+NORゲート+AND・NOR複合ゲート+イ
ンバータとなり、その遅延は従来例1のものより短くな
る。
The 5-input 3-output adder 2 of the above-mentioned conventional example 1
The sum S of FIG. 9 is generated through four stages of exclusive OR gates, while the 5-input 3-output adder 5 of the conventional example 2 is used.
, S is generated through three stages of exclusive OR gates.
In this example, the critical path is the exclusive OR gate two stages + NOR gate + AND / NOR composite gate + inverter, and the delay thereof is shorter than that of the conventional example 1.

【0011】この回路については、例えば、J.Mori, M.
Nagamatsu, M.Hirano, S.Tanaka, M.Noda, Y.Toyoshim
a, K.Hashimoto, H.Hayashida, K.Maeguchi, ^A 10-ns
54x54-bit Parallel Structured Full Array Multiplie
r with 0.5-μm CMOSTechnology” IEEE J. Solid-Stat
e Circuits, vol.SC-26, no.4,pp.600-606,Apr.1991に
記載されている。
Regarding this circuit, for example, J. Mori, M.
Nagamatsu, M.Hirano, S.Tanaka, M.Noda, Y.Toyoshim
a, K. Hashimoto, H. Hayashida, K. Maeguchi, ^ A 10-ns
54x54-bit Parallel Structured Full Array Multiplie
r with 0.5-μm CMOS Technology ”IEEE J. Solid-Stat
e Circuits, vol.SC-26, no.4, pp.600-606, Apr.1991.

【0012】[従来例3]従来例3の5入力3出力加算
器6の構成を図13に示す。この5入力3出力加算器6
は、2入力の論理和をとるOR3〜4、2入力の論理積
をとるAND4、2入力の論理和の否定をとるNOR
4、2入力の論理積の否定をとるNAND5〜8、2入
力の排他的論理和をとるEXOR7〜8、2入力の排他
的否定論理和をとるEXNOR1〜2、インバータIN
V3からなる。この5入力3出力加算器6は、図16に
示す真理値を実現する。
[Prior Art 3] FIG. 13 shows the configuration of the 5-input 3-output adder 6 of the prior art 3. This 5-input 3-output adder 6
Is OR3 to 4 that takes the logical sum of two inputs, AND4 that takes the logical product of the two inputs, NOR that takes the negation of the logical sum of the two inputs
NAND 5 to 8 for inverting AND of 4 and 2 inputs EXOR 7 to 8 for exclusive OR of 2 inputs EXNOR 1 and 2 for exclusive NOR of 2 inputs and inverter IN
It consists of V3. The 5-input / 3-output adder 6 realizes the truth value shown in FIG.

【0013】ここで、EXNOR1〜2は、図14に示
すように、2入力の論理積の否定をとるNAND9とO
R・NAND複合ゲート7で構成することができる。こ
の従来例3の5入力3出力加算器6中のEXNOR1〜
2として、図14に示した回路を用いると、図13中の
NAND5とEXNOR1中のNAND9とを、またN
AND6とEXNOR2中のNAND9とを、それぞれ
共通化できるので、トランジスタ数を削減することがで
きる。
Here, EXNOR1 and EXNOR2 are NAND 9 and O that take the negation of the logical product of 2 inputs, as shown in FIG.
It can be configured by the R / NAND composite gate 7. EXNOR1 in the 5-input 3-output adder 6 of the conventional example 3
If the circuit shown in FIG. 14 is used as 2, the NAND 5 in FIG. 13 and the NAND 9 in EXNOR 1 are
Since the AND 6 and the NAND 9 in the EXNOR 2 can be made common to each other, the number of transistors can be reduced.

【0014】この従来例3のクリティカルパスは、排他
的否定論理和(EXNOR)ゲート1段+排他的論理和
(EXOR)ゲート2段となる。通常、排他的否定論理
和ゲートの遅延時間は排他的論理和ゲートのものより短
く、また、NANDゲートの共通化により入力側(X
0 、X1 、X2 、X3 )からみた負荷が減少するので、
クリティカルパスの遅延は従来例2のものよりも短くな
る。
The critical path of the prior art example 3 is one stage of exclusive-NOR gates (EXNOR) + two stages of exclusive-OR (EXOR) gates. Usually, the delay time of the exclusive-NOR gate is shorter than that of the exclusive-OR gate, and due to the commonization of the NAND gates, the input side (X
Since the load seen from 0 , X 1 , X 2 , X 3 ) decreases,
The delay of the critical path is shorter than that of the conventional example 2.

【0015】この回路については、例えば、Gensuke Go
to, Tomio Sato, Masao Nakajira,and Takao Sukemura,
^ A 54x54-bit Regularly Structured Tree Multiplie
r "IEEE J. Solid-State Circuits, vol.SC-27, no.9,
pp.1229-1236, Sep.1992 に記載されいてる。
Regarding this circuit, for example, Gensuke Go
to, Tomio Sato, Masao Nakajira, and Takao Sukemura,
^ A 54x54-bit Regularly Structured Tree Multiplie
r "IEEE J. Solid-State Circuits, vol.SC-27, no.9,
pp.1229-1236, Sep.1992.

【0016】[0016]

【発明が解決しようとする課題】ところが、以上の従来
技術においては、従来例1、2、3の順で、クリティカ
ルパスの遅延は短くなっているが、従来例3においても
クリティカルパスは排他的否定論理和ゲート1段+排他
的論理和ゲート2段であり、その遅延が大きいという問
題がある。また、従来例3(図13)において5入力3
出力加算器6のトランジスタ数は、例えNAND5〜6
をEXNOR1〜2のNAND9と共通化しても、60
個(OR、AND、INVの各ゲートは各々2個、NA
ND、NORの各ゲートは各々4個、排他的論理和ゲー
ト、排他的否定論理和ゲートは各々10個)であり、ト
ランジスタ数が多いという問題もある。
However, in the above conventional technique, the delay of the critical path is shortened in the order of the conventional examples 1, 2, and 3. However, the critical path is exclusive in the conventional example 3 as well. There is a problem that the delay is large because it is one stage of the NOR gate and two stages of the exclusive OR gate. Moreover, in the conventional example 3 (FIG. 13), 5 inputs 3
The number of transistors of the output adder 6 is, for example, NAND5-6.
Even if it is shared with the NAND9 of EXNOR1 and 2,
(2 gates each for OR, AND, INV, NA
Each of the ND and NOR gates has four gates, and each has an exclusive OR gate and an exclusive NOR gate, which is also a problem in that the number of transistors is large.

【0017】本発明は、上記の問題点を解決するために
なされたものであり、その目的は、トランジスタ数を減
少させ、且つクリティカルパスの遅延を短くした5入力
3出力加算器を提供することである。
The present invention has been made to solve the above problems, and an object thereof is to provide a 5-input 3-output adder in which the number of transistors is reduced and the delay of a critical path is shortened. Is.

【0018】[0018]

【課題を解決するための手段】第1の発明の5入力3出
力加算器は、第1から第5までの5つの入力信号が入力
可能で、該第1から第4までの4つの入力信号から生成
される第1のキャリー信号と、上記第1から第5までの
5つの入力信号から生成される第2のキャリー信号と、
上記第1から第5までの5つの入力信号から生成される
和信号とを出力する5入力3出力加算器において、上記
第1と第2の入力信号の論理積の否定をとる第1の回路
と、上記第3と第4の入力信号の論理積の否定をとる第
2の回路と、上記第1の回路の出力と上記第2の回路の
出力の論理積の否定をとる第3の回路と、上記第1回路
の出力と上記第2の回路の出力の論理和の否定をとる第
4の回路と、上記第1と第2の入力信号の排他的否定論
理和をとる第5の回路と、上記第3と第4の入力信号の
排他的否定論理和をとる第6の回路と、上記第5の回路
の出力と上記第6の回路の出力の論理積の否定をとる第
7の回路と、上記第5の回路の出力と上記第6の回路の
出力の排他的否定論理和をとる第8の回路と、上記第4
の回路の出力と上記第7の回路の出力との論理和を第1
の中間結果とし、上記第8の回路の出力と上記第5の入
力信号との論理和を第2の中間結果とし、上記第1の中
間結果と上記第2の中間結果の論理積をとる第9の回路
と、上記第8の回路の出力と上記第5の入力信号との排
他的否定論理和をとる第10の回路とを有し、上記第3
の回路の出力を上記第1のキャリー信号として出力し、
上記第9の回路の出力を上記第2のキャリー信号として
出力し、上記第10の回路の出力を上記和信号として出
力するように構成した。
The 5-input 3-output adder of the first invention is capable of inputting five input signals from the first to fifth, and four input signals from the first to fourth. A first carry signal generated from the first carry signal and a second carry signal generated from the first to fifth input signals
In a 5-input 3-output adder that outputs a sum signal generated from the first to fifth input signals, a first circuit that negates the logical product of the first and second input signals And a second circuit for negating the logical product of the third and fourth input signals, and a third circuit for negating the logical product of the output of the first circuit and the output of the second circuit. A fourth circuit for inverting the logical sum of the outputs of the first circuit and the second circuit; and a fifth circuit for obtaining the exclusive NOR of the first and second input signals And a sixth circuit for taking the exclusive-NOR of the third and fourth input signals, and a seventh circuit for taking the NOT of the logical product of the output of the fifth circuit and the output of the sixth circuit. A circuit, an eighth circuit for exclusive-oring the output of the fifth circuit and the output of the sixth circuit, and the fourth circuit
The logical sum of the output of the above circuit and the output of the above seventh circuit is the first
And the logical sum of the output of the eighth circuit and the fifth input signal as the second intermediate result, and the logical product of the first intermediate result and the second intermediate result is obtained. And a tenth circuit for taking an exclusive NOR of the output of the eighth circuit and the fifth input signal.
The output of the circuit of is output as the first carry signal,
The output of the ninth circuit is output as the second carry signal, and the output of the tenth circuit is output as the sum signal.

【0019】また、第2の発明の5入力3出力加算器は
第1から第5までの5つの入力信号が入力可能で、該第
1から第4までの4つの入力信号から生成される第1の
キャリー信号と、上記第1から第5までの5つの入力信
号から生成される第2のキャリー信号と、上記第1から
第5までの5つの入力信号から生成される和信号とを出
力する5入力3出力加算器において、上記第1と第2の
入力信号の論理和の否定をとる第1の回路と、上記第3
と第4の入力信号の論理和の否定をとる第2の回路と、
上記第1の回路の出力と上記第2の回路の出力の論理和
の否定をとる第3の回路と、上記第1回路の出力と上記
第2の回路の出力の論理積の否定をとる第4の回路と、
上記第1と第2の入力信号の排他的論理和をとる第5の
回路と、上記第3と第4の入力信号の排他的論理和をと
る第6の回路と、上記第5の回路の出力と上記第6の回
路の出力の論理和の否定をとる第7の回路と、上記第5
の回路の出力と上記第6の回路の出力の排他的論理和を
とる第8の回路と、上記第4の回路の出力と上記第7の
回路の出力との論理積を第1の中間結果とし、上記第8
の回路の出力と上記第5の入力信号との論理積を第2の
中間結果とし、上記第1の中間結果と上記第2の中間結
果の論理和をとる第9の回路と、上記第8の回路の出力
と上記第5の入力信号との排他的論理和をとる第10の
回路とを有し、上記第3の回路の出力を上記第1のキャ
リー信号として出力し、上記第9の回路の出力を上記第
2のキャリー信号として出力し、上記第10の回路の出
力を上記和信号として出力するように構成した。
The five-input, three-output adder of the second invention can receive five input signals from the first to fifth, and is generated from the four input signals from the first to fourth. 1 carry signal, a second carry signal generated from the first to fifth input signals, and a sum signal generated from the first to fifth input signals In the 5-input 3-output adder, the first circuit for inverting the logical sum of the first and second input signals and the third circuit
And a second circuit for negating the logical sum of the fourth input signal,
A third circuit for inverting the logical sum of the outputs of the first circuit and the second circuit, and a third circuit for inverting the logical product of the outputs of the first circuit and the second circuit 4 circuit,
A fifth circuit for taking an exclusive OR of the first and second input signals, a sixth circuit for taking an exclusive OR of the third and fourth input signals, and the fifth circuit A seventh circuit for inverting the logical sum of the output and the output of the sixth circuit;
8th circuit that takes the exclusive OR of the output of the circuit of 6 and the output of the 6th circuit, and the logical product of the output of the 4th circuit and the output of the 7th circuit, the first intermediate result And above 8th
A ninth circuit for taking a logical sum of the first intermediate result and the second intermediate result by taking the logical product of the output of the circuit of FIG. 6 and the fifth input signal as the second intermediate result, and the eighth circuit. And a tenth circuit that takes the exclusive OR of the fifth input signal and the output of the third input circuit. The output of the third circuit is output as the first carry signal, and the ninth carry signal is output. The output of the circuit is output as the second carry signal, and the output of the tenth circuit is output as the sum signal.

【0020】[0020]

【作用】クリティカルパルスは、第1の発明では2入力
の排他的否定論理和をとる第5又は第6と第8および第
10の回路からなる3段となり、第2の発明でも2入力
の排他的論理和をとる第5又は第6と第8および第10
の回路からなる3段となり、遅延が短くなる。また、第
1の発明では第1、第2、第7の回路を第5、第6、第
8の回路内の同様の回路と共通化でき、第2の発明でも
第1、第2、第7の回路を第5、第6、第8の回路内の
同様の回路と共通化でき、必要トランジスタ数を少なく
することができる。
In the first aspect of the invention, the critical pulse has three stages consisting of the fifth or sixth circuits and the eighth and tenth circuits that take the exclusive NOR of the two inputs. 5th or 6th and 8th and 10th logical OR
The delay becomes short because the circuit has three stages. Further, in the first invention, the first, second, and seventh circuits can be shared with the similar circuits in the fifth, sixth, and eighth circuits, and in the second invention, the first, second, and seventh circuits are also provided. The seventh circuit can be shared with the similar circuits in the fifth, sixth, and eighth circuits, and the number of required transistors can be reduced.

【0021】[0021]

【実施例】【Example】

[実施例1]以下、本発明の実施例について説明する。
図1はその実施例1の5入力3出力加算器11の構成を
示す図である。この回路は、2入力の論理和をとるOR
11〜12、2入力の論理積の否定をとるNAND11
〜15、2入力の論理和の否定をとるNOR11、2入
力の排他的否定論理和をとるEXNOR11〜14、お
よびインバータINV11からなる。
Example 1 An example of the present invention will be described below.
FIG. 1 is a diagram showing the configuration of the 5-input 3-output adder 11 of the first embodiment. This circuit is an OR that takes the logical sum of two inputs
NAND11 which takes the logical product of 11 to 12 and 2 inputs
˜15, a NOR 11 that takes the negation of the two-input OR, EXNOR11 to 14 that takes the two-input exclusive-NOR, and an inverter INV11.

【0022】この5入力3出力加算器11では、図6に
示すように、図15で示した従来例3の場合と同様な真
理値を実現することができる。ここで、図6中のaとb
は、それぞれX0 とX1 の排他的否定論理和、X2 とX
3 の排他的否定論理和、cはaとbの排他的否定論理
和、dとeはそれぞれX0 とX1 の論理積の否定、X2
とX3 の論理積の否定、fはdとeの論理和の否定、g
はaとbの論理積の否定を示す。
As shown in FIG. 6, this 5-input 3-output adder 11 can realize the same truth value as in the case of the conventional example 3 shown in FIG. Here, a and b in FIG.
Are the exclusive ORs of X 0 and X 1 , respectively, and X 2 and X
3 exclusive-NOR, c is exclusive-OR of a and b, d and e are NOTs of the logical product of X 0 and X 1 , respectively, X 2
And the negation of the logical product of X 3 , f is the negation of the logical sum of d and e, g
Indicates the negation of the logical product of a and b.

【0023】この5入力3出力加算器11では、NAN
D11とEXNOR11内のNAND9(図14参照)
とを、またNAND12とEXNOR12内のNAND
9とを、各々共通化できる。さらに、NAND14とE
XNOR13内のNAND9とも共通化できる。従っ
て、必要なトランジスタ数が大幅に削減でき、合計で5
8個となる。
In this 5-input / 3-output adder 11, the NAN
NAND9 in D11 and EXNOR11 (see Figure 14)
, And NAND in the NAND12 and EXNOR12
9 and 9 can be made common. In addition, NAND14 and E
It can be shared with the NAND 9 in the XNOR 13. Therefore, the number of required transistors can be greatly reduced, and a total of 5
Eight.

【0024】またa点とb点からみた負荷が減少する。
NAND14からみた負荷は増加するが、通常NAND
ゲートの負荷駆動能力は大きいので、a点とb点からみ
た負荷が減少する効果の方が大きく、EXNOR13の
遅延は小さくなる。さらに、クリティカルパスは、排他
的否定論理和ゲート3段となるため、遅延は従来例3に
示したものよりも小さくなる。
Further, the load seen from the points a and b is reduced.
The load seen from NAND14 increases, but it is normal NAND
Since the load driving capability of the gate is large, the effect of reducing the load seen from the points a and b is greater, and the delay of the EXNOR 13 is smaller. Furthermore, since the critical path has three stages of exclusive-NOR gates, the delay becomes smaller than that shown in Conventional Example 3.

【0025】図2に示したものは図1に示した5入力3
出力加算器11の変形例を示す図であり、図1に示した
回路中のOR11〜12、NAND15およびINV1
1をNOR12〜14に置換した5入力3出力加算器1
1′を示すものである。
The one shown in FIG. 2 has the five inputs 3 shown in FIG.
It is a figure which shows the modification of the output adder 11, and OR11-12, NAND15 and INV1 in the circuit shown in FIG.
5-input 3-output adder 1 in which 1 is replaced by NOR 12 to 14
1'is shown.

【0026】[実施例2]図3は実施例2の5入力3出
力加算器12の構成を示す図である。この回路は、2入
力の論理積をとるAND11〜12、2入力の論理和の
否定をとるNOR15〜19、2入力の論理積の否定を
とるNAND16、2入力の排他的論理和をとるEXO
R11〜14、および入力を反転するINV12からな
る。この構成は、図1におけるNANDゲート、NOR
ゲート、OR・NAND複合ゲート、排他的否定論理和
ゲートを、それぞれNORゲート、NANDゲート、A
ND・NOR複合ゲート、排他的論理和ゲートに置き換
えた構造である。
[Embodiment 2] FIG. 3 is a diagram showing the structure of the 5-input 3-output adder 12 of the second embodiment. This circuit includes AND 11 to 12 that takes the logical product of 2 inputs, NOR 15 to 19 that takes the negative of the logical sum of 2 inputs, NAND 16 that takes the negative of the logical product of 2 inputs, and EXO that takes the exclusive OR of 2 inputs.
R11 to 14 and INV12 inverting the input. This configuration has the NAND gate and NOR in FIG.
The gate, the OR / NAND composite gate, and the exclusive NOR gate are respectively a NOR gate, a NAND gate, and an A gate.
This is a structure in which the ND / NOR composite gate and the exclusive OR gate are replaced.

【0027】この5入力3出力加算器12は、図7に示
したように、従来例2の真理値を示す図15と同じ論理
を実現する。ここで、EXOR11〜14の各々は、図
5に示すように、NOR20とAND・NOR複合ゲー
ト13で構成することができる。
As shown in FIG. 7, the 5-input / 3-output adder 12 realizes the same logic as that of FIG. 15 showing the truth value of the conventional example 2. Here, each of the EXORs 11 to 14 can be composed of a NOR 20 and an AND / NOR composite gate 13, as shown in FIG.

【0028】この5入力3出力加算器12では、NOR
15とEXOR11内のNOR20とを、またNOR1
6とEXOR12内のNOR20とを、さらにNOR1
8とEXOR13内のNOAR20とを、各々共通化で
きる。また、この回路でのクリティカルパスは、排他的
論理和ゲート3段となる。
In this 5-input / 3-output adder 12, the NOR
15 and NOR20 in EXOR11, NOR1
6 and NOR20 in EXOR12, and NOR1
8 and the NOAR 20 in the EXOR 13 can be shared. Also, the critical path in this circuit is three stages of exclusive OR gates.

【0029】図4に示したものは図3に示した5入力3
出力加算器12の変形例を示す図であり、図3に示し回
路中のAND11〜12、NOR19、INV12をN
AND17〜19に置換した5入力3出力加算器12′
を示すものである。
The one shown in FIG. 4 has the five inputs 3 shown in FIG.
It is a figure which shows the modification of the output adder 12, and AND11-12, NOR19, INV12 in the circuit shown in FIG.
5-input 3-output adder 12 'replaced with AND17-19
Is shown.

【0030】[0030]

【発明の効果】以上説明したように、本発明の5入力3
出力加算器は、従来のものに比べてクリティカルパスの
遅延時間が短く、またその必要トランジスタ数も少なく
なる。従って、この本発明の5入力3出力加算器を用い
て4入力桁上げ保存加算器を構成し、それをWallace ト
リーの構成要素とすることにより、従来例のもので構成
したWallace トリーに比べて、そのWallace トリーの遅
延時間が短縮され、トランジスタ削減の効果も発揮され
る。
As described above, the 5 inputs and 3 of the present invention are used.
In the output adder, the delay time of the critical path is shorter than that of the conventional one, and the number of required transistors is also reduced. Therefore, by constructing a 4-input carry save adder using the 5-input 3-output adder of the present invention and using it as a constituent element of the Wallace tree, it is possible to compare with the Wallace tree constructed by the conventional example. , The delay time of the Wallace tree is shortened, and the effect of transistor reduction is also demonstrated.

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

【図1】 本発明の実施例1の5入力3出力加算器の
構成のブロック図である。
FIG. 1 is a block diagram of a configuration of a 5-input 3-output adder according to a first embodiment of the present invention.

【図2】 本発明の実施例1の5入力3出力加算器の
一部を変形した構成のブロック図である。
FIG. 2 is a block diagram of a configuration in which a part of the 5-input 3-output adder according to the first embodiment of the present invention is modified.

【図3】 本発明の実施例2の5入力3出力加算器の
構成のブロック図である。
FIG. 3 is a block diagram of a configuration of a 5-input 3-output adder according to a second embodiment of the present invention.

【図4】 本発明の実施例2の5入力3出力加算器の
一部を変形した構成のブロック図である。
FIG. 4 is a block diagram of a configuration in which a part of the 5-input 3-output adder according to the second embodiment of the present invention is modified.

【図5】 2入力の排他的論理和をとるEXORゲー
トの構成のブロック図である。
FIG. 5 is a block diagram of a configuration of an EXOR gate that takes an exclusive OR of two inputs.

【図6】 実施例1の5入力3出力加算器の真理値を
示す説明図である。
FIG. 6 is an explanatory diagram showing a truth value of the 5-input 3-output adder according to the first embodiment.

【図7】 実施例2の5入力3出力加算器の真理値を
示す説明図である。
FIG. 7 is an explanatory diagram showing a truth value of a 5-input 3-output adder according to the second embodiment.

【図8】 従来の全加算器の構成のブロック図であ
る。
FIG. 8 is a block diagram of a configuration of a conventional full adder.

【図9】 従来例1の5入力3出力加算器の構成のブ
ロック図である。
FIG. 9 is a block diagram of a configuration of a 5-input 3-output adder of Conventional Example 1.

【図10】 従来例1の5入力3出力加算器を構成要素
とした4入力桁上げ保存加算器の構成のブロック図であ
る。
FIG. 10 is a block diagram of a configuration of a 4-input carry save adder including the 5-input 3-output adder of Conventional Example 1 as a component.

【図11】 図10の4入力桁上げ保存加算器をWallce
トリー方式で接続して構成した8入力2出力加算器の構
成を示すブロック図である。
11: Wallce the 4-input carry save adder of FIG.
It is a block diagram which shows the structure of the 8-input 2-output adder comprised by connecting by the tree system.

【図12】 従来例2の5入力3出力加算器の構成のブ
ロック図である。
FIG. 12 is a block diagram of a configuration of a 5-input 3-output adder of Conventional Example 2.

【図13】 従来例3の5入力3出力加算器の構成のブ
ロック図である。
FIG. 13 is a block diagram of a configuration of a 5-input 3-output adder of Conventional Example 3.

【図14】 2入力の排他的否定論理和をとるEXNO
Rゲートの構成のブロック図である。
FIG. 14: EXNO for exclusive-NOR of two inputs
It is a block diagram of a structure of an R gate.

【図15】 従来例2の5入力3出力加算器の真理値を
示す説明図である。
FIG. 15 is an explanatory diagram showing a truth value of a 5-input 3-output adder of Conventional Example 2.

【図16】 従来例3の5入力3出力加算器の真理値を
示す説明図である。
16 is an explanatory diagram showing a truth value of a 5-input 3-output adder of Conventional Example 3. FIG.

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

1:全加算器、2:従来例1の5入力3出力加算器、
3:4入力桁上げ保存加算器、4:8入力2出力加算
器、5:従来例2の5入力3出力加算器、6:従来例3
の5入力3出力加算器、7:複合ゲート、11、1
1′:実施例1の5入力3出力加算器、12、12′:
実施例2の5入力3出力加算器、13:複合ゲート。
1: Full adder, 2: 5-input 3-output adder of Conventional Example 1,
3: 4 input carry save adder, 4: 8 input 2 output adder, 5: 5 input 3 output adder of conventional example 2, 6: conventional example 3
5-input 3-output adder, 7: composite gate, 11, 1
1 ': 5-input 3-output adder of the first embodiment, 12, 12':
5-input 3-output adder of the second embodiment, 13: compound gate.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】第1から第5までの5つの入力信号が入力
可能で、該第1から第4までの4つの入力信号から生成
される第1のキャリー信号と、上記第1から第5までの
5つの入力信号から生成される第2のキャリー信号と、
上記第1から第5までの5つの入力信号から生成される
和信号とを出力する5入力3出力加算器において、 上記第1と第2の入力信号の論理積の否定をとる第1の
回路と、 上記第3と第4の入力信号の論理積の否定をとる第2の
回路と、 上記第1の回路の出力と上記第2の回路の出力の論理積
の否定をとる第3の回路と、 上記第1回路の出力と上記第2の回路の出力の論理和の
否定をとる第4の回路と、 上記第1と第2の入力信号の排他的否定論理和をとる第
5の回路と、 上記第3と第4の入力信号の排他的否定論理和をとる第
6の回路と、 上記第5の回路の出力と上記第6の回路の出力の論理積
の否定をとる第7の回路と、 上記第5の回路の出力と上記第6の回路の出力の排他的
否定論理和をとる第8の回路と、 上記第4の回路の出力と上記第7の回路の出力との論理
和を第1の中間結果とし、上記第8の回路の出力と上記
第5の入力信号との論理和を第2の中間結果とし、上記
第1の中間結果と上記第2の中間結果の論理積をとる第
9の回路と、 上記第8の回路の出力と上記第5の入力信号との排他的
否定論理和をとる第10の回路とを有し、 上記第3の回路の出力を上記第1のキャリー信号として
出力し、上記第9の回路の出力を上記第2のキャリー信
号として出力し、上記第10の回路の出力を上記和信号
として出力することを特徴とする5入力3出力加算器。
1. A first carry signal, which can receive five input signals from first to fifth, is generated from the four input signals from first to fourth, and the first to fifth signals. A second carry signal generated from the five input signals up to
In a 5-input 3-output adder that outputs a sum signal generated from the first to fifth input signals, a first circuit that negates the logical product of the first and second input signals And a second circuit for negating the logical product of the third and fourth input signals, and a third circuit for negating the logical product of the output of the first circuit and the output of the second circuit. A fourth circuit for inverting the logical sum of the outputs of the first circuit and the second circuit; and a fifth circuit for obtaining the exclusive NOR of the first and second input signals And a sixth circuit for taking the exclusive NOR of the third and fourth input signals, and a seventh circuit for taking the NOT of the logical product of the output of the fifth circuit and the output of the sixth circuit. A circuit, an eighth circuit for performing an exclusive NOR of the outputs of the fifth circuit and the sixth circuit, and the output of the fourth circuit. And the output of the seventh circuit as a first intermediate result, and the logical sum of the output of the eighth circuit and the fifth input signal as a second intermediate result. A ninth circuit for taking the logical product of the intermediate result and the second intermediate result; and a tenth circuit for taking the exclusive NOR of the output of the eighth circuit and the fifth input signal. The output of the third circuit is output as the first carry signal, the output of the ninth circuit is output as the second carry signal, and the output of the tenth circuit is output as the sum signal. A 5-input 3-output adder characterized by outputting.
【請求項2】第1から第5までの5つの入力信号が入力
可能で、該第1から第4までの4つの入力信号から生成
される第1のキャリー信号と、上記第1から第5までの
5つの入力信号から生成される第2のキャリー信号と、
上記第1から第5までの5つの入力信号から生成される
和信号とを出力する5入力3出力加算器において、 上記第1と第2の入力信号の論理和の否定をとる第1の
回路と、 上記第3と第4の入力信号の論理和の否定をとる第2の
回路と、 上記第1の回路の出力と上記第2の回路の出力の論理和
の否定をとる第3の回路と、 上記第1回路の出力と上記第2の回路の出力の論理積の
否定をとる第4の回路と、 上記第1と第2の入力信号の排他的論理和をとる第5の
回路と、 上記第3と第4の入力信号の排他的論理和をとる第6の
回路と、 上記第5の回路の出力と上記第6の回路の出力の論理和
の否定をとる第7の回路と、 上記第5の回路の出力と上記第6の回路の出力の排他的
論理和をとる第8の回路と、 上記第4の回路の出力と上記第7の回路の出力との論理
積を第1の中間結果とし、上記第8の回路の出力と上記
第5の入力信号との論理積を第2の中間結果とし、上記
第1の中間結果と上記第2の中間結果の論理和をとる第
9の回路と、 上記第8の回路の出力と上記第5の入力信号との排他的
論理和をとる第10の回路とを有し、 上記第3の回路の出力を上記第1のキャリー信号として
出力し、上記第9の回路の出力を上記第2のキャリー信
号として出力し、上記第10の回路の出力を上記和信号
として出力することを特徴とする5入力3出力加算器。
2. First to fifth input signals can be input, a first carry signal generated from the first to fourth input signals, and the first to fifth signals. A second carry signal generated from the five input signals up to
In a 5-input 3-output adder that outputs a sum signal generated from the first to fifth input signals, a first circuit that negates the logical sum of the first and second input signals A second circuit for inverting the logical sum of the third and fourth input signals, and a third circuit for inverting the logical sum of the output of the first circuit and the output of the second circuit A fourth circuit for inverting the logical product of the outputs of the first circuit and the second circuit, and a fifth circuit for obtaining the exclusive OR of the first and second input signals. A sixth circuit for taking the exclusive OR of the third and fourth input signals, and a seventh circuit for taking the negation of the logical sum of the output of the fifth circuit and the output of the sixth circuit An eighth circuit that takes an exclusive OR of the output of the fifth circuit and the output of the sixth circuit; the output of the fourth circuit; and the seventh circuit The logical product of the output of the circuit is the first intermediate result, the logical product of the output of the eighth circuit and the fifth input signal is the second intermediate result, and the first intermediate result and the first intermediate result. A ninth circuit for taking the logical sum of the intermediate result of No. 2 and a tenth circuit for taking the exclusive logical sum of the output of the eighth circuit and the fifth input signal; An output of the circuit is output as the first carry signal, an output of the ninth circuit is output as the second carry signal, and an output of the tenth circuit is output as the sum signal. 5 input 3 output adder.
JP3325794A 1994-02-07 1994-02-07 Five input three output adder Withdrawn JPH07219746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3325794A JPH07219746A (en) 1994-02-07 1994-02-07 Five input three output adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3325794A JPH07219746A (en) 1994-02-07 1994-02-07 Five input three output adder

Publications (1)

Publication Number Publication Date
JPH07219746A true JPH07219746A (en) 1995-08-18

Family

ID=12381461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3325794A Withdrawn JPH07219746A (en) 1994-02-07 1994-02-07 Five input three output adder

Country Status (1)

Country Link
JP (1) JPH07219746A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006106581A1 (en) * 2005-03-31 2006-10-12 Fujitsu Limited Csa 5-3 compressing circuit and carrier-save adding circuit using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006106581A1 (en) * 2005-03-31 2006-10-12 Fujitsu Limited Csa 5-3 compressing circuit and carrier-save adding circuit using the same

Similar Documents

Publication Publication Date Title
US5724276A (en) Logic block structure optimized for sum generation
US7372297B1 (en) Hybrid interconnect/logic circuits enabling efficient replication of a function in several sub-cycles to save logic and routing resources
JPH0479013B2 (en)
JPH0215088B2 (en)
JPS59139447A (en) Full adder
US7617269B2 (en) Logic entity with two outputs for efficient adder and other macro implementations
US7554356B2 (en) Adding or subtracting inputs using a carry signal with a fixed value of logic 0
JPS595349A (en) Adder
US7570081B1 (en) Multiple-output static logic
US4709346A (en) CMOS subtractor
US6012079A (en) Conditional sum adder using pass-transistor logic and integrated circuit having the same
JP3604518B2 (en) Divider
US20100030837A1 (en) Combined adder circuit array and/or plane
US4873660A (en) Arithmetic processor using redundant signed digit arithmetic
JPH01243117A (en) Binary calculation circuit
JPH07219746A (en) Five input three output adder
US4866657A (en) Adder circuitry utilizing redundant signed digit operands
JP2992588B2 (en) Adder circuit
JP3741280B2 (en) Carry look-ahead circuit and addition circuit using the same
JP2563473B2 (en) Binary calculator
JPS648858B2 (en)
Narmadha et al. Design and Implementation of Time Efficient Carry Select Adder using FPGA
JPH09185493A (en) Integrated circuit for adder
JP2681968B2 (en) Arithmetic processing unit
JPH04227534A (en) Array multiplier

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010508