JPS63298627A - Multiplying circuit - Google Patents
Multiplying circuitInfo
- Publication number
- JPS63298627A JPS63298627A JP62136876A JP13687687A JPS63298627A JP S63298627 A JPS63298627 A JP S63298627A JP 62136876 A JP62136876 A JP 62136876A JP 13687687 A JP13687687 A JP 13687687A JP S63298627 A JPS63298627 A JP S63298627A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- partial product
- shifting
- multiplicand
- control data
- 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
Links
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
Abstract
Description
【発明の詳細な説明】 〈産業上の利用分野〉 本発明は乗算回路に関し、特に高速乗算回路に関する。[Detailed description of the invention] <Industrial application field> The present invention relates to multiplication circuits, and more particularly to high-speed multiplication circuits.
〈従来の技術〉
従来この種の高速乗算回路にはブースアルゴリズムを用
いたものが多用されている。<Prior Art> Conventionally, high-speed multiplication circuits of this type often use the Booth algorithm.
〈発明の解決しようとする問題点〉
上述した従来の乗算回路をn次のブースのアルゴリズム
を用いクロック毎に部分積を求める繰返し処理で実現し
ようとする場合、乗数のビット数/n(nは整数)クロ
ック必要である。したがって、乗算速度が低いという問
題点があった。<Problems to be Solved by the Invention> When attempting to realize the above-mentioned conventional multiplication circuit by repeating processing to obtain partial products for each clock using the n-th order Booth algorithm, the number of bits of the multiplier/n (n is integer) clock is required. Therefore, there was a problem that the multiplication speed was low.
例えば、2次のブースのアルゴリズムでは乗数の値によ
って被乗数のO1±1、±2の値を加える。For example, in the second-order Booth algorithm, the values of O1±1 and ±2 of the multiplicand are added depending on the value of the multiplier.
上の表1の様にroOOJと「111」には「0」を加
えてシフトするだけであり演算を必要としていない。As shown in Table 1 above, roOOJ and "111" only need to be shifted by adding "0", and no calculation is required.
〈問題点を解決するための手段および作用〉本発明はブ
ースのアルゴリズムを用いる乗算回路において、部分積
と乗数をn倍(nは整数)したものを加算又は減算する
手段を有し、更に、部分積を任意ビットシフトして次の
部分積を求めるシフト手段を有することを特徴としてい
る。<Means and operations for solving the problems> The present invention has a means for adding or subtracting a partial product and a multiplier multiplied by n (n is an integer) in a multiplication circuit using Booth's algorithm; It is characterized by having a shift means for shifting a partial product by arbitrary bits to obtain the next partial product.
したがって、上述した従来の乗算回路に対し、本発明は
部分積に′0′を加える演算の時には多数ビット部分積
をシフトすることで演算そのものを行なわずクロック数
を削減するという独創的内容を有する。Therefore, in contrast to the above-mentioned conventional multiplication circuit, the present invention has an original content in that when performing an operation of adding '0' to a partial product, by shifting a multi-bit partial product, the number of clocks is reduced without performing the operation itself. .
〈実施例〉 次に本発明の実施例を図面を参照して説明する。<Example> Next, embodiments of the present invention will be described with reference to the drawings.
第1図、第2図、第3図は本発明の一実施例を示す図で
ある。FIG. 1, FIG. 2, and FIG. 3 are diagrams showing one embodiment of the present invention.
第1図で1はバレルシフタ、2は部分積、3は被乗数、
4は乗数、5は部分積シフト制御回路、6は被乗数シフ
ト回路、7は被乗数シフト制御回路、8は加減算制御回
路、9は加減算器、10は制御データ発生回路を示して
いる。In Figure 1, 1 is the barrel shifter, 2 is the partial product, 3 is the multiplicand,
4 is a multiplier, 5 is a partial product shift control circuit, 6 is a multiplicand shift circuit, 7 is a multiplicand shift control circuit, 8 is an addition/subtraction control circuit, 9 is an adder/subtractor, and 10 is a control data generation circuit.
今、第2、第3図の例に従って説明する。これは000
0 0010bXOO110001bを例にとったもの
である。まず第2図の様に乗数0011 0001bか
ら制御データa、b、cを算出する。これは第1図では
乗数4から回路10を使って計算され、各々aの被乗数
のシフト量はシフト回路7へ、bの+/−制御データは
制御回路8へ、Cの部分積シフト量は制御回路5へ送ら
れる。なお、被乗数のシフト量は、01が×1.10が
×2であり、+/−制御データは、1が(−)、Oが(
+)であり、部分積シフト量は、00が2.01が4.
10が6.11が8である。The explanation will now be made according to the examples shown in FIGS. 2 and 3. This is 000
0 0010bXOO110001b is taken as an example. First, control data a, b, and c are calculated from multipliers 0011 0001b as shown in FIG. In FIG. 1, this is calculated using the circuit 10 from the multiplier 4, and the shift amount of the multiplicand of a is sent to the shift circuit 7, the +/- control data of b is sent to the control circuit 8, and the shift amount of the partial product of C is The signal is sent to the control circuit 5. Note that the shift amount of the multiplicand is 01 x 1.10 x 2, and the +/- control data is 1 (-) and O ((-).
+), and the partial product shift amount is 00 is 2.01 is 4.
10 is 6.11 is 8.
次に第3図を使って説明する。まず、ステップ1では部
分積に被乗数の1倍を加える。この時、第2図のCが4
ビツトのシフトを示しているのでバレルシフタ1で4ビ
ツトシフトしたものを次の部分積とする。次にステップ
2.3で各々部分積を求め、結果として0100 00
10bが得られる。Next, explanation will be given using FIG. First, in step 1, 1 times the multiplicand is added to the partial product. At this time, C in Figure 2 is 4
Since this shows a bit shift, the next partial product is one shifted by 4 bits by barrel shifter 1. Next, in step 2.3, calculate each partial product, and the result is 0100 00
10b is obtained.
第4図は本発明の第2実施例を示すブロック回路図であ
る。第4図で1〜9は第1図と同一構成である。11は
マイクロコードロムである。今。FIG. 4 is a block circuit diagram showing a second embodiment of the present invention. In FIG. 4, numerals 1 to 9 have the same configuration as in FIG. 11 is a microcode ROM. now.
乗数4の値により第2図、第3図の処理を行なう様に構
成する事で同じ結果を得る事ができる。第2実施例は第
1実施例に比べてハードウェア量を削減できる効果があ
る。The same result can be obtained by configuring the system to perform the processing in FIGS. 2 and 3 using the value of the multiplier 4. The second embodiment has the effect of reducing the amount of hardware compared to the first embodiment.
〈発明の効果〉
以上説明した様に本発明は部分積の任意ビットシフトを
実行することにより、高速の乗算回路が得られる効果が
ある。<Effects of the Invention> As explained above, the present invention has the effect of providing a high-speed multiplication circuit by executing arbitrary bit shifts of partial products.
第1図は本発明の第1実施例を示すブロック回路図、第
2図は乗数から制御データを形成する手順を示すフロー
図、第3図は演算の手順を示すフロー図、第4図は第2
実施例を示すブロック回路図である。
1・・・・バレルシフタ、
2・・・・部分積、
3・・・・被乗数、
4・・・・乗数。
5・・・・部分積シフト制御回路、
6・・・・被乗数シフト回路、
7・・・・被乗数シフト制御回路、
8・・・・加減算制御回路、
9・・・・加減算器、
10・・・・制御データ発生回路、
11・・・・マイクロコードロム。
特許出願人 日本電気株式会社代理人 弁理
士 桑 井 清 −
第1図
十n
。
2n
千日
5TEP 32 1
第2図
第4図FIG. 1 is a block circuit diagram showing the first embodiment of the present invention, FIG. 2 is a flow chart showing the procedure for forming control data from multipliers, FIG. 3 is a flow chart showing the calculation procedure, and FIG. Second
FIG. 2 is a block circuit diagram showing an example. 1... Barrel shifter, 2... Partial product, 3... Multiplicand, 4... Multiplier. 5... Partial product shift control circuit, 6... Multiplicand shift circuit, 7... Multiplicand shift control circuit, 8... Addition/subtraction control circuit, 9... Addition/subtraction device, 10... ...Control data generation circuit, 11...Micro code ROM. Patent applicant Kiyoshi Kuwai, agent for NEC Corporation and patent attorney - Figure 1-10. 2n Thousand Days 5TEP 32 1 Figure 2 Figure 4
Claims (1)
積と乗数をn倍(nは整数)したものを加算又は減算す
る手段を有し、更に、部分積を任意ビットシフトして次
の部分積を求めるシフト手段を有することを特徴とする
乗算回路。A multiplication circuit using Booth's algorithm has means for adding or subtracting a partial product and a multiplier multiplied by n (n is an integer), and further has a means for shifting the partial product by arbitrary bits to obtain the next partial product. A multiplication circuit characterized in that it has a means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62136876A JPS63298627A (en) | 1987-05-29 | 1987-05-29 | Multiplying circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62136876A JPS63298627A (en) | 1987-05-29 | 1987-05-29 | Multiplying circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63298627A true JPS63298627A (en) | 1988-12-06 |
Family
ID=15185598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62136876A Pending JPS63298627A (en) | 1987-05-29 | 1987-05-29 | Multiplying circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63298627A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01193932A (en) * | 1988-01-28 | 1989-08-03 | Matsushita Electric Ind Co Ltd | Multiplication circuit |
-
1987
- 1987-05-29 JP JP62136876A patent/JPS63298627A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01193932A (en) * | 1988-01-28 | 1989-08-03 | Matsushita Electric Ind Co Ltd | Multiplication circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0230531B2 (en) | ||
JPH0728782A (en) | Operating circuit and operating method | |
JPH0474219A (en) | High speed multiplier | |
JPS63298627A (en) | Multiplying circuit | |
US5870322A (en) | Multiplier to selectively perform unsigned magnitude multiplication or signed magnitude multiplication | |
JP3206773B2 (en) | Digital signal processing quadrature modulator | |
JP3097081B2 (en) | Variable stage m-sequence code generator | |
KR100386979B1 (en) | Method of paralleling bit serial multiplier for Galois field and a bit serial-parallel multipiler using thereof | |
JPH0250723A (en) | Partial product forming circuit | |
JPH0226408A (en) | Digital filter | |
JPH02114324A (en) | Multiplier | |
JP3130797B2 (en) | Product-sum operation processing method and apparatus | |
JPH03263910A (en) | Iir filter | |
JP2002198779A (en) | Matched filter | |
JPS63113757A (en) | Operation circuit | |
JPS62260229A (en) | Multiplying circuit | |
JP2003101414A (en) | Digital signal processing circuit | |
JPH0264786A (en) | High speed system for continuous multiplication with d-a converter | |
JPS59123087A (en) | Accumulator | |
JP2001005642A (en) | Multiplier | |
JPH0435417A (en) | Oversample analog/digital converter | |
JPS61144129A (en) | Galois field multiplier | |
JPH04170637A (en) | Divider circuit | |
JPS6149715B2 (en) | ||
JPH02239325A (en) | Division circuit |