JPS63172337A - Multiplication circuit - Google Patents

Multiplication circuit

Info

Publication number
JPS63172337A
JPS63172337A JP62003525A JP352587A JPS63172337A JP S63172337 A JPS63172337 A JP S63172337A JP 62003525 A JP62003525 A JP 62003525A JP 352587 A JP352587 A JP 352587A JP S63172337 A JPS63172337 A JP S63172337A
Authority
JP
Japan
Prior art keywords
carry
register
shifter
multiplier
arithmetic
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
JP62003525A
Other languages
Japanese (ja)
Inventor
Kazunori Takahashi
一徳 高橋
Masato Suzuki
正人 鈴木
Tokuzo Kiyohara
督三 清原
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 JP62003525A priority Critical patent/JPS63172337A/en
Publication of JPS63172337A publication Critical patent/JPS63172337A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the arithmetic tasks at a high speed with a multiplication circuit totalizing the shifts of the lower and higher rank sum shifters concurrently with totalization carried out by a carry storing computing element among the outputs of the higher and lower rank sum shifters and the integer multiple value of a multiplicand and repeating the totalization and the shift by a fixed frequency to obtain a product of a multiplier and a multiplicand. CONSTITUTION:The output of a multiplicand shifter 2a, the value of a higher rank sum register 12 and the value of a higher rank carriage register 13 are supplied to a carry storing computing element 6a. Then an arithmetic task decided by an arithmetic control circuit 7a is carried out and the S (total sum) output obtained from said arithmetic task is shifted arithmetically to the right by 2 bits via a higher rank sum shifter 10 to be stored into the register 12. The C (total carry) output is shifted arithmetically to the right by 2 bits via a higher rank carry shifter 8 and stored into the register 13. At the same time, the digit overflow produced from the shifter 10 is used as a carry input and the numerical value held by a lower rank sum register 14 is shifted to the right by 2 bits via a lower rank sum shifter 11. These arithmetic and shift tasks are repeated by the frequency equal to the value obtained by dividing the length of a multiplier by 2 if the multiplier has the even bit length and the frequency equal to the value obtained by dividing the bit length of the multiplier plus 1 by 2 when the multiplier has the odd bit length.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は符号付きの乗算を行なう乗算回路に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a multiplication circuit that performs signed multiplication.

ディスクローシャ  フ17テイン Disclosure  Bulletin  Mol
、27 Δ丘11 人pri11985に示されている
Disclosure Bulletin Mol
, 27 Δhills 11 people pri11985.

第3図はこの従来の乗算回路のブロック図を示すもので
あり、1は被乗数を入力し保持する被乗数レジスタ、3
は乗算の開始時に乗数を入力して演算処理中は2ピツト
ずつ右タフトされた乗数が保持される乗数レジスタ、2
3は演算処理中には累算された部分積の上位が保持され
演算終了時には演算結果である積の上位が格納される上
位積レジスタ、2oは演算処理中には累算された部分積
の下位が保持され演算終了時には積の下位が格納される
下位積レジスタ、6bは人とBの2つの入力の間で演算
を行う演算回路、7bは乗数レジスタ3の下位2ビツト
および後記するキャリフラグ6により演算回路6bで実
行する演算と演算回路6bのB入力の選択とを制御する
演算制御回路、4は乗数レジスタ3に保持されている数
値を右に2ビツトシフトして結果を再び乗数レジスタ2
に格納する乗数シフタ、22は累算部分積の上位である
演算器v8sbの出力を右に2ビツト算術シフト(左か
らは符号ビットがコピーされる)して上位積レジスタ2
3に格納する上位累算部分積シフタ、21は上位累算部
分積シフタ22の桁あふれを左からキャリ入力として入
力しつつ下位積レジスタ20に保持されている累算部分
積の下位を右に2ビツトシフトして結果を再び下位積レ
ジスタ20に格納する下位累算部分積シフタ、6は乗数
シフタ4の桁あふれを保持するキャリフラグ、26は被
乗数の2倍値を得るための2倍回路、24は被乗数また
は被乗数の2倍値を演算制御回路7bの出力により選択
し演算回路6bのB入力に加える選択回路である。
FIG. 3 shows a block diagram of this conventional multiplier circuit, in which 1 is a multiplicand register for inputting and holding the multiplicand;
is a multiplier register that inputs a multiplier at the start of multiplication and holds the multiplier that is right-tufted by 2 pits during the calculation process.
3 is a high-order product register that holds the high-order part of the accumulated partial product during calculation processing, and stores the high-order value of the product that is the calculation result when the calculation ends; The lower product register holds the lower part and stores the lower part of the product when the calculation is completed. 6b is an arithmetic circuit that performs the calculation between the two inputs of person and B. 7b is the lower 2 bits of multiplier register 3 and a carry flag to be described later. 6 is an arithmetic control circuit that controls the arithmetic operation executed by the arithmetic circuit 6b and the selection of the B input of the arithmetic circuit 6b; 4 is a control circuit that shifts the value held in the multiplier register 3 by 2 bits to the right and transfers the result back to the multiplier register 2;
A multiplier shifter 22 arithmetic shifts the output of the arithmetic unit v8sb, which is the upper part of the cumulative partial product, to the right by 2 bits (the sign bit is copied from the left) and stores it in the upper product register 2.
The upper cumulative partial product shifter 21 stores the overflow of the upper cumulative partial product shifter 22 from the left as a carry input, and moves the lower part of the cumulative partial product held in the lower product register 20 to the right. A lower accumulation partial product shifter that shifts the result by 2 bits and stores the result in the lower product register 20 again; 6 is a carry flag that maintains the overflow of the multiplier shifter 4; 26 is a doubling circuit for obtaining the double value of the multiplicand; 24 is a selection circuit that selects the multiplicand or the double value of the multiplicand based on the output of the arithmetic control circuit 7b and adds it to the B input of the arithmetic circuit 6b.

以上のように構成された従来の乗算回路について以下に
その動作を説明する。
The operation of the conventional multiplication circuit configured as described above will be described below.

乗算の方法としてBoothのアルゴリズムがある。Booth's algorithm is a multiplication method.

この従来の乗算回路は3ビツトのBoothのアルゴリ
ズム(「LsI化が進む並列演算方式による乗算器の回
路方式を見る」、日経エレクトロニクス1978.5,
29pp、76〜90)を用いたもので、乗数のLSB
側から3ビツト(その内1ビットはオーバーランプする
)ずつを切り出して部分積を選択し、部分積を累算する
ことによって積を求める。第4図はこのアルゴリズムに
基づいた演算制御回路7bの制御テーブル図で、乗数レ
ジスタ2の下位2ビツトとキャリアラグの合計3ビツト
をデコードして演算回路6bの演算と演算回路6bのB
入力とを決定するものである。
This conventional multiplier circuit is based on the 3-bit Booth algorithm ("Looking at multiplier circuit systems based on parallel operation methods, which are increasingly becoming LSI", Nikkei Electronics 1978.5,
29pp, 76-90), and the LSB of the multiplier
The product is obtained by cutting out three bits from each side (one bit of which is an overlamp), selecting partial products, and accumulating the partial products. FIG. 4 is a control table diagram of the arithmetic control circuit 7b based on this algorithm, in which the lower two bits of the multiplier register 2 and a total of three bits of the carrier lag are decoded to perform the arithmetic operation of the arithmetic circuit 6b and the B of the arithmetic circuit 6b.
It determines the input.

以下に回路の動作を説明する。The operation of the circuit will be explained below.

始めに、被乗数ならびに乗数をそれぞれ被乗数レジスタ
1と乗数レジスタ3に入力するとともに、上位積レジス
タ23と下位積レジスタ2oおよびキャリフラグ6を零
にクリアする。
First, a multiplicand and a multiplier are input into multiplicand register 1 and multiplier register 3, respectively, and upper product register 23, lower product register 2o, and carry flag 6 are cleared to zero.

