JPH01304579A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH01304579A
JPH01304579A JP13615988A JP13615988A JPH01304579A JP H01304579 A JPH01304579 A JP H01304579A JP 13615988 A JP13615988 A JP 13615988A JP 13615988 A JP13615988 A JP 13615988A JP H01304579 A JPH01304579 A JP H01304579A
Authority
JP
Japan
Prior art keywords
bit
data
input
adder
register
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
JP13615988A
Other languages
Japanese (ja)
Inventor
Sumitaka Takeuchi
竹内 澄高
Keisuke Okada
圭介 岡田
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 JP13615988A priority Critical patent/JPH01304579A/en
Publication of JPH01304579A publication Critical patent/JPH01304579A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To reduce the circuit area independently of the number of accumulated data by converting the data rate of input data so that the number of input data and the number of accumulated data are equalized. CONSTITUTION:Input data is inputted to an n-bit register 3 from an input terminal 1, and the data rate is converted by an m-bit register 4. A one-bit adder 6 adds input data of the m-bit register 4 and accumulated data of the m-bit register 5 bit by bit. Carry of this adder 6 is outputted to a one-bit register 7. The addition output of the one-bit adder 6 is outputted through an m-bit register 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はシリアルに入力されるデータを用いて累積加算
を行なう半導体集積回路、いわゆる累積加算器に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor integrated circuit that performs cumulative addition using serially input data, a so-called cumulative adder.

〔従来の技術〕[Conventional technology]

従来、この種の累積加算器は、その基本構成を第2図に
示すように、シリアルの入力データが入力されるnビッ
トレジスタ10と、累積データのためのmビットレジス
タ11と、mビット加算器12とからなり、シリアルに
入力される入力データと累積データを累積加算するもの
となっている。
Conventionally, this type of accumulative adder has a basic configuration as shown in FIG. It is configured to cumulatively add serially input input data and cumulative data.

なお、第2図において、1は入力データをシリアルに入
力する入力端子、2は累積データをシリアルに出力する
ための出力端子でありAo%An−、はnビットの入力
データを、so ”5m−1ハmヒツトの累積データを
それぞれ示す。
In Fig. 2, 1 is an input terminal for serially inputting input data, 2 is an output terminal for serially outputting accumulated data, and Ao%An-, represents n-bit input data, so "5m -1 Ham human cumulative data are shown respectively.

次に動作について説明する。Next, the operation will be explained.

まず、入力端子1からnビットの入力データA。First, input data A of n bits is input from input terminal 1.

〜An−,がシリアルにnビットレジスタ10に入力さ
れる。すると、この各ビットのレジスタ10の出力がm
ビット加算器12の一方の入力端に入力される。すなわ
ち、シリアルに入力されたデータA。−Ayl−1は、
nビットパラレルにmビット加算器12の一方の入力端
に入力される。ここで、(m−、)ビットのmビット加
算器12の一方の入力端には「0」が入力されているも
のとする。
~An-, is serially input to the n-bit register 10. Then, the output of the register 10 for each bit is m
It is input to one input terminal of the bit adder 12. That is, data A is serially input. -Ayl-1 is
The n bits are input in parallel to one input terminal of the m bit adder 12. Here, it is assumed that "0" is input to one input terminal of the m-bit adder 12 of (m-,) bits.

また、mビット加算器12の他方の入力端には、mビッ
トの累積データSo−8m−1が入力されており、この
加算器12は入力データと累積データの累積加算を行な
う。そして、mビット加算器12の出力はmビットレジ
スタ11に累積データとして入力される。以上の動作が
繰り返えされ、入力データの累積加算が行なわれる。な
お、この累積加算の終了後、累積データはmビットレジ
スタ11からシリアルに出力端子2に出力され、同時に
mビットレジスタ11はOにリセットされるものとなっ
ている。
Furthermore, m-bit cumulative data So-8m-1 is input to the other input terminal of the m-bit adder 12, and this adder 12 performs cumulative addition of the input data and the cumulative data. The output of the m-bit adder 12 is input to the m-bit register 11 as accumulated data. The above operations are repeated to perform cumulative addition of input data. Note that after this cumulative addition is completed, the accumulated data is serially output from the m-bit register 11 to the output terminal 2, and at the same time, the m-bit register 11 is reset to O.

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

