JPH01158568A - Multiplying circuit - Google Patents

Multiplying circuit

Info

Publication number
JPH01158568A
JPH01158568A JP31704687A JP31704687A JPH01158568A JP H01158568 A JPH01158568 A JP H01158568A JP 31704687 A JP31704687 A JP 31704687A JP 31704687 A JP31704687 A JP 31704687A JP H01158568 A JPH01158568 A JP H01158568A
Authority
JP
Japan
Prior art keywords
circuit
multiplier
supplied
calculates
multiplicand
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
JP31704687A
Other languages
Japanese (ja)
Inventor
Shuji Otsubo
大坪 修二
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP31704687A priority Critical patent/JPH01158568A/en
Publication of JPH01158568A publication Critical patent/JPH01158568A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To compose the title device of small hardware quantity and to make the manufacturing price inexpensive when the device is made into an integrated circuit by equipping the device with a specific first circuit and a specific second circuit. CONSTITUTION:A multiplicand holding/base-fold calculating circuit 10 holds the respective coefficient values of multiplicands in a period in which a resetting signal is supplied, successively calculates values obtained by base-multiplying the respective coefficient values synchronously with a clock signal, and supplies the calculated values to a multiplier inputting and multiplying circuit 11 in parallel. The multiplier inputting and multiplying circuit 11 calculates the product of a multiplier and the coefficient value for the respective coefficient values to be supplied in parallel and temporarily holds the calculated result. Next, the circuit 11 calculates the product of the coefficient value of a next multiplicand and the coefficient value of a next multiplier, calculates the sum of the calculated result and the last calculated result which is previously held, and holds the summed result. The circuit 11 obtains a final multiplied result after repeating the calculation of this kind for the necessary number of times. Thus, since one part of hardware is used repeatedly, the hardware quantity can be reduced widely.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は有限体の乗算回路に係り、特に符号演算処理
回路で使用される乗算回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Industrial Application Field) This invention relates to a finite field multiplication circuit, and particularly to a multiplication circuit used in a sign operation processing circuit.

(従来の技術) 複数次既約多項式どうしの乗算をハードウェアを用いて
行なう場合、従来では第6図のブロック図に示すように
、被乗数と乗数とを多項式積係数計算回路50に供給し
て多項式積係数を演算し、さらにこの多項式積係数を多
項式除算回路51に供給することによって乗算結果を得
るようにしている。
(Prior Art) When multiplying multiple-order irreducible polynomials using hardware, conventionally, as shown in the block diagram of FIG. 6, a multiplicand and a multiplier are supplied to a polynomial product coefficient calculation circuit 50. A multiplication result is obtained by calculating a polynomial product coefficient and further supplying this polynomial product coefficient to a polynomial division circuit 51.

ところが、このようなハードウェアを用いた乗算の場合
は被乗数と乗数の全てのビットとが同時に供給されるた
め、被乗数及び乗数のビット数が多くなってくるとハー
ドウェア量がビット数の2乗に比例して増加するという
問題がある。このため、従来回路では集積回路化する際
にチップ面積が大きくなり、価格が高価となる欠点があ
る。
However, in the case of multiplication using such hardware, all bits of the multiplicand and multiplier are supplied at the same time, so as the number of bits of the multiplicand and multiplier increases, the amount of hardware increases to the square of the number of bits. The problem is that it increases in proportion to. For this reason, the conventional circuit has the disadvantage that the chip area becomes large when integrated into a circuit, and the cost becomes high.

(発明が解決しようとする問題点) このように従来の乗算回路ではハードウェア量が多く必
要であり、集積回路化する際にチップ面積が大きくなっ
て、チップの製造価格が高価となる問題がある。
(Problems to be Solved by the Invention) As described above, conventional multiplication circuits require a large amount of hardware, and when integrated into a circuit, the chip area becomes large and the manufacturing cost of the chip increases. be.

