[go: up one dir, main page]

JPH04316161A - Multiinput arithmetic circuit - Google Patents

Multiinput arithmetic circuit

Info

Publication number
JPH04316161A
JPH04316161A JP8260391A JP8260391A JPH04316161A JP H04316161 A JPH04316161 A JP H04316161A JP 8260391 A JP8260391 A JP 8260391A JP 8260391 A JP8260391 A JP 8260391A JP H04316161 A JPH04316161 A JP H04316161A
Authority
JP
Japan
Prior art keywords
circuit
input
adder
data
output
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
JP8260391A
Other languages
Japanese (ja)
Inventor
Mitsuharu Oki
光晴 大木
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP8260391A priority Critical patent/JPH04316161A/en
Publication of JPH04316161A publication Critical patent/JPH04316161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To increase the operating speed and to miniaturize the circuit scale and size of such a multiinput arithmetic circuit that processes the added results of multiinput adding circuits with a logic circuit. CONSTITUTION:This multiinput arithmetic circuit is provided with plural multiinput adding circuits 1A-1D, a simple logic circuit 10 which produces plural processed results by performing prescribed operation on the added results of the circuits 1A-1D, and multiinput adding circuits 17 and 7 which add the plural processed results to each other. Then the added results of the circuits 1A-ID in the prestage are supplied to the circuit 10 in a redundant expression composed of summed outputs and carried outputs and the circuit 10 supplies the plural processed results to the circuits 17 and 7 in its post stage in a redundant expression. The circuits 17 and 7 output the added results in an ordinary binary expression.

Description

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

【0001】0001

【産業上の利用分野】本発明は、例えば多入力の加算回
路と簡単な構成の論理演算回路とが混在している回路系
に適用して好適な多入力演算回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-input arithmetic circuit suitable for application to, for example, a circuit system in which a multi-input adder circuit and a logic arithmetic circuit with a simple configuration coexist.

【0002】0002

【従来の技術】多入力の加算回路と簡単な構成の論理演
算回路とが混在している多入力の演算回路の例として、
図4に示すような回路が知られている。この図4におい
て、1A〜1Dはそれぞれ4入力の冗長表現の加算回路
を示し、加算回路1Aは4個の入力データA〜Dを加算
してその加算結果を和出力と桁上げ出力とよりなる冗長
な表現(後述)で後段の桁上げ加算器2Aに供給し、他
の加算回路1B,1C及び1Dはそれぞれ4個の入力デ
ータE〜H,I〜L及びM〜Pを加算してその加算結果
を冗長な表現でそれぞれ桁上げ加算器2B〜2Dに供給
する。これら桁上げ加算器2A〜2Dはそれぞれ冗長な
表現で入力された加算結果を通常の2進数表現の加算結
果に変換する。
[Prior Art] As an example of a multi-input arithmetic circuit in which a multi-input adder circuit and a logic arithmetic circuit with a simple configuration are mixed,
A circuit as shown in FIG. 4 is known. In FIG. 4, 1A to 1D each indicate an adder circuit with redundant expression of 4 inputs, and the adder circuit 1A adds four input data A to D and outputs the addition result as a sum output and a carry output. The data is supplied to the subsequent carry adder 2A in a redundant expression (described later), and the other adder circuits 1B, 1C, and 1D each add the four input data E~H, I~L, and M~P, and add the four pieces of input data E~H, I~L, and M~P. The addition results are supplied in redundant expressions to the carry adders 2B to 2D, respectively. Each of these carry adders 2A to 2D converts the addition result input in redundant representation into an addition result in normal binary representation.

【0003】3は簡易論理回路を示し、この簡易論理回
路3において、桁上げ加算器2A及び2Bの出力データ
をそれぞれデータセレクタ4Aの一方及び他方の入力部
に供給し、桁上げ加算器2Cの出力データを2倍回路5
A及び4倍回路5Bを介してそれぞれデータセレクタ4
Bの一方及び他方の入力部に供給し、桁上げ加算器2D
の出力データを8倍回路5C及び16倍回路5Dを介し
てそれぞれデータセレクタ4Cの一方及び他方の入力部
に供給する。2倍回路5A〜16倍回路5Dはそれぞれ
入力データの配線と出力データの配線とをずらすだけで
容易に構成することができる。
Reference numeral 3 indicates a simple logic circuit. In this simple logic circuit 3, the output data of carry adders 2A and 2B are supplied to one input section and the other input section of a data selector 4A, respectively, and the output data of carry adder 2C is supplied. Double output data circuit 5
A and the data selector 4 through the quadruple circuit 5B.
B, and carry adder 2D.
The output data is supplied to one and the other input section of the data selector 4C via the 8x circuit 5C and the 16x circuit 5D, respectively. The 2x circuits 5A to 16x circuits 5D can be easily constructed by simply shifting the input data wiring and the output data wiring, respectively.

【0004】6はその簡易論理回路3に続く冗長表現の
多入力の加算回路を示し、この加算回路6はその簡易論
理回路3のデータセレクタ4A〜4Cから出力されるデ
ータを加算して、この加算結果を和出力と桁上げ出力と
よりなる冗長な表現で桁上げ加算器7に供給し、この桁
上げ加算器7はその冗長な表現の加算結果を通常の2進
数表現に変換する。即ち、その簡易論理回路3は、加算
器2A又は2Bの出力データ、加算器2Cの出力データ
を2倍又は4倍したデータ及び加算器2Dの出力データ
を8倍又は16倍したデータを出力する回路であり、加
算回路6はそれら3種類のデータを加算する回路である
Reference numeral 6 indicates a multi-input adder circuit with redundant expression following the simple logic circuit 3, and this adder circuit 6 adds the data output from the data selectors 4A to 4C of the simple logic circuit 3, The addition result is supplied to a carry adder 7 in a redundant representation consisting of a sum output and a carry output, and the carry adder 7 converts the addition result in the redundant representation into a normal binary representation. That is, the simple logic circuit 3 outputs the output data of the adder 2A or 2B, the data obtained by multiplying the output data of the adder 2C by 2 times or 4 times, and the data obtained by multiplying the output data of the adder 2D by 8 times or 16 times. The adder circuit 6 is a circuit that adds these three types of data.

【0005】図5を参照してその図4の回路における冗
長表現の加算回路1A及び桁上げ加算器2Aよりなる多
入力加算器の具体的な構成例につき説明するに、この図
5において、入力データA〜Dをそれぞれ次のようなn
ビット(nは2以上の整数)の2進数で表現する。 A=(An−1,An−2,‥‥,A1,A0)B=(
Bn−1,Bn−2,‥‥,B1,B0)C=(Cn−
1,Cn−2,‥‥,C1,C0)D=(Dn−1,D
n−2,‥‥,D1,D0)
Referring to FIG. 5, a specific example of the configuration of a multi-input adder consisting of an adder circuit 1A with redundant expression and a carry adder 2A in the circuit of FIG. 4 will be described. Each of the data A to D is
It is expressed as a binary number of bits (n is an integer of 2 or more). A=(An-1, An-2,..., A1, A0) B=(
Bn-1, Bn-2,..., B1, B0)C=(Cn-
1,Cn-2,...,C1,C0)D=(Dn-1,D
n-2,...,D1,D0)

【0006】この表現にお
いて、An−1〜Dn−1がそれぞれ最大桁(MSB)
であり、この多入力加算器は、(A+B+C+D)の加
算結果を2進数表現で得る回路である。先ず、その加算
回路1Aは、1段目のn個の全加算器(FA)8−0〜
8−(n−1)及び2段目のn個の全加算器9−0〜9
−(n−1)より構成されている。そして、1段目にお
ける全加算器8−0は3個のビットA0,B0及びC0
を加算し、同様に全加算器8−1〜8−(n−1)はそ
れぞれ3個のビットA1,B1,C1〜An−1,Bn
−1,Cn−1を加算する。これら全加算器8−0〜8
−(n−1)の和出力及び桁上げ出力により、(A+B
+C)の加算結果が表現されている。このように桁上げ
出力を数ビット毎に(図5の例では1ビット毎に)保存
して数値を表現する方式をキャリーセイブアダー方式と
いう。
[0006] In this expression, An-1 to Dn-1 are the maximum digits (MSB), respectively.
This multi-input adder is a circuit that obtains the addition result of (A+B+C+D) in binary representation. First, the adder circuit 1A includes n full adders (FA) 8-0 to 8-0 in the first stage.
8-(n-1) and second stage n full adders 9-0 to 9
-(n-1). The full adder 8-0 in the first stage stores three bits A0, B0 and C0.
Similarly, full adders 8-1 to 8-(n-1) each add three bits A1, B1, C1 to An-1, Bn.
-1 and Cn-1 are added. These full adders 8-0 to 8
-(n-1) sum output and carry output, (A+B
+C) is expressed. This method of expressing a numerical value by storing carry output every few bits (in the example of FIG. 5, every 1 bit) is called the carry-save adder method.

【0007】また、2段目における全加算器9−0は“
0”と全加算器8−0の和出力と入力データDのビット
D0とを加算し、全加算器9−i(i=1,‥‥,n−
1)はそれぞれ全加算器8−(i−1)の桁上げ出力と
全加算器8−iの和出力と入力データDのビットDiと
を加算する。これら全加算器9−0〜9−(n−1)か
ら出力される和出力及び桁上げ出力により(A+B+C
+D)の加算結果がキャリーセイブアダー方式で表現さ
れる。更にA〜Dの外に加算対象が1個増加する毎にそ
の加算回路1Aにおいては、n個の全加算器よりなる回
路系を付加することにより全体の加算結果をキャリーセ
イブアダー方式で表現することができる。このように加
算結果をキャリーセイブアダー方式で表現すると、桁上
げ(キャリー)が次第に上位桁側に伝播していく時間を
省くことができるので、演算速度を速くすることができ
る。
Further, the full adder 9-0 in the second stage is “
0", the sum output of the full adder 8-0, and the bit D0 of the input data D, and the total adder 9-i (i=1,..., n-
1) adds the carry output of full adder 8-(i-1), the sum output of full adder 8-i, and bit Di of input data D, respectively. The sum output and carry output from these full adders 9-0 to 9-(n-1) result in (A+B+C
+D) is expressed using the carry-save adder method. Furthermore, each time the number of addition targets increases by one in addition to A to D, a circuit system consisting of n full adders is added to the adder circuit 1A, thereby expressing the entire addition result in a carry-save adder method. be able to. When the addition result is expressed using the carry-save adder method in this way, the time for the carry to gradually propagate to the higher digits can be saved, so that the calculation speed can be increased.

【0008】その加算回路1Aから出力されるキャリー
セイブアダー方式で表現された加算結果を桁上げ加算器
2Aに供給する。この桁上げ加算器2Aは、例えば下位
側の桁上げ出力端子と上位側の桁上げ入力端子とが接続
されるようにn個の全加算器を接続して構成され、この
桁上げ加算器2Aより(A+B+C+D)の加算結果が
通常の2進数の形式のnビットのデータとして出力され
る。このような桁上げ加算器2Aは、2入力の加算器で
あるとも考えられる。このように単にn個の全加算器を
接続して構成した場合には、桁上げが上位桁側に伝播し
ていくのに時間を要するため演算速度が遅くなる。これ
に対して、その桁上げ加算器2Aをキャリー先見回路又
はキャリーセレクトアダー回路等を用いて構成すること
により、演算速度は高速化することができるが、回路規
模は大型化する。
The addition result expressed by the carry-save adder method outputted from the adder circuit 1A is supplied to a carry adder 2A. This carry adder 2A is configured by connecting n full adders such that, for example, a lower carry output terminal and an upper carry input terminal are connected. The result of addition (A+B+C+D) is output as n-bit data in normal binary format. Such a carry adder 2A can also be considered to be a two-input adder. In the case where n full adders are simply connected in this manner, the calculation speed becomes slow because it takes time for the carry to propagate to the higher-order digits. On the other hand, by configuring the carry adder 2A using a carry look-ahead circuit or a carry select adder circuit, the calculation speed can be increased, but the circuit scale will be increased.

【0009】また、図4の回路において、冗長表現の多
入力の加算回路6及び桁上げ加算器7もそれぞれ図5の
加算回路1A及び桁上げ加算器2Aと同様に構成するこ
とができる。
Furthermore, in the circuit of FIG. 4, the redundant expression multi-input addition circuit 6 and carry adder 7 can be configured similarly to the addition circuit 1A and carry adder 2A of FIG. 5, respectively.

【0010】0010

【発明が解決しようとする課題】以上をまとめると図4
の従来の多入力演算回路においては、それぞれ4個の入
力データ(例えばA〜D)をキャリーセイブアダー方式
で高速に加算する加算回路1A〜1Dが設けられており
、これらの加算回路1A〜1Dの後段にそれぞれ冗長な
表現の加算結果を通常の2進数表現に変換するための桁
上げ加算器2A〜2Dが設けられている。しかしながら
、これら桁上げ加算器2A〜2Dの演算速度をそれら加
算回路1A〜1D並に高速化するには、これら2入力の
桁上げ加算器2A〜2Dをキャリー先見回路等を用いて
構成する必要がある。しかしながら、図4の例ではその
ような桁上げ加算器2A〜2Dが4個設けられているの
で、全体として回路規模が大型化する不都合がある。
[Problem to be solved by the invention] Figure 4 summarizes the above
In the conventional multi-input arithmetic circuit, adder circuits 1A to 1D are provided, each of which adds four pieces of input data (for example, A to D) at high speed using a carry-save adder method, and these adder circuits 1A to 1D At the subsequent stage, carry adders 2A to 2D are provided for converting the addition results of redundant representations into normal binary representations. However, in order to make the calculation speed of these carry adders 2A to 2D as fast as those of the adder circuits 1A to 1D, it is necessary to configure these two-input carry adders 2A to 2D using a carry look-ahead circuit or the like. There is. However, since four such carry adders 2A to 2D are provided in the example of FIG. 4, there is a disadvantage that the overall circuit scale becomes large.

【0011】本発明は斯かる点に鑑み、多入力の加算回
路1A〜1Dの加算結果を簡易論理回路3で処理するよ
うな多入力演算回路において、演算速度を高速化すると
共に回路規模を小型化することを目的とする。
[0011] In view of the above, the present invention is designed to increase the calculation speed and reduce the circuit scale in a multi-input arithmetic circuit in which the simple logic circuit 3 processes the addition results of the multi-input adder circuits 1A to 1D. The purpose is to

【0012】0012

【課題を解決するための手段】本発明による多入力演算
回路は、例えば図1に示す如く、前段の1個又は複数個
の多入力の加算回路(1A〜1D)と、この加算回路の
加算結果に所定の演算を施して複数の処理結果を生成す
る論理演算回路(10)と、それら複数の処理結果を加
算する後段の多入力の加算回路(17,7)とを有し、
その前段の多入力の加算回路(1A〜1D)の加算結果
を和出力と桁上げ出力とよりなる冗長な表現でその論理
演算回路(10)に供給し、その論理演算回路(10)
はそれら複数の処理結果を冗長な表現でその後段の多入
力の加算回路(17,7)に供給し、その後段の多入力
の加算回路(17,7)は加算結果を通常の表現(例え
ば通常の2進数表現)で出力するようにしたものである
[Means for Solving the Problems] A multi-input arithmetic circuit according to the present invention, as shown in FIG. It has a logic operation circuit (10) that performs a predetermined operation on the result to generate a plurality of processing results, and a multi-input addition circuit (17, 7) in the subsequent stage that adds the plurality of processing results,
The addition result of the multi-input adder circuit (1A to 1D) at the previous stage is supplied to the logic operation circuit (10) in a redundant expression consisting of a sum output and a carry output, and the logic operation circuit (10)
supplies these multiple processing results in a redundant representation to the multi-input addition circuit (17, 7) in the subsequent stage, and the multi-input addition circuit (17, 7) in the subsequent stage expresses the addition results in a normal representation (e.g. It is designed to output in normal binary representation).

【0013】[0013]

【作用】斯かる本発明によれば、その前段の多入力の加
算回路(1A〜1D)の加算結果は冗長な表現のままで
その論理演算回路(10)に供給され、その論理演算回
路(10)による処理結果は冗長な表現のままでその後
段の多入力の加算回路(17,7)に供給され、その冗
長な表現から通常の表現への変換はその後段の多入力の
加算回路(17,7)において始めて行われる。従って
、高速演算を行うには回路規模が大型化する通常の表現
への変換回路は、その後段の多入力の加算回路(17,
7)のみであるため、全体として演算速度が高速である
にも拘らず回路規模が小型である。
[Operation] According to the present invention, the addition results of the multi-input adder circuits (1A to 1D) in the preceding stage are supplied to the logic operation circuit (10) with redundant expressions, and the addition results are supplied to the logic operation circuit (10). The processing result obtained by 10) is supplied as a redundant representation to the multi-input adder circuit (17, 7) at the subsequent stage, and the conversion from the redundant representation to the normal representation is carried out by the multi-input adder circuit (17, 7) at the subsequent stage. 17, 7). Therefore, the conversion circuit to normal representation, which requires a large circuit scale to perform high-speed calculations, is replaced by a multi-input adder circuit (17,
7), the circuit scale is small even though the overall calculation speed is high.

【0014】[0014]

【実施例】以下、本発明による多入力演算回路の一実施
例につき図1を参照して説明しよう。本例は従来例であ
る図4の多入力演算回路と同じ演算を実行する回路であ
り、この図1において図4に対応する部分には同一符号
を付してその詳細説明を省略する。図1において、A〜
Pはそれぞれnビット(nは2以上の整数)の2進数で
あり、それぞれ4入力の冗長表現の加算回路1A,1B
,1C及び1Dからはそれぞれ(A+B+C+D),(
E+F+G+H),(I+J+K+L)及び(M+N+
0+P)の加算結果が和出力と桁上げ出力とよりなる冗
長な表現で出力される。図1においては、加算回路1A
〜1Dから導出される出力端子はそれぞれ2本であるが
、実際には図5の加算回路1Aで示すようにそれぞれn
対の出力端子が導出されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a multi-input arithmetic circuit according to the present invention will be described below with reference to FIG. This example is a circuit that executes the same calculation as the conventional multi-input calculation circuit shown in FIG. 4, and the parts in FIG. 1 corresponding to those in FIG. 4 are given the same reference numerals and detailed explanation thereof will be omitted. In FIG. 1, A~
Each P is a binary number of n bits (n is an integer of 2 or more), and each adder circuit 1A, 1B has a redundant representation with 4 inputs.
, 1C and 1D respectively (A+B+C+D), (
E+F+G+H), (I+J+K+L) and (M+N+
The addition result of 0+P) is output in a redundant expression consisting of a sum output and a carry output. In FIG. 1, the adder circuit 1A
The number of output terminals derived from ~1D is two, but in reality, each output terminal is n as shown in adder circuit 1A in FIG.
A pair of output terminals are derived.

【0015】10は簡易論理回路を示し、この簡易論理
回路10には加算回路1A〜1Dよりの冗長表現の加算
結果を供給し、この簡易論理回路10は図4における簡
易論理回路3が行う論理演算を冗長な表現のままで実行
する。この簡易論理回路10を回路系11〜13に分け
る。回路系11において、加算回路1Aの和出力及び桁
上げ出力をそれぞれデータセレクタ14A及び14Bの
一方の入力部に供給し、加算回路1Bの和出力及び桁上
げ出力をそれぞれデータセレクタ14A及び14Bの他
方の入力部に供給する。実際にはデータセレクタ14A
及び14Bはn対設けられており、それぞれ連動して何
れかのデータを選択する。
Reference numeral 10 indicates a simple logic circuit, and this simple logic circuit 10 is supplied with the addition results of redundant expressions from the adder circuits 1A to 1D. Execute operations with redundant expressions. This simple logic circuit 10 is divided into circuit systems 11 to 13. In the circuit system 11, the sum output and carry output of the adder circuit 1A are supplied to one input section of the data selectors 14A and 14B, respectively, and the sum output and carry output of the adder circuit 1B are supplied to the other input part of the data selectors 14A and 14B, respectively. Supplied to the input section of Actually data selector 14A
and 14B are provided in n pairs, each of which selects one of the data in conjunction with the other.

【0016】回路系12において、加算回路1Cの桁上
げ出力を2倍回路15A及び4倍回路15Bを介してデ
ータセレクタ16Aの2個の入力部に供給し、その加算
回路1Cの和出力を2倍回路15C及び4倍回路15D
を介してデータセレクタ16Bの2個の入力部に供給す
る。データセレクタ16A及び16Bもn対設けられて
おり、それぞれ連動して何れかのデータを選択する。ま
た、回路系13において、加算回路1Dの桁上げ出力を
8倍回路15E及び16倍回路15Fを介してデータセ
レクタ16Cの2個の入力部に供給し、その加算回路1
Dの和出力を8倍回路15G及び16倍回路15Hを介
してデータセレクタ16Dの2個の入力部に供給する。 データセレクタ16C及び16Dもn対設けられており
、それぞれ連動して何れかのデータを選択する。
In the circuit system 12, the carry output of the adder circuit 1C is supplied to two input sections of the data selector 16A via the doubling circuit 15A and the quadrupling circuit 15B, and the sum output of the adder circuit 1C is Double circuit 15C and quadruple circuit 15D
The data is supplied to two inputs of the data selector 16B via. There are also n pairs of data selectors 16A and 16B, each of which selects any data in conjunction with each other. In addition, in the circuit system 13, the carry output of the adder circuit 1D is supplied to the two input sections of the data selector 16C via the 8x circuit 15E and the 16x circuit 15F, and
The sum output of D is supplied to two input sections of a data selector 16D via an 8x circuit 15G and a 16x circuit 15H. There are also n pairs of data selectors 16C and 16D, each of which selects any data in conjunction with each other.

【0017】17は冗長表現の多入力の加算回路を示し
、この加算回路17にデータセレクタ14A及び14B
の出力データ、データセレクタ16A及び16Bの出力
データ並びにデータセレクタ16C及び16Dの出力デ
ータを供給する。即ち、この加算回路17には、加算回
路1A又は1Bの加算結果、加算回路1Cの加算結果を
2倍又は4倍してなる数値及び加算回路1Dの加算結果
を8倍又は16倍してなる数値がそれぞれ和出力と桁上
げ出力とよりなる冗長な表現で供給され、これらの数値
の加算結果が冗長な表現で最終段の桁上げ加算器7に供
給され、この加算器7より通常の2進数表現のデータが
出力される。この桁上げ加算器7から出力されるデータ
は図4例の桁上げ加算器7から出力されるデータと同じ
ものである。
Reference numeral 17 indicates a multi-input adder circuit with redundant expression, and data selectors 14A and 14B are connected to this adder circuit 17.
, output data of data selectors 16A and 16B, and output data of data selectors 16C and 16D. That is, the addition circuit 17 contains the addition result of the addition circuit 1A or 1B, a value obtained by doubling or quadrupling the addition result of the addition circuit 1C, and a value obtained by multiplying the addition result of the addition circuit 1D by 8 or 16. Each numerical value is supplied in a redundant representation consisting of a sum output and a carry output, and the addition result of these numerical values is supplied in a redundant representation to a carry adder 7 at the final stage, and from this adder 7 a normal 2 Data in hexadecimal representation is output. The data output from this carry adder 7 is the same as the data output from the carry adder 7 in the example of FIG.

【0018】図1例と図4例とを比較するに、本例の図
1の簡易論理回路10は冗長な表現のままで演算を行っ
ているので、図4例の簡易論理回路3に比べて回路規模
は2倍程度になる。また、その簡易論理回路10の出力
も冗長な表現であり後段の加算回路17への入力数は図
4例の加算回路6への入力数の2倍になり、その後段の
加算回路17の回路規模は従来例よりも大きくなる。し
かしながら、本例においては従来の図4例における桁上
げ加算器2A〜2Dを省略することができると共に、そ
れら桁上げ加算器2A〜2Dの回路規模はきわめて大き
いものであるため、本例の多入力演算回路の回路規模は
全体として従来例よりも小型化できる利益がある。更に
、その加算回路17をパイプライン方式で構成すること
により、全体の回路規模をより小型化することができる
Comparing the example in FIG. 1 and the example in FIG. 4, the simple logic circuit 10 in FIG. The circuit scale will be approximately doubled. Furthermore, the output of the simple logic circuit 10 is also a redundant expression, and the number of inputs to the adder circuit 17 in the subsequent stage is twice the number of inputs to the adder circuit 6 in the example in FIG. The scale will be larger than the conventional example. However, in this example, the carry adders 2A to 2D in the conventional example of FIG. There is an advantage that the overall circuit scale of the input arithmetic circuit can be made smaller than that of the conventional example. Furthermore, by configuring the adder circuit 17 in a pipelined manner, the overall circuit scale can be further reduced.

【0019】なお、図1例中の冗長表現の多入力の加算
回路1A〜1D及び17はそれぞれ時分割的に入力デー
タを逐次加算する冗長表現のアキュムレータで代用する
こともできる。また、図1例の回路構成は、多入力の加
算回路1A〜1Dと簡易論理回路10と多入力の加算回
路17とが縦続接続されているが、更に終段の多入力の
加算回路17の後に簡単な構成の冗長表現の論理回路と
冗長表現の多入力の加算回路とを順次接続するようにし
てもよい。また、図1において、簡易論理回路10から
冗長な表現で出力される処理結果をその冗長な表現のま
までレジスタに保持して、このレジスタの保持値を冗長
表現の多入力の加算回路1A〜1Dの入力側にフィード
バックする場合にも本発明は適用される。
Note that the redundant multi-input adder circuits 1A to 1D and 17 in the example of FIG. 1 can be replaced by redundant accumulators that sequentially add input data in a time-sharing manner. In addition, in the circuit configuration of the example shown in FIG. 1, the multi-input adder circuits 1A to 1D, the simple logic circuit 10, and the multi-input adder circuit 17 are connected in cascade. Later, a logic circuit with a simple configuration of redundant expression and a multi-input adder circuit with redundant expression may be sequentially connected. In addition, in FIG. 1, the processing result output from the simple logic circuit 10 in a redundant expression is held in a register as it is, and the value held in this register is stored in the redundant expression multi-input adder circuits 1A to 1A. The present invention is also applicable to the case of feeding back to the input side of 1D.

【0020】次に図2、図3及び図6を参照して本発明
の他の実施例につき説明する。本例はキュービック関数
(cubic function)による補間回路に本
発明を適用したものである。キュービック関数Q(x)
とは、任意の定数αを用いて次のように定義される関数
である。このキュービック関数の特徴は、定数αの値に
よらずに常に規格化されていることである。
Next, other embodiments of the present invention will be described with reference to FIGS. 2, 3 and 6. In this example, the present invention is applied to an interpolation circuit using a cubic function. cubic function Q(x)
is a function defined as follows using an arbitrary constant α. A feature of this cubic function is that it is always normalized regardless of the value of the constant α.

【数1】 Q(x)={(α+2)|x|−(α+3)}|x|2
 +1  (|x|≦1),Q(x)=α〔{(|x|
−5)+8}|x|−4〕  (1<|x|≦2),Q
(x)=0     (2<|x|)
[Math. 1] Q(x)={(α+2)|x|−(α+3)}|x|2
+1 (|x|≦1), Q(x)=α[{(|x|
-5)+8}|x|-4] (1<|x|≦2), Q
(x)=0 (2<|x|)

【0021】通常
、補関関数として使用するときにはα=−1とされるの
で、キュービック関数Q(x)は次の形式で使用される
Normally, when used as a complement function, α=-1, so the cubic function Q(x) is used in the following format.

【数2】 Q(x)=|x|3 −2|x|2 +1      
  =(|x|−1)(|x|2 −|x|−1)  
(|x|≦1),Q(x)=−|x|3 +5|x|2
 −8|x|+4        =−(|x|−1)
(|x|−2)2     (1<|x|≦2)Q(x
)=0  (2<|x|)
[Math. 2] Q(x)=|x|3 −2|x|2 +1
= (|x|-1) (|x|2 -|x|-1)
(|x|≦1), Q(x)=-|x|3 +5|x|2
-8|x|+4 =-(|x|-1)
(|x|-2)2 (1<|x|≦2)Q(x
)=0 (2<|x|)

【0022】そして、時間軸t上の一連の離散的なサン
プリングデータをI(i),I(i+1),‥‥とする
と、任意の時刻xにおける補関値I(x)´は次のよう
に表すことができる。
[0022] Then, if a series of discrete sampling data on the time axis t are I(i), I(i+1), ..., then the interpolation value I(x)' at any time x is as follows. It can be expressed as

【数3】I(x)´=Σ  Q(x−i)・I(i)[Math 3] I(x)'=Σ Q(x-i)・I(i)


0023】この数3において、Σ  はiに関する和を
表す。更に、Q(x)は2<|x|では  0であるた
め、その数3において有効なデータI(i)は4点のみ
である。従って、0<x<1であると仮定して、I(−
1)=C,I(0)=A,I(1)=B,I(2)=D
であるとすると、その数3は次のよう表現することがで
きる。
[
In Equation 3, Σ represents the sum with respect to i. Furthermore, since Q(x) is 0 when 2<|x|, there are only four valid data I(i) in the number 3. Therefore, assuming 0<x<1, I(-
1)=C, I(0)=A, I(1)=B, I(2)=D
Assuming that, the number 3 can be expressed as follows.

【数4】   I(x)´=Q(x)・A+Q(1−x)・B+Q
(1+x)・C              +Q(2
−x)・D  (0<x<1)           
 =〔(1−x)A+xB〕  +(x−x2 ){〔
(1−x)A+xB〕−〔(1−x)C+xD〕}
[Math. 4] I(x)'=Q(x)・A+Q(1-x)・B+Q
(1+x)・C +Q(2
-x)・D (0<x<1)
= [(1-x)A+xB] +(x-x2) {[
(1-x)A+xB]-[(1-x)C+xD]}

【0
024】また、この数4における後半の変形にはQ(x
)等の次式の表現を用いている。
0
[024] Also, the latter half of the transformation in Equation 4 has Q(x
), etc., are used.

【数5】Q(x)=(x−1)(x2 −x−1),Q
(1−x)=−x(x2 −x−1),Q(1+x)=
−x(x−1)2 , Q(2−x)=x2 (x−1)
[Formula 5] Q(x)=(x-1)(x2-x-1),Q
(1-x)=-x(x2-x-1), Q(1+x)=
-x(x-1)2 , Q(2-x)=x2 (x-1)

【0025】例えばxとして1/8ステップの値を使用
するとした場合には、数4における〔(1−x)A+x
B〕の値は次のようになる。
For example, when using a value of 1/8 step as x, [(1-x)A+x
The value of B] is as follows.

【表1】 x            〔(1−x)A+xB〕1
/8          A/8+B/8+A/4+A
/22/8          A/8+A/8+B/
4+A/23/8          A/8+B/8
+B/4+A/24/8          A/8+
A/8+A/4+B/25/8          A
/8+B/8+A/4+B/26/8        
  A/8+A/8+B/4+B/27/8     
     A/8+B/8+B/4+B/2
[Table 1] x [(1-x)A+xB]1
/8 A/8+B/8+A/4+A
/22/8 A/8+A/8+B/
4+A/23/8 A/8+B/8
+B/4+A/24/8 A/8+
A/8+A/4+B/25/8 A
/8+B/8+A/4+B/26/8
A/8+A/8+B/4+B/27/8
A/8+B/8+B/4+B/2

【0026
】この表1の演算において、(1/8),(1/4)及
び(1/2)の演算はそれぞれデータを3ビット,2ビ
ット及び1ビットだけシフトすることにより容易に実行
することができる。また、数4の後半における〔(1−
x)C+xD〕の値は〔(1−x)A+xB〕の値と同
じである。更に、数4の後半における(x−x2 )の
値はxの値に対応して次のように変化する。
0026
] In the operations in Table 1, the operations (1/8), (1/4), and (1/2) can be easily executed by shifting the data by 3 bits, 2 bits, and 1 bit, respectively. can. Also, in the latter half of Equation 4, [(1-
x)C+xD] is the same as the value of [(1-x)A+xB]. Furthermore, the value of (x-x2) in the latter half of Equation 4 changes as follows in response to the value of x.

【表2】 x                (x−x2 )1
/8          7/64=  1/8−1/
642/8          12/64=1/4−
1/163/8          15/64=1/
4−1/644/8          16/64=
1/2−1/45/8          15/64
=1/4−1/646/8          12/
64=1/4−1/167/8          7
/64=  1/8−1/64
[Table 2] x (x-x2)1
/8 7/64= 1/8-1/
642/8 12/64=1/4-
1/163/8 15/64=1/
4-1/644/8 16/64=
1/2-1/45/8 15/64
=1/4-1/646/8 12/
64=1/4-1/167/8 7
/64= 1/8-1/64

【0027】これら表1
及び表2の関係を用いると、数4のI(x)´はシフト
演算回路と加減算回路とにより実行できることが分かる
。上述の表1及び表2の関係を用いて数4のI(x)´
を計算するための補関回路の従来方式による構成例を図
6に示す。この図6において、入力データAを入力デー
タを1/8にする1/8回路19Aを介して加算回路2
0に供給し、この入力データAをデータセレクタ18A
〜18Cの一方の入力部に供給し、入力データBをデー
タセレクタ18A〜18Cの他方の入力部に供給し、こ
れらデータセレクタ18A,18B及び18Cの出力デ
ータを1/8回路19B,入力データを1/4にする1
/4回路19C及び入力データを1/2にする1/2回
路19Dを介して4入力の冗長表現の加算回路20に供
給し、この加算回路20から和出力と桁上げ出力とによ
り冗長に表現された加算結果を桁上げ加算器21に供給
する。この桁上げ加算器21より表1の〔(1−x)A
+xB〕の計算結果が2進数の形式で出力される。
These Table 1
Using the relationships in Table 2, it can be seen that I(x)' in Equation 4 can be executed by a shift operation circuit and an addition/subtraction circuit. Using the relationships in Tables 1 and 2 above, I(x)' in equation 4
FIG. 6 shows an example of a conventional configuration of an interpolation circuit for calculating . In this FIG. 6, input data A is passed through an adder circuit 2 through a 1/8 circuit 19A that converts the input data to 1/8.
0, and this input data A is sent to the data selector 18A.
-18C, input data B is supplied to the other input part of data selectors 18A-18C, and the output data of these data selectors 18A, 18B, and 18C is input to 1/8 circuit 19B, and input data B is supplied to one input part of data selectors 18A-18C. 1/4
The input data is supplied to an adder circuit 20 for redundant expression with 4 inputs via a 4-input circuit 19C and a 1/2 circuit 19D that halves the input data, and from this adder circuit 20, the input data is redundantly expressed by a sum output and a carry output. The added result is supplied to the carry adder 21. From this carry adder 21, [(1-x)A of Table 1]
+xB] is output in binary format.

【0028】同様に、入力データCを1/8回路23A
を介して加減算回路24に供給し、この入力データAを
データセレクタ22A〜22Cの一方の入力部に供給し
、入力データDをデータセレクタ22A〜22Cの他方
の入力部に供給し、これらデータセレクタ22A,22
B及び22Cの出力データを1/8回路23B,1/4
回路23C及び1/2回路23Dを介して冗長表現の加
減算回路24に供給する。この加減算回路24は、加算
回路21の加算結果から回路系23A〜23Dの出力値
を減算して、この減算結果を和出力と桁上げ出力とによ
る冗長な表現で桁上げ加算器25に供給する。この桁上
げ加算器25より数4における〔(1−x)A+xB〕
−〔(1−x)C+xD〕の計算結果が2進数の形式で
出力される。
Similarly, the input data C is sent to the 1/8 circuit 23A.
The input data A is supplied to one input section of the data selectors 22A to 22C, and the input data D is supplied to the other input section of the data selectors 22A to 22C. 22A, 22
The output data of B and 22C is transferred to 1/8 circuit 23B, 1/4
The signal is supplied to the redundant expression addition/subtraction circuit 24 via the circuit 23C and the 1/2 circuit 23D. This addition/subtraction circuit 24 subtracts the output values of the circuit systems 23A to 23D from the addition result of the addition circuit 21, and supplies this subtraction result to the carry adder 25 in a redundant expression using a sum output and a carry output. . From this carry adder 25, [(1-x)A+xB] in number 4
- The calculation result of [(1-x)C+xD] is output in binary format.

【0029】この桁上げ加算器25の出力データを1/
2回路27A,1/4回路27B及び1/8回路27C
を介して3入力のデータセレクタ28Aの入力部に供給
し、並行してその桁上げ加算器25の出力データを1/
4回路27D,1/16回路27E及び1/64回路2
7Fを介して3入力のデータセレクタ28Bの入力部に
供給し、これらデータセレクタ28A及び28Bの出力
データを加減算回路26の入力部に供給し、桁上げ加算
器21の出力データをその加減算器26の入力部に供給
する。その加減算回路26は、桁上げ加算器21の出力
データにデータセレクタ28Aの出力データを加算し、
この加算結果よりデータセレクタ28Bの出力データを
減算し、これにより得られた結果を冗長な表現で桁上げ
加算器29に供給する。
The output data of this carry adder 25 is
2 circuits 27A, 1/4 circuits 27B and 1/8 circuits 27C
is supplied to the input section of the 3-input data selector 28A via the
4 circuits 27D, 1/16 circuits 27E and 1/64 circuits 2
7F to the input part of a three-input data selector 28B, the output data of these data selectors 28A and 28B is supplied to the input part of the adder/subtractor circuit 26, and the output data of the carry adder 21 is supplied to the adder/subtracter 26. Supplied to the input section of The addition/subtraction circuit 26 adds the output data of the data selector 28A to the output data of the carry adder 21,
The output data of the data selector 28B is subtracted from this addition result, and the result obtained thereby is supplied to the carry adder 29 in a redundant representation.

【0030】回路系27A〜27F及び加減算回路26
により表2の(x−x2 )が計算されるため、その桁
上げ加算器29からは数4のI(x)´が通常の2進数
の形式で出力される。その図6の補間回路に本発明を適
用して構成した補間回路が、図2に示すキュービック関
数による補間回路である。この図6に対応する部分に同
一符号を付して示す図2において、30は6入力の冗長
表現の加減算回路を示し、この加減算回路30には加算
回路20から冗長な表現で出力される加算結果をそのま
ま供給し、並行してこの加減算回路30には回路系23
A〜23Dの4個の出力データを供給する。この加減算
回路30は、加算回路20の加算結果から回路系23A
〜23Dの4個の出力データを減算し、これにより得ら
れた結果を和出力と桁上げ出力とよりなる冗長な表現で
出力する。
Circuit system 27A to 27F and addition/subtraction circuit 26
Since (x-x2) in Table 2 is calculated, the carry adder 29 outputs I(x)' of Equation 4 in a normal binary format. An interpolation circuit constructed by applying the present invention to the interpolation circuit shown in FIG. 6 is an interpolation circuit based on a cubic function shown in FIG. In FIG. 2, in which parts corresponding to FIG. The result is supplied as is, and in parallel, the circuit system 23 is supplied to this addition/subtraction circuit 30.
Four output data A to 23D are supplied. This addition/subtraction circuit 30 calculates the sum of the circuit system 23A from the addition result of the addition circuit 20.
The four output data of ~23D are subtracted, and the result obtained is output in a redundant expression consisting of a sum output and a carry output.

【0031】その加減算回路30の和出力を1/2回路
32A,1/4回路32B及び1/8回路32Cを介し
て3入力のデータセレクタ33Aの入力部に供給し、並
行してその和出力を1/4回路32D,1/16回路3
2E及び1/64回路32Fを介して3入力のデータセ
レクタ33Cの入力部に供給し、これらデータセレクタ
33A及び33Cの出力データを6入力の冗長表現の加
減算回路34の入力部に供給し、加算回路20の加算結
果を冗長な表現のままでその加減算回路34の入力部に
供給する。また、その加減算回路30の桁上げ出力を1
/2回路31A,1/4回路31B及び1/8回路31
Cを介して3入力のデータセレクタ33Bの入力部に供
給し、並行してその桁上げ出力を1/4回路31D,1
/16回路31E及び1/64回路31Fを介して3入
力のデータセレクタ33Dの入力部に供給し、これらデ
ータセレクタ33B及び33Dの出力データを加減算回
路34の入力部に供給する。
The sum output of the addition/subtraction circuit 30 is supplied to the input section of a three-input data selector 33A via a 1/2 circuit 32A, a 1/4 circuit 32B, and a 1/8 circuit 32C, and the sum output is supplied in parallel. 1/4 circuit 32D, 1/16 circuit 3
2E and 1/64 circuit 32F to the input part of a 3-input data selector 33C, and the output data of these data selectors 33A and 33C is supplied to the input part of a 6-input redundant expression adder/subtracter circuit 34 to perform addition. The addition result of the circuit 20 is supplied to the input section of the addition/subtraction circuit 34 in its redundant representation. Also, the carry output of the addition/subtraction circuit 30 is set to 1
/2 circuit 31A, 1/4 circuit 31B and 1/8 circuit 31
C to the input section of the 3-input data selector 33B, and in parallel, the carry output is supplied to the 1/4 circuit 31D, 1
It is supplied to the input section of a three-input data selector 33D via the /16 circuit 31E and the 1/64 circuit 31F, and the output data of these data selectors 33B and 33D is supplied to the input section of the addition/subtraction circuit 34.

【0032】その加減算回路34は、加算回路20の出
力データにデータセレクタ33A及び33Bの出力デー
タを加算し、この加算結果よりデータセレクタ33C及
び33Dの出力データを減算し、これにより得られた結
果を冗長な表現で桁上げ加算器29に供給する。この桁
上げ加算器29からは数4で定義される補間データI(
x)´が通常の2進数の形式で出力される。この図2の
補間回路においては、図6の補間回路と比べて回路規模
の大きな桁上げ加算器21及び25が省略されているの
で、図6例と比べて全体としての回路規模を小型化する
ことができる。
The addition/subtraction circuit 34 adds the output data of the data selectors 33A and 33B to the output data of the addition circuit 20, and subtracts the output data of the data selectors 33C and 33D from this addition result, thereby obtaining the result. is supplied to the carry adder 29 in a redundant representation. This carry adder 29 outputs interpolated data I (
x)' is output in normal binary format. In the interpolation circuit in FIG. 2, the carry adders 21 and 25, which are larger in circuit scale than in the interpolation circuit in FIG. 6, are omitted, so the overall circuit scale is reduced compared to the example in FIG. be able to.

【0033】その図2例の補間回路を時分割処理方式に
よって構成した例を図3を参照して説明する。この図3
において、入力データA,B,C,Dを4入力のデータ
セレクタ35の入力部に供給し、このデータセレクタ3
5の出力データをバレルシフタ36に供給する。このバ
レルシフタ36は、入力データをnビットだけ下位桁側
にシフトして出力する回路であり、この出力データを直
接に及び入力データを−1倍する2の補数器37を介し
て2入力のデータセレクタ38の入力部に供給し、この
データセレクタ38の出力データをアキュムレータ39
に供給する。このアキュムレータ39は、積算結果を和
出力と桁上げ出力とよりなる冗長な表現で出力する。
An example in which the interpolation circuit shown in FIG. 2 is constructed using a time division processing method will be described with reference to FIG. 3. This figure 3
Input data A, B, C, and D are supplied to the input section of a four-input data selector 35, and the data selector 3
5 is supplied to the barrel shifter 36. This barrel shifter 36 is a circuit that shifts input data by n bits to the lower digit side and outputs the resultant data.This output data is directly transmitted and the two input data is transmitted through a two's complementer 37 that multiplies the input data by -1. The output data of this data selector 38 is supplied to the input part of the selector 38 and
supply to. This accumulator 39 outputs the accumulation result in a redundant expression consisting of a sum output and a carry output.

【0034】そのアキュムレータ39の和出力をデータ
保持用のレジスタ40A及び40Cを介して4入力のデ
ータセレクタ41の第1及び第3の入力部に供給し、そ
のアキュムレータ39の桁上げ出力をレジスタ40B及
び40Dを介してそのデータセレクタ41の第2及び第
4の入力部に供給する。42は、バレルシフタ36と同
じく入力データをnビットだけ下位桁側にシフトするバ
レルシフタを示し、そのデータセレクタ41の出力デー
タをそのバレルシフタ42を介して2入力のデータセレ
クタ44の一方の入力部及び2の補数器43に供給し、
この2の補数器43の出力データをそのデータセレクタ
44の他方の入力部に供給し、このデータセレクタ44
の出力データをアキュムレータ45に供給する。このア
キュムレータ45も和出力と桁上げ出力とより冗長に表
現された積算結果を桁上げ加算器46に供給する。
The sum output of the accumulator 39 is supplied to the first and third input parts of a four-input data selector 41 via data holding registers 40A and 40C, and the carry output of the accumulator 39 is supplied to the register 40B. and 40D to the second and fourth inputs of the data selector 41. Numeral 42 denotes a barrel shifter that shifts the input data by n bits to the lower digit side in the same way as the barrel shifter 36, and outputs the output data of the data selector 41 through the barrel shifter 42 to one input section of the two-input data selector 44 and is supplied to the complementer 43 of
The output data of this two's complementer 43 is supplied to the other input section of the data selector 44, and the data selector 44
The output data of is supplied to the accumulator 45. This accumulator 45 also supplies a sum output and a carry output, and an accumulation result expressed more redundantly, to a carry adder 46.

【0035】図3例の動作につき説明するに、4入力の
データセレクタ35、バレルシフタ36及び2入力のデ
ータセレクタ38を外部から制御することにより、アキ
ュムレータ39にA/8,A/4,A/2,B/8,B
/4又はB/2を順次供給して積算する。そのアキュム
レータ39により表1に示す〔(1−x)A+xB〕が
計算されるので、この値をレジスタ40A及び40Bに
保持する。それに続いてデータセレクタ35及び38、
バレルシフタ36並びに2の補数器37を外部から制御
することにより、そのアキュムレータ39に順次−C/
8,−C/4,−C/2,−D/8,−D/4又は−D
/2を供給し、このアキュムレータ39で{〔(1−x
)A+xB〕−〔(1−x)C+xD〕}を計算させ、
この計算結果をレジスタ40C及び40Dに保持させる
To explain the operation of the example shown in FIG. 3, by controlling the 4-input data selector 35, the barrel shifter 36, and the 2-input data selector 38 from the outside, the accumulator 39 receives A/8, A/4, and A/8. 2,B/8,B
/4 or B/2 is sequentially supplied and integrated. Since the accumulator 39 calculates [(1-x)A+xB] shown in Table 1, this value is held in the registers 40A and 40B. Following that, data selectors 35 and 38,
By controlling the barrel shifter 36 and the two's complementer 37 from the outside, the accumulator 39 is sequentially supplied with -C/
8, -C/4, -C/2, -D/8, -D/4 or -D
/2, and this accumulator 39 supplies {[(1-x
)A+xB]-[(1-x)C+xD]},
This calculation result is held in registers 40C and 40D.

【0036】次にレジスタ40A及び40Cの保持デー
タである〔(1−x)A+xB〕をアキュムレータ45
に移した後に、4入力のデータセレクタ41、バレルシ
フタ42、2の補数器43及び2入力のデータセレクタ
44を外部から制御することにより、そのアキュムレー
タ45で(x−x2 ){〔(1−x)A+xB〕−〔
(1−x)C+xD〕}を加算する。従って、最終段の
桁上げ加算器46からは数4の補間データI(x)´が
通常の2進数の形式で出力される。この図3例によれば
回路規模をきわめて小型化することができる利益がある
Next, the data held in the registers 40A and 40C, [(1-x)A+xB], is transferred to the accumulator 45.
By externally controlling the 4-input data selector 41, barrel shifter 42, 2's complementer 43, and 2-input data selector 44, the accumulator 45 converts (x-x2) {[(1-x )A+xB]-[
(1-x)C+xD]} is added. Therefore, the carry adder 46 at the final stage outputs the interpolated data I(x)' of Equation 4 in a normal binary format. The example shown in FIG. 3 has the advantage that the circuit scale can be extremely miniaturized.

【0037】なお、本発明は上述実施例に限定されず本
発明の要旨を逸脱しない範囲で種々の構成を取り得るこ
とは勿論である。
It should be noted that the present invention is not limited to the above-described embodiments, but can of course take various configurations without departing from the gist of the present invention.

【0038】[0038]

【発明の効果】本発明によれば、多入力の加算回路と論
理演算回路との間に回路規模の大きな桁上げ加算器を接
続する必要がないので、全体として演算速度を速くして
回路規模を小型化できる利益がある。
Effects of the Invention According to the present invention, there is no need to connect a carry adder with a large circuit scale between a multi-input adder circuit and a logic operation circuit, so the overall operation speed is increased and the circuit size is reduced. There is an advantage that it can be downsized.

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

【図1】本発明による多入力演算回路の一実施例の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a multi-input arithmetic circuit according to the present invention.

【図2】本発明の他の実施例であるキュービック関数に
よる補間回路の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an interpolation circuit using a cubic function, which is another embodiment of the present invention.

【図3】第2図例の変形例を示すブロック図である。FIG. 3 is a block diagram showing a modification of the example in FIG. 2;

【図4】従来の他入力演算回路の一例を示すブロック図
である。
FIG. 4 is a block diagram showing an example of a conventional other input calculation circuit.

【図5】図4例における多入力加算器を示す構成図であ
る。
FIG. 5 is a configuration diagram showing a multi-input adder in the example of FIG. 4;

【図6】キュービック関数による補間回路の従来方式に
よる構成例を示すブロック図である。
FIG. 6 is a block diagram showing a conventional configuration example of an interpolation circuit using a cubic function.

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

1A〜1D  4入力の冗長表現の加算回路10  簡
易論理回路 17  多入力の冗長表現の加算回路 7  桁上げ加算器 20  4入力の冗長表現の加算回路 30  6入力の冗長表現の加減算回路29  桁上げ
加算器
1A to 1D 4-input redundant expression addition circuit 10 Simple logic circuit 17 Multi-input redundant expression addition circuit 7 Carry adder 20 4-input redundant expression addition circuit 30 6-input redundant expression addition/subtraction circuit 29 Carry adder

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  前段の1個又は複数個の多入力の加算
回路と、該加算回路の加算結果に所定の演算を施して複
数の処理結果を生成する論理演算回路と、上記複数の処
理結果を加算する後段の多入力の加算回路とを有し、上
記前段の多入力の加算回路の加算結果を和出力と桁上げ
出力とよりなる冗長な表現で上記論理演算回路に供給し
、上記論理演算回路は上記複数の処理結果を冗長な表現
で上記後段の多入力の加算回路に供給し、上記後段の多
入力の加算回路は加算結果を通常の表現で出力するよう
にしたことを特徴とする多入力演算回路。
1. One or more multi-input adder circuits in the preceding stage, a logic operation circuit that performs predetermined operations on the addition results of the adder circuits to generate a plurality of processing results, and the plurality of processing results. and a rear-stage multi-input adder circuit that adds the above-mentioned logic operation circuit, and supplies the addition result of the previous-stage multi-input adder circuit to the logic operation circuit in a redundant expression consisting of a sum output and a carry output. The arithmetic circuit supplies the plurality of processing results in a redundant representation to the multi-input addition circuit in the subsequent stage, and the multi-input addition circuit in the latter stage outputs the addition results in a normal representation. Multi-input arithmetic circuit.
JP8260391A 1991-04-15 1991-04-15 Multiinput arithmetic circuit Pending JPH04316161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8260391A JPH04316161A (en) 1991-04-15 1991-04-15 Multiinput arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8260391A JPH04316161A (en) 1991-04-15 1991-04-15 Multiinput arithmetic circuit

Publications (1)

Publication Number Publication Date
JPH04316161A true JPH04316161A (en) 1992-11-06

Family

ID=13779062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8260391A Pending JPH04316161A (en) 1991-04-15 1991-04-15 Multiinput arithmetic circuit

Country Status (1)

Country Link
JP (1) JPH04316161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139613A (en) * 1994-11-15 1996-05-31 Nec Corp Code coincidence detecting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139613A (en) * 1994-11-15 1996-05-31 Nec Corp Code coincidence detecting system

Similar Documents

Publication Publication Date Title
Mohan Residue number systems: algorithms and architectures
US6609143B1 (en) Method and apparatus for arithmetic operation
US5835393A (en) Integrated pre-adder for a multiplier
EP0530372B1 (en) Numerical expression converter and vector processor using the same
JPS6347874A (en) Arithmetic unit
GB1595381A (en) Digital system for computation of the values of composite arithmetic expressions
US5185714A (en) Arithmetic operation processing apparatus
US5282156A (en) Leading one anticipator and floating point addition/subtraction apparatus employing same
RU2069009C1 (en) Adding device
JPH08161149A (en) Shift device
JPH07234778A (en) Arithmetic circuit
KR100627993B1 (en) Three input split-adder
JPH09222991A (en) Adding method and adder
KR100290906B1 (en) method and appratus for performing simultaneously addition and rounding in a floating point multiplier
JPH04316161A (en) Multiinput arithmetic circuit
US4788654A (en) Device for real time processing of digital signals by convolution
JPH096595A (en) Display method of computed result
JPH0346024A (en) Floating point computing element
JPH01195574A (en) Digital signal processor
US5691930A (en) Booth encoder in a binary multiplier
KR0175974B1 (en) Processor for selectively performing multiplaying dividing operation s based on pipeline structure
JP2606326B2 (en) Multiplier
JP2956252B2 (en) 4-point interpolation circuit
JP3286990B2 (en) Digital signal processor
EP0356940B1 (en) Finite state machine