しかし、従来の累積加算器は以上のように構成されてい
るので、累積データ数に応じた加算器が必要となり、累
積データ数が多くなると半導体集積回路の回路面積が増
大するという問題点があった。
However, since the conventional cumulative adder is configured as described above, an adder corresponding to the number of accumulated data is required, and as the number of accumulated data increases, the circuit area of the semiconductor integrated circuit increases. Ta.

本発明は上記のような問題点を解決するためになされた
もので、シリアルに入力されるデータを1ビット毎に累
積加算することにより、累積データ数に関係なく、回路
面積を小さくできる半導体集積回路を提供することを目
的とする。
The present invention has been made in order to solve the above-mentioned problems, and provides a semiconductor integrated circuit that can reduce the circuit area regardless of the amount of accumulated data by cumulatively adding serially input data bit by bit. The purpose is to provide circuits.

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

本発明に係る半導体集積回路は、シリアルに入力される
データのデータレートを変換して入力データ数を累積デ
ータ数と同じにすることにより、1ビット加算器と1ビ
ットレジスタを用いて累積加算を行なうようにしたもの
である。
The semiconductor integrated circuit according to the present invention performs cumulative addition using a 1-bit adder and a 1-bit register by converting the data rate of serially input data to make the number of input data equal to the number of cumulative data. This is what I decided to do.

〔作用〕[Effect]

本発明における半導体集積回路は、入力データ数と累積
データ数が同じになるように入力データのデータレート
を変換することにより、1ビット加算器とレジスタを用
いて累積加算を行なうことができ、回路面積が小さくな
る。
The semiconductor integrated circuit of the present invention can perform cumulative addition using a 1-bit adder and register by converting the data rate of input data so that the number of input data and the number of cumulative data are the same. The area becomes smaller.

〔実施例〕〔Example〕

以下、本発明を図面に示す実施例に基づいて詳細に説明
する。
Hereinafter, the present invention will be described in detail based on embodiments shown in the drawings.

第1図は本発明の一実施例による累積加算器の基本構成
を示すブロック図である。同図において、1は入力デー
タを7リアルに入力する入力端子、2は累積データをシ
リアルに出力するための出力端子であり、3は入力デー
タのためのnビットレジスタ、4はこのレジスタ3に蓄
えられる入力データのデータレートを変換するだめのm
ビットレジスタである。また、5は後述する1ビット加
算器の累積加算出力のためのmビットレジスタ、6は前
記mビットレジスタ4の入力データとmビットレジスタ
5の累積データを1ビット毎に累積加算するための1ビ
ット加算器、Tはこの1ビット加算器6のキャリー出力
のための1ビットレジスタである。なお、AO−An−
1はnビットの入力データを、so−sm−1はmビッ
トの累積データをそれぞれ示す。
FIG. 1 is a block diagram showing the basic configuration of an accumulative adder according to an embodiment of the present invention. In the figure, 1 is an input terminal for inputting input data in 7 reals, 2 is an output terminal for serially outputting accumulated data, 3 is an n-bit register for input data, and 4 is an input terminal for this register 3. m for converting the data rate of stored input data
It is a bit register. Further, 5 is an m-bit register for cumulative addition output of a 1-bit adder to be described later, and 6 is 1 for cumulatively adding the input data of the m-bit register 4 and the cumulative data of the m-bit register 5 bit by bit. The bit adder T is a 1-bit register for the carry output of this 1-bit adder 6. In addition, AO-An-
1 indicates n-bit input data, and so-sm-1 indicates m-bit accumulated data.

