JPS6347848A - Parity checking method - Google Patents

Parity checking method

Info

Publication number
JPS6347848A
JPS6347848A JP61192569A JP19256986A JPS6347848A JP S6347848 A JPS6347848 A JP S6347848A JP 61192569 A JP61192569 A JP 61192569A JP 19256986 A JP19256986 A JP 19256986A JP S6347848 A JPS6347848 A JP S6347848A
Authority
JP
Japan
Prior art keywords
bits
data
parity
bit
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61192569A
Other languages
Japanese (ja)
Inventor
Yoshio Ijichi
伊地知 良雄
Seigo Naito
内藤 清吾
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP61192569A priority Critical patent/JPS6347848A/en
Publication of JPS6347848A publication Critical patent/JPS6347848A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a parity checking method with high reliability, by selecting a four bit pattern in which a disparity does not go to 0, out of a 3B/4B block, and setting three bits decoded corresponding to four bits as parity check signals. CONSTITUTION:A data of eight bits is divided into high order three bits and low order five bits, and it is converted to the data of ten bits with four bits and six bits, by an 8B/10B code conversion circuit 15, and a parity generator 8. Next, the data of ten bits is divided into the data of eight bits with high order three bits, and low order five bits, by a 10B/8B decoding circuit 17, and the parity generator 8, and the high order three bits are used as parity check bits. In this way, it is possible to perform the error check of the data of eight bits equivalent to ordinary parity check in 8B/10B code conversion, and to improve the reliability of a command in line switching, etc.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、パリティチェック方法に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a parity check method.

[従来の技術] データ伝送においては符号の変換を必要とする場合がし
ばしばある。これに関しては例えば特開昭59−100
56号公報に開示されているように、8ビットのデータ
を10ビットデータに拡張する8B/10B符号変換方
法が知られている。
[Prior Art] Data transmission often requires code conversion. Regarding this, for example, JP-A-59-100
As disclosed in Japanese Patent No. 56, an 8B/10B code conversion method for expanding 8-bit data to 10-bit data is known.

この符号変換方法は、8ビットを5ピッ1−と3ビット
に分離し、それぞれを6ビットと4ビットに拡張して1
0ビットを得ようとするものである。
This code conversion method separates 8 bits into 5 bits 1- and 3 bits, expands them to 6 bits and 4 bits, and
The purpose is to obtain a 0 bit.

第1表および第2表はデータとその拡張変換された数値
を示すもので、第1表は5ビットデータを6ビットデー
タに変換する場合を示し、第2表は3ビットデータを4
ビットデータに変換する場合を示す。
Tables 1 and 2 show the data and their expanded and converted numerical values.Table 1 shows the case of converting 5-bit data to 6-bit data, and Table 2 shows the case of converting 3-bit data to 4-bit data.
Shows the case of converting to bit data.

各人でDoは符号変換後の「1」とrOJの数の差、す
なわちディスパリティを示すもので、「1」が多い場合
はく+)、少ない場合は(−)、等しい場合は(0)で
表わされている。
For each person, Do indicates the difference between the number of "1" and rOJ after code conversion, that is, disparity. ).

第   1   表 ※DO・・・符号変換された後の1とOの数の差、ディ
スパリティ。
Table 1 *DO: Difference between the numbers of 1 and O after sign conversion, disparity.

第   2   表 ※Do・・・符号変換された後の1とOの数の差、ディ
スパリティ。
Table 2 *Do: Difference between the numbers of 1 and O after code conversion, disparity.

次に符号変換時の状態遷移図を第3図に示す。Next, FIG. 3 shows a state transition diagram during code conversion.

図において状態1および状態2はディスパリティが(+
)および(−)であることを示す。状1j33および状
fl14はディスパリティが(+)であるかによって状
態1と状B2の間を遷移することを示す。状態5と状態
6はディスパリティが共に(0)であり、状態1と状態
2をそのまま保持することを示す。図の各状態において
、ディスバリデイが不規則に生ずることのないように符
号化が行なわれるので、この法則を用いて符号の誤り、
ずなわち符号則誤りが検出できることになる。
In the figure, state 1 and state 2 have disparity (+
) and (-). State 1j33 and state fl14 indicate a transition between state 1 and state B2 depending on whether the disparity is (+). In states 5 and 6, the disparities are both (0), indicating that states 1 and 2 are maintained as they are. In each state in the figure, encoding is performed so that discovery does not occur irregularly, so using this rule, code errors and
In other words, coding rule errors can be detected.

なおこの種技術に関1.では、A、 X、 Widmc
r、P、 A、l”ranasZek著:“ア デイ−
シイ−バランスド、パーティションド ブロック、8B
/10Bトランスミツシヨンコード”、 (“A  DC−Balanced 1Partiti
oncd−B 1ock18 B/ 10 B  Tr
ansmission Code ” >IBM  J
、RES、DEVELOP、VOL27に詳細に示され
ている。
Regarding this type of technology, 1. So, A, X, Widmc
r, P, A, l”ranaszek: “A Day-
Sea Balanced, Partitioned Block, 8B
/10B Transmission Code", ("A DC-Balanced 1Partiti
oncd-B 1ock18 B/ 10 B Tr
anmission Code ” >IBM J
, RES, DEVELOP, VOL27.

[発明が解決しようとする問題点] 上述したように一従来の符号変換ではディスパリティの
符号法則に基づいて誤り検出が行なわれるが、しかし、
この誤りは必ずしも誤りの生じたブロックで検出できる
とは限らない。第4図はこのときの状況を示すものであ
る。
[Problems to be Solved by the Invention] As mentioned above, in one conventional code conversion, error detection is performed based on the code law of disparity.
This error cannot necessarily be detected in the block where the error occurred. FIG. 4 shows the situation at this time.

図において、Daは8B/10B符号が5B/6Bブロ
ックおよび3B/4Bブロックと交互にくり返すときに
生ずるディスパリティ表わし、上段が(+)、中段が(
0)、下段が(−)の場合を表わす。
In the figure, Da represents the disparity that occurs when the 8B/10B code is repeated alternately with the 5B/6B block and the 3B/4B block, with (+) in the upper row and ((+) in the middle row).
0), the bottom row is (-).

Dbはディスパリティの状態を表わすもので、第3図の
状態3.4の場合に対応してディスパリティが(+)か
ら(−)に変化する場合を示す。
Db represents the state of disparity, and shows the case where the disparity changes from (+) to (-) corresponding to state 3.4 in FIG.

またDCは[)aとDbから符号則エラーを検出する場
合を表わす。
Further, DC represents the case where a sign rule error is detected from [)a and Db.

Da、Db、Dcの各場合とも実線はエラーのない状態
を表わしている。
In each case of Da, Db, and Dc, a solid line represents a state without error.

いま同図Oaで破線aに示すようにディスパリティが(
0)より(−)となるエラーを生じたとすると、Dbに
示すようにディスパリティの状態は破mbに示すように
応答し、(→−)から(−)に変化することになる。し
かしこのディスパリティの状態Dbはもともと(+)か
ら(−)に遷移するので、破線すに示ずような変化を生
じてもエラーと判別することができず、したがってエラ
ーを検出することはできない。この場合は破線aと符号
則エラーDcに示される破線C1とによって検出が行な
われることになる。
Now, as shown by the broken line a in Oa in the same figure, the disparity is (
If an error occurs from (0) to (-), the state of disparity will respond as shown by mb, as shown by Db, and will change from (→-) to (-). However, since this disparity state Db originally transitions from (+) to (-), even if a change like the one shown by the broken line occurs, it cannot be determined as an error, and therefore an error cannot be detected. . In this case, detection is performed using the broken line a and the broken line C1 indicated by the code rule error Dc.

また、従来の88/IOB符号は第1表、第2表を基に
復号されるので、1ビットの誤りはバーストエラーにお
いて最大数5の誤りを生ずることになる。
Further, since the conventional 88/IOB code is decoded based on Tables 1 and 2, a 1-bit error will cause a maximum of 5 errors in a burst error.

通常のパリティチェックでは、例えば7ビットのデータ
に対し1ビットのパリティを追加してデータの有効性を
チエツクするが、8B/10B符号の場合は上述の問題
点よりこのようなパリティチェックを行なうことができ
ない。例えば[00000101で示される7ビットの
データに対し奇数パリティを附加して[0000010
0]とし、これを第1表および第2表より88/IOB
符号に変換すると[0110001001]となる。
In a normal parity check, for example, 1 bit of parity is added to 7 bits of data to check the validity of the data, but in the case of 8B/10B codes, such a parity check should be performed due to the problems mentioned above. I can't. For example, by adding odd parity to the 7-bit data shown as [00000101,
0], and from Tables 1 and 2, 88/IOB
When converted into a code, it becomes [0110001001].

いまこのビット列の左から6番目が畢−誤りを生じたと
すると、このビット列は[0110011001]とな
る。これを復号すると[011001001となり、軍
−の誤りであってもパリティによって誤りを検出するこ
とができない。またこのビット列で[011001]と
[10011はともにディスパリティが(0)であるか
ら8B/10Bの符号則エラーで検出することができな
い。
Now, if the sixth bit from the left of this bit string causes an error, this bit string becomes [0110011001]. When this is decoded, it becomes [011001001, and even if it is a military error, the error cannot be detected by parity. Furthermore, in this bit string, [011001] and [10011] both have disparity (0), so they cannot be detected due to an 8B/10B sign rule error.

このように従来の8B/10B符号変換では誤りの検出
が困難で、システム運用に支障を生ずる問題点があった
As described above, in the conventional 8B/10B code conversion, it is difficult to detect errors, which poses a problem that hinders system operation.

本発明の目的は、8B/10B符号変換において信頼性
の高いパリティチェック方法を提供することにある。
An object of the present invention is to provide a highly reliable parity check method in 8B/10B code conversion.

[問題点を解決するための手段] 本発明は、3ごットデータを4ごットデータに拡張する
3B/4Bブロックと5ビットデータを6ビットデータ
に拡張する5B/6Bブロックとを組合せて入力8ビッ
トデータを10ビットデータに変換する8B/10B符
号変換において、前記3B/4Bブロックの中からディ
スパリティが零とならない4ビットパターンを選出して
前記5B/6Bブロックの6ビットパターンと加えて4
ビットと6ビットの列に変換し、次にこの4ビットと6
ビット列の10ビットに復号して上位3ビットと下位5
ビットの8ビット列に変換し、前24ビットに対応して
復号された前記復号3ビットをパリティチェック信号と
して前記入力8ビットデータのエラτ検出に用いること
を特徴とし、信頼性の高いパリティチェック方法が得ら
れるようにして目的の達成を計ったものである。
[Means for Solving the Problems] The present invention combines a 3B/4B block for expanding 3-bit data into 4-bit data and a 5B/6B block for expanding 5-bit data into 6-bit data to generate 8-bit input data. In 8B/10B code conversion for converting data into 10-bit data, a 4-bit pattern whose disparity does not become zero is selected from the 3B/4B block, and in addition to the 6-bit pattern of the 5B/6B block, the 4-bit pattern is
bits and 6 bits, and then convert these 4 bits and 6 bits into a string of bits and 6 bits.
Decode the bit string into 10 bits and extract the upper 3 bits and lower 5 bits.
A highly reliable parity check method characterized in that the decoded 3 bits that are converted into an 8-bit string and decoded corresponding to the previous 24 bits are used as a parity check signal to detect an error τ in the input 8-bit data. The objective was to be achieved by ensuring that the

[作  用1 本発明のパリティチェック方法では、8ビットのデータ
を上位3ビットと下位5ビットに分け、これを8B/1
0B符号変換回路とパリティジェネレータとにより4ビ
ットと6ビットの10ビットに変換し、次にこの10ビ
ットをIOB/8B復号回路とパリティジェネレータに
より上位3ビットと下位5ビットの8ビットに変換し、
この上位3ビットをパリティチェックビットとして用い
るようにしであるので、信頼性のあるパリティチェック
方法が得られる。
[Function 1] In the parity check method of the present invention, 8-bit data is divided into upper 3 bits and lower 5 bits, and this is divided into 8B/1
The 0B code conversion circuit and the parity generator convert it into 10 bits, 4 bits and 6 bits, and then these 10 bits are converted into 8 bits, the upper 3 bits and the lower 5 bits, by the IOB/8B decoding circuit and the parity generator.
Since the upper three bits are used as parity check bits, a reliable parity check method can be obtained.

[実 施 例] 以下、本発明の一実施例を図により説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明のパリティチェック方法を実現する一実
施例のパリティ生成回路図で、8ビットを10ビットに
符号変換する回路である。
FIG. 1 is a parity generation circuit diagram of an embodiment of the parity check method of the present invention, which is a circuit for converting 8 bits into 10 bits.

第2図は同じくパリティチェック回路図で、復すされた
バリデイ信号によりエラーを検出する回路である。
FIG. 2 is also a parity check circuit diagram, and is a circuit for detecting errors based on the recovered validation signal.

これらの図において、7は入力データで、八からト1に
至る8ビットで構成されている。8はパリティジェネレ
ータで、入力データ7のA−Eの5ビットのデータを入
力して奇数パリティまたは偶数パリティを生成する。9
はパリティセレクト信号で、8ビットのデータをそのま
ま出力するかあるいは下位5ピツトのデータに対しパリ
ティを附加するか否かを選択するものである。10〜1
4はゲート回路で、パリティを附加するときはパリティ
ジェネレータ8の出力に応じて上位の3ビットF G 
Hを[001]または[0001に変換し、パリティを
附加しないときは上位3ビットFGHをそのまま通過さ
せる。15は8B/10B符号変換回路、16は変換さ
れた8B/10B符号の10ピツト出力を示す。
In these figures, 7 is input data, which is composed of 8 bits from 8 to 1. 8 is a parity generator which inputs the 5-bit data of A to E of the input data 7 and generates odd parity or even parity. 9
is a parity select signal which selects whether to output the 8-bit data as is or to add parity to the data of the lower 5 pits. 10-1
4 is a gate circuit, and when adding parity, the upper 3 bits F G
H is converted to [001] or [0001], and when parity is not added, the upper 3 bits FGH are passed through as is. 15 is an 8B/10B code conversion circuit, and 16 is a 10-pit output of the converted 8B/10B code.

次に、17は10B/8B復号回路で、8B/10B符
号の出力16を入力して10ビットを8ビットに復号す
る。18は符号則エラーの信号を示す。19はセットリ
セット形フリップフロップで、符号則エラー信号18を
記憶する。20は排他的論理和ゲートで、パリティジェ
ネレータ8の出力バリティを10B/8B復号回路17
から生ずるパリティとを比較してエラーを検出する。
Next, 17 is a 10B/8B decoding circuit which inputs the output 16 of the 8B/10B code and decodes 10 bits into 8 bits. 18 indicates a sign rule error signal. 19 is a set/reset type flip-flop that stores the sign rule error signal 18; 20 is an exclusive OR gate which converts the output parity of the parity generator 8 into a 10B/8B decoding circuit 17.
Errors are detected by comparing the parity generated from the

21〜23はゲート回路で、8B/IOB符号則エラー
またはパリティエラーの発生を出力する。
21 to 23 are gate circuits that output the occurrence of an 8B/IOB code rule error or a parity error.

24はエラー検出信号端子である。24 is an error detection signal terminal.

この実施例のパリティ生成回路およびパリティチェック
回路では、パリティセレクト信号9がrOJであれば、
ゲート回路10〜14がオンとなるので入力データ7の
A〜ト1の8ビット信号は8B/10B符号変換回路1
5にそのまま入力されて符号変換される。
In the parity generation circuit and parity check circuit of this embodiment, if the parity select signal 9 is rOJ,
Since the gate circuits 10 to 14 are turned on, the 8-bit signals A to G1 of input data 7 are converted to the 8B/10B code conversion circuit 1.
5, and the code is converted.

パリティセレクト信号9が「1」になると、ゲート回路
10の動作により入力データ708ビット信号のうちA
からEの下位5ビットだけがデータと1)で有数となり
8B/10B符号変換回路15に入力される。FからH
の上位3ピツトはパリティジェネレータ8の出力が「1
」の場合は[001]に変換サレ、「O」の場合は[0
00]に変換されて8B/10B符号変換回路15に入
力される。8B/10B符号変換回路15に入力された
これら3ビットの符号は第2表に基づき[001]は[
0010]、[000]は[01001と4ビット符号
に変換され、そのディスパリティDOは共に(−)とな
る。(なお第2表にはこれらの符号の補符号も示されて
いる)、。
When the parity select signal 9 becomes "1", the operation of the gate circuit 10 causes
Only the lower 5 bits of E are significant for data and 1) and are input to the 8B/10B code conversion circuit 15. F to H
For the top three pits, the output of parity generator 8 is “1”.
” is converted to [001], and “O” is converted to [0
00] and input to the 8B/10B code conversion circuit 15. The codes of these 3 bits input to the 8B/10B code conversion circuit 15 are based on Table 2, and [001] is [001].
0010] and [000] are converted into 4-bit codes as [01001, and their disparities DO are both (-). (Table 2 also shows the complements of these codes).

このようにして変換された8[3/10B符号の出力デ
ータ16は複合回路17に入りされ復号される。
The output data 16 of the 8[3/10B code thus converted is input to the composite circuit 17 and decoded.

第2図でパリティセレクト信号9がrOJの場合は、ゲ
ート回路22がオフであるからエラー検出端子24には
符号則エラー18のみが出力される。パリティセレクト
信号9が「1」の場合はパリティチェックの状態を示し
、復号回路17より得られた8ビットデータの下位5ビ
ットA〜Eがパリティジェネレータ8に入力されてパリ
ティ信号Pがとり出される。このパリティ信号Pと復号
データの最上位ビットHとを排他的論理和ゲート20で
比較することにより、この比較値が異なっていれば端子
24よりエラー信号が出力され、エラーが検出されたこ
とになる。
In FIG. 2, when the parity select signal 9 is rOJ, only the sign rule error 18 is output to the error detection terminal 24 because the gate circuit 22 is off. When the parity select signal 9 is "1", it indicates the parity check state, and the lower 5 bits A to E of the 8-bit data obtained from the decoding circuit 17 are input to the parity generator 8 and the parity signal P is extracted. . By comparing this parity signal P and the most significant bit H of the decoded data at the exclusive OR gate 20, if the comparison values are different, an error signal is output from the terminal 24, indicating that an error has been detected. Become.

パリティチェックを行なう場合、FビットとGビットは
rOJに固定されているので、これらのビットの中に「
1」が現われたときはゲート回路21〜23が動作【)
、端子24よりエラー信号が出力されることになる。
When performing a parity check, since the F bit and G bit are fixed to rOJ,
1” appears, gate circuits 21 to 23 operate [)
, an error signal is output from the terminal 24.

8B/10B符号の誤りを検出づる場合は、誤りが5B
/6Bブロックに偶数個、3B/4Bブロックに奇数個
ある場合と、5B/6Bブロックに奇数個、3B/4[
3ブロックに偶数個ある場合の二通りが考えられる。前
者の3 B/4 Bブロックに奇数個の誤りがある場合
は第2表より[000]と[001]以外のデータに変
換され、論理和ゲート21に出力が生じてエラーが検出
される。
When detecting an error in 8B/10B code, the error is 5B.
/6B block has an even number, 3B/4B block has an odd number, 5B/6B block has an odd number, 3B/4[
There are two possible cases where there is an even number of blocks in three blocks. If the former 3 B/4 B block has an odd number of errors, it is converted to data other than [000] and [001] from Table 2, and an output is generated to the OR gate 21 to detect the error.

後者の場合は3B/4Bブロックに誤りがなければ3B
/4Bブロックのディスパリティが「0」ではないから
5B/6Bブロックあるいは3B/4Bブロックのディ
スパリティをチエックすることによりエラーが検出され
ることになる。ただし5B/6Bブロックにおける奇数
個の誤りによってディスパリティが「0」となり、また
、3B/4Bブロックに偶数個の誤りが生じて例えば[
0100]を[1011]または[1101]とし、あ
るいは[0010]を[1101]または[1011]
とし、あるいはそれぞれを逆符号とするような場合が生
ずるとエラーの検出は困難となる。
In the latter case, if there is no error in the 3B/4B block, 3B
Since the disparity of the /4B block is not "0", an error will be detected by checking the disparity of the 5B/6B block or the 3B/4B block. However, disparity becomes "0" due to an odd number of errors in the 5B/6B block, and an even number of errors occur in the 3B/4B block, such as [
0100] to [1011] or [1101], or [0010] to [1101] or [1011]
Error detection becomes difficult if a situation arises in which the values are the same or have opposite signs.

5B/6Bブロックおよび3 B/4 Bブロックに共
に偶数個のエラーが生じた場合はエラーの検出は可能と
なる。
If an even number of errors occur in both the 5B/6B block and the 3B/4B block, the error can be detected.

なお上述の説明で3 B/4 Bブロックにおけるデー
タとしては第2表より番号Oの[0001と番号4の[
001]を採り上げて説明したが、本実施例の場合はデ
ィスパリティが「0」でなければよいので、第2表にお
いて、番号7の[111]も含め、これら三つの番号の
中から任意の二つを選んでパリティピットに対応さけて
用いることができる。
In addition, in the above explanation, the data in the 3 B/4 B block is number O [0001 and number 4 [0001] from Table 2.
001], but in the case of this embodiment, the disparity does not need to be "0", so in Table 2, any arbitrary number from among these three numbers, including number 7 [111], can be used. You can choose between the two and use them to avoid parity pits.

また、従来の88/IOB符号変換では、5B/6Bブ
ロックを先に符号化し、復号もこれを先に行なわれてい
るが、これら符号化、復号化を3B/4Bブロックを先
に行なうようにすれば、データを3ビットとし、パリテ
ィピットとして5ビットのブロックの中からディスパリ
ティが「0」とならない任意の二つを選んで対応させる
ことが可能となる。
In addition, in conventional 88/IOB code conversion, 5B/6B blocks are encoded first, and decoding is also performed first, but these encoding and decoding are performed first on 3B/4B blocks. Then, it becomes possible to set the data to 3 bits and select any two blocks whose disparity does not become "0" from among the 5-bit blocks as parity pits and make them correspond to each other.

以上、本実滴例を用いることにより次のような効果が得
られる。(118B/10B符号変換において、5ビッ
トのデータに対し通常のパリティチェックと同等のエラ
ーチエツクを行なうことができる。(z @線交換等に
おいてコマンドの信頼性を向上することができる。
As described above, by using this actual droplet example, the following effects can be obtained. (In 118B/10B code conversion, an error check equivalent to a normal parity check can be performed on 5-bit data. (Z @ It is possible to improve the reliability of commands in line exchange, etc.)

[発明の効果] 本発明によれば、8B/10B符号交換において信頼性
の高いパリティチェック方法提供することができる。
[Effects of the Invention] According to the present invention, a highly reliable parity check method in 8B/10B code exchange can be provided.

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

第1図は本発明のパリティチェック方法を実現する一実
施例のパリティ生成回路図、第2図は同じくパリティチ
ェック回路図、第3図は符号変換時の状態遷移図、第4
図はエラー発生時の説明図である。 2:パリデイジェネレータ、 4〜8ニゲ − ト 回 路、 9:8B/10B符号変換回路、 11:10B/88復合回路、 14〜17:グ − ト 回 路。 第 1 図 晃 3 目 第 4 図
FIG. 1 is a parity generation circuit diagram of an embodiment of the parity check method of the present invention, FIG. 2 is a parity check circuit diagram, FIG. 3 is a state transition diagram during code conversion, and FIG.
The figure is an explanatory diagram when an error occurs. 2: Paris day generator, 4 to 8 gate circuit, 9: 8B/10B code conversion circuit, 11: 10B/88 decoding circuit, 14 to 17: gate circuit. Figure 1 Akira 3rd Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)3ビットデータを4ビットデータに拡張する3B
/4Bブロックと5ビットデータを6ビットデータに拡
張する5B/6Bブロックとを組合せて入力8ビットデ
ータを10ビットデータに変換する8B/10B符号変
換において、前記3B/4Bブロックの中からディスパ
リティが零とならない4ビットパターンを選出して前記
5B/6Bブロックの6ビットパターンと加えて4ビッ
トと6ビットの列に変換し、次に、該4ビットと6ビッ
ト列の10ビットを復号して上位3ビットと下位5ビッ
トの8ビット列に変換し、前記4ビットに対応して復号
された前記復号3ビットをパリティチェック信号として
前記入力8ビットデータのエラー検出に用いることを特
徴とするパリティチェック方法。
(1) 3B that expands 3-bit data to 4-bit data
In 8B/10B code conversion that converts input 8-bit data to 10-bit data by combining a /4B block and a 5B/6B block that expands 5-bit data to 6-bit data, disparity is extracted from the 3B/4B block. Select a 4-bit pattern in which is not zero, add it to the 6-bit pattern of the 5B/6B block, convert it into a 4-bit and 6-bit string, and then decode 10 bits of the 4-bit and 6-bit string. A parity check characterized in that the data is converted into an 8-bit string of upper 3 bits and lower 5 bits, and the decoded 3 bits corresponding to the 4 bits are used as a parity check signal to detect errors in the input 8-bit data. Method.
JP61192569A 1986-08-18 1986-08-18 Parity checking method Pending JPS6347848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61192569A JPS6347848A (en) 1986-08-18 1986-08-18 Parity checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61192569A JPS6347848A (en) 1986-08-18 1986-08-18 Parity checking method

Publications (1)

Publication Number Publication Date
JPS6347848A true JPS6347848A (en) 1988-02-29

Family

ID=16293462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61192569A Pending JPS6347848A (en) 1986-08-18 1986-08-18 Parity checking method

Country Status (1)

Country Link
JP (1) JPS6347848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0273738A (en) * 1988-07-26 1990-03-13 Internatl Business Mach Corp <Ibm> Character boundary detector for serial code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0273738A (en) * 1988-07-26 1990-03-13 Internatl Business Mach Corp <Ibm> Character boundary detector for serial code

Similar Documents

Publication Publication Date Title
US4216460A (en) Transmission and/or recording of digital signals
JPH09181609A (en) Digital data channel coding and decoding device and its method
JP2000332613A (en) Modulation device and demodulation device
US6819224B2 (en) Apparatus and method for detecting a predetermined pattern of bits in a bitstream
KR20010041154A (en) Device for encoding n-bit source words into corresponding m-bit channel words and decoding m-bit channel words into corresponding n-bit source words
KR100281738B1 (en) Encoding and decoding method of nibble inversion and block inversion code, code and decoder
US6438728B1 (en) Error character generation
JPH03171826A (en) Coding of improved data for digital signal and forward error control
JPS6347848A (en) Parity checking method
JPH0681166B2 (en) Digital transmission device
US4723245A (en) IC chip error detecting and correcting method including automatic self-checking of chip operation
US11637685B2 (en) System and method for transition encoding with flexible word-size
JP2818936B2 (en) Binary data processing method and circuit
MXPA01013103A (en) A device for encoding decoding n bit source words into corresponding m bit channel words, and vice versa.
US4739506A (en) IC chip error detecting and correcting apparatus
US4739504A (en) IC chip error detecting and correcting method
US4739505A (en) IC chip error detecting and correcting apparatus with automatic self-checking of chip operation
KR100448282B1 (en) Method for balanced encoding and decoding of locks having the different constant weight
JPS63209325A (en) N-bit/m-bit code conversion control system
JPS6349947A (en) Parity checking method
GB2109200A (en) Digital data encoding
US6271776B1 (en) Selectively removing sequences from an enumerative modulation code
JPH01268233A (en) Method for parallely transmitting light
EP0229112B1 (en) Ic chip error detecting and correcting with automatic self-checkingand method therefor
SU1249589A1 (en) Device for checking memory