JPH01100626A - Decimal fraction multiplier - Google Patents

Decimal fraction multiplier

Info

Publication number
JPH01100626A
JPH01100626A JP62258880A JP25888087A JPH01100626A JP H01100626 A JPH01100626 A JP H01100626A JP 62258880 A JP62258880 A JP 62258880A JP 25888087 A JP25888087 A JP 25888087A JP H01100626 A JPH01100626 A JP H01100626A
Authority
JP
Japan
Prior art keywords
adder
bit
multiplier
data
output
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
JP62258880A
Other languages
Japanese (ja)
Other versions
JP2706455B2 (en
Inventor
Hiroshi Mizuguchi
博 水口
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 JP62258880A priority Critical patent/JP2706455B2/en
Publication of JPH01100626A publication Critical patent/JPH01100626A/en
Application granted granted Critical
Publication of JP2706455B2 publication Critical patent/JP2706455B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To directly multiply an integer by a decimal fraction by being equipped with a bit discriminating means, a switching means to be operated with an output, a feedback means of an adder, and a multiplication control circuit. CONSTITUTION:A switch group to be operated by the output of a bit AND circuit 51 of a bit discriminating block 10 is provided at a multiplicand transferring path to an adder 50, and the output of the adder is fed back through a feedback bus 60 and a right shifter 53 on an input side. A bit position selective signal is supplied from a multiplication control circuit 55 through a multiplier and a decoder 54 to the AND circuit 51, and an adding instruction ADD is also given to the adder 50. The AND circuit 51 opens a switch group 52 at the time of '0', and a zero is supplied on the multiplicand side of the adder 50. Since the value of the multiplier is successively discriminated from the highest-order bit in units of a bit, the bit position selective signal is given for the prescribed times set beforehand, and the multiplier in the adder is controlled, the integer can be directly multiplied by the decimal fraction.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、機器を制御するためのマイクロプロセッサに
搭載するのに好適な小数乗算器を提供するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention provides a decimal multiplier suitable for being installed in a microprocessor for controlling equipment.

従来の技術 最近のマイクロプロセッサには、乗算命令を備えたもの
が多く見受けられ、汎用のマイクロプロセッサには整数
乗算器が搭載され、信号処理や機器の制御に用いられる
シグナルプロセッサには浮動小数点乗算器が搭載されて
いる。
Conventional technology Many modern microprocessors are equipped with multiplication instructions; general-purpose microprocessors are equipped with integer multipliers, and signal processors used for signal processing and equipment control are equipped with floating-point multiplication instructions. equipment is installed.

発明が解決しようとする問題点 いま、第4図に示すようなモータの回転速度制御装置の
主要部をマイクロプロセッサで実現する場合について考
えてみると、速度誤差検出部1からは整数の誤差データ
が出力され、デジタルフィルタ2によって周波数領域で
の補償を行なったうえでD−Aコンバータ3によって直
流電流に変換される。ところで、よく知られているよう
に、−般にこの種のディジタルフィルタでは乗算として
小数を扱う。これに対してデジタルフィルタ2に入力さ
れるのは整数の誤差検出データである。したがって、整
数の被乗算と小数の乗数との乗算が行なえる乗算器がマ
イクロプロセッサに搭載されていれば都合がよいが、実
際には、整数のみを扱う乗算器かあるいは規模の大きな
浮動小数点乗算器が使用されている。
Problems to be Solved by the Invention Now, if we consider the case where the main part of a motor rotational speed control device as shown in FIG. is output, compensated in the frequency domain by the digital filter 2, and then converted into a direct current by the DA converter 3. By the way, as is well known, this type of digital filter generally handles decimal numbers in multiplication. On the other hand, what is input to the digital filter 2 is integer error detection data. Therefore, it would be convenient if a microprocessor had a multiplier that could perform multiplication between an integer multiplicand and a decimal multiplier, but in reality, a multiplier that handles only integers or a large floating-point multiplier is required. equipment is used.

問題点を解決するための手段 前記した問題点を解決するために本発明の小数乗算器で
は、乗数データのビット単位の値の判別を行なうビット
判別手段と、前記ビット判別手段からの出力に応して加
算器への被乗数データの転送路を開閉するスイッチ手段
と、前記加算器の出力を前記加算器の入力側に戻す帰還
手段と、ビット位M選択信号を前記ビット判別手段に送
出するとともに、加算指令信号を前記加算器に送出する
乗算制御回路を備えている。
Means for Solving the Problems In order to solve the above-mentioned problems, the decimal multiplier of the present invention includes a bit discrimination means for discriminating the value of multiplier data in units of bits, and a response to the output from the bit discrimination means. switch means for opening and closing a transfer path for the multiplicand data to the adder; feedback means for returning the output of the adder to the input side of the adder; and sending a bit position M selection signal to the bit discrimination means. , a multiplication control circuit that sends an addition command signal to the adder.

作用 本発明では前記した構成によって、整数の被乗数データ
と小数の乗数データの乗算が直接実行できる乗算器が得
られる。
Operation According to the present invention, the above-described configuration provides a multiplier that can directly perform multiplication of integer multiplicand data and decimal multiplier data.

実施例 以下、本発明の一実施例について図面を参照しながら説
明する。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における小数乗算器のブロッ
クダイアグラムを示したものである。第1図において、
算術論理演算ユニット50は加算器として用いられてい
るので、以後、加算器50として説明する。前記加算器
50への被乗数データの転送路には、ビット論理積回路
51の出力によってを開閉する16ビツトのスイッチ群
52が設けられており、前記加算器50の出力データは
16ビツトの帰還バス60と右シフタ53を介して前記
加算器50の入力側に戻される。また、前記ビット論理
積回路51の一方の入力側には乗数データが供給され、
他方の入力側にはデコーダ54を介して乗算制御回路5
5からのビット位置選択信号が供給され、前記加算器5
0には前記乗算制御回路55から加算指令信号ADDが
供給されている。なお、前記乗算制御回路55から前記
デコーダ54にはピント位置選択信号がOから15まで
の数値データとして供給され、前記デコーダ54はこの
数値データに対応するビット位置がセットされた16ビ
ツトのデータをビット論理積回路51に送出する。前記
ビット論理積回路51は乗数データと前記デコーダ54
からのデータとの論理積演算を行ない、その結果を1ビ
ツト化してスイッチ群52に送出する。前記スイッチ群
52は前記ビット論理積回路51の出力が“1゛であれ
ば閉状態になり、反対に′O°であれば開状態となる。
FIG. 1 shows a block diagram of a fractional multiplier in one embodiment of the present invention. In Figure 1,
Since the arithmetic and logic operation unit 50 is used as an adder, it will be described as the adder 50 from now on. A 16-bit switch group 52 is provided on the transfer path of the multiplicand data to the adder 50, which is opened and closed by the output of the bit AND circuit 51, and the output data of the adder 50 is transferred to the 16-bit feedback bus. 60 and the right shifter 53, it is returned to the input side of the adder 50. Further, multiplier data is supplied to one input side of the bit AND circuit 51,
On the other input side, a multiplication control circuit 5 is connected via a decoder 54.
A bit position selection signal from the adder 5 is supplied to the adder 5.
0 is supplied with an addition command signal ADD from the multiplication control circuit 55. Note that the focus position selection signal is supplied from the multiplication control circuit 55 to the decoder 54 as numerical data from 0 to 15, and the decoder 54 receives 16-bit data in which the bit position corresponding to this numerical data is set. It is sent to the bit AND circuit 51. The bit AND circuit 51 outputs multiplier data and the decoder 54.
It performs an AND operation with the data from , converts the result into 1 bit, and sends it to the switch group 52 . The switch group 52 is in a closed state when the output of the bit AND circuit 51 is "1", and on the other hand, is in an open state when it is '0°.

なお、前記スイッチ群52が開状態となったときには、
前記加算器50の被乗数側には零が供給される。
Note that when the switch group 52 is in the open state,
Zero is supplied to the multiplicand side of the adder 50.

前記右シフタ53は、入力データをその値の減少方向に
シフトして前記加算器50の入力側に供給するが、入力
データとしては前記加算器50の加算結果が供給される
The right shifter 53 shifts the input data in the direction of decreasing its value and supplies it to the input side of the adder 50, and the addition result of the adder 50 is supplied as the input data.

いま、被乗数データが16進数で[4E20]、すなわ
ち、10進数で20000であり、乗数データが16進
数で[8000]、10進数で32768であるとする
と、乗算制御回路55からビット判別ブロック10に対
して0から15までの数値データが供給され、同時に加
算器50に対して16サイクルのパルス信号が供給され
たとき、デコーダ54の出力のデータRn、ビット判別
ブロック10の出力Cn、加算器50の出力データDn
、右シフタ53の出力データSnは以下のように遷移す
る。なお、ここで加算器50は加算動作が完了するまで
その出力データとして前回の値が保持されるものとする
Now, suppose that the multiplicand data is [4E20] in hexadecimal, that is, 20000 in decimal, and the multiplicand data is [8000] in hexadecimal, 32768 in decimal. When numerical data from 0 to 15 is supplied to the adder 50 and at the same time a 16-cycle pulse signal is supplied to the adder 50, the output data Rn of the decoder 54, the output Cn of the bit discrimination block 10, the adder 50 Output data Dn
, the output data Sn of the right shifter 53 transitions as follows. It is assumed here that the adder 50 retains the previous value as its output data until the addition operation is completed.

nRn’Cn    Dn     Sn■ [000
1]  [0]  Co 000コ EO000コ■[
0002]  [0]  [0000]  [0000
]■ [0004]  [0]  [0000コ [0
000]■[0008]  [0]  [0000] 
 [0000]■[0010コ[0][0000][0
0001■ [0020]  [0]  [0000]
  [0000]■ [0040]  [0]  [0
0003[0000]■ [0080]  [0]  
[0000]  [0000コ■ [0100F  [
0]  [0000]  [0000コ@l[0200
][0コ[0000][00001■ [0400] 
 [0]  [0000コ [0000]@  [08
001[0]  [0000コ [0000]@[10
00コ [0]  [0000]  [0000コ■ 
[2000コ [0コ [00001[0000]■ 
[4000]  [0]  [0000]  [000
01@[8000]  [1]  [4E20]  [
0000]乗算結果は被乗数の[4E20]に小数の0
.1を乗じたものに等しくなる。
nRn'Cn Dn Sn■ [000
1] [0] Co 000 EO 000 ■ [
0002] [0] [0000] [0000
]■ [0004] [0] [0000 ko [0
000] ■ [0008] [0] [0000]
[0000]■[0010ko[0][0000][0
0001■ [0020] [0] [0000]
[0000] ■ [0040] [0] [0
0003 [0000] ■ [0080] [0]
[0000] [0000ko■ [0100F [
0] [0000] [0000ko@l[0200
][0ko[0000][00001■ [0400]
[0] [0000 ko [0000] @ [08
001 [0] [0000 ko [0000] @ [10
00 pieces [0] [0000] [0000 pieces■
[2000 pieces [0 pieces] [00001[0000]■
[4000] [0] [0000] [000
01@[8000] [1] [4E20] [
0000] The multiplication result is the multiplicand [4E20] and the decimal 0
.. It is equal to 1 multiplied by 1.

同様にして、被乗数データが16進数で[4E20]で
あり、乗数データが16進数で[5555コ、10進数
で21845であるとすると、乗算制御回路55からビ
ット判別ブロック10に対してOから15までの数値デ
ータが供給され、同時に加算器50に対して16サイク
ルのパルス信号が供給されたとき、デコーダ54の出力
のデータRn、ビット判別ブロック1oの出力Cn、加
算器50の出力データDn、右シフタ53の出力データ
Snは以下のように遷移する。
Similarly, if the multiplicand data is [4E20] in hexadecimal and the multiplier data is [5555 in hexadecimal and 21845 in decimal, then When the numerical data up to and at the same time a 16-cycle pulse signal is supplied to the adder 50, the output data Rn of the decoder 54, the output Cn of the bit discrimination block 1o, the output data Dn of the adder 50, The output data Sn of the right shifter 53 changes as follows.

n   Rn    Cn    Dn     Sn
■[0001]  [1]  [4E20]  [00
001■ [0002コ [0]  [2710]  
[2710]■ [0004]  [1コ [61A8
]  [1388コ■[0008]  [0]  [3
0D4]  [30D4]■[0010]  [1] 
 [668A]  [186A]■[0020F  [
01[3345]  [3345]■ [0040コ 
 [1]  [67C2]  [19A2]■[018
0]  [01[33E1]  [33E1]■ [0
100コ  [1]   [6810コ  [19FO
][相][0200]  [0]  [3408]  
[3408]@[0400]  [1]  [6824
コ EIAO4コ@[08001[0コ  [3412
]  [3412コ■ [1000]  [1]  [
6829]  [IAO9コ■ [2000]  [0
1[3414]  [3414コ@[40001[1F
   [682A]   [IAOAコ[相] [80
00]  E、0コ E3415E  [3415]こ
の場合の乗算結果は10進数で13333となり、被乗
数の[4E20]に小数の0.61、すなわち、(20
000/32767)を乗じたものに等しくなる。
n Rn Cn Dn Sn
■[0001] [1] [4E20] [00
001■ [0002ko [0] [2710]
[2710] ■ [0004] [1 piece [61A8
] [1388 ko ■ [0008] [0] [3
0D4] [30D4]■[0010] [1]
[668A] [186A] ■ [0020F [
01[3345] [3345]■ [0040ko
[1] [67C2] [19A2] ■ [018
0] [01[33E1] [33E1]■ [0
100 pieces [1] [6810 pieces [19FO
] [Phase] [0200] [0] [3408]
[3408] @ [0400] [1] [6824
Ko EIAO4ko@[08001[0ko [3412
] [3412 pieces ■ [1000] [1] [
6829] [IAO9ko■ [2000] [0
1[3414] [3414ko@[40001[1F
[682A] [IAOA co[phase] [80
00] E, 0 E3415E [3415] The multiplication result in this case is 13333 in decimal, and the multiplicand [4E20] is added to the decimal 0.61, that is, (20
000/32767).

結局、第1図に示した小数乗算器では、被乗数データの
値D、乗数データの値Mから乗算結果Aは次のようにし
て算出される。
In the end, in the decimal multiplier shown in FIG. 1, the multiplication result A is calculated from the multiplicand data value D and the multiplier data value M as follows.

D = d 15.2” + d 14.2”+・・・
・・・+ d 2,2g + 1.21 + d O,
2°    ・旧・・(1)M=m15.215+m1
4.2′4+−−十d2.2”+m1.2’+m0.2
°   ・旧・・(2)ここで、d15.m15はそれ
ぞれ被乗数データD9乗数デークMの最上位ビット値で
、dQ。
D = d 15.2" + d 14.2" +...
...+ d 2,2g + 1.21 + d O,
2° ・Old...(1) M=m15.215+m1
4.2'4+--10d2.2"+m1.2'+m0.2
° ・Old...(2) Here, d15. m15 is the most significant bit value of multiplicand data D9 and multiplier dek M, respectively, and is dQ.

mOはそれぞれ被乗数データD5乗数データMの最下位
ビットの値である。最初の加算動作が完了した時点の、
加算結果aOは、 a O=m O・D           ・旧・(3
12回目の加算動作が完了した時点の、加算結果a1は
、 al−ml  ・ D+  − =m l−D +m O・−−−(413回目の加算動
作が完了した時点の、加算結果a2は、 a2=D−m2+− ・・・・・・(5) したがって、 2°      21 十mO・□       ・・・・・・(6)−M 八−□            ・・・・・・(7)I
5 このようにして、第1図の小数乗算器では、整数の被乗
数データと小数の乗数データとの乗算を簡単に行なうこ
とができる。また、従来の整数乗算では、16ビツトの
データの乗算を実行するとその結果を格納するために3
2ビツトのレジスタあるいはメモリ領域を必要としたが
、第1図の小数乗算器では乗数データの値が1を越えな
いかぎり桁あふれは発生しないので、乗算結果を格納す
るために必要となるビット数も少なくてすむ。
mO is the value of the least significant bit of multiplicand data D5 and multiplier data M, respectively. When the first addition operation is completed,
The addition result aO is a O=m O・D・Old・(3
The addition result a1 at the time when the 12th addition operation is completed is al-ml D+ − = m l−D +m O・---(The addition result a2 at the time the 413th addition operation is completed is a2=D−m2+− ・・・・・・(5) Therefore, 2° 21 0 mO・□ ・・・・・・(6) −M 8−□ ・・・・・・(7) I
5. In this manner, the decimal multiplier of FIG. 1 can easily perform multiplication of integer multiplicand data and decimal multiplier data. In addition, in conventional integer multiplication, when 16-bit data is multiplied, 3 bits are required to store the result.
Although a 2-bit register or memory area is required, in the decimal multiplier shown in Figure 1, overflow does not occur unless the multiplier data value exceeds 1, so the number of bits required to store the multiplication result is It also requires less.

さて、第2図は本発明の別の実施例を示したもので、第
2図の小数乗算器では、乗数データの最下位ビットから
順にビット単位の値の判別を行なうビット判別手段とし
てシフトレジスタ56が用いられ、乗算制御回路55か
ら前記シフトレジスタ56には加算器50に供給される
加算指令信号ADDと同じ16サイクルのパルス列から
なる右シフト指令信号が供給され、前記シフトレジスタ
からのシフトキャリーによってスイッチ群52が開閉さ
れる。
Now, FIG. 2 shows another embodiment of the present invention. In the decimal multiplier shown in FIG. 56 is used, and a right shift command signal consisting of a pulse train of 16 cycles, which is the same as the addition command signal ADD supplied to the adder 50, is supplied from the multiplication control circuit 55 to the shift register 56, and a shift carry from the shift register is supplied. The switch group 52 is opened and closed.

ところで、第1図および第2図に示した実施例では、乗
数データの最下位ビットから順にビット値の判別を行な
うように構成されているが、第3図に示すように、乗数
データの最上位ビットから順にビット値の判別を行なう
ように構成することもできる。すなわち、第3図の小数
乗算器では、被乗数データはシフトレジスタ57を介し
てスイッチ群52に供給され、乗算制御回路55からは
、加算器50に16サイクルのパルス列からなる加算指
令信号ADDが、シフトレジスタ56.57には左シフ
ト指令信号SHL、右シフト指令信号SHRがそれぞれ
供給されている。第3図の小数乗算器では、乗算制御回
路55の出力パルス列の1サイクル目において、(6)
式の右辺第1項目の演算が行なわれてその結果は加算器
50の一方の入力側に戻され、2サイクル目において、
1サイクル目の演算結果に(6)式の右辺第2項目を加
算する演算が行なわれる。したがって、第3図に示した
小数乗算器においても、(6)式で示される結果が得ら
れる。ただし、第3図の小数乗算器では(6)式の右辺
の各項を個別に計算して加え合わせるのと同じ演算操作
になるので、乗数データの右シフトに伴う桁落ちによる
誤差が発生し、乗算の精度は悪くなる。
Incidentally, in the embodiments shown in FIGS. 1 and 2, the bit values are determined in order from the least significant bit of the multiplier data, but as shown in FIG. It is also possible to configure the bit values to be determined in order from the most significant bits. That is, in the decimal multiplier of FIG. 3, the multiplicand data is supplied to the switch group 52 via the shift register 57, and the addition command signal ADD consisting of a 16-cycle pulse train is sent from the multiplication control circuit 55 to the adder 50. The shift registers 56 and 57 are supplied with a left shift command signal SHL and a right shift command signal SHR, respectively. In the decimal multiplier of FIG. 3, in the first cycle of the output pulse train of the multiplication control circuit 55, (6)
The first item on the right side of the equation is calculated and the result is returned to one input side of the adder 50, and in the second cycle,
An operation is performed to add the second item on the right side of equation (6) to the operation result of the first cycle. Therefore, even in the decimal multiplier shown in FIG. 3, the result shown in equation (6) can be obtained. However, in the decimal multiplier shown in Figure 3, the operation is the same as calculating each term on the right side of equation (6) individually and adding them together, so errors occur due to loss of digits due to the right shift of the multiplier data. , the precision of multiplication becomes worse.

なお、実施例では被乗数データ、乗数データともに16
ビツトの場合について説明したが、両者が必ずしも同じ
ビット数である必要はない。例えば、第1図において乗
数データが8ビツトであれば、第1図において乗数デー
タが8ビツトであれば乗算制御回路55から8サイクル
のパルス列を発生させればよく、その場合にはより速く
乗算が完了する。さらに、説明の便宜上から被乗数デー
タと乗数データを区別したが、これらを入れ替えても何
等差しつかえないことは(1)〜(6)式からも明らか
である。また、第1図〜第3図の加算器50は、既に説
明したように実際は算術論理演算ユニットであり、マイ
クロプロセッサであれば、通常の加算・減算・論理演算
などを行なわせるために具備されている。また、レジス
タについても同様のことがいえる。したがって、本発明
の小数乗算器は、乗算の実行速度を多少犠牲にするなら
、マイクロプロセッサが有している算術論理演算ユニッ
トやレジスタを有効に利用して、レジスタの内容の論理
シフト機能や乗算制御回路55の機能などはプログラム
によって実現することもできる。
In the example, both the multiplicand data and the multiplier data are 16.
Although the case of bits has been explained, the two do not necessarily have to have the same number of bits. For example, if the multiplier data in FIG. 1 is 8 bits, it is sufficient to generate an 8-cycle pulse train from the multiplication control circuit 55, and in that case, the multiplication can be performed faster. is completed. Furthermore, although multiplicand data and multiplier data have been distinguished for convenience of explanation, it is clear from equations (1) to (6) that there is no problem even if they are interchanged. Furthermore, as already explained, the adder 50 in FIGS. 1 to 3 is actually an arithmetic and logic operation unit, and if it is a microprocessor, it is equipped to perform normal addition, subtraction, logical operations, etc. ing. The same thing can also be said about registers. Therefore, the decimal multiplier of the present invention makes effective use of the arithmetic and logic unit and registers of the microprocessor, and performs logical shift functions and multiplication of the contents of the registers, even if it sacrifices the execution speed of multiplication to some extent. The functions of the control circuit 55 can also be realized by a program.

もちろん、純粋なハードウェアのみによって構成する場
合も、プロセッサとして新たに必要になるハードウェア
要素はかなり少なくてすむ。
Of course, even in the case of a pure hardware configuration, the number of new hardware elements required for the processor can be considerably reduced.

発明の効果 以上の説明から明らかなように、本発明の小数乗算器は
、加算器50と、乗数データの最下位ビットまたは最上
位ビットから順にビット単位の値の判別を行なうビット
判別手段(ビット判別ブロック10またはシフトレジス
タ56)と、前記ビット判別手段からの出力に応じて前
記加算器への被乗数データの転送路を開閉するスイッチ
手段(スイッチ群52)と、前記加算器の出力を前記加
算器の入力側に戻す帰還手段(帰還バス60)と、あら
かじめ定めた回数のビット位置選択信号を前記ビット判
別手段に送出するとともに、加算指令信号を前記加算器
に送出する乗算制御回路55によって構成されているの
で、整数の被乗数データと小数の乗数データの直接乗算
を実行させることができ、大なる効果を奏する。
Effects of the Invention As is clear from the above description, the decimal multiplier of the present invention includes an adder 50 and a bit discrimination means (bit discrimination means) that discriminates the value of multiplier data in bit units starting from the least significant bit or the most significant bit. determination block 10 or shift register 56); switch means (switch group 52) for opening and closing the transfer path of multiplicand data to the adder according to the output from the bit determination means; A multiplication control circuit 55 that sends a predetermined number of bit position selection signals to the bit discrimination means and sends an addition command signal to the adder. Therefore, direct multiplication of integer multiplicand data and decimal multiplier data can be performed, which has a great effect.

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

第1図は本発明の一実施例を示す小数乗算器のブロック
ダイアグラム、第2図、第3図はそれぞれ本発明の他の
一実施例を示す小数乗算器のブロックダイアグラム、第
4図は小数乗算器を必要とする制御装置のブロックダイ
アグラムである。 10・・・・・・ビット判別ブロック、50・・・・・
・加算器、52・・・・・・スイッチ群、53・・・・
・・右シスタ、55・・・・・・乗算制御回路、60・
・・・・・帰還バス。 代理人の氏名 弁理士 中尾敏男 はか1名第2% 5簀見埒景 第3図 図
FIG. 1 is a block diagram of a decimal multiplier showing one embodiment of the present invention, FIGS. 2 and 3 are block diagrams of a decimal multiplier showing another embodiment of the present invention, and FIG. 4 is a block diagram of a decimal multiplier showing another embodiment of the present invention. 1 is a block diagram of a control device requiring a multiplier. 10...Bit discrimination block, 50...
・Adder, 52...Switch group, 53...
...Right sister, 55...Multiplication control circuit, 60.
...Return bus. Name of agent: Patent attorney Toshio Nakao Haka 1 person 2nd % 5. Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)加算器と、乗数データの最下位ビットまたは最上
位ビットから順にビット単位の値の判別を行なうビット
判別手段と、前記ビット判別手段からの出力に応じて前
記加算器への被乗数データの転送路を開閉するスイッチ
手段と、前記加算器の出力を前記加算器の入力側に戻す
帰還手段と、あらかじめ定めた回数のビット位置選択信
号を前記ビット判別手段に送出するとともに、加算指令
信号を前記加算器に送出する乗算制御回路を具備してな
る小数乗算器。
(1) An adder, a bit discrimination means for discriminating the value of multiplier data in bit units starting from the least significant bit or the most significant bit, and the multiplicand data is sent to the adder according to the output from the bit discrimination means. switch means for opening and closing the transfer path; feedback means for returning the output of the adder to the input side of the adder; and a feedback means for sending a predetermined number of bit position selection signals to the bit discrimination means, as well as an addition command signal. A decimal multiplier comprising a multiplication control circuit for sending data to the adder.
(2)加算器と、乗算データの最下位ビット最上位ビッ
トから順にビット単位の値の判別を行なうビット判別手
段と、前記ビット判別手段からの出力に応じて前記加算
器への被乗数データの転送路を開閉するスイッチ手段と
、前記加算器の出力データをその値が減少する方向にシ
フトして前記加算器に供給する右シフタと、あらかじめ
定めた回数のビット位置選択信号を前記ビット判別手段
に送出するとともに、加算指令信号を前記加算器に送出
する乗算制御回路を具備してなる小数乗算器。
(2) an adder, a bit discriminator that discriminates the value of the multiplication data in bit units starting from the least significant bit and the most significant bit, and transfer of the multiplicand data to the adder in accordance with the output from the bit discriminator. a right shifter that shifts the output data of the adder in a direction in which its value decreases and supplies it to the adder; and a predetermined number of bit position selection signals to the bit discrimination means. A decimal multiplier comprising a multiplication control circuit that sends out an addition command signal to the adder.
JP62258880A 1987-10-14 1987-10-14 Decimal multiplier Expired - Fee Related JP2706455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62258880A JP2706455B2 (en) 1987-10-14 1987-10-14 Decimal multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62258880A JP2706455B2 (en) 1987-10-14 1987-10-14 Decimal multiplier

Publications (2)

Publication Number Publication Date
JPH01100626A true JPH01100626A (en) 1989-04-18
JP2706455B2 JP2706455B2 (en) 1998-01-28

Family

ID=17326312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62258880A Expired - Fee Related JP2706455B2 (en) 1987-10-14 1987-10-14 Decimal multiplier

Country Status (1)

Country Link
JP (1) JP2706455B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2645294A1 (en) * 1989-04-04 1990-10-05 Thomson Consumer Electronics MULTIPLIER ASSEMBLY OF DIGITAL WORDS IN SERIES
JP2014187539A (en) * 2013-03-22 2014-10-02 Mega Chips Corp Image processing apparatus

Citations (1)

* 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

Patent Citations (1)

* 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2645294A1 (en) * 1989-04-04 1990-10-05 Thomson Consumer Electronics MULTIPLIER ASSEMBLY OF DIGITAL WORDS IN SERIES
JP2014187539A (en) * 2013-03-22 2014-10-02 Mega Chips Corp Image processing apparatus

Also Published As

Publication number Publication date
JP2706455B2 (en) 1998-01-28

Similar Documents

Publication Publication Date Title
US4975868A (en) Floating-point processor having pre-adjusted exponent bias for multiplication and division
EP0136834A2 (en) A digital circuit performing an arithmetic operation with an overflow
EP0530372B1 (en) Numerical expression converter and vector processor using the same
JPH0542011B2 (en)
JPS5811652B2 (en) Arithmetic unit
JPH09507941A (en) Block normalization without wait cycles in a multi-add floating point sequence
EP1137980A1 (en) Arithmetic operations in a data processing system
JPS6227412B2 (en)
JPH01100626A (en) Decimal fraction multiplier
JPH03135627A (en) Fuzzy arithmetic unit
US3489888A (en) Floating point look-ahead binary multiplication system utilizing two's complement notation for representing negative numbers
JPH0346024A (en) Floating point computing element
US4254471A (en) Binary adder circuit
JP2706459B2 (en) Microprocessor with decimal multiplier
US3417236A (en) Parallel binary adder utilizing cyclic control signals
JPH01103738A (en) Decimal multiplier
JPS62500474A (en) High speed BCD/binary adder
EP0265948A2 (en) Data processor capable of immediately calculating branch address in relative address branch
JPH028936A (en) Computer system
JP2711487B2 (en) Fixed data addition / subtraction circuit
JPH02109130A (en) Arithmetic circuit
SU1612294A1 (en) Device for computing inverted value
RU2225638C2 (en) Arithmetic operations in data processing system
JPH02171923A (en) Floating point adder/subtractor
JPH0357488B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees