JP2594699B2 - 5B6B code rule inversion circuit - Google Patents

5B6B code rule inversion circuit

Info

Publication number
JP2594699B2
JP2594699B2 JP2304523A JP30452390A JP2594699B2 JP 2594699 B2 JP2594699 B2 JP 2594699B2 JP 2304523 A JP2304523 A JP 2304523A JP 30452390 A JP30452390 A JP 30452390A JP 2594699 B2 JP2594699 B2 JP 2594699B2
Authority
JP
Japan
Prior art keywords
signal
circuit
mark
bits
bit
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.)
Expired - Lifetime
Application number
JP2304523A
Other languages
Japanese (ja)
Other versions
JPH04176233A (en
Inventor
広之 岩城
光弘 川口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2304523A priority Critical patent/JP2594699B2/en
Priority to US07/787,864 priority patent/US5293165A/en
Priority to DE69130249T priority patent/DE69130249T2/en
Priority to EP91118997A priority patent/EP0484946B1/en
Publication of JPH04176233A publication Critical patent/JPH04176233A/en
Application granted granted Critical
Publication of JP2594699B2 publication Critical patent/JP2594699B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 [概要] 主としてデジタル伝送に用いられ、5B6B符号則変換さ
れた6ビットの信号を、もとの5ビットの信号に逆変換
する5B6B符号則逆変換回路に関し、 5B6B符号則逆変換に際し、6ビット全てのパターンを
検出するのではなく、上位3ビットと下位3ビットとに
分けて、それらのパターンから6ビットのマーク率を検
出するようにし、検出パターン数を削減することによっ
て回路の簡略化を図ることを目的とし、 5B6B符号則変換された一連のビットからなる信号を6
ビットずつに分割し、分割した6ビットの内の3ビット
からそれぞれ8パターンの信号を発生させる第1及び第
2デコーダと、第1及び第2デコーダからの各々8パタ
ーンの信号から前記分割した6ビットのマーク率を検出
するマーク率検出回路と、マーク率検出回路によって検
出されたマーク率に応じて5B6B符号則の逆変換を行い前
記分割した6ビットを5ビットの信号に変換する符号逆
変換回路と、マーク率検出回路によって検出されたマー
ク率に応じ、前記符号逆変換回路によって逆変換された
5ビットの信号、前記分割した6ビットの内の上位5ビ
ットの信号、又はエラー信号の内から1つを選択して出
力するセレクト回路を備えて構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a 5B6B code rule inverse conversion circuit which is mainly used for digital transmission and reversely converts a 6-bit signal subjected to 5B6B code rule conversion into an original 5-bit signal. At the time of the inverse rule conversion, instead of detecting all 6-bit patterns, the pattern is divided into upper 3 bits and lower 3 bits, and a 6-bit mark rate is detected from those patterns to reduce the number of detected patterns. In order to simplify the circuit, a signal consisting of a series of bits converted by the 5B6B
First and second decoders that generate eight patterns of signals from three bits out of the six bits that are divided into bits, respectively, and the six divided signals from eight patterns of signals from the first and second decoders, respectively. A mark ratio detection circuit for detecting a bit mark ratio, and a code inverse conversion for performing an inverse conversion of the 5B6B coding rule in accordance with the mark ratio detected by the mark ratio detection circuit and converting the divided 6 bits into a 5-bit signal. Circuit, a 5-bit signal inversely transformed by the code inverse transformation circuit according to the mark rate detected by the mark rate detection circuit, a high-order 5 bit signal of the divided 6 bits, or an error signal. And a select circuit for selecting and outputting one of the following.

[産業上の利用分野] この発明は、主としてデジタル伝送に用いられ、5B6B
符号則変換された6ビットの信号を、もとの5ビットの
信号に逆変換する5B6B符号則逆変換回路に関する。
[Industrial application field] The present invention is mainly used for digital transmission, and is used for 5B6B
The present invention relates to a 5B6B coding rule reverse conversion circuit that reversely converts a 6-bit signal subjected to a coding rule conversion into an original 5-bit signal.

[従来の技術] 一般に、デジタル伝送で用いられる再生中継器では、
受信パルス列自身からタイミング波を抽出する自己タイ
ミング方式が広く用いられている。このようなタイミン
グ抽出方式では、入力符号系列が“000……”のように
連続した零符号である場合、伝送路上でタイミング情報
が消失することがある。
[Related Art] Generally, in a regenerative repeater used in digital transmission,
A self-timing scheme for extracting a timing wave from a received pulse train itself is widely used. In such a timing extraction method, when the input code sequence is a continuous zero code such as “000...”, Timing information may be lost on the transmission path.

したがって、デジタル伝送においては、このようなタ
イミング情報の消失を避けるため、データ伝送時に5B6B
符号則変換を行い、零符号の連続を抑圧するようにして
いる。ここで、5B6B符号則変換とは、デジタル信号列を
5ビットずつに分け、第13図に示すような5B6B符号則変
換パターンに従って、この5ビットの信号を6ビットの
5B6B符号信号に変換することである。
Therefore, in digital transmission, in order to avoid such loss of timing information, 5B6B
The coding rule conversion is performed to suppress the continuation of the zero sign. Here, the 5B6B coding rule conversion means that a digital signal sequence is divided into 5 bits, and the 5-bit signal is converted into 6-bit signals according to a 5B6B coding rule conversion pattern as shown in FIG.
This is to convert it into a 5B6B code signal.

そして受信時に、受け取ったデジタル信号列を6ビッ
トずつに分割し、5B6B符号則の逆変換を行い、もとの5
ビットの信号を得るようにしている。
At the time of reception, the received digital signal sequence is divided into 6-bit units, and the inverse conversion of the 5B6B coding rule is performed.
I try to get a bit signal.

第14図に従来の5B6B符号則逆変換回路を示す。 FIG. 14 shows a conventional 5B6B coding rule inversion circuit.

図に示すように、従来の5B6B符号則逆変換回路では、
まず、逆変換しようとする6ビット信号のマーク率を検
出し、その後、それに応じて5B6B符号則逆変換を行うよ
うにしている。ここでマーク率とは、6ビット中の“オ
ン”のビットの比率であり、図中においては、1/6,2/6
のように分数表示している。
As shown in the figure, in the conventional 5B6B coding rule inversion circuit,
First, the mark rate of the 6-bit signal to be inversely converted is detected, and then the 5B6B coding rule inverse conversion is performed accordingly. Here, the mark ratio is the ratio of “on” bits in 6 bits, and in the figure, 1/6, 2/6
Is displayed as a fraction.

すなわち、従来の5B6B符号則逆変換回路は、第13図の
変換パターンにないマーク率、つまりマーク率0/6,1/6,
2/6,4/6,5/6又は6/6(但し、マーク率2/6,4/6について
は第13図の変換パターンにないもの)を検出し、検出し
た時には信号S88を出力する第1検出回路11aと、第13図
の変換パターンにあるマーク率、つまりマーク率2/6,3/
6又は4/6を検出し、マーク率が2/6又は4/6である時には
信号S86を出力し、マーク率が3/6である時には信号S87
を出力する第2検出回路11bと、第2検出回路11bから信
号S86が出された時にD1〜D6の6ビットの信号S81を5B6B
符号則逆変換し5ビットの信号S82として出力する符号
逆変換回路12と通常は信号S82を信号S83として出力し第
2検出回路11bから信号S87が出された時には信号S85(D
1〜D5までの5ビットの信号)を信号S83として選択出力
するセレクト回路13と、通常は信号S83を信号S84として
出力し第1検出回路11aから信号S88が出された時には信
号“10101"を信号S84として選択出力するセレクト回路1
4から構成されている。
That is, the conventional 5B6B coding rule inverse conversion circuit has a mark rate that is not in the conversion pattern of FIG. 13, that is, a mark rate of 0/6, 1/6,
2 / 6,4 / 6,5 / 6 or 6/6 (However, the mark ratio 2 / 6,4 / 6 none of the conversion pattern of Fig. 13) the signal S 88 when the detected were detected The output first detection circuit 11a and the mark rate in the conversion pattern of FIG. 13, that is, the mark rate 2/6, 3 /
Detecting a 6 or 4/6, and outputs the signal S 86 when the mark rate is 2/6 or 4/6, the signal S 87 when the mark rate is 3/6
5B6B and the second detection circuit 11b for outputting a 6-bit signal S 81 of D1~D6 when the signal S 86 is issued from the second detection circuit 11b
Code inverse conversion circuit 12 and the signal S 85 when normally the signal S 87 from the second detection circuit 11b outputs a signal S 82 as the signal S 83 has been issued to output coding rule inverse conversion as 5-bit signal S 82 ( D
A select circuit 13 which selectively outputs the 5-bit signal) to 1~D5 as the signal S 83, signal when normally the first detection circuit 11a signal S 88 from the output signal S 83 as the signal S 84 is issued Select circuit 1 that selects and outputs "10101" as signal S84
Consists of four.

このように、従来の5B6B符号則逆変換回路において
は、6ビットの5B6B符号信号のマーク率を検出し、マー
ク率が2/6,3/6又は4/6であれば、第13図の変換パターン
に基づいて5B6B符号則逆変換を行い、マーク率が0/6,1/
6,2/6,4/6,5/6又は6/6(但し、マーク率2/6,4/6につい
ては第13図の変換パターンにないもの)であれば“1010
1"という5ビット信号に変換するようにしている。
As described above, in the conventional 5B6B coding rule inversion circuit, the mark rate of the 6-bit 5B6B code signal is detected, and if the mark rate is 2/6, 3/6 or 4/6, FIG. Perform 5B6B coding rule reverse conversion based on the conversion pattern, and mark ratio is 0 / 6,1 /
If it is 6,2 / 6,4 / 6,5 / 6 or 6/6 (however, the mark ratio 2 / 6,4 / 6 is not in the conversion pattern of Fig. 13), then "1010
It is converted to a 5-bit signal of "1".

[考案が解決しようとする課題] しかしながら、このような従来の5B6B符号則逆変換回
路においては、第1検出回路11a及び第2検出回路11bで
各マーク率の検出を行う場合、6ビットの信号全てのパ
ターン(64パターン)について検出するようにしている
ため、回路規模が大きくなり、冗長回路を多く含んだ回
路となるという不具合がある。
[Problem to be Solved by the Invention] However, in such a conventional 5B6B coding rule inversion circuit, when the first detection circuit 11a and the second detection circuit 11b detect each mark rate, a 6-bit signal is used. Since detection is performed for all patterns (64 patterns), there is a problem that the circuit scale becomes large and the circuit includes many redundant circuits.

この発明は、このような事情を考慮してなされたもの
で、5B6B符号則逆変換に際し、6ビット全てのパターン
を検出するのではなく、上位3ビットと下位3ビットと
に分けて、それらのパターンから6ビットのマーク率を
検出するようにし、検出パターン数を削減することによ
って回路の簡略化を図った5B6B符号則逆変換回路を提供
するものである。
The present invention has been made in view of such circumstances, and does not detect all 6-bit patterns at the time of 5B6B coding rule inversion, but separates them into upper 3 bits and lower 3 bits, An object of the present invention is to provide a 5B6B coding rule inverse conversion circuit in which a 6-bit mark ratio is detected from a pattern and the number of detection patterns is reduced to simplify the circuit.

[課題を解決するための手段] 本願の請求項1に係る発明は、5B6B符号則変換された
一連のビットからなる信号を6ビットずつに分割し、分
割した6ビットの内の上位3ビットから8パターンの信
号を発生させる第1デコーダ1aと、前記分割した6ビッ
トの内の下位3ビットから8パターンの信号を発生させ
る第2デコーダ1bと、第1及び第2デコーダ1a及び1bか
らの各々8パターンの信号から前記分割した6ビットの
マーク率を検出するマーク率検出回路2と、マーク率検
出回路2によって検出されたマーク率に応じて5B6B符号
則の逆変換を行い前記分割した6ビットを5ビットの信
号に変換する符号逆変換回路3と、マーク率検出回路2
によって検出されたマーク率に応じ、前記符号逆変換回
路3によって逆変換された5ビットの信号、前記分割し
た6ビットの内の上位5ビットの信号、又はエラー信号
の内から1つを選択して出力するセレクト回路4を備え
てなる5B6B符号則逆変換回路である。
[Means for Solving the Problems] The invention according to claim 1 of the present application divides a signal consisting of a series of bits converted into a 5B6B code rule into 6 bits, and starts from the upper 3 bits of the 6 bits. A first decoder 1a for generating eight patterns of signals, a second decoder 1b for generating eight patterns of signals from the lower three bits of the divided six bits, and first and second decoders 1a and 1b, respectively. A mark rate detecting circuit 2 for detecting the divided 6-bit mark rate from the signal of 8 patterns, and performing the inverse conversion of the 5B6B coding rule in accordance with the mark rate detected by the mark rate detecting circuit 2 to perform the divided 6 bit Code conversion circuit 3 for converting the signal into a 5-bit signal, and mark ratio detection circuit 2
In accordance with the mark rate detected by the above, one of a 5-bit signal inversely transformed by the code inverse transformation circuit 3, an upper 5 bits signal out of the divided 6 bits, or an error signal is selected. This is a 5B6B coding rule reverse conversion circuit including a select circuit 4 that outputs the data.

また、本願の請求項2に係る発明は、5B6B符号則変換
された一連のビットからなる信号を6ビットずつに分割
し、分割した6ビットについて上位3ビットのマーク率
を検出する第1マーク率検出回路51と、前記分割した6
ビットについて下位3ビットのマーク率を検出する第2
マーク率検出回路52と、第1マーク率検出回路51と第2
マーク率検出回路52とによって検出されたマーク率に応
じて前記分割した6ビットのマーク率を判定する6ビッ
トマーク率判定回路53を備えてなる5B6B符号則逆変換回
路である。
The invention according to claim 2 of the present application is a first mark ratio for dividing a signal consisting of a series of bits subjected to 5B6B coding rule conversion into 6 bits and detecting a mark ratio of upper 3 bits for the divided 6 bits. The detection circuit 51 and the divided 6
Second to detect mark ratio of lower 3 bits for bit
The mark rate detection circuit 52, the first mark rate detection circuit 51 and the second
This is a 5B6B coding rule inversion circuit including a 6-bit mark rate determination circuit 53 for determining the divided 6-bit mark rate according to the mark rate detected by the mark rate detection circuit 52.

[作用] 本願の請求項1に係る発明によれば、5B6B符号則変換
された信号は6ビットずつに分割され、第1及び第2デ
コーダ1a及び1bにより、その6ビットの内の上位3ビッ
トの信号から8パターンの信号、下位3ビットの信号か
ら8パターンの信号が、それぞれ発生され、マーク率検
出回路2により、それら各々8パターンの信号から、分
割した6ビットのマーク率が検出される。
[Operation] According to the invention of claim 1 of the present application, the signal subjected to the 5B6B code rule conversion is divided into 6 bits, and the first and second decoders 1a and 1b output the upper 3 bits of the 6 bits. , A signal of eight patterns is generated from the signal of the lower three bits, respectively, and a signal of eight patterns is generated. The mark rate detection circuit 2 detects a divided six-bit mark rate from the signal of each of the eight patterns. .

そして、そのマーク率に応じて、セレクト回路4によ
り、符号逆変換回路3によって逆変換された5ビットの
信号、分割した6ビットの内の上位5ビットの信号、又
はエラー信号、の内から1つが選択されて出力される。
Then, according to the mark rate, the select circuit 4 selects one of the five-bit signal inversely converted by the code inverse conversion circuit 3, the upper five bits of the divided six bits, or the error signal. One is selected and output.

したがって、6ビットの信号は、上位3ビットと下位
3ビットとに分けられ、それらのパターンから6ビット
のマーク率が検出されるので、検出パターン数を削減す
ることができ、それにより回路規模を従来よりも減少さ
せることができる。
Therefore, a 6-bit signal is divided into upper 3 bits and lower 3 bits, and a 6-bit mark rate is detected from these patterns, so that the number of detected patterns can be reduced, thereby reducing the circuit scale. It can be reduced than before.

また、本願の請求項2に係る発明によれば、5B6B符号
則変換された信号は6ビットずつに分割され、第1マー
ク率検出回路51により、分割した6ビットについて上位
3ビットのマーク率が、第2マーク率検出回路52によ
り、分割した6ビットについて下位3ビットのマーク率
が、それぞれ検出される。
According to the invention of claim 2 of the present application, the signal subjected to the 5B6B code rule conversion is divided into 6 bits each, and the first mark ratio detection circuit 51 determines the mark ratio of the upper 3 bits for the divided 6 bits. And the second mark ratio detection circuit 52 detects the mark ratio of the lower 3 bits for each of the divided 6 bits.

そして、6ビットマーク率判定回路53により、第1マ
ーク率検出回路51と第2マーク率検出回路52とによって
検出されたマーク率い応じて、分割した6ビットのマー
ク率が判定される。
Then, the 6-bit mark rate determination circuit 53 determines the divided 6-bit mark rate according to the mark rates detected by the first mark rate detection circuit 51 and the second mark rate detection circuit 52.

したがって、6ビットの信号は、上位3ビットと下位
3ビットとに分けられ、それらのマーク率から6ビット
のマーク率が判定されるので、検出パターン数を削減す
ることができ、それにより回路規模を従来よりも縮小さ
せることができる。
Therefore, the 6-bit signal is divided into upper 3 bits and lower 3 bits, and the 6-bit mark rate is determined from the mark rates. Therefore, the number of detection patterns can be reduced, thereby increasing the circuit scale. Can be reduced more than before.

[実施例] 以下、図面に示す実施例に基づいてこの発明を詳述す
る。なお、これによってこの発明が限定されるものでは
ない。
Hereinafter, the present invention will be described in detail with reference to embodiments shown in the drawings. Note that the present invention is not limited to this.

第1図はこの発明の一実施例としての5B6B符号則逆変
換回路の基本構成を示す構成説明図である。
FIG. 1 is an explanatory diagram showing the basic structure of a 5B6B coding rule inverse transform circuit as one embodiment of the present invention.

第1図において、1a及び1bは第1及び第2の3LINE to
8LINE Decoder/Demultiplexer(以下3:8デコーダと略
記する)、2はマーク率検出回路、3は符号逆変換回
路、4はセレクト回路である。
In FIG. 1, 1a and 1b are the first and second 3LINE to
8LINE Decoder / Demultiplexer (hereinafter abbreviated as 3: 8 decoder), 2 is a mark rate detection circuit, 3 is a code reverse conversion circuit, and 4 is a select circuit.

第1の3:8デコーダ1aは、6ビットの信号S1(D1〜D
6)の内の上位3ビット(D1〜D3)から、8パターンの
変換信号S5を発生させ、第2の3:8デコーダ1bは、信号S
1の内の下位3ビット(D4〜D6)から、8パターンの変
換信号S6を発生させる。
The first 3: 8 decoder 1a is 6-bit signal S 1 (D1~D
From the upper 3 bits of the 6) (D1 to D3), to generate a converted signal S 5 of 8 pattern, the second 3: 8 decoder 1b, the signal S
From the lower 3 bits of the 1 (D4 to D6), to generate a converted signal S 6 of 8 pattern.

マーク率検出回路2は、8パターン×2の変換信号
S5,S6から、第13図に示した5B6B符号則変換パターンに
あるマーク率、つまりマーク率2/6又は4/6を検出した時
には信号S7を出力し、第13図の変換パターンにないマー
ク率、つまりマーク率0/6,1/6,2/6,4/6,5/6又は6/6(但
し、マーク率2/6,4/6については第13図の変換パターン
にないもの)を検出した時には信号S8を出力する。
The mark ratio detection circuit 2 converts the conversion signal of 8 patterns × 2
From S 5 and S 6 , when the mark rate in the 5B6B coding rule conversion pattern shown in FIG. 13, that is, the mark rate 2/6 or 4/6 is detected, the signal S 7 is output, and the conversion pattern shown in FIG. Mark ratios that do not exist, that is, mark ratios 0/6, 1/6, 2/6, 4/6, 5/6 or 6/6 (however, for mark ratios 2/6, 4/6 outputs a signal S 8 when it detects having no pattern).

符号逆変換回路3は、マーク率検出回路2から信号S7
が出された時には、信号S1を第13図の変換パターンに基
づいて5B6B符号則逆変換し、5ビットの信号S2として出
力する。
The sign inversion circuit 3 outputs the signal S 7 from the mark rate detection circuit 2.
Within when issued, the signal S 1 5B6B coding rule inverse conversion based on the conversion pattern of Fig. 13, and outputs a signal S 2 of 5 bits.

セレクト回路4は、マーク率検出回路2から信号S7
出された時には、信号S2をそのまま信号S3として選択出
力し、マーク率検出回路2から信号S8が出された時に
は、信号“10101"を信号S3として選択出力し、マーク率
検出回路2から信号S7と信号S8の双方が出されない時に
は、マーク率3/6とみなし、信号S4(D1〜D5までの5ビ
ットの信号)を信号S3として選択出力する。
When the signal S 7 is output from the mark ratio detection circuit 2, the select circuit 4 selects and outputs the signal S 2 as it is as the signal S 3 , and when the signal S 8 is output from the mark ratio detection circuit 2, the signal “ select output 10101 to "as the signal S 3, 5 bits from the mark rate detecting circuit 2 when no issued both signals S 7 and the signal S 8 is regarded as the mark rate 3/6, until the signal S 4 (D1 to D5 selectively outputs the signal) as the signal S 3.

このように、本実施例においては、6ビットの5B6B符
号信号S1を3ビットずつに分け、第1,第2の3:8デコー
ダ1a,1bで16パターン(8パターン×2)の変換信号
S5,S6を発生させる。そして、マーク率検出回路2にお
いて、マーク率3/6以外の全てのパターン(44パター
ン)を検出し、第13図に示した変換パターンにない場合
の信号S8(エラー信号)と、第13図の変換パターンにあ
る場合の信号S7とに分け、信号S7を検出すれば信号S
2を、信号S8を検出すれば信号“10101"を、信号S7と信
号S8の双方を検出しなければ信号S4を、それぞれセレク
ト回路4で選択し、5ビット信号S3を出力するようにし
ている。
Thus, in this embodiment, divided 5B6B code signals S 1 of six bits to 3 bits, the first, second 3: 8 decoders 1a, converted signal 16 pattern 1b (8 pattern × 2)
S 5 and S 6 are generated. Then, the mark rate detection circuit 2 detects all patterns (44 patterns) other than the mark rate 3/6, and outputs a signal S 8 (error signal) when the conversion pattern shown in FIG. divided into a signal S 7 when it is in the conversion pattern of Fig., the signal S by detecting the signal S 7
2, the signal "10101" by detecting the signal S 8, the signal S 4 to be detected both signals S 7 and the signal S 8, selected by the select circuit 4, respectively, outputs a 5-bit signal S 3 I am trying to do it.

これにより、マーク率検出回路2において、マーク率
3/6を検出する必要がなくなる。また、第1,第2の3:8デ
コーダ1a,1bを用いることにより、マーク率検出を、第
2図の〜に示すような単なる数字の組合せとするこ
とができる。
Thereby, in the mark ratio detection circuit 2, the mark ratio
There is no need to detect 3/6. In addition, by using the first and second 3: 8 decoders 1a and 1b, the mark ratio can be detected by a simple combination of numerals as shown in FIG.

なお、マーク率検出回路2では、3ビット単位(D1〜
D3とD4〜D6の各3ビット信号)でマーク率を検出するた
め、第2図に示した各ビットパターンにおけるマーク率
の算出方法の(A)〜(L)のパターンのように、重複
するパターンが生ずる。これは、D1〜D3の信号が“000"
の時、D4〜D6の信号が(A)パターン(“001",“010",
“100")の内のいずれかであれば、マーク率は1/6とな
る、D1〜D3の信号が(H)パターン(“001",“010")
のいずれかの時、D4〜D6の信号が(A)パターンの内の
いすれかであれば、マーク率は2/6となることを示して
いる。
In the mark ratio detection circuit 2, a 3-bit unit (D1 to D1) is used.
In order to detect the mark rate by using D3 and D4 to D6 (three-bit signals), the mark rate is calculated in each bit pattern shown in FIG. A pattern occurs. This means that the signals D1 to D3 are “000”
In the case of, the signals of D4 to D6 are (A) patterns (“001”, “010”,
"100"), the mark rate becomes 1/6, and the signals D1 to D3 are (H) patterns ("001", "010").
In any of the cases, if the signals D4 to D6 are any of the patterns in the (A) pattern, the mark ratio is 2/6.

このように、マーク率検出回路2は、第2図の〜
に示すように、(A)パターンが検出されたとき、D1〜
D3の信号が“000"であればマーク率は1/6で、(H)パ
ターンであればマーク率は2/6というように、簡略化の
可能な回路構成となっている。
As described above, the mark ratio detection circuit 2 is configured as shown in FIG.
As shown in (a), when the pattern (A) is detected, D1 to
If the signal of D3 is "000", the mark rate is 1/6, and if it is the (H) pattern, the mark rate is 2/6, so that the circuit configuration can be simplified.

符号逆変換回路3においては、マーク率2/6,4/6(第1
3図の変換パターンにあるパターン)の検出時には、符
号逆変換回路3からの出力信号S2がそのまま出力信号S3
となる。マーク率2/4と4/6は反転すれば同信号であるの
で、符号逆変換回路3は、マーク率2/6の検出時にはそ
のままの信号S1を入力し、マーク率2/6以外であれば信
号S1を反転させて入力することにより変換を行う。ま
た、逆変換の際には、マーク率2/6のパターンを検出す
ることによって逆変換を行うが、マーク率2/6は“1"の
数が2個しかないので、“1"の立つ位置によって逆変換
を行う回路構成となっている。
In the sign inversion circuit 3, the mark ratio is 2/6, 4/6 (first
When detecting the pattern in the conversion pattern shown in FIG. 3, the output signal S 2 from the sign inverse conversion circuit 3 is used as it is as the output signal S 3
Becomes Since the mark ratio 2/4 and 4/6 is the same signal when inverted, the code inverse conversion circuit 3 at the time of detection of the mark rate 2/6 type raw signals S 1, except mark ratio 2/6 performs conversion by inputting by inverting the signals S 1, if any. In the case of the inverse conversion, the inverse conversion is performed by detecting a pattern having a mark rate of 2/6. However, since the mark rate 2/6 has only two “1” s, “1” is set. The circuit is configured to perform inverse conversion depending on the position.

セレクト回路4においては、従来の2:1セレクト回路
を10個使用することに替えて、3:1セレクト回路を5個
使用するようにしている。このセレクト回路4は、出力
信号S3の5ビット全てに必要であり、従来は二段階セレ
クト回路を採用していたために回路規模が大きくなって
いたが、3:1セレクト回路を用いることにより、回路規
模の縮小及び冗長回路の削減を図ることが可能な回路構
成となっている。
The select circuit 4 uses five 3: 1 select circuits instead of using ten conventional 2: 1 select circuits. The select circuit 4 is required for 5 bits all the output signals S 3, conventionally, the circuit scale to have employed two-step selection circuit was larger, 3: 1 by using a select circuit, The circuit configuration is such that the circuit scale and the number of redundant circuits can be reduced.

第3図〜第7図はこの発明の一実施例をしての5B6B符
号則逆変換の電気回路図である。
FIG. 3 to FIG. 7 are electric circuit diagrams of the 5B6B coding rule inverse transform according to an embodiment of the present invention.

第3図は第1と第2の3:8デコーダ1a,1bの回路図であ
り、図に示すように、6ビット(D1〜D6)の5B6B符号信
号S11〜S16を、第1と第2の3:8デコーダ1a,1bを用いて
16パターン(8パターン×2)の信号S50〜S57及びS60
〜S67に変換する。そして、変換した信号S50〜S57及びS
60〜S67から、3/6以外のマーク率を検出する。
Figure 3 is the first and second 3: 8 decoders 1a, 1b is a circuit diagram, shown in Figure, the 5B6B code signals S 11 to S 16 of six bits (D1 to D6), first and Using the second 3: 8 decoder 1a, 1b
16 signal pattern (eight patterns × 2) S 50 ~S 57 and S 60
To convert to ~S 67. The converted signal S 50 to S 57 and S
From 60 to S 67, it detects the mark ratio other than 3/6.

第4図はマーク率検出回路2のマーク率0/6,1/6,2/6,
4/6,5/6,6/6(但し、2/6,4/6については第13図の変換パ
ターンにないパターン)を検出するための電気回路図で
ある。
FIG. 4 shows the mark ratios 0/6, 1/6, 2/6,
FIG. 14 is an electric circuit diagram for detecting 4/6, 5/6, 6/6 (however, 2/6, 4/6 are not included in the conversion pattern of FIG. 13).

この図において、第2図のに示したマーク率0/6と1
/6は、アンド回路25(第2図の(A)パターンを検出)
からの信号と信号S50、及び、アンド回路21(第2図の
(C)パターンを検出)からの信号と信号S60を、それ
ぞれナンド回路22に入力することによって検出してい
る。
In this figure, the mark ratios 0/6 and 1 shown in FIG.
/ 6 means AND circuit 25 (detects pattern (A) in Fig. 2)
Signal from the signal S 50 and,, a signal and a signal S 60 from the AND circuit 21 (detecting (C) pattern of FIG. 2), is detected by inputting the NAND circuit 22, respectively.

第2図のに示したマーク率5/6と6/6は、アンド回路
26(第2図の(B)パターンを検出)からの信号と信号
S57、及び、アンド回路23(第2図の(D)パターンを
検出)からの信号と信号S67を、それぞれナンド回路24
に入力することによって検出している。
The mark ratios 5/6 and 6/6 shown in FIG.
Signals and signals from 26 (detecting the pattern (B) in FIG. 2)
The signal from the S 57 and the AND circuit 23 (detecting the pattern (D) in FIG. 2) and the signal S 67 are respectively connected to the NAND circuit 24.
Detected by inputting to.

第2図のに示したマーク率2/6と4/6は、ノア回路27
〜2Cに、それぞれ信号S50と信号S63、信号S51と信号
S67、信号S53と信号S66、信号S54と信号S61、信号S56
信号S60及び信号S57と信号S64を入力することによって
検出している。
The mark ratios 2/6 and 4/6 shown in FIG.
The ~2C, each signal S 50 and the signal S 63, signal S 51 and the signal
Detection is performed by inputting S67 , signal S53 and signal S66 , signal S54 and signal S61 , signal S56 and signal S60, and signal S57 and signal S64 .

そして、このような、第13図に示した変換パターンに
ないマーク率0/6,1/6,2/6,4/6,5/6,6/6は、エラーとし
て、ノア回路2D及びノア回路2Eと、ナンド回路2Fにより
検出して、エラー検出信号S8を出力している。
Then, such mark rates 0/6, 1/6, 2/6, 4/6, 5/6, 6/6 which are not in the conversion pattern shown in FIG. a NOR circuit 2E, it is detected by the NAND circuit 2F, and outputs the error detection signal S 8.

第5図はマーク率検出回路2のマーク率2/6及び4/6を
検出するための電気回路図である。
FIG. 5 is an electric circuit diagram for detecting the mark ratios 2/6 and 4/6 of the mark ratio detection circuit 2.

この図において、第2図のに示したマーク率2/6
は、アンド回路2R〜2Uにそれぞれ信号S65と信号S66(第
2図の(E)パターンを検出)、信号S51と信号S52(第
2図の(H)パターンを検出)、信号S62と信号S64(第
2図の(F)パターンを検出)、信号S53と信号S55(第
2図の(G)パターンを検出)を入力することによっ
て、第2図の(E)〜(H)の各パターンを検出する。
In this figure, the mark ratio shown in FIG.
Each signal S 65 and the signal S 66 to the AND circuit 2R~2U (of FIG. 2 (E) detecting a pattern), (detect (H) pattern of FIG. 2) signal S 51 and the signal S 52, signal By inputting S62 and signal S64 (detecting the (F) pattern in FIG. 2) and signal S53 and signal S55 (detecting the (G) pattern in FIG. 2), (E) in FIG. ) To (H) are detected.

そして、ノア回路2G〜2Jに、それぞれ検出した(E)
〜(H)のパターン信号と、信号S50、第4図の信号
S91、信号S54、信号S60、を入力することによって個々
のパターンを検出しており、これらの信号をノア回路20
に入力することによって、マーク率2/6の検出信号S71
出力している。
Then, the signals were detected by the NOR circuits 2G to 2J, respectively (E).
The pattern signals ~ (H), signal S 50, signal of FIG. 4
Individual patterns are detected by inputting S 91 , signal S 54 , and signal S 60 , and these signals are detected by the NOR circuit 20.
By entering into, and outputs a detection signal S 71 of the mark rate 2/6.

また、第2図のに示したマーク率4/6は、アンド回
路2V〜2Yに、それぞれ信号S61と信号S62(第2図の
(I)パターンを検出)、信号S63と信号S65(第2図の
(J)パターンを検出)、信号S52と信号S54(第2図の
(K)パターンを検出)、信号S55と信号S56(第2図の
(L)パターンを検出)を入力することによって、第2
図の(I)〜(L)の各パターンを検出する。
Moreover, the mark rate 4/6 shown in FIG. 2, to the AND circuit 2V~2Y, respectively signal S 61 and the signal S 62 (detecting a second view of (I) the pattern), the signal S 63 and the signal S 65 (detecting (J) pattern in FIG. 2), signal S52 and signal S54 (detecting (K) pattern in FIG. 2), signal S55 and signal S56 ((L) pattern in FIG. 2) Is detected), the second
Each pattern (I) to (L) in the figure is detected.

そして、ノア回路2K〜2Nに、それぞれ検出した(I)
〜(L)のパターン信号と、信号S57、信号S53、信号S
67、第4図の信号S92、を入力することよって個々のパ
ターンを検出しており、これらの信号をノア回路2Pに入
力することによってマーク率4/6を検出し、ナンド回路2
Qにマーク率2/6の検出信号S71とマーク率4/6の検出信号
を入力することによって、マーク率2/6及び4/6の検出信
号S72を出力している。
Then, the signals are detected by the NOR circuits 2K to 2N, respectively (I)
~ (L) pattern signal, signal S57 , signal S53 , signal S
67 , the individual patterns are detected by inputting the signal S 92 in FIG. 4, and by inputting these signals to the NOR circuit 2P, the mark ratio 4/6 is detected, and the NAND circuit 2
By inputting a detection signal of the detection signal S 71 and the mark rate 4/6 of the mark rate 2/6 to Q, and outputs a detection signal S 72 of the mark rates 2/6 and 4/6.

第6図は符号逆変換回路3の電気回路図である。 FIG. 6 is an electric circuit diagram of the sign inversion circuit 3.

この回路においては、マーク率2/6と4/6の個々のビッ
トパターンは、“1"と“0"とを反転すれば同じパターン
であることを利用して、マーク率2/6の検出信号S71
“0"であると、6ビットの5B6B符号信号S11〜S16から、
インバータ回路3N〜3S及びセレクト回路31〜36により正
論理の信号を出力し、マーク率2/6の検出信号S71が“1"
であると、セレクト回路31〜36により負論理の信号を出
力することによって、マーク率2/6になるようにしてい
る。つまり、マーク率2/6及び4/6以外のパターンは5B6B
符号則逆変換せず無視することができるので、ここで
は、マーク率2/6における個々のビットパターンのみを
検出すればよい。
This circuit uses the fact that the individual bit patterns of the mark ratios 2/6 and 4/6 are the same pattern by inverting "1" and "0", so that the mark ratio 2/6 is detected. When the signal S 71 is "0", the 6 bits from the 5B6B code signals S 11 to S 16,
Outputs a positive logic signal by the inverter circuit 3N~3S and the select circuit 31 to 36, the detection signal S 71 of the mark rate 2/6 is "1"
In this case, the mark ratio is set to 2/6 by outputting a signal of negative logic by the select circuits 31 to 36. In other words, patterns other than mark ratio 2/6 and 4/6 are 5B6B
Since the coding rule can be ignored without performing the inverse transformation, only the individual bit patterns at the mark rate of 2/6 need be detected here.

マーク率2/6における個々のビットパターンの検出
は、6ビットの5B6B符号信号S11〜S16中のどの位置に
“1"が2個あるかによって検出している。これがナンド
回路37〜3Hであり、検出されたパターンによってナンド
回路3I〜3Mで変換した信号S21〜S25を出力している。ま
た、マーク率2/6のパターン数12個の内、11個しか検出
していないのは、“000101"が検出されない時、全ての
ナンド回路37〜3Hは“1"を出力し、ナンド回路3I〜3Mは
“0"を出力するため、検出する必要がないからである。
Detection of individual bit patterns in the mark rate 2/6 is detected depending on which position in the 5B6B code signals S 11 to S 16 of six bits "1" there are two. This is a NAND circuit 37~3H, and outputs a signal S 21 to S 25 converted by the NAND circuit 3I~3M by the detected pattern. Also, only 11 out of 12 patterns with a mark ratio of 2/6 are detected. When “000101” is not detected, all the NAND circuits 37 to 3H output “1”, and the NAND circuits 37 to 3H output “1”. This is because 3I to 3M output "0" and need not be detected.

第7図はセレクト回路4の電気回路図であり、この図
に示すように、各セレクト回路41〜45は、制御信号S72
(マーク率2/6及び4/6の検出信号)と制御信号S8(エラ
ー検出信号)により制御されている。ここで、制御信号
S72が“1"である時には、5B6B符号則逆変換された信号S
21〜信号S25を選択し、制御信号S8が“1"である時に
は、エラー信号“10101"を選択し、制御信号S8及びS72
が両方とも“0"である時、つまりマ−ク率が3/6である
時には、信号S11〜信号S15を選択することによって、信
号S31〜信号S35を出力している。
Figure 7 is an electrical circuit diagram of the select circuit 4, as shown in this figure, the select circuit 41 to 45, control signal S 72
(The detection signals of the mark ratios 2/6 and 4/6) and the control signal S 8 (error detection signal). Where the control signal
When S 72 is “1”, the signal S that has been subjected to the 5B6B
21 Select-signal S 25, the control signal when S 8 is "1", selects the error signal "10101", the control signal S 8 and S 72
There When both are "0", i.e. Ma - when click rate is 3/6, by selecting signals S 11 ~ signal S 15, and outputs a signal S 31 ~ signal S 35.

次に、第1図から第7図までの全体を通して入力と出
力の関係を説明する。
Next, the relationship between input and output will be described throughout FIGS. 1 to 7. FIG.

第3図中の信号S50〜信号S57は、第1図の信号S5で示
すデコードされた8ビットの信号に対応し、第3図中の
信号S60〜信号S67は、第1図の信号S6で示すデコードさ
れた8ビットの信号に対応する。
Signals S 50 ~ signal S 57 in FIG. 3 corresponds to the 8-bit signals decoded indicated by signal S 5 of FIG. 1, the signal S 60 ~ signal S 67 in FIG. 3, the first corresponding to 8-bit signals decoded indicated by signal S 6 of FIG.

第4図中の信号S50〜信号S57には、第3図に示した信
号S50〜信号S57がそれぞれ入力され、第4図中の信号S
60〜信号S67には、第3図に示した信号S60〜信号S67
それぞれ入力される。また、第4図中のエラー検出信号
S8は第1図に示す信号S8である。
The fourth signal S 50 ~ signal S 57 in the figure, signals S 50 ~ signal S 57 shown in Figure 3 are inputted respectively, signals S in FIG. 4
The signals S60 to S67 shown in FIG. 3 are input to the signals 60 to S67 , respectively. The error detection signal shown in FIG.
S 8 is a signal S 8 shown in Figure 1.

第5図中の信号S50〜信号S57には、第3図に示した信
号S50〜信号S57がそれぞれ入力され、第5図中の信号S
60〜信号S67には、第3図に示した信号S60〜信号S67
それぞれ入力され、第5図中の信号S91と信号S92には、
第4図に示した信号S91と信号S92がそれぞれ入力され
る。
The fifth signal S 50 ~ signal S 57 in the figure, signals S 50 ~ signal S 57 shown in Figure 3 are inputted respectively, signals S in FIG. 5
From 60 to signal S 67, signals S 60 to signal S 67 shown in Figure 3 is inputted, the signal S 91 and the signal S 92 in Fig. 5,
Signal S 91 and the signal S 92 shown in FIG. 4 are respectively input.

第5図中の信号S71は、第1図中の信号S7の内、符号
逆変換回路3に入力される信号であり第5図中の信号S
72は、第1図中の信号S7の内、セレクト回路4に入力さ
れる信号である。
Signal S 71 in FIG. 5, of the signal S 7 in FIG. 1, the signal in FIG. 5 is a signal which is input to the code inverse conversion circuit 3 S
72, of the signal S 7 in FIG. 1, a signal input to the select circuit 4.

第6図中の信号S11〜信号S16には、第3図に示した信
号S11(D1)〜信号S16(D6)が入力される。この信号S
11〜信号S16は、第1図の信号S1(D1〜D6)で示す6ビ
ットの信号に対応する。また、第6図中の信号S71
は、第5図に示した信号S71が入力される。
The sixth signal S 11 ~ signal S 16 in the figure, the signal S 11 shown in FIG. 3 (D 1) ~ signal S 16 (D 6) is input. This signal S
11 to the signal S 16 corresponds to a 6-bit signal shown by the signal of FIG. 1 S 1 (D 1 ~D 6) . Further, in the sixth signal S 71 in the figure, the signal S 71 shown in FIG. 5 is input.

第7図中の信号S11〜信号S15には、第3図に示した信
号S11(D1)〜信号S16(D6)の内の上位5ビットの信号
S11(D1)〜信号S15(D5)が入力される。また、第7図
中の信号S21〜信号S25には、第6図に示した信号S21
信号S25が入力される。この信号S21〜信号S25は、第1
図の信号S2で示す5ビットの信号に対応する。第7図中
の信号S72には、第5図に示した信号S72が入力され、第
7図中の信号S8には、第4図に示したエラー検出信号S8
が入力される。第7図中の信号S31〜信号S35は、第1図
中の信号S3で示す5ビットの信号に対応する。
The signals S 11 ~ signal S 15 in FIG. 7, the signal S 11 shown in FIG. 3 (D 1) ~ signal S 16 upper five bits of the signal of the (D 6)
S 11 (D 1 ) to S 15 (D 5 ) are input. Further, in the seventh signal S 21 ~ signal S 25 in the figure, signals S 21 ~ shown in Figure 6
Signal S 25 is input. The signals S 21 ~ signal S 25, the first
Corresponding to the 5-bit signal shown by the signal S 2 in FIG. The seventh signal S 72 in the figure, the signal S 72 shown in FIG. 5 is input to the signal S 8 in FIG. 7, the error detection signal S 8 shown in FIG. 4
Is entered. Signals S 31 ~ signal S 35 in FIG. 7 corresponds to the 5-bit signal shown by the signal S 3 in Figure 1.

次に、第2図の〜に示す各ビットパターンがそれ
ぞれどの回路で検出されるのかを説明する。
Next, a description will be given of which circuit detects each bit pattern shown in FIG.

まず、第2図のに示すマーク率0/6と1/6の検出は、
図中(イ)で示す6ビットパターンと(ロ)で示す6ビ
ットパターンを検出することにより行う。すなわち、上
位3ビットD1,D2,D3が“000"で、下位3ビットD4
D5,D6が“001",“010",“100"のいずれかである場合
(この6ビットのパターンを図中(イ)で示す)と、上
位3ビットD1,D2,D3が“000",“001",“010",“100"
のいずれかで、下位3ビットD4,D5,D6が“000"である
場合(この6ビットのパターンを図中(ロ)で示す)を
検出することにより行う。
First, the detection of the mark ratios 0/6 and 1/6 shown in FIG.
This is performed by detecting the 6-bit pattern shown in (a) and the 6-bit pattern shown in (b) in the figure. That is, the upper three bits D 1 , D 2 , D 3 are “000” and the lower three bits D 4 ,
If D 5 and D 6 are any of “001”, “010” or “100” (the 6-bit pattern is indicated by (A) in the figure), the upper 3 bits D 1 , D 2 and D 3 is “000”, “001”, “010”, “100”
In this case, the detection is performed by detecting the case where the lower three bits D 4 , D 5 , D 6 are “000” (the pattern of these 6 bits is indicated by (b) in the figure).

同様に、第2図のに示すマーク率5/6と6/6の検出
は、図中(ハ)及び(ニ)で示す6ビットパターンをそ
れぞれ検出することにより行い、第2図のに示すマー
ク率2/6の検出は、図中(ホ)、(ヘ)、(ト)、
(チ)で示す6ビットパターンをそれぞれ検出すること
により行い、第2図のに示すマーク率4/6の検出は、
図中(リ)、(ヌ)、(ル)、(ヲ)で示す6ビットパ
ターンをそれぞれ検出することにより行う。
Similarly, the detection of the mark ratios 5/6 and 6/6 shown in FIG. 2 is performed by detecting the 6-bit patterns shown in (c) and (d) in FIG. Mark rate 2/6 is detected by (e), (f), (g),
The detection is performed by detecting each of the 6-bit patterns shown in (h), and the mark ratio 4/6 shown in FIG.
This is performed by detecting the 6-bit patterns indicated by (l), (nu), (lu), and (ヲ) in the figure, respectively.

また、第2図のに示すマーク率2/6と4/6の検出、つ
まり第13図の変換パターンになく、エラーとするべきマ
ーク率2/6と4/6のパターンの検出は、図中(ワ)、
(カ)、(ヨ)、(タ)、(レ)、(ソ)で示す6ビッ
トパターンをそれぞれ検出することにより行う。
The detection of the mark ratios 2/6 and 4/6 shown in FIG. 2, that is, the detection of the mark ratios 2/6 and 4/6 that are not in the conversion pattern of FIG. Medium (wa),
This is performed by detecting the 6-bit patterns indicated by (f), (yo), (ta), (d), and (so), respectively.

第3図から第5図には、それぞれライン上にデコード
された3ビットのビットパターンを示した。また、上記
に関連して、第4図及び第5図には、第2図の(イ)〜
(ソ)で示す6ビットパターンを検出するゲート回路を
それぞれ(イ)〜(ソ)で示した。
FIGS. 3 to 5 show bit patterns of 3 bits decoded on the respective lines. In connection with the above, FIGS. 4 and 5 show FIGS.
Gate circuits for detecting the 6-bit pattern shown in (G) are shown in (A) to (G), respectively.

第6図に示した符号逆変換回路3及び第7図に示した
セレクト回路4については、従来公知の回路を適用する
ことが可能であるため詳しい説明は省略する。
As for the sign inversion circuit 3 shown in FIG. 6 and the select circuit 4 shown in FIG. 7, a conventionally known circuit can be applied, so that the detailed description is omitted.

次に、第8図〜第12図にこの発明の他の実施例を示
す。
Next, FIGS. 8 to 12 show another embodiment of the present invention.

第8図はこの発明の他の実施例としての5B6B符号則逆
変換回路の基本構成を示す構成説明図である。
FIG. 8 is an explanatory diagram showing the basic structure of a 5B6B coding rule inverse transform circuit as another embodiment of the present invention.

第8図に示すように、この実施例における5B6B符号則
逆変換回路は、D1〜D3の上位3ビットのマーク率を検出
する第1マーク率検出回路51と、D4〜D6の下位3ビット
のマーク率を検出する第2マーク率検出回路52と、第1,
第2マーク率検出回路51,52で検出したマーク率から、D
1〜D6の6ビットのマーク率を判定する6ビットマーク
率判定回路53とを備えている。なお、この実施例では、
6ビットのマーク率を検出する回路部分のみを示す。
As shown in FIG. 8, the 5B6B coding rule inversion circuit in this embodiment comprises a first mark rate detection circuit 51 for detecting the mark rates of the upper 3 bits of D1 to D3, and a lower 3 bits of D4 to D6. A second mark ratio detection circuit 52 for detecting a mark ratio;
From the mark rates detected by the second mark rate detection circuits 51 and 52, D
A 6-bit mark ratio determination circuit 53 for determining a 6-bit mark ratio of 1 to D6 is provided. In this embodiment,
Only a circuit portion for detecting a 6-bit mark rate is shown.

すなわち、この実施例においては、前述の実施例と同
様に、D1〜D6の6ビットの5B6B符号信号を3ビットずつ
に分けるのであるが、3:8デコーダは用いずに、各3ビ
ットについて、オア(以下ORと記す)、アンド(以下AN
Dと記す)、及びイクスクルーシブオア(以下EORと記
す)の論理をとり、それぞれのマーク率を検出する。
That is, in this embodiment, as in the above-described embodiment, the 6-bit 5B6B code signal of D1 to D6 is divided into three bits, but without using the 3: 8 decoder, for each three bits, OR (hereinafter referred to as OR), AND (hereinafter AN)
D)) and exclusive OR (hereinafter referred to as EOR), and the respective mark ratios are detected.

この論理の回路図を第9図に、論理値を第10図に示
す。第9図の論理回路の出力の値より、以下のようにし
て、第10図に示すような3ビットのマーク率を検出する
ことができる。
The circuit diagram of this logic is shown in FIG. 9 and the logic values are shown in FIG. From the output value of the logic circuit shown in FIG. 9, a 3-bit mark rate as shown in FIG. 10 can be detected as follows.

OR回路の値が“0"の時はマーク率0/3 OR回路の値が“1"で、AND回路の値が“0"で、EOR回路
の値が“1"の時はマーク率1/3 OR回路の値が“1"で、AND回路の値が“0"で、EOR回路
の値が“0"の時はマーク率2/3 AND回路の値が“1"の時はマーク率3/3として、各3ビ
ットのマーク率を検出し、双方の結果の組合せから、第
11図に示すような6ビットのマーク率を求める。
When the value of the OR circuit is “0”, the mark rate is 0/3. When the value of the OR circuit is “1”, the value of the AND circuit is “0”, and the value of the EOR circuit is “1”, the mark rate is 1 / 3 Mark ratio when OR circuit value is “1”, AND circuit value is “0”, and EOR circuit value is “0”. Mark when the AND circuit value is “1”. As the rate 3/3, the mark rate of each 3 bits is detected, and the combination of both results is used to determine the mark rate.
A 6-bit mark rate as shown in FIG. 11 is obtained.

第12図は第8図に示した他の実施例としての5B6B符号
則逆変換の電気回路図である。
FIG. 12 is an electrical circuit diagram of the 5B6B coding rule inverse transform as another embodiment shown in FIG.

図中、破線で囲んだ回路は第8図で示した回路にそれ
ぞれ対応しており、第1マーク率検出回路51としては、
ノア(以下NORと記す)回路51a、AND回路51b、EOR回路5
1c、NOR回路51d、及びNOR回路51eを用い、第2マーク率
検出回路52としても、同じくNOR回路52a、AND回路52b、
EOR回路52c、NOR回路52d、及びNOR回路52eを用いてい
る。
In the figure, the circuits enclosed by broken lines correspond to the circuits shown in FIG. 8, respectively.
Noah (hereinafter referred to as NOR) circuit 51a, AND circuit 51b, EOR circuit 5
1c, a NOR circuit 51d, and a NOR circuit 51e. Similarly, as the second mark rate detection circuit 52, the NOR circuit 52a, the AND circuit 52b,
The EOR circuit 52c, the NOR circuit 52d, and the NOR circuit 52e are used.

また、6ビットマーク率判定回路53としては、AND回
路61〜6Cと、OR回路53a,53b,53c,53dを用いている。
Further, as the 6-bit mark rate determination circuit 53, AND circuits 61 to 6C and OR circuits 53a, 53b, 53c, 53d are used.