次に、上記実施例構成の動作を説明する。ここで、説明
を簡単にするために入力データがnビットで、累積デー
タがNXn(=m)ビットとする(ただし、N=1.2
,3.・1」・の任意の整数)。まず、入力端子1から
nビットの入力データAo−A41−xがシリアルにn
ビットレジスタ3に入力される。すると、この各ビット
のレジスタ3の出力がデータレートを変換するためのN
Xn(=m)ビットレジスタ4に入力される。すなわち
、シリアルに入力されたデータAo〜An−1はnビッ
トパラレルにNxn(=m)ピットレジスタ4に入力さ
れる。ここで、NXn(=rrl)ピットレジスタ4の
An〜Am伺の上位(N−t)nビットについては「0
」が入力されているものとする。
Next, the operation of the configuration of the above embodiment will be explained. Here, to simplify the explanation, it is assumed that the input data is n bits and the cumulative data is NXn (=m) bits (N=1.2
,3.・1”・any integer). First, n bits of input data Ao-A41-x are serially input from input terminal 1.
Input to bit register 3. Then, the output of register 3 for each bit is N for converting the data rate.
Xn (=m) is input to the bit register 4. That is, serially input data Ao to An-1 is input to the Nxn (=m) pit register 4 in n-bit parallel fashion. Here, the upper (N-t) n bits from An to Am of the NXn (=rrl) pit register 4 are "0".
” is entered.

そして、NX n (=r11 )ピットレジスタ4は
、入力データのN倍のデータレートでAo〜Am−、の
データをシリアルに1ビット加算器6の一方の入力端に
入力する。すなわち、nビットの入力データのデータレ
ートをN倍することにより、累積データと同じNX n
 (=m )ビットのデータ(ただし上位(N−1)n
ビットは「0」が入力されている)として1ビット加算
器6に入力することができる。また、1ビット加算器6
の他方の入力端には、NX n (−m )ビットの累
積データSo〜Sm−,がシリアルに入力され、この加
算器6は、入力データと累積データの累積加算を1ビッ
ト毎に行なう。ここで1ビット加算器6のキャリー出力
は、1ビットレジスタ7に入力され、次のビットで累積
加算を行なうときに1ビット加算器6のキャリー人力と
々る。そして、1ビット加算器6の出力はNXn(=m
)ピットレジスタ5に累積データとしてシリアルに入力
される。以上の動作が繰り返えされ、入力データの累積
加算が行なわれる。
The NX n (=r11) pit register 4 serially inputs data from Ao to Am- to one input end of the 1-bit adder 6 at a data rate N times the input data. That is, by multiplying the data rate of n-bit input data by N times, the data rate of n-bit input data is NX n
(=m) bits of data (upper (N-1) n
The bit can be input to the 1-bit adder 6 as "0" is input. Also, the 1-bit adder 6
NX n (-m) bits of cumulative data So to Sm- are serially input to the other input terminal of the adder 6, and the adder 6 performs cumulative addition of the input data and the cumulative data bit by bit. Here, the carry output of the 1-bit adder 6 is input to the 1-bit register 7, and the carry output of the 1-bit adder 6 is taken when performing cumulative addition with the next bit. Then, the output of the 1-bit adder 6 is NXn (=m
) Serially input to the pit register 5 as cumulative data. The above operations are repeated to perform cumulative addition of input data.

なお、この累積加算の終了後、累積データはNXn(=
m)ピットレジスタ5からシリアルに出力端子2に出力
され、同時にNxn(=m)ピットレジスタ5と1ビッ
トレジスタ7は0にリセットされることになる。
Note that after this cumulative addition is completed, the cumulative data is NXn (=
m) The data is serially output from the pit register 5 to the output terminal 2, and at the same time, the Nxn (=m) pit register 5 and the 1-bit register 7 are reset to 0.

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

以上のように本発明によれば、入力データ数と累積デー
タ数が同じになるように入力データのデータレ−If変
換して、1ビット加算器と1ビットレジスタを用いて累
積加算を行なうようにしたので、1ビット毎に累積加算
することができ、半導体集積回路の回路面積が小さくな
る効果がある。
As described above, according to the present invention, data rate-If conversion of input data is performed so that the number of input data and the number of accumulated data are the same, and cumulative addition is performed using a 1-bit adder and a 1-bit register. Therefore, cumulative addition can be performed for each bit, which has the effect of reducing the circuit area of the semiconductor integrated circuit.

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

第1図は本発明による半導体集積回路の一実施例を示す
ブロック図、第2図は従来の累積加算器を示すブロック
図である。 1・・・・入力端子、2・・・・出力端子、3・・・@
nビットレジスタ、4・・・・mビットレジスタ、5・
・・ejrlビットレジスタ、6・・・・1ビット加算
器、T・・・・1ビットレジスタ、An〜Aロー、・0
・・入力データ、Soゝsm−。 ・・・・累積データ。
FIG. 1 is a block diagram showing an embodiment of a semiconductor integrated circuit according to the present invention, and FIG. 2 is a block diagram showing a conventional cumulative adder. 1...Input terminal, 2...Output terminal, 3...@
n-bit register, 4... m-bit register, 5...
...ejrl bit register, 6...1 bit adder, T...1 bit register, An~A low, -0
...Input data, Sosm-. ...cumulative data.

Claims (1)

【特許請求の範囲】[Claims] シリアルに入力される入力データのデータレートを変換
するための複数ビットのレジスタと、このレジスタに蓄
えられる前記入力データと累積データを1ビット毎に累
積加算する1ビット加算器と、この加算器のキャリー出
力のための1ビットレジスタと、前記1ビット加算器の
累積加算出力のための複数ビットのレジスタとを備えた
ことを特徴とする半導体集積回路。
A multi-bit register for converting the data rate of serially inputted input data, a 1-bit adder for cumulatively adding the input data and accumulated data stored in this register bit by bit, and this adder. A semiconductor integrated circuit comprising: a 1-bit register for carry output; and a multi-bit register for cumulative addition output of the 1-bit adder.
JP13615988A 1988-06-01 1988-06-01 Semiconductor integrated circuit Pending JPH01304579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13615988A JPH01304579A (en) 1988-06-01 1988-06-01 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13615988A JPH01304579A (en) 1988-06-01 1988-06-01 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH01304579A true JPH01304579A (en) 1989-12-08

Family

ID=15168696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13615988A Pending JPH01304579A (en) 1988-06-01 1988-06-01 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH01304579A (en)

Similar Documents

Publication Publication Date Title
JPH06181438A (en) Digital Delta-Sigma Modulator
JPS59157811A (en) Data interpolating circuit
JPH01220528A (en) Parity generator
JP4595055B2 (en) Galois field α multiplication circuit and arithmetic circuit
JPH07118630B2 (en) Signal processing circuit for multiplication
JP2001034457A (en) Addition / subtraction circuit
KR100434364B1 (en) Serial adder
CN1758694A (en) Device for generation confortable noise
JP3155026B2 (en) Accumulator
JPH05224888A (en) Variable point position type data multiplication circuit
JP2508864B2 (en) Digital logic operation circuit
JP2599984B2 (en) Input data peak value detection circuit
JPH0642632B2 (en) Arithmetic unit on Galois field
JP2001211083A (en) CRC output operation device
JPH03109670A (en) Accumulator
JPH0628151A (en) Parallel latch circuit for serial data
JPS63163927A (en) Multiplication circuit
JPH0362738A (en) Arithmetic device
JPS62184534A (en) Arithmetic circuit
JPS61105640A (en) Parallel complement circuit
JPH0683853A (en) Microcomputer
JPH0514128A (en) Digital Filter
JPH0561644A (en) Cumulative addition circuit
JPH10271008A (en) Binary-decimal conversion circuit
JPH02178831A (en) Circuit and method for multiplying data by-1