この発明は上記のような事情を考慮してなされたもので
あり、その目的は、少ないハードウェア量で構成するこ
とができ、もって集積回路化する際のチップの製造価格
を安価にすることができる乗算回路を提供することにあ
る。
This invention was made in consideration of the above-mentioned circumstances, and its purpose is to reduce the manufacturing cost of chips when integrated circuits are constructed with a small amount of hardware. The purpose of this invention is to provide a multiplication circuit that can do the following.

[発明の構成] (問題点を解決するための手段) この発明の乗算回路は、被乗数Aの各係数値を保持しこ
れらを順次基底倍した値を生成する第1の回路と、上記
乗数Bの各係数値が順次供給されこの係数値と上記第1
の回路で生成された値との積を計算して保持すると共に
、乗数Bの異なる係数値が供給された際にこの係数値と
上記第1の回路で生成された値との積を計算し、この計
算結果と予め保持している計算結果との和を計算する第
2の回路とを具備し、上記第2の回路に乗数Bの最終の
係数値が供給された後に上記第2の回路で計算された和
の値を乗算結果として出力するように構成したことを特
徴とする。
[Structure of the Invention] (Means for Solving the Problems) The multiplication circuit of the present invention includes a first circuit that holds each coefficient value of a multiplicand A and generates a value obtained by sequentially multiplying the coefficient values by a base, and a multiplier are sequentially supplied, and this coefficient value and the first
It calculates and holds the product of the value generated by the first circuit, and also calculates the product of this coefficient value and the value generated by the first circuit when a different coefficient value of the multiplier B is supplied. , a second circuit that calculates the sum of this calculation result and a pre-held calculation result, and after the final coefficient value of the multiplier B is supplied to the second circuit, the second circuit The present invention is characterized in that the sum value calculated in is output as the multiplication result.

(作用) 被乗数の各係数値は始めに一度に供給され、各係数値を
順次基底倍した値が生成される。基底倍された被乗数の
各係数値に対し乗数の一部の係数値との積が計算され、
これらの積が順次累算されることにより最終的に乗算結
果が得られる。
(Operation) Each coefficient value of the multiplicand is supplied at once at the beginning, and values obtained by multiplying each coefficient value by the base are sequentially generated. For each coefficient value of the base multiplied multiplicand, the product with some coefficient values of the multiplier is calculated,
By sequentially accumulating these products, a multiplication result is finally obtained.

このような乗算回路によれば、一部のハードウェアを繰
返して使用することになるので、従来のように被乗数と
乗数の全てのビットが同時に供給される場合と比較して
ハードウェア量を大幅に削減することができる。
According to such a multiplication circuit, some of the hardware is used repeatedly, so the amount of hardware is significantly reduced compared to the conventional case where all bits of the multiplicand and multiplier are supplied at the same time. can be reduced to

(実施例) 以下、図面を参照してこの発明を実施例により説明する
(Examples) Hereinafter, the present invention will be explained by examples with reference to the drawings.

第1図はこの発明に係る乗算回路の一実施例による構成
を示すブロック図である。被乗数保持/基底倍計算回路
10は、リセット信号が供給されている期間に複数ビッ
トからなる被乗数の各係数値を保持する。その後、図示
しないクロック信号に同期してこれらの各係数値を基底
倍した値を順次計算する。
FIG. 1 is a block diagram showing the configuration of an embodiment of a multiplication circuit according to the present invention. The multiplicand holding/base multiplication circuit 10 holds each coefficient value of a multiplicand consisting of a plurality of bits while a reset signal is supplied. Thereafter, base multiplied values of each of these coefficient values are sequentially calculated in synchronization with a clock signal (not shown).

上記被乗数保持/基底倍計算回路IOでその都度計算さ
れた被乗数の各係数値は乗数入力乗算回路11に並列に
供給される。この乗数入力乗算回路11には複数ビット
からなる乗数の係数値が一部ずつ、例えば1ビツトずつ
入力される。そして、乗数入力乗算回路11は被乗数保
持/基底倍計算回路IOから並列に供給される被乗数の
各係数値に対して乗数の係数値との積を計算し、その計
算結果を一時的に保持する。次に、乗数入力乗算回路1
1は被乗数保持/基底倍計算回路lOから供給される次
の被乗数の係数値と乗数の次の係数値との積を計算する
。そして、その計算結果と予め保持していた前の積の計
算結果との和を計算し、新たな結果として保持する。こ
のような計算が必要に回数だけ繰返して実行されること
により、乗数入力乗算回路11で最終的な乗算結果が得
られる。
Each coefficient value of the multiplicand calculated each time by the multiplicand holding/base multiplication circuit IO is supplied in parallel to the multiplier input multiplication circuit 11. Coefficient values of a multiplier consisting of a plurality of bits are input to this multiplier input multiplication circuit 11 one part at a time, for example, one bit at a time. Then, the multiplier input multiplication circuit 11 calculates the product of each coefficient value of the multiplicand supplied in parallel from the multiplicand holding/base multiplication circuit IO with the coefficient value of the multiplier, and temporarily holds the calculation result. . Next, multiplier input multiplication circuit 1
1 calculates the product of the coefficient value of the next multiplicand supplied from the multiplicand holding/base multiplier calculation circuit IO and the coefficient value next to the multiplier. Then, the sum of the calculation result and the previous product calculation result held in advance is calculated and held as a new result. By repeating such calculations as many times as necessary, the multiplier input multiplication circuit 11 obtains the final multiplication result.

第2図は上記第1図の実施例回路を具体的に示した回路
図である。なお、この第2図の乗算回路は、GF(28
)の被乗数及び乗数の乗算を、乗数の係数を1ビツトず
つ供給することによって行なう場合のものである。この
場合、CF(28)のx8+x4+x3+x2+IIM
Oの解αを元に(1,α、α2.α3.α4.α5.α
6.α7)を基底として係数体GF (2)−(0,1
1をとる。なお、上記方程式はGF (2)上の8次既
約多項式であればどのようなものであってもよく、ここ
では例えば被乗数Aをa。+a1α+a2 a2+−・
+a7 a7、乗数Bをb□ +bl aIb2α2+
・・・+b7α7とし、両者の乗算を行なう場合を例に
して説明する。
FIG. 2 is a circuit diagram specifically showing the embodiment circuit of FIG. 1 above. Note that the multiplier circuit in FIG.
) is multiplied by the multiplicand and the multiplier by supplying the coefficient of the multiplier one bit at a time. In this case, x8+x4+x3+x2+IIM of CF(28)
Based on the solution α of O (1, α, α2.α3.α4.α5.α
6. α7) as the basis coefficient field GF (2)-(0,1
Take 1. Note that the above equation may be any 8th degree irreducible polynomial on GF (2), and here, for example, the multiplicand A is a. +a1α+a2 a2+-・
+a7 a7, multiplier B b□ +bl aIb2α2+
. . +b7α7, and the case where both are multiplied will be explained as an example.

被乗数保持/基底倍計算回路lOは、8個の選択/保持
回路120−127と、3個の2ビツト排他的論理和回
路132 、133 、134とから構成されている。
The multiplicand holding/base multiplication circuit IO is composed of eight selection/holding circuits 120-127 and three 2-bit exclusive OR circuits 132, 133, and 134.

上記8個の選択/保持回路12はそれぞれ被乗数Aの各
ビットの係数aO+  aI +  a2 + ・・・
a7それぞれ、もしくはその基底倍されたものの係数を
保持するためのものである。これら8個の選択/保持回
路12では基本的には前段のキャリーアウトが後段のキ
ャリーインとして順次供給され、さらに終段の選択/保
持回路127のキャリーアウトが初段の選択/保持回路
12.にキャリーインとして供給される。αの項の係数
a、を保持する選択/保持回路12.のキャリーアウト
は排他的論理和回路132を介してその後段の選択/保
持回路122に供給されるようになっており、排他的論
理和回路132の他方入力には終段の選択/保持回路1
27のキャリーアウトが供給される。α2の項の係数a
2を保持する選択/保持回路122のキャリーアウトは
排他的論理和回路133を介してその後段の選択゛/保
持回路123に供給されるようになっており、排他的論
理和回路133の他方入力には終段の選択/保持回路1
27のキャリーアウトが供給される。さらに、α3の項
の係数a3を保持する選択/保持回路123のキャリー
アウトは排他的論理和回路134を介してその後段の選
択/保持回路124に供給されるようになっており、排
他的論理和回路134の他方入力には終段の選択/保持
回路127のキャリーアウトが供給される。また、各選
択/保持回路12にはリセット信号が選択制御信号とし
て供給される。
The eight selection/holding circuits 12 each select a coefficient aO+ aI + a2 + . . . for each bit of the multiplicand A.
This is to hold the coefficient of each of a7 or its base multiplied value. In these eight selection/holding circuits 12, carry-out from the previous stage is basically sequentially supplied as carry-in to the latter stage, and carry-out from the selection/holding circuit 127 at the final stage is supplied to the selection/holding circuit 12. Supplied as a carry-in. A selection/holding circuit 12 that holds the coefficient a of the term α. The carry-out is supplied to the subsequent stage selection/holding circuit 122 via the exclusive OR circuit 132, and the other input of the exclusive OR circuit 132 is supplied to the final stage selection/holding circuit 1.
A carryout of 27 is provided. Coefficient a of α2 term
The carry-out of the selection/holding circuit 122 holding 2 is supplied to the subsequent selection/holding circuit 123 via the exclusive OR circuit 133, and the other input of the exclusive OR circuit 133 is the final stage selection/holding circuit 1.
A carryout of 27 is provided. Further, the carry-out of the selection/holding circuit 123 holding the coefficient a3 of the α3 term is supplied to the subsequent selection/holding circuit 124 via the exclusive OR circuit 134, so that the exclusive logic The other input of the summation circuit 134 is supplied with the carryout of the selection/holding circuit 127 at the final stage. Further, a reset signal is supplied to each selection/holding circuit 12 as a selection control signal.

このような構成の被乗数保持/基底倍計算回路lOでは
、リセット信号が“1”レベルのリセット期間に、被乗
数Aの各ビットの係数ao+  al+a2.・・・a
7それぞれが各選択/保持回路12で選択され、その後
、クロック信号に同期して保持される。リセット信号が
“0ルベルになり、リセット期間が終了した後にクロッ
ク信号に同期して各選択/保持回路12で保持された係
数値が後段に順次転送される。このような動作がクロッ
ク信号の7クロツク分行われ、各係数値が順次α倍され
る。
In the multiplicand holding/base multiplication circuit 1O having such a configuration, during the reset period when the reset signal is at the "1" level, the coefficients ao+al+a2 . ...a
7 are selected by each selection/holding circuit 12, and then held in synchronization with a clock signal. After the reset signal becomes "0 level" and the reset period ends, the coefficient values held in each selection/holding circuit 12 are sequentially transferred to the subsequent stage in synchronization with the clock signal. The processing is repeated for one clock period, and each coefficient value is sequentially multiplied by α.

乗数入力乗算回路11は、1ビツトの積を計算する部分
と゛1ビットの和を計算する部分とからなる8個の積/
和計算回路14.〜147と、それぞれ1ビツトの値を
保持する8個の保持回路15o〜157とから構成され
ている。8個の積/和計算回路14o〜147には、並
列に乗数Bの各ビットの係数bo、bl、b2.・・・
b7それぞれが1ビツトずつ順次供給されるようになっ
ており、この乗数Bの各ビットの係数と上記波乗数保持
/基底倍計算回路lO内の各選択/保持回路12で保持
される乗数A、またはその倍数の各係数値それぞれのと
の積が計算される。8個の各積/和計算回路14の計算
結果は8個の保持回路15に並列に供給され、ここでい
ったん保持される。また、8個の保持回路15それぞれ
で保持された計算結果は積/和計算回路14に戻され、
乗数Bの次のビットの係数と被乗数保合/基底倍計算回
路IO内の各選択/保持回路I2で保持される基底倍さ
れた乗数Aの各係数値それぞれとの積が計算された後に
、その計算結果と加算され、再び8個の保持回路15に
並列に供給され、保持される。
The multiplier input multiplication circuit 11 consists of a part that calculates a 1-bit product and a part that calculates a 1-bit sum.
Sum calculation circuit 14. 147, and eight holding circuits 15o to 157, each holding a 1-bit value. The eight product/sum calculating circuits 14o to 147 have coefficients bo, bl, b2 . ...
b7 are sequentially supplied one bit at a time, and the coefficient of each bit of this multiplier B and the multiplier A held in each selection/holding circuit 12 in the wave multiplier holding/base multiplier calculation circuit IO, The product of each coefficient value or its multiple is calculated. The calculation results of the eight product/sum calculation circuits 14 are supplied in parallel to eight holding circuits 15, where they are temporarily held. Further, the calculation results held in each of the eight holding circuits 15 are returned to the product/sum calculation circuit 14,
After the product of the coefficient of the next bit of the multiplier B and each coefficient value of the base multiplied multiplier A held in each selection/hold circuit I2 in the multiplicand preservation/base multiplication calculation circuit IO is calculated, It is added to the calculation result, and is again supplied in parallel to eight holding circuits 15 and held.

このような構成の乗数入力乗算回路11では、リセット
信号が“1ルベルのリセット期間に8個の保持回路15
の保持内容がクリアされる。そして、乗数Bの各ビット
の係数す。+’)I+  b2+・・・b7それぞれが
供給される毎に積/和計算回路14でb 1XAXa’
  (i=o、1,2.−7)が計算され、その後に前
の結果との累算が行われる、そして、クロック信号の8
クロック分が経過した後に、8個の保持回路15の保持
内容が乗算結果して出力される。
In the multiplier input multiplier circuit 11 having such a configuration, the reset signal is set to "8 hold circuits 15 during the reset period of 1 level".
The retained contents of are cleared. Then, the coefficient of each bit of the multiplier B is calculated. +') I+ b2+...b7 Each time each is supplied, the product/sum calculation circuit 14 calculates b1XAXa'
(i=o, 1, 2.-7) is calculated, followed by an accumulation with the previous result, and 8 of the clock signal.
After a clock period has elapsed, the contents held in the eight holding circuits 15 are multiplied and output.

このように上記実施例回路によれば、8次既約多項式ど
うしの乗算を行なうことができる。しかも、同一のハー
ドウェアを繰返し使用するようにしているので、ハード
ウェア量は被乗数と乗数のビット数にほぼ比例しており
、従来のように被乗数と乗数とを一度に入力して乗算を
行なう場合と比較してハードウェア量を大幅に削減する
ことができる。この結果、この乗算回路を集積回路化す
る際にチップの小形化を図ることができ、もってチップ
の製造価格を安価にすることができる。
As described above, according to the circuit of the above embodiment, it is possible to perform multiplication between 8th order irreducible polynomials. Moreover, since the same hardware is used repeatedly, the amount of hardware is approximately proportional to the number of bits in the multiplicand and multiplier, and multiplication is performed by inputting the multiplicand and multiplier at the same time as in the past. The amount of hardware can be significantly reduced compared to the previous case. As a result, when this multiplication circuit is integrated into an integrated circuit, it is possible to reduce the size of the chip, thereby reducing the manufacturing cost of the chip.

