JPS6388639A - Pipeline adding circuit - Google Patents

Pipeline adding circuit

Info

Publication number
JPS6388639A
JPS6388639A JP61233536A JP23353686A JPS6388639A JP S6388639 A JPS6388639 A JP S6388639A JP 61233536 A JP61233536 A JP 61233536A JP 23353686 A JP23353686 A JP 23353686A JP S6388639 A JPS6388639 A JP S6388639A
Authority
JP
Japan
Prior art keywords
bit
latch
bits
adder circuit
circuit
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
JP61233536A
Other languages
Japanese (ja)
Other versions
JPH0445858B2 (en
Inventor
Naoji Okumura
奥村 直司
Tetsuo Kuchiki
朽木 哲雄
Masaaki Fujita
正明 藤田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61233536A priority Critical patent/JPS6388639A/en
Publication of JPS6388639A publication Critical patent/JPS6388639A/en
Publication of JPH0445858B2 publication Critical patent/JPH0445858B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a circuit in scale by changing the bit allocation of a pipeline processing in an adder circuit. CONSTITUTION:Latches 35 and 36 to match the timing of an input signal A and a latch 37 to delay one step of a high order (m) bit, namely, one clock of a reference clock pulse in order to execute the pipeline processing are provided. The latch of latches 49-51 is the same as respective latches 35-37. Next, the output of latches 36 and 50 of an (n) bit is added by an (n) bit adder circuit 38, a carry enters an adder circuit 40 of a high-order (m) bit after one clock is delayed by a latch 39, is added and the result of an (m+n+1) bit is obtained. Next, an LSB is thrown away, an (m+n) bit is obtained, and the then method of the allocation of the bit is a high-order (m+1) bit and a low- oder (n-1). Thus, though the LSB is thrown away and the number of bits is dropped, the result of the high order adder circuit in the pipeline processing may not be dropped to a next step low order adder circuit, and the scale of the circuit becomes smaller.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、デジタル信号処理にてパイプライン処理の際
の加算器のビット振り分けを行うようシてしたパイプラ
イン加算回路:′こ関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a pipeline adder circuit that allocates bits in an adder during pipeline processing in digital signal processing.

従来の技術 近年、デジタル18月処理において、加算器などの遅延
時間が問題となり、パイプライン処理元:行われるよう
になってきている。
BACKGROUND OF THE INVENTION In recent years, delay time in adders and the like has become a problem in digital digital processing, and pipeline processing has begun to be used.

以下、図面を参照しながら」−述のバイブラ、イン処理
回路について説明する。第2 ’J、& i’j:洋米
例の加算回路音用いた回路であり、第3[シ1はそれを
パイグラ1′ン処理I−1戸−回路看:示すも・わであ
る。
Hereinafter, the above-mentioned vibra-in processing circuit will be explained with reference to the drawings. 2nd 'J, &i'j: This is a circuit using the adder circuit sound of Western and American examples, and the 3rd [1] is a circuit that uses pie graphing processing. .

第2図Cζよ、・い−て、27,28,30,32゜3
3.34はB +nビットのラッチ、29 、31!″
;j: m +nビット加算器である。また、この第2
図の回路(、i:、 D == ((A+B )/2十〇 +/2という演算
を二行っでいる。ところが高い周波数のデータを扱うと
きなど、29.31の加算回路の】Y延時1114が問
題となってくる。したが−って加算回路全mビットとn
ビット(・こ分けて演算するバイプラ・イン処理を常1
うよう【て。tっだ。
Figure 2 Cζ, 27, 28, 30, 32°3
3.34 is a B+n bit latch, 29, 31! ″
;j: m + n bit adder. Also, this second
The circuit shown in the figure (i:, D == ((A+B)/200 +/2 is performed in two lines. However, when handling high frequency data, etc., the addition circuit of 29.31) 1114 becomes a problem. Therefore, the adder circuit has all m bits and n bits.
Bits
Uyo [te. It's t.

第3メ1 (/7:おいて、1.3.13.10,15
゜1了、 19 、20 、22 、24 、26はm
ビットのラッチ、2,7,9.14g16,18,21
 。
3rd Me 1 (/7: put, 1.3.13.10,15
゜1, 19, 20, 22, 24, 26 are m
Bit latch, 2, 7, 9.14g16, 18, 21
.

23 、255J: nビットのラッチ、5,12は1
ビyト:つラッチ、4.11ijnビットの加算回路。
23, 255J: n-bit latch, 5, 12 are 1
Bit: 1 latch, 4.11 bit adder circuit.

6 、 t :]まmビmピッ加算回路である。また、
ラッチ1.2d入入力量Aのタイミングを揃えるラッチ
であり、ラッチ3ぽ上位mビット全バイブライン処理す
るために、−段遅らぜるラッチである。
6, t:] is an m-bit m-pi addition circuit. Also,
Latch 1.2d is a latch that aligns the timing of the input input amount A, and latch 3p is a latch that delays by -stage in order to process all the upper m bits of the vibe line.

17.18および19も前記ラッチ1,2および3と同
様のラッチで、その出力は加算回路4,6に入る。nビ
ット加算回路4で下位nビットの加算がなされ、キャリ
はラッチ5で一段遅らせてmビットの加算回路6に入る
。そして、その結果とI−てm +n −i−’Iビッ
トKlなったのをLSBを捨ててz+nビットとし、即
ち(人士B)/2とし、次の加算回路11.13へ入り
、同様の加算を行い、[(A+B )/2七C)/2の
4算を行ってm+nビットの結果を得る。
17, 18 and 19 are also latches similar to latches 1, 2 and 3, and their outputs enter adder circuits 4 and 6. The n-bit adder circuit 4 adds the lower n bits, and the carry is delayed by one stage in the latch 5 and enters the m-bit adder circuit 6. Then, the result, I-t m + n-i-'I bit Kl, is changed to z+n bits by discarding the LSB, that is, (Jinshi B)/2, and goes to the next adder circuit 11.13, and the same Addition is performed, and 4 calculations of [(A+B)/27C)/2 are performed to obtain an m+n-bit result.

発明が解決しようとする問題点 しかしながら第3図の回路構成では、ランチの段数が多
くなり、回路規模が非常に大きくなるという問題点ケ有
していた。
Problems to be Solved by the Invention However, the circuit configuration shown in FIG. 3 has a problem in that the number of launch stages increases and the circuit scale becomes extremely large.

本発明は上記問題点に鑑み、ラッチの使用段数が少なく
てバイブライン処理が行える実用的な加算回路全提供す
るものである。
In view of the above-mentioned problems, the present invention provides a practical adder circuit that uses a small number of latch stages and can perform vibe line processing.

問題点を解決するだめの手段 上記問題点全解決するために本発明のパイプライン加算
回路に、第1.第2.第3のm+nビットのデジタル信
号に対して、mビットのラッチ、nビットのう・ブチ、
m+1ビットのラッチ、nビットのラッチ、m−1−2
ピッl−のラッチ、n −2ビ、1・のラッチ、1ビッ
トのラッチ、nビットの加算回路、mビットの加算回路
、nビットの和算回路、mト1ビットの加算[扁1路を
用いること?0特做、−する。
Means for Solving the Problems In order to solve all of the above problems, the pipeline addition circuit of the present invention has the following features: Second. For the third m+n bit digital signal, m bit latch, n bit latching,
m+1 bit latch, n bit latch, m-1-2
Bit latch, n-2 bit, 1 latch, 1 bit latch, n bit addition circuit, m bit addition circuit, n bit addition circuit, m and 1 bit addition [flat 1 circuit] to use? 0Special, -.

作用 5?C;−明(ま、上記した購5文(・ζよって、加算
回路を上イ;:と−1;イ)′11つ2つ5分はバイブ
ライン処理を用いてzI]算で行うこととなり、従来[
・てくらべてう・ブチの使用段数が少なくて隣むもので
ある。
Effect 5? C; - Ming (Well, the above-mentioned purchase 5 sentence (・ζ Therefore, the addition circuit is above A; : and -1; So, conventionally [
・Tekaribeteu・Buchi uses fewer stages and is next to it.

実施例 以下本発明の一実施)9I]について図面全参照しなが
ら説明するl’)第1図は本発明の一実施1り11にお
けるハ・イブライン処理回路のブロック’Uf示すもの
で4もも。第1l−1r、−宝、・いて、35,37,
49゜51;’Xmビット○ラッチ、3ら、 60 i
’:!、 ”ピントのう、チ、41.52.54,56
;j:m−1ビットのラッチ、42.53.55はnビ
ットのラッチ、4アU m −t−2ビットのラッチ%
 46゜48はn−2ビットのラッチ、39.44は1
ビットのラッチ、38Unビットの加算回路、40ばm
ビットの加算回路、43jdnビットの加算回路、45
はm+ビットの加算回路である。
Embodiment 9I of the present invention will be described below with reference to all the drawings l') Figure 1 shows the block 'Uf of the high line processing circuit in Embodiment 1-11 of the present invention. . 1st l-1r, - treasure, 35, 37,
49゜51;'Xm bit ○ latch, 3 et al., 60 i
':! , ``Pinto, Chi, 41.52.54,56
;j: m-1 bit latch, 42.53.55 is n-bit latch, 4A U m -t-2 bit latch%
46°48 is n-2 bit latch, 39.44 is 1
Bit latch, 38Un bit adder circuit, 40Bam
bit addition circuit, 43jdn bit addition circuit, 45
is an m+ bit adder circuit.

以上のように構成されたバイブライン処理の加算回路に
ついて説明する。36.36は入力信号人のタイミング
を合わせるラッチで、3了はバイブライン処理のため上
位mビット全一段、すなわち基準クロックパルス1クロ
ック分遅らせるう。
The adder circuit for vibe line processing configured as above will be explained. 36.36 is a latch that adjusts the timing of the input signal, and 36 is a latch that delays all the upper m bits by one stage, that is, one reference clock pulse, for vibe line processing.

チである。49.50および51のラッチも一]記聞各
ラッチ35.36および3了と同様のものである。次に
nビットのラッチ36.50の出力(・inビ、1・加
算回路38で加算され、ギヤ1月まラッチ39で1クロ
ック分遅延されたあと上位mビットの加算回路40へ入
り、加算され、m+n+1ビットの結果が得られる。次
にLSBを捨ててm+nビットとす乙のであるが、その
時のビットの系り分は方が問題で、従来は上位mビット
、下位nビットと振り分けていたが、第1図の構成では
上位In −+−1ビーノド、下位n−1ビ・フトとし
ている。
It is Chi. The latches 49.50 and 51 are also similar to the latches 35.36 and 3. Next, the output of the n-bit latch 36. Then, the LSB is discarded and the result is m+n+1 bits.However, the distribution of the bits at that time is more of a problem, and conventionally, they are divided into upper m bits and lower n bits. However, in the configuration of FIG. 1, the upper In -+-1 bead and the lower n-1 beft are used.

こfLζlこよって、LSB金捨ててピント数を落して
い6 Kもかかわらず、パイプライン処理における上位
加算回路の結果全次段の下位加算回路に落とさなくても
よい。したがって、第3図における加算回路6と加算回
路11が連続しないように入れ一ζ二あるう、チ9が不
必要となり1段数金合せるだめのラッチ8.26.25
も必要なくなる。
Therefore, even though the LSB money is discarded and the number of focuses is reduced to 6K, the result of the upper adder circuit in pipeline processing does not have to be transferred to the lower adder circuit in the next stage. Therefore, adder circuit 6 and adder circuit 11 in FIG.
will no longer be necessary.

1−7たがって、次段の7JQ算回路43.45へ入る
ときに」三位m→−1%下位n−1ビットとなっており
、そtLぞ八人力信号Cの下位nビットと加算回路43
0′こおいて加算され、上位m +1ビットとは加算回
路45において加算され、各加算回路43.45の結果
はまた1ピントずれ上位m−1−2ビット、下位n−2
ビIトとなり、 D= ((A+B )/2+Cl/2 の加算結果が得られる。
1-7 Therefore, when entering the next stage 7JQ arithmetic circuit 43.45, the third place m → -1% lower n-1 bits, and it is added with the lower n bits of the eight power signal C. circuit 43
0', and the upper m+1 bits are added in the adder circuit 45, and the results of each adder circuit 43.45 are also 1 out of focus, the upper m-1-2 bits, the lower n-2 bits.
The result is D=((A+B)/2+Cl/2).

以上のように本実施例によれば、パイプライン処理にお
ける、ビア)振り分は金変えることで、−段のランチが
とれ、回路の規模が小さくなる。
As described above, according to this embodiment, by changing the allocation of vias in pipeline processing, the launch of the negative stage can be achieved, and the scale of the circuit can be reduced.

発明の効果 以上のよう(で、不発明によれ(佳、加算回路Kkいて
パイプライン処理のピッl−弗り分げを変えることで回
路の規模金車さくすることができ、実用的効果大なるも
のがある。
As described above (and by virtue of non-invention), the size of the circuit can be reduced by changing the pick-up ratio of pipeline processing using the adder circuit, which has a great practical effect. There is something.

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

第1図は本発明の一実施例におけるパイプライン加算回
路の回路図、第2図、第3図はおのおの従来例の加算回
路の回路図である。 37.51・・・・・・mビットのラッチ、38 、4
0 。 43.45・・・・・・加算回路、39.44・・・・
・・1ビットのラッチ、41・・・・・・m斗ビットの
ラッチ、42・・・・・・nビットのラッチ、46・・
・・ n−2ビットのランチ、56・・・・・・m −
i−1ビットのラッチ。
FIG. 1 is a circuit diagram of a pipeline adder circuit according to an embodiment of the present invention, and FIGS. 2 and 3 are circuit diagrams of conventional adder circuits. 37.51... m-bit latch, 38, 4
0. 43.45...addition circuit, 39.44...
...1-bit latch, 41...m-bit latch, 42...n-bit latch, 46...
... n-2 bit lunch, 56...m −
i-1 bit latch.

Claims (1)

【特許請求の範囲】[Claims] 第1、第2、第3のm+nビットのデジタル信号のうち
、前記第1、第2のデジタル信号の上位mビットを基準
クロックパルス1クロック分遅延させるラッチと、前記
第3のデジタル信号の上位m+1ビットを1クロック分
遅延させるラッチと、前記第1のデジタル信号の下位n
ビットと第2のデジタル信号の下位nビットを加算する
第1の加算回路と、第1の加算回路のキャリを1クロッ
ク分遅延させるラッチと、前記第1のデジタル信号の上
位mビットと第2のデジタル信号の上位mビットとを加
算する第2の加算回路と、前記第1の加算回路の結果の
n−1ビットを1クロック分遅延するラッチと、第2の
加算回路の結果の上位m+1ビットを1クロック分遅延
するラッチと、前記第1の加算結果の下位n−1ビット
と第3のデジタル信号の下位n−1ビットを加算する第
3の加算回路と、前記第3の加算回路のキャリを1クロ
ック分遅延させるラッチと、前記第2の加算回路の結果
を1クロック遅延させた上位m+1ビットと第3のデジ
タル信号の上位m+1ビットとを加算する第4の加算回
路と、前記第3の加算回路の結果の下位n−2ビットを
1クロック分遅延させるラッチとを備えたことを特徴と
するパイプライン加算回路。
A latch that delays the upper m bits of the first, second, and third digital signals of m+n bits by one reference clock pulse, and the upper m bits of the third digital signal. a latch that delays m+1 bits by one clock; and a latch that delays m+1 bits by one clock; and a latch that delays m+1 bits by one clock;
a first adder circuit that adds bits and the lower n bits of the second digital signal; a latch that delays the carry of the first adder circuit by one clock; and a latch that delays the carry of the first adder circuit by one clock; a second adder circuit that adds the upper m bits of the digital signal, a latch that delays the n-1 bits of the result of the first adder circuit by one clock, and the upper m+1 bits of the result of the second adder circuit. a latch that delays bits by one clock; a third adder circuit that adds the lower n-1 bits of the first addition result and the lower n-1 bits of the third digital signal; and the third adder circuit. a latch that delays the carry of the second digital signal by one clock; a fourth adder circuit that adds the upper m+1 bits obtained by delaying the result of the second adder circuit by one clock to the upper m+1 bits of the third digital signal; A pipeline adder circuit comprising: a latch that delays the lower n-2 bits of the result of the third adder circuit by one clock.
JP61233536A 1986-10-01 1986-10-01 Pipeline adding circuit Granted JPS6388639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61233536A JPS6388639A (en) 1986-10-01 1986-10-01 Pipeline adding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61233536A JPS6388639A (en) 1986-10-01 1986-10-01 Pipeline adding circuit

Publications (2)

Publication Number Publication Date
JPS6388639A true JPS6388639A (en) 1988-04-19
JPH0445858B2 JPH0445858B2 (en) 1992-07-28

Family

ID=16956588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61233536A Granted JPS6388639A (en) 1986-10-01 1986-10-01 Pipeline adding circuit

Country Status (1)

Country Link
JP (1) JPS6388639A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424442B1 (en) 1994-09-03 2002-07-23 International Business Machines Corporation Optical transmitter and transceiver module for wireless data transmission

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424442B1 (en) 1994-09-03 2002-07-23 International Business Machines Corporation Optical transmitter and transceiver module for wireless data transmission

Also Published As

Publication number Publication date
JPH0445858B2 (en) 1992-07-28

Similar Documents

Publication Publication Date Title
JP3345894B2 (en) Floating point multiplier
JPH04205026A (en) Divider circuit
JPS6388639A (en) Pipeline adding circuit
US4686644A (en) Linear predictive coding technique with symmetrical calculation of Y-and B-values
JPH0421218B2 (en)
JPH01220528A (en) Parity generator
JP2000165204A (en) Iir type digital low pass filter
JPH0449708A (en) Fir filter circuit
JP2585732B2 (en) Edge enhancement processing circuit
JPH0687531B2 (en) Bit-serial signal scaling device and digital signal amplitude control device
JPH0520026A (en) Parallel full adder
JPS62184534A (en) Arithmetic circuit
JP2864598B2 (en) Digital arithmetic circuit
JPH02124621A (en) Digital transversal filter
JPS63247829A (en) Multiplier
JP2001036383A (en) Fir digital filter
JPS61289425A (en) Multiplying circuit
JP2708979B2 (en) Multiplication circuit using shift addition method
JPS60254373A (en) Arithmetic unit for sum of product
JP4318865B2 (en) Music data adder
JPH02105928A (en) Squaring circuit and multiplying circuit
JPS6313521A (en) Pulse density modulator
JPH0795671B2 (en) Digital Filter
JPH02224020A (en) Adding and subtracting device
JPS62297933A (en) Digital signal processor