JPH10154067A - Multiplication circuit - Google Patents

Multiplication circuit

Info

Publication number
JPH10154067A
JPH10154067A JP8310796A JP31079696A JPH10154067A JP H10154067 A JPH10154067 A JP H10154067A JP 8310796 A JP8310796 A JP 8310796A JP 31079696 A JP31079696 A JP 31079696A JP H10154067 A JPH10154067 A JP H10154067A
Authority
JP
Japan
Prior art keywords
multiplier
multiplicand
multiplication
delay
time
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
JP8310796A
Other languages
Japanese (ja)
Inventor
Masanori Ihara
正典 伊原
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP8310796A priority Critical patent/JPH10154067A/en
Publication of JPH10154067A publication Critical patent/JPH10154067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To input data of a next operation without waiting for the decision of an operation result and to realize a pipeline processing by inputting a multiplicand to respective operation means in synchronizing with the delay time of the respective buts of a multiplier. SOLUTION: A first delay circuit 41 individually delays the respective bits of the multilayer. Adders 21-23 as the operation means whose inputs are connected to gates 11-14 selectively add the respective bits of the multiplier P and the multiplicand Q. A second delay circuit 42 individually delays lower bits outputted from the gate 12 and the adders 21 and 22. A delay circuit 43 delays a flag showing the validity of the multiplier and the multiplicand in an equal way as the maximum delay cycle at the time of the operation. Latches 31-36 input the multiplicand Q inputted to the respective adders in synchronizing with the delay time of the respective bits of the multiplier. Thus, the respective operation means are synchronized and the pipeline processing can be executed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は乗算回路に関し、特
に、パイプライン処理を可能とする乗算回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplying circuit, and more particularly, to a multiplying circuit capable of performing pipeline processing.

【0002】[0002]

【従来の技術】従来の乗算回路に関する文献として、社
団法人電子情報通信学会1975年発行の「デジタル信
号処理」が知られており、該文献の137p−160p
にはキャリーセーブ加算器構造やワレスツリー加算器構
造が示されており、乗算回路としてブースアルゴリズム
等が記載されている。
2. Description of the Related Art "Digital signal processing" published by the Institute of Electronics, Information and Communication Engineers, 1975, is known as a document relating to a conventional multiplying circuit.
Shows a carry-save adder structure and a Wallace tree adder structure, and describes a Booth algorithm or the like as a multiplication circuit.

【0003】乗算器の構成として、単純に各加算器の入
力を1ビットづつずらし、被乗数の2nの値を各ゲート
で求めて乗数の各ビットを選択的に加算出来るように接
続した構成が一般的である。
A configuration of the multiplier is such that the input of each adder is simply shifted one bit at a time, and the value of 2 n of the multiplicand is obtained at each gate so that each bit of the multiplier can be selectively added. General.

【0004】図3は、4ビット×4ビットの乗算を行う
場合の本従来例の乗算器を示すブロック図である。図
中、細い実線は乗数の各ビット、太い実線は被乗数の4
ビット、中抜きの線はキャリービットを含む加算結果、
一点鎖線は加算後の最下位ビット、二点鎖線は被乗数の
上位3ビット、破線は加算後の上位3ビットにキャリー
ビットを加えた4ビットをそれぞれ示している。
FIG. 3 is a block diagram showing a conventional multiplier for performing a multiplication of 4 bits × 4 bits. In the figure, the thin solid line is each bit of the multiplier, and the thick solid line is 4 for the multiplicand.
Bits, hollow lines are addition results including carry bits,
The alternate long and short dash line indicates the least significant bit after addition, the alternate long and two short dashes line indicates the upper 3 bits of the multiplicand, and the broken line indicates 4 bits obtained by adding the carry bit to the upper 3 bits after addition.

【0005】各ゲート11〜14にはビット毎に分けら
れた乗数のデータと4ビットの被乗数が入力されて4ビ
ット×1ビットの演算が行われ、各加算器21〜23に
は2つのゲートからの出力が入力されて加算が行われ、
乗数の最下位ビットを演算したゲートの最下位データと
加算器21及び22の最下位データと加算器23の出力
データとをまとめたものが演算結果として出力される。
Each of the gates 11 to 14 receives the data of the multiplier divided for each bit and the 4-bit multiplicand, and performs a 4-bit × 1-bit operation. Each of the adders 21 to 23 has two gates. The output from is input and the addition is performed.
The sum of the least significant data of the gate that has computed the least significant bit of the multiplier, the least significant data of the adders 21 and 22, and the output data of the adder 23 is output as the computation result.