第3図は上記第2図回路における選択/保持回路12の
詳細な構成の一例を示す回路図である。この選択/保持
回路はセレクタ21とラッチ回路22とから構成されて
いる。セレクタ21にはリセット信号が選択制御信号と
して供給されるようになっており、この信号が“1″レ
ベルにされているリセット期間には被乗数の対応する項
の係数値データが選択され、リセット信号が“0”レベ
ルにされている期間には前段からのキャリーインが選択
される。セレクタ21で選択されたデータはラッチ回路
22に供給される。このラッチ回路22はクロック信号
fのタイミングでセレクタ21からの選択データを反転
するクロックドインバータと23と、この出力を反転す
るインバータ24と、このインバータ゛24と逆並列的
に接続されクロック信号φのタイミングでインバータ2
4の出力データを反転するクロックドインバータと25
とから構成されている。そして、ラッチ回路22の出力
データが後段の選択/保持回路12にキャリーアウトと
して供給されと共に積/和計算回路14に供給される。
FIG. 3 is a circuit diagram showing an example of a detailed configuration of the selection/holding circuit 12 in the circuit shown in FIG. 2. In FIG. This selection/holding circuit is composed of a selector 21 and a latch circuit 22. A reset signal is supplied to the selector 21 as a selection control signal, and during the reset period when this signal is at the "1" level, the coefficient value data of the corresponding term of the multiplicand is selected, and the reset signal is Carry-in from the previous stage is selected during the period when is set to the "0" level. The data selected by the selector 21 is supplied to the latch circuit 22. This latch circuit 22 includes a clocked inverter 23 that inverts the selection data from the selector 21 at the timing of the clock signal f, an inverter 24 that inverts the output thereof, and an inverter 24 that is connected in antiparallel to the inverter 24 and is connected to the clock signal φ. Inverter 2 at the timing
A clocked inverter that inverts the output data of 4 and 25
It is composed of. Then, the output data of the latch circuit 22 is supplied to the subsequent selection/holding circuit 12 as a carry-out, and is also supplied to the product/sum calculation circuit 14.

第4図は上記第2図回路における積/和計算回路14の
詳細な構成の一例を示す回路図である。この積/和計算
回路は積の計算を行なうANDゲート回路26と、この
ANDゲート回路26で計算された積と前記保持回路1
5で保持されている累積値との加算を行なう2ビツト排
他的論理和回路(EX−OR)27とから構成されてい
る。
FIG. 4 is a circuit diagram showing an example of a detailed configuration of the product/sum calculating circuit 14 in the circuit shown in FIG. 2. In FIG. This product/sum calculation circuit includes an AND gate circuit 26 that calculates the product, and the product calculated by the AND gate circuit 26 and the holding circuit 1.
5 and a 2-bit exclusive OR circuit (EX-OR) 27 which performs addition with the accumulated value held at 5.

第5図は上記第2図回路における保持回路15の詳細な
構成の一例を示す回路図である。この保持回路は、前記
第3図中のラッチ回路22と同様に構成されたラッチ回
路28、前記第3図中のラッチ回路22内のインバータ
24の代わりにクロックドインバータ29が設けられた
ラッチ回路30、クリア用のNチャネルMOS)ランジ
スタ31及びインバータ32とから構成されている。こ
こで、一方のラッチ囲路28はクロック信号φのタイミ
ングで積/和計算回路14からのデータを取り込み、ク
ロック信号fのタイミングで保持する。他方のラッチ回
路30はクロック信号シのタイミングでラッチ回路28
からのデータを取り込み、クロック信号φのタイミング
で保持する。また、NチャネルMOSトランジスタ31
のゲートにリセット信号が供給されると、このトランジ
スタ31がオン状態となり、前記積/和計算回路I4に
累積値として供給されるラッチ回路30の出力データが
強制的に0”レベルにクリアされる。また、リセット期
間ではインバータ32の出力が“O“レベルにされ、ラ
ッチ回路30内のクロックドインバータ29の出力が高
インピーダンス状態に設定される。
FIG. 5 is a circuit diagram showing an example of a detailed configuration of the holding circuit 15 in the circuit shown in FIG. 2. In FIG. This holding circuit includes a latch circuit 28 configured similarly to the latch circuit 22 in FIG. 3, and a latch circuit in which a clocked inverter 29 is provided in place of the inverter 24 in the latch circuit 22 in FIG. 30, N-channel MOS for clearing) It is composed of a transistor 31 and an inverter 32. Here, one latch circuit 28 takes in data from the product/sum calculation circuit 14 at the timing of the clock signal φ, and holds it at the timing of the clock signal f. The other latch circuit 30 closes the latch circuit 28 at the timing of the clock signal
The data is taken in and held at the timing of the clock signal φ. In addition, an N-channel MOS transistor 31
When a reset signal is supplied to the gate of the transistor 31, the transistor 31 is turned on, and the output data of the latch circuit 30, which is supplied as an accumulated value to the product/sum calculating circuit I4, is forcibly cleared to the 0'' level. Further, during the reset period, the output of the inverter 32 is set to "O" level, and the output of the clocked inverter 29 in the latch circuit 30 is set to a high impedance state.

なお、この発明は上記実施例に限定されるものではなく
種々の変形が可能であることはいうまでもない。例えば
、上記実施例ではこの発明をGF(28)の乗算を実行
する回路に実施した例について説明したが、これはその
他の乗算にも実施が可能であることはいうまでもない。
It goes without saying that the present invention is not limited to the above-mentioned embodiments, and that various modifications can be made. For example, in the above embodiment, an example was described in which the present invention is implemented in a circuit that performs multiplication of GF(28), but it goes without saying that this invention can also be implemented in other multiplications.

[発明の効果] 以上説明したようにこの発明によれば、少ないハードウ
ェア量で構成することができ、もって集積回路化する際
のチップの製造価格を安価にすることができる乗算回路
を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to provide a multiplication circuit that can be constructed with a small amount of hardware, thereby reducing the manufacturing cost of chips when integrated circuits are formed. be able to.

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

第1図はこの発明に係る乗算回路の一実施例による構成
を示すブロック図、第2図は上記実施例回路を具体的に
示した回路図、第3図ないし第5図はそれぞれ上記第2
図回路における各回路部分の詳細な構成の一例を示す回
路図、第6図は従来の乗算回路のブロック図である。 10・・・被乗数保持/基底倍計算日路、11・・・乗
数入力乗算回路、12・・・選択/保持回路、13・・
・2ビツト排他的論理和回路、14・・・積/和計算回
路、15・・・保持回路、21・・・セレクタ、22・
・・ラッチ回路、2B・・・ANDゲート回路、27・
・・2ビツト排他的論理和回路、28.30・・・ラッ
チ回路、31・・・NチャネルMOSトランジスタ、3
2・・・インバータ。 出願人代理人  弁理士 鈴江武彦 第10 2] 第 3 口 第4国 第5図
FIG. 1 is a block diagram showing the configuration of an embodiment of the multiplication circuit according to the present invention, FIG. 2 is a circuit diagram specifically showing the above embodiment circuit, and FIGS.
FIG. 6 is a block diagram of a conventional multiplication circuit. 10... Multiplicand holding/base multiplication calculation circuit, 11... Multiplier input multiplication circuit, 12... Selection/holding circuit, 13...
・2-bit exclusive OR circuit, 14... Product/sum calculation circuit, 15... Holding circuit, 21... Selector, 22.
...Latch circuit, 2B...AND gate circuit, 27.
...2-bit exclusive OR circuit, 28.30...Latch circuit, 31...N channel MOS transistor, 3
2...Inverter. Applicant's agent Patent attorney Takehiko Suzue No. 10 2] Part 3 Fourth country Figure 5

Claims (1)

【特許請求の範囲】[Claims] それぞれ(1、α、α^2、・・・、α^m)(ただし
、m≧1)を基底として表現される被乗数A(A=a_
0+a_1α+a_2α^2+・・・+a_mα^m)
と乗数B(B=b_0+b_1α+b_2α^2+・・
・+b_mα^m)との間の乗算を行なう乗算回路であ
って、上記被乗数Aの各係数値を保持しこれらを順次基
底倍した値を生成する第1の回路と、上記乗数Bの各係
数値が順次供給されこの係数値と上記第1の回路で生成
された値との積を計算して保持すると共に、乗数Bの異
なる係数値が供給された際にこの係数値と上記第1の回
路で生成された値との積を計算し、この計算結果と予め
保持している計算結果との和を計算する第2の回路とを
具備し、上記第2の回路に乗数Bの最終の係数値が供給
された後に上記第2の回路で計算された和の値を乗算結
果として出力するように構成したことを特徴とする乗算
回路。
The multiplicand A (A=a_
0+a_1α+a_2α^2+...+a_mα^m)
and multiplier B (B=b_0+b_1α+b_2α^2+...
・+b_mα^m) A first circuit that holds each coefficient value of the multiplicand A and generates a value that is sequentially multiplied by the base, and a first circuit that performs multiplication between Numerical values are sequentially supplied and the product of this coefficient value and the value generated by the first circuit is calculated and held, and when different coefficient values of the multiplier B are supplied, this coefficient value and the value generated by the first circuit are calculated and held. and a second circuit that calculates the product with the value generated by the circuit, and calculates the sum of this calculation result and the calculation result held in advance, and the second circuit calculates the final value of the multiplier B. A multiplication circuit characterized in that the multiplication circuit is configured to output a sum value calculated by the second circuit as a multiplication result after the coefficient values are supplied.
JP31704687A 1987-12-15 1987-12-15 Multiplying circuit Pending JPH01158568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31704687A JPH01158568A (en) 1987-12-15 1987-12-15 Multiplying circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31704687A JPH01158568A (en) 1987-12-15 1987-12-15 Multiplying circuit

Publications (1)

Publication Number Publication Date
JPH01158568A true JPH01158568A (en) 1989-06-21

Family

ID=18083812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31704687A Pending JPH01158568A (en) 1987-12-15 1987-12-15 Multiplying circuit

Country Status (1)

Country Link
JP (1) JPH01158568A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61241830A (en) * 1985-04-19 1986-10-28 Hitachi Ltd Multiplication accumulator
JPS6237414A (en) * 1985-08-08 1987-02-18 Junsuke Ozaki Snow-melting method and snow-melting apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61241830A (en) * 1985-04-19 1986-10-28 Hitachi Ltd Multiplication accumulator
JPS6237414A (en) * 1985-08-08 1987-02-18 Junsuke Ozaki Snow-melting method and snow-melting apparatus

Similar Documents

Publication Publication Date Title
Lim Single-precision multiplier with reduced circuit complexity for signal processing applications
US5764554A (en) Method for the implementation of modular reduction according to the Montgomery method
EP0066768B1 (en) Apparatus for generation of random numbers
US5325320A (en) Area efficient multiplier for use in an integrated circuit
EP0240546B1 (en) Random sequence generators
JPH04205026A (en) Divider circuit
JP3003467B2 (en) Arithmetic unit
EP0276520B1 (en) Method of testing a modified booth multiplier, modified booth multiplier suitable for testing by means of this method, and integrated circuit comprising such a modified booth multiplier
US6609142B1 (en) Method of performing multiplication with accumulation in a Galois body
JPH01158568A (en) Multiplying circuit
US5268858A (en) Method and apparatus for negating an operand
Piestrak Design of multi-residue generators using shared logic
US20080225937A1 (en) Method and system of providing a high speed tomlinson-harashima precoder
US4879675A (en) Parity generator circuit and method
US6484193B1 (en) Fully pipelined parallel multiplier with a fast clock cycle
EP1504338B1 (en) "emod" a fast modulus calculation for computer systems
US4276608A (en) Fibonacci p-code parallel adder
Kandimalla Rajaneesh A Novel High Performance Implementation of 64 Bit MAC Units and Their Delay Comparison
US20020138534A1 (en) Process and apparatus for finite field multiplication (FFM)
Benaissa et al. VLSI design for diminished-1 multiplication of integers modulo a Fermat number
JPS58200319A (en) Code generating circuit
Cadarilli et al. RNS approach to fast dividers
KR20020076600A (en) The Modular multiplier
EP0971362A1 (en) Data entegrity checking apparatus
US20060235922A1 (en) Quisquater Reduction