演算回路6bの演算およびB入力は乗数レジスタ3の下
位2ビツトとキャリフラグ6とから決定され、演算回路
6bの出力は第4図において演算の欄が“ム”ならば人
人力そのまま、” A−1−B”ならばA入力とB入力
の加算結果、゛ムーB”ならばム入力からB入力の減算
結果となる。またB入力は選択回路24において”X”
ならば被乗数レジスタ1が、2x″ならば2倍回路26
の出力が選択される。演算の後、乗数シフタ4、上位累
算部積シフタ22および下位累算部分積シフタ21はい
ずれも右に2ビツト算術シフトし、それぞれ所定のレジ
スタにシフト結果を格納する。
The calculation and B input of the calculation circuit 6b are determined from the lower two bits of the multiplier register 3 and the carry flag 6, and if the calculation column in FIG. -1-B", the result is the addition of the A input and the B input, and "mu B", the result is the subtraction of the B input from the mu input. In addition, the B input is selected by the selection circuit 24 as "X".
If the multiplicand register 1 is 2x'', then the double circuit 26
output is selected. After the calculation, the multiplier shifter 4, the upper cumulative partial product shifter 22, and the lower cumulative partial product shifter 21 all perform an arithmetic shift to the right by 2 bits, and store the shift results in respective predetermined registers.

以上の演算およびシフトは、乗数が偶数ビット長のとき
は乗数のビット長÷2回、乗数が奇数ビット長のときは
(乗数のビット長+1)÷2回繰り返される。
The above operations and shifts are repeated twice when the multiplier has an even bit length, and (multiplier bit length+1)÷2 times when the multiplier has an odd bit length.

乗算結果は上位積レジスタ3bと下位積レジスタ4に上
位と下位に別れて保持される。
The multiplication results are held in the upper product register 3b and the lower product register 4 separately into upper and lower parts.

発明が解決しようとする問題点 しかしながら上記のような構成では、演算回路6bにお
ける桁上げの伝播時間のため、被乗数のビット長が長い
径演算回路6bでの演算時間が増大するという問題点を
有していた。。
Problems to be Solved by the Invention However, the above configuration has the problem that the calculation time in the diameter calculation circuit 6b, where the bit length of the multiplicand is long, increases due to the carry propagation time in the calculation circuit 6b. Was. .

本発明はかかる点に鑑み、演算時間が被乗数のビット長
に依存しない演算回路を用いて、高速演算が可能な乗算
回路を提供することを目的とする。
In view of this, an object of the present invention is to provide a multiplication circuit capable of high-speed calculation using an arithmetic circuit whose calculation time does not depend on the bit length of the multiplicand.

問題点を解決するための手段 本発明は、累算処理に用いる3入力桁上げ保存演算器と
、前記桁上げ保存演算器のサム出力をシフトする上位サ
ムシフタならびにこの上位サムシフタの桁あふれをキャ
リ入力とする下位サムシフタと、前記桁上げ保存演算器
のキャリ出力をシフトする上位キャリシフタならびにこ
の上位キャリシフタの桁あふれをキャリ入力とする下位
キャリシフタとを備え、前記桁上げ保存演算器による前
記上位サムシフタの出力と前記上位キャリシフタの出力
と被乗数の整数倍値との累算と、前記下位サムシフタの
シフトと前記下位キャリジ7タのシフトを前記累算とと
もに行い、前記累算と前記シフトを一定回数繰り返すこ
とにより乗数と前記被乗数の積を得ることを特徴とする
乗算回路である。
Means for Solving the Problems The present invention provides a three-input carry save arithmetic unit used for accumulation processing, an upper thumb shifter for shifting the sum output of the carry save arithmetic unit, and a carry input for overflow of the upper thumb shifter. an upper carry shifter that shifts the carry output of the carry save arithmetic unit, and a lower carry shifter that takes the overflow of the upper carry shifter as a carry input; and the output of the upper carry shifter and an integer multiple of the multiplicand, a shift of the lower thumb shifter and a shift of the lower carrier 7 are performed together with the accumulation, and the accumulation and the shift are repeated a fixed number of times. The multiplication circuit is characterized in that it obtains the product of a multiplier and the multiplicand.

作用 本発明では、桁上げ伝播のない桁上げ医存演算器を備え
ているため、被乗数のビット長に依存することなく高速
乗算が可能である。
Effect: Since the present invention includes a carry-existence arithmetic unit without carry propagation, high-speed multiplication is possible without depending on the bit length of the multiplicand.

実施例 第1図は本発明の実施例における乗算回路のブロック図
を示すものである。1は被乗数を入力し保持する被乗数
レジスタ、2は後記する演算制御回路T&により指定さ
れQビットもしくは1ビット被乗数をシフトする被乗数
シック、3は乗算の開始時に乗数を入力して演算処理中
は2ビツトずつ右シフトされた乗数が保持される乗数レ
ジスタ、4は乗数レジスタ3に保持された数値を2ビツ
ト右シフトし、これを再び保持する乗数シフタ、6は乗
数レジスタ3に保持された数値を右シフトしたときの桁
あぶれを保持するキャリフラグ、12は演算処理中は部
分積の累算で桁上げを含まない累算値(以下、累算サム
と呼ぶ)の上位を保持する上位サムレジスタ、13は演
算処理中は部分積の累算で発生した桁上げ(以下累算キ
ャリと呼ぶ)の上位を保持する上位キャリレジスタ、6
aは上位サムレジスタ12と上位キャリレジスタ13と
被乗数シフタ2の出力との間で演算を行い累算サムと累
算キャリヲ出力する桁上げ保存演算器、10は桁上げ保
存演算器6から出力された累算サム全右に2ビツト算術
シフトする上位サムシフタ、13は桁上げ保存演算器6
aから出力された累算キャリを右に2ビツト算術シフト
する上位キャリシフタ、14は累算サムの下位を保持す
る下位サムレジスタ、15は累算キャリの下位を保持す
る下位キャリレジスタ、11は上位サムシフタ10から
の桁あふれをキャリ入力として下位サムレジスタ14に
保持された数値を2ビツト右シフトする下位サムシフタ
、9は上位キャリシフタ8からの桁あふれ全キャリ入力
として下位キャリレジスタ16に保持された数値を2ビ
ツト右シフトする下位キャリシフタ、17は桁上げ保存
演算器6aによる演算終了後下位サムレジスタ141!
−下位キャリレジスタ15の加算を行う下位加算器、1
6は桁上げ保存演算器6の演算終了後下位加算器17の
キャリ出力をキャリ入力として上位サムレジスタ12と
上位キャリレジスタ13の加算を行う上位加算器、19
は下位加算器17から出力された数値を保持し演算結果
として積の下位が格納される下位積レジスタ、18は上
位加算器16から出力式れた数値を保持し演算結果とし
て積の上位が格納される上位積レジスタ、7aは乗数レ
ジスタ3の下位2ビツトとキャリフラグ5とを入力して
桁上げ保存演算器6也で実行する演算と被乗数シフタ2
のシフト数の制御を行う演算制御回路である。
Embodiment FIG. 1 shows a block diagram of a multiplication circuit in an embodiment of the present invention. 1 is a multiplicand register that inputs and holds a multiplicand, 2 is a multiplicand register that is specified by the arithmetic control circuit T& described later and shifts the Q bit or 1-bit multiplicand, and 3 is a multiplicand register that inputs a multiplicand at the start of multiplication and 2 during arithmetic processing. 4 is a multiplier shifter that shifts the value held in multiplier register 3 to the right by 2 bits and holds it again; 6 is a multiplier shifter that holds the value held in multiplier register 3. A carry flag holds the digit shift when shifted to the right, and 12 is an upper sum register that holds the upper part of the accumulated value (hereinafter referred to as accumulated sum) that does not include carry by accumulating partial products during arithmetic processing. , 13 is an upper carry register that holds the upper part of the carry (hereinafter referred to as accumulated carry) generated by accumulation of partial products during arithmetic processing; 6
10 is a carry save arithmetic unit that performs an operation between the outputs of the upper sum register 12, the upper carry register 13, and the output of the multiplicand shifter 2, and outputs the accumulated sum and carry; The upper sum shifter performs a 2-bit arithmetic shift of the accumulated sum to the right, and 13 is a carry save arithmetic unit 6.
An upper carry shifter that arithmetic shifts the accumulated carry output from a by 2 bits to the right; 14 is a lower sum register that holds the lower part of the accumulated sum; 15 is a lower carry register that holds the lower part of the accumulated carry; 11 is the upper register. A lower thumb shifter uses the overflow from the thumb shifter 10 as a carry input and shifts the numerical value held in the lower sum register 14 to the right by 2 bits. 9 is the numerical value held in the lower carry register 16 as a carry input for all overflow from the upper carry shifter 8. The lower carry shifter 17 shifts 2 bits to the right of the lower sum register 141 after the operation by the carry save arithmetic unit 6a is completed.
- a lower adder for adding the lower carry register 15, 1;
An upper adder 19 6 performs addition between the upper sum register 12 and the upper carry register 13 using the carry output of the lower adder 17 as a carry input after the operation of the carry save arithmetic unit 6 is completed.
18 is a lower product register that holds the numerical value output from the lower adder 17 and stores the lower part of the product as the calculation result, and 18 holds the numerical value output from the upper adder 16 and stores the higher part of the product as the calculation result. The upper product register 7a inputs the lower two bits of the multiplier register 3 and the carry flag 5, and performs an operation in the carry save arithmetic unit 6 and the multiplicand shifter 2.
This is an arithmetic control circuit that controls the number of shifts.

以上のように構成された本実施例の乗算回路について、
以下にその動作を説明する。
Regarding the multiplication circuit of this embodiment configured as above,
The operation will be explained below.

第2図は演算制御回路7aの制御テーブル図で、乗数レ
ジスタ3の下位2ビツトとキャリフラグ6の合計3ピツ
トをデコードして桁上げ保存演算器6&の演算と、被乗
数シック2のシフト数ヲ決定するものである。第2図に
おいて、演算“人士B”はA入力とB入力の加算、”A
+B+I”は人人力とB入力と工入力の加算、”A−1
−B−I”は人人力とB入力の加算と工入力の減算を表
わす。工入力はXのとき被乗数をシフトしないでそのま
ま入力され、2xのときは初乗数?左へ1ビツトシフト
して入力される。桁上げ保存演算器82Lは以上の演算
が行えるものとし、出力はS(累算サム)とC(累算キ
ャリ)である。
FIG. 2 is a control table diagram of the arithmetic control circuit 7a, in which the lower two bits of the multiplier register 3 and a total of three bits of the carry flag 6 are decoded to perform the operation of the carry save arithmetic unit 6& and the shift number of the multiplicand thick 2. It is up to you to decide. In Figure 2, the operation “Jinshi B” is the addition of A input and B input, “A
+B+I" is the addition of human power, B input, and labor input, "A-1
-B-I” represents the addition of human power and B input and the subtraction of manpower input.When the manpower input is X, the multiplicand is input as is without shifting, and when it is 2x, the initial multiplier? The carry save arithmetic unit 82L is assumed to be able to perform the above operations, and its outputs are S (accumulated sum) and C (accumulated carry).

始めに、被乗数ならびに乗数をそれぞれ被乗数レジスタ
1と乗数レジスタ3に入力するとともに、上位サムレジ
スタ12、上位キャリレジスタ13、下位サムレジスタ
14、下位キャリレジスタ16及びキャリフラグ5を零
にクリアする。
First, a multiplicand and a multiplier are input into multiplicand register 1 and multiplier register 3, respectively, and upper sum register 12, upper carry register 13, lower sum register 14, lower carry register 16, and carry flag 5 are cleared to zero.

被乗数シフタ2の出力と上位サムレジスタ12の値と上
位キャリレジスタ13の値を桁上げ保存演算器61Lに
入力し、演算制御回路71Lで決定される演算を行い、
その結果得られたS出力は上位サムシフタ1oで右に2
ビツト算術シフトされ、シフトされた値を上位サムレジ
スタ12に、C出力は上位キャリシフタ8で右に2ビツ
ト算術シフトされ、シフトされた値を上位キャリレジス
タ13にそれぞれ格納する。同時に上位サムシフタ10
からの桁あふれをキャリ入力として下位サムレジスタ1
4に保持された数値を下位サムシフタ11で2ビツト右
シフトし、シフトした値を下位サムレジスタ14に格納
する。また同時に上位キャリシフタ8からの桁あふれを
キャリ入力として下位キャリレジスタ15に保持された
値を下位キャリシフタ9で2ビツト右シフトし、シフト
した値を下位キャリレジスタ16に格納する。一方、乗
数シフタ4は乗数レジスタ3を2ビツト右シフトし乗数
レジスタ3に格納する。
The output of the multiplicand shifter 2, the value of the high-order sum register 12, and the value of the high-order carry register 13 are input to the carry-save arithmetic unit 61L, and the arithmetic operation determined by the arithmetic control circuit 71L is performed.
The resulting S output is shifted to the right by the upper thumb shifter 1o.
The C output is arithmetic shifted by 2 bits to the right by the upper carry shifter 8, and the shifted value is stored in the upper carry register 13. Top thumb shifter 10 at the same time
Lower sum register 1 as carry input for overflow from
The numerical value held at 4 is shifted to the right by 2 bits by the lower sum shifter 11, and the shifted value is stored in the lower sum register 14. At the same time, the overflow from the upper carry shifter 8 is used as a carry input, and the value held in the lower carry register 15 is shifted to the right by 2 bits by the lower carry shifter 9, and the shifted value is stored in the lower carry register 16. On the other hand, the multiplier shifter 4 shifts the multiplier register 3 to the right by 2 bits and stores it in the multiplier register 3.

以上の演算およびシフトは乗数が偶数ビット長のときは
乗数のピント長÷2回、乗数が奇数ビット長のときは(
乗数のピット長+1)÷2回繰り返される。
The above operations and shifts are performed by dividing the focus length of the multiplier by 2 times when the multiplier has an even number of bits, and by dividing the focus length of the multiplier by 2 times when the multiplier has an odd number of bits.
Multiplier pit length + 1) ÷ repeated 2 times.

桁上げ保存演算器6&での演算終了後、乗算結果は、下
位サムレジスタ14と下位キャリレジスタ15の数値を
下位加算器17により加算され下位積レジスタ19に、
上位サムレジスタ12と上位キャリレジスタ13の数値
を下位加算器17のキャリ出力をキャリ入力として上位
加算器16により加算てれ上位積レジスタ18に、それ
ぞれ格納する。乗算結果は上位積レジスタ18と下位積
レジスタ19に上位と下位に別れて保持される。
After the operation in the carry save arithmetic unit 6& is completed, the multiplication result is obtained by adding the numerical values in the lower sum register 14 and the lower carry register 15 by the lower adder 17 and storing it in the lower product register 19.
The numerical values in the upper sum register 12 and the upper carry register 13 are added by the upper adder 16 using the carry output of the lower adder 17 as the carry input, and then stored in the upper product register 18, respectively. The multiplication results are held in the upper product register 18 and the lower product register 19 separately into upper and lower parts.

なお、実施例において上位加算器16と下位加算器1了
の2つの加算器を用いたが、これらの加算器16.17
’i1つの加算器にし、この加算器の入力側に選択回路
を設け、初めに下位サムレジスタ14と下位キャリレジ
スタ15の和を求め下位積レジスタ19に格納し、次に
このキャリー出力全キャリー人力として上位サムレジス
タ12と上位キャリレジスタ13の和を求め上位積レジ
スタ18に格納してもよい。
In the embodiment, two adders, the upper adder 16 and the lower adder 1, are used, but these adders 16 and 17
'i is one adder, a selection circuit is provided on the input side of this adder, first the sum of the lower sum register 14 and the lower carry register 15 is calculated and stored in the lower product register 19, and then this carry output Alternatively, the sum of the upper sum register 12 and the upper carry register 13 may be calculated and stored in the upper product register 18.

発明の詳細 な説明したように、本発明によれば乗算処理中の演算時
間が被乗数のピット長に依存しないため符号付き乗算を
高速に行うことができ、その実用的効果は大きい。
As described in detail, according to the present invention, since the calculation time during multiplication processing does not depend on the pit length of the multiplicand, signed multiplication can be performed at high speed, and its practical effects are significant.

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

第1図は本発明の一実施例における乗算回路のブロック
図、第2図は同実施例における演算制御回路の制御テー
ブル図、第3図は従来の乗算回路のブロック図、第4図
は同回路の演算制御回路の制御テーブル図である。 1・・・・・・被乗数レジスタ、2a、2b・・・・・
・被乗数シフタ、3・・・・・・乗数レジスタ、4・・
・・・・乗数シフタ、5・・・・・・キャリフラグ、6
a・・・・・・桁上げ保存演算器、6b・・・・・・桁
上げ伝播演算器、72L 、7b・・・・・・演算制御
回路、8・・・・・・上位キャリシフタ、9・・・・・
・下位キャリシフタ、1o・・・・・・上位サムシフタ
、11°°゛・・・下位サムシフタ、12・・・・・・
上位サムレジスタ、13・・・・・・上位キャリレジス
タ、14・・・・・・下位サムレジスタ、16・・・・
・・下位キャリレジスタ、16°°。 ・・・上位加算器、17・・・・・・下位加算器、18
・・・・・・上位積レジスタ、19・・・・・・下位積
レジスタ、20・・・91.下位積レジスタ、21・・
・・・・下位累算部分積シフタ、22・・・・・・上位
累算部分積シフタ、23・・・・・・上位積レジスタ、
24・・・・・・選択回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
FIG. 1 is a block diagram of a multiplication circuit according to an embodiment of the present invention, FIG. 2 is a control table diagram of an arithmetic control circuit according to the same embodiment, FIG. 3 is a block diagram of a conventional multiplication circuit, and FIG. 4 is a block diagram of a conventional multiplication circuit. FIG. 3 is a control table diagram of the arithmetic control circuit of the circuit. 1... Multiplicand register, 2a, 2b...
・Multiplicand shifter, 3... Multiplier register, 4...
... Multiplier shifter, 5 ... Carry flag, 6
a...Carry storage arithmetic unit, 6b...Carry propagation arithmetic unit, 72L, 7b...Arithmetic control circuit, 8...Upper carry shifter, 9・・・・・・
・Lower carry shifter, 1o... Upper thumb shifter, 11°°゛... Lower thumb shifter, 12...
Upper sum register, 13... Upper carry register, 14... Lower sum register, 16...
...lower carry register, 16°°. ... Upper adder, 17 ... Lower adder, 18
...Upper product register, 19...Lower product register, 20...91. Lower product register, 21...
...Lower accumulated partial product shifter, 22... Upper accumulated partial product shifter, 23... Upper product register,
24...Selection circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
figure

Claims (1)

【特許請求の範囲】[Claims] 累算処理に用いる3入力桁上げ保存演算器と、前記桁上
げ保存演算器のサム出力をシフトする上位サムシフタな
らびにこの上位サムシフタの桁あふれをキャリ入力とす
る下位サムシフタと、前記桁上げ保存演算器のキャリ出
力をシフトする上位キャリシフタならびにこの上位キャ
リシフタの桁あふれをキャリ入力とする下位キャリシフ
タとを備え、前記桁上げ保存演算器による前記上位サム
シフタの出力と前記上位キャリシフタの出力と被乗数の
整数倍値との累算と、前記下位サムシフタのシフトと前
記下位キャリシフタのシフトを前記累算とともに行い、
前記累算と前記シフトを一定回数繰り返すことにより乗
数と前記被乗数の積を得ることを特徴とする乗算回路。
A 3-input carry save arithmetic unit used for accumulation processing, an upper thumb shifter that shifts the sum output of the carry save arithmetic unit, a lower thumb shifter that uses the overflow of the upper thumb shifter as a carry input, and the carry save arithmetic unit. an upper carry shifter that shifts the carry output of the upper carry shifter, and a lower carry shifter that takes the overflow of the upper carry shifter as a carry input, and the output of the upper thumb shifter by the carry save arithmetic unit, the output of the upper carry shifter, and an integer multiple of the multiplicand. and shifting the lower thumb shifter and shifting the lower carry shifter together with the accumulation,
A multiplication circuit characterized in that the product of the multiplier and the multiplicand is obtained by repeating the accumulation and the shift a certain number of times.
JP62003525A 1987-01-09 1987-01-09 Multiplication circuit Pending JPS63172337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62003525A JPS63172337A (en) 1987-01-09 1987-01-09 Multiplication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62003525A JPS63172337A (en) 1987-01-09 1987-01-09 Multiplication circuit

Publications (1)

Publication Number Publication Date
JPS63172337A true JPS63172337A (en) 1988-07-16

Family

ID=11559793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62003525A Pending JPS63172337A (en) 1987-01-09 1987-01-09 Multiplication circuit

Country Status (1)

Country Link
JP (1) JPS63172337A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59172040A (en) * 1983-03-22 1984-09-28 Toshiba Corp Multiplying circuit
JPS61251933A (en) * 1985-04-30 1986-11-08 Nec Corp Multiplying circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59172040A (en) * 1983-03-22 1984-09-28 Toshiba Corp Multiplying circuit
JPS61251933A (en) * 1985-04-30 1986-11-08 Nec Corp Multiplying circuit

Similar Documents

Publication Publication Date Title
Wang et al. An efficient tree architecture for modulo 2 n+ 1 multiplication
JPS6347874A (en) Arithmetic unit
JP2597736B2 (en) Fast multiplier
JPS62118474A (en) Vector division device
JPH04205026A (en) Divider circuit
JPS63172337A (en) Multiplication circuit
US7607165B2 (en) Method and apparatus for multiplication and/or modular reduction processing
JPS6226723B2 (en)
JP3660075B2 (en) Dividing device
JP3227538B2 (en) Binary integer multiplier
US20040133618A1 (en) Method and system for performing a multiplication operation and a device
JPS60112141A (en) Multiplier circuit
JPH01241622A (en) Multiplying device
JP2777265B2 (en) High radix square root arithmetic unit
JPH0368415B2 (en)
JP2568608B2 (en) Multiplication circuit
JPS6391738A (en) Multiplier circuit
JP2812365B2 (en) Multiplication circuit
JPS62298835A (en) Multiplying circuit
JPS60254372A (en) Arithmetic unit for sum of products
JPS63182738A (en) Multiplying circuit
JPH0784762A (en) Multiplication circuit
JP3433487B2 (en) Binary to decimal converter
JPS63113757A (en) Operation circuit
JP3130797B2 (en) Product-sum operation processing method and apparatus