このようにして、6ビットの5B6B符号信号を、上位3
ビットと下位3ビットとに分け、それらのパターンから
5B6B符号信号のマーク率を検出することにより、検出パ
ターン数を削減して、従来よりも回路規模を縮小させる
ことができる。
In this way, the 6-bit 5B6B code signal is
Bit and lower 3 bits, and from those patterns
By detecting the mark rate of the 5B6B code signal, the number of detection patterns can be reduced, and the circuit scale can be reduced as compared with the related art.

[発明の効果] この発明によれば、5B6B符号則変換された6ビットの
信号を、上位3ビットと下位3ビットとに分け、それら
のパターンから6ビットのマーク率を検出し、その後5B
6B符号則の逆変換を行うようにしたので、検出パターン
数を削減して、回路規模の縮小及び冗長回路の削減を図
ることができる。
[Effects of the Invention] According to the present invention, a 6-bit signal subjected to 5B6B coding rule conversion is divided into upper 3 bits and lower 3 bits, and a 6-bit mark rate is detected from those patterns.
Since the inverse transformation of the 6B coding rule is performed, the number of detection patterns can be reduced, and the circuit scale and the number of redundant circuits can be reduced.

また、回路が簡略化されるので、従来よりも製作コス
トが削減され、回路図の入力ミス等の初歩的ミスが減少
する。さらに回路の簡略化に伴い、消費電力の削減等の
コスト低減を図ることができる。
In addition, since the circuit is simplified, the manufacturing cost is reduced as compared with the related art, and elementary errors such as input errors in the circuit diagram are reduced. Further, with simplification of the circuit, cost reduction such as reduction of power consumption can be achieved.

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

第1図〜第7図はこの発明の一実施例を示し、第1図は
基本構成を示す構成説明図、第2図の〜は各ビット
パターンにおけるマーク率を示す説明図、第3図は3:8
デコーダの回路図、第4図はマーク率検出回路のマーク
率0/6,1/6,2/6,4/6,5/6,6/6を検出するための電気回路
図、第5図はマーク率検出回路のマーク率2/6,4/6を検
出するための電気回路図、第6図は符号逆変換回路の電
気回路図、第7図はセレクト回路の電気回路図である。
第8図〜第12図はこの発明の他の実施例を示し、第8図
は基本構成を示す構成説明図、第9図は論理回路図、第
10図は第9図に示した論理回路の論理値を示す説明図、
第11図は6ビットのマーク率への拡張パターンを示す説
明図、第12図は電気回路図である。第13図は5B6B符号則
変換パターンを示す説明図、第14図は従来の5B6B符号則
逆変換回路である。 1a……第1の3:8デコーダ、1b……第2の3:8デコーダ、
2……マーク率検出回路、3……符号逆変換回路、4…
…セレクト回路、51……第1マーク率検出回路、52……
第2マーク率検出回路、53……6ビットマーク率判定回
路。
1 to 7 show an embodiment of the present invention. FIG. 1 is an explanatory diagram showing a basic structure, FIG. 2 to FIG. 2 are explanatory diagrams showing a mark ratio in each bit pattern, and FIG. 3: 8
FIG. 4 is a circuit diagram of a decoder, FIG. 4 is an electric circuit diagram for detecting a mark ratio 0/6, 1/6, 2/6, 4/6, 5/6, 6/6 of a mark ratio detection circuit, and FIG. The figure is an electric circuit diagram for detecting the mark ratio 2/6, 4/6 of the mark ratio detection circuit, FIG. 6 is an electric circuit diagram of the sign inversion circuit, and FIG. 7 is an electric circuit diagram of the select circuit. .
8 to 12 show another embodiment of the present invention. FIG. 8 is an explanatory diagram showing a basic structure, FIG. 9 is a logic circuit diagram, and FIG.
FIG. 10 is an explanatory diagram showing logical values of the logical circuit shown in FIG. 9,
FIG. 11 is an explanatory diagram showing an extension pattern to a 6-bit mark rate, and FIG. 12 is an electric circuit diagram. FIG. 13 is an explanatory diagram showing a 5B6B coding rule conversion pattern, and FIG. 14 is a conventional 5B6B coding rule conversion circuit. 1a ... first 3: 8 decoder, 1b ... second 3: 8 decoder,
2... Mark ratio detection circuit, 3... Sign reverse conversion circuit, 4.
... Select circuit, 51 ... First mark ratio detection circuit, 52 ...
Second mark ratio detection circuit, 53... 6-bit mark ratio determination circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−95649(JP,A) 特開 昭61−145934(JP,A) 特公 平1−51094(JP,B2) 特公 平3−81334(JP,B2) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-95649 (JP, A) JP-A-61-145934 (JP, A) JP-B1-151094 (JP, B2) JPB-B3- 81334 (JP, B2)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】5B6B符号則変換された一連のビットからな
る信号を6ビットずつに分割し、分割した6ビットの内
の上位3ビットから8パターンの信号を発生させる第1
デコーダ(1a)と、前記分割した6ビットの内の下位3
ビットから8パターンの信号を発生させる第2デコーダ
(1b)と、第1及び第2デコーダ(1a)及び(1b)から
の各々8パターンの信号から前記分割した6ビットのマ
ーク率を検出するマーク率検出回路(2)と、マーク率
検出回路(2)によって検出されたマーク率に応じて5B
6B符号則の逆変換を行い前記分割した6ビットを5ビッ
トの信号に変換する符号逆変換回路(3)と、マーク率
検出回路(2)によって検出されたマーク率に応じ、前
記符号逆変換回路(3)によって逆変換された5ビット
の信号、前記分割した6ビットの内の上位5ビットの信
号、又はエラー信号の内から1つを選択して出力するセ
レクト回路(4)を備えてなる5B6B符号則逆変換回路。
1. A first method of dividing a signal consisting of a series of bits converted into a 5B6B code rule into 6 bits, and generating signals of 8 patterns from upper 3 bits of the divided 6 bits.
A decoder (1a) and the lower 3 bits of the divided 6 bits
A second decoder (1b) for generating eight patterns of signals from the bits, and a mark for detecting the divided 6-bit mark ratio from the eight patterns of signals from the first and second decoders (1a) and (1b), respectively. 5B according to the mark ratio detected by the mark detection circuit (2) and the mark ratio detection circuit (2).
A code inverse conversion circuit (3) for performing an inverse conversion of the 6B code rule and converting the divided 6 bits into a 5-bit signal; and the code inverse conversion according to a mark rate detected by a mark rate detection circuit (2). A selection circuit (4) for selecting and outputting one of a 5-bit signal inversely converted by the circuit (3), an upper 5-bit signal of the divided 6 bits, or an error signal; 5B6B coding rule inverse transformation circuit.
【請求項2】5B6B符号則変換された一連のビットからな
る信号を6ビットずつに分割し、分割した6ビットにつ
いて上位3ビットのマーク率を検出する第1マーク率検
出回路(51)と、前記分割した6ビットについて下位3
ビットのマーク率を検出する第2マーク率検出回路(5
2)と、第1マーク率検出回路(51)と第2マーク率検
出回路(52)とによって検出されたマーク率に応じて前
記分割した6ビットのマーク率を判定する6ビットマー
ク率判定回路(53)を備えてなる5B6B符号則逆変換回
路。
2. A first mark rate detection circuit (51) for dividing a signal consisting of a series of bits subjected to 5B6B code rule conversion into 6 bits and detecting a mark rate of upper 3 bits for the 6 bits. The lower 6 bits of the divided 6 bits
The second mark rate detection circuit (5
2) a 6-bit mark rate determination circuit for determining the divided 6-bit mark rate according to the mark rates detected by the first mark rate detection circuit (51) and the second mark rate detection circuit (52) 5B6B code rule inverse conversion circuit comprising (53).
JP2304523A 1990-11-09 1990-11-09 5B6B code rule inversion circuit Expired - Lifetime JP2594699B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2304523A JP2594699B2 (en) 1990-11-09 1990-11-09 5B6B code rule inversion circuit
US07/787,864 US5293165A (en) 1990-11-09 1991-11-05 5B6B coding rule inverse conversion circuit for digital transmission
DE69130249T DE69130249T2 (en) 1990-11-09 1991-11-07 5B6B code decoder
EP91118997A EP0484946B1 (en) 1990-11-09 1991-11-07 Decoder for 5B6B code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2304523A JP2594699B2 (en) 1990-11-09 1990-11-09 5B6B code rule inversion circuit

Publications (2)

Publication Number Publication Date
JPH04176233A JPH04176233A (en) 1992-06-23
JP2594699B2 true JP2594699B2 (en) 1997-03-26

Family

ID=17934046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2304523A Expired - Lifetime JP2594699B2 (en) 1990-11-09 1990-11-09 5B6B code rule inversion circuit

Country Status (1)

Country Link
JP (1) JP2594699B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695644B2 (en) * 1984-12-19 1994-11-24 松下電器産業株式会社 Decoding device for run-length limited code
JPS6451094A (en) * 1987-08-24 1989-02-27 Daiwa Kasei Kk Production of galactoligosaccharide

Also Published As

Publication number Publication date
JPH04176233A (en) 1992-06-23

Similar Documents

Publication Publication Date Title
US4910750A (en) Data transmission system
JPH09162744A (en) Device, method for digital modulation and recording medium for the same
JP2635750B2 (en) Priority determination device
JPH0795667B2 (en) Transversal filter
JP2594699B2 (en) 5B6B code rule inversion circuit
US5293165A (en) 5B6B coding rule inverse conversion circuit for digital transmission
JP2766133B2 (en) Parallel-serial data conversion circuit
US6346906B1 (en) Thermometric-binary code conversion method, conversion circuit therefor and encoder element circuits used therefor
JPS6126853B2 (en)
JP2805636B2 (en) Parallel comparison type A / D converter
JPS6341271B2 (en)
JP2877983B2 (en) A / D converter circuit
SU647682A1 (en) Constant-weight code-to-binary code converter
EP0294614B1 (en) m bit to n bit code converting circuit
JPH1185467A (en) Selection method and selection circuit
JPH01202928A (en) Parallel a/d converter
JP2663733B2 (en) Gray-binary conversion method
JPS61289730A (en) Parallel analog-digital converter
JPH01314023A (en) Digital signal processing circuit
JPS5860857A (en) Code conversion system
JP2500949B2 (en) 5B6B inverse conversion mark rate determination circuit
JPS6229330A (en) Decoding circuit
JPS62139036A (en) Output system for output signal in integrated circuit
JPH05300023A (en) Digital conversion circuit
JPS63279619A (en) Semiconductor circuit