JPH0447423A - Multiplier - Google Patents

Multiplier

Info

Publication number
JPH0447423A
JPH0447423A JP2154423A JP15442390A JPH0447423A JP H0447423 A JPH0447423 A JP H0447423A JP 2154423 A JP2154423 A JP 2154423A JP 15442390 A JP15442390 A JP 15442390A JP H0447423 A JPH0447423 A JP H0447423A
Authority
JP
Japan
Prior art keywords
adder
multiplier
carry
multiplier array
multiplication
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
JP2154423A
Other languages
Japanese (ja)
Inventor
Takashi Tatsumi
隆 辰巳
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 JP2154423A priority Critical patent/JPH0447423A/en
Publication of JPH0447423A publication Critical patent/JPH0447423A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the multiplication time by dividing a multiplier array, adding an output of the divided multiplier array in the end and obtaining a result of multiplication. CONSTITUTION:In each adder of a multiplier array 51 and a multiplier array 52, addition of carry is executed by the partial product XnYm and a result of addition by an adder of the previous stage and the adder of the previous stage and the result of addition and the carry are transmitted to an adder of the next stage. By passing through an adder 51a of a final stage of the multiplier array 51, a result of multiplication of the multiplier array 51 is outputted as outputs AO - A14 of the multiplier 51, and also, by passing through an adder 52a of a final stage of the multiplier array 52, a result of multiplication of the multiplier array 52 is outputted as outputs B0 - B14 of the multiplier array 52. Subsequently, by inputting the outputs AO - A14 of the multiplier array 51 and the outputs BO - B14 of the multiplier array 52, which are outputted, and adding them by using an adder 6, a final multiplication result is obtained. In such a way, the time required for passing through three stages of adders is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は乗算器に関するものであり、特に、高速なかつ
集積化に適した構成の乗算器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiplier, and particularly to a multiplier having a structure that is high-speed and suitable for integration.

〔従来の技術〕[Conventional technology]

第2図(a)、 (blは、従来の8ビツト×8ビツト
のキャリーセーブアダ一方式の乗算器である。第2図に
おいて、1、(0≦n≦6,1≦m≦7)は加算器であ
り、加算器1゜1.1□r  1!I+  121+1
411 151 161は半加算器である。他の加算器
1□は全加算器である。5−(0≦n≦6,1≦m≦7
)は加算器1□の和出力であり、C,、(0≦n≦6.
1≦m≦7)は加算器1.0キヤリー出力であり、2は
キャリールックアヘッド型の加算器である。3はこの従
来例の乗算器において加算段数が一番多いパスである。
Fig. 2(a), (bl is a conventional 8-bit x 8-bit carry-save adder type multiplier. In Fig. 2, 1, (0≦n≦6, 1≦m≦7) is an adder, and adder 1゜1.1□r 1!I+ 121+1
411 151 161 are half adders. The other adder 1□ is a full adder. 5-(0≦n≦6, 1≦m≦7
) is the sum output of adder 1□, C,, (0≦n≦6.
1≦m≦7) is the adder 1.0 carry output, and 2 is a carry look-ahead type adder. 3 is the path with the largest number of addition stages in this conventional multiplier.

PO−PI3はキャリールックアヘッド型の加算器2の
出力であり、乗算結果を示す。第3図は8ビツト×8ビ
ツトの乗算時の部分積の生成と加算の説明図である。
PO-PI3 is the output of the carry-lookahead type adder 2 and indicates the multiplication result. FIG. 3 is an explanatory diagram of the generation and addition of partial products during 8-bit x 8-bit multiplication.

次に、前記8ビツト×8ビツトのキャリーセーブアダ一
方式の乗算器の動作について第2図と第3図を用いて説
明する。
Next, the operation of the 8-bit x 8-bit carry-save adder type multiplier will be explained with reference to FIGS. 2 and 3.

8ビツトの2進数X7X6X5X4X3X2XIXOと
8ビツトの2進数Y7Y6Y5Y4Y3Y2YIYOの
乗算を行なう場合、第3図に示す部分積の生成、加算が
行なわれる。
When multiplying the 8-bit binary number X7X6X5X4X3X2XIXO by the 8-bit binary number Y7Y6Y5Y4Y3Y2YIYO, the partial products shown in FIG. 3 are generated and added.

この処理を第2図に示す乗算器では、加算器11゜にお
いて、部分積XnYm (0≦n≦6.1≦m≦7)と
前段の加算器1 (n。I) (@−11による加算結
果S +m+1□、−1,と前段の加算器11%(II
−11によるキャリーCm<*−+>の加算が行なわれ
、加算結果S amとキャリーC力、が次段の加算器1
 <a−r> (sol)、加算器1 m(sol)に
伝えられていく。最終段では、キャリールックアヘッド
加算器2によりキャリー信号の伝播の高速化をはかり、
最終の乗算結果P14P13P12P11P10P9P
8P7P6P5P4P3P2PIPOを得ている。
In the multiplier shown in FIG. 2, this process is performed using the partial product XnYm (0≦n≦6.1≦m≦7) and the adder 1 (n. The addition result S +m+1□, -1, and the previous adder 11% (II
-11, carry Cm<*-+> is added, and the addition result Sam and carry C force are added to adder 1 of the next stage.
<a-r> (sol) is transmitted to the adder 1 m (sol). In the final stage, the carry lookahead adder 2 speeds up the propagation of the carry signal.
Final multiplication result P14P13P12P11P10P9P
We are getting 8P7P6P5P4P3P2PIPO.

以上に述べたキャリーセーブアダ一方式の乗算器を使用
すると、乗算時間は、加算段数が一番多いパス3を通過
し、最終段でキャリールックアヘッド型の加算器2上を
キャリーが伝播していくパスにより決定される。
When using the carry-save adder type multiplier described above, the multiplication time is as follows: the carry passes through path 3, which has the largest number of addition stages, and the carry propagates through the carry look-ahead type adder 2 in the final stage. Determined by the next path.

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

以上に述べたキャリーセーブアダ一方式の乗算器では、
遅延時間が最長となるパスは、加算段数が一番多いパス
3を通過し、最終段でキャリールックアヘッド型の加算
器2をキャリーが伝播していくパスである。つまり、加
算器7段とキャリーが7ビツト伝播するパスである。
In the carry-save adder type multiplier described above,
The path with the longest delay time is the path that passes through path 3, which has the largest number of addition stages, and the carry propagates through the carry lookahead type adder 2 at the final stage. In other words, it is a path through which 7 stages of adders and 7 bits of carry are propagated.

被乗数、乗数のサイズが太き(なり、乗算器アレイの加
算器の数が増加すると、前記パスの加算段数、キャリー
伝播のピント数が増加し、遅延時間が大きくなり、規定
の時間内に演算を終えることができなくなるという問題
があった。
When the size of the multiplicand and multiplier becomes thick (and the number of adders in the multiplier array increases), the number of addition stages in the path and the number of focus points of carry propagation increase, the delay time increases, and the calculation cannot be completed within the specified time. There was a problem that it became impossible to finish.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、乗算時間を改善し、高速なかつ
集積化に適した構成の乗算器を提供することにある。
The present invention has been made in view of these points, and its purpose is to provide a multiplier that improves the multiplication time and has a structure that is high-speed and suitable for integration.

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

このような課題を解決するために本発明は、(n×m)
72個の第1の部分積の加算を行なう第1の加算手段と
、(nxm)72個の第2の部分積の加算を行なう第2
の加算手段と、第1の加算手段と第2の加算手段の各々
の加算結果の加算を行なう第3の加算手段とを設けるよ
うにしたものである。
In order to solve such problems, the present invention aims at (n×m)
a first adding means for adding 72 first partial products; and a second adding means for adding (nxm) 72 second partial products.
and a third addition means for adding the addition results of the first addition means and the second addition means.

〔作用〕[Effect]

本発明による乗算器では、乗算器アレイを分割し、分割
した乗算器アレイの出力を最後に加算して乗算結果を得
るように乗算器を構成することにより乗算時間を縮小す
ることができる。この結果、キャリーセーブアダ一方式
の乗算器よりも更に演算時間の高速化が実現できる。更
に、乗算器アレイを分割するだけであるので、乗算器ア
レイは規則性を保つことができ、集積化にも適する構成
である。
In the multiplier according to the present invention, the multiplication time can be reduced by configuring the multiplier so that the multiplier array is divided and the outputs of the divided multiplier arrays are added at the end to obtain the multiplication result. As a result, the calculation time can be further increased compared to a carry-save adder type multiplier. Furthermore, since the multiplier array is simply divided, the multiplier array can maintain regularity and is suitable for integration.

〔実施例〕〔Example〕

第1図(a)、 (b)は本発明による乗算器の一実施
例を示す構成図であり、8ビツト×8ビツトの乗算器で
ある。第1図において、11.、(0≦n≦61≦m≦
7)は加算器であり、加算器11.、。
FIGS. 1(a) and 1(b) are block diagrams showing one embodiment of a multiplier according to the present invention, which is an 8-bit×8-bit multiplier. In FIG. 1, 11. , (0≦n≦61≦m≦
7) is an adder, and adder 11. ,.

11、、.11□、11□、  11.、、 11s+
、  11−8. 11゜s、  111s、I It
s、  11ss、  114s。
11,... 11□, 11□, 11. ,, 11s+
, 11-8. 11゜s, 111s, I It
s, 11ss, 114s.

11ss、  116%は半加算器であり、他の加算器
11□は全加算器である。4は本実施例の乗算器におい
て加算段数が一番多いパスである。Sn、(0≦n≦6
.1≦m≦7)は加算器11、の和出力であり、C□(
0≦n≦6.1≦m≦7)は加算器11□のキャリー出
力である。51は2つに分割した乗算器アレイの一方、
52は2つに分割した乗算器アレイの他方である。51
aは第1の加算手段としての乗算器アレイ51の最終段
のキャリールックアヘッド型の加算器、52aは第2の
加算手段としての乗算器アレイ52の最終段のキャリー
ルックアヘッド型の加算器である。A4〜AIOは乗算
器アレイ51のキャリールックアヘッド型の加算器51
aの出力、88〜B14は乗算器アレイ52のキャリー
ルックアヘッド型の加算器52aの出力、6は乗算器ア
レイ51の最終段のキャリールックアヘッド型の加算器
51aの出力A5〜A、10と乗算器アレイ52の最終
段のキャリールックアヘッド型の加算器52aの出力B
8〜B14とを加算するキャリールックアヘッド型の加
算器、PO−PI3は乗算器最終段のキャリールックア
ヘッド型の加算器6の出力であり、乗算結果を示す。
11ss and 116% are half adders, and the other adders 11□ are full adders. 4 is the path with the largest number of addition stages in the multiplier of this embodiment. Sn, (0≦n≦6
.. 1≦m≦7) is the sum output of the adder 11, and C□(
0≦n≦6.1≦m≦7) is the carry output of the adder 11□. 51 is one of the multiplier arrays divided into two,
52 is the other of the two divided multiplier arrays. 51
a is a carry-look-ahead adder at the final stage of the multiplier array 51 as a first addition means, and 52a is a carry-look-ahead adder at the final stage of the multiplier array 52 as a second addition means. be. A4 to AIO are carry look-ahead adders 51 of the multiplier array 51.
88 to B14 are the outputs of the carry-look-ahead type adder 52a of the multiplier array 52, and 6 is the output of the carry-look-ahead type adder 51a at the final stage of the multiplier array 51, A5 to A, 10. Output B of the carry look-ahead type adder 52a at the final stage of the multiplier array 52
PO-PI3, a carry-look-ahead type adder for adding 8 to B14, is the output of the carry-look-ahead type adder 6 at the final stage of the multiplier, and indicates the multiplication result.

次に、第1図と第2図を用いて、前記8ビント×8ビッ
トの本実施例の乗算器の動作について説明する。
Next, the operation of the 8-bit x 8-bit multiplier of this embodiment will be explained using FIGS. 1 and 2.

8ビツトの2進数X7X6X5X4X3X2XIXOト
8 ヒフ )の2進数Y7Y6Y5Y4Y3Y2YIY
Oの乗算を行なう場合、第3図に示す部分積の生成、加
算が行なわれる。
8-bit binary number
When performing multiplication by O, generation and addition of partial products shown in FIG. 3 are performed.

この処理を第1図に示す乗算器では、乗算器アレイ51
および乗算器アレイ52の各々の加算器11、において
、部分積XnYm (0≦n≦6.1≦m≦7)と前段
の加算器11 (11+I+ <1−、)による加算結
果S(a+++。−I、と前段の加算器11ata−+
+によるキャリーCm(*−11の加算が行なわれ、加
算結果SR,とキャリーCamが次段の加算器11 (
a−11(*+H、加算器11m(*+Hに伝えられて
いく。
In the multiplier shown in FIG.
And in each adder 11 of the multiplier array 52, the partial product XnYm (0≦n≦6.1≦m≦7) and the addition result S(a+++) by the previous-stage adder 11 (11+I+ <1-,). -I, and the preceding adder 11ata-+
+ carry Cm (*-11 is added, and the addition result SR and carry Cam are added to the next stage adder 11 (
a-11(*+H), which is transmitted to the adder 11m(*+H).

乗算器アレイ51の最終段のキャリールックアヘッド型
の加算器51aを通過することにより、乗算器アレイ5
1の乗算結果が乗算器アレイ51出力AO−A14とし
て出力され、また、乗算器アレイ52の最終段のキャリ
ールックアヘッド型の加算器52aを通過することによ
り乗算器アレイ52の乗算結果が乗算器アレイ52の出
力BO〜B14として出力される。
The multiplier array 5
The multiplication result of 1 is output as the multiplier array 51 output AO-A14, and the multiplication result of the multiplier array 52 is outputted as the multiplier array 51 output AO-A14. The signals are output as outputs BO to B14 of the array 52.

以上のようにして出力された乗算器アレイ51の出力A
O−A14と乗算器アレイ52の出力BO〜B14を入
力としてキャリールックアヘッド型の加算器6を用いて
加算することにより、最終の乗算結果P14P13P1
2P11P10P9P8P7P6P5P4P3P2PI
POが得られる。
Output A of the multiplier array 51 output as described above
The final multiplication result P14P13P1 is obtained by adding O-A14 and the outputs BO to B14 of the multiplier array 52 using a carry-look-ahead adder 6 as inputs.
2P11P10P9P8P7P6P5P4P3P2PI
PO is obtained.

以上に述べた本実施例の乗算器を使用すると、乗算時間
は、乗算器アレイ51の加算段数が一番多いパス4を通
過し、最終段でキャリールックアヘッド型の加算器6を
キャリーが伝播していくパスにより決定される。このパ
スは、加算器4段とキャリーが8ビツト伝播するパスで
ある。
When the multiplier of this embodiment described above is used, the multiplication time is reduced by passing through the path 4 having the largest number of addition stages in the multiplier array 51, and the carry propagates through the carry look-ahead type adder 6 at the final stage. It is determined by the path taken. This path is a path in which 8 bits of carry are propagated to 4 stages of adders.

以上では、最終段の加算にキャリールックアヘッド型の
加算器を用いたが、キャリーセレク;・型の加算器等、
加算結果が正しく得られる構成の加算器であればよい。
In the above, a carry-lookahead type adder was used for the final stage addition, but a carry-select type adder, etc.
Any adder can be used as long as it has a configuration that allows correct addition results to be obtained.

また、乗算器アレイとして、キャリーセーブアダ一方式
を例にとり示したが、これに限定されるものではなく、
他の方式を用いてもよい。
In addition, although a single type of carry-save adder is shown as an example of a multiplier array, the present invention is not limited to this.
Other methods may also be used.

また、本実施例では8ビツト×8ビツトの乗算器を例に
取り説明したが、これは8ビツト×8ビツトの乗算器に
限定されるものではなく、nビット×mピッ) (n、
mは任意の正の整数)の乗算器でよい。
Furthermore, in this embodiment, an 8-bit x 8-bit multiplier has been explained as an example, but this is not limited to an 8-bit x 8-bit multiplier;
m may be any positive integer) multiplier.

乗算を行なう際に本実施例ではブースのアルゴリズムを
用いなかったが、ブースのアルゴリズムを用いて部分積
の数を減らし、乗算を行なってもよい。
Although the present embodiment did not use the Booth algorithm when performing multiplication, the Booth algorithm may be used to reduce the number of partial products and perform multiplication.

アレイを分割する際に、本実施例では、第1図に示すよ
うに、XX (Y/2)(Yの下位1/2ビツト)とX
X (Y/2)(Yの上位1/2ビツト)の乗算器アレ
イに分割したが、これに限定されるものではなく、加算
段数が全ピントについて1/2になるように分割しても
よい。
When dividing the array, in this embodiment, as shown in FIG.
Although the multiplier array is divided into X (Y/2) (upper 1/2 bits of Y), the present invention is not limited to this, and the number of addition stages can be divided to 1/2 for all pinpoints. good.

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

以上説明したように本発明によれば、例えば8ビツト×
8ビツトの乗算を実現する乗算器アレイに関して、乗算
器アレイを分割しない従来の方法では乗算時間を決定す
る最長のパスは加算器7段とキャリーが7ビツト伝播す
るパスであるのが、分割した乗算器アレイの出力を最後
に加算するというように乗算器を構成したことにより、
加算器4段とキャリーが8ビツト伝播するパスとなり、
加算器3段を通過するのに要する時間を短縮することが
できる。この乗算時間の短縮は、乗算器アレイのサイズ
が大きくなればなるほど大きくなり、乗算器を分割した
効果が太き(なる。また、上記構成を採ることにより、
乗算器アレイは規則性を保つことができ、集積化にも適
する構成となる。
As explained above, according to the present invention, for example, 8 bits
Regarding a multiplier array that realizes 8-bit multiplication, in the conventional method that does not divide the multiplier array, the longest path that determines the multiplication time is the path through which the carry propagates through 7 stages of adders and 7 bits. By configuring the multipliers so that the outputs of the multiplier arrays are added at the end,
The four stages of adders and the carry form a path for 8-bit propagation,
The time required to pass through three stages of adders can be shortened. This reduction in multiplication time increases as the size of the multiplier array increases, and the effect of dividing the multipliers becomes greater.Also, by adopting the above configuration,
The multiplier array can maintain regularity and has a configuration suitable for integration.

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

第1図は本発明による乗算器の一実施例である8ビツト
×8ビツト乗算器を示す構成図、第2図は従来の8ビツ
ト×8ピントのキャリーセーブアダ一方式の乗算器を示
す構成図、第3図は8ビツト×8ビツトの乗算時の部分
積の生成と加算の説明図である。 4・・・パス、6,51a、52a・・・キャリールッ
クアヘッド型の加算器、51.52・・・乗算器アレイ
、 ■ ■、・・・加算器。 代 理 人 大 岩 増 雄
FIG. 1 is a configuration diagram showing an 8-bit x 8-bit multiplier, which is an embodiment of the multiplier according to the present invention, and FIG. 2 is a configuration diagram showing a conventional 8-bit x 8-pin carry-save adder type multiplier. FIG. 3 is an explanatory diagram of the generation and addition of partial products during 8-bit x 8-bit multiplication. 4...Path, 6,51a, 52a...Carry look-ahead type adder, 51.52...Multiplier array, ■■,...Adder. Agent Masuo Oiwa

Claims (1)

【特許請求の範囲】 nビットのデータとmビットのデータを入力として乗算
を行なう乗算器において、 (n×m)/2個の第1の部分積の加算を行なう第1の
加算手段と、 (n×m)/2個の第2の部分積の加算を行なう第2の
加算手段と、 第1の加算手段と第2の加算手段の各々の加算結果の加
算を行なう第3の加算手段とを 有することを特徴とする乗算器。
[Scope of Claims] In a multiplier that performs multiplication by inputting n-bit data and m-bit data, a first adding means that performs addition of (n×m)/2 first partial products; (n×m)/2 second addition means for adding the second partial products; and third addition means for adding the addition results of the first addition means and the second addition means. A multiplier comprising:
JP2154423A 1990-06-13 1990-06-13 Multiplier Pending JPH0447423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2154423A JPH0447423A (en) 1990-06-13 1990-06-13 Multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2154423A JPH0447423A (en) 1990-06-13 1990-06-13 Multiplier

Publications (1)

Publication Number Publication Date
JPH0447423A true JPH0447423A (en) 1992-02-17

Family

ID=15583844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2154423A Pending JPH0447423A (en) 1990-06-13 1990-06-13 Multiplier

Country Status (1)

Country Link
JP (1) JPH0447423A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0635673A (en) * 1992-05-26 1994-02-10 Samsung Electron Co Ltd Multiplying method and circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0635673A (en) * 1992-05-26 1994-02-10 Samsung Electron Co Ltd Multiplying method and circuit

Similar Documents

Publication Publication Date Title
US5325320A (en) Area efficient multiplier for use in an integrated circuit
Townsend et al. A comparison of Dadda and Wallace multiplier delays
US6539368B1 (en) Neural processor, saturation unit, calculation unit and adder circuit
Kinniment An evaluation of asynchronous addition
JP2002108606A (en) Sticky bit generating circuit and multiplier
US4864529A (en) Fast multiplier architecture
JPS62172429A (en) Method and apparatus reducing delay in carrier propagation
US6018758A (en) Squarer with diagonal row merged into folded partial product array
US5497343A (en) Reducing the number of carry-look-ahead adder stages in high-speed arithmetic units, structure and method
US6535901B1 (en) Method and apparatus for generating a fast multiply accumulator
Ahish et al. Design of high performance Multiply-Accumulate Computation unit
JPH0447423A (en) Multiplier
US5677863A (en) Method of performing operand increment in a booth recoded multiply array
JP3227538B2 (en) Binary integer multiplier
US6282557B1 (en) Low latency fused multiply-adder
Liao et al. A carry-select-adder optimization technique for high-performance booth-encoded wallace-tree multipliers
TWI679577B (en) &#34;multi-bit adder apparatus, and apparatus and method for performing arithmetic operations&#34;
JPH05197525A (en) Method and circuit for negating operand
JPS6259828B2 (en)
Rathore et al. Novel approaches to design 32-bit MAC unit for edge computing devices
KR950015180B1 (en) High speed adder
JP3153656B2 (en) Multiplier
KR950010451B1 (en) A flight speed multiplier using group tree structure algorithm
WO1990008362A2 (en) Method for analyzing datapath elements
Hurson et al. A systolic multiplier unit and its VLSI design