JP2013251590A - Error correction decoding circuit and method - Google Patents
Error correction decoding circuit and method Download PDFInfo
- Publication number
- JP2013251590A JP2013251590A JP2012122704A JP2012122704A JP2013251590A JP 2013251590 A JP2013251590 A JP 2013251590A JP 2012122704 A JP2012122704 A JP 2012122704A JP 2012122704 A JP2012122704 A JP 2012122704A JP 2013251590 A JP2013251590 A JP 2013251590A
- Authority
- JP
- Japan
- Prior art keywords
- error
- circuit
- received word
- delay circuit
- information
- 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
Links
Images
Abstract
Description
本発明は、パケット通信のための誤り訂正復号回路に関するものである。 The present invention relates to an error correction decoding circuit for packet communication.
光通信分野で、誤り訂正方式として2元BCH符号や非2元BCH符号であるリードソロモン符号を用いる方式が知られている。2元BCH符号やリードソロモン符号の詳細については、たとえば非特許文献1や非特許文献2に記載されている。
近年の光通信分野において省電力化の要求が高まり、通信装置の構成要素を省電力化できるようにする回路レベルでの検討や、複数の通信装置同士を協調させることにより通信装置を省電力化するプロトコルレベルでの検討がなされている。たとえば、通信においては、一日のトラヒック量が変動することが知られているので、トラヒック量に応じて機能の一部を有効化無効化することにより省電力化を図る方法がある。
In the optical communication field, a method using a Reed-Solomon code that is a binary BCH code or a non-binary BCH code is known as an error correction method. Details of the binary BCH code and the Reed-Solomon code are described in Non-Patent
In recent years, there has been a growing demand for power saving in the field of optical communications, and it has become possible to reduce power consumption of communication devices by studying at the circuit level to enable the components of communication devices to save power, and by coordinating multiple communication devices. Studies at the protocol level are underway. For example, in communication, it is known that the daily traffic volume fluctuates. Therefore, there is a method of saving power by enabling and disabling a part of functions according to the traffic volume.
回路レベルでの検討では、各回路の省電力化を検討する必要がある。そのため、リードソロモン符号やBCH符号の符号化回路や復号回路についても省電力化することが求められている。特に、復号回路は符号化回路よりも複雑な処理を行うため、消費電力が大きく、復号回路の省電力化が必要とされる。 In the study at the circuit level, it is necessary to consider the power saving of each circuit. Therefore, power saving is also required for the encoding circuit and decoding circuit of Reed-Solomon code and BCH code. In particular, since the decoding circuit performs more complicated processing than the encoding circuit, power consumption is large, and power saving of the decoding circuit is required.
従来のパケット通信のための誤り訂正復号回路について、IEEE802.3av規格の10G−EPON(10 Gigabit-Ethernet(登録商標) Passive Optical Network)で採用されているRS(255,223,8)を例として、図8乃至図10を用いて説明する。RS(255,223,8)は、符号長255バイト、情報シンボル長223バイト、検査シンボル長32(=255−223)バイト、バイト長8ビットのリードソロモン符号であることを示す。 As an example of a conventional error correction decoding circuit for packet communication, RS (255, 223, 8) adopted in 10G-EPON (10 Gigabit-Ethernet (registered trademark) Passive Optical Network) of IEEE802.3av standard is taken as an example. This will be described with reference to FIGS. RS (255, 223, 8) indicates a Reed-Solomon code having a code length of 255 bytes, an information symbol length of 223 bytes, a check symbol length of 32 (= 255-223) bytes, and a byte length of 8 bits.
以降、受信語のフォーマット、機能ブロック(遅延回路、誤り検出回路、誤りパターン生成回路、パケット検出回路)、タイミングチャートの順番で説明する。なお、符号語とは、リードソロモン符号のようなブロック符号の処理となる単位を意味し、受信語とは、回路内部で処理するときの単位を意味している。 Hereinafter, the received word format, functional blocks (delay circuit, error detection circuit, error pattern generation circuit, packet detection circuit), and timing chart will be described. The code word means a unit for processing a block code such as a Reed-Solomon code, and the received word means a unit for processing inside the circuit.
受信語のフォーマットの概要を図8に示す。このフォーマットの詳細については、非特許文献3、非特許文献4に記載されている。受信データ列は、光信号を電気信号に変換し、シリアルパラレル変換して66ビット単位に分割したものである。IEEE802.3av規格では、受信データ列は、図8に示すように受信符号語100の連続であり、各受信符号語100はペイロード101とパリティ102とから構成される。ペイロード101には、66ビット長の伝送ブロック103,104が27個あり、パリティ102には、66ビット長のパリティブロック105が4個ある。66ビット長のブロック103〜105は、それぞれ2ビットのヘッダと64ビットのデータフィールドとを含む。66ビット長の伝送ブロック103,104のデータフィールド部分は、ビット“0”とビット“1”の出現確率が均等となるようにスクランブル処理されている。スクランブル処理については、非特許文献4に記載されている。66ビット長のパリティブロック105のデータフィールド部分は、RS(255,223,8)の検査シンボルを8バイトずつ含む。
An outline of the format of the received word is shown in FIG. Details of this format are described in Non-Patent
66ビット長の伝送ブロック103,104としては、パケットデータを含むデータブロック103と、パケットデータでない制御ブロック104とがある。データブロック103のときは、2ビットのヘッダ値が“01”となり、64ビットのデータフィールドにパケットデータが格納される。制御ブロック104のときは、2ビットのヘッダが“10”となり、64ビットのデータフィールドにはさまざまな値が入る。制御ブロック104には、いくつかの種類があるが、代表的なものとしては、固定パターンのアイドル制御ブロックがある。アイドル制御ブロックのデータフィールドには、8ビット長の固定値のタイプコード(0x1E)と7ビット長のアイドルコード(0x00)が8個格納される。ただし、アイドル制御ブロックは、受信データ列における段階ではスクランブル処理により固定パターンでない。その他の制御ブロック104としては、パケットの先頭を示すスタート制御ブロックや、パケットの末尾を示すターミネート制御ブロックがある。
The 66-bit
受信データ列から、受信符号語を取り出して、受信符号語から符号語を構成する。受信データ列から符号語を取り出すためには、66ビット長の各伝送ブロック103,104からそれぞれ2ビットヘッダの先頭ビットを除去して、65ビット長の伝送ブロック103a,104aを27個生成し、この27個の伝送ブロック103a,104aの先頭に29ビットの連続した“0”の集まりからなるブロック106を付加して、223バイト(=27×65ビット+29ビット)長の情報シンボルブロック107を得る。さらに、66ビット長の各パリティブロック105からそれぞれヘッダを除去して、64ビット長のパリティブロック105aを4個生成し、この4個のパリティブロック105aを32バイト長の検査シンボルブロック108とする。この情報シンボルブロック107と検査シンボルブロック108とを255バイト長の符号語109として誤り訂正復号処理を行う。
A received code word is extracted from the received data string, and a code word is formed from the received code word. In order to extract the codeword from the received data string, the first bit of the 2-bit header is removed from each of the 66-bit
そのため、255バイト長の受信語110は、本従来例においては符号語109を1バイト単位に分割したものと定義される。したがって、受信語110には、符号語109の各バイトが連続して現れる。
Therefore, the
従来のパケット通信における誤り訂正復号回路のブロック図の一例を図9に示す。遅延回路202は、誤り検出回路200および誤りパターン生成回路201の処理時間の分だけ受信語206を遅延させ、遅延させた受信語207を出力する。遅延回路202は、一般的にはメモリにより構成され、ライトアクセスやリードアクセスの際に大きな電力を消費する。
An example of a block diagram of an error correction decoding circuit in conventional packet communication is shown in FIG. The
誤り検出回路200は、受信語206からエラー・シンドローム208を演算する。このエラー・シンドローム208の詳細については、非特許文献1および非特許文献2に記載されている。RS(255,223,8)の場合は、エラー・シンドローム208が32個ある。すべてのエラー・シンドローム208が“0”のとき、受信語206に誤りがないことを示し、少なくとも1つのエラー・シンドローム208が“0”でないとき、受信語206に誤りがあることを示す。
The
誤りパターン生成回路201は、エラー・シンドローム208から、255バイト長の誤りパターン209を求める処理を行う。誤りパターン209は、受信語206に誤りがないときはすべて“0”となり、受信語206に誤りがあるときは誤りの生じた箇所のビットが“1”となる。誤り訂正符号の誤り訂正能力範囲内であれば、誤りが生じたすべての箇所が“1”となる誤りパターン209を求めることができる。したがって、通常は誤り訂正能力を超えないように通信方式やデバイスが設計される。
The error
排他的論理和回路203は、遅延回路202から出力された受信語207と誤りパターン209の排他的論理和をとることにより、受信語207の誤りを訂正し、訂正受信語210を出力する。
パケット検出回路205は、訂正受信語210から、検査シンボルを削除するとともに、情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出し、アイドル制御ブロックを削除することにより、パケットデータを再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路205は、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。
The exclusive OR
The
図10は図9に示した誤り訂正復号回路の動作を示すタイミングチャートである。図10におけるクロックは、図示しないクロック生成手段によって符号語および受信語206の各バイトに同期して生成される。符号語および受信語206の長さは255バイトであるから、符号語先頭フラグ211の発生間隔は255クロックである。符号語先頭フラグ211の1クロック後に、受信語206に符号語の先頭シンボルに相当するD223が現れる。図10において、D223は情報シンボルの第223バイトであり、D1は情報シンボルの第1バイトであることを示している。情報シンボルD223からD1まで連続的に受信すると、情報シンボルブロックの末尾となる。また、P32は検査シンボルの第32バイトであり、P1は検査シンボルの第1バイトであることを示している。検査シンボルP32からP1まで連続的に受信すると、検査シンボルブロックの末尾、すなわち符号語の末尾となる。ここでは、D223を最も早く受信するため、先頭シンボルと定義した。
FIG. 10 is a timing chart showing the operation of the error correction decoding circuit shown in FIG. The clock in FIG. 10 is generated in synchronization with each byte of the code word and the
受信語206の情報シンボルおよび検査シンボルに同期して、パリティ区間信号214が出力される。パリティ区間信号214は、受信語206に検査シンボルが現れるときに有意(HIGH)となり、受信語206に情報シンボルが現れるときに非有意(LOW)となる。有意、非有意の定義については、本発明では以降、有意をHIGH、非有意をLOWとする。ただし、有意をLOW、非有意をHIGHとしてもよく、有意をHIGHにするかLOWにするかは回路の設計の際に定まる。
A
この従来例においては、誤り検出回路200のシンドローム演算および誤りパターン生成回路201の誤り訂正処理が終了し、符号語に対応する誤りパターン209が出力されるタイミングを、符号語の受信完了時点(図10のt2)から100クロック後の時点とした。図10において、ED223は情報シンボルD223に対応する誤りパターンであり、ED1は情報シンボルD1に対応する誤りパターンであることを示している。また、EP32は検査シンボルP32に対応する誤りパターンであり、EP1は検査シンボルP1に対応する誤りパターンであることを示している。
In this conventional example, the syndrome calculation of the
遅延回路202は、誤り検出回路200および誤りパターン生成回路201の処理時間の分、すなわち100クロック分だけ受信語206を遅延させ、遅延させた受信語207を出力する。これにより、受信語207は、誤りパターン209のタイミングと合うように遅延回路202から出力される。例えば、誤りパターン209のシンボルED223に合わせて受信語207の情報シンボルD223が遅延回路202から出力される。
排他的論理和回路203は、受信語207と誤りパターン209の排他的論理和をとり、1クロック後に訂正受信語210を出力する。
The
The exclusive OR
パリティ区間信号生成回路204は、遅延回路202の遅延時間(100クロック)と排他的論理和回路203の遅延時間(1クロック)とを足した遅延時間分だけパリティ区間信号214を遅延させたパリティ区間信号212を生成する。このパリティ区間信号212は、訂正受信語210に検査シンボルが現れるときに有意(HIGH)となり、訂正受信語210に情報シンボルが現れるときに非有意(LOW)となる。
The parity interval
パケット検出回路205は、パリティ区間信号212のタイミングに基づいて訂正受信語210から検査シンボルを削除すると共に、情報シンボルのアイドル制御ブロックを削除することにより、パケット213を再構成する。
以上が、従来の誤り訂正復号回路の動作の概要である。
The
The above is the outline of the operation of the conventional error correction decoding circuit.
光通信分野では、データの誤り率が小さいことが多いため、符号語に誤りがある場合よりも誤りがない場合の確率が高いことが多い。したがって、符号語に誤りがないときの復号処理の省電力化を行えば、効果が大きいことが期待される。符号語に誤りがないときの誤り訂正復号回路の動的消費電力の大部分を遅延回路202が占めている。
また、トラヒックがないときは、アイドル制御ブロックで埋められたペイロードとペイロードの誤りを検出するためのパリティとからなる符号語を訂正するため、従来の誤り訂正復号回路では、受信語がアイドル制御ブロックしか含まない場合でも、遅延回路202に対して受信語の書き込みと読み出しが行われる。
In the optical communication field, since the data error rate is often small, the probability that there is no error is higher than the case where there is an error in the codeword. Therefore, it is expected that the effect will be great if the power saving of the decoding process is performed when there is no error in the codeword. The
In addition, when there is no traffic, in order to correct a code word consisting of a payload filled with an idle control block and a parity for detecting an error in the payload, in a conventional error correction decoding circuit, a received word is an idle control block. Even when only the word is included, the received word is written to and read from the
以上のように、従来の誤り訂正復号回路では、符号語がデータブロックを含まず、アイドル制御ブロックしか含まないときであっても、遅延回路に対して常に符号語の書き込みと読み出しが行われていた。同様に、パリティについても、遅延回路への書き込みと読み出しが常に行われていた。このように遅延回路への書き込みと読み出しが常に行われる理由は、符号語に誤りが含まれている可能性があり、アイドル制御ブロックしか含まないことを判定することが困難であるためである。 As described above, in the conventional error correction decoding circuit, even when the code word does not include the data block and only the idle control block, the code word is always written to and read from the delay circuit. It was. Similarly, for the parity, writing to and reading from the delay circuit has always been performed. The reason why writing to and reading from the delay circuit is always performed in this manner is that there is a possibility that an error is included in the code word, and it is difficult to determine that only the idle control block is included.
したがって、従来の誤り訂正復号回路では、符号語がアイドル制御ブロックしか含まないときであっても、データブロックを含むときと同様の電力を遅延回路が消費するので、消費電力を削減できないという問題点があった。また、従来の誤り訂正復号回路では、検査シンボルブロックについても遅延回路への書き込みと読み出しを常に行うので、消費電力を削減できないという問題点があった。 Therefore, in the conventional error correction decoding circuit, even when the code word includes only the idle control block, the power consumption cannot be reduced because the delay circuit consumes the same power as when the data block is included. was there. Further, the conventional error correction decoding circuit has a problem in that power consumption cannot be reduced because the check symbol block is always written to and read from the delay circuit.
本発明は、上記課題を解決するためになされたもので、従来よりも消費電力を削減することができる誤り訂正復号回路および方法を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an error correction decoding circuit and method capable of reducing power consumption as compared with the prior art.
本発明の誤り訂正復号回路は、受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成回路と、前記受信語の情報を保持する遅延回路と、この遅延回路に書き込まれた受信語の情報シンボルを読み出し、前記遅延回路に書き込まれた受信語の少なくとも一部の検査シンボルを読み出さないリード制御回路と、前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とするものである。 An error correction decoding circuit according to the present invention includes an error pattern generation circuit that generates an error pattern indicating an error portion of a received word, a delay circuit that holds information on the received word, and information on the received word written in the delay circuit A read control circuit that reads symbols and does not read at least some check symbols of the received word written in the delay circuit, and an arithmetic circuit that corrects the received word read from the delay circuit based on the error pattern; It is characterized by providing.
また、本発明の誤り訂正復号回路は、受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成回路と、前記受信語の情報を保持する遅延回路と、前記受信語の情報シンボルを前記遅延回路に書き込み、前記受信語の少なくとも一部の検査シンボルを前記遅延回路に書き込まないライト制御回路と、前記遅延回路によって遅延された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とするものである。 The error correction decoding circuit of the present invention includes an error pattern generation circuit that generates an error pattern indicating an error portion of a received word, a delay circuit that holds information on the received word, and delays information symbols of the received word. A write control circuit for writing to the circuit and not writing at least a part of the check symbols of the received word to the delay circuit; and an arithmetic circuit for correcting the received word delayed by the delay circuit based on the error pattern. It is characterized by.
また、本発明の誤り訂正復号回路は、受信語の誤りの有無を示す誤り有無情報を生成する誤り検出回路と、前記受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成回路と、前記受信語の情報を保持する遅延回路と、前記受信語に含まれるアイドル制御ブロックを予測検出した結果である予測アイドル情報を生成するアイドル予測検出回路と、通常時は前記遅延回路に書き込まれた受信語の情報シンボルと検査シンボルの両方を読み出し、前記アイドル予測情報が有意であって前記誤り有無情報が誤り無しを示すときは、前記有意のアイドル予測情報および前記誤り無しを示す誤り有無情報に対応する情報シンボルの少なくとも一部を前記遅延回路から読み出さないリード制御回路と、前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とするものである。
また、本発明の誤り訂正復号回路の1構成例は、さらに、前記アイドル制御ブロックを予測検出したときに、前記遅延回路に前記情報シンボルの少なくとも一部を書き込まないライト制御回路を備えることを特徴とするものである。
The error correction decoding circuit of the present invention includes an error detection circuit that generates error presence / absence information indicating presence / absence of an error in a received word, an error pattern generation circuit that generates an error pattern indicating an error location of the received word, A delay circuit that holds information of a received word, an idle prediction detection circuit that generates predicted idle information that is a result of predictive detection of an idle control block included in the received word, and a reception that is normally written in the delay circuit When both the information symbol and the check symbol of the word are read and the idle prediction information is significant and the error presence / absence information indicates no error, the significant idle prediction information and the error presence / absence information indicating no error are supported. A read control circuit that does not read at least part of the information symbols to be read from the delay circuit, and a received word read from the delay circuit It is characterized in further comprising an arithmetic circuit for correcting, based on the error pattern.
In addition, one configuration example of the error correction decoding circuit of the present invention further includes a write control circuit that does not write at least a part of the information symbol in the delay circuit when the idle control block is detected and detected. It is what.
また、本発明の誤り訂正復号方法は、受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成ステップと、遅延回路に書き込まれた受信語の情報シンボルを読み出し、前記遅延回路に書き込まれた受信語の少なくとも一部の検査シンボルを読み出さないリード制御ステップと、前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とするものである。 Further, the error correction decoding method of the present invention includes an error pattern generation step for generating an error pattern indicating an error location of a received word, and reading the information symbol of the received word written in the delay circuit, and writing the information symbol in the delay circuit A read control step that does not read at least a part of the check symbols of the received word, and a calculation step that corrects the received word read from the delay circuit based on the error pattern are provided.
また、本発明の誤り訂正復号方法は、受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成ステップと、前記受信語の情報シンボルを遅延回路に書き込み、前記受信語の少なくとも一部の検査シンボルを前記遅延回路に書き込まないライト制御ステップと、前記遅延回路によって遅延された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とするものである。 Also, the error correction decoding method of the present invention includes an error pattern generation step for generating an error pattern indicating an error location of a received word, writing information symbols of the received word to a delay circuit, and checking at least a part of the received word A write control step that does not write a symbol in the delay circuit, and a calculation step that corrects a received word delayed by the delay circuit based on the error pattern.
また、本発明の誤り訂正復号方法は、受信語の誤りの有無を示す誤り有無情報を生成する誤り検出ステップと、前記受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成ステップと、前記受信語に含まれるアイドル制御ブロックを予測検出した結果である予測アイドル情報を生成するアイドル予測検出ステップと、通常時は遅延回路に書き込まれた受信語の情報シンボルと検査シンボルの両方を読み出し、前記アイドル予測情報が有意であって前記誤り有無情報が誤り無しを示すときは、前記有意のアイドル予測情報および前記誤り無しを示す誤り有無情報に対応する情報シンボルの少なくとも一部を前記遅延回路から読み出さないリード制御ステップと、前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とするものである。 The error correction decoding method of the present invention includes an error detection step for generating error presence / absence information indicating the presence / absence of an error in a received word, an error pattern generation step for generating an error pattern indicating an error location of the received word, Idle prediction detection step for generating predicted idle information that is a result of predictive detection of an idle control block included in a received word, and reading both the information symbol and the check symbol of the received word normally written in the delay circuit, When the idle prediction information is significant and the error presence / absence information indicates no error, at least a part of the information symbol corresponding to the significant idle prediction information and the error presence / absence information indicating no error is read from the delay circuit. A read control step that does not include the received word read from the delay circuit based on the error pattern. It is characterized in further comprising a calculating step for.
本発明によれば、検査シンボルの少なくとも一部を遅延回路から読み出さないため、遅延回路へのリードアクセス回数を削減することができ、遅延回路の消費電力を削減することができる。その結果、本発明では、誤り訂正復号回路の消費電力を削減することができる。 According to the present invention, since at least a part of the check symbol is not read from the delay circuit, the number of read accesses to the delay circuit can be reduced, and the power consumption of the delay circuit can be reduced. As a result, in the present invention, the power consumption of the error correction decoding circuit can be reduced.
また、本発明では、検査シンボルの少なくとも一部を遅延回路に書き込まないため、遅延回路へのライトアクセス回数を削減することができ、遅延回路の消費電力を削減することができる。その結果、本発明では、誤り訂正復号回路の消費電力を削減することができる。 In the present invention, since at least a part of the check symbol is not written to the delay circuit, the number of write accesses to the delay circuit can be reduced, and the power consumption of the delay circuit can be reduced. As a result, in the present invention, the power consumption of the error correction decoding circuit can be reduced.
また、本発明では、受信語の情報シンボルブロックがアイドル制御ブロックを含むときに、遅延回路から少なくとも一部を読み出さないため、遅延回路へのリードアクセス回数を削減することができ、遅延回路の消費電力を削減することができる。その結果、本発明では、誤り訂正復号回路の消費電力を削減することができる。 In the present invention, when the information symbol block of the received word includes an idle control block, at least part of the information symbol block is not read from the delay circuit, so that the number of read accesses to the delay circuit can be reduced, and the consumption of the delay circuit is reduced. Electric power can be reduced. As a result, in the present invention, the power consumption of the error correction decoding circuit can be reduced.
また、本発明では、アイドル制御ブロックを予測検出したときに、遅延回路に情報シンボルの少なくとも一部を書き込まないことにより、遅延回路へのライトアクセス回数を削減することができ、遅延回路の消費電力を削減することができる。 Further, in the present invention, when the idle control block is predicted and detected, at least a part of the information symbol is not written in the delay circuit, so that the number of write accesses to the delay circuit can be reduced, and the power consumption of the delay circuit Can be reduced.
[第1の実施の形態]
以下、本発明の実施の形態を図示例と共に説明する。本発明の第1の実施の形態は、検査シンボルブロックの遅延回路への書き込みと読み出しをしないことによって、遅延回路のリード回数およびライト回数を削減し、消費電力を低減することを特徴とする。
[First Embodiment]
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The first embodiment of the present invention is characterized by reducing the number of reads and writes of the delay circuit and reducing the power consumption by not writing and reading the check symbol block to and from the delay circuit.
図1は本実施の形態の誤り訂正復号回路の構成を示すブロック図、図2は本実施の形態の誤り訂正復号回路の動作を示すタイミングチャートである。本実施の形態の誤り訂正復号回路は、誤り検出回路1と、誤りパターン生成回路2と、ライト制御回路3と、遅延回路4と、リード制御回路5と、排他的論理和回路6と、パリティ区間信号生成回路7と、パケット検出回路8とを有する。本実施の形態と従来例との違いは、ライト制御回路3およびリード制御回路5が追加された点である。
FIG. 1 is a block diagram showing the configuration of the error correction decoding circuit of this embodiment, and FIG. 2 is a timing chart showing the operation of the error correction decoding circuit of this embodiment. The error correction decoding circuit of the present embodiment includes an
以下、本実施の形態の誤り訂正復号回路の動作について説明する。従来と同様に、図2におけるクロックは、図示しないクロック生成手段によって符号語および受信語9の各バイトに同期して生成される。符号語先頭フラグ16の発生間隔は255クロックである。
誤り検出回路1は、受信語9からエラー・シンドローム10を演算する。誤りパターン生成回路2は、エラー・シンドローム10から255バイト長の誤りパターン11を求める処理を行う。本実施の形態においても、誤り検出回路1のシンドローム演算および誤りパターン生成回路2の誤り訂正処理が終了し、符号語に対応する誤りパターン11が出力されるタイミングを、符号語の受信完了時点(図2のt2)から100クロック後の時点とした。
The operation of the error correction decoding circuit according to this embodiment will be described below. As in the prior art, the clock in FIG. 2 is generated in synchronization with each byte of the code word and the received
The
パリティ区間信号生成回路7は、符号語先頭フラグ16に基づいてパリティ区間信号17を生成する。パリティ区間信号17は、受信語9に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、受信語9に情報シンボルが現れるときに非有意(LOW)となる。
The parity interval
ライト制御回路3は、受信語9を遅延回路4に出力すると共に、パリティ区間信号17に基づいてライト指示信号13を生成する。ライト指示信号13は、パリティ区間信号17が有意(HIGH)のとき、すなわち受信語9に検査シンボルが現れるときに非有意(LOW)となり、パリティ区間信号17が非有意(LOW)のとき、すなわち受信語9に情報シンボルが現れるときに有意(HIGH)となる。
The
ライト制御回路3は、ライト指示信号13が有意(HIGH)のときに遅延回路4に受信語9を書き込み、ライト指示信号13が非有意(LOW)のときに遅延回路4への書き込みを行わない。したがって、検査シンボルP32〜P1が受信される32クロックの間は、遅延回路4への受信語9の書き込みが行われないことになる。遅延回路4は、誤り検出回路1および誤りパターン生成回路2の処理時間の分、すなわち100クロック分だけ受信語9を遅延させ、遅延させた受信語12を出力する。
The
パリティ区間信号生成回路7は、遅延回路4の遅延時間(100クロック)から遅延回路4の読み出しに要する時間(1クロック)を引いた遅延時間(99クロック)分だけパリティ区間信号17を遅延させたパリティ区間信号18を生成する。本実施の形態では、誤り検出回路1および誤りパターン生成回路2の処理に100クロックを要し、符号語の受信に255クロックを要しているので、355(=255+100)クロック後に遅延回路4から受信語を読み出すために、パリティ区間信号17に対するパリティ区間信号18の遅延時間を354クロックとした。
The parity interval
リード制御回路5は、パリティ区間信号18に基づいてリード指示信号14を生成する。リード指示信号14は、パリティ区間信号18が有意(HIGH)のとき、すなわち受信語12に検査シンボルが現れるタイミングよりも1クロック前のときに非有意(LOW)となり、パリティ区間信号18が非有意(LOW)のとき、すなわち受信語12に情報シンボルが現れるタイミングよりも1クロック前のときに有意(HIGH)となる。
The
リード制御回路5は、リード指示信号14が有意(HIGH)のときに遅延回路4から受信語12を読み出し、リード指示信号14が非有意(LOW)のときに遅延回路4からの読み出しを行わない。したがって、受信語12に検査シンボルP32〜P1が現れる32クロックの間は、遅延回路4からの受信語12の読み出しが行われないことになる。このため、受信語12の検査シンボルの期間の値は不定となる。図2では、XXで不定を表している。
The
演算回路である排他的論理和回路6は、遅延回路4から読み出された受信語12と誤りパターン11の排他的論理和をとり、1クロック後に訂正受信語15を出力する。上記のとおり、受信語12の検査シンボルの期間の値は不定なので、訂正受信語15においても検査シンボルの期間の値は不定となる。後段のパケット検出回路8において検査シンボルの期間の値は利用されないため、訂正受信語15の検査シンボルに対応する期間の値が不定となっても問題ない。
The exclusive OR
リード制御回路5は、遅延回路4からの受信語12の読み出しに要する時間(1クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(2クロック)分だけパリティ区間信号18を遅延させたパリティ区間信号19を生成する。パリティ区間信号19は、訂正受信語15に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、訂正受信語15に情報シンボルが現れるときに非有意(LOW)となる。
The
パケット検出回路8は、パリティ区間信号19のタイミングに基づいて訂正受信語15から検査シンボルを削除すると共に、訂正受信語15の情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出し、アイドル制御ブロックを削除することにより、パケット20を再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路8は、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。
以上で、本実施の形態の誤り訂正復号回路の動作が終了する。
The
This is the end of the operation of the error correction decoding circuit of the present embodiment.
本実施の形態では、受信語9の検査シンボルを遅延回路4に書き込まないようにし、また受信語9を遅延させた受信語12の検査シンボルを遅延回路4から読み出さないようにしたので、遅延回路4の書き込みと読み出しに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。
In the present embodiment, the check symbol of the received
なお、本実施の形態では、受信語9のすべての検査シンボルを遅延回路4に書き込まず、電力削減効果を大きくしたが、受信語9の検査シンボルの一部を遅延回路4に書き込んでもよい。検査シンボルの一部を書き込む場合でも、従来のようにすべての検査シンボルを遅延回路に書き込む場合と比較して消費電力を削減することができる。同様に、遅延回路4から受信語12の一部の検査シンボルを読み出してもよい。
In the present embodiment, the power reduction effect is increased without writing all the check symbols of the received
また、本実施の形態では、受信語のビット幅が8ビットであり、1クロック毎に1シンボルを遅延回路4に書き込む構成とし、32クロックの期間だけ遅延回路4の書き込みおよび読み出しがなされない例を示したが、受信語のビット幅を40ビット(5バイト)やその他のビット幅にしてもよい。例えば、検査シンボルのみで受信語が構成される期間が1クロック以上存在する256ビット(32バイト)以下であればよい。このとき、パリティ区間信号は、受信語に検査シンボルのみが含まれるときに有意となり、受信語に検査シンボル以外のシンボルも含まれるときに非有意となるように構成する。
Further, in this embodiment, the bit width of the received word is 8 bits, and one symbol is written to the
また、本実施の形態では、有意をHIGH、非有意をLOWとしたが、有意をLOW、非有意をHIGHとしてもよい。また、信号毎に有意/非有意とHIGH/LOWとの対応付けを変更してもよい。 In the present embodiment, significance is set to HIGH and insignificance is set to LOW. However, significance may be set to LOW and nonsignificance may be set to HIGH. Further, the association between significant / insignificant and HIGH / LOW may be changed for each signal.
[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。本発明の第2の実施の形態は、RS(255,223,8)の復号処理において、アイドル制御ブロックを予測検出し、アイドル制御ブロックだと判定した部分に誤りがないと判明した場合は、当該アイドル制御ブロックの部分を遅延回路から読み込まないことを特徴とする。これにより、本実施の形態では、遅延回路のリードアクセス回数を減らし、消費電力を削減する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The second embodiment of the present invention predicts and detects an idle control block in the decoding process of RS (255, 223, 8), and when it is determined that there is no error in a portion determined to be an idle control block, The idle control block portion is not read from the delay circuit. Thereby, in the present embodiment, the number of read accesses of the delay circuit is reduced and the power consumption is reduced.
図3は本実施の形態の誤り訂正復号回路の構成を示すブロック図、図4は本実施の形態の誤り訂正復号回路の動作を示すタイミングチャートである。本実施の形態の誤り訂正復号回路は、誤り検出回路1aと、誤りパターン生成回路2と、遅延回路4と、リード制御回路5aと、排他的論理和回路6と、パリティ区間信号生成回路7aと、パケット検出回路8aと、アイドル予測検出回路21とを有する。本実施の形態と従来例との違いは、リード制御回路5aおよびアイドル予測検出回路21が追加された点である。
FIG. 3 is a block diagram showing the configuration of the error correction decoding circuit of this embodiment, and FIG. 4 is a timing chart showing the operation of the error correction decoding circuit of this embodiment. The error correction decoding circuit of the present embodiment includes an
以下、本実施の形態の誤り訂正復号回路の動作について説明する。従来と同様に、図4におけるクロックは、図示しないクロック生成手段によって符号語および受信語9の各バイトに同期して生成される。
誤り検出回路1aは、受信語9からエラー・シンドローム10を演算する。また、誤り検出回路1aは、受信語9の誤り有無情報22を出力する。誤り有無情報22は、エラー・シンドローム10のいずれもが“0”(受信語9に誤り無し)のときに非有意(LOW)となり、少なくとも1つのエラー・シンドローム10が“0”でないときに有意(HIGH)となる。
The operation of the error correction decoding circuit according to this embodiment will be described below. As in the prior art, the clock in FIG. 4 is generated in synchronization with each byte of the code word and the received
The
誤りパターン生成回路2は、エラー・シンドローム10から255バイト長の誤りパターン11を求める処理を行う。本実施の形態においても、誤り検出回路1aのシンドローム演算および誤りパターン生成回路2の誤り訂正処理が終了し、符号語に対応する誤りパターン11が出力されるタイミングを、符号語の受信完了時点(図4のt3)から100クロック後の時点とした。
遅延回路4は、誤り検出回路1aおよび誤りパターン生成回路2の処理時間の分、すなわち100クロック分だけ受信語9を遅延させ、遅延させた受信語12を出力する。
The error
The
アイドル予測検出回路21は、受信データ列23および符号語先頭フラグ16を入力として、アイドル制御ブロックを予測検出した結果である予測アイドル情報24を出力する。具体的には、アイドル予測検出回路21は、符号語先頭フラグ16のタイミングに基づいて、符号語の情報シンボルブロックに対応する27個の伝送ブロックを検出し、この27個の伝送ブロックがすべてアイドル制御ブロックの固定パターンと一致したときは、この27個の伝送ブロックが受信語12に現れる223クロックの期間において予測アイドル情報24を有意(HIGH)とし、受信語12の残りの32クロックの期間において予測アイドル情報24を非有意(LOW)とする。
The idle
また、アイドル予測検出回路21は、27個の伝送ブロックのうち少なくとも1つがアイドル制御ブロックの固定パターンと一致しないとき、255バイト長の受信語12のすべての期間で予測アイドル情報24を非有意(LOW)とする。
なお、符号語の受信開始時点(図4のt1)から355(=255+100)クロック後に遅延回路4から受信語12が読み出されるが、遅延回路4からの受信語12の読み出しに1クロック分の時間がかかる。そこで、アイドル予測検出回路21は、27個の伝送ブロックがすべてアイドル制御ブロックの固定パターンと一致した場合、符号語の受信開始時点から354(=255+100−1)クロック後に予測アイドル情報24を有意(HIGH)とする。
Further, the idle
The received
また、伝送ブロックのデータフィールドはビット“0”とビット“1”の出現確率が均等となるようにスクランブル処理されているため、アイドル予測検出回路21は、アイドル制御ブロックの検出のためにデスクランブル回路(不図示)を内部に備えている。図4では、デスクランブル処理後のデータ列を受信データ列27として記載している。デスクランブル回路の詳細については、例えば非特許文献3に記載がある。
Since the data field of the transmission block is scrambled so that the appearance probabilities of bit “0” and bit “1” are equal, the idle
リード制御回路5aは、遅延回路4に対してリード指示信号14を出力し、パケット検出回路8aに対して確定アイドル情報25を出力する。予測アイドル情報24が有意(HIGH)のときにリード指示信号14を非有意(LOW)にすることがリード制御回路5aの特徴であるが、アイドル予測検出回路21による予測が外れることがある。予測が外れることがあるのは、現在の符号語にビット誤りがある場合と、直前の符号語にビット誤りがある場合である。
The
現在の符号語に誤りがある場合は、アイドル制御ブロックでない伝送ブロックが、アイドル制御ブロックのパターンに偶然一致することが起こりうる。
また、直前の符号語の情報シンボルブロックの末尾(D9〜D1)の伝送ブロックにビット誤りがある場合も、アイドル制御ブロックでない伝送ブロックが、アイドル制御ブロックのパターンに偶然一致することが起こりうる。アイドル予測検出回路21内のデスクランブル回路において、ある伝送ブロックに対して正しくデスクランブル処理を行うためには、その直前のビット誤りのない伝送フレームデータが必要である。その理由は、デスクランブル回路が直前の56ビット分の情報を利用するためである。
If there is an error in the current codeword, a transmission block that is not an idle control block may coincide with the pattern of the idle control block.
In addition, even when there is a bit error in the transmission block at the end (D9 to D1) of the information symbol block of the immediately preceding code word, a transmission block that is not an idle control block may coincide with the pattern of the idle control block. In the descrambling circuit in the idle
以上のことを鑑み、リード制御回路5aは、図5のフローチャートに従ってリード指示信号14を出力する。具体的には、リード制御回路5aは、直前の符号語の誤り有無情報22が誤り無し(非有意)を示し、かつ現在の符号語の誤り有無情報22が誤り無しを示し、かつ予測アイドル情報24が有意(HIGH)であって、かつ符号語の情報シンボルに含まれる末尾の伝送ブロックに対応する期間でないときに(ステップS1においてYES)、リード指示信号14を非有意(LOW)とする(ステップS2)。
In view of the above, the
また、リード制御回路5aは、ステップS1が判定YESのときに、遅延回路4からの受信語12の読み出しに要する時間(1クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(2クロック)分だけ予測アイドル情報24を遅延させた確定アイドル情報25を生成する(ステップS2)。すなわち、確定アイドル情報25は、訂正受信語15の27個の伝送ブロックがアイドル制御ブロックしか含まないとき、この27個の伝送ブロックが訂正受信語15に現れる223クロックの期間において有意(HIGH)となる。
Further, the
また、リード制御回路5aは、直前の符号語の誤り有無情報22が誤り有り(有意)を示すことと、現在の符号語の誤り有無情報22が誤り有りを示すことと、予測アイドル情報24が非有意(LOW)であることと、末尾の伝送ブロックに対応する期間であることのうち少なくとも1つが該当するときに(ステップS1においてNO)、リード指示信号14を有意(HIGH)とする(ステップS3)。また、リード制御回路5aは、ステップS1が判定NOのときに、確定アイドル情報25を非有意(LOW)とする(ステップS3)。
Further, the
リード制御回路5aは、リード指示信号14が有意(HIGH)のときに遅延回路4から受信語12を読み出し、リード指示信号14が非有意(LOW)のときに遅延回路4からの読み出しを行わない。
図4の時刻t1より255クロック前に受信を開始した符号語については、この符号語をリード制御回路5aが処理する期間(図4の時刻t2からt4)において予測アイドル情報24が有意(HIGH)であるが、直前の符号語の誤り有無情報22(時刻t2以前の誤り有無情報22)が有意(HIGH)となっている。このため、リード制御回路5aは、リード指示信号14を有意(HIGH)とし、確定アイドル情報25を非有意(LOW)とする。
The
For a code word that has started to be received 255 clocks before time t1 in FIG. 4, the prediction
また、図4の時刻t1で受信を開始した符号語については、この符号語をリード制御回路5aが処理する期間(図4の時刻t4からt6)において予測アイドル情報24が有意(HIGH)であり、かつ直前の符号語の誤り有無情報22(時刻t4以前の誤り有無情報22)が非有意(LOW)となっている。このため、リード制御回路5aは、リード指示信号14を非有意(LOW)とし、確定アイドル情報25を有意(HIGH)とする。ただし、リード制御回路5aは、末尾の伝送ブロック(65ビット、9クロック)に対応する期間についてはリード指示信号14を有意(HIGH)とする。
Further, for the code word that has started to be received at time t1 in FIG. 4, the predicted
排他的論理和回路6は、遅延回路4から読み出されリード制御回路5aから出力された受信語12と誤りパターン11の排他的論理和をとり、1クロック後に訂正受信語15を出力する。
The exclusive OR
パリティ区間信号生成回路7aは、遅延回路4の遅延時間(100クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(101クロック)分だけ第1の実施の形態のパリティ区間信号17を遅延させたパリティ区間信号26を生成する。パリティ区間信号26は、訂正受信語15に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、訂正受信語15に情報シンボルが現れるときに非有意(LOW)となる。
The parity interval
パケット検出回路8aは、パリティ区間信号26のタイミングに基づいて訂正受信語15から検査シンボルを削除し、訂正受信語15の情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出してアイドル制御ブロックを削除し、また確定アイドル情報25を有意(HIGH)が有意のときにはすべてのアイドル制御ブロックを削除することにより、パケット20を再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路8aは、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。以上で、本実施の形態の誤り訂正復号回路の動作が終了する。
The
本実施の形態では、アイドル制御ブロックを予測検出し、アイドル制御ブロックだと判定した部分に誤りがないと判明した場合は、当該アイドル制御ブロックの部分を遅延回路4から読み込まないようにしたので、遅延回路4の読み出しに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。
In the present embodiment, when the idle control block is predicted and detected and it is determined that there is no error in the portion determined to be the idle control block, the portion of the idle control block is not read from the
なお、本実施の形態では、受信語のビット幅が8ビットであり、1クロック毎に1シンボルを遅延回路4に書き込む構成とする例を示したが、受信語のビット幅を40ビット(5バイト)やその他のビット幅にしてもよい。
また、本実施の形態では、“0”の値であるD223〜D221について、受信語に現れることとしたが、“0”であるため省略して252クロックで1符号語とする構成としてもよい。
In the present embodiment, an example in which the bit width of the received word is 8 bits and one symbol is written to the
In this embodiment, D223 to D221 having a value of “0” appear in the received word. However, since it is “0”, it may be omitted and may be configured as one codeword with 252 clocks. .
また、本実施の形態では、1符号語がすべてアイドル制御ブロックであるときに1符号語を単位としてリード指示信号14を非有意(LOW)とする例を示したが、複数のアイドル制御ブロックの一致区間についてリード指示信号14を非有意(LOW)とする構成としてもよい。ただし、その一致区間に含まれる最初と最後の伝送ブロックに関してはリード指示信号14を誤りの有無にかかわらず有意(HIGH)とする必要がある。
また、本実施の形態では、予測アイドル検出回路21は受信データ列を入力としたが、受信語を入力としてもよい。
Further, in the present embodiment, an example in which the read
In the present embodiment, the predicted
また、本実施の形態では、符号語の構成がIEEE802.3av準拠であり、アイドル制御ブロックの検出のために、受信データ列に対してデスクランブル回路が必要な例を示したが、IEEE802.3avと異なる変換が受信データ列に施されているときは、受信データ列をアイドル制御ブロックの検出可能な形式に変換するための変換回路を備えても同様の効果が得られる。このような変換回路としては、例えば、受信データ列の位置を交換するデインタリーブ処理を行う変換回路や、IEEE802.3av規格とは異なるデスクランブル処理を行う変換回路がある。 In the present embodiment, the codeword configuration conforms to IEEE802.3av, and an example in which a descrambling circuit is required for the received data string in order to detect an idle control block is shown. However, IEEE802.3av is shown. When conversion is performed on the received data string, the same effect can be obtained by providing a conversion circuit for converting the received data string into a form that can be detected by the idle control block. Examples of such a conversion circuit include a conversion circuit that performs a deinterleave process for exchanging the positions of received data strings, and a conversion circuit that performs a descrambling process different from the IEEE 802.3av standard.
また、本実施の形態では、符号語の構成がIEEE802.3av準拠であり、アイドル制御ブロックの検出のために、デスクランブル回路が必要な例を示したが、一般に、アイドル制御ブロックが固定パターンである場合であれば、デスクランブル回路が不要であり、受信語との比較とした構成としてもよい。 In the present embodiment, the codeword configuration conforms to IEEE802.3av, and an example in which a descrambling circuit is necessary for detecting an idle control block has been shown. However, in general, the idle control block has a fixed pattern. In some cases, a descrambling circuit is unnecessary, and a configuration in which the received word is compared may be used.
また、本実施の形態では、受信語9の伝送ブロックがアイドル制御ブロックの固定パターンと一致したときも遅延回路4へ書き込みを行ったが、受信語9の伝送ブロックがアイドル制御ブロックの固定パターンと一致し、前後の受信語と依存関係がないときは、前記アイドル制御ブロックの固定パターンと一致した区間だけ遅延回路4に受信語9を書き込まないようライト制御回路を付加し、アイドル予測情報に基づいて、リード制御回路5aにてアイドル制御ブロックと同一のパターンを受信語12として出力すればよい。
In the present embodiment, the writing to the
[第3の実施の形態]
次に、本発明の第3の実施の形態について説明する。図6は本実施の形態の誤り訂正復号回路の構成を示すブロック図であり、図1と同一の構成には同一の符号を付してある。本実施の形態の誤り訂正復号回路は、誤り検出回路1と、誤りパターン生成回路2と、ライト制御回路3と、遅延回路4と、排他的論理和回路6と、パリティ区間信号生成回路7bと、パケット検出回路8とを有する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. FIG. 6 is a block diagram showing the configuration of the error correction decoding circuit according to the present embodiment. The same components as those in FIG. 1 are denoted by the same reference numerals. The error correction decoding circuit of this embodiment includes an
本実施の形態は、第1の実施の形態からリード制御回路5を削除したものである。リード制御回路5がないため、パリティ区間信号生成回路7bは、第1の実施の形態のパリティ区間信号18を、排他的論理和回路6の遅延時間(1クロック)だけ遅延させたパリティ区間信号28を生成してパケット検出回路8に出力すればよい。その他の構成の動作は第1の実施の形態で説明したとおりである。
In the present embodiment, the
こうして、本実施の形態では、受信語9の検査シンボルを遅延回路4に書き込まないようにしたので、遅延回路4の書き込みに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。
Thus, in this embodiment, since the check symbol of the received
[第4の実施の形態]
次に、本発明の第4の実施の形態について説明する。図7は本実施の形態の誤り訂正復号回路の構成を示すブロック図であり、図1と同一の構成には同一の符号を付してある。本実施の形態の誤り訂正復号回路は、誤り検出回路1と、誤りパターン生成回路2と、遅延回路4と、リード制御回路5と、排他的論理和回路6と、パリティ区間信号生成回路7cと、パケット検出回路8とを有する。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. FIG. 7 is a block diagram showing the configuration of the error correction decoding circuit according to the present embodiment. The same components as those shown in FIG. The error correction decoding circuit of the present embodiment includes an
本実施の形態は、第1の実施の形態からライト制御回路3を削除したものである。パリティ区間信号生成回路7cの動作は、パリティ区間信号17を外部に出力しない点以外は、第1の実施の形態のパリティ区間信号生成回路7と同じである。
In the present embodiment, the
こうして、本実施の形態では、受信語9を遅延させた受信語12の検査シンボルを遅延回路4から読み出さないようにしたので、遅延回路4の読み出しに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。
Thus, in the present embodiment, since the check symbol of the received
なお、本発明は上述のものに限定されるものではなく、本発明の要旨を逸脱しない範囲で変更を加えることはもちろんである。本発明の復号方法は、マイクロコンピュータや、ネットワークプロセッサなどを用いたソフトウェアプログラムや、LSIなどの論理回路で実装できることは明らかである。
例えば誤り訂正復号回路は、CPU、記憶装置及びインタフェースを備えたコンピュータと、これらのハードウェア資源を制御するプログラムによって実現することができる。CPUは、記憶装置に格納されたプログラムに従って第1〜第4の実施の形態で説明した処理を実行する。
In addition, this invention is not limited to the above-mentioned thing, Of course, it changes in the range which does not deviate from the summary of this invention. It is obvious that the decoding method of the present invention can be implemented by a microcomputer, a software program using a network processor, or a logic circuit such as an LSI.
For example, the error correction decoding circuit can be realized by a computer having a CPU, a storage device, and an interface, and a program for controlling these hardware resources. The CPU executes the processes described in the first to fourth embodiments in accordance with a program stored in the storage device.
本発明は、誤り訂正復号回路に適用することができる。 The present invention can be applied to an error correction decoding circuit.
1,1a…誤り検出回路、2…誤りパターン生成回路、3…ライト制御回路、4…遅延回路、5,5a…リード制御回路、6…排他的論理和回路、7,7a,7b,7c…パリティ区間信号生成回路、8,8a…パケット検出回路、21…アイドル予測検出回路。
DESCRIPTION OF
Claims (8)
前記受信語の情報を保持する遅延回路と、
この遅延回路に書き込まれた受信語の情報シンボルを読み出し、前記遅延回路に書き込まれた受信語の少なくとも一部の検査シンボルを読み出さないリード制御回路と、
前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とする誤り訂正復号回路。 An error pattern generation circuit for generating an error pattern indicating an error part of the received word;
A delay circuit for holding the received word information;
A read control circuit that reads information symbols of received words written in the delay circuit and does not read at least some check symbols of the received words written in the delay circuit;
An error correction decoding circuit comprising: an arithmetic circuit that corrects a received word read from the delay circuit based on the error pattern.
前記受信語の情報を保持する遅延回路と、
前記受信語の情報シンボルを前記遅延回路に書き込み、前記受信語の少なくとも一部の検査シンボルを前記遅延回路に書き込まないライト制御回路と、
前記遅延回路によって遅延された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とする誤り訂正復号回路。 An error pattern generation circuit for generating an error pattern indicating an error part of the received word;
A delay circuit for holding the received word information;
A write control circuit that writes information symbols of the received word to the delay circuit, and does not write at least some check symbols of the received word to the delay circuit;
An error correction decoding circuit comprising: an arithmetic circuit that corrects a received word delayed by the delay circuit based on the error pattern.
前記受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成回路と、
前記受信語の情報を保持する遅延回路と、
前記受信語に含まれるアイドル制御ブロックを予測検出した結果である予測アイドル情報を生成するアイドル予測検出回路と、
通常時は前記遅延回路に書き込まれた受信語の情報シンボルと検査シンボルの両方を読み出し、前記アイドル予測情報が有意であって前記誤り有無情報が誤り無しを示すときは、前記有意のアイドル予測情報および前記誤り無しを示す誤り有無情報に対応する情報シンボルの少なくとも一部を前記遅延回路から読み出さないリード制御回路と、
前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算回路とを備えることを特徴とする誤り訂正復号回路。 An error detection circuit for generating error presence / absence information indicating the presence / absence of an error in the received word;
An error pattern generation circuit for generating an error pattern indicating an error part of the received word;
A delay circuit for holding the received word information;
An idle prediction detection circuit that generates predicted idle information that is a result of predictive detection of an idle control block included in the received word;
Normally, when both the information symbol and the check symbol of the received word written in the delay circuit are read and the idle prediction information is significant and the error presence / absence information indicates no error, the significant idle prediction information A read control circuit that does not read from the delay circuit at least a part of the information symbol corresponding to the error presence information indicating no error, and
An error correction decoding circuit comprising: an arithmetic circuit that corrects a received word read from the delay circuit based on the error pattern.
さらに、前記アイドル制御ブロックを予測検出したときに、前記遅延回路に前記情報シンボルの少なくとも一部を書き込まないライト制御回路を備えることを特徴とする誤り訂正復号回路。 The error correction decoding circuit according to claim 3,
The error correction decoding circuit further comprises a write control circuit that does not write at least a part of the information symbol in the delay circuit when the idle control block is predicted and detected.
遅延回路に書き込まれた受信語の情報シンボルを読み出し、前記遅延回路に書き込まれた受信語の少なくとも一部の検査シンボルを読み出さないリード制御ステップと、
前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とする誤り訂正復号方法。 An error pattern generation step for generating an error pattern indicating an error part of the received word;
A read control step of reading information symbols of the received word written in the delay circuit and not reading at least a part of the check symbols of the received word written in the delay circuit;
An error correction decoding method comprising: an arithmetic step of correcting a received word read from the delay circuit based on the error pattern.
前記受信語の情報シンボルを遅延回路に書き込み、前記受信語の少なくとも一部の検査シンボルを前記遅延回路に書き込まないライト制御ステップと、
前記遅延回路によって遅延された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とする誤り訂正復号方法。 An error pattern generation step for generating an error pattern indicating an error part of the received word;
A write control step of writing information symbols of the received word to a delay circuit, and not writing at least a part of the check symbols of the received word to the delay circuit;
An error correction decoding method comprising: an arithmetic step of correcting a received word delayed by the delay circuit based on the error pattern.
前記受信語の誤り箇所を示す誤りパターンを生成する誤りパターン生成ステップと、
前記受信語に含まれるアイドル制御ブロックを予測検出した結果である予測アイドル情報を生成するアイドル予測検出ステップと、
通常時は遅延回路に書き込まれた受信語の情報シンボルと検査シンボルの両方を読み出し、前記アイドル予測情報が有意であって前記誤り有無情報が誤り無しを示すときは、前記有意のアイドル予測情報および前記誤り無しを示す誤り有無情報に対応する情報シンボルの少なくとも一部を前記遅延回路から読み出さないリード制御ステップと、
前記遅延回路から読み出された受信語を前記誤りパターンに基づいて訂正する演算ステップとを備えることを特徴とする誤り訂正復号方法。 An error detection step for generating error presence / absence information indicating presence / absence of an error in the received word;
An error pattern generation step of generating an error pattern indicating an error part of the received word;
Idle prediction detection step for generating predicted idle information that is a result of predictive detection of an idle control block included in the received word;
Normally, both the information symbol and the check symbol of the received word written in the delay circuit are read, and when the idle prediction information is significant and the error presence / absence information indicates no error, the significant idle prediction information and A read control step of not reading at least a part of the information symbol corresponding to the error presence / absence information indicating no error from the delay circuit;
An error correction decoding method comprising: an arithmetic step of correcting a received word read from the delay circuit based on the error pattern.
さらに、前記アイドル制御ブロックを予測検出したときに、前記遅延回路に前記情報シンボルの少なくとも一部を書き込まないライト制御ステップを備えることを特徴とする誤り訂正復号方法。 The error correction decoding method according to claim 7,
The error correction decoding method further comprises a write control step of not writing at least a part of the information symbol in the delay circuit when the idle control block is detected and detected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012122704A JP5770680B2 (en) | 2012-05-30 | 2012-05-30 | Error correction decoding circuit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012122704A JP5770680B2 (en) | 2012-05-30 | 2012-05-30 | Error correction decoding circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013251590A true JP2013251590A (en) | 2013-12-12 |
JP5770680B2 JP5770680B2 (en) | 2015-08-26 |
Family
ID=49849917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012122704A Expired - Fee Related JP5770680B2 (en) | 2012-05-30 | 2012-05-30 | Error correction decoding circuit and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5770680B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1166762A (en) * | 1997-08-08 | 1999-03-09 | Alps Electric Co Ltd | Floppy disk system |
US5946328A (en) * | 1997-11-17 | 1999-08-31 | International Business Machines Corporation | Method and means for efficient error detection and correction in long byte strings using integrated interleaved Reed-Solomon codewords |
JP2001144628A (en) * | 1999-11-16 | 2001-05-25 | Hitachi Ltd | Data transfer device |
-
2012
- 2012-05-30 JP JP2012122704A patent/JP5770680B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1166762A (en) * | 1997-08-08 | 1999-03-09 | Alps Electric Co Ltd | Floppy disk system |
US5946328A (en) * | 1997-11-17 | 1999-08-31 | International Business Machines Corporation | Method and means for efficient error detection and correction in long byte strings using integrated interleaved Reed-Solomon codewords |
JP2001144628A (en) * | 1999-11-16 | 2001-05-25 | Hitachi Ltd | Data transfer device |
Non-Patent Citations (2)
Title |
---|
JPN6015014968; 浦野 正美 他: '省電力PONにおけるOLTのバッファ制御方法の検討' 2009年電子情報通信学会通信ソサイエティ大会講演論文集2 , 20090901, p.149 * |
JPN6015014969; 浦野 正美 他: 'ONUのバッファ省電力化手法の検討' 2010年電子情報通信学会通信ソサイエティ大会講演論文集2 , 20100831, p.167 * |
Also Published As
Publication number | Publication date |
---|---|
JP5770680B2 (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8117526B2 (en) | Apparatus and method for generating a transmit signal and apparatus and method for extracting an original message from a received signal | |
US8661308B2 (en) | Method and device for fast cyclic redundancy check coding | |
US20120131422A1 (en) | Transmitting device, transmitting method, receiving device, receiving method, program, and transmission system | |
US8261165B2 (en) | Multi-syndrome error correction circuit | |
US9209931B2 (en) | Device and method for transmission, device and method for reception, and program | |
KR102370904B1 (en) | Ultra low power decoder and decoding method | |
JP5263986B2 (en) | SERIAL RECEIVING DEVICE, CONTROL METHOD AND PROGRAM FOR SERIAL RECEIVING DEVICE | |
KR101874537B1 (en) | Method and Apparatus for Parallel Decoding of Polar Codes | |
Wu et al. | The Davey-MacKay coding scheme for channels with dependent insertion, deletion, and substitution errors | |
JP5770680B2 (en) | Error correction decoding circuit and method | |
JPH10107647A (en) | Cyclic redundancy check | |
KR101317039B1 (en) | Apparatus and method for decoding | |
CN107688506B (en) | BCH decoding system with flow structure | |
US20220286145A1 (en) | Pipelined forward error correction for vector signaling code channel | |
JP4677638B2 (en) | Error correction decoding circuit | |
CN113821370B (en) | High-speed CRC (cyclic redundancy check) generation method and device for data transmission error check | |
JP4677639B2 (en) | Error correction decoding circuit | |
JP4419867B2 (en) | Data processing device | |
JPH1098392A (en) | Crc code generating circuit, code error detecting circuit and crc circuit | |
US8644432B2 (en) | Viterbi decoder for decoding convolutionally encoded data stream | |
US10833799B2 (en) | Message correction and dynamic correction adjustment for communication systems | |
JP3743915B2 (en) | Spotty byte error correction / detection method and apparatus | |
JP4747085B2 (en) | Error correction code circuit | |
CN116781214B (en) | Decoding module generation method, device and readable storage medium | |
Juan et al. | Utilization of High-Speed DSP Algorithms of Cyclic Redundancy Checking (CRC-15) Encoder and Decoder for Controller Area Network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140829 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150409 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150421 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150527 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150623 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150625 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5770680 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |