JPS63132532A - Polynomial dividing circuit for extended galois field - Google Patents

Polynomial dividing circuit for extended galois field

Info

Publication number
JPS63132532A
JPS63132532A JP61278858A JP27885886A JPS63132532A JP S63132532 A JPS63132532 A JP S63132532A JP 61278858 A JP61278858 A JP 61278858A JP 27885886 A JP27885886 A JP 27885886A JP S63132532 A JPS63132532 A JP S63132532A
Authority
JP
Japan
Prior art keywords
polynomial
coefficient
exponent
division
vector
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
JP61278858A
Other languages
Japanese (ja)
Inventor
Yuichi Kadokawa
雄一 門川
Osamu Adachi
修 足立
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61278858A priority Critical patent/JPS63132532A/en
Publication of JPS63132532A publication Critical patent/JPS63132532A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a polynomial dividing circuit which enables the variation of even the degree of a dividing polynomial by varying the coefficients of the dividing polynomial g(x). CONSTITUTION:When the coefficients g0-ge of the respective terms of the dividing polynomial g(x) are written in registers R0, R1... Re-1, and Re, the coefficients g0-ge of the dividing polynomial g(x) are set in respective multiplying coefficient multipliers KA and dividing coefficient multipliers KV respectively, and the dividing coefficient multipliers KV to which the vectors of the coefficients of a polynomial f(x) to be divided are inputted from an input terminal (a) in the order of higher-degree terms fn-f0 divide the output vector of the multiplication processing unit Ue-1 by the vector of the coefficient of the terminal of the highest order of the polynomial g(x) to be divided set by the register Re and output the results. Consequently, the polynomial dividing circuit is obtained which inables the variation of the coefficients of the dividing polynomial g(x).

Description

【発明の詳細な説明】 〔技術分野〕 光ディスクによる記録再生装置あるいは信号伝送などに
用いられる、誤り訂正符号での演算あるいはリード・ソ
ロモン符号の復号の多項式演算などにおける拡張ガロア
体GF (2’ )上での多項式除算回路に関する。
[Detailed description of the invention] [Technical field] Extended Galois field GF (2') used in calculations with error correction codes or polynomial calculations for decoding Reed-Solomon codes, used in recording/reproducing devices using optical discs or signal transmission. Regarding the polynomial division circuit above.

〔従来技術〕[Prior art]

従来巡回符号の符号化などに用いられている多項式の割
算回路は、その多項式の係数および変数がすべて“1”
または“0”のガロア体CF (2)上で行なわれてお
り、従来の多項式割算回路を第10図に示す。
A polynomial division circuit conventionally used for encoding cyclic codes, etc., has a polynomial whose coefficients and variables are all “1”.
Or, it is performed on the Galois field CF (2) of "0", and a conventional polynomial division circuit is shown in FIG.

この第10図の除算回路は、一方の入力端子から入力信
号が、他方の入力端子には係数器Fからの信号がそれぞ
れ印加されるEOR回路EX′と、このEOR回路の出
力を1ビット時間ラッチする遅延回路Re′とからなる
単位処理回路を除数となる多項式の次数だけ縦続接続し
て構成されており、上記係数器の他端はこの除算回路の
出力に接続されるとともにこの係数器の伝達関数は除数
となる多項式g (X)の各項の値が1か0かに応じて
1または0に設定される。
The division circuit shown in FIG. 10 includes an EOR circuit EX' to which an input signal is applied from one input terminal and a signal from the coefficient multiplier F to the other input terminal, and the output of this EOR circuit is applied for one bit time. It is constructed by cascading unit processing circuits each consisting of a latching delay circuit Re' as many as the degree of the polynomial serving as the divisor, and the other end of the coefficient multiplier is connected to the output of this division circuit. The transfer function is set to 1 or 0 depending on whether the value of each term of the polynomial g (X) serving as the divisor is 1 or 0.

この除算回路に図示のように被除算多項式f (x)を
高次の項から順次入力することによりその出力側から商
多項式Q (X)が高次の項から逐次出力され、各遅延
回路からは剰余の多項式R(x)の各項の値が得られる
が、これらの多項式f (x)、 g(x)、 Q(x
)およびR(X)の各項の値はすべて“0”または“1
”である。
As shown in the figure, by sequentially inputting the divider polynomial f (x) to this division circuit starting from the higher-order terms, the quotient polynomial Q (X) is sequentially output from the output side starting from the higher-order terms, and from each delay circuit. obtains the value of each term of the remainder polynomial R(x), but these polynomials f (x), g(x), Q(x
) and R(X) are all “0” or “1”
” is.

このような従来の多項式除算回路においては、拡張ガロ
ア体CF (2’″)についての除算ができなかったの
で、その除算はマイクロプロセッサによる処理によって
いたが、この拡張ガロア体上での演算における加算はベ
クトルパターンの排他的論理和で、また乗除算は原始光
αのべき表現の指数の加減算で行なうものであるため、
ベクトル表現とべき表現との変換をしばしば行なわなけ
ればならないため、ソフトウェアによる処理では処理速
度が極めて遅くなるという欠点があった。
In such conventional polynomial division circuits, division on the extended Galois field CF (2''') was not possible, so the division was processed by a microprocessor. is the exclusive OR of vector patterns, and multiplication and division are performed by adding and subtracting exponents of the exponent representation of the primitive light α, so
Since conversion between vector representation and power representation must be frequently performed, processing by software has the drawback of extremely slow processing speed.

さらに、上記のような多項式除算回路は、多項式g (
x)の各項の係数が1または0に設定されているため汎
用性に欠けるという問題があった。
Furthermore, the polynomial division circuit as described above uses the polynomial g (
Since the coefficients of each term in x) are set to 1 or 0, there is a problem in that it lacks versatility.

〔目 的〕〔the purpose〕

本発明は、拡張ガロア体上の除算をハードウェアにより
実行し得るようにして速度の向上とソフトウェアに依存
しない安定した処理を行ない、更に除多項式を可変にし
得るようにするものである。
The present invention enables division on an extended Galois field to be executed by hardware to improve speed and perform stable processing independent of software, and also to make the divisor polynomial variable.

〔構 成〕〔composition〕

本発明の構成を実施例に基づいて説明する。 The configuration of the present invention will be explained based on examples.

ここで、被除算多項式f (x)、除多項式g (X)
、商多項弐〇 (x)、剰余多項式R(x)を夫々f(
X)= f、 十f、 x+ f2x” +=−・・−
・+f、−,x″−’ 十fhx”  、  −・−・
(1)g(X)=go 十g+  x+gm  x2 
i・+・+++・++ ga−+ X@−’ 十g、 
z@    ・・・・・・(2)Q(”)= Qo +
 Q t  X + q2 X2+ ””・+ql、−
@−,xll−@−’  +qh−a  X’−@・(
a)R(x)= ro  + r、x + r2 x’
  +−−−−−=・−+rs−1x@−1・・・・・
・(4)とすると、各項の係数f o ”” fイ+ 
go −g@ )Q O””qh−@ + r@〜r、
−1はいずれもα1で示されるmビットの数であり、こ
のαは拡張ガロア体GF (2m )の原始光である。
Here, the dividend polynomial f (x), the divisor polynomial g (X)
, quotient polynomial 2〇 (x), and remainder polynomial R(x) respectively f(
X)= f, 10 f, x+ f2x" +=-...-
・+f, −, x″−' 10fhx”, −・−・
(1) g(X)=go 10g+x+gm x2
i・+・+++・++ ga−+ X@−' 10g,
z@・・・・・・(2)Q(”)=Qo+
Q t X + q2 X2+ ””・+ql, -
@-, xll-@-' +qh-a X'-@・(
a) R(x) = ro + r, x + r2 x'
+−−−−−=・−+rs−1x@−1・・・・・・
・Assuming (4), the coefficient of each term f o ”” f i+
go −g@ )Q O””qh−@ + r@〜r,
-1 is the number of m bits indicated by α1, and this α is the primitive light of the extended Galois field GF (2m).

以下、上記mビットの数を1ワードという。Hereinafter, the number of m bits will be referred to as one word.

なお、拡張ガロア体GF (2m )の例として、m=
4、すなわち、CF (2’ )の元を、ソノ最小多項
式1+x+x’の根であるαによるべき表現とベクトル
表現を対応付けて示すと下8己の表のようになる。
Note that as an example of the extended Galois field GF (2m), m=
4, that is, the elements of CF (2') are shown in the table below by associating the power expression by α, which is the root of the minimum polynomial 1+x+x', and the vector expression.

被除算多項式の各項の係数は上表のような拡張ガロア体
上の元であり、ベクトル表現のデータワードとして多項
式除算回路に入力される。
The coefficients of each term of the dividend polynomial are elements on the extended Galois field as shown in the table above, and are input to the polynomial division circuit as data words in vector representation.

第1図は、ベクトル表現で演算を行い、除多項式の係数
を可変にした多項式除算回路の実施例を示す図であり、
レジスタRo 、Re・・・・・・Rm=1  +Re
は図示しないマイクロプロセッサ等から出力される除多
項式の各項の係数が書き込まれ、その除多項式の最高次
の項の係数はレジスタR0に保持されて後述の除算係数
器Kvに設定され、また、最高次以外の項の係数は次数
の高い項の係数から順にレジスタR@−I・・・・・・
Re、Reにそれぞれ保持されて後述の各乗算係数器K
Aに設定される。
FIG. 1 is a diagram showing an embodiment of a polynomial division circuit that performs calculations in vector representation and makes the coefficients of the division polynomial variable.
Register Ro, Re...Rm=1 +Re
is written with the coefficients of each term of a divisor polynomial output from a microprocessor (not shown), etc., and the coefficient of the highest order term of the divisor polynomial is held in register R0 and set in a division coefficient unit Kv, which will be described later. Coefficients of terms other than the highest order are stored in register R@-I in order from the coefficient of the term with the highest order.
Each multiplication coefficient unit K, which will be described later, is held in Re and Re, respectively.
Set to A.

乗算処理ユニッ)UO〜U、−1は除多項式g (X)
の項数より1段歩ない段数が縦続接続されており、それ
ぞれの乗算処理ユニッ)U。−U、−1は、入力される
被除算多項式f (x)の各係数を構成するベクトル表
現のmビット(以後、ベクトルという。)の入力に対応
してEOR回路回路1ワードの伝送期間に相当する1単
位時間τの遅延を行なう遅延ラッチReとをm組備えて
いる。
Multiplication processing unit) UO~U, -1 is the divisor polynomial g (X)
The number of stages one step less than the number of terms is connected in cascade, and each multiplication processing unit)U. -U, -1 correspond to the input of m bits of vector representation (hereinafter referred to as vector) constituting each coefficient of the input dividend polynomial f (x), during the transmission period of one word of the EOR circuit. m sets of delay latches Re are provided for delaying the corresponding one unit time τ.

更にこれら乗算処理ユニットは、後述する除算係数器K
vから出力された商多項弐〇 (X)の係数のベクトル
に上記レジスタRe 、Rt・・・・・・R1−1によ
って設定された上記除多項式g (x)の対応する項の
係数gのベクトルの乗算を行う乗算係数器Kaを備えて
おり、この乗算係数器KAが出力するベクトルを上記E
OR回路Eに供給してベクトルのビット毎にモデニロ2
の加算を行・う。
Furthermore, these multiplication processing units include a division coefficient unit K, which will be described later.
The coefficient g of the corresponding term of the divisor polynomial g (x) set by the registers Re, Rt...R1-1 is added to the vector of coefficients of the quotient polynomial It is equipped with a multiplication coefficient unit Ka that multiplies vectors, and the vector outputted by this multiplication coefficient unit KA is
The modeniro 2 is supplied to the OR circuit E for each bit of the vector.
Perform the addition of .

上記除算係数器に、は、上記乗算処理ユニットU、−1
の出力するベクトルを、レジスタR0によって設定され
た除多項式g (x)の最高次の項の係数のベクトルで
除算をして出力する。
In the division coefficient unit, is the multiplication processing unit U, -1
The vector outputted by is divided by the vector of coefficients of the highest order term of the divisor polynomial g (x) set by the register R0, and the result is output.

第2図は上記乗算係数器KAおよび除算係数器に、の構
成をさらに詳細に説明する図であり、乗算係数器KAは
同図(a)に示すように、ベクトル−指数変換テーブル
Tにそれぞれ接続されたベクトル−指数変換回路1およ
び指数−ベクトル変換回路2が指数加算回路3を介して
接続されており、前記レジスタRe−Re,から設定さ
れる除多項式の係数の指数が上記指数加算回路3の1方
の入力端に入力され、この乗算係数器KAに入力される
ベクトルが上記ベクトル−指数変換回路1で対応する指
数に変換されて上記指数加算回路3の他方に入力される
。この指数加算回路3は入力される2つの指数のモデニ
ロ(2m−1)の加算を行って、その結果得られた指数
を指数−ベクトル変換回路2に出力し、この乗算係数器
KAに入力されたベクトルに除多項式の係数を乗じた結
果のベクトルが上記指数−ベクトル変換回路2から出力
される。
FIG. 2 is a diagram illustrating the configuration of the multiplication coefficient unit KA and division coefficient unit in more detail. The connected vector-exponent conversion circuit 1 and exponent-vector conversion circuit 2 are connected via an exponent addition circuit 3, and the exponent of the coefficient of the divisor polynomial set from the register Re-Re is added to the exponent addition circuit. A vector inputted to one input terminal of the multiplier 3 and inputted to the multiplication coefficient unit KA is converted into a corresponding exponent by the vector-exponent conversion circuit 1 and inputted to the other side of the exponent addition circuit 3. This exponent addition circuit 3 performs modenilo (2m-1) addition of the two input exponents, outputs the resulting exponent to the exponent-vector conversion circuit 2, and inputs it to the multiplication coefficient unit KA. The vector obtained by multiplying the vector by the coefficient of the divisor polynomial is output from the exponent-vector conversion circuit 2.

除算係数器Kvは同図ら)に示すように、上記乗算係数
器KAの指数加算回路3をモデュロ(2m−1)の減算
を行う指数減算回路4で置き換えたものとして構成され
ており、入力されるベクトルの指数から除多項式の係数
の指数をモデュロ(2m−1)で減算し、その結果得ら
れた指数をベクトルに変換して出力することにより、入
力ベクトルを除多項式の係数で除算した結果をベクトル
として得るようにしたものである。
The division coefficient unit Kv, as shown in FIG. The result of dividing the input vector by the coefficient of the divisor polynomial is obtained by subtracting the exponent of the coefficient of the divisor polynomial modulo (2m-1) from the exponent of the vector, and converting the resulting exponent to a vector and outputting it. is obtained as a vector.

第1図において、レジスタRo 、Re・・・・・・R
e−1およびレジスタR0に除多項式g (x)の各項
の係数g。−g6が書き込まれると、各乗算係数器に、
および除算係数器Kvに上記除多項式g (x)の係数
go=g−がそれぞれ設定され、入力端aから被除算多
項式f (x)の係数のベクトルが高次の項からf0〜
f0の順に入力される。
In FIG. 1, registers Ro, Re...R
e-1 and the coefficient g of each term of the divisor polynomial g(x) in register R0. - When g6 is written, each multiplication coefficient unit has
The coefficient go = g- of the above-mentioned divisor polynomial g (x) is set in the division coefficient unit Kv, and the vector of coefficients of the dividend polynomial f (x) is set from the input terminal a to the higher-order term f0 ~
They are input in the order of f0.

初期状態として、各遅延ラッチReはリセットされてい
るので、最初に乗算処理ユニッ)U=+から出力され除
算係数器に、によって除算されて出力されるベクトルは
0”であり、この“0”が入力され各乗算係数器KAで
乗算が行われて各EOR回路Exの一方に入力される各
ビット値は“0”である。したがって、入力端aから順
次入力されるベクトルは、乗算処理ユニッ)Ll、−、
の遅延ラッチに係数f。のベクトルがラッチされるまで
は、そのままの順で各遅延ラッチにラッチされる。
As an initial state, each delay latch Re is reset, so the vector that is first output from the multiplication processing unit U=+, divided by and output to the division coefficient unit is 0, and this “0” is input, multiplication is performed in each multiplication coefficient unit KA, and each bit value inputted to one side of each EOR circuit Ex is "0".Therefore, the vectors sequentially input from input terminal a are multiplied by each multiplication coefficient unit KA. ) Ll, -,
The delay latch has a coefficient f. are latched into each delay latch in that order until the vector is latched.

上記のように乗算処理ユニッ)U、−、の遅延ラッチに
f。のベクトルがラッチされ、次の動作でこの遅延ラッ
チからf、のベクトルが出力されると、除算係数器Kv
によってg、のベクトルで除算され、商多項式〇 (X
)の最高次の項の係数qh−eのベクトルが出力される
As mentioned above, f is applied to the delay latch of the multiplication processing unit) U, -. When the vector of f is latched and the vector of f is output from this delay latch in the next operation, the division coefficient unit Kv
is divided by the vector of g, by the quotient polynomial 〇 (X
) is output.

この出力されたq。−0のベクトルは、例えば乗算処理
ユニットU0の乗算係数器に入力され、この乗算係数器
からgoとQl’l−@の乗算結果のベクトルがEOR
OR回路一方の入力端子に出力される。同様に、各乗算
処理ユニットの乗算係数器から除多項式の各項の係数と
上記q、、−6の乗算結果のベクトルが各EOR回路の
一方の入力端子に出力される。
This output q. For example, the vector of -0 is input to the multiplication coefficient unit of the multiplication processing unit U0, and from this multiplication coefficient unit, the vector of the multiplication result of go and Ql'l-@ is input to EOR.
It is output to one input terminal of the OR circuit. Similarly, a vector of the multiplication results of the coefficients of each term of the divisor polynomial and the above-mentioned q, .

このとき各乗算処理ユニットの遅延ラッチからは上記乗
算処理ユニットU−1の遅延ラッチと同様に各遅延ラッ
チが保持していたベクトルを出力しており、後続の各乗
算処理ユニットのEOR回路で上記のように乗算係数器
から出力されるベクトルとビット毎の排他的論理和がと
られ、その結果出力されるベクトルが各遅延ラッチにラ
ッチされる。
At this time, the delay latch of each multiplication processing unit outputs the vector held by each delay latch in the same way as the delay latch of the multiplication processing unit U-1, and the EOR circuit of each subsequent multiplication processing unit outputs the vector held by the delay latch of the multiplication processing unit U-1. A bitwise exclusive OR is performed with the vector output from the multiplication coefficient unit as shown in FIG. 2, and the resulting vector is latched into each delay latch.

すなわち、以上の一回の動作により各乗算処理ユニット
の遅延ラッチには、商多項式の最高次の項の係数を算出
したときの余りの係数がベクトルで保持され、一方、除
算係数器Kvからは商多項式の最高次の項の係数がベク
トルで出力されることになる。
That is, through the above single operation, the delay latch of each multiplication processing unit holds the remainder coefficient when the coefficient of the highest order term of the quotient polynomial is calculated, while the remainder coefficient from the division coefficient unit Kv is held in the delay latch of each multiplication processing unit. The coefficient of the highest order term of the quotient polynomial is output as a vector.

被除算多項式と除多項式の次数は既知であるので、商多
項式の次数も既知である。したがって商多項式の項数に
相当するだけ上記の動作を繰り返して行えば、除算係数
器に、からは商多項式の各項の係数が最高次から順にベ
クトルで出力され、演算終了後には、各遅延ラッチに剰
余多項式の各項の係数がベクトルで得られる。
Since the orders of the dividend polynomial and the divisor polynomial are known, the order of the quotient polynomial is also known. Therefore, if the above operation is repeated as many times as the number of terms in the quotient polynomial, the coefficients of each term in the quotient polynomial will be output as vectors in order from the highest degree to the division coefficient unit. The coefficients of each term of the remainder polynomial are obtained as a vector in the latch.

第3図は、べき表現の指数で演算を行ない、除多項式の
係数を可変にした多項式除算回路の実施例を示す図であ
る。
FIG. 3 is a diagram showing an embodiment of a polynomial division circuit that performs calculations using exponents of power expression and makes the coefficients of the divisor polynomial variable.

乗算処理ユニッ)U。′〜Us−1′は、前記第1図に
ついて説明したものと同様に除多項式g (x)の項数
より1段歩ない段数が縦続接続されているが、この各乗
算処理ユニットは、入力される2つの係数の指数のモデ
ュロ(2m−1)の加算を行う加算器E′と1ワードの
伝送期間に相当する1単位時間Tの遅延を行うレジスタ
Dとを備え、更に除算係数器K v ’から出力される
商多項式Q (X)の各項の係数の指数と後述するよう
に設定された除多項式の係数の指数とのモデコロ(2m
−1)の加算を行って上記加算器E′に出力する乗算係
数器KA/を備えている。
Multiplication processing unit)U. '~Us-1' are connected in cascade, with the number of steps less than the number of terms of the divisor polynomial g(x), as explained above in connection with FIG. an adder E' that adds the exponents modulo (2m-1) of two coefficients, and a register D that delays one unit time T corresponding to the transmission period of one word, and further includes a division coefficient unit K. Model colloid (2m
-1) and outputs the result to the adder E'.

レジスタRO’rR1′・・・・・・Re−1’rR@
′は図示しないマイクロプロセッサ等から出力される除
多項式の各項の係数の指数が書き込まれ、除多項式の最
高次の項の係数の指数はレジスタR%に保持されて除算
係数器Kv ’に設定され、また、最高次以外の項の係
数の指数は次数の高い項の係数の指数から順にレジスタ
R”−1’ * R1’ I R0′にそれぞれ保持さ
れて各乗算係数器KA ’に設定される。
Register RO'rR1'...Re-1'rR@
' is written with the exponent of the coefficient of each term of the divisor polynomial outputted from a microprocessor (not shown), etc., and the exponent of the coefficient of the highest order term of the divisor polynomial is held in the register R% and set in the division coefficient unit Kv'. In addition, the exponents of the coefficients of terms other than the highest order are held in registers R''-1' * R1' I R0' in order from the exponent of the coefficient of the term with the highest order, and are set in each multiplier coefficient unit KA'. Ru.

上記除算係数器Kv’は、上記乗算処理ユニットU=+
’の出力する指数から上記のように設定された除多項式
g (x)の最高次の項の係数の指数をモデュロ(2m
−1)で減算し、その結果得られた指数を出力する。
The above-mentioned division coefficient unit Kv' is the above-mentioned multiplication processing unit U=+
The exponent of the coefficient of the highest order term of the divisor
-1) and output the resulting index.

また、この多項式除算回路の入力側には入力されるベク
トルを対応するべき表現の指数に変換するベクトル−指
数変換器Cvを備えており、さらに、この多項式除算回
路の出力側にはべき表現の指数を対応するベクトルに変
換して出力する指数−ベクトル変換器Cs と、各乗算
処理ユニットの各レジスタDの出力及び除算係数器Kv
の出力を上記指数−ベクトル変換器C5に選択的に入力
するセレクタSを備えている。
Further, the input side of this polynomial division circuit is equipped with a vector-exponent converter Cv that converts the input vector into an exponent of the corresponding power expression, and furthermore, the output side of this polynomial division circuit is equipped with a vector-exponent converter Cv that converts the input vector into an exponent of the corresponding power expression. An exponent-vector converter Cs that converts an exponent into a corresponding vector and outputs it, and an output of each register D of each multiplication processing unit and a division coefficient unit Kv
It is provided with a selector S for selectively inputting the output of the index-vector converter C5 to the index-vector converter C5.

第4図は、上記除算係数器Kv ’ 、乗算係数器KA
′および加算器E′の構成を詳細に示すもので、同図(
a)の除算係数器Kv′は被除算係数のべき表現の指数
と除算係数のべき表現の指数のモデュロ(2’−1)の
減算を行う減算回路10によって得られる減算値を除算
結果のべき表現の指数として出力するものであり、同図
ω)の乗算係数器KAは乗算する2つの係数のべき表現
の指数のモデニロ(2’−1)の加算を行う加算回路2
0によって得られる加算値を乗算結果のべき表現の指数
として出力するものである。また、同図(C)の加算器
E′は、加算する2つの各指数を対応するベクトル表現
のmビットに変換する指数−ベクトル変換回路303.
302を備え、この2つの指数−ベクトル変換回路が出
力するベクトルの各ビット毎の排他的論理和をEOR回
路EXI〜Ex、から出力し、この出力されるmビット
のベクトルをベクトル−指数変換回路40によって対応
する指数に変換して出力するようにしたものである。な
お、これらの変換を行なうためにはROMあるいは布線
論理などによって構成する変換テーブルを設けるように
すればよい。
FIG. 4 shows the division coefficient unit Kv′ and the multiplication coefficient unit KA.
′ and the configuration of adder E′ in detail.
The division coefficient unit Kv' in a) converts the subtracted value obtained by the subtraction circuit 10, which performs subtraction modulo (2'-1) between the exponent of the exponent of the divided coefficient and the exponent of the exponent of the exponent of the division coefficient, to the exponent of the division result. It is output as an exponent of the expression, and the multiplication coefficient unit KA shown in ω) in the same figure is an adder circuit 2 that performs mode niro (2'-1) addition of the exponent of the power expression of the two coefficients to be multiplied.
The added value obtained by 0 is output as the exponent of the power expression of the multiplication result. Further, the adder E' in FIG. 2C includes an exponent-vector conversion circuit 303. which converts each of the two exponents to be added into m bits of a corresponding vector representation.
302, the exclusive OR of each bit of the vector outputted by these two exponent-vector conversion circuits is outputted from the EOR circuits EXI to Ex, and this outputted m-bit vector is converted to the vector-exponent conversion circuit. 40 to convert it into a corresponding exponent and output it. Note that in order to perform these conversions, a conversion table configured by ROM or wiring logic may be provided.

第3図の多項式除算回路は各乗算処理ユニットおよび除
算係数器において、前記第1図について説明したベクト
ルの演算を指数の演算で行うようにしたものである。
The polynomial division circuit shown in FIG. 3 is configured such that the vector calculation described in connection with FIG. 1 is performed by exponent calculation in each multiplication processing unit and division coefficient unit.

したがって、ベクトル−指数変換器C7に被除算多項式
f(3)の最高次の項の係数fユから順次低次の項の係
数fh−1*fR−2・・・・・・がベクトルで入力さ
れると、このベクトル−指数変換器Cvから各ベクトル
に対応する指数が出力されて初段の乗算ユニツ)UO’
に順次入力され、前記第1rI!Jの多項式除算回路で
行うベクトルについての演算に対応する係数の演算が、
対応する指数についての演算を行うことにより実行され
る。
Therefore, the coefficients fh-1*fR-2, etc. of the terms of the lowest order of the dividend polynomial f(3) are sequentially input as vectors to the vector-exponent converter C7. Then, the exponent corresponding to each vector is output from this vector-exponent converter Cv, and the exponent corresponding to each vector is outputted to the first stage multiplication unit) UO'.
are sequentially input to the first rI! The calculation of the coefficient corresponding to the calculation on the vector performed by the polynomial division circuit of J is
This is performed by performing calculations on the corresponding exponents.

すなわち、高多項式〇 (x)の各項の係数の指数が演
算過程でセレクタSに高次の項のものから順次出力され
、演算終了後には、剰余多項式R(x)の各項の係数の
指数が各レジスタDに保持される。
In other words, the exponents of the coefficients of each term of the high polynomial (x) are sequentially output to the selector S in the calculation process, starting with the high-order terms, and after the calculation is completed, the exponents of the coefficients of each term of the remainder polynomial R(x) are output to the selector S in order. An exponent is held in each register D.

したがって、演算過程ではセレクタSによって除算係数
器K v ’の出力を指数−ベクトル変換器C3に入力
し、演算終了後にセレクタSを切り換えて各レジスタD
の出力を指数−ベクトル変換器C8に順次入力するよう
にして、この指数−ベクトル変換器C3の出力端から商
多項式Q (X)あるいは剰余多項式R(X)の各項の
係数がベクトルで出力される。
Therefore, in the calculation process, the selector S inputs the output of the division coefficient unit K v ' to the exponent-vector converter C3, and after the calculation is completed, the selector S is switched and each register D
The outputs of the index-vector converter C8 are sequentially inputted, and the coefficients of each term of the quotient polynomial Q(X) or the remainder polynomial R(X) are output as vectors from the output terminal of the index-vector converter C3. be done.

第5図は、上記第3図について説明した多項式除算回路
を、時分割で使用される1つの加算器E′と1つの乗算
係数器KA ’とによって構成したものであり、ベクト
ル−指数変換器Cvの出力と各レジスタOS−+〜Do
の出力を選択的に加算器E′に出力するセレクタS′と
、加算器E′の出力を上記各レジスタD、−1〜D0に
選択的に出力するデマルチプレクサDMを備え、除算係
数器Kv ’の出力に除多項式の係数の指数を加算する
上記乗算係数器KA ’には、前記乗算処理ユニットと
して対応する各レジスタD、−1〜D0がデマルチプレ
クサDMによって選択されるときに、対応する除多項式
の係数の指数がランダムアクセスメモリMから出力され
て設定されるように構成したものである。
FIG. 5 shows the polynomial division circuit explained in connection with FIG. Cv output and each register OS-+~Do
The division coefficient unit Kv includes a selector S' that selectively outputs the output of the adder E' to the adder E', and a demultiplexer DM that selectively outputs the output of the adder E' to the registers D, -1 to D0. The multiplication coefficient unit KA' which adds the exponent of the coefficient of the divisor polynomial to the output of ', has the corresponding registers D, -1 to D0 as the multiplication processing unit selected by the demultiplexer DM. The configuration is such that the exponents of the coefficients of the divisor polynomial are output from the random access memory M and set.

このランダムアクセスメモリMおよび除算係数器Kv′
に接続されたレジスタRe/には、図示しないマイクロ
プロセッサ等から出力される除多項式の各項の係数の指
数が書き込まれ、ランダムアクセスメモリMに書き込ま
れた除多項式の最高次以外の項の係数の指数は、前記の
ように時分割に読み出されて乗算係数器KA’に出力さ
れ、レジスタR1′に書き込まれた除多項式の最高次の
項の係数の指数は除算係数器に、/に出力されて設定さ
れる。
This random access memory M and division coefficient unit Kv'
The exponent of the coefficient of each term of the divisor polynomial output from a microprocessor (not shown) is written in the register Re/ connected to the register Re/, and the coefficients of the terms other than the highest order of the divisor polynomial written in the random access memory As mentioned above, the exponent of Output and set.

この回路では、例えば、第1図について説明した商多項
式Q (X)の最高次の項の係数q。−8を出力する場
合、レジスタD、−3から被除算多項式f (x)の最
高次の項の係数f、の指数を除算係数器Kv ’に出力
し、この除算係数器Kv′からの出力を乗算係数器KA
 ’に入力する。このときセレクタS′およびデマルチ
プレクサDMによりレジスタD、−2の出力端とレジス
タD、−1の入力端とを加算器E′を介して導通すると
同時に乗算係数器KA ’にランダムアクセスメモリM
から除多項式の最高次の次の項の係数g、−1の指数を
出力し、この乗算係数器KA′によって除算係数器Kv
 ’が出力する指数と係数g、−9の指数の加算を行い
、この加算値とレジスタD、−2の出力する指数の加算
値を加算器E′から出力してレジスタD、−1に保持す
る。
In this circuit, for example, the coefficient q of the highest order term of the quotient polynomial Q (X) described in connection with FIG. -8, the exponent of the coefficient f of the highest order term of the dividend polynomial f (x) is output from register D, -3 to the division coefficient unit Kv', and the output from this division coefficient unit Kv' is Multiplying factor KA
'. At this time, the selector S' and the demultiplexer DM conduct the output terminal of the register D, -2 and the input terminal of the register D, -1 via the adder E', and at the same time connect the random access memory M to the multiplier coefficient unit KA'.
The coefficient g of the next term of the highest degree of the division polynomial is outputted from , and the exponent of -1 is output from the division coefficient unit Kv by this multiplication coefficient unit KA'.
Adds the exponent output by ' and the exponent of coefficient g, -9, and outputs this added value and the added value of the exponent output from register D, -2 from adder E' and holds it in register D, -1. do.

この動作を各レジスタD、−8〜Do間についてレジス
タDoに向かって行うようにすれば、商多項式の最高次
の係数q。−1の指数は除算係数器に、′からセレクタ
S′を介して指数−ベクトル変換器C3に入力されてこ
の指数−ベクトル変換器C5から商多項式Q (X)の
最高次の係数Qh−sが出力されるとともにさらにレジ
スタD0〜D、−1にはそのときの余りの多項式の係数
が指数として保持される。
If this operation is performed between registers D and -8 to Do toward register Do, the highest order coefficient q of the quotient polynomial. The exponent of −1 is input to the division coefficient unit, and is input from ' to the exponent-vector converter C3 via the selector S'. is output, and the remaining coefficients of the polynomial at that time are held as exponents in the registers D0 to D, -1.

以上の動作を必要なだけ繰り返し、演算終了後に各レジ
スタD、−1〜D0をセレクタS′によって順次選択し
てレジスタの内容を指数−ベクトル変換器C8に供給す
るようにすれば、商多項式Q(X)および剰余多項式R
(X)の各項の係数がベクトルで出力される。
If the above operation is repeated as many times as necessary, and after the calculation is completed, each register D, -1 to D0 is sequentially selected by the selector S' and the contents of the register are supplied to the exponent-vector converter C8, then the quotient polynomial Q (X) and remainder polynomial R
The coefficients of each term in (X) are output as a vector.

第6図と第7図は、前記第1図および第3図について説
明したそれぞれの多項式除算回路と同様の機能を備え、
スイッチ回路Svによって必要なだけの乗算処理ユニッ
トを縦続接続すると共に被除算多項式を入力する位置を
選択できるようにして除多項式g (x)の次数を可変
にできるようにした多項式除算回路をそれぞれ示す図で
ある。
6 and 7 have the same functions as the respective polynomial division circuits described with respect to FIGS. 1 and 3,
A polynomial division circuit is shown in which the required number of multiplication processing units is connected in cascade using a switch circuit Sv, and the position at which the dividend polynomial is input can be selected, thereby making it possible to vary the degree of the division polynomial g (x). It is a diagram.

すなわち、本発明の多項式除算回路は、乗算処理ユニッ
トを除多項式の項数より1だけ少ない数、すなわち除多
項式の次数で縦続接続するようにし、さらに除多項式の
係数を可変にするようにしたので上記のようにスイッチ
回路Swによって所望の次数の除多項式についての多項
式除算回路を構成できる。
That is, in the polynomial division circuit of the present invention, the multiplication processing units are cascaded in a number that is one less than the number of terms in the divisor polynomial, that is, the degree of the divisor polynomial, and the coefficients of the divisor polynomial are made variable. As described above, a polynomial division circuit for a divisor polynomial of a desired degree can be configured by the switch circuit Sw.

例えば、第6図において、を次(t<e)の除多項式に
よって除算を行う場合は、スイッチ回路Svに次数tを
入力し、乗算処理ユニッ)U、−。
For example, in FIG. 6, when dividing by the following divisor polynomial (t<e), the order t is input to the switch circuit Sv, and the multiplication processing unit U, -.

からの入力線l。と除算係数器Kvへの出力線0゜、乗
算処理ユニットLl−2からの入力線!、−1と乗算処
理ユニッ)U−+への出力線0.−2等を順次接続して
乗算処理ユニッ)U、−tからの入力線1e−t。1と
乗算処理ユニッ) LL−t++への出力線0゜−2,
1とを接続し、被除算多項式f (x)をスイッチ回路
Swの出力線01−5から乗算処理ユニットU、、に入
力するようにして除算を行う。なお、このとき除多項式
の係数は除算係数器Kvから各乗算係数器KAの順に設
定するようにする。
Input line l from . and the output line 0° to the division coefficient unit Kv, and the input line from the multiplication processing unit Ll-2! , -1 and the multiplication processing unit) output line 0. to U-+. Input lines 1e-t from multiplication processing units) U and -t by sequentially connecting -2, etc. 1 and multiplication processing unit) Output line 0°-2 to LL-t++,
1, and the division polynomial f (x) is inputted from the output line 01-5 of the switch circuit Sw to the multiplication processing unit U, . At this time, the coefficients of the divisor polynomial are set in order from the division coefficient unit Kv to each multiplication coefficient unit KA.

第7図の回路は第6図の回路の除算を指数によって行う
ようにしたものであり、入力側と出力側にベクトル−指
数変換器Cvおよび指数−ベクトル変換器C3をそれぞ
れ備えるようにしたもので、この回路の動作は第6図お
よび第3図についての説明かられかるように格別の説明
を要しないであろう。
The circuit shown in Fig. 7 is a modification of the circuit shown in Fig. 6 in which division is performed by an exponent, and a vector-exponent converter Cv and an exponent-vector converter C3 are provided on the input side and the output side, respectively. The operation of this circuit does not require any special explanation as can be seen from the explanations regarding FIGS. 6 and 3.

前記第5図について説明した回路は、指数によって演算
を行ない、加算器および乗算係数器をそれぞれ1つにし
て時分割で動作するようにしたものであるが、このよう
な回路に上記第6図あるいは第7図について説明したよ
うな除多項式g (x)の次数を可変にできる機能をさ
らに付加した多項式除算回路を第8図に示す。
The circuit described in FIG. 5 above performs calculations using exponents, and has one adder and one multiplication coefficient unit to operate in a time-division manner. Alternatively, FIG. 8 shows a polynomial division circuit which is further provided with a function of making the degree of the divisor polynomial g (x) variable as explained in connection with FIG.

第8図において、第1のセレクタSIとデマルチプレク
サDMは共に同期してそれぞれの人出力線の接続を行い
、前記第3図の各乗算処理ユニットに対応して隣接する
レジスタ0間を後述第2のセレクタS2および加算器E
′を介して時分割に順次接続するものである。また、こ
の第1のセレクタSIおよびデマルチプレクサDMに印
加される第1のセレクト信号によって、時分割に縦続接
続するレジスタの個数、すなわち、除多項式の次数が設
定され、同時にランダムアクセスメモリMから予め書き
込まれた除多項式の係数が読み出されて乗算器KA ’
に出力される。
In FIG. 8, the first selector SI and the demultiplexer DM synchronize to connect their respective human output lines, and connect adjacent registers 0 corresponding to each multiplication processing unit in FIG. 2 selector S2 and adder E
′ is used to connect sequentially in a time-sharing manner. The first select signal applied to the first selector SI and demultiplexer DM sets the number of registers to be cascaded in a time-division manner, that is, the order of the divisor polynomial, and at the same time, the order of the divisor polynomial is set in advance from the random access memory M. The written coefficients of the divisor polynomial are read out and sent to the multiplier KA'
is output to.

第2のセレクタS2は、第2のセレクト信号が印加され
て第1のセレクタS、の出力と、ベクトル−指数変換器
C7から出力される被除算多項式の係数の指数とを選択
的に加算器E′に出力し、上記時分割に縦続接続される
レジスタDの初段のレジスタの入力端がデマルチプレク
サDMで選択されたときに被除算多項式の係数の指数が
加算器E′に出力され、それ以外のときは、第1のセレ
クタSIと加算器E′とを接続して演算が行われるよう
にする。
The second selector S2 selectively adds the output of the first selector S to which the second select signal is applied and the exponent of the coefficient of the dividend polynomial output from the vector-exponent converter C7. When the input terminal of the first stage register of the register D connected in cascade in the time-sharing manner is selected by the demultiplexer DM, the exponent of the coefficient of the dividend polynomial is output to the adder E'. In other cases, the first selector SI and adder E' are connected to perform the calculation.

なお、この多項式除算回路は上記のように構成すること
により、前記第5図〜第6図について説明したと同様に
除算が行われることは明らかであろう。
It is clear that by configuring this polynomial division circuit as described above, division can be performed in the same manner as described with reference to FIGS. 5 and 6 above.

以上説明した実施例で、第3図、第5図、第7図および
第8図に示した指数の演算による多項式除算回路におけ
る加算器E′は、前記第4図(C)について説明したよ
うに、2つの指数−ベクトル変換回路30. 、302
と1つのベクトル−指数変換回路40およびm個のEO
R回路EXI〜E X @とによって構成したものであ
るが、第9図に示すように1つの減算回路50.1つの
り一ドオンリメモリ60および1つの加算回路70によ
って構成することができる。
In the embodiment described above, the adder E' in the polynomial division circuit for calculating exponents shown in FIGS. 3, 5, 7, and 8 is configured as described in FIG. , two index-vector conversion circuits 30. , 302
and one vector-exponent conversion circuit 40 and m EOs.
Although it is configured by R circuits EXI to EX@, it can be configured by one subtraction circuit 50, one single-only memory 60, and one addition circuit 70 as shown in FIG.

減算回路50は入力される2つの指数のモデュロ(2m
−1)の減算をおこなって減算値をリードオンリメモリ
60に出力し、このリードオンリメモリ60は入力され
る値にのZech関数の値Z(9)=tを出力する。こ
のリードオンリメモリ60の出力値と上記減算回路50
で行った減算の減数とを加算回路70でモデュロ(2m
−1)の加算を行うと、その加算値は、減算回路50に
入力した2つの指数に対応する2つの係数のCF (2
1)上の加算による加算値のべき表現の指数となる。
The subtraction circuit 50 calculates the modulo (2m
-1) and outputs the subtracted value to the read-only memory 60, which outputs the Zech function value Z(9)=t for the input value. The output value of this read-only memory 60 and the above-mentioned subtraction circuit 50
Addition circuit 70 modulo (2m
-1), the added value is the CF (2
1) It becomes the exponent of the power expression of the added value by the above addition.

すなわち、上記Zech関数Z(資)は、αz(k)=
αk + 1 によって定義される関数であり、たとえば、2つの係数
α1とαjのGF(2,”)上の加算を行い、その加算
値αpの指数pを求める場合を以下の式で説明すると、 α2=α1+α」=(αl−J+l)α」=αZ(1−
J)す 、°、  p=Z(i−j)+j となり、2つの係数の加算値の指数は、2つの係数の各
指数の減算値に対応する上記Zech関数の値と、上記
各指数の減算値を得るための減数とを加算することによ
って求めることができる。
That is, the above Zech function Z (equity) is αz(k)=
It is a function defined by αk + 1. For example, the case where two coefficients α1 and αj are added on GF(2,”) and the exponent p of the added value αp is calculated is explained using the following formula. α2=α1+α”=(αl-J+l)α”=αZ(1-
J) S, °, p=Z(i-j)+j, and the exponent of the added value of the two coefficients is the value of the above Zech function corresponding to the subtracted value of each exponent of the two coefficients, and the value of each of the above exponents. It can be determined by adding the subtraction number to obtain the subtraction value.

したがって、第4図(C)に示した加算器では変換テー
ブルが3つ必要であるが、この第9図に示した加算器は
リードオンリメモリ60すなわち変換テーブルを1つ備
えるだけで実現できる。
Therefore, although the adder shown in FIG. 4(C) requires three conversion tables, the adder shown in FIG. 9 can be realized with only one read-only memory 60, that is, one conversion table.

〔効 果〕〔effect〕

本発明によれば、拡張ガロア体GF(2’″〉上の数を
係数および変数とする多項式f (x)およびg(X)
において、f (X) / g (X)の演算を行って
商多項式Q (X)および剰余多項式R(X)を高速で
求めることができると共に除多項式g (x)の係数を
可変にした多項式除算回路を得ることができる。
According to the present invention, polynomials f (x) and g (X) whose coefficients and variables are numbers on the extended Galois field GF (2''')
, the quotient polynomial Q (X) and the remainder polynomial R (X) can be obtained at high speed by calculating f (X) / g (X), and the coefficients of the divisor polynomial g (x) can be made variable. A division circuit can be obtained.

また、上記のように除多項式g (x)の係数を可変に
するようにしたので、実施例に示したように、除多項式
の次数をも可変にした多項式除算回路を得ることができ
る。
Further, since the coefficients of the divisor polynomial g (x) are made variable as described above, it is possible to obtain a polynomial division circuit in which the degree of the divisor polynomial is also variable, as shown in the embodiment.

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

第1図はベクトルで演算を行なう本発明の実施例を示す
図、第2図はベクトルで演算を行なう回路の乗算係数器
および除算係数器の一例を示す図、第3図は指数で演算
を行なう本発明の実施例を示す図、第4図は指数で演算
を行なう回路の除算係数器、乗算係数器および加算器を
示す図、第5図は指数による演算をレジスタを時分割に
選択して行う本発明の実施例を示す図、第6図はベクト
ルによる演算を行ない除多項式の次数を可変にした本発
明の実施例を示す図、第7図は指数で演算を行ない除多
項式の次数を可変にした本発明の実施例を示す図、第8
図は指数による演算をレジスタを時分割に選択して行な
い除多項式の次数を可変にした本発明の実施例を示す図
、第9図は指数で演算を行なう回路の加算器の他の実施
例を示す図、第10図は従来の除算回路を示す図である
。 u、u’は乗算処理ユニット、Kv I Kv ’は除
算係数器、Rはレジスタ、Cvはベクトル−指数変換器
、Csは指数−ベクトル変換器である。
Fig. 1 is a diagram showing an embodiment of the present invention that performs calculations using vectors, Fig. 2 is a diagram showing an example of a multiplication coefficient unit and a division coefficient unit of a circuit that performs calculations using vectors, and Fig. 3 is a diagram illustrating calculations using exponents. FIG. 4 is a diagram showing a division coefficient unit, multiplication coefficient unit, and adder of a circuit that performs an operation using an exponent, and FIG. Figure 6 is a diagram showing an embodiment of the present invention in which the degree of the divisor polynomial is varied by performing calculations using vectors, and Figure 7 is a diagram showing an example of the present invention in which the degree of the divisor polynomial is varied by performing calculations using exponents. FIG. 8 shows an embodiment of the present invention in which the
The figure shows an embodiment of the present invention in which the order of the divisor polynomial is made variable by performing operations using exponents by time-divisionally selecting registers. FIG. 9 shows another embodiment of an adder for a circuit that performs operations using exponents. FIG. 10 is a diagram showing a conventional division circuit. u and u' are multiplication processing units, Kv I Kv' is a division coefficient unit, R is a register, Cv is a vector-exponent converter, and Cs is an exponent-vector converter.

Claims (6)

【特許請求の範囲】[Claims] (1)元の数が2^m個である拡張ガロア体の元のベク
トル表現の並列ビット数の入力に対応する排他的論理和
回路(E)と遅延ラッチ(R_a)とからなる組と設定
された係数を商多項式の係数に乗じて上記排他的論理和
回路にそれぞれ供給する乗算係数器(K_A)とからな
る複数の乗算処理ユニット(U_0、U_1・・・・・
・U_e_−_1)を除多項式の項数より1少ない数だ
け縦続接続するとともに、設定された係数で最終段の乗
算処理ユニットの出力を除算して商多項式の係数として
順次出力する除算係数器(K_V)を備え、この除算係
数器に除多項式の最高次の項の係数を出力するレジスタ
(R_e)と上記各乗算係数器に除多項式の最高次より
低次の対応する各項の係数を出力するレジスタ(R_0
、R_1、・・・・・・R_e_−_1)とを備えるこ
とを特徴とする拡張ガロア体上の多項式除算回路。
(1) A set and setting consisting of an exclusive OR circuit (E) and a delay latch (R_a) corresponding to the input of the number of parallel bits of the vector representation of the elements of the extended Galois field where the number of elements is 2^m a plurality of multiplication processing units (U_0, U_1...
・A division coefficient unit (U_e_-_1) which connects U_e_-_1) in a number that is one less than the number of terms of the divisor polynomial in series, and divides the output of the final stage multiplication processing unit by a set coefficient and sequentially outputs the result as a coefficient of the quotient polynomial. K_V), a register (R_e) that outputs the coefficient of the highest order term of the divisor polynomial to this division coefficient unit, and a register (R_e) that outputs the coefficient of each term corresponding to a lower order than the highest order of the division polynomial to each of the above multiplication coefficient units. register (R_0
, R_1, . . . R_e_-_1).
(2)被除算多項式の係数を入力する初段の乗算処理ユ
ニットを切換選択して除算を行うことを特徴とする特許
請求の範囲第1項記載の拡張ガロア体上の多項式除算回
路。
(2) A polynomial division circuit on an extended Galois field according to claim 1, wherein the division is performed by switching and selecting the first-stage multiplication processing unit that inputs the coefficients of the polynomial to be divided.
(3)元の数が2^m個である拡張ガロア体の元のベク
トル表現の並列ビット数の入力により、そのベクトル表
現に対応するべき表現の指数を出力するベクトル−指数
変換器(C_v)を有し、入力される2つの指数をモデ
ュロ(2^m−1)で加算する加算器(E′)とレジス
タ(D)とからなる組と入力される指数に対応する係数
に、設定された指数に対応する係数を乗じて得られる係
数の指数を上記加算器に供給する乗算係数器(K_A′
)とからなる複数の乗算処理ユニット(U0′、U_1
′・・・・・・U_e_−_1′)を除多項式の項数よ
り1つ少ない数だけ縦続接続するとともに、上記ベクト
ル−指数変換器の出力を初段の乗算処理ユニットに入力
し、前段の乗算処理ユニットのレジスタから入力される
指数に対応する係を、設定された指数に対応する係数で
除算をして得られる係数の指数を上記各乗算係数器に出
力する除算係数器(K_v′)とを備え、この除算係数
器が出力する指数を対応するベクトル表現に変換して出
力する指数−ベクトル変換器(C_s)を有し、上記除
算係数器に設定する除多項式の最高次の項の係数の指数
を出力するレジスタ(Re′)と上記各乗算係数器に設
定する除多項式の最高次より低次の対応する各項の係数
の指数を出力するレジスタ(R_0′、R_1′・・・
・・・R_e_−_1′)とを備えることを特徴とする
拡張ガロア体上の多項式除算回路。
(3) A vector-exponent converter (C_v) that receives the input of the number of parallel bits of the vector representation of an extended Galois field element with 2^m elements and outputs the exponent of the exponent representation corresponding to that vector representation. is set to a set consisting of an adder (E') that adds two input exponents modulo (2^m-1) and a register (D), and a coefficient corresponding to the input exponent. a multiplication coefficient unit (K_A'
) and a plurality of multiplication processing units (U0′, U_1
'...U_e_-_1') are connected in cascade by one term less than the number of terms of the divisor polynomial, and the output of the vector-exponent converter is input to the first-stage multiplication processing unit, and the multiplication processing unit of the first stage is a division coefficient unit (K_v′) that outputs the exponent of the coefficient obtained by dividing the coefficient corresponding to the exponent inputted from the register of the processing unit by the coefficient corresponding to the set exponent to each of the above-mentioned multiplication coefficient units; and an exponent-vector converter (C_s) that converts the exponent output from the division coefficient unit into a corresponding vector representation and outputs the coefficient of the highest order term of the divisor polynomial set in the division coefficient unit. and a register (Re') that outputs the exponent of each term of the corresponding term lower than the highest degree of the divisor polynomial set in each multiplication coefficient unit (R_0', R_1', . . . ).
. . R_e_−_1').
(4)上記乗算処理ユニットの各レジスタの出力を時分
割に選択して1つの加算器(E′)に入力し、この加算
器の出力を上記乗算処理ユニットの各レジスタに時分割
に選択して出力し、1つの乗算係数器(K_A′)によ
って、除算係数器から出力される指数に対応する係数に
、設定される指数に対応する係数を乗じて得られる指数
を上記加算器に出力し、書込み読出しの可能なメモリに
書き込まれた指数を時分割に上記乗算係数器に出力する
ことにより、時分割処理で多項式の除算を行うことを特
徴とする特許請求の範囲第3項記載の拡張ガロア体上の
多項式除算回路。
(4) Select the output of each register of the multiplication processing unit in a time division manner and input it to one adder (E'), and select the output of this adder to each register of the multiplication processing unit in a time division manner. One multiplication coefficient unit (K_A′) multiplies the coefficient corresponding to the exponent output from the division coefficient unit by the coefficient corresponding to the set exponent, and outputs the exponent obtained to the adder. , an extension according to claim 3, characterized in that polynomial division is performed in time-division processing by outputting exponents written in a readable/writable memory to the multiplication coefficient unit in a time-division manner. Polynomial division circuit on Galois field.
(5)加算器が、入力される2つの数のモデュロ(2^
m−1)の減算値を出力する減算回路(50)と、この
減算回路の出力する減算値に対応するZech関数の値
を出力する不揮発性メモリ(60)と、この不揮発性メ
モリの出力する値と上記減算回路で行う減算の減数との
モデュロ(2^m−1)の加算値を出力する加算回路(
70)によって構成されたものであることを特徴とする
特許請求の範囲第3項ないし第4項記載の拡張ガロア体
上の多項式除算回路。
(5) The adder calculates the modulo (2^
m-1), a non-volatile memory (60) that outputs the value of the Zech function corresponding to the subtracted value output by this subtractor circuit, and a non-volatile memory (60) that outputs the subtracted value of An addition circuit (
70) A polynomial division circuit on an extended Galois field according to claim 3 or 4, characterized in that the circuit is configured by:
(6)被除算多項式の係数の指数を入力する初段の乗算
処理ユニットを切換選択して除算を行うことを特徴とす
る特許請求の範囲第3項ないし第5項記載の拡張ガロア
体上の多項式除算回路。
(6) A polynomial over an extended Galois field according to claims 3 to 5, characterized in that the division is performed by switching and selecting the first-stage multiplication processing unit that inputs the exponent of the coefficient of the dividend polynomial. Division circuit.
JP61278858A 1986-11-25 1986-11-25 Polynomial dividing circuit for extended galois field Pending JPS63132532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61278858A JPS63132532A (en) 1986-11-25 1986-11-25 Polynomial dividing circuit for extended galois field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61278858A JPS63132532A (en) 1986-11-25 1986-11-25 Polynomial dividing circuit for extended galois field

Publications (1)

Publication Number Publication Date
JPS63132532A true JPS63132532A (en) 1988-06-04

Family

ID=17603112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61278858A Pending JPS63132532A (en) 1986-11-25 1986-11-25 Polynomial dividing circuit for extended galois field

Country Status (1)

Country Link
JP (1) JPS63132532A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63156428A (en) * 1986-12-19 1988-06-29 Fujitsu Ltd Encoding/decoding circuit for t-multiple error correcting code
JPH07307676A (en) * 1994-05-13 1995-11-21 Nec Corp Error correction encoder
JP2011146052A (en) * 2001-11-30 2011-07-28 Analog Devices Inc Galois field multiply/multiply-add/multiply-accumulate operation device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155667A (en) * 1981-03-23 1982-09-25 Sony Corp Arithmetic circuit of galois matter
JPS58123252A (en) * 1982-01-18 1983-07-22 Mitsubishi Electric Corp Encoding circuit for shortened cyclic code
JPS5971552A (en) * 1982-10-18 1984-04-23 Trio Kenwood Corp Coding circuit
JPS60160729A (en) * 1984-01-31 1985-08-22 Sony Corp Arithmetic circuit of finite field
JPS60178717A (en) * 1984-02-24 1985-09-12 Victor Co Of Japan Ltd Producing circuit of reed solomon code
JPS60212034A (en) * 1984-04-06 1985-10-24 Nec Home Electronics Ltd Sigma arithmetic circuit of reed solomon coding and decoding system
JPS60217440A (en) * 1984-04-11 1985-10-31 Mitsubishi Electric Corp Galois field arithmetic unit
JPS62222718A (en) * 1986-03-25 1987-09-30 Fujitsu Ten Ltd Error correction method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155667A (en) * 1981-03-23 1982-09-25 Sony Corp Arithmetic circuit of galois matter
JPS58123252A (en) * 1982-01-18 1983-07-22 Mitsubishi Electric Corp Encoding circuit for shortened cyclic code
JPS5971552A (en) * 1982-10-18 1984-04-23 Trio Kenwood Corp Coding circuit
JPS60160729A (en) * 1984-01-31 1985-08-22 Sony Corp Arithmetic circuit of finite field
JPS60178717A (en) * 1984-02-24 1985-09-12 Victor Co Of Japan Ltd Producing circuit of reed solomon code
JPS60212034A (en) * 1984-04-06 1985-10-24 Nec Home Electronics Ltd Sigma arithmetic circuit of reed solomon coding and decoding system
JPS60217440A (en) * 1984-04-11 1985-10-31 Mitsubishi Electric Corp Galois field arithmetic unit
JPS62222718A (en) * 1986-03-25 1987-09-30 Fujitsu Ten Ltd Error correction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63156428A (en) * 1986-12-19 1988-06-29 Fujitsu Ltd Encoding/decoding circuit for t-multiple error correcting code
JP2591611B2 (en) * 1986-12-19 1997-03-19 富士通株式会社 Encoding / decoding circuit for t-error correction code
JPH07307676A (en) * 1994-05-13 1995-11-21 Nec Corp Error correction encoder
JP2011146052A (en) * 2001-11-30 2011-07-28 Analog Devices Inc Galois field multiply/multiply-add/multiply-accumulate operation device

Similar Documents

Publication Publication Date Title
JP4460047B2 (en) Galois field multiplication system
US5185711A (en) Apparatus for dividing elements of a finite galois field and decoding error correction codes
US5442578A (en) Calculating circuit for error correction
JP3238128B2 (en) Reed-Solomon encoding apparatus and method
JPH06181438A (en) Digital delta-sigma modulator
US5227992A (en) Operational method and apparatus over GF(2m) using a subfield GF(2.sup.
JPH082014B2 (en) Multi-stage digital filter
JPH09505952A (en) Programmable redundancy / syndrome generator
JP2694792B2 (en) Error position polynomial arithmetic circuit
JPS63132532A (en) Polynomial dividing circuit for extended galois field
US6134572A (en) Galois Field arithmetic apparatus and method
JPS63107319A (en) Polynomial division circuit on expanded galois field
JP3351413B2 (en) Parallel processing Reed-Solomon encoding circuit and parallel processing Reed-Solomon encoding method used therefor
US6138133A (en) Circuit for calculating the inverse of an arbitrary element of a finite field
TWI226758B (en) Encoding method and apparatus for cross interleaved cyclic codes
JPH0476540B2 (en)
JPS63132531A (en) Polynomial dividing circuit for extended galois field
EP0584864B1 (en) A hardware-efficient method and device for encoding BCH codes and in particular Reed-Solomon codes
JP3126973B2 (en) Error correction processor
JP3252421B2 (en) Euclidean circuit
JPS5880769A (en) Dividing device for galois field
US5619437A (en) Parallel data counter circuit
JPS63103509A (en) Digital filter
JPS5880768A (en) Dividing device for galois field
JPS58123252A (en) Encoding circuit for shortened cyclic code