【0006】また、特開平4−10028号公報には、
図4に示すように各演算器21〜23の間にラッチ31
及び32を設けることで部分積の全ビットをラッチし、
その部分積を加算するように構成し、演算結果が出力さ
れる前に次の値が入力できるように構成して、演算速度
の高速化を目的とする演算回路が開示されている。図
中、太い実線は被乗数の4ビット、中抜きの線はキャリ
ービットを含む加算結果又はラッチ後のデータをそれぞ
れ示している。
[0006] Japanese Patent Application Laid-Open No. 4-10028 discloses that
As shown in FIG. 4, a latch 31 is provided between each of the arithmetic units 21 to 23.
And 32 to latch all bits of the partial product,
There is disclosed an arithmetic circuit configured to add the partial products and configured to allow the next value to be input before the operation result is output, thereby increasing the operation speed. In the figure, a thick solid line indicates the 4-bit multiplicand, and a hollow line indicates the addition result including the carry bit or the data after latching.

【0007】しかしながら、該演算回路で乗算を行う場
合、乗数をどのように与えるか、パイプライン中をデー
タが進んだとき、乗数はどのように処理されるのかは明
示されていない。
However, when multiplication is performed by the arithmetic circuit, it is not specified how the multiplier is given or how the multiplier is processed when data advances in the pipeline.

【0008】[0008]

【発明が解決しようとする課題】図3に示した従来の乗
算回路においては、加算器21から加算器23において
加算が行われ、最終的な演算結果が出力されるまでの間
は、乗数及び被乗数の値が安定していなければならない
ため、乗算器の構成をパイプライン型とすることはでき
ない。
In the conventional multiplication circuit shown in FIG. 3, the addition is performed in the adder 21 to the adder 23, and the multiplier and the multiplier are output until the final operation result is output. Since the value of the multiplicand must be stable, the configuration of the multiplier cannot be a pipeline type.

【0009】図2(a)は図3に示した乗算回路の処理
を示すタイミングチャートである。第1の演算の乗数と
してP1、被乗数としてQ1が時刻aで入力された場
合、第1の演算結果が確定するのは時刻dであり、第2
の演算の乗数P2、被乗数Q2が入力できるのは、第1
の演算結果を出力した後の時刻eである。各ゲート及び
加算器が実際に演算をするのに要する時間は、時刻aか
ら時刻eまでの演算時間に対してはわずかであり、その
他の時間は入力を待っているかあるいは出力データを保
持しているだけであり、実際の演算とは無関係な無駄な
時間である。
FIG. 2A is a timing chart showing the processing of the multiplication circuit shown in FIG. When P1 is input as a multiplier of the first operation and Q1 is input as a multiplicand at time a, the first operation result is determined at time d and the second operation result is determined at time d.
The multiplier P2 and the multiplicand Q2 for the calculation of
Is the time e after the result of the calculation is output. The time required for each gate and adder to actually perform the operation is short for the operation time from time a to time e, and the other time is waiting for input or holding output data. Is a wasteful time that is not related to the actual operation.

【0010】更に、引き続いて第2の乗算を行う場合、
第2の乗算の結果が確定するまでには第1の乗算に要す
る時間と同じ時間が必要であり、第1の乗算の場合と同
様に各ゲート及び加算器においては、実際の演算とは無
関係な無駄な時間がある。
Further, when the second multiplication is performed subsequently,
Until the result of the second multiplication is determined, the same time as the time required for the first multiplication is required. As in the case of the first multiplication, each gate and adder have no relation to the actual operation. Wasteful time.

【0011】これらの実際の演算とは無関係な時間をな
くし、各ゲート及び加算器を有効に活用するべく、乗数
及び被乗数の値が安定している時間を全乗算時間よりも
短くしようとした場合、最初の段での演算後、次の段に
演算結果が進んでも被乗数が安定するように構成する必
要がある。
When the time during which the values of the multiplier and the multiplicand are stable is reduced to be shorter than the total multiplication time in order to eliminate the time irrelevant to the actual operation and to effectively use each gate and the adder. After the operation in the first stage, it is necessary to make the multiplicand stable even if the operation result proceeds to the next stage.

【0012】前述の特開平4−10028号公報に開示
された演算回路では、単に各加算器の結果をラッチして
いるだけであり、該公報には乗数をどのように入力して
被乗数に対して演算を行うかが明示されておらず、サイ
クル毎に乗数が逐次変更できる構成にはなっていない。
The arithmetic circuit disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 4-10028 merely latches the result of each adder. It is not specified whether or not to perform the calculation, and the configuration is not such that the multiplier can be sequentially changed for each cycle.

【0013】本発明は、上述の課題を解決するためにな
されたものであり、各演算素子において実際の演算に無
関係な無駄な時間を削減し、演算結果の確定を待たずに
次の演算のデータを入力してパイプライン処理を可能と
する乗算回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and reduces unnecessary time unrelated to actual operation in each operation element, and allows the next operation to be performed without waiting for the finalization of the operation result. It is an object of the present invention to provide a multiplication circuit capable of performing pipeline processing by inputting data.

【0014】[0014]

【課題を解決するための手段】上述の目的は、本発明に
よれば、乗数の各ビットと被乗数との部分積を求める複
数の演算手段を有し、各演算手段の出力を組み合わせて
乗算結果を出力する乗算回路であって、前記乗数の各ビ
ットをそれぞれ個別に遅延させる第1の遅延回路と、各
演算手段から出力された下位ビットをそれぞれ個別に遅
延させる第2の遅延回路と、前記被乗数を前記乗数の各
ビットの遅延時間に同期させて各演算手段に入力する同
期手段とを備えていることを特徴とする乗算回路によっ
て解決される。
According to the present invention, there is provided, in accordance with the present invention, a plurality of arithmetic means for obtaining a partial product of each bit of a multiplier and a multiplicand, and the multiplication result is obtained by combining the outputs of the respective arithmetic means. A first delay circuit for individually delaying each bit of the multiplier, a second delay circuit for individually delaying lower bits output from each arithmetic means, and And a synchronizing means for synchronizing the multiplicand with the delay time of each bit of the multiplier and inputting it to each arithmetic means.

【0015】本発明の乗算回路においては、前記演算手
段の一つが演算に要する時間毎に、次の乗算の乗数及び
被乗数を入力可能に構成されていてもよい。
In the multiplying circuit according to the present invention, one of the calculating means may be configured to be able to input a multiplier and a multiplicand of the next multiplication every time required for the calculation.

【0016】本発明の乗算回路においては、前記第1及
び第2の遅延回路がシフトレジスタを含み、前記同期手
段が直列に接続された複数のラッチを含んでいてもよ
い。
In the multiplication circuit according to the present invention, the first and second delay circuits may include a shift register, and the synchronization means may include a plurality of latches connected in series.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態につい
て図を参照しながら詳述する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0018】図1は、4×4ビットの乗算を行うように
構成した本発明の乗算回路の実施の形態を示すブロック
図である。
FIG. 1 is a block diagram showing an embodiment of a multiplying circuit according to the present invention configured to perform 4 × 4 bit multiplication.

【0019】本実施の形態の乗算回路は、乗数の各ビッ
トをそれぞれ個別に遅延させる第1の遅延回路41と、
乗数Pの各ビットと被乗数Qとを選択的に加算するよう
に入力がゲート11〜14に接続された演算手段として
の加算器21〜23と、ゲート12、加算器21及び2
2から出力された下位ビットをそれぞれ個別に遅延させ
る第2の遅延回路42と、乗数及び被乗数の有効性を示
すフラグの論理積から演算結果の有効性を示すフラグを
演算時の最大遅延サイクルと同等の遅延を行う遅延回路
43と、各加算器に入力される被乗数Qを乗数の各ビッ
トの遅延時間に同期して入力するべく接続された同期手
段としてのラッチ31〜36とから構成されている。
The multiplication circuit according to the present embodiment includes a first delay circuit 41 for individually delaying each bit of a multiplier,
Adders 21 to 23 as operation means whose inputs are connected to gates 11 to 14 so as to selectively add each bit of multiplier P and multiplicand Q; gate 12, adders 21 and 2
And a second delay circuit 42 for individually delaying the lower bits output from 2 and a flag indicating the validity of the operation result from the logical product of the flags indicating the validity of the multiplier and the multiplicand. A delay circuit 43 for performing the same delay and latches 31 to 36 as synchronization means connected to input the multiplicand Q input to each adder in synchronization with the delay time of each bit of the multiplier are configured. I have.

【0020】図中、前述の図3と同様に、細い実線は乗
数の各ビット、太い実線は被乗数の4ビット、中抜きの
線はキャリービットを含む加算結果、一点鎖線は加算後
の最下位ビット、二点鎖線は被乗数の上位3ビット、破
線は加算後の上位3ビットにキャリービットを加えた4
ビットをそれぞれ示している。
In the figure, similar to FIG. 3 described above, the thin solid line indicates each bit of the multiplier, the thick solid line indicates the addition result including the multiplicand 4 bits, the hollow line indicates the addition result including the carry bit, and the one-dot chain line indicates the least significant bit after the addition. Bit, the two-dot chain line indicates the upper 3 bits of the multiplicand, and the broken line indicates the upper 3 bits after addition plus the carry bit.
Each bit is shown.

【0021】本実施の形態の乗算回路は、図3に示した
従来の乗算回路の加算器間及びゲートへの入力の前にラ
ッチ31〜35を設けると共に、入力された乗数の各ビ
ット及び演算結果への各出力を1サイクルから3サイク
ル遅延させる遅延回路41及び42を有している。
The multiplication circuit according to the present embodiment includes latches 31 to 35 between the adders and before input to the gates of the conventional multiplication circuit shown in FIG. It has delay circuits 41 and 42 that delay each output to the result from one to three cycles.

【0022】遅延回路41〜43は、例えば、3、2、
1ビットのシフトレジスタや直列に接続されたラッチ等
により乗数の上位ビットと演算後の下位ビットを遅延さ
せるように構成されており、被乗数のラッチによる遅延
にタイミングをあわせることができるようになる。遅延
回路41〜43及びラッチ31〜36は同期したクロッ
クによって動作し、共通のリセット信号を有する。
The delay circuits 41 to 43 are, for example, 3, 2,
The upper bit of the multiplier and the lower bit after the operation are configured to be delayed by a 1-bit shift register or a latch connected in series, and the timing can be adjusted to the delay by the latch of the multiplicand. The delay circuits 41 to 43 and the latches 31 to 36 operate with synchronized clocks and have a common reset signal.

【0023】この遅延回路は複数ビットから構成される
Dラッチを同一クロックを用い遅延に必要な数だけ直列
に接続することにより1サイクルから3サイクルの遅延
を標準的なTTLを用いて実現できる。
This delay circuit can realize a delay of one to three cycles by using a standard TTL by connecting D latches composed of a plurality of bits in series using the same clock as many as necessary for the delay.

【0024】各ゲート11〜14は、既知の標準的なT
TLを用いた4BUSAND回路等によって実現でき
る。
Each gate 11-14 has a known standard T
It can be realized by a 4BUSAND circuit using TL or the like.

【0025】次に、本実施の形態の乗算回路の動作につ
いて説明する。
Next, the operation of the multiplying circuit according to the present embodiment will be described.

【0026】図2(b)は図4の本実施例の乗算回路の
処理を示すタイミングチャートである。
FIG. 2B is a timing chart showing the processing of the multiplying circuit of this embodiment shown in FIG.

【0027】まず、時刻aから時刻bまでの第1のサイ
クルにおいて、第1の乗算の乗数P1が各ビット毎に遅
延回路41に設定され、被乗数Q1がラッチA31に設
定される。この時、ゲートA11及びゲートB12の開
閉は遅延回路に登録された乗数側で指定され、加算器A
21での演算が行われる。
First, in the first cycle from time a to time b, the multiplier P1 of the first multiplication is set in the delay circuit 41 for each bit, and the multiplicand Q1 is set in the latch A31. At this time, the opening / closing of the gate A11 and the gate B12 is specified by the multiplier registered in the delay circuit, and the adder A
The calculation at 21 is performed.

【0028】最初のサイクル及びこの後行われるそれぞ
れの演算サイクルにおいて、演算結果の最下位ビットは
出力結果を得るための遅延回路42に登録され必要なサ
イクル分遅延される。また、各サイクルでの演算が行わ
れている間、乗数・被乗数はラッチされているので乗
数、被乗数の入力値が不安定であったり、変化したりし
ても処理の妨げになることはない。
In the first cycle and the respective operation cycles to be performed thereafter, the least significant bit of the operation result is registered in the delay circuit 42 for obtaining the output result and is delayed by a necessary number of cycles. Further, while the operation in each cycle is being performed, the multiplier and the multiplicand are latched, so that even if the input values of the multiplier and the multiplicand are unstable or change, the processing is not hindered. .

【0029】時刻bから時刻cまでの第2のサイクルに
おいて、加算器A21の演算結果がラッチD34に設定
されるとともにラッチA31に設定されていた被乗数が
ラッチB32に移り、遅延回路41で遅延された乗数の
上位ビットが移動する。そして、次の演算のために遅延
された上位ビットがゲートC13を操作する。この結
果、ラッチD34とゲートC13の内容により加算器B
22が演算を行う。
In the second cycle from the time b to the time c, the operation result of the adder A21 is set in the latch D34, and the multiplicand set in the latch A31 is transferred to the latch B32, and is delayed by the delay circuit 41. The higher order bits of the multiplier move. Then, the upper bit delayed for the next operation operates the gate C13. As a result, the adder B is determined by the contents of the latch D34 and the gate C13.
22 performs an operation.

【0030】同時に、第2の乗算の乗数P2及び被乗数
Q2が遅延回路41及びラッチA31にそれぞれ入力さ
れる。
At the same time, the multiplier P2 and the multiplicand Q2 of the second multiplication are input to the delay circuit 41 and the latch A31, respectively.

【0031】時刻cからの時刻dまでの第3のサイクル
において、加算器B22の演算結果がラッチE35に設
定されるとともにラッチB32に設定されていた被乗数
がラッチC33に移り、遅延回路41に記録された乗数
の上位ビットが移動する。そして、次の演算のために遅
延された上位ビットがゲートD14を操作する。この結
果、ラッチE35とゲートD14の内容により加算器C
23が演算を行う。
In the third cycle from time c to time d, the operation result of the adder B22 is set in the latch E35, and the multiplicand set in the latch B32 is transferred to the latch C33 and recorded in the delay circuit 41. The upper bits of the given multiplier move. Then, the upper bit delayed for the next operation operates the gate D14. As a result, the adder C is determined by the contents of the latch E35 and the gate D14.
23 performs the operation.

【0032】同時に、第3の乗算の乗数P3及び被乗数
Q3が遅延回路41及びラッチA31にそれぞれ入力さ
れる。また、ラッチD34とゲートC13の内容により
加算器B22が第2の乗算に関しての演算を行う。
At the same time, the multiplier P3 and the multiplicand Q3 of the third multiplication are input to the delay circuit 41 and the latch A31, respectively. Further, the adder B22 performs an operation related to the second multiplication based on the contents of the latch D34 and the gate C13.

【0033】時刻dから時刻eまでの第4のサイクルに
おいて、加算器C23の演算結果とそれまでに遅延回路
42で遅延された下位ビットとを組み合わせることによ
り、乗数P1と被乗数Q1との乗算の演算結果を得るこ
とが出来る。
In the fourth cycle from time d to time e, by combining the operation result of the adder C23 with the lower bits delayed by the delay circuit 42, the multiplication of the multiplier P1 and the multiplicand Q1 is performed. An operation result can be obtained.

【0034】同時に、ラッチD34とゲートC13の内
容により加算器B22が第3の乗算に関しての演算を行
い、ラッチE35とゲートD14の内容により加算器C
23が第3の乗算に関しての演算を行う。
At the same time, the adder B22 performs an operation related to the third multiplication based on the contents of the latch D34 and the gate C13, and the adder C22 based on the contents of the latch E35 and the gate D14.
23 performs an operation relating to the third multiplication.

【0035】以上のような処理が繰り返して行われ、第
2の乗算の結果は時刻eから時刻fまでの第5のサイク
ルにおいて出力され、第3の乗算の結果は時刻fからの
第6のサイクルにおいて出力される。
The above processing is repeated, the result of the second multiplication is output in the fifth cycle from time e to time f, and the result of the third multiplication is output in the sixth cycle from time f. Output in the cycle.

【0036】図2(a)に示した従来の乗算回路の処理
と、本発明の乗算回路の処理を比べると、第1の乗算の
演算結果が確定するまでに要する時間は同じであるが、
本発明の乗算回路では、第2以降の乗算の演算結果が確
定するまでに要する時間はいずれも1サイクルとなり、
見かけ上の乗算速度が大幅に向上する。
When comparing the processing of the conventional multiplication circuit shown in FIG. 2A with the processing of the multiplication circuit of the present invention, the time required until the operation result of the first multiplication is determined is the same.
In the multiplication circuit of the present invention, the time required until the operation result of the second and subsequent multiplications is determined is one cycle,
The apparent multiplication speed is greatly improved.

【0037】以上説明したように、各サイクル毎に各加
算器での演算が終了する条件下においては、1サイクル
毎に乗数・被乗数の更新が可能となり、加算器を並行に
動作させるパイプライン処理が可能となる。
As described above, under the condition that the operation in each adder is completed in each cycle, the multiplier and the multiplicand can be updated in each cycle, and the pipeline processing for operating the adders in parallel. Becomes possible.

【0038】この際、乗数と被乗数を設定する際に、各
変数の有効性を示すフラグを設定する。そして、このフ
ラグの論理積により演算結果の有効性を示すフラグを生
成し、演算時の最大遅延サイクルと同等の遅延を行うこ
とで演算結果の値の有効性を示すフラグを生成すること
ができる。
At this time, when setting the multiplier and the multiplicand, a flag indicating the validity of each variable is set. Then, a flag indicating the validity of the operation result is generated by the logical product of the flags, and a flag indicating the validity of the value of the operation result can be generated by performing a delay equivalent to the maximum delay cycle during the operation. .

【0039】また、上述の乗算回路において、キャリー
セーブアダー方式を用いることも可能で、その場合、次
段加算器に出力されるキャリーの値をラッチする必要が
生じるため全体のラッチ回路の数を増加させる必要があ
る。
In the above-mentioned multiplying circuit, a carry-save adder method can be used. In this case, it is necessary to latch the value of the carry output to the next-stage adder, so that the total number of latch circuits is reduced. Need to increase.

【0040】なお、上述の実施の形態の乗算回路におい
ては、4ビット×4ビットの乗算を行う回路を4段のパ
イプライン構成としているが、mビット×nビットの乗
算を行う回路を構成する場合、同様にm段の構成とする
か、あるいはm/4段の構成とするかは、使用する演算
素子の性能等に応じて適宜選択される。
In the multiplication circuit according to the above-described embodiment, a circuit for multiplying 4 bits × 4 bits has a four-stage pipeline configuration, but a circuit for multiplication of m bits × n bits is configured. In this case, similarly, the configuration of m stages or the configuration of m / 4 stages is appropriately selected according to the performance of the arithmetic element to be used.

【0041】[0041]

【発明の効果】本発明の乗算回路によれば、各演算手段
を同期させてパイプライン処理させることが可能とな
り、演算結果が確定するまで乗数・被乗数のどちらかし
か変更出来なかった従来の乗算回路に比べ、連続して乗
算を実行する場合の演算速度を大幅に向上することが可
能となる。
According to the multiplication circuit of the present invention, it is possible to perform pipeline processing in synchronization with each operation means, and it is possible to perform conventional multiplication in which either the multiplier or the multiplicand can be changed until the operation result is determined. Compared with the circuit, it is possible to greatly improve the operation speed when performing the multiplication continuously.

【0042】演算手段の一つが演算に要する時間毎に、
次の乗算の乗数及び被乗数を入力可能に構成されている
場合には、第2の乗算以降の見掛け上の乗算速度が1つ
の加算器での加算に要する時間と等しくなる。
Each time one of the calculating means takes a calculation,
When the multiplier and the multiplicand of the next multiplication are configured to be able to be input, the apparent multiplication speed after the second multiplication becomes equal to the time required for the addition by one adder.

【0043】第1及び第2の遅延回路がシフトレジスタ
を含み、同期手段が直列に接続された複数のラッチを含
む場合には、従来の乗算回路に簡単な構成を加えるのみ
で、パイプライン処理が可能な乗算回路を構成できる。
When the first and second delay circuits include a shift register and the synchronization means includes a plurality of latches connected in series, the pipeline processing can be performed only by adding a simple configuration to the conventional multiplication circuit. Can be constructed.

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

【図1】本発明による乗算回路の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a multiplication circuit according to the present invention.

【図2】乗算回路の各処理を示すタイミングチャートで
ある。
FIG. 2 is a timing chart showing each process of the multiplication circuit.

【図3】従来の乗算回路の構成を示すブロック図であ
る。
FIG. 3 is a block diagram illustrating a configuration of a conventional multiplication circuit.

【図4】従来の乗算回路の別の構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing another configuration of the conventional multiplication circuit.

【符号の説明】[Explanation of symbols]

11〜14 ゲート 21〜23 加算器 31〜35 ラッチ 41、42 遅延回路 11-14 Gate 21-23 Adder 31-35 Latch 41, 42 Delay circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 乗数の各ビットと被乗数との部分積を求
める複数の演算手段を有し、各演算手段の出力を組み合
わせて乗算結果を出力する乗算回路であって、前記乗数
の各ビットをそれぞれ個別に遅延させる第1の遅延回路
と、各演算手段から出力された下位ビットをそれぞれ個
別に遅延させる第2の遅延回路と、前記被乗数を前記乗
数の各ビットの遅延時間に同期させて各演算手段に入力
する同期手段とを備えていることを特徴とする乗算回
路。
1. A multiplication circuit having a plurality of operation means for obtaining a partial product of each bit of a multiplier and a multiplicand, and outputting a multiplication result by combining outputs of the respective operation means. A first delay circuit for individually delaying each of them; a second delay circuit for individually delaying lower bits output from each of the arithmetic means; and a delay circuit for synchronizing the multiplicand with a delay time of each bit of the multiplier. And a synchronizing means for inputting to the calculating means.
【請求項2】 前記演算手段の一つが演算に要する時間
毎に、次の乗算の乗数及び被乗数を入力可能に構成され
ていることを特徴とする請求項1に記載の乗算回路。
2. The multiplication circuit according to claim 1, wherein one of said calculation means is configured to be able to input a multiplier and a multiplicand of the next multiplication every time required for calculation.
【請求項3】 前記第1及び第2の遅延回路がシフトレ
ジスタを含み、前記同期手段が直列に接続された複数の
ラッチを含むことを特徴とする請求項1又は2に記載の
乗算回路。
3. The multiplying circuit according to claim 1, wherein said first and second delay circuits include a shift register, and said synchronization means includes a plurality of latches connected in series.
JP8310796A 1996-11-21 1996-11-21 Multiplication circuit Pending JPH10154067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8310796A JPH10154067A (en) 1996-11-21 1996-11-21 Multiplication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8310796A JPH10154067A (en) 1996-11-21 1996-11-21 Multiplication circuit

Publications (1)

Publication Number Publication Date
JPH10154067A true JPH10154067A (en) 1998-06-09

Family

ID=18009555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8310796A Pending JPH10154067A (en) 1996-11-21 1996-11-21 Multiplication circuit

Country Status (1)

Country Link
JP (1) JPH10154067A (en)

Similar Documents

Publication Publication Date Title
US4556948A (en) Multiplier speed improvement by skipping carry save adders
JPS62256034A (en) Pipeline computing unit
JP2585649B2 (en) Division circuit
JPH0640301B2 (en) Parallel multiplier circuit
US5113362A (en) Integrated interpolator and method of operation
JP3003467B2 (en) Arithmetic unit
JPH04205026A (en) Divider circuit
JP3277089B2 (en) Multiplier and product-sum operation unit
US4503512A (en) Cellular division circuit
US5357457A (en) Adder with carry look ahead circuit
JPH10154067A (en) Multiplication circuit
US5124941A (en) Bit-serial multipliers having low latency and high throughput
JP3123060B2 (en) Digital arithmetic circuit
JPS6259828B2 (en)
JP3155026B2 (en) Accumulator
JP3074958B2 (en) Serial multiplier with addition function
US5615141A (en) Multiplying apparatus
KR950015180B1 (en) High speed adder
JP3120435B2 (en) Digital arithmetic circuit
KR950010451B1 (en) A flight speed multiplier using group tree structure algorithm
JP2864598B2 (en) Digital arithmetic circuit
JPH10333885A (en) Multiplying circuit
JPH0520026A (en) Parallel full adder
JPH0962488A (en) Arithmetic synchronizing circuit
JPS61267829A (en) Bit division type synchronous accumulator

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Effective date: 20040511

Free format text: JAPANESE INTERMEDIATE CODE: A7424

A131 Notification of reasons for refusal

Effective date: 20060124

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20060418

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060427

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees