JP2013251590A - Error correction decoding circuit and method - Google Patents

Error correction decoding circuit and method Download PDF

Info

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
Application number
JP2012122704A
Other languages
Japanese (ja)
Other versions
JP5770680B2 (en
Inventor
Kazuhiko Terada
和彦 寺田
Namiko Ikeda
奈美子 池田
Hiroyuki Uzawa
寛之 鵜澤
Masami Urano
正美 浦野
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012122704A priority Critical patent/JP5770680B2/en
Publication of JP2013251590A publication Critical patent/JP2013251590A/en
Application granted granted Critical
Publication of JP5770680B2 publication Critical patent/JP5770680B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce power consumption in an error correction decoding circuit.SOLUTION: An error correction decoding circuit comprises: an error pattern generation circuit 2 which generates an error pattern indicating an erratic place in a received word; a delay circuit 4 which holds information on the received word; a write control circuit 3 which writes a received word information symbol into the delay circuit 4 and does not write at least part of a received word inspection symbol into the delay circuit 4; a read control circuit 5 which reads out the received word information symbol written into the delay circuit 4 and does not read out at least part of the received word inspection symbol written into the delay circuit 4; and an exclusive OR circuit 6 which exclusive-OR the received word read out from the delay circuit 4 with the error pattern.

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 Document 1 and Non-Patent Document 2, for example.
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 Document 3 and Non-Patent Document 4. The received data string is obtained by converting an optical signal into an electric signal, serial-parallel conversion, and dividing it into 66-bit units. In the IEEE 802.3av standard, the received data string is a series of received codewords 100 as shown in FIG. 8, and each received codeword 100 is composed of a payload 101 and a parity 102. The payload 101 has 27 66-bit transmission blocks 103 and 104, and the parity 102 has 4 66-bit parity blocks 105. The 66-bit long blocks 103 to 105 each include a 2-bit header and a 64-bit data field. The data field portions of the 66-bit length transmission blocks 103 and 104 are scrambled so that the appearance probabilities of bit “0” and bit “1” are equal. The scramble process is described in Non-Patent Document 4. The data field portion of the 66-bit long parity block 105 includes 8 bytes of RS (255, 223, 8) check symbols.

66ビット長の伝送ブロック103,104としては、パケットデータを含むデータブロック103と、パケットデータでない制御ブロック104とがある。データブロック103のときは、2ビットのヘッダ値が“01”となり、64ビットのデータフィールドにパケットデータが格納される。制御ブロック104のときは、2ビットのヘッダが“10”となり、64ビットのデータフィールドにはさまざまな値が入る。制御ブロック104には、いくつかの種類があるが、代表的なものとしては、固定パターンのアイドル制御ブロックがある。アイドル制御ブロックのデータフィールドには、8ビット長の固定値のタイプコード(0x1E)と7ビット長のアイドルコード(0x00)が8個格納される。ただし、アイドル制御ブロックは、受信データ列における段階ではスクランブル処理により固定パターンでない。その他の制御ブロック104としては、パケットの先頭を示すスタート制御ブロックや、パケットの末尾を示すターミネート制御ブロックがある。   The 66-bit length transmission blocks 103 and 104 include a data block 103 including packet data and a control block 104 which is not packet data. In the case of the data block 103, the 2-bit header value is “01”, and the packet data is stored in the 64-bit data field. In the case of the control block 104, the 2-bit header is “10”, and various values are stored in the 64-bit data field. There are several types of control block 104, but a typical example is a fixed pattern idle control block. In the data field of the idle control block, 8 types of fixed value type code (0x1E) of 8 bits and 7 bits of idle code (0x00) are stored. However, the idle control block is not a fixed pattern due to the scramble process at the stage in the received data string. Other control blocks 104 include a start control block that indicates the beginning of a packet and a terminate control block that indicates the end of the packet.

受信データ列から、受信符号語を取り出して、受信符号語から符号語を構成する。受信データ列から符号語を取り出すためには、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 length transmission blocks 103 and 104 to generate 27 65-bit length transmission blocks 103a and 104a, An information symbol block 107 having a length of 223 bytes (= 27 × 65 bits + 29 bits) is obtained by adding a block 106 consisting of a continuous collection of 29 bits of “0” to the head of the 27 transmission blocks 103a and 104a. . Further, the header is removed from each 66-bit parity block 105 to generate four 64-bit parity blocks 105a, and these four parity blocks 105a are used as 32-byte check symbol blocks 108. The information symbol block 107 and the check symbol block 108 are used as a 255-byte code word 109 for error correction decoding processing.

そのため、255バイト長の受信語110は、本従来例においては符号語109を1バイト単位に分割したものと定義される。したがって、受信語110には、符号語109の各バイトが連続して現れる。   Therefore, the received word 110 having a length of 255 bytes is defined as the code word 109 divided into 1-byte units in this conventional example. Therefore, each byte of the code word 109 appears continuously in the received word 110.

従来のパケット通信における誤り訂正復号回路のブロック図の一例を図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 delay circuit 202 delays the received word 206 by the processing time of the error detection circuit 200 and the error pattern generation circuit 201, and outputs the delayed received word 207. The delay circuit 202 is generally composed of a memory, and consumes a large amount of power during write access and read access.

誤り検出回路200は、受信語206からエラー・シンドローム208を演算する。このエラー・シンドローム208の詳細については、非特許文献1および非特許文献2に記載されている。RS(255,223,8)の場合は、エラー・シンドローム208が32個ある。すべてのエラー・シンドローム208が“0”のとき、受信語206に誤りがないことを示し、少なくとも1つのエラー・シンドローム208が“0”でないとき、受信語206に誤りがあることを示す。   The error detection circuit 200 calculates an error syndrome 208 from the received word 206. Details of the error syndrome 208 are described in Non-Patent Document 1 and Non-Patent Document 2. In the case of RS (255, 223, 8), there are 32 error syndromes 208. When all error syndromes 208 are “0”, it indicates that there is no error in the received word 206, and when at least one error syndrome 208 is not “0”, it indicates that there is an error in the received word 206.

誤りパターン生成回路201は、エラー・シンドローム208から、255バイト長の誤りパターン209を求める処理を行う。誤りパターン209は、受信語206に誤りがないときはすべて“0”となり、受信語206に誤りがあるときは誤りの生じた箇所のビットが“1”となる。誤り訂正符号の誤り訂正能力範囲内であれば、誤りが生じたすべての箇所が“1”となる誤りパターン209を求めることができる。したがって、通常は誤り訂正能力を超えないように通信方式やデバイスが設計される。   The error pattern generation circuit 201 performs processing for obtaining an error pattern 209 having a length of 255 bytes from the error syndrome 208. The error pattern 209 is all “0” when there is no error in the received word 206, and the bit where the error occurs is “1” when there is an error in the received word 206. If the error correction code is within the error correction capability range, it is possible to obtain an error pattern 209 in which all locations where errors occur are “1”. Therefore, communication systems and devices are usually designed so as not to exceed the error correction capability.

排他的論理和回路203は、遅延回路202から出力された受信語207と誤りパターン209の排他的論理和をとることにより、受信語207の誤りを訂正し、訂正受信語210を出力する。
パケット検出回路205は、訂正受信語210から、検査シンボルを削除するとともに、情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出し、アイドル制御ブロックを削除することにより、パケットデータを再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路205は、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。
The exclusive OR circuit 203 corrects the error of the received word 207 by taking the exclusive OR of the received word 207 output from the delay circuit 202 and the error pattern 209, and outputs a corrected received word 210.
The packet detection circuit 205 deletes a check symbol from the corrected received word 210, detects a start control block, a termination control block, an idle control block, a data block, etc. stored in the information symbol, and deletes the idle control block. Thus, the packet data is reconstructed. At this time, since all the transmission blocks have been scrambled, the packet detection circuit 205 performs descrambling processing for releasing the scramble processing of the transmission blocks.

図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 received word 206 by a clock generation means (not shown). Since the length of the code word and the reception word 206 is 255 bytes, the generation interval of the code word head flag 211 is 255 clocks. One clock after the code word head flag 211, D223 corresponding to the head symbol of the code word appears in the received word 206. In FIG. 10, D223 indicates the 223rd byte of the information symbol, and D1 indicates the 1st byte of the information symbol. When information symbols D223 to D1 are continuously received, the end of the information symbol block is reached. P32 indicates the 32nd byte of the check symbol, and P1 indicates the 1st byte of the check symbol. When the check symbols P32 to P1 are continuously received, the end of the check symbol block, that is, the end of the code word is obtained. Here, in order to receive D223 earliest, it is defined as the head symbol.

受信語206の情報シンボルおよび検査シンボルに同期して、パリティ区間信号214が出力される。パリティ区間信号214は、受信語206に検査シンボルが現れるときに有意(HIGH)となり、受信語206に情報シンボルが現れるときに非有意(LOW)となる。有意、非有意の定義については、本発明では以降、有意をHIGH、非有意をLOWとする。ただし、有意をLOW、非有意をHIGHとしてもよく、有意をHIGHにするかLOWにするかは回路の設計の際に定まる。   A parity interval signal 214 is output in synchronization with the information symbol and check symbol of the received word 206. The parity interval signal 214 becomes significant (HIGH) when a check symbol appears in the received word 206 and becomes insignificant (LOW) when an information symbol appears in the received word 206. With regard to the definitions of significant and non-significant, in the present invention, hereinafter, significant is HIGH and non-significant is LOW. However, significance may be LOW and non-significance may be HIGH, and whether the significance is HIGH or LOW is determined at the time of circuit design.

この従来例においては、誤り検出回路200のシンドローム演算および誤りパターン生成回路201の誤り訂正処理が終了し、符号語に対応する誤りパターン209が出力されるタイミングを、符号語の受信完了時点(図10のt2)から100クロック後の時点とした。図10において、ED223は情報シンボルD223に対応する誤りパターンであり、ED1は情報シンボルD1に対応する誤りパターンであることを示している。また、EP32は検査シンボルP32に対応する誤りパターンであり、EP1は検査シンボルP1に対応する誤りパターンであることを示している。   In this conventional example, the syndrome calculation of the error detection circuit 200 and the error correction processing of the error pattern generation circuit 201 are completed, and the timing at which the error pattern 209 corresponding to the codeword is output is determined at the time when the codeword reception is completed (see FIG. The time point was 100 clocks after t2). In FIG. 10, ED223 is an error pattern corresponding to information symbol D223, and ED1 is an error pattern corresponding to information symbol D1. EP32 is an error pattern corresponding to the check symbol P32, and EP1 is an error pattern corresponding to the check symbol P1.

遅延回路202は、誤り検出回路200および誤りパターン生成回路201の処理時間の分、すなわち100クロック分だけ受信語206を遅延させ、遅延させた受信語207を出力する。これにより、受信語207は、誤りパターン209のタイミングと合うように遅延回路202から出力される。例えば、誤りパターン209のシンボルED223に合わせて受信語207の情報シンボルD223が遅延回路202から出力される。
排他的論理和回路203は、受信語207と誤りパターン209の排他的論理和をとり、1クロック後に訂正受信語210を出力する。
The delay circuit 202 delays the received word 206 by the processing time of the error detection circuit 200 and the error pattern generation circuit 201, that is, 100 clocks, and outputs the delayed received word 207. As a result, the received word 207 is output from the delay circuit 202 so as to match the timing of the error pattern 209. For example, the information symbol D223 of the received word 207 is output from the delay circuit 202 in accordance with the symbol ED223 of the error pattern 209.
The exclusive OR circuit 203 performs exclusive OR of the received word 207 and the error pattern 209 and outputs the corrected received word 210 after one clock.

パリティ区間信号生成回路204は、遅延回路202の遅延時間(100クロック)と排他的論理和回路203の遅延時間(1クロック)とを足した遅延時間分だけパリティ区間信号214を遅延させたパリティ区間信号212を生成する。このパリティ区間信号212は、訂正受信語210に検査シンボルが現れるときに有意(HIGH)となり、訂正受信語210に情報シンボルが現れるときに非有意(LOW)となる。   The parity interval signal generation circuit 204 delays the parity interval signal 214 by a delay time obtained by adding the delay time of the delay circuit 202 (100 clocks) and the delay time of the exclusive OR circuit 203 (1 clock). A signal 212 is generated. The parity interval signal 212 becomes significant (HIGH) when a check symbol appears in the corrected received word 210 and becomes insignificant (LOW) when an information symbol appears in the corrected received word 210.

パケット検出回路205は、パリティ区間信号212のタイミングに基づいて訂正受信語210から検査シンボルを削除すると共に、情報シンボルのアイドル制御ブロックを削除することにより、パケット213を再構成する。
以上が、従来の誤り訂正復号回路の動作の概要である。
The packet detection circuit 205 reconstructs the packet 213 by deleting the check symbol from the corrected received word 210 and deleting the idle control block of the information symbol based on the timing of the parity interval signal 212.
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 delay circuit 202 occupies most of the dynamic power consumption of the error correction decoding circuit when there is no error in the codeword.
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 delay circuit 202.

今井秀樹著,「情報理論」,昭晃堂,pp.177,1984年,ISBN4−7856−1139−1Hideki Imai, “Information Theory”, Shosodo, pp. 177, 1984, ISBN 4-7856-11139-1. 西村芳一著,「無線データ通信におけるディジタル・エラー訂正技術入門」,CQ出版,pp.77−94,2004年,ISBN4−7898−3397−6Yoshikazu Nishimura, “Introduction to Digital Error Correction Technology in Wireless Data Communication”, CQ Publishing, pp. 77-94, 2004, ISBN 4-7898-397-6. IEEE802.3av-2009,pp.124IEEE802.3av-2009, pp. 124 “64B/66B overview 10Gb/s phy for EPON SG”,<http://www.ieee802.org/3/10GEPON_study/public/july06/thaler_1_0706.pdf>“64B / 66B overview 10Gb / s phy for EPON SG”, <http://www.ieee802.org/3/10GEPON_study/public/july06/thaler_1_0706.pdf>

以上のように、従来の誤り訂正復号回路では、符号語がデータブロックを含まず、アイドル制御ブロックしか含まないときであっても、遅延回路に対して常に符号語の書き込みと読み出しが行われていた。同様に、パリティについても、遅延回路への書き込みと読み出しが常に行われていた。このように遅延回路への書き込みと読み出しが常に行われる理由は、符号語に誤りが含まれている可能性があり、アイドル制御ブロックしか含まないことを判定することが困難であるためである。   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の実施の形態に係る誤り訂正復号回路の構成を示すブロック図である。It is a block diagram which shows the structure of the error correction decoding circuit based on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る誤り訂正復号回路の動作を示すタイミングチャートである。3 is a timing chart illustrating an operation of the error correction decoding circuit according to the first embodiment of the present invention. 本発明の第2の実施の形態に係る誤り訂正復号回路の構成を示すブロック図である。It is a block diagram which shows the structure of the error correction decoding circuit based on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る誤り訂正復号回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the error correction decoding circuit based on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係るリード制御回路の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the read-control circuit based on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係る誤り訂正復号回路の構成を示すブロック図である。It is a block diagram which shows the structure of the error correction decoding circuit based on the 3rd Embodiment of this invention. 本発明の第4の実施の形態に係る誤り訂正復号回路の構成を示すブロック図である。It is a block diagram which shows the structure of the error correction decoding circuit based on the 4th Embodiment of this invention. 受信語のフォーマットを示す図である。It is a figure which shows the format of a received word. 従来の誤り訂正復号回路の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional error correction decoding circuit. 従来の誤り訂正復号回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the conventional error correction decoding circuit.

[第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 error detection circuit 1, an error pattern generation circuit 2, a write control circuit 3, a delay circuit 4, a read control circuit 5, an exclusive OR circuit 6, a parity. An interval signal generation circuit 7 and a packet detection circuit 8 are included. The difference between the present embodiment and the conventional example is that a write control circuit 3 and a read control circuit 5 are added.

以下、本実施の形態の誤り訂正復号回路の動作について説明する。従来と同様に、図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 word 9 by a clock generation means (not shown). The generation interval of the code word head flag 16 is 255 clocks.
The error detection circuit 1 calculates an error syndrome 10 from the received word 9. The error pattern generation circuit 2 performs processing for obtaining an error pattern 11 having a length of 255 bytes from the error syndrome 10. Also in the present embodiment, the timing at which the syndrome calculation of the error detection circuit 1 and the error correction processing of the error pattern generation circuit 2 are completed and the error pattern 11 corresponding to the code word is output is determined at the time when the reception of the code word is completed ( The time point is 100 clocks after t2) in FIG.

パリティ区間信号生成回路7は、符号語先頭フラグ16に基づいてパリティ区間信号17を生成する。パリティ区間信号17は、受信語9に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、受信語9に情報シンボルが現れるときに非有意(LOW)となる。   The parity interval signal generation circuit 7 generates a parity interval signal 17 based on the codeword head flag 16. The parity interval signal 17 becomes significant (HIGH) when a check symbol for 32 clocks appears in the received word 9 and becomes insignificant (LOW) when an information symbol appears in the received word 9.

ライト制御回路3は、受信語9を遅延回路4に出力すると共に、パリティ区間信号17に基づいてライト指示信号13を生成する。ライト指示信号13は、パリティ区間信号17が有意(HIGH)のとき、すなわち受信語9に検査シンボルが現れるときに非有意(LOW)となり、パリティ区間信号17が非有意(LOW)のとき、すなわち受信語9に情報シンボルが現れるときに有意(HIGH)となる。   The write control circuit 3 outputs the received word 9 to the delay circuit 4 and generates a write instruction signal 13 based on the parity interval signal 17. The write instruction signal 13 becomes insignificant (LOW) when the parity interval signal 17 is significant (HIGH), that is, when a check symbol appears in the received word 9, and when the parity interval signal 17 is insignificant (LOW), that is, Significant (HIGH) when an information symbol appears in the received word 9.

ライト制御回路3は、ライト指示信号13が有意(HIGH)のときに遅延回路4に受信語9を書き込み、ライト指示信号13が非有意(LOW)のときに遅延回路4への書き込みを行わない。したがって、検査シンボルP32〜P1が受信される32クロックの間は、遅延回路4への受信語9の書き込みが行われないことになる。遅延回路4は、誤り検出回路1および誤りパターン生成回路2の処理時間の分、すなわち100クロック分だけ受信語9を遅延させ、遅延させた受信語12を出力する。   The write control circuit 3 writes the received word 9 to the delay circuit 4 when the write instruction signal 13 is significant (HIGH), and does not write to the delay circuit 4 when the write instruction signal 13 is insignificant (LOW). . Therefore, the received word 9 is not written to the delay circuit 4 during 32 clocks when the check symbols P32 to P1 are received. The delay circuit 4 delays the received word 9 by the processing time of the error detection circuit 1 and the error pattern generation circuit 2, that is, 100 clocks, and outputs the delayed received word 12.

パリティ区間信号生成回路7は、遅延回路4の遅延時間(100クロック)から遅延回路4の読み出しに要する時間(1クロック)を引いた遅延時間(99クロック)分だけパリティ区間信号17を遅延させたパリティ区間信号18を生成する。本実施の形態では、誤り検出回路1および誤りパターン生成回路2の処理に100クロックを要し、符号語の受信に255クロックを要しているので、355(=255+100)クロック後に遅延回路4から受信語を読み出すために、パリティ区間信号17に対するパリティ区間信号18の遅延時間を354クロックとした。   The parity interval signal generation circuit 7 delays the parity interval signal 17 by a delay time (99 clocks) obtained by subtracting the time (1 clock) required to read out the delay circuit 4 from the delay time (100 clocks) of the delay circuit 4. A parity interval signal 18 is generated. In this embodiment, 100 clocks are required for the processing of the error detection circuit 1 and the error pattern generation circuit 2, and 255 clocks are required for the reception of the code word. Therefore, the delay circuit 4 starts after 355 (= 255 + 100) clocks. In order to read a received word, the delay time of the parity interval signal 18 with respect to the parity interval signal 17 is set to 354 clocks.

リード制御回路5は、パリティ区間信号18に基づいてリード指示信号14を生成する。リード指示信号14は、パリティ区間信号18が有意(HIGH)のとき、すなわち受信語12に検査シンボルが現れるタイミングよりも1クロック前のときに非有意(LOW)となり、パリティ区間信号18が非有意(LOW)のとき、すなわち受信語12に情報シンボルが現れるタイミングよりも1クロック前のときに有意(HIGH)となる。   The read control circuit 5 generates a read instruction signal 14 based on the parity interval signal 18. The read instruction signal 14 becomes insignificant (LOW) when the parity interval signal 18 is significant (HIGH), that is, one clock before the timing at which the check symbol appears in the received word 12, and the parity interval signal 18 is insignificant. It becomes significant (HIGH) when (LOW), that is, one clock before the timing at which the information symbol appears in the received word 12.

リード制御回路5は、リード指示信号14が有意(HIGH)のときに遅延回路4から受信語12を読み出し、リード指示信号14が非有意(LOW)のときに遅延回路4からの読み出しを行わない。したがって、受信語12に検査シンボルP32〜P1が現れる32クロックの間は、遅延回路4からの受信語12の読み出しが行われないことになる。このため、受信語12の検査シンボルの期間の値は不定となる。図2では、XXで不定を表している。   The read control circuit 5 reads the received word 12 from the delay circuit 4 when the read instruction signal 14 is significant (HIGH), and does not read from the delay circuit 4 when the read instruction signal 14 is insignificant (LOW). . Therefore, the read word 12 is not read from the delay circuit 4 during the 32 clocks in which the check symbols P32 to P1 appear in the receive word 12. For this reason, the value of the check symbol period of the received word 12 is indefinite. In FIG. 2, XX represents indefiniteness.

演算回路である排他的論理和回路6は、遅延回路4から読み出された受信語12と誤りパターン11の排他的論理和をとり、1クロック後に訂正受信語15を出力する。上記のとおり、受信語12の検査シンボルの期間の値は不定なので、訂正受信語15においても検査シンボルの期間の値は不定となる。後段のパケット検出回路8において検査シンボルの期間の値は利用されないため、訂正受信語15の検査シンボルに対応する期間の値が不定となっても問題ない。   The exclusive OR circuit 6, which is an arithmetic circuit, performs an exclusive OR of the received word 12 read from the delay circuit 4 and the error pattern 11 and outputs a corrected received word 15 after one clock. As described above, since the value of the check symbol period of the received word 12 is indefinite, the value of the check symbol period in the corrected received word 15 is also undefined. Since the value of the check symbol period is not used in the subsequent packet detection circuit 8, there is no problem even if the value of the period corresponding to the check symbol of the corrected received word 15 becomes indefinite.

リード制御回路5は、遅延回路4からの受信語12の読み出しに要する時間(1クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(2クロック)分だけパリティ区間信号18を遅延させたパリティ区間信号19を生成する。パリティ区間信号19は、訂正受信語15に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、訂正受信語15に情報シンボルが現れるときに非有意(LOW)となる。   The read control circuit 5 has a parity corresponding to a delay time (2 clocks) obtained by adding a time (1 clock) required for reading the received word 12 from the delay circuit 4 and a delay time (1 clock) of the exclusive OR circuit 6. A parity interval signal 19 obtained by delaying the interval signal 18 is generated. The parity interval signal 19 becomes significant (HIGH) when a check symbol for 32 clocks appears in the corrected received word 15, and becomes insignificant (LOW) when an information symbol appears in the corrected received word 15.

パケット検出回路8は、パリティ区間信号19のタイミングに基づいて訂正受信語15から検査シンボルを削除すると共に、訂正受信語15の情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出し、アイドル制御ブロックを削除することにより、パケット20を再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路8は、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。
以上で、本実施の形態の誤り訂正復号回路の動作が終了する。
The packet detection circuit 8 deletes the check symbol from the corrected received word 15 based on the timing of the parity interval signal 19, and also includes a start control block, a terminate control block, an idle control block stored in the information symbol of the corrected received word 15, The packet 20 is reconstructed by detecting a data block or the like and deleting the idle control block. At this time, since all the transmission blocks have been scrambled, the packet detection circuit 8 performs descrambling processing for releasing the scramble processing of the transmission blocks.
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 word 9 is not written into the delay circuit 4, and the check symbol of the received word 12 that is delayed from the received word 9 is not read out from the delay circuit 4. 4 can be reduced, and the power consumption of the error correction decoding circuit can be reduced as compared with the prior art.

なお、本実施の形態では、受信語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 word 9 to the delay circuit 4, but a part of the check symbols of the received word 9 may be written to the delay circuit 4. Even when a part of the check symbols is written, the power consumption can be reduced as compared with the case where all the check symbols are written in the delay circuit as in the prior art. Similarly, some check symbols of the received word 12 may be read from the delay circuit 4.

また、本実施の形態では、受信語のビット幅が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 delay circuit 4 every clock, and the delay circuit 4 is not written and read only for a period of 32 clocks. However, the bit width of the received word may be 40 bits (5 bytes) or other bit widths. For example, it may be 256 bits (32 bytes) or less in which a period in which a received word is composed of only check symbols exists for one clock or more. At this time, the parity interval signal is configured to be significant when only the check symbol is included in the received word, and is insignificant when the received word includes symbols other than the check symbol.

また、本実施の形態では、有意を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 error detection circuit 1a, an error pattern generation circuit 2, a delay circuit 4, a read control circuit 5a, an exclusive OR circuit 6, and a parity interval signal generation circuit 7a. The packet detection circuit 8a and the idle prediction detection circuit 21 are provided. The difference between the present embodiment and the conventional example is that a read control circuit 5a and an idle prediction detection circuit 21 are added.

以下、本実施の形態の誤り訂正復号回路の動作について説明する。従来と同様に、図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 word 9 by clock generation means (not shown).
The error detection circuit 1 a calculates an error syndrome 10 from the received word 9. Further, the error detection circuit 1a outputs error presence / absence information 22 of the received word 9. The error presence / absence information 22 becomes non-significant (LOW) when any of the error syndromes 10 is “0” (no error in the received word 9), and significant when at least one error syndrome 10 is not “0”. (HIGH).

誤りパターン生成回路2は、エラー・シンドローム10から255バイト長の誤りパターン11を求める処理を行う。本実施の形態においても、誤り検出回路1aのシンドローム演算および誤りパターン生成回路2の誤り訂正処理が終了し、符号語に対応する誤りパターン11が出力されるタイミングを、符号語の受信完了時点(図4のt3)から100クロック後の時点とした。
遅延回路4は、誤り検出回路1aおよび誤りパターン生成回路2の処理時間の分、すなわち100クロック分だけ受信語9を遅延させ、遅延させた受信語12を出力する。
The error pattern generation circuit 2 performs processing for obtaining an error pattern 11 having a length of 255 bytes from the error syndrome 10. Also in the present embodiment, the timing at which the syndrome calculation of the error detection circuit 1a and the error correction processing of the error pattern generation circuit 2 are completed and the error pattern 11 corresponding to the code word is output is determined at the time when the reception of the code word is completed ( The time is 100 clocks after t3) in FIG.
The delay circuit 4 delays the received word 9 by the processing time of the error detection circuit 1a and the error pattern generation circuit 2, that is, 100 clocks, and outputs the delayed received word 12.

アイドル予測検出回路21は、受信データ列23および符号語先頭フラグ16を入力として、アイドル制御ブロックを予測検出した結果である予測アイドル情報24を出力する。具体的には、アイドル予測検出回路21は、符号語先頭フラグ16のタイミングに基づいて、符号語の情報シンボルブロックに対応する27個の伝送ブロックを検出し、この27個の伝送ブロックがすべてアイドル制御ブロックの固定パターンと一致したときは、この27個の伝送ブロックが受信語12に現れる223クロックの期間において予測アイドル情報24を有意(HIGH)とし、受信語12の残りの32クロックの期間において予測アイドル情報24を非有意(LOW)とする。   The idle prediction detection circuit 21 receives the received data string 23 and the codeword head flag 16 and outputs prediction idle information 24 that is a result of predicting and detecting an idle control block. Specifically, the idle prediction detection circuit 21 detects 27 transmission blocks corresponding to the information symbol block of the code word based on the timing of the code word head flag 16, and all the 27 transmission blocks are idle. When the control block matches the fixed pattern of the control block, the predicted idle information 24 becomes significant (HIGH) in the period of 223 clocks in which the 27 transmission blocks appear in the received word 12, and in the remaining 32 clock periods of the received word 12 The predicted idle information 24 is assumed to be insignificant (LOW).

また、アイドル予測検出回路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 prediction detection circuit 21 makes the prediction idle information 24 non-significant in all periods of the received word 12 having a length of 255 bytes when at least one of the 27 transmission blocks does not match the fixed pattern of the idle control block ( LOW).
The received word 12 is read from the delay circuit 4 after 355 (= 255 + 100) clocks from the reception start time of the code word (t1 in FIG. 4), but it takes one clock time to read the received word 12 from the delay circuit 4. It takes. Therefore, when all 27 transmission blocks match the fixed pattern of the idle control block, the idle prediction detection circuit 21 determines that the predicted idle information 24 is significant after 354 (= 255 + 100−1) clocks from the reception start time of the codeword ( HIGH).

また、伝送ブロックのデータフィールドはビット“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 prediction detection circuit 21 descrambles for the detection of the idle control block. A circuit (not shown) is provided inside. In FIG. 4, the data string after the descrambling process is described as a received data string 27. Details of the descrambling circuit are described in Non-Patent Document 3, for example.

リード制御回路5aは、遅延回路4に対してリード指示信号14を出力し、パケット検出回路8aに対して確定アイドル情報25を出力する。予測アイドル情報24が有意(HIGH)のときにリード指示信号14を非有意(LOW)にすることがリード制御回路5aの特徴であるが、アイドル予測検出回路21による予測が外れることがある。予測が外れることがあるのは、現在の符号語にビット誤りがある場合と、直前の符号語にビット誤りがある場合である。   The read control circuit 5a outputs a read instruction signal 14 to the delay circuit 4, and outputs fixed idle information 25 to the packet detection circuit 8a. A characteristic of the read control circuit 5a is that the read instruction signal 14 is made insignificant (LOW) when the predicted idle information 24 is significant (HIGH). However, the prediction by the idle prediction detection circuit 21 may be off. Prediction may be lost when there is a bit error in the current codeword and when there is a bit error in the immediately preceding codeword.

現在の符号語に誤りがある場合は、アイドル制御ブロックでない伝送ブロックが、アイドル制御ブロックのパターンに偶然一致することが起こりうる。
また、直前の符号語の情報シンボルブロックの末尾(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 prediction detection circuit 21, in order to correctly perform descrambling processing on a certain transmission block, transmission frame data having no bit error immediately before it is necessary. This is because the descrambling circuit uses the information for the previous 56 bits.

以上のことを鑑み、リード制御回路5aは、図5のフローチャートに従ってリード指示信号14を出力する。具体的には、リード制御回路5aは、直前の符号語の誤り有無情報22が誤り無し(非有意)を示し、かつ現在の符号語の誤り有無情報22が誤り無しを示し、かつ予測アイドル情報24が有意(HIGH)であって、かつ符号語の情報シンボルに含まれる末尾の伝送ブロックに対応する期間でないときに(ステップS1においてYES)、リード指示信号14を非有意(LOW)とする(ステップS2)。   In view of the above, the read control circuit 5a outputs a read instruction signal 14 according to the flowchart of FIG. Specifically, the read control circuit 5a indicates that the error presence / absence information 22 of the immediately preceding codeword indicates no error (insignificant), the error / absence information 22 of the current codeword indicates no error, and predictive idle information When 24 is significant (HIGH) and is not in a period corresponding to the last transmission block included in the information symbol of the code word (YES in step S1), the read instruction signal 14 is made insignificant (LOW) ( Step S2).

また、リード制御回路5aは、ステップS1が判定YESのときに、遅延回路4からの受信語12の読み出しに要する時間(1クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(2クロック)分だけ予測アイドル情報24を遅延させた確定アイドル情報25を生成する(ステップS2)。すなわち、確定アイドル情報25は、訂正受信語15の27個の伝送ブロックがアイドル制御ブロックしか含まないとき、この27個の伝送ブロックが訂正受信語15に現れる223クロックの期間において有意(HIGH)となる。   Further, the read control circuit 5a calculates the time (1 clock) required for reading the received word 12 from the delay circuit 4 and the delay time (1 clock) of the exclusive OR circuit 6 when step S1 is YES. Confirmed idle information 25 is generated by delaying the predicted idle information 24 by the added delay time (2 clocks) (step S2). That is, when the 27 transmission blocks of the corrected received word 15 include only the idle control block, the definite idle information 25 is significant (HIGH) in the period of 223 clocks in which the 27 transmission blocks appear in the corrected received word 15. Become.

また、リード制御回路5aは、直前の符号語の誤り有無情報22が誤り有り(有意)を示すことと、現在の符号語の誤り有無情報22が誤り有りを示すことと、予測アイドル情報24が非有意(LOW)であることと、末尾の伝送ブロックに対応する期間であることのうち少なくとも1つが該当するときに(ステップS1においてNO)、リード指示信号14を有意(HIGH)とする(ステップS3)。また、リード制御回路5aは、ステップS1が判定NOのときに、確定アイドル情報25を非有意(LOW)とする(ステップS3)。   Further, the read control circuit 5a indicates that the error presence / absence information 22 of the immediately preceding code word indicates that there is an error (significant), that the error presence / absence information 22 of the current code word indicates that there is an error, and that the predicted idle information 24 is When at least one of the non-significant (LOW) and the period corresponding to the last transmission block is applicable (NO in step S1), the read instruction signal 14 is made significant (HIGH) (step) S3). Further, the read control circuit 5a sets the confirmed idle information 25 to be insignificant (LOW) when step S1 is NO (step S3).

リード制御回路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 read control circuit 5a reads the received word 12 from the delay circuit 4 when the read instruction signal 14 is significant (HIGH), and does not read from the delay circuit 4 when the read instruction signal 14 is insignificant (LOW). .
For a code word that has started to be received 255 clocks before time t1 in FIG. 4, the prediction idle information 24 is significant (HIGH) during the period (time t2 to t4 in FIG. 4) in which the read control circuit 5a processes this code word. However, the error presence / absence information 22 (error presence / absence information 22 before time t2) of the immediately preceding code word is significant (HIGH). For this reason, the read control circuit 5a sets the read instruction signal 14 to significant (HIGH) and sets the definite idle information 25 to insignificant (LOW).

また、図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 idle information 24 is significant (HIGH) in the period (time t4 to t6 in FIG. 4) during which the read control circuit 5a processes this code word. In addition, the error presence / absence information 22 (error presence / absence information 22 before time t4) of the immediately preceding codeword is not significant (LOW). For this reason, the read control circuit 5a sets the read instruction signal 14 to insignificant (LOW) and sets the definite idle information 25 to significant (HIGH). However, the read control circuit 5a makes the read instruction signal 14 significant (HIGH) for the period corresponding to the last transmission block (65 bits, 9 clocks).

排他的論理和回路6は、遅延回路4から読み出されリード制御回路5aから出力された受信語12と誤りパターン11の排他的論理和をとり、1クロック後に訂正受信語15を出力する。   The exclusive OR circuit 6 performs an exclusive OR of the received word 12 read from the delay circuit 4 and output from the read control circuit 5a and the error pattern 11, and outputs a corrected received word 15 after one clock.

パリティ区間信号生成回路7aは、遅延回路4の遅延時間(100クロック)と排他的論理和回路6の遅延時間(1クロック)とを足した遅延時間(101クロック)分だけ第1の実施の形態のパリティ区間信号17を遅延させたパリティ区間信号26を生成する。パリティ区間信号26は、訂正受信語15に32クロック分の検査シンボルが現れるときに有意(HIGH)となり、訂正受信語15に情報シンボルが現れるときに非有意(LOW)となる。   The parity interval signal generation circuit 7a is the first embodiment corresponding to the delay time (101 clocks) obtained by adding the delay time of the delay circuit 4 (100 clocks) and the delay time of the exclusive OR circuit 6 (1 clock). The parity interval signal 26 is generated by delaying the parity interval signal 17 of. The parity interval signal 26 becomes significant (HIGH) when a check symbol for 32 clocks appears in the corrected received word 15, and becomes insignificant (LOW) when an information symbol appears in the corrected received word 15.

パケット検出回路8aは、パリティ区間信号26のタイミングに基づいて訂正受信語15から検査シンボルを削除し、訂正受信語15の情報シンボルに格納されたスタート制御ブロックやターミネート制御ブロック、アイドル制御ブロック、データブロック等を検出してアイドル制御ブロックを削除し、また確定アイドル情報25を有意(HIGH)が有意のときにはすべてのアイドル制御ブロックを削除することにより、パケット20を再構成する。このとき、伝送ブロックはすべてスクランブル処理された状態なので、パケット検出回路8aは、伝送ブロックのスクランブル処理を解除するデスクランブル処理を行っている。以上で、本実施の形態の誤り訂正復号回路の動作が終了する。   The packet detection circuit 8a deletes the check symbol from the corrected received word 15 based on the timing of the parity interval signal 26, and starts control block, terminate control block, idle control block, data stored in the information symbol of the corrected received word 15 By detecting a block or the like, the idle control block is deleted, and when the determined idle information 25 is significant (HIGH), all the idle control blocks are deleted to reconstruct the packet 20. At this time, since all the transmission blocks are scrambled, the packet detection circuit 8a performs a descrambling process for releasing the scramble process of the transmission block. This is the end of the operation of the error correction decoding circuit of the present embodiment.

本実施の形態では、アイドル制御ブロックを予測検出し、アイドル制御ブロックだと判定した部分に誤りがないと判明した場合は、当該アイドル制御ブロックの部分を遅延回路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 delay circuit 4, The power required for reading out the delay circuit 4 can be reduced, and the power consumption of the error correction decoding circuit can be reduced as compared with the prior art.

なお、本実施の形態では、受信語のビット幅が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 delay circuit 4 every clock is shown. However, the bit width of the received word is 40 bits (5 Bytes) or other bit widths.
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 instruction signal 14 is made insignificant (LOW) in units of one codeword when all the codewords are idle control blocks is shown. The read instruction signal 14 may be insignificant (LOW) for the coincidence section. However, for the first and last transmission blocks included in the coincidence section, the read instruction signal 14 needs to be significant (HIGH) regardless of whether there is an error.
In the present embodiment, the predicted idle detection circuit 21 receives a received data string, but may receive a received word.

また、本実施の形態では、符号語の構成が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 delay circuit 4 is also performed when the transmission block of the received word 9 matches the fixed pattern of the idle control block. However, the transmission block of the received word 9 is changed to the fixed pattern of the idle control block. When there is no dependency relationship with the preceding and following received words, a write control circuit is added so that the received word 9 is not written in the delay circuit 4 only in the section that matches the fixed pattern of the idle control block, and based on the idle prediction information Thus, the read control circuit 5a may output the same pattern as the idle control block as the received word 12.

[第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 error detection circuit 1, an error pattern generation circuit 2, a write control circuit 3, a delay circuit 4, an exclusive OR circuit 6, and a parity interval signal generation circuit 7b. And a packet detection circuit 8.

本実施の形態は、第1の実施の形態からリード制御回路5を削除したものである。リード制御回路5がないため、パリティ区間信号生成回路7bは、第1の実施の形態のパリティ区間信号18を、排他的論理和回路6の遅延時間(1クロック)だけ遅延させたパリティ区間信号28を生成してパケット検出回路8に出力すればよい。その他の構成の動作は第1の実施の形態で説明したとおりである。   In the present embodiment, the read control circuit 5 is deleted from the first embodiment. Since there is no read control circuit 5, the parity interval signal generation circuit 7b has a parity interval signal 28 obtained by delaying the parity interval signal 18 of the first embodiment by the delay time (one clock) of the exclusive OR circuit 6. And output to the packet detection circuit 8. The operation of the other configuration is as described in the first embodiment.

こうして、本実施の形態では、受信語9の検査シンボルを遅延回路4に書き込まないようにしたので、遅延回路4の書き込みに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。   Thus, in this embodiment, since the check symbol of the received word 9 is not written in the delay circuit 4, the power required for writing in the delay circuit 4 can be reduced, and the error correction decoding circuit can be reduced as compared with the prior art. Power consumption can be reduced.

[第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 error detection circuit 1, an error pattern generation circuit 2, a delay circuit 4, a read control circuit 5, an exclusive OR circuit 6, and a parity interval signal generation circuit 7c. And a packet detection circuit 8.

本実施の形態は、第1の実施の形態からライト制御回路3を削除したものである。パリティ区間信号生成回路7cの動作は、パリティ区間信号17を外部に出力しない点以外は、第1の実施の形態のパリティ区間信号生成回路7と同じである。   In the present embodiment, the write control circuit 3 is omitted from the first embodiment. The operation of the parity interval signal generation circuit 7c is the same as that of the parity interval signal generation circuit 7 of the first embodiment except that the parity interval signal 17 is not output to the outside.

こうして、本実施の形態では、受信語9を遅延させた受信語12の検査シンボルを遅延回路4から読み出さないようにしたので、遅延回路4の読み出しに要する電力を削減することができ、従来と比較して誤り訂正復号回路の消費電力を削減することができる。   Thus, in the present embodiment, since the check symbol of the received word 12 obtained by delaying the received word 9 is not read from the delay circuit 4, the power required for reading the delay circuit 4 can be reduced. In comparison, the power consumption of the error correction decoding circuit can be reduced.

なお、本発明は上述のものに限定されるものではなく、本発明の要旨を逸脱しない範囲で変更を加えることはもちろんである。本発明の復号方法は、マイクロコンピュータや、ネットワークプロセッサなどを用いたソフトウェアプログラムや、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 SYMBOLS 1,1a ... Error detection circuit, 2 ... Error pattern generation circuit, 3 ... Write control circuit, 4 ... Delay circuit, 5, 5a ... Read control circuit, 6 ... Exclusive OR circuit, 7, 7a, 7b, 7c ... Parity interval signal generation circuit, 8, 8a ... packet detection circuit, 21 ... idle prediction detection circuit.

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.
請求項3記載の誤り訂正復号回路において、
さらに、前記アイドル制御ブロックを予測検出したときに、前記遅延回路に前記情報シンボルの少なくとも一部を書き込まないライト制御回路を備えることを特徴とする誤り訂正復号回路。
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.
請求項7記載の誤り訂正復号方法において、
さらに、前記アイドル制御ブロックを予測検出したときに、前記遅延回路に前記情報シンボルの少なくとも一部を書き込まないライト制御ステップを備えることを特徴とする誤り訂正復号方法。
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.
JP2012122704A 2012-05-30 2012-05-30 Error correction decoding circuit and method Expired - Fee Related JP5770680B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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