JPH03188522A - Serial arithmetic circuit - Google Patents

Serial arithmetic circuit

Info

Publication number
JPH03188522A
JPH03188522A JP32933289A JP32933289A JPH03188522A JP H03188522 A JPH03188522 A JP H03188522A JP 32933289 A JP32933289 A JP 32933289A JP 32933289 A JP32933289 A JP 32933289A JP H03188522 A JPH03188522 A JP H03188522A
Authority
JP
Japan
Prior art keywords
serial
carry
adder
output
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP32933289A
Other languages
Japanese (ja)
Other versions
JP2617591B2 (en
Inventor
Hiroyuki Harada
博行 原田
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 JP32933289A priority Critical patent/JP2617591B2/en
Publication of JPH03188522A publication Critical patent/JPH03188522A/en
Application granted granted Critical
Publication of JP2617591B2 publication Critical patent/JP2617591B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、k(k≧3)個のシリアルデータの加算合
計値を演算結果としてシリアルに出力するシリアル演算
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a serial arithmetic circuit that serially outputs the sum of k (k≧3) serial data as an arithmetic result.

〔従来の技術〕[Conventional technology]

第2図は従来のシリアル演算回路を示す回路構成図であ
る。
FIG. 2 is a circuit configuration diagram showing a conventional serial arithmetic circuit.

同図において、1は8個のシリアルデータ入力DO〜D
7を有する入力部である。入力部1のシリアルデータ入
力(DO,DI)、(D2.D3)、(D4.D5)及
び(D6.D7)をそれぞれ加数入力として初段の全加
算器FAII、FAI2、FA13及びFA14が接続
されている。そして、全加算器FAII、FAI2及び
全加算器FA13.FA14の加算出力をそれぞれ加数
入力として第2段の全加算器FA21及びFA22が接
続されている。この全加算器FA21及びFA2の加算
出力を加数入力として第3段(最終段)の全加算器FA
31が接続されている。この全加算器FA31の加算出
力が出力端子3より演算結果Doutとしてシリアルに
出力される。
In the same figure, 1 indicates eight serial data inputs DO to D.
7. The first-stage full adders FAII, FAI2, FA13, and FA14 are connected using the serial data inputs (DO, DI), (D2.D3), (D4.D5), and (D6.D7) of input section 1 as addend inputs, respectively. has been done. Then, full adders FAII, FAI2 and full adder FA13. Second-stage full adders FA21 and FA22 are connected, each using the addition output of FA14 as an addend input. The addition outputs of these full adders FA21 and FA2 are used as addend inputs to the third stage (final stage) full adder FA.
31 is connected. The addition output of the full adder FA31 is serially output from the output terminal 3 as the calculation result Dout.

上記全加算器FAII〜14.FA21.FA22及び
FA31 (以下、総称する場合、単に[全加算器FA
Jという。)には、それぞれキャリー保持用レジスタR
11〜14.R21,R22及びR31(以下、総称す
る場合、単に「キャリー保持用レジスタR」という。)
が接続されている。キャリー保持用レジスタRは、対応
の全加算器FAのキャリー出力を格納し、該キャリー出
力を1ビットタイム遅らせて同じ全加算器FAのキャリ
ー入力として出力する。そして、1つのキャリー保持用
レジスタRと、対応する1つの全加算器FAとにより1
つの直列加算器を構成している。
Said full adder FAII~14. FA21. FA22 and FA31 (Hereinafter, when collectively referred to, simply [full adder FA
It's called J. ) are each carry holding register R
11-14. R21, R22, and R31 (hereinafter collectively referred to as simply "carry holding register R")
is connected. The carry holding register R stores the carry output of the corresponding full adder FA, delays the carry output by one bit time, and outputs it as the carry input of the same full adder FA. Then, one carry holding register R and one corresponding full adder FA provide one
It consists of two series adders.

このように、シリアル演算回路は、8個のシリアルデー
タ入力DO〜D7に対し、直列加算器を2入力に1つの
割合で直列に接続して計算部10を構成し、最終段の直
列加算器(FA31.R31)の加算出力を演算結果D
 outとして、シリアルに出力する。
In this way, the serial arithmetic circuit configures the calculating section 10 by connecting serial adders in series with one for every two inputs for the eight serial data inputs DO to D7, and the final stage serial adder The addition output of (FA31.R31) is calculated as D
Outputs serially as out.

上記構成のシリアル演算回路は、直列加算器の3段構成
であるため、入力部1のシリアルデータ入力DO〜D7
にそれぞれビットデータの最上位ビットが取り込まれた
時刻から、3ビットタイム遅れて最終演算結果が出力端
子3より出力される。
Since the serial arithmetic circuit with the above configuration has a three-stage configuration of serial adders, the serial data inputs DO to D7 of the input section 1
The final operation result is output from the output terminal 3 after a three-bit time delay from the time when the most significant bit of the bit data is taken in, respectively.

したがって、前回のシリアルデータSDOの最上−位ビ
ットが入力部1に取り込まれた時刻から、3ビットタイ
ム以内の遅れで次のシリアルデータSDIの最下位ビッ
トが入力部1に取り込まれると、シリアルデータSD1
の最下位ビットの影響がシリアルデータSDOの演算結
果Dollに現れてしまう問題点があった。
Therefore, when the least significant bit of the next serial data SDI is fetched into the input section 1 with a delay of less than 3 bits from the time when the most significant bit of the previous serial data SDO was fetched into the input section 1, the serial data SD1
There is a problem in that the influence of the least significant bit of the serial data SDO appears in the calculation result Doll.

この問題点を解消するためのシリアル演算回路を第3図
に示す。同図に示すように、計算部10とは別に、入力
部1(便宜上、la、lbと分けて図示している。)の
8個のシリアルデータ入力DO〜D7に対し、全加算器
FAIL’〜14′FA21’ 、FA22’及びFA
31’並びにキャリー保持用レジスタR11′〜14′
R21’ 、R22’及びR31′からなる、計算部1
0と全く同一構成の計算部10′を入力部1に接続して
いる。
A serial arithmetic circuit for solving this problem is shown in FIG. As shown in the figure, in addition to the calculation unit 10, a full adder FAIL'~14'FA21',FA22' and FA
31' and carry holding registers R11' to 14'
Calculation unit 1 consisting of R21', R22' and R31'
A calculating section 10' having exactly the same configuration as that of 0 is connected to the input section 1.

そして、計算部10.10’の加算結果がセレクタ2の
八入力、B入力にそれぞれ取り込まれる。
Then, the addition results of the calculation units 10 and 10' are taken into the eight inputs and the B input of the selector 2, respectively.

セレクタ2はAモード時に計算部10の加算結果(A入
力)を、Bモード時に計算部10′の加算結果(B入力
)を、演算結果Doutとして選択的に出力端子3に出
力する。
The selector 2 selectively outputs the addition result (A input) of the calculation unit 10 in the A mode and the addition result (B input) of the calculation unit 10' in the B mode to the output terminal 3 as the calculation result Dout.

このように構成すると、前回のシリアルデータSDOの
最上位ビットが入力部1に取り込まれた時刻toから、
3ビットタイム以内の遅れで次のシリアルデータSD1
の最下位ビットが入力部1に取り込まれても、例えば、
セレクタ2をAモードに設定した状態で、時刻toまで
は入力部1を計算部10に接続し、時刻to後は入力部
1を計算部10′に接続するとともに、所望の演算結果
Doutを得る時刻までセレクタ2をAモードに設定し
続ける゛ことにより、シリアルデータSDIの最下位ビ
ットの影響がシリアルデータSDOの演算結果D ou
tに現れることなく、正確な演算結果Doutとして出
力することができる。
With this configuration, from the time to when the most significant bit of the previous serial data SDO was taken into the input section 1,
Next serial data SD1 with delay within 3 bit time
Even if the least significant bit of is taken into input section 1, for example,
With selector 2 set to A mode, input section 1 is connected to calculation section 10 until time to, and after time to, input section 1 is connected to calculation section 10' and desired calculation result Dout is obtained. By continuing to set the selector 2 to A mode until the time, the influence of the least significant bit of the serial data SDI becomes the operation result Dou of the serial data SDO.
It can be output as an accurate calculation result Dout without appearing in t.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のシリアル演算回路は以上のように構成されており
、2 個のmビットシリアルデータの加算結果を演算結
果D outとして最終的に得るには、(m+n)ビッ
トタイム要する。
The conventional serial arithmetic circuit is configured as described above, and it takes (m+n) bit time to finally obtain the addition result of two m-bit serial data as the arithmetic result D out.

−したがって、入力部1に順次取り込まれる相前後する
mビットシリアルデータの時間間隔がnビットタイム以
内の場合、第3図で示したシリアル演算回路のように、
通常(第2図)の倍の全加算器を設ける等、回路規模が
大きくなってしまう問題点があった。
- Therefore, if the time interval between successive m-bit serial data sequentially taken into the input section 1 is within n-bit time, as in the serial arithmetic circuit shown in FIG.
There is a problem in that the circuit scale becomes large, such as by providing twice the number of full adders as usual (FIG. 2).

この発明は上記のような問題点を解決するためになされ
たもので、回路規模を大きくすることなく、相前後する
シリアルデータの入力時間間隔が短くとも、後のシリア
ルデータの影響を受けることなく、前のシリアルデータ
の演算結果を出力することができるシリアル演算回路を
得ることを目的とする。
This invention was made to solve the above-mentioned problems, and even if the input time interval of successive serial data is short, without increasing the circuit scale, it is possible to avoid being affected by subsequent serial data. , the object is to obtain a serial arithmetic circuit that can output the arithmetic result of previous serial data.

〔課題を解決するための手段〕[Means to solve the problem]

この発明にかかるシリアル演算回路は、k(k≧3)個
のシリアルデータの加算合計値を演算結果としてシリア
ルに出力する回路であって、k個の1ビット入力端子を
有する入力部と、前記入力部に対し、直列加算器を2入
力に1つの割合で直列に接続して、最終段の直列加算器
より加算結果をシリアルに出力する第1の計算部と、前
記第1の計算部における、前記入力部に接続された初段
の直列加算器のキャリー保持用レジスタに対し、直列加
算器を2入力に1つの割合で直列に接続して、最終段の
直列加算器より加算結果をシリアルに出力する第2の計
算部と、前記第2の計算部の直列加算器のキャリー保持
用レジスタに、当該直列加算器のキャリー出力及び対応
段の対応する前記第1の計算部の直列加算器のキャリー
出力のうち、一方のキャリー出力を選択的に与える第1
の選択手段と、前記第1の計算部の加算結果及び前記第
2の計算部の加算結果のうち、一方の加算結果を前記演
算結果として選択的に出力する第2の選択手段とを備え
ている。
The serial arithmetic circuit according to the present invention is a circuit that serially outputs the sum of k (k≧3) serial data as an arithmetic result, and includes an input section having k 1-bit input terminals; a first calculating section which connects serial adders in series at a ratio of one for every two inputs to the input section and serially outputs the addition result from the final stage serial adder; , serial adders are connected in series at a ratio of one for every two inputs to the carry holding register of the first-stage serial adder connected to the input section, and the addition result is serially transmitted from the final-stage serial adder. The carry output of the serial adder and the corresponding serial adder of the first calculation unit of the corresponding stage are output to the carry holding register of the serial adder of the second calculation unit. The first one selectively gives one of the carry outputs.
and a second selection means for selectively outputting one of the addition results of the first calculation section and the addition results of the second calculation section as the calculation result. There is.

〔作用〕[Effect]

この発明おいては、以下に示す処理が可能となる。入力
部に与えられるシリアルデータの最上位ビットの入力時
刻まで、第1の選択手段により、第2の計算部の直列加
算器のキャリー保持用レジスタに、対応段の対応する第
1の計算部の直列加算−器のキャリー出力を与え、第2
の選択手段により、第1の計算部の加算結果を演算結果
として出力する。そして、シリアルデータの最上位ビッ
トの入力時刻を過ぎると、第1の選択手段により、第2
の直列加算器のキャリーレジスタに当該直列加算器のキ
ャリー出力を与え、・第2の選択手段により、jf12
の計算部の加算結果を演算結果として出力することによ
り、第1の計算部の初段の直列加算器のキャリー保持用
レジスタの出力に対する加算処理を行う。
In this invention, the following processing becomes possible. Until the input time of the most significant bit of the serial data applied to the input section, the first selection means selects the carry holding register of the serial adder of the second calculation section from the corresponding first calculation section of the corresponding stage. The carry output of the serial adder is given, and the second
The selection means outputs the addition result of the first calculation section as the calculation result. Then, when the input time of the most significant bit of the serial data has passed, the first selection means selects the second
The carry output of the serial adder is given to the carry register of the serial adder of jf12 by the second selection means.
By outputting the addition result of the calculation section as the calculation result, addition processing is performed on the output of the carry holding register of the first stage serial adder of the first calculation section.

〔実施例〕〔Example〕

第1図はこの発明の一実施例であるシリアル演算回路を
示す回路構成図である。
FIG. 1 is a circuit diagram showing a serial arithmetic circuit according to an embodiment of the present invention.

同図において、1は8個のシリアルデータ入力DO〜D
7を有する入力部である。入力部1のシリアルデータ入
力(DO,Di)、(D2.D3)(D4.D5)及び
(D6.D7)をそれぞれ加数入力として初段の全加算
器FAIL、FAI2、FA13及びFA14が接続さ
れている。そして、全加算器FAII、FAI2及び全
加算器FA13.FA14の加算出力をそれぞれ加数入
力として第2段の全加算器FA21及びFA22が接続
されている。この全加算器FA21及びFA2の加算出
力を加数入力として第3段(最終段)の全加算器FA3
1が接続されている。この全加算器FA31の加算出力
がセレクタ20の八入力に接続される。
In the same figure, 1 indicates eight serial data inputs DO to D.
7. The first-stage full adders FAIL, FAI2, FA13, and FA14 are connected with the serial data inputs (DO, Di), (D2.D3), (D4.D5), and (D6.D7) of input section 1 as addend inputs, respectively. ing. Then, full adders FAII, FAI2 and full adder FA13. Second-stage full adders FA21 and FA22 are connected, each using the addition output of FA14 as an addend input. The third stage (final stage) full adder FA3 uses the addition outputs of the full adders FA21 and FA2 as an addend input.
1 is connected. The addition output of this full adder FA31 is connected to eight inputs of the selector 20.

上記全加算器FA11〜14.FA21.FA22及び
FA31には、それぞれキャリー保持用レジスタR11
〜14.R21,R22及びR31が接続されている。
The full adders FA11-14. FA21. FA22 and FA31 each have a carry holding register R11.
~14. R21, R22 and R31 are connected.

キャリー保持用レジスタRは、対応の全加算器FAのキ
ャリー出力を格納し、該キャリー出力を1ビットタイム
遅らせて同じ全加算器FAのキャリー入力として出力す
る。そして、1つのキャリー保持用レジスタRと、対応
する1つの全加算器FAとにより1つの直列加算器を構
成している。
The carry holding register R stores the carry output of the corresponding full adder FA, delays the carry output by one bit time, and outputs it as the carry input of the same full adder FA. One serial adder is constituted by one carry holding register R and one corresponding full adder FA.

また、初段の全加算器FAII〜14には、さらにキャ
リー保持用補助レジスタ5RII〜5R14が接続され
ている。キャリー保持用補助しジスータSR11〜5R
14は、対応の全加算器FA11〜FA14のキャリー
出力を格納し、格納したキャリー出力を1ビットタイム
遅らせて、5R11及び5R12に格納したキャリー出
力は補助全加算器5FA21の加数入力とし、5R13
及び5R14に格納したキャリー出力は補助全加算器5
FA22の加数入力としている。
Further, the first-stage full adders FAII-14 are further connected with carry holding auxiliary registers 5RII-5R14. Carry holding aid SR11~5R
14 stores the carry outputs of the corresponding full adders FA11 to FA14, delays the stored carry outputs by 1 bit time, and the carry outputs stored in 5R11 and 5R12 are used as the addend input of the auxiliary full adder 5FA21, and 5R13
And the carry output stored in 5R14 is sent to the auxiliary full adder 5.
It is used as the addend input of FA22.

補助全加算器5FA21及び5FA22の加算出力は、
補助全加算器5FA31の加数入力となる。そして、補
助全加算器5FA31の加算出力がセレクタ20のB入
力に接続される。
The addition outputs of the auxiliary full adders 5FA21 and 5FA22 are:
It becomes the addend input of the auxiliary full adder 5FA31. Then, the addition output of the auxiliary full adder 5FA31 is connected to the B input of the selector 20.

また、補助全加算器5FA21,5FA22及び5FA
31のキャリー出力はセレクタ21.22及び31のB
入力に与えられる。これらのセレクタ21.22及び3
1のA入力には、全加算器FA21.FA22及びFA
31のキャリー出力が与えられる。セレクタ21.22
及び31は、A入力及びB入力より得られたキャリー出
力のうち一方を、選択的にキャリー保持用補助レジスタ
5R21,22及び31に出力する。キャリー保持用補
助レジスタ5R21,22及び31は、格納したキャリ
ー出力を1ビットタイム遅らせて、対応の補助全加算器
5FA21,22及び31のキャリー入力として出力す
る。また、セレクタ20は、八入力及びB入力より得ら
れた加算出力のうち一方を、選択的に演算結果D ou
tとして出力端子3より出力する。
In addition, auxiliary full adders 5FA21, 5FA22 and 5FA
The carry output of 31 is the selector 21, 22 and B of 31.
given to the input. These selectors 21, 22 and 3
A full adder FA21. FA22 and FA
31 carry outputs are provided. Selector 21.22
and 31 selectively output one of the carry outputs obtained from the A input and the B input to the carry holding auxiliary registers 5R21, 22, and 31. The carry holding auxiliary registers 5R21, 22 and 31 delay the stored carry output by one bit time and output it as a carry input to the corresponding auxiliary full adders 5FA21, 22 and 31. Further, the selector 20 selectively selects one of the addition outputs obtained from the eight inputs and the B input as the calculation result D ou
It is output from output terminal 3 as t.

このように、シリアル演算回路は、8個のシリアルデー
タ入力DO〜D7に対し、キャリー保持用レジスタRと
全加算器FAにより成る直列加算器を2入力に1つの割
合で直列に接続して構成さ・れた計算部と、キャリー保
持用補助レジスタ5R11〜5R14の出力に対し、キ
ャリー保持用補助レジスタSRと補助全加算器SFAと
セレクタより成る直列加算器を2入力に1つの割合で直
列に接続して構成された補助計算部とが設けられている
。そして、セレクタ20により、計算部及び補助計算部
のうち、一方の加算結果を選択的に演算結果D out
として出力する。
In this way, the serial arithmetic circuit is configured by connecting serial adders consisting of a carry holding register R and a full adder FA in series for the eight serial data inputs DO to D7 at a ratio of one for every two inputs. A serial adder consisting of a carry holding auxiliary register SR, an auxiliary full adder SFA, and a selector is connected in series to the outputs of the calculated calculation unit and carry holding auxiliary registers 5R11 to 5R14 at a ratio of one for every two inputs. An auxiliary calculation section configured in connection is provided. Then, the selector 20 selectively selects the addition result of one of the calculation section and the auxiliary calculation section as the calculation result D out
Output as .

このような構成において、通常時はセレクタ20−.2
1.22及び31は、八入力より得たビットデータを選
択して、計算部の加算結果を演算結果D outとして
出力する。この時、キャリー保持用補助レジスタ5R2
1,22及び31に、全加算器FA21.22及び31
のキャリー出力が格納される。これは、通常時から後述
するキャリー演算モードに移った時に、補助計算部が、
それまでに入力されたシリアルデータのキャリー出力を
考慮して、正確に加算結果を導出できるようにするため
に行われる。そして、前回のシリアルデータSDOの最
上位ビットが入力部1に取り込まれた時刻toを過ぎる
と、キャリー演算モードに移り、セレクタ20〜22及
び31は、B入力より得たビットデータを選択して出力
し、補助計算部の加算結果を演算結果D outとして
出力する。
In such a configuration, normally the selectors 20-. 2
1.22 and 31 select the bit data obtained from the eight inputs and output the addition result of the calculation section as the calculation result D out. At this time, carry holding auxiliary register 5R2
1, 22 and 31, full adder FA21.22 and 31
The carry output of is stored. This means that when switching from normal mode to carry operation mode, which will be described later, the auxiliary calculation section
This is done in order to be able to accurately derive the addition result by taking into account the carry output of the serial data that has been input up to that point. Then, when the time to when the most significant bit of the previous serial data SDO was taken into the input section 1 has passed, the mode shifts to carry operation mode, and the selectors 20 to 22 and 31 select the bit data obtained from the B input. The addition result of the auxiliary calculation section is output as the calculation result D out.

補助計算部の加算処理は、キャリー保持用補助レジスタ
5R11〜5R14の出力に基づき行われているため、
次に入力部1に取込まれたシリアルデータSDIの最下
位ビットが、補助計算部のシリアルデータSDOの加算
処理に影響を与える時刻は、キャリー保持用補助レジス
タ5RII〜5R14を通過する分、従来より1ピツト
タイム遅れることになる。したがって、時刻toから3
ビットタイム以上遅れて、シリアルデータ8−Dlの最
下位ビットが取込まれても、シリアルデータSDIの最
下位ビットの影響をシリアルデータ会DOの演算結果D
outに現れなくすることができる。
Since the addition process of the auxiliary calculation section is performed based on the outputs of the carry holding auxiliary registers 5R11 to 5R14,
Next, the time at which the least significant bit of the serial data SDI taken into the input section 1 influences the addition processing of the serial data SDO in the auxiliary calculation section is longer than that of the conventional This will result in a one pit time delay. Therefore, from time to 3
Even if the least significant bit of the serial data 8-Dl is captured with a delay of more than the bit time, the effect of the least significant bit of the serial data SDI is calculated as the calculation result D of the serial data association DO.
It can be made not to appear in out.

また、全加算器の数も、第3図のシリアル演算回路に比
べ4個減らすことができるため、回路規模を小さくする
ことができる。つまり、2 個のmビットシリアルデー
タの加算を行うシリアル演算回路を本実施例のように構
成すれば、第3図の−1 ような構成のシリアル演算回路に比べ2  個の全加算
器を減らすことができる なお、本実施例では、8個(−23個)のシリアルデー
タの加算を行うシリアル演算回路について述べたが、こ
れに限定されない。また、全加算器FA、SFA、キャ
リー保持用レジスタR,SR並びにセレクタ20.21
.22及び31は、その機能を果たすものであれば、い
かなるものであってもよい。
Furthermore, the number of full adders can be reduced by four compared to the serial arithmetic circuit shown in FIG. 3, so the circuit scale can be reduced. In other words, if the serial arithmetic circuit that adds two m-bit serial data is configured as in this embodiment, the number of full adders will be reduced by two compared to the serial arithmetic circuit configured as shown in Figure 3. In this embodiment, a serial arithmetic circuit that adds 8 (-23) pieces of serial data has been described, but the present invention is not limited to this. In addition, full adders FA and SFA, carry holding registers R and SR, and selectors 20 and 21
.. 22 and 31 may be of any type as long as they fulfill their functions.

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

以上説明したように、この発明によれば、以下に示す処
理が可能となる。入力部に与えられるシリアルデータの
最上位ビットの入力時刻まで、第1の選択手段により、
第2の計算部の直列加算器のキャリー保持用レジスタに
、対応段の対応する第1の計算部の直列加算器のキャリ
ー出力を与え、第2の選択手段により、第1の計算部の
加算結果を演算結果として出力する。そして、シリアル
データの最上位ビットの入力時刻を過ぎると、第1の選
択手段により、第2の直列加算器のキャリーレジスタに
当該直列加算器のキャリー出力を与え、第2の選択手段
により、第2の計算部の加算結果を演算結果として出力
することにより、第1の計算部の初段の直列加算器のキ
ャリー保持用レジスタの出力に対する加算処理を行う。
As explained above, according to the present invention, the following processing becomes possible. Until the input time of the most significant bit of the serial data applied to the input section, the first selection means selects
The carry output of the serial adder of the corresponding first calculation unit of the corresponding stage is given to the carry holding register of the serial adder of the second calculation unit, and the second selection means selects the carry output of the serial adder of the first calculation unit of the corresponding stage. Output the result as a calculation result. Then, when the input time of the most significant bit of the serial data has passed, the first selection means applies the carry output of the serial adder to the carry register of the second serial adder, and the second selection means applies the carry output of the serial adder to the carry register of the second serial adder. By outputting the addition result of the second calculation section as the calculation result, addition processing is performed on the output of the carry holding register of the first stage serial adder of the first calculation section.

第2の計算部は、第1の計算部の初段の直列加算器のキ
ャリー保持用レジスタの出力に基づき加算処理を行って
いるため、相前後するシリアルデータにおいて、後のシ
リアルデータが、前のシリアルデータの演算結果に影響
を与える時間をキャリー保持用レジスタを通過する時間
である、1ビットタイム遅らせることができる。その結
果、相前後するシリアルデータの入力時間間隔を従来よ
り1ビットタイム短くしても、後のシリアルデータの影
響を受けることなく、前のシリアルデータの演算結果を
出力することができる。
The second calculation unit performs addition processing based on the output of the carry holding register of the first stage serial adder of the first calculation unit, so that in consecutive serial data, the later serial data is different from the previous serial data. The time that affects the operation result of serial data can be delayed by 1 bit time, which is the time for passing through the carry holding register. As a result, even if the input time interval of successive serial data is shortened by 1 bit time compared to the conventional method, the calculation result of the previous serial data can be output without being affected by the subsequent serial data.

また、初段の直列加算器の数は、通常構成のシリアル演
算回路における初段の直列加算器の数と同一に抑えてい
るため、回路規模もさ程大きくならない。
Further, since the number of first-stage serial adders is kept to be the same as the number of first-stage serial adders in a serial arithmetic circuit with a normal configuration, the circuit scale does not increase significantly.

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

第1図はこの発明の一実施例であるシリアル演算回路を
示す回路構成図、第2図及び第3図は従来のシリアル演
算回路を示す回路構成図である。 図において、1は入力部、20,21.22及び31は
セレクタ、3は出力端子、FA11〜14、FA21.
FA22及びFA31は全加算器、εFA21,5FA
22及び5FA31は補助全加算器、R11〜14.R
21,R22及びR31はキャリー保持用レジスタ、S
R11〜14゜5R21,5R22及び、5R31はキ
ャリー保持用補助レジスタである。 なお、各図中同一符号は同一または相当部分を示す。 第 2 図
FIG. 1 is a circuit diagram showing a serial arithmetic circuit according to an embodiment of the present invention, and FIGS. 2 and 3 are circuit diagrams showing conventional serial arithmetic circuits. In the figure, 1 is an input section, 20, 21, 22, and 31 are selectors, 3 is an output terminal, FA11-14, FA21.
FA22 and FA31 are full adders, εFA21, 5FA
22 and 5FA31 are auxiliary full adders, R11 to 14. R
21, R22 and R31 are carry holding registers, S
R11 to 14 degrees 5R21, 5R22 and 5R31 are auxiliary registers for holding carry. Note that the same reference numerals in each figure indicate the same or corresponding parts. Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)k(k≧3)個のシリアルデータの加算合計値を
演算結果としてシリアルに出力するシリアル演算回路で
あって、 k個の1ビット入力端子を有する入力部と、前記入力部
に対し、直列加算器を2入力に1つの割合で直列に接続
して、最終段の直列加算器より加算結果をシリアルに出
力する第1の計算部と、前記第1の計算部における、前
記入力部に接続された初段の直列加算器のキャリー保持
用レジスタに対し、直列加算器を2入力に1つの割合で
直列に接続して、最終段の直列加算器より加算結果をシ
リアルに出力する第2の計算部と、 前記第2の計算部の直列加算器のキャリー保持用レジス
タに、当該直列加算器のキャリー出力及び対応段の対応
する前記第1の計算部の直列加算器のキャリー出力のう
ち、一方のキャリー出力を選択的に与える第1の選択手
段と、 前記第1の計算部の加算結果及び前記第2の計算部の加
算結果のうち、一方の加算結果を前記演算結果として選
択的に出力する第2の選択手段とを備えたシリアル演算
回路。
(1) A serial arithmetic circuit that serially outputs the addition total value of k (k≧3) pieces of serial data as an arithmetic result, comprising an input section having k 1-bit input terminals, and an input section for the input section. , a first calculation unit which connects series adders in series at a ratio of one to two inputs and serially outputs the addition result from the final stage serial adder; and the input unit in the first calculation unit. The serial adder is connected in series at a ratio of one to two inputs to the carry holding register of the first stage serial adder connected to the second stage, and the addition result is serially output from the final stage serial adder. and a carry holding register of the serial adder of the second calculation unit, the carry output of the serial adder and the carry output of the corresponding serial adder of the first calculation unit of the corresponding stage are stored in the carry holding register of the serial adder of the second calculation unit. , a first selection means for selectively giving one carry output, and selectively selecting one of the addition results of the first calculation unit and the addition result of the second calculation unit as the operation result. a serial arithmetic circuit comprising a second selection means for outputting an output to the second selection means;
JP32933289A 1989-12-18 1989-12-18 Serial operation circuit Expired - Lifetime JP2617591B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32933289A JP2617591B2 (en) 1989-12-18 1989-12-18 Serial operation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32933289A JP2617591B2 (en) 1989-12-18 1989-12-18 Serial operation circuit

Publications (2)

Publication Number Publication Date
JPH03188522A true JPH03188522A (en) 1991-08-16
JP2617591B2 JP2617591B2 (en) 1997-06-04

Family

ID=18220269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32933289A Expired - Lifetime JP2617591B2 (en) 1989-12-18 1989-12-18 Serial operation circuit

Country Status (1)

Country Link
JP (1) JP2617591B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08234963A (en) * 1995-02-24 1996-09-13 Nec Corp Arithmetic unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08234963A (en) * 1995-02-24 1996-09-13 Nec Corp Arithmetic unit

Also Published As

Publication number Publication date
JP2617591B2 (en) 1997-06-04

Similar Documents

Publication Publication Date Title
US6692534B1 (en) Specialized booth decoding apparatus
US5721809A (en) Maximum value selector
EP0416869B1 (en) Digital adder/accumulator
US5113362A (en) Integrated interpolator and method of operation
JP3003467B2 (en) Arithmetic unit
JPH09222991A (en) Adding method and adder
JPH03188522A (en) Serial arithmetic circuit
US6199090B1 (en) Double incrementing, low overhead, adder
JPH07112146B2 (en) Variable delay circuit
US5031137A (en) Two input bit-serial multiplier
US7277909B2 (en) High speed adder
JP2991788B2 (en) Decoder
KR100567643B1 (en) Zero determination signal generating circuit
US6317771B1 (en) Method and apparatus for performing digital division
JPH0246598A (en) Variable length shift register
JPS615345A (en) Serial multiplication method
US5821850A (en) Method and apparatus for comparing magnitude of data from a plurality of data sources
KR0182169B1 (en) Log value calculation circuit
JP3412368B2 (en) Bit serial squaring circuit
KR0157337B1 (en) Multibit Adder in Digital Signal Processor
JP3521558B2 (en) Transmission equipment
JP4428819B2 (en) Multi-input data sorting circuit
JPS63163927A (en) multiplication circuit
JPH05738B2 (en)
JP2000172487A (en) Multiplier circuit and method therefor