JP2952051B2 - Cell synchronous operation circuit in ATM - Google Patents

Cell synchronous operation circuit in ATM

Info

Publication number
JP2952051B2
JP2952051B2 JP76291A JP76291A JP2952051B2 JP 2952051 B2 JP2952051 B2 JP 2952051B2 JP 76291 A JP76291 A JP 76291A JP 76291 A JP76291 A JP 76291A JP 2952051 B2 JP2952051 B2 JP 2952051B2
Authority
JP
Japan
Prior art keywords
signal
cell
circuit
bit
header
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
JP76291A
Other languages
Japanese (ja)
Other versions
JPH04363927A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP76291A priority Critical patent/JP2952051B2/en
Publication of JPH04363927A publication Critical patent/JPH04363927A/en
Application granted granted Critical
Publication of JP2952051B2 publication Critical patent/JP2952051B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[発明の目的][Object of the Invention]

【0002】[0002]

【産業上の利用分野】本発明は、情報に何らかの冗長を
付加してセルの形にして送受信を行うATMにおける、
セル同期演算回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM for transmitting and receiving information in the form of cells by adding some redundancy to information .
The present invention relates to a cell synchronous operation circuit .

【0003】[0003]

【従来の技術】近年ATM(Asynchronous
Transfer Mode)技術による広帯域通信
についての種々の検討がなされており、CCITT等で
もその方式の統一に向けた各種の議論がなされている。
ATMによる通信は、セルと呼ばれる固定長のパケット
を伝送して通信するものである。このセルを用いた通信
方式に関してCCITTにおいて規格の統一に向けた議
論がなされており、以下ではCCITTにおける勧告の
内容について述べる。
2. Description of the Related Art In recent years, ATMs (Asynchronous) have been used.
Various studies have been made on broadband communication using a transfer mode (Transfer Mode) technique, and various discussions have been made in CCITT and the like to unify the schemes.
The communication by ATM is a communication in which a fixed-length packet called a cell is transmitted. The CCITT has been discussing the standardization of the communication system using this cell, and the content of the recommendation in the CCITT will be described below.

【0004】セル長は53バイトであり、そのうちヘッ
ダ部分が5バイト、ペイロード部分が48バイトであ
る。この5バイト、すなわち40ビットのセルヘッダの
うち、初めの32ビットはセルの種別やVPI(Vir
tual PathIdentifier),VCI
(Virtual Channel Identifi
er)といったあて先情報等を表すパラメータが書かれ
ている。残りの8ビットはその32ビットに対する冗長
部分であり、HEC(Header ErrorCon
trol)と呼ばれる。このHEC部分は、その以前の
32ビットに依存した値をとるという性質を利用して、
後述する様に各ノードの受信側および受信端末部におけ
るセル同期やセルヘッダの誤り訂正/検出に用いられ
る。
[0004] The cell length is 53 bytes, of which the header part is 5 bytes and the payload part is 48 bytes. Of the 5 bytes, that is, the 40-bit cell header, the first 32 bits are the cell type and VPI (Vir).
dual PathIdentifier), VCI
(Virtual Channel Identify
er) is written. The remaining 8 bits are a redundant portion for the 32 bits, and are HEC (Header Error Con).
troll). This HEC part takes advantage of the property of taking a value depending on the previous 32 bits,
As described later, it is used for cell synchronization and error correction / detection of a cell header on the receiving side and the receiving terminal unit of each node.

【0005】ここで、上記セルヘッダにおけるVPIや
VCIは送信端末から受信端末まで同じ値をとるとは限
らず、途中のノードでしばしば書き換えられる。従っ
て、HEC部分は各送信装置および各交換ノードの出力
装置側で、該当する値を計算により求めて付加する必要
がある。
[0005] Here, the VPI and VCI in the cell header do not always take the same value from the transmitting terminal to the receiving terminal, and are often rewritten by nodes in the middle. Therefore, the HEC part needs to be calculated and added at the output device side of each transmitting device and each switching node.

【0006】HEC部分の生成法は、巡回符号の特性に
基づいたものである。まずセルヘッダの5バイト目にあ
たるHEC8ビットをすべて0とし、セルヘッダ40ビ
ットを多項式表現として、M(X)で表す。例えばセル
ヘッダが0,1の2進数表現で(00001001 0
0000010 00100001 00000110
00000000)と表されたとすると、M(X)は M(X)=X35+X32+X25+X21+X16+X10+X9 (1) となる。ここで生成多項式をG(X)とし、上記M
(X)をG(X)で割った剰余をR(X)とすると、例
えば上記のM(X)については、 R(X)=M(X)modG(X) =X7 +X6 +X4 +X3 +1 (2) G(X)=X8 +X2 +X+1 となる。このR(X)を0,1の2進表示になおすと
(1,1,0,1,1,0,0,1)であり、これに
(0,1,0,1,0,1,0,1)というあらかじめ
定まった固定パターンをビット毎の演算でモジュロ2で
足し算したものをHEC部分の値として、ヘッダの5バ
イト目に挿入する。すなわち、上記の例でHEC部分の
値は (1,1,0,1,1,0,0,0) (+)(0,1,0,1,0,1,0,1) =(1,0,0,0,1,1,0,1) (3) となり、従ってセルヘッダは2進表示で(000010
01 0000001000100001 00000
110 10001101)となる。ただし、(+)は
モジュロ2でのビット毎の加算を表す。
[0006] The method of generating the HEC part is based on the characteristics of the cyclic code. First, 8 bits of HEC corresponding to the fifth byte of the cell header are all set to 0, and 40 bits of the cell header are represented by M (X) as a polynomial expression. For example, the cell header is expressed in binary notation of 0, 1 (000010001 0
0000010 00100001 00000110
00000000), M (X) becomes M (X) = X 35 + X 32 + X 25 + X 21 + X 16 + X 10 + X 9 (1) Here, the generator polynomial is G (X), and the above M
Assuming that the remainder obtained by dividing (X) by G (X) is R (X), for example, for the above M (X), R (X) = M (X) mod G (X) = X 7 + X 6 + X 4 + X 3 +1 (2) G (X) = X 8 + X 2 + X + 1 When this R (X) is converted to a binary representation of 0, 1 (1,1,0,1,1,0,0,1), (0,1,0,1,0,1) , 0, 1) is added to the fifth byte of the header as the value of the HEC part, which is obtained by adding modulo 2 to a predetermined fixed pattern by a bitwise operation. That is, in the above example, the value of the HEC part is (1,1,0,1,1,0,0,0) (+) (0,1,0,1,0,1,0,1) = ( 1,0,0,0,1,1,0,1) (3), and therefore the cell header is represented in binary notation (000010).
01 0000001000100001 00000
110 10001101). Here, (+) indicates addition for each bit in modulo 2.

【0007】ところでATM技術を用いた通信において
は送信側と受信側での同期がとれていないため、セルが
いつ到着するかが分からない。従って何らかの方法でセ
ルの先頭を見つける必要がある。また一旦セル同期をと
ることができたとしても、ビットずれ等の事情により先
頭の位置の位相が変わったりする可能性があるため、引
き続き監視しておく必要がある。CCITTの勧告によ
れば、上記のHEC部分を用いた方法によりセル同期を
とる方法が示されている。
[0007] In communication using the ATM technology, since the transmitting side and the receiving side are not synchronized, it is not known when a cell arrives. Therefore, it is necessary to find the beginning of the cell in some way. Even if the cell synchronization can be achieved once, the phase at the head position may change due to circumstances such as a bit shift or the like, so that it is necessary to continuously monitor the phase. According to the recommendation of CCITT, a method of achieving cell synchronization by the above-described method using the HEC part is described.

【0008】まず、上述のようにして生成されたセルヘ
ッダは次のような性質を持っている。上述のアルゴリズ
ムにより生成されたセルヘッダ40ビットを先程の様に
多項式表現したものをH(X)とする。いまH(X)か
ら2進表示で(0,1,0,1,0,1,0,1)を多
項式表現したものを引く。その結果C(X)は C(X)=H(X)−(X6 +X4 +X2 +1) =M(X)+R(X) (4) であり、実はC(X)はG(X)を生成多項式とする短
縮巡回符号の符号語になるので、C(X)はG(X)で
割り切れる。
First, the cell header generated as described above has the following properties. A 40-bit cell header generated by the above-described algorithm is represented as H (X) by a polynomial expression as described above. Now, a polynomial expression of (0, 1, 0, 1, 0, 1, 0, 1) in binary notation is subtracted from H (X). As a result, C (X) is C (X) = H (X) − (X 6 + X 4 + X 2 +1) = M (X) + R (X) (4) In fact, C (X) is G (X) ) Is a code word of a shortened cyclic code in which C (X) is a generator polynomial, so that C (X) is divisible by G (X).

【0009】このことを利用してセル同期をとる。すな
わちここがセル同期であると思われるところの40ビッ
トに対してまず34,36,38,40ビット目を反転
し、その後その40ビットをG(X)で割って割り切れ
たならば、そこでセルのヘッダ部分であると判断し、セ
ルヘッダの先頭をセルの先頭であるとみなす。
Using this, cell synchronization is achieved. That is, first, the 34th, 36th, 38th, and 40th bits are inverted with respect to the 40 bits that are considered to be cell-synchronous, and then the 40 bits are divided by G (X). , And the head of the cell header is regarded as the head of the cell.

【0010】ところで、セル同期にはHUNT状態、P
RESYNC状態、SYNCH状態の3状態があり、こ
れらについて説明する。
By the way, the HUNT state, P
There are three states, a RESYNC state and a SYNCH state, which will be described.

【0011】まずセル同期が全くとれていない状態をH
UNT状態という。このときにはビット毎にセルの先頭
位置を探索する。すなわち、任意の40ビットに対して
上述のビット反転を行った後、G(X)による除算を行
い、余りが0になるところを探す。
First, a state in which cell synchronization is not achieved at all is H
It is called UNT state. At this time, the head position of the cell is searched for each bit. That is, after performing the above-described bit inversion on an arbitrary 40 bits, division by G (X) is performed, and a portion where the remainder becomes 0 is searched.

【0012】このようにして一度正しく割りきれる部分
が見つかると、そこを仮のセルヘッダとみなして、PR
ESYNC状態になる。PRESYNC状態では仮定さ
れるヘッダ部分は決まっているので、1セル毎にそのヘ
ッダ部分の除算を行う。そしてもしDELTA回連続し
て正しく割り切れれば、そこがほぼ間違いなくセルヘッ
ダ部分とみなして、SYNCH状態になる。しかしなが
らそれまでにもし1回でも誤りのあるセルヘッダが得ら
れると、再びHUNT状態に戻る。
Once a part which can be correctly divided is found in this way, it is regarded as a temporary cell header and PR
It goes into the ESYNC state. In the PRESYNC state, the assumed header portion is fixed, so that the header portion is divided for each cell. If the data is divided by DELTA times consecutively and correctly, it is almost certainly regarded as a cell header portion, and a SYNCH state is set. However, if an erroneous cell header is obtained even once, the state returns to the HUNT state again.

【0013】SYNCH状態でもセルヘッダ部分の計算
方法は全く同じである。ただしこの状態の場合には、セ
ルヘッダに対する除算がALPHA回連続して割りきれ
なかった場合にHUNT状態に戻る。それ以外ではこの
状態を続ける。
In the SYNCH state, the method of calculating the cell header is exactly the same. However, in this state, if the division for the cell header cannot be continuously performed by ALPHA times, the state returns to the HUNT state. Otherwise, keep this state.

【0014】上述したようにセルヘッダが正しいとき、
それを多項式表現でH(X)とすると対応するC(X)
は符号語である。この符号は、G(X)を生成多項式と
しているため、最小ハミング距離が4である。すなわち
各符号語は他の符号語と少なくとも4ビットの0,1の
違いを有している。なぜならばG(X)は、 G(X)=X8 +X2 +X+1 =(X+1)(X7 +X6 +X5 +X4 +X3 +X2 +1) (5) の様に、X+1と7次の原始多項式の積に因数分解され
るからである。従って、これを用いるとセルヘッダの1
ビット誤り訂正/2ビット誤り検出、もしくは3ビット
の誤り検出が可能である。
As described above, when the cell header is correct,
If it is expressed as H (X) in a polynomial expression, the corresponding C (X)
Is a code word. Since this code uses G (X) as a generator polynomial, the minimum Hamming distance is 4. That is, each codeword has at least a 4-bit difference of 0 and 1 from other codewords. Because G (X) is expressed as follows: G (X) = X 8 + X 2 + X + 1 = (X + 1) (X 7 + X 6 + X 5 + X 4 + X 3 + X 2 +1) (5) This is because it is factored into polynomial products. Therefore, when this is used, 1 of the cell header is used.
Bit error correction / 2-bit error detection or 3-bit error detection is possible.

【0015】SYNCH状態においては、セル同期に用
いるものと同一の演算によって1セル毎に検索をし、割
り切れるかの判定に加えて、割りきれなかった場合には
ヘッダに誤りがあるとみなして、誤りの訂正あるいは検
出を行う。その方法は誤り訂正モード、誤り検出モード
のいずれかのモード指定による。
In the SYNCH state, a search is performed for each cell by the same operation as that used for cell synchronization. In addition to determining whether the cell is divisible, if the cell cannot be divided, the header is regarded as having an error. Corrects or detects errors. The method depends on designation of one of the error correction mode and the error detection mode.

【0016】誤り訂正モードでは、誤ったヘッダと判断
された場合、そのときのヘッダの誤りが1ビットならば
それを訂正する。もし2ビット以上の誤りであるとわか
ればそのセルを廃棄する。それに対し誤り検出モードで
は、セルヘッダが正しくないことが分かった時点で、そ
のセルを廃棄する。
In the error correction mode, if an erroneous header is determined, if the header error at that time is one bit, it is corrected. If an error of 2 bits or more is found, the cell is discarded. In the error detection mode, on the other hand, when the cell header is found to be incorrect, the cell is discarded.

【0017】PRESYNC状態からSYNCH状態に
移ったときは誤り訂正モードから始まる。このモードで
正しいヘッダが得られている限りはそのままのモードに
とどまる。もし、誤ったヘッダが得られたら、誤ったビ
ット数に応じてヘッダの訂正あるいは検出を行った後、
誤り検出モードに遷移する。誤り検出モードでは、もし
一度正しいセルヘッダが得られれば誤り訂正モードに遷
移する。ヘッダに誤りがあると、それを検出したとして
表示する。
When the state shifts from the PRESYNC state to the SYNCH state, the operation starts from the error correction mode. As long as the correct header is obtained in this mode, the mode remains as it is. If an incorrect header is obtained, correct or detect the header according to the wrong number of bits,
Transition to the error detection mode. In the error detection mode, if a correct cell header is obtained once, the mode transits to the error correction mode. If there is an error in the header, it indicates that it has been detected.

【0018】次に、セルの伝送形態については、外部フ
レームのあるものとないものがあり、外部フレームのな
いものはセルベース、外部フレーム付きのものはSDH
(Synchronous Digital Hier
achy)ベースと呼ばれる。SDHベースの場合はそ
のフレームからの情報により、バイト周期を得ることが
できる。すなわち受信側において、入力されるデータ系
列を8ビット毎に区切ったとすると、セルの先頭が8ビ
ット中の何ビット目にあるかという情報を得ることがで
きる。従ってこの場合、上記のセル同期もバイト毎にそ
の特定ビットを開始点として検査すればよいことにな
る。
Next, there are two types of cell transmission, one with and without an external frame, the one without an external frame is cell-based, and the one with an external frame is SDH.
(Synchronous Digital Hier
achy) called the base. In the case of the SDH base, a byte cycle can be obtained from information from the frame. That is, if the input data sequence is divided into 8 bits on the receiving side, it is possible to obtain information as to which bit of the 8 bits the head of the cell is. Therefore, in this case, the cell synchronization described above only needs to be checked for each byte using the specific bit as a starting point.

【0019】またSDHベースの場合には、送信側にお
いて48バイトのペイロード部分のみに対してスクラン
ブルをかける。これは故意にあるいは偶然に情報部分に
0または1が連続して続いたとすると、ビット同期をと
るのが非常に困難となるためである。これに対して受信
側ではPRESYNC状態およびSYNCH状態におい
て、セルヘッダとペイロード部分との切り分けができる
ので、48バイトのペイロード部分のみに対してディス
クランブルをかける。これは自己同期式のスクランブラ
・ディスクランブラであり、生成多項式は F(X)=X43+1 (6) である。このスクランブルおよびディスクランブルに用
いるデータとしてヘッダ部分を含むか否かは明文化され
ていないが、通常はヘッダ部分を除いて行うと解釈され
る。HUNT状態ではペイロード部分が明確でないた
め、このディスクランブラを行わない。なお、セルベー
スの場合には別のスクランブル方式が提案されている。
In the case of the SDH base, the transmitting side scrambles only the 48-byte payload portion. This is because it is extremely difficult to achieve bit synchronization if 0 or 1 continues in succession in the information portion intentionally or accidentally. On the other hand, on the receiving side, in the PRESYNC state and the SYNCH state, the cell header and the payload portion can be separated, so that only the 48-byte payload portion is descrambled. This is a self-synchronous scrambler / descrambler, and the generator polynomial is F (X) = X 43 +1 (6). Whether or not the data used for the scrambling and descrambling includes a header portion is not specified, but it is usually interpreted to exclude the header portion. Since the payload portion is not clear in the HUNT state, this descrambler is not performed. Note that another scrambling scheme has been proposed for the cell-based case.

【0020】ところで以上に述べてきたものが、規格統
一のためのCCITTの勧告である。このCCITTの
勧告に対する具体的な回路の実現方法として、セル同期
回路の提案としては例えば豊島、龍野、“ヘッダ誤り制
御によるセル同期回路構成法の検討”(信学技報CS8
9−70)、龍野、戸倉、“ヘッダ誤り制御によるセル
同期方式の一検討”(信学技報DSP89−51)など
がある。これらの提案によると、セルベースにおいては
少なくとも1ビット毎に、またSDHベースでパラレル
入力の場合には1バイト毎にセルの同期検索ができるこ
とが示されている。またこのセル同期機能とヘッダ誤り
制御機能をあわせもつことが可能であることが述べられ
ているが、その具体的な回路としての実現法に関しては
述べられていない。
By the way, what has been described above is the recommendation of CCITT for standardization. As a specific circuit realizing method for the CCITT recommendation, for example, Toshima and Tatsuno, "Study of Cell Synchronous Circuit Configuration Method by Header Error Control" (Proceedings of IEICE Tech.
9-70), Tatsuno and Tokura, "A Study of Cell Synchronization Method Using Header Error Control" (IEICE Technical Report DSP 89-51). According to these proposals, it is shown that a cell can be synchronously searched for at least one bit on a cell basis, and one byte for an SDH based parallel input. In addition, it is described that it is possible to have both the cell synchronization function and the header error control function, but there is no description about a concrete method of realizing the circuit.

【0021】実際にHUNT状態でセル同期をとる際に
は、入力されたデータのヘッダ長に相当する5バイト部
分を調べて、そこの5バイト目がセルの先頭であるか検
索するが、このとき、その検査部分以前に入力された4
3ビット分のデータを常に蓄積しておく必要がある。こ
れは、その5バイト部分がセルの先頭であるとみなされ
た場合、前述したようにその直後からPRESYNC状
態となって、ペイロード部分のディスクランブルにヘッ
ダ部分を除いた43ビット前からのデータが用いられる
ためである。また、その検査した5バイトがセルの先頭
でないと判断された場合には、シフトして次の5バイト
部分の検査に移るが、このときシフトされて検査に用い
られなくなったデータは、新たな43ビットデータの一
部となる。従って、検査されている5バイト分のデータ
も検査の間蓄積しておく必要がある。すなわちセル同期
とペイロードのディスクランブルの機能を実現するため
には、合計83ビット分のデータ蓄積部が必要となる。
When cell synchronization is actually performed in the HUNT state, a 5-byte portion corresponding to the header length of input data is checked, and a search is made as to whether the fifth byte is the head of the cell. Sometimes, 4
It is necessary to always accumulate 3-bit data. When the 5-byte portion is considered to be the head of the cell, as described above, a PRESYNC state is entered immediately after that, and data from 43 bits before the header portion excluding the header portion is included in the descrambling of the payload portion. Because it is used. If it is determined that the inspected 5 bytes are not at the head of the cell, the data is shifted and the inspection of the next 5 bytes is performed. It becomes a part of 43-bit data. Therefore, it is necessary to accumulate the data of 5 bytes to be inspected during the inspection. That is, in order to realize the functions of cell synchronization and payload descrambling, a data storage unit for a total of 83 bits is required.

【0022】次に、HUNT状態でセル同期をとる際
に、1ビットあるいは1バイト毎に検索をしようとする
ときには、毎回40ビットをあらためて検査回路に入力
するのは処理のオーバヘッドが大きくなり非常に時間が
かかってしまう。従ってある40ビットの検査から次の
40ビットの検査に移る場合には、新たな1ビットある
いは1バイトを入力すると同時に、以前の先頭部分の1
ビットあるいは1バイトを用いて、検査回路中のそれら
の古いデータによる値を打ち消すような構成をとること
によって対処する。そうすると、新たに検査するときに
打ち消すための5バイト前の1ビットあるいは1バイト
のデータを蓄積しておく必要がある。
Next, when cell synchronization is to be performed in the HUNT state, when a search is to be performed for each bit or byte, re-inputting 40 bits each time to the inspection circuit requires a large processing overhead, which greatly increases the processing overhead. It takes time. Therefore, when shifting from a certain 40-bit test to the next 40-bit test, a new 1-bit or 1-byte is input, and at the same time, 1
A countermeasure is taken by using a bit or 1 byte so as to cancel the value of the old data in the inspection circuit. In this case, it is necessary to accumulate 1-bit or 1-byte data 5 bytes before to cancel when newly inspecting.

【0023】さらに、SYNCH状態で誤り訂正モード
の時に、入力されたセルヘッダに対しそのヘッダ誤りの
有無をチェックし、1ビット誤りの場合には訂正パター
ンを生成し、ヘッダ部分に排他的論理和で足し込むのが
一般的であり、このためヘッダをヘッダ誤り検査回路に
入力してからその訂正パターンが出力されるまで、セル
ヘッダを蓄積しておく回路が必要となる。
Furthermore, in the error correction mode in the SYNC state, the presence or absence of the header error is checked for the input cell header, and in the case of a one-bit error, a correction pattern is generated, and the exclusive OR is added to the header part. In general, it is necessary to add a circuit for storing the cell header from when the header is input to the header error check circuit until the correction pattern is output.

【0024】以上のような蓄積回路の必要性に関して、
上記の資料では述べられていなかったが、従来技術とし
てはこの場合、これらの回路が別々に設けられるものと
解釈できる。従ってこれらの蓄積回路のため、回路規模
が大きくなるという問題があった。
Regarding the necessity of the storage circuit as described above,
Although not described in the above document, in the prior art, in this case, these circuits can be interpreted as being provided separately. Therefore, there is a problem that the circuit scale becomes large due to these storage circuits.

【0025】また、送信側の回路におけるHEC生成法
に関しては、田中、柳、高瀬、古谷、高崎、“並列型H
EC計算回路の検討”(1990年信学全大B−57
5)により、シリアル入力、パラレル入力の両方に対し
て、除算回路を用いた生成法が図6に示されている。こ
の従来技術は、実施例にも比較のために用いている。し
かしながら、この従来方法においては除算回路のみを用
いており、セルヘッダ40ビットにおいて最後の8ビッ
トをあらかじめすべて1に設定しておかねばならず、ま
た40ビットすべてを入力した後にHEC部分が生成さ
れるため、最後のデータが入力されてから生成されたH
EC部分が出てくるまでに8ビット分の遅延が生じてし
まい、時間が余計にかかるだけでなく、8ビット分の遅
延回路が増加してしまうという問題があった。
Regarding the HEC generation method in the transmission side circuit, Tanaka, Yanagi, Takase, Furuya, Takasaki, “Parallel H
Examination of EC calculation circuit "(1990-76
FIG. 6 shows a generation method using a divider circuit for both serial input and parallel input according to 5). This prior art is also used in the examples for comparison. However, in this conventional method, only the divider circuit is used, all the last 8 bits in the cell header 40 bits must be set to 1 in advance, and the HEC portion is generated after inputting all 40 bits. Therefore, H generated after the last data is input
There is a problem that an 8-bit delay occurs before the EC portion comes out, which not only takes extra time but also increases the 8-bit delay circuit.

【0026】[0026]

【発明が解決しようとする課題】以上説明したように、
CCITTに対応した従来の送信側のHEC生成回路に
おいては、除算回路のみを用いたために8ビット分の入
出力の遅延とその分の遅延回路がついてしまうという問
題があった。
As described above,
In the conventional HEC generation circuit on the transmission side corresponding to CCITT, there is a problem that an input / output delay corresponding to 8 bits and a delay circuit corresponding thereto are added because only the divider circuit is used.

【0027】また、受信側においては、セル同期機能と
ディスクランブル機能を同時に実現するためのセルヘッ
ダ部分のデータ蓄積回路と、ヘッダ誤り訂正を行うため
にその訂正パターンを生成する間必要な訂正されるべき
セルヘッダ部の蓄積回路と、セル同期のための検査回路
への入力データをシリアル入力に対して少なくとも1ビ
ット毎、8ビットパラレル入力に対しては少なくとも1
バイト毎に更新する際に、検査回路より取り除かれるべ
き最古の1ビット以上あるいは1バイト以上のデータを
蓄えておく回路が必要になると考えられるが、その実現
方法は確立されておらず、セル同期回路および誤り制御
回路の実現法として、これらの蓄積回路を考慮したもの
はなく、従ってこれらの回路を別々に設けることが前提
とされていた。
On the receiving side, a data storage circuit in a cell header portion for simultaneously realizing a cell synchronization function and a descrambling function, and correction necessary for generating a correction pattern for performing header error correction are performed. The input data to the storage circuit of the power cell header section and the input circuit to the inspection circuit for cell synchronization should be at least one bit per serial input and at least one bit per 8 bit parallel input.
When updating every byte, it is considered that a circuit for storing the oldest data of 1 bit or more or 1 byte or more to be removed from the inspection circuit is considered to be necessary. As a method of realizing a synchronous circuit and an error control circuit, there is no method considering these storage circuits, and it has been assumed that these circuits are separately provided.

【0028】本発明は以上の点を鑑みてなされたもの
で、その目的は、入力したセルヘッダに対し、遅延を最
小にすることおよび回路規模の縮小化をはかることので
きるATM送信側のHEC生成回路を提供することであ
る。
The present invention has been made in view of the above points, and an object of the present invention is to generate an HEC on an ATM transmitting side capable of minimizing a delay and reducing a circuit size of an input cell header. Is to provide a circuit.

【0029】また本発明の他の目的は、セルの同期機能
およびディスクランブル機能の達成において、データ蓄
積部の回路規模を小さくすることのできるATM受信回
路系を提供することである。
Another object of the present invention is to provide an ATM receiving circuit system capable of reducing the circuit scale of a data storage unit in achieving a cell synchronization function and a descrambling function.

【0030】[発明の構成][Structure of the Invention]

【0031】[0031]

【課題を解決するための手段】本発明の特徴は、ATM
送信回路系において、少なくとも、入力セルヘッダに対
し第1の多項式を用いた乗算と第2の多項式を用いた除
算とを、同時に行い、該除算回路の剰余部分を用いてセ
ルヘッダに対する冗長ビットを生成するHEC生成回路
を有するセルヘッダ生成回路を具備することである。
SUMMARY OF THE INVENTION The feature of the present invention is that an ATM is used.
In the transmission circuit system, at least multiplication using the first polynomial and division using the second polynomial are performed simultaneously on the input cell header, and redundant bits for the cell header are generated using the remainder of the division circuit. A cell header generation circuit having an HEC generation circuit is provided.

【0032】本発明の他の特徴は、ATM受信回路系に
おいて、セル同期のために検査されるセルのデータを蓄
えておく機能と、前記セル同期のための検査回路に入力
されるデータの更新の際に該検査回路より取り除くべき
データを蓄えておく機能と、該冗長ビットを用いてセル
の全体あるいは一部分の誤り訂正を行う際に、該訂正デ
ータの訂正パターンが生成されるまで、該冗長ビットに
よって保護されたセルのデータを蓄えておく機能とを、
同時に有するシフトレジスタ回路を具備することであ
る。
Another feature of the present invention is that in an ATM receiving circuit system, a function of storing data of a cell to be inspected for cell synchronization, and a function of updating data input to the inspection circuit for cell synchronization. And a function of storing data to be removed from the check circuit at the time of error correction, and when performing error correction on the whole or a part of the cell using the redundant bits, the redundant data is stored until a correction pattern of the corrected data is generated. The function to store the data of the cell protected by the bit,
That is, the shift register circuit provided at the same time is provided.

【0033】[0033]

【作用】本発明に従うATMの送信側においては、セル
ヘッダに対する冗長ビットを生成する際に、元のデータ
をある多項式で乗算したものの出力を直接該当する除算
回路の多項式で割った剰余を用いることによって、元の
データを入力した直後に冗長ビットを発生させることが
可能となり、これをパケットのセルヘッダに直ちに付加
することにより、データ信号が入力してから出力するま
での回路内の遅延を最小に抑えることができる。またそ
れにより遅延のある場合に必要となる遅延回路が不要と
なり、回路規模の削減ができる。
On the transmitting side of the ATM according to the present invention, when generating redundant bits for the cell header, the remainder obtained by directly multiplying the original data by a certain polynomial and dividing the output by the polynomial of the corresponding division circuit is used. , A redundant bit can be generated immediately after the original data is input, and this is immediately added to the cell header of the packet, thereby minimizing the delay in the circuit from the input of the data signal to the output of the data signal. be able to. This also eliminates the need for a delay circuit required when there is a delay, thereby reducing the circuit scale.

【0034】また本発明に従うATMの受信側において
は、セルのペイロード部分に対してかけられるディスク
ランブルとセル同期を同時に実現するために必要となる
セルヘッダ部分のデータ蓄積機能と、セル同期のための
検査回路への入力データをシリアル入力の場合は少なく
とも1ビット毎に、また8ビットパラレル入力の場合は
少なくとも1バイト毎に更新する際に、上記検査回路よ
り取り除くべき1ビット以上あるいは1バイト以上のデ
ータを蓄えておく機能と、冗長ビットを用いてセルの全
体あるいは一部分に誤りがないか検査し、誤りが見つか
った場合には誤り訂正を行う際に、該訂正データを上記
誤り訂正パターンが生成されるまで蓄えておく機能とを
同時に有するシフトレジスタ回路を用いることにより、
回路規模を縮小することができる。
On the receiving side of the ATM according to the present invention, a data storage function of a cell header portion necessary for simultaneously realizing descrambling applied to a payload portion of a cell and cell synchronization, and a function for cell synchronization. When the input data to the inspection circuit is updated at least every bit in the case of serial input and at least every byte in the case of 8-bit parallel input, one or more bits or one or more bytes to be removed from the inspection circuit are updated. The function of storing data and the use of redundant bits are used to check for errors in the whole or part of the cell. If an error is found, the error correction pattern is generated when the error is corrected. By using a shift register circuit that has the function of storing until the
The circuit scale can be reduced.

【0035】[0035]

【実施例】以下の実施例を図面に従って説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The following embodiments will be described with reference to the drawings.

【0036】図1は本発明に従うATM送信回路系にお
けるセル生成演算回路の一実施例を示したブロック図で
ある。
FIG. 1 is a block diagram showing an embodiment of a cell generation operation circuit in an ATM transmission circuit system according to the present invention.

【0037】入力信号としてはセルクロック101と、
セル長データ信号102があり、セルクロック101は
セルデータのセルの先頭と何らかの関係を保って入力さ
れる。例えばセル長データ信号102の先頭ビットが入
力されると同時にセルクロック101が立ち上がり、決
まったクロック数の間それを保持し、その後立ち下がる
等の入力パターンとなっている。またここで入力される
セル長データ信号102とは、この回路の前段にてヘッ
ダ部分の書き換え、あるいは書き込みがあり、従ってセ
ルの長さは保たれているものの、そのヘッダの5バイト
目は正しいHECの値をとっているとは限らないような
入力信号を想定している。
As input signals, a cell clock 101,
There is a cell length data signal 102, and the cell clock 101 is inputted while maintaining some relationship with the head of the cell of the cell data. For example, the input pattern is such that the cell clock 101 rises at the same time as the first bit of the cell length data signal 102 is input, holds it for a fixed number of clocks, and then falls. The cell length data signal 102 input here has a header portion rewritten or written in the previous stage of this circuit, and therefore, although the cell length is maintained, the fifth byte of the header is correct. An input signal that does not always take the value of HEC is assumed.

【0038】セルカウンタ10は、セルクロック101
の立ち上がりあるいは立ち下がりを検出してリセットす
る。またちょうど1セル長分をカウントすると自動的に
元に戻るようになっている。従って通常時はカウンタ1
0からの出力値を見れば現在セルのどの部分が入力ある
いは出力されているかが分かるようになっている。それ
でカウンタ値の出力信号103を受け取った制御回路1
1は、これらの値をみて適宜必要な制御信号を出力す
る。またセルクロック101は一度入力しておけばタイ
ミングが変わらない限り以前のタイミングを保持するの
で必ずしも毎回入力する必要はない。さらに前段の回路
にて何らかの異常があり、データ長が一時的に変化して
しまうこと等があったとしても、異常状態から回復した
後の最初の正しいセルクロック信号の入力により、正し
い状態に復元できる。
The cell counter 10 has a cell clock 101
Is reset by detecting the rising or falling edge of. Also, when just one cell length is counted, it automatically returns to the original state. Therefore, normally, the counter 1
By looking at the output value from 0, it is possible to know which part of the cell is currently being input or output. Thus, the control circuit 1 that has received the output signal 103 of the counter value
1 outputs a necessary control signal as appropriate based on these values. Further, once the cell clock 101 is input, the previous timing is retained as long as the timing does not change. Therefore, it is not always necessary to input the cell clock 101 every time. In addition, even if there is some abnormality in the previous circuit and the data length may temporarily change, etc., the correct state can be restored by inputting the first correct cell clock signal after recovery from the abnormal state. it can.

【0039】HEC生成回路12では、制御信号104
に従ってセルデータ入力からそのヘッダ部分の先頭4バ
イトをとりだして5バイト目のHECを生成する。従っ
てHEC生成回路12からの出力信号109は、規格通
りのセルヘッダ5バイトとペイロード48バイトをもつ
完全なセルの形をとった信号になっている。この回路の
詳細については後述する。
In the HEC generation circuit 12, the control signal 104
, The first 4 bytes of the header portion are taken from the cell data input and the fifth byte HEC is generated. Therefore, the output signal 109 from the HEC generation circuit 12 is a signal in the form of a complete cell having a cell header of 5 bytes and a payload of 48 bytes as specified. Details of this circuit will be described later.

【0040】セレクタ13と、シフトレジスタ回路
(A)15と、シフトレジスタ回路(B)16とはあわ
せて前述した数式(6)に示したF(X)による自己同
期型スクランブルを行う。後述する他のスクランブルと
区別するため、このスクランブルをスクランブル(P)
と呼ぶことにする。シフトレジスタ回路(A)15は、
43ビット長のレジスタを有しており、セレクタ13か
らの出力信号110がそのままレジスタに入力される。
シフトレジスタ回路(B)16は40ビット長のレジス
タを有しており、シフトレジスタ回路(A)15からの
出力信号106がそのままレジスタに入力される。
The selector 13, the shift register circuit (A) 15, and the shift register circuit (B) 16 together perform self-synchronous scrambling by F (X) shown in the above equation (6). This scramble is referred to as scramble (P) to distinguish it from other scrambles described later.
I will call it. The shift register circuit (A) 15
It has a 43-bit register, and the output signal 110 from the selector 13 is directly input to the register.
The shift register circuit (B) 16 has a register having a length of 40 bits, and the output signal 106 from the shift register circuit (A) 15 is directly input to the register.

【0041】HEC生成回路12から出力されたセルデ
ータ信号109は、3つに分かれ、1つ目はそのままセ
レクタ13へ、2つ目はシフトレジスタ回路(A)15
からの出力信号106と排他的論理和をとられ、信号1
08としてセレクタ13に達し、3つ目はシフトレジス
タ回路(B)16からの出力信号112と排他的論理和
をとられ、信号107としてセレクタ13に達する。セ
レクタ13では、制御回路11からの信号105によっ
て、ヘッダ部分が通過するときは信号109を、ヘッダ
通過後43ビットクロック分は信号107を、それ以外
は信号108をそれぞれ選択して出力信号110として
出力する。
The cell data signal 109 output from the HEC generation circuit 12 is divided into three, the first being to the selector 13 as it is, and the second being to the shift register circuit (A) 15
Is exclusive-ORed with the output signal 106 from the
The signal reaches the selector 13 as 08, and the third signal is exclusive-ORed with the output signal 112 from the shift register circuit (B) 16, and reaches the selector 13 as a signal 107. In the selector 13, the signal 109 from the control circuit 11 selects the signal 109 when the header portion passes, the signal 107 for the 43-bit clock after passing the header, and the signal 108 otherwise, and selects the signal 108 as the output signal 110. Output.

【0042】この選択動作の詳細を図2(A),図2
(B),図2(C)に示す。前述したようにF(X)に
よるスクランブル(P)はセルのペイロード部分のみに
かけるものであり、従って信号109にセルの先頭ビッ
トが到着すると、図2(A)のようにセレクタが信号1
09を出力110に接続する。すなわち何も操作せずに
通す。このヘッダ部分はシフトレジスタ回路(A)15
に順に入力されシフトする。
The details of this selection operation are shown in FIGS.
(B) and FIG. 2 (C). As described above, the scrambling (P) by F (X) is applied only to the payload portion of the cell. Therefore, when the head bit of the cell arrives at the signal 109, the selector sets the signal 1 as shown in FIG.
09 is connected to output 110. That is, it passes without operating anything. This header part is the shift register circuit (A) 15
Are sequentially input and shifted.

【0043】40ビットのセルヘッダがセレクタ13を
通過すると、信号109は最初のペイロードビットにな
る。従ってここはスクランブル(P)をかける必要があ
り、F(X)によるスクランブルでは43ビット前のス
クランブル(P)されたペイロードビットの排他的論理
和をとる必要があるが、このときシフトレジスタ回路
(A)15には40ビット分のヘッダがあり、これはス
クランブル(P)のデータとしては使用されない。必要
な43ビット前のペイロード信号はシフトレジスタ回路
(B)16から出力される信号112のビットである。
従って、図2(B)に示される様に信号112と信号1
09との排他的論理和をとった信号107が選択されて
信号110として出力される。このようにして各シフト
レジスタ回路の中身は順にシフトしていくが、セルヘッ
ダ40ビットがこの両シフトレジスタ回路内にある間は
常に両シフトレジスタ回路内のペイロードビット19の
合計が43になるため、その間ずっと信号107が選択
される。
When the 40-bit cell header passes through the selector 13, the signal 109 becomes the first payload bit. Therefore, it is necessary to scramble (P) here. In scrambling by F (X), it is necessary to take an exclusive OR of the scrambled (P) payload bits 43 bits before. At this time, the shift register circuit ( A) 15 has a header of 40 bits, which is not used as scramble (P) data. The required payload signal 43 bits ahead is the bit of the signal 112 output from the shift register circuit (B) 16.
Therefore, as shown in FIG.
The signal 107 obtained by performing an exclusive OR operation with 09 is selected and output as the signal 110. In this manner, the contents of each shift register circuit are sequentially shifted. Since the total of the payload bits 19 in both shift register circuits is always 43 while the cell header 40 bits are in both shift register circuits, During that time, the signal 107 is selected.

【0044】セルヘッダ40ビットがすべてシフトレジ
スタ回路(B)16にはいると、シフトレジスタ回路
(A)15内の43ビットはすべてペイロード部分のス
クランブルされたデータとなるので、それ以降はシフト
レジスタ回路(A)15からの出力信号106と信号1
09との排他的論理和をとった信号108が新たにスク
ランブルされたデータとなり、従ってこの信号が選択さ
れて信号110として出力される。これは信号109と
して次のセルの先頭部分の信号が到着するまで続く。以
上のことが順に繰り返される。
When all the 40 bits of the cell header enter the shift register circuit (B) 16, all 43 bits of the shift register circuit (A) 15 become scrambled data of the payload portion. (A) Output signal 106 from 15 and signal 1
A signal 108 obtained by performing an exclusive OR operation with 09 is newly scrambled data. Therefore, this signal is selected and output as a signal 110. This continues until the signal at the head of the next cell arrives as the signal 109. The above is repeated in order.

【0045】図3にペイロードのスクランブル(P)に
関する別の実施例を示す。109Aは図2における信号
109と同様に完全な形をしたセル信号を示す。15A
は43ビット長のシフトレジスタ回路を示し、イネーブ
ル端子15Bがついていて、ここに入力される信号の
H,Lによって、外部からの信号を入力してシフトする
か、あるいは現在のデータを保持するかが決められる。
シフトレジスタ回路15Aの出力112A信号は、信号
109Aとの排他的論理和をとって、信号108Aとし
てセレクタ13Aに達する。セレクタ13Aへの制御信
号である信号105Aの値によって、信号109Aと信
号108Aのいずれかを選択して信号110Aとして出
力する。信号110Aは43ビットシフトレジスタ回路
15Aへの入力信号となっている。信号105Aはまた
シフトレジスタ回路15Aのイネーブル端子への制御信
号も兼ねている。
FIG. 3 shows another embodiment relating to the scrambling (P) of the payload. Reference numeral 109A denotes a complete cell signal similar to the signal 109 in FIG. 15A
Indicates a shift register circuit having a length of 43 bits, which has an enable terminal 15B. According to the signals H and L inputted thereto, whether an external signal is input and shifted or the current data is held. Is determined.
The output 112A signal of the shift register circuit 15A takes an exclusive OR with the signal 109A and reaches the selector 13A as a signal 108A. Either the signal 109A or the signal 108A is selected according to the value of the signal 105A, which is a control signal to the selector 13A, and is output as the signal 110A. The signal 110A is an input signal to the 43-bit shift register circuit 15A. The signal 105A also serves as a control signal to the enable terminal of the shift register circuit 15A.

【0046】信号109Aとしてセルヘッダ部分が通過
するとき、セレクタ13Aは、信号109Aを選択して
信号110Aへ出力する。このときシフトレジスタ回路
15Aにはイネーブル信号が入っていて、レジスタに入
力される信号は無視され、レジスタの内容が保持され
る。信号109Aとしてセルのペイロード部分が通過す
るとき、セレクタ13Aは、信号108Aを選択して信
号110Aへ出力する。このときシフトレジスタ回路1
5Aにはイネーブル信号が入っていず、信号が順にレジ
スタに入力され、信号108AはF(X)によるスクラ
ンブル(P)をかけた信号となっている。
When the cell header portion passes as signal 109A, selector 13A selects signal 109A and outputs it to signal 110A. At this time, the shift register circuit 15A contains an enable signal, the signal input to the register is ignored, and the contents of the register are held. When the payload of the cell passes as signal 109A, selector 13A selects signal 108A and outputs it to signal 110A. At this time, the shift register circuit 1
5A contains no enable signal, the signals are sequentially input to the register, and the signal 108A is a signal that has been scrambled (P) by F (X).

【0047】図3においてイネーブル端子15Bを除い
たものは、従来技術の項で述べた、スクランブル(P)
用のデータとしてヘッダを含んだものとなる。すなわち
43ビットシフトレジスタ回路15Aには正しいHEC
部分の付加されたセルヘッダとスクランブル(P)され
たペイロードが順に入力され、このデータを用いてペイ
ロード部分がスクランブルされる。
FIG. 3 except for the enable terminal 15B is the same as the scramble (P) described in the section of the prior art.
It contains the header as the data for use. That is, the correct HEC is stored in the 43-bit shift register circuit 15A.
The cell header to which the portion is added and the scrambled (P) payload are sequentially input, and the payload portion is scrambled using this data.

【0048】図1に戻って、110の出力信号は、その
まま出力するほかに、セルスクランブル回路14を通っ
て出力信号111として出すこともできる。セルスクラ
ンブル回路14は、セルの全体に対してかける自己同期
型のスクランブラである。その目的とするところはこの
信号を光信号として伝送する場合、受信側で電気信号に
変換するときにHまたはLが長く連続することにより、
ビットクロックの抽出ができなくなることを防止するこ
とである。このスクランブルを前述のペイロード部分の
みのスクランブルと区別してスクランブル(Q)と呼ぶ
ことにする。このスクランブル(Q)回路の詳細な構成
例を図4および図5に示す。なお、以後の説明中に述べ
られるDフリップフロップにおいて、これらを区別する
ために図面上左から順に1番目、2番目、3番目、の様
に表記することとする。
Returning to FIG. 1, the output signal of 110 can be output as it is, or can be output as an output signal 111 through the cell scramble circuit 14. The cell scramble circuit 14 is a self-synchronous scrambler applied to the entire cell. The purpose is that when this signal is transmitted as an optical signal, H or L is long and continuous when converted to an electric signal on the receiving side.
It is to prevent the bit clock from being unable to be extracted. This scramble is referred to as scramble (Q) to distinguish it from the above-described scramble of only the payload portion. FIGS. 4 and 5 show a detailed configuration example of the scramble (Q) circuit. In the D flip-flops described in the following description, the first, second, third, and the like are shown in order from the left in the drawing to distinguish them.

【0049】図4は、上述の目的を実現するための最も
構成の簡単な方法である。20はDフリップフロップを
示し、この例では7個順に並んでいる。この7個のDフ
リップフロップ20の中身はそれぞれ出力信号111の
1から7ビット遅れの値である。113は上記の7個の
フリップフロップの中身がすべてHまたはLであるとき
のみHとなる様な信号を示し、この信号113がHであ
るということはすなわち最新7ビットの信号111の出
力がLまたはHの連続であったことを示している。11
0はペイロード部分のみスクランブルされたセルデータ
を示し、これは信号113との排他的論理和をとられた
のち、信号111として外部に出力される。すなわちこ
の図4において信号110と信号111は、通常は信号
110はそのまま信号111として出力されるが、信号
111に7ビット連続したHまたはLの信号があると、
その次の信号111は信号110の反転となる様な関係
となっている。
FIG. 4 shows the simplest method for realizing the above-mentioned object. Reference numeral 20 denotes D flip-flops, which are arranged in order of seven in this example. The contents of the seven D flip-flops 20 are values delayed from 1 to 7 bits of the output signal 111, respectively. Reference numeral 113 denotes a signal which becomes H only when the contents of the above seven flip-flops are all H or L. The fact that this signal 113 is H means that the output of the latest 7-bit signal 111 is L Or H was continuous. 11
0 indicates cell data in which only the payload portion has been scrambled. The data is exclusive-ORed with the signal 113 and then output to the outside as a signal 111. That is, in FIG. 4, the signal 110 and the signal 111 are normally output as they are as the signal 111. However, if the signal 111 includes an H or L signal that is continuous for 7 bits,
The next signal 111 has a relationship such that the signal 110 is inverted.

【0050】図5はスクランブル(Q)の多項式として
以下のE1(X)を使用する場合を例として示してあ
る。
FIG. 5 shows an example in which the following E1 (X) is used as the scramble (Q) polynomial.

【0051】 E1(X)=X7 +X+1 (7) Dフリップフロップ20は7個あり、図4と同様、中身
はそれぞれ出力信号111の1から7ビット遅れの値で
ある。信号114はこの7個のDフリップフロップ20
の中身がすべてLのときにHとなる信号であり、また信
号115は図5中で7個ならんだDフリップフロップ2
0の両端のものの値を排他的論理和したものである。信
号110は図4と全く同一の入力信号であり、信号11
4および信号115とそれぞれ排他的論理和をとって、
信号111として出力される。
E1 (X) = X 7 + X + 1 (7) There are seven D flip-flops 20. As in FIG. 4, the contents are the values of the output signal 111 delayed by 1 to 7 bits. The signal 114 is output from the seven D flip-flops 20.
Is a signal which becomes H when the contents of all are L, and a signal 115 is a D flip-flop 2
Exclusive OR of the values at both ends of 0. The signal 110 is the same input signal as in FIG.
4 and the signal 115 are exclusive ORed,
Output as signal 111.

【0052】図4と図5の実施例における相違点は、信
号113が信号出力111の最新7ビットのHまたはL
の連続によってHとなったのに対し、信号114はL信
号のみの連続によってHになることである。これは、信
号110の入力パターンによってどちらの構成にするか
を考えるべきであるもので、もし信号111におけるH
信号の連続の割合がL信号の連続の割合に比べて非常に
小さい場合、信号113を用いるよりも信号114を用
いる方がかえってL信号およびH信号の連続が少なくな
る。同様に信号111にH信号が連続した場合のみに信
号110との排他的論理和をとる手法もある。
The difference between the embodiments of FIGS. 4 and 5 is that the signal 113 is the latest 7-bit H or L of the signal output 111.
Signal 114 becomes H due to the continuation of only the L signal, while the signal 114 becomes H due to the continuation of. This is to consider which configuration to use depending on the input pattern of the signal 110.
When the ratio of the continuation of the signal is very small compared to the ratio of the continuation of the L signal, the continuity of the L signal and the H signal is reduced by using the signal 114 rather than by using the signal 113. Similarly, there is also a method of performing an exclusive OR operation with the signal 110 only when the H signal is continuous with the signal 111.

【0053】また図5においてはさらにデータのスクラ
ンブルを行って、HとLの信号がうまく混ざる様にして
いる。この実施例では7次の多項式を用いているが、最
適な多項式の次数については光信号を電気信号に変換す
るO/E変換機等の性能によって変えられるべきである
ので、ここでは特に述べない。
In FIG. 5, the data is further scrambled so that the H and L signals are mixed well. Although a seventh-order polynomial is used in this embodiment, the optimal polynomial order should be changed depending on the performance of an O / E converter for converting an optical signal into an electric signal, and is not specifically described here. .

【0054】以上、図1から図5に関しては、シリアル
入力の場合についての説明を加えたが、この同じ構成で
パラレル入力の場合にも適用可能である。またこの回路
は前述のようにセルクロック入力によってすべての動作
が引き起こされるため、リセット信号を必要としない構
成になっている。さらに信号102は1ビットクロック
の遅延もなく、信号110あるいは信号111として出
力することが可能となっている。
As described above, the case of serial input has been described with reference to FIGS. 1 to 5, but the same configuration can be applied to the case of parallel input. Further, since all the operations are caused by the cell clock input as described above, this circuit does not require a reset signal. Further, the signal 102 can be output as the signal 110 or the signal 111 without delay of one bit clock.

【0055】図6および図7は前述したHEC生成回路
の構成例を示したものである。図6は従来の方法によ
り、除算回路のみを用いて構成した従来例、図7は本発
明の方式であり、除算回路と乗算回路とを組み合わせて
構成した例である。
FIGS. 6 and 7 show an example of the configuration of the above-described HEC generation circuit. FIG. 6 shows a conventional example using only a dividing circuit according to a conventional method, and FIG. 7 shows an example of a system according to the present invention, in which a dividing circuit and a multiplying circuit are combined.

【0056】すなわち、ここで、図6の従来例において
は、スイッチ22Aを介してフィードバックされ、後述
の如く排他的論理和される回路部分21が除算回路に相
当し、図7の実施例においては後述する如くにフィード
バックされ、排他的論理和される回路部分24が除算回
路に相当し、フォワードされ、排他的論理和される回路
部分25が乗算回路に相当する。
That is, in the conventional example of FIG. 6, the circuit portion 21 fed back via the switch 22A and subjected to exclusive OR as described later corresponds to a division circuit, and in the embodiment of FIG. As will be described later, the circuit portion 24 that is fed back and XORed corresponds to a division circuit, and the forwarded and XORed circuit portion 25 corresponds to a multiplication circuit.

【0057】図6の従来例において201は図1におけ
る102と同様のセル長データ入力を示し、固定のセル
長であって、セルヘッダの5バイト目のHEC部分はす
べてL信号として入力されるものとする。信号201は
二手に分かれて一方は8ビット長のシフトレジスタ回路
25に入力され、他方はスイッチ23Aに向かう。
In the conventional example shown in FIG. 6, reference numeral 201 denotes a cell length data input similar to 102 in FIG. 1, which has a fixed cell length and the HEC portion of the fifth byte of the cell header is all input as an L signal. And The signal 201 is divided into two parts, one is input to the 8-bit shift register circuit 25, and the other goes to the switch 23A.

【0058】スイッチ23Aは入力された信号201の
うちセルの先頭5バイトの部分のみONとなり、それ以
外の部分ではOFFとなって、信号を通さない。スイッ
チ23AがOFFの間、8個あるDフリップフロップ2
0はリセットされている。スイッチ23AがOFFから
ONになるときに各フリップフロップ20のリセットが
はずされる。またこのとき同時にスイッチ22AもOF
FからONに変化する。
The switch 23A is turned ON only in the first five bytes of the cell of the input signal 201, and is turned OFF in the other parts to block the signal. While the switch 23A is OFF, the eight D flip-flops 2
0 has been reset. When the switch 23A changes from OFF to ON, the reset of each flip-flop 20 is released. At this time, the switch 22A is also turned off.
It changes from F to ON.

【0059】信号203はデータの入力側からみて8番
目のDフリップフロップ20の出力信号であり、スイッ
チ23Aを通過した信号との排他的論理和をとって1番
目のDフリップフロップ20にはいる。またこのとき同
時に1番目と2番目のDフリップフロップ20からの出
力が信号203との排他的論理和をとられて、それぞれ
2番目と3番目のDフリップフロップ20にはいる。こ
の動作の意味するところは、スイッチ23Aを通過した
40ビットのセルヘッダに対し、Dフリップフロップ2
0と2入力の排他的論理和から構成される回路を用いて
の除算を行うことである。その関係を式で表すと、ヘッ
ダ40ビットの先頭をa[40]、末尾をa[1]とし
たときにGF(2)上の多項式表現で、 a[40]X39+a[39]X38+・・・・+a[1] =(X8 +X2 +X+1)Q(X)+R(X) (8) R(X)=r[8]X7 +r[7]X6 +r[6]X5 +r[5]X4 +r[4]X3 +r[3]X2 +r[2]X+r[1] a[i](i=1〜8)=0 a[i](i=9〜40)=0または1 r[i](i=1〜8)=0または1 となる。信号203からは商であるQ(X)をビット列
になおした値が順に出力される。またヘッダ40ビット
がすべてスイッチ23Aを通過した直後のDフリップフ
ロップ20のi番目の中身はr[i]であり、これは上
記の式における余りR(X)の各項の値に相当する。
The signal 203 is the output signal of the eighth D flip-flop 20 as viewed from the data input side. The signal 203 is exclusive-ORed with the signal passed through the switch 23A and enters the first D flip-flop 20. . At the same time, the outputs from the first and second D flip-flops 20 are exclusive-ORed with the signal 203, and enter the second and third D flip-flops 20, respectively. This operation means that the D flip-flop 2 is applied to the 40-bit cell header passing through the switch 23A.
That is, division is performed using a circuit composed of exclusive OR of 0 and 2 inputs. When the relationship is expressed by an expression, a [40] X 39 + a [39] X is expressed by a polynomial expression on GF (2) when the head of the 40-bit header is a [40] and the end is a [1]. 38 +... + A [1] = (X 8 + X 2 + X + 1) Q (X) + R (X) (8) R (X) = r [8] X 7 + r [7] X 6 + r [6] X 5 + r [5] X 4 + r [4] X 3 + r [3] X 2 + r [2] X + r [1] a [i] (i = 1~8) = 0 a [i] (i = 9~ 40) = 0 or 1 r [i] (i = 1 to 8) = 0 or 1 From the signal 203, values obtained by converting the quotient Q (X) into a bit string are sequentially output. The i-th content of the D flip-flop 20 immediately after all the 40 bits of the header have passed through the switch 23A is r [i], which corresponds to the value of each term of the remainder R (X) in the above equation.

【0060】スイッチ23Aから40ビットのセルヘッ
ダが通過し終わると、スイッチ23Aおよびスイッチ2
2AがOFFに切り替わる。従ってその後信号203の
値はr[8]からr[1]までのデータとなる。
When the 40-bit cell header has passed from the switch 23A, the switches 23A and 2
2A switches OFF. Therefore, the value of the signal 203 thereafter becomes data from r [8] to r [1].

【0061】206は201信号が8ビットのシフトレ
ジスタによって遅延された信号を示し、また202は2
03信号の反転信号を示す。26Aはセレクタを示し、
制御信号205に従って、203,202,206の各
信号から1つを選択して、出力信号204とする。通常
は信号206が選択されているが、201がセルの40
ビット目を入力した次のタイミング、すなわちセレクタ
26Aが206からセルヘッダの32ビット目を信号2
04として出力した直後から、信号203と信号202
をこの順にビット毎に切り替えて選択し、合計8ビット
クロック分のデータを信号204として出力する。その
後再び信号206を選択する。これによって信号204
から出力されるセルデータの5バイト目は順に(r
[8],r[7](+)1,r[6],r[5](+)
1,r[4],r[3](+)1,r[2],r[1]
(+)1)となり、HEC部分が付加されたことにな
る。
Reference numeral 206 denotes a signal obtained by delaying the 201 signal by the 8-bit shift register, and 202 denotes 2 signal.
3 shows an inverted signal of the 03 signal. 26A indicates a selector,
According to the control signal 205, one of the signals 203, 202, and 206 is selected as an output signal 204. Normally, the signal 206 is selected.
The next timing when the bit is input, that is, the selector 26A outputs the 32nd bit of the cell header from the signal 206 to the signal 2
04 and the signal 203 and the signal 202
Is switched and selected for each bit in this order, and data for a total of 8 bit clocks is output as a signal 204. Thereafter, the signal 206 is selected again. This results in signal 204
The fifth byte of the cell data output from
[8], r [7] (+) 1, r [6], r [5] (+)
1, r [4], r [3] (+) 1, r [2], r [1]
(+) 1), which means that the HEC portion has been added.

【0062】図6の問題点は、入力信号を8ビットシフ
トする必要があり、このために入力した信号が出力する
までに8ビット分の遅延が生じてしまうこと、回路も余
分に必要であること、また入力信号201の5バイト目
の値はすべてLである必要があることであった。これを
解決している本発明の実施例が図7に示されている。
The problem of FIG. 6 is that it is necessary to shift the input signal by 8 bits, which causes a delay of 8 bits until the input signal is output, and requires an extra circuit. That is, the value of the fifth byte of the input signal 201 must be all L. An embodiment of the present invention that solves this is shown in FIG.

【0063】入力信号102は図1と同一のものであ
り、ヘッダの5バイト目の値は任意である。信号102
は2つに分かれて、一方はそのままセレクタ26への入
力信号となり、他方は8つあるDフリップフロップ20
の8番目の出力信号である信号207と排他的論理和を
とった後、スイッチ23への入力となる。
The input signal 102 is the same as that shown in FIG. 1, and the value of the fifth byte of the header is arbitrary. Signal 102
Is divided into two, one being an input signal to the selector 26 as it is, and the other being an eight D flip-flop 20
The exclusive OR of the signal 207, which is the eighth output signal, is input to the switch 23.

【0064】スイッチ23は入力された信号102がセ
ルの先頭4バイトの部分であるときのみONとなり、そ
れ以外の部分ではOFFとなって、信号を通さない。ス
イッチ23がOFFの間に8個あるDフリップフロップ
20はリセットされている。スイッチ23がOFFから
ONになるときに各Dフリップフロップ20のリセット
がはずれさる。
The switch 23 is turned ON only when the input signal 102 is the first 4-byte portion of the cell, and is turned OFF in the other portions to block the signal. While the switch 23 is OFF, the eight D flip-flops 20 are reset. When the switch 23 changes from OFF to ON, the reset of each D flip-flop 20 is released.

【0065】スイッチ23を通過した信号は、そのまま
1番目のDフリップフロップ20にはいる。またこのと
き同時に1番目と2番目のDフリップフロップ20から
の出力との排他的論理和をとって、それぞれ2番目と3
番目のDフリップフロップ20にはいる。この動作を意
味するところは、スイッチ23を通過した32ビットの
セルヘッダに対し、Dフリップフロップ20と2入力の
排他的論理和から構成される回路を用いて、X8 での乗
算を行った後にX8 +X2 +X+1の多項式による除算
を行うことである。先ほどの数式(8)において、a
[1]からa[8]がすべてLであることを考慮する
と、左辺は以下のように変形できる。
The signal passed through the switch 23 enters the first D flip-flop 20 as it is. At this time, the exclusive-OR of the outputs from the first and second D flip-flops 20 is calculated at the same time to obtain the second and third outputs, respectively.
The D flip-flop 20 is entered. This operation means that the 32-bit cell header that has passed through the switch 23 is multiplied by X 8 using a circuit composed of a D flip-flop 20 and an exclusive OR of two inputs. That is, division by a polynomial of X 8 + X 2 + X + 1 is performed. In the equation (8), a
Considering that all of [1] to a [8] are L, the left side can be modified as follows.

【0066】 a[40]X39+a[39]X38+・・・・+a[1] =a[40]X39+a[39]X38+・・・・+a[9]X8 (9) =X8 (a[40]X31+a[39]X30+・・・・+a[9]) a[i](i=1〜8)=0 a[i](i=9〜40)=0または1 従って数式(8)および数式(9)より X8 (a[40]X31+a[39]X30+・・・・+a[9]) =(X8 +X2 +X+1)Q(X)+R(X) (10) R(X)=r[8]X7 +r[7]X6 +r[6]X5 +r[5]X4 +r[4]X3 +r[3]X2 +r[2]X+r[1] a[i](i=9〜40)=0または1 r[i](i=1〜8)=0または1 となり、信号102としてヘッダの先頭32ビットを入
力した時点で、8つのDフリップフロップ20にr
[8]からr[1]の値がそれぞれ入っている状態にな
る。そこで32ビットのデータがスイッチ23を通過し
た時点でスイッチをOFFにする。
A [40] X 39 + a [39] X 38 +... + A [1] = a [40] X 39 + a [39] X 38 +... + A [9] X 8 (9 ) = X 8 (a [40] X 31 + a [39] X 30 +... + A [9]) a [i] (i = 1 to 8) = 0 a [i] (i = 9 to 40) ) = 0 or 1 Therefore, from Expressions (8) and (9), X 8 (a [40] X 31 + a [39] X 30 +... + A [9]) = (X 8 + X 2 + X + 1) Q (X) + R (X) (10) R (X) = r [8] X 7 + r [7] X 6 + r [6] X 5 + r [5] X 4 + r [4] X 3 + r [3] X 2 + r [2] X + r [1] a [i] (i = 9 to 40) = 0 or 1 r [i] (i = 1 to 8) = 0 or 1 At the time of input, 8 D flips r to drop 20
[8] to r [1] are entered. Therefore, when the 32-bit data passes through the switch 23, the switch is turned off.

【0067】208は207信号の反転信号を示す。2
6はセレクタを示し、制御回路11からの制御信号10
4に従って、102,207,208の各信号から1つ
を選択して、109の出力信号とする。通常は信号10
2が選択されているが、102からセルの32ビット目
が入力された次のタイミング、すなわちセレクタ26が
102からセルヘッダの32ビット目を信号109とし
て出力した直後から、信号207と信号208をこの順
にビット毎に切り替えて選択し、合計8ビットクロック
分のデータを信号109として出力する。その後再び信
号102を選択する。これによって信号109から出力
されるセルデータの5バイト目は順に(r[8],r
[7](+)1,r[6],r[5](+)1,r
[4],r[3](+)1,r[2],r[1](+)
1)となり、HEC部分が付加されたことになる。
Reference numeral 208 denotes an inverted signal of the signal 207. 2
Reference numeral 6 denotes a selector, and a control signal 10 from the control circuit 11
In accordance with 4, one of the signals 102, 207, and 208 is selected to be an output signal of 109. Normally signal 10
2 is selected, the signals 207 and 208 are output from the next timing when the 32nd bit of the cell is input from 102, that is, immediately after the selector 26 outputs the 32nd bit of the cell header from 102 as the signal 109. The data is switched and selected for each bit in order, and data for a total of 8 bit clocks is output as a signal 109. Thereafter, the signal 102 is selected again. As a result, the fifth byte of the cell data output from the signal 109 becomes (r [8], r
[7] (+) 1, r [6], r [5] (+) 1, r
[4], r [3] (+) 1, r [2], r [1] (+)
1), which means that the HEC portion has been added.

【0068】この回路において信号102は遅延なく、
信号109としてセレクタ13への信号となり、また図
6と比較してシフトレジスタ回路分の回路規模を縮小す
ることができる。さらに図7の回路への入力データとし
てa[1]からa[8]の8ビットを使用しないため、
入力信号102において該8ビットはいかなる値でも構
わない。
In this circuit, the signal 102 has no delay,
The signal 109 becomes a signal to the selector 13, and the circuit scale of the shift register circuit can be reduced as compared with FIG. Further, since 8 bits from a [1] to a [8] are not used as input data to the circuit of FIG.
The 8 bits in the input signal 102 may be any value.

【0069】図8は図7における乗算・除算回路を8ビ
ットパラレルで計算する場合の回路図である。図8上で
最も上側にあるのをMSB(Most Signifi
cant Bit)と呼び、最も下側にあるのをLSB
(Least Significant Bit)と呼
ぶ。MSBは8ビットパラレル信号の最も上位であり、
セルの先頭は必ずMSBのところである。信号210と
して8ビットパラレル入力されるセルヘッダ4バイトの
各信号は1バイト前の各データを用いて排他的論理和を
とられ、その結果各フリップフロップ20にr[8]か
らr[1]のデータが結果として入る。これの偶数番目
のビットが反転されてパラレル信号211として出力さ
れる。
FIG. 8 is a circuit diagram when the multiplication / division circuit in FIG. 7 calculates in 8-bit parallel. The MSB (Most Significant) at the top of FIG.
Cant Bit) and the LSB at the bottom is
(Least Significant Bit). The MSB is the highest order of the 8-bit parallel signal,
The head of the cell is always the MSB. Each signal of 4 bytes of the cell header which is input in parallel as 8 bits as the signal 210 is exclusive-ORed using each data of 1 byte before, and as a result, each flip-flop 20 receives r [8] to r [1]. The data comes in as a result. The even-numbered bits are inverted and output as a parallel signal 211.

【0070】図9は本発明に従うATM受信回路系にお
けるセル同期演算回路の一実施例を示したブロック図で
ある。
FIG. 9 is a block diagram showing one embodiment of the cell synchronization operation circuit in the ATM receiving circuit system according to the present invention.

【0071】入力信号としてはビットクロック信号30
2とスクランブルされたセルデータ信号301がありビ
ットクロック信号302は受信系回路の全パートにむか
う他、クロックモニタ回路37に入力される。通常受信
側へのデータ伝送は光で行うことを想定しており、従っ
て本回路の前段にある光電変換器においてビットクロッ
クの抽出が正しく行われていることを確認することが、
このモニタ回路37の目的とするところである。従って
ビットクロック302を分周等して、信号310として
出力し、クロックが正しく回路に入力されていることを
モニタすることができるようになっている。
As an input signal, the bit clock signal 30
There is a cell data signal 301 scrambled as 2, and the bit clock signal 302 goes to all parts of the receiving system circuit and is input to the clock monitor circuit 37. Normally, data transmission to the receiving side is assumed to be performed by light, so it is necessary to confirm that bit clock extraction is performed correctly in the photoelectric converter at the preceding stage of this circuit.
This is the purpose of the monitor circuit 37. Therefore, the frequency of the bit clock 302 is divided and output as a signal 310 so that it can be monitored that the clock is correctly input to the circuit.

【0072】入力データ信号301は、図1における信
号110と信号111からの2通りの信号入力パターン
が考えられる。信号110からの入力である場合には、
セルデータ全体に対するスクランブル(Q)がかけられ
ていないので、セレクタ(A)34が信号301を直接
信号304に接続する。また信号111からの入力であ
る場合には、セレクタ(A)34は、信号301をセル
ディスクランブル回路30に通してディスクランブルさ
れた出力データである信号303を信号304に接続す
る。後述のディスクランブルと区別するため、これをデ
ィスクランブル(q)と表すことにする。
As the input data signal 301, two types of signal input patterns, ie, the signal 110 and the signal 111 in FIG. 1, can be considered. If the input is from signal 110,
Since the scramble (Q) has not been applied to the entire cell data, the selector (A) 34 directly connects the signal 301 to the signal 304. When the input is from the signal 111, the selector (A) 34 passes the signal 301 through the cell descramble circuit 30 and connects the signal 303 which is descrambled output data to the signal 304. This will be referred to as a descrambling (q) to distinguish it from a descrambling described later.

【0073】セルディスクランブル(q)回路30は、
図1のセルスクランブル(Q)回路14と対で使用さ
れ、その回路構造は図4および図5のセルスクランブル
(Q)回路14の実施例と基本的に同一であるので、こ
こでは省略する。これらのスクランブル(Q)回路14
および、ディスクランブル(q)回路30は自己同期型
を変形したものであり、従って伝送路でビット誤りが発
生した場合、その誤りがディスクランブル(q)した時
に拡大することがある。
The cell descramble (q) circuit 30
It is used in a pair with the cell scramble (Q) circuit 14 of FIG. 1 and its circuit structure is basically the same as that of the embodiment of the cell scramble (Q) circuit 14 of FIGS. These scramble (Q) circuits 14
The descramble (q) circuit 30 is a modification of the self-synchronous type. Therefore, when a bit error occurs in the transmission path, the error may be enlarged when the descramble (q) occurs.

【0074】図4の実施例の場合は、伝送路中の誤りに
よって7ビット連続してHまたはLの信号として受信し
てしまった、あるいは本来7ビットのHまたはL信号の
連続であったはずのものがビット誤りによってそのよう
に受信されなかった場合に、ディスクランブル回路によ
り誤りが拡大する可能性があるが、それ以外では誤りの
拡大は起こらない。
In the case of the embodiment shown in FIG. 4, an H or L signal was received continuously for 7 bits due to an error in the transmission path, or a 7-bit H or L signal should have been originally continuous. If this is not so received due to a bit error, the error may be spread by the descramble circuit, but otherwise no spread of the error occurs.

【0075】また図5の実施例の場合には、L信号の連
続の際に図4と同じ様な誤りの拡大がある他に、数式
(7)における多項式E1(X)によるディスクランブ
ル(q)の際に誤り拡大が起こる。その拡大の程度はデ
ィスクランブル(q)に用いられる多項式の項数によ
る。例えば、多項式E1(X)の場合は3項式なので伝
送中の1ビット誤りは3ビット誤りとなる。
Further, in the case of the embodiment of FIG. 5, in addition to the same error expansion as in FIG. 4 when the L signal continues, the descrambling (q) by the polynomial E1 (X) in the equation (7) is used. ) Causes error propagation. The extent of the expansion depends on the number of terms in the polynomial used for descrambling (q). For example, in the case of the polynomial E1 (X), a one-bit error during transmission becomes a three-bit error because it is a three-nominal.

【0076】このようにディスクランブル(q)によっ
て誤りが拡大してしまうのは仕方のないことであるが、
セルの誤配送を最小限に抑えるために、セルヘッダ部の
誤り増加は極力誤り検出されるべきである。このために
は伝送中の1ビット誤りに対し、その誤りの拡大によっ
てヘッダ部の誤訂正や検出不可能な誤りを引き起こし、
本来とは違うセルヘッダの形になってしまわない様にス
クランブル(Q)の多項式を選ぶ必要がある。同じ次数
の同じ様な多項式においても適切なものとそうでないも
のとがあり、これらについて以下のE2(X)の多項式
を例にとって説明する。
It is inevitable that the error is enlarged by the descrambling (q) as described above.
In order to minimize erroneous cell delivery, an increase in errors in the cell header section should be detected as much as possible. For this reason, for a one-bit error during transmission, the error is expanded to cause erroneous correction of the header part or an undetectable error,
It is necessary to select a scramble (Q) polynomial so as not to have a cell header shape different from the original. Some similar polynomials of the same degree may or may not be appropriate, and these will be described using the following E2 (X) polynomial as an example.

【0077】 E2(X)=X7 +X6 +1 (11) セルヘッダのkビット目に1ビット誤りがあったとする
と、もとの正しいセルヘッダH(X)に対し、多項式E
2(X)によるディスクランブル(q)によって誤りの
拡大したヘッダERR(X)は、 ERR(X)=(X7 +X+1)X33-k+H(X) (12) となっている。ERR(X)から前述の34,36,3
8,40ビット目のビット反転に対応する多項式を引い
た後、HEC部分の生成多項式G(X)で割った余りS
(X)を求めると S(X)=(ERR(X)−(X6 +X4 +X2 +1))modG(X) =(H(X)−(X6 +X4 +X2 +1))modG(X) +(X7 +X+1)X33-kmodG(X) =(X7 +X+1)X33-kmodG(X) X126 modG(X)=X7 +X+1 ∴S(X)=X126 ・X33-kmodG(X) =X127 ・X32-kmodG(X) =1・X32-kmodG(X) =X32-kmodG(X) (13) となり、kが32以下の場合に伝送上のkビット目のヘ
ッダ誤りは、ディスクランブル(q)の結果別の(32
−k)ビット目の誤りとみなされて、誤ったヘッダ訂正
を行ってしまう。なおkが32より大きい場合は、この
誤り拡大に対する1ビットの訂正パターンが存在しない
ので誤訂正されず、誤りが検出される。このような現象
は、多項式によって起こらないものもあり、例えば多項
式E1(X)によるディスクランブル(q)は、E2
(X)と単に双対な多項式であるにもかかわらずセル中
の任意の1ビット誤りに対し、セルヘッダの誤訂正を引
き起こすことはない。従ってこのような多項式を選ぶの
がよい。
E2 (X) = X 7 + X 6 +1 (11) If there is a 1-bit error in the k-th bit of the cell header, the polynomial E
2 (X) header enlarged errors by descramble (q) by ERR (X) has a ERR (X) = (X 7 + X + 1) X 33-k + H (X) (12). From ERR (X), the aforementioned 34, 36, 3
After subtracting the polynomial corresponding to the bit inversion of the 8th and 40th bits, the remainder S obtained by dividing by the generator polynomial G (X) of the HEC part
(X) When determining the S (X) = (ERR ( X) - (X 6 + X 4 + X 2 +1)) modG (X) = (H (X) - (X 6 + X 4 + X 2 +1)) modG ( X) + (X 7 + X + 1) X 33-k mod G (X) = (X 7 + X + 1) X 33-k mod G (X) X 126 mod G (X) = X 7 + X + 1 ∴S (X) = X 126 · X 33-k mod G (X) = X 127 · X 32-k mod G (X) = 1 · X 32-k mod G (X) = X 32-k mod G (X) (13) where k is 32 or less The header error at the k-th bit in the transmission is (32) as a result of the descrambling (q)
-K) It is regarded as an error of the bit and erroneously corrects the header. If k is larger than 32, there is no 1-bit correction pattern for the error expansion, so that no error is corrected and an error is detected. Some of such phenomena do not occur due to the polynomial. For example, the descramble (q) based on the polynomial E1 (X) is
Despite being a dual polynomial with (X), any one-bit error in the cell does not cause erroneous correction of the cell header. Therefore, it is better to select such a polynomial.

【0078】セレクタ(A)34からの出力信号304
は、ヘッダ部分は元のセルヘッダ形で、ペイロード部分
のみF(X)によるスクランブル(P)がかけられてい
るようなデータである。この信号は2つに分岐し、1つ
はシフトレジスタ回路(C)31に、もう1つはセル同
期・ヘッダ誤り制御回路33に入力される。回路33の
特徴はセル同期の機能とセルヘッダの誤り訂正/検出の
機能の両方を同一の回路を共有して実現することにあ
る。
Output signal 304 from selector (A) 34
Is data in which the header portion is the original cell header type and only the payload portion is scrambled (P) by F (X). This signal is branched into two, one is input to the shift register circuit (C) 31 and the other is input to the cell synchronization / header error control circuit 33. The feature of the circuit 33 resides in that both the function of cell synchronization and the function of error correction / detection of the cell header are realized by sharing the same circuit.

【0079】通常セル同期をとる場合には、40ビット
の入力が必要であり、従ってこの間データを遅延させる
必要がある。また、セルヘッダの誤り訂正をするために
も少なくとも40ビットクロック分の遅延回路を必要と
する。しかしながら、セル同期とヘッダ誤り訂正/検出
回路を共有化し、さらにそのために必要な遅延用のシフ
トレジスタ回路を共有化すれば、回路規模を縮小するこ
とができる。さらにセル同期をできるだけ早くとるため
にはHUNT状態で1ビット毎の検索をするのがよい
が、これにはセル同期回路の入力信号をちょうど40ビ
ットクロック分遅延させたデータが必要になる。この遅
延回路としてもセル同期およびヘッダ誤り制御用に共有
したシフトレジスタ回路(C)31を流用することがで
きる。
Normally, in the case of cell synchronization, it is necessary to input 40 bits, and it is necessary to delay data during this period. Also, a delay circuit for at least a 40-bit clock is required to correct the error of the cell header. However, if the cell synchronization and the header error correction / detection circuit are shared, and the delay shift register circuit required for that is shared, the circuit scale can be reduced. Further, in order to achieve cell synchronization as soon as possible, it is preferable to search for each bit in the HUNT state, but this requires data obtained by delaying the input signal of the cell synchronization circuit by exactly 40 bit clocks. As this delay circuit, the shift register circuit (C) 31 shared for cell synchronization and header error control can be used.

【0080】図10にセル同期・ヘッダ誤り制御回路の
一実施例を示す。この回路の動作は前述のHUNT、P
RESYNC、SYNCHの各状態により異なるため、
各状態における動作を順に説明する。
FIG. 10 shows an embodiment of the cell synchronization / header error control circuit. The operation of this circuit is based on the HUNT, P
Since it differs depending on each state of RESYNC and SYNCH,
The operation in each state will be described in order.

【0081】315はシフトレジスタ回路(C)31か
らの信号を示し、信号304を単に40ビットクロック
分遅延させたものである。信号316は8個あるDフリ
ップフロップ20の値が、図上で右側から順に(L,
H,L,H,L,H,L,H)となるときに常にHとな
る様な信号である。信号316がHとなるとき、これは
最も新しく入力された40ビット分の信号がセルヘッダ
の候補であることを意味している。また信号317は、
8個あるDフリップフロップ20の値が、頭上で右側か
ら順に(L,H,H,L,L,L,H,L)となるとき
に常にHとなる様な信号である。
Reference numeral 315 denotes a signal from the shift register circuit (C) 31, which is obtained by simply delaying the signal 304 by a 40-bit clock. The signal 316 indicates that the values of the eight D flip-flops 20 are (L,
H, L, H, L, H, L, H). When the signal 316 becomes H, this means that the most recently input signal for 40 bits is a cell header candidate. The signal 317 is
The signal is such that it always becomes H when the values of the eight D flip-flops 20 become (L, H, H, L, L, L, H, L) in order from the right overhead.

【0082】HUNT状態においては、スイッチ43お
よび44をONにし、スイッチ45および46はOFF
になっている。信号304は8個あるDフリップフロッ
プ20の8番目からの出力と排他的論理和をとられて、
1番目のDフリップフロップ20に入力される。このと
き、8番目のDフリップフロップ20の出力は、1番目
および2番目のDフリップフロップ20とも同時に排他
的論理和をとる。以上の動作は図11に示すような一般
的な除算回路の動作と同じである。
In the HUNT state, switches 43 and 44 are turned on, and switches 45 and 46 are turned off.
It has become. The signal 304 is exclusive-ORed with the eighth output of the eight D flip-flops 20, and
The signal is input to the first D flip-flop 20. At this time, the output of the eighth D flip-flop 20 also takes the exclusive OR with the first and second D flip-flops 20 at the same time. The above operation is the same as the operation of a general division circuit as shown in FIG.

【0083】ここでさらに信号315は、8番目のDフ
リップフロップ20と排他的論理和をとられた1番目お
よび5番目、6番目のDフリップフロップ20の出力と
それぞれ排他的論理和をとって、次段のDフリップフロ
ップ20にはいる。この特殊な除算回路を用いることに
より、HUNT状態で常に信号304からの最新の40
ビットに対する除算の剰余を求めることができる。この
原理を以下に説明する。
Here, the signal 315 is further exclusive-ORed with the outputs of the first, fifth, and sixth D flip-flops 20, which are exclusive-ORed with the eighth D flip-flop 20, respectively. , And enters the D flip-flop 20 at the next stage. By using this special division circuit, the latest 40
The remainder of the division on the bits can be determined. This principle will be described below.

【0084】図11に示すような一般の除算回路におい
ては、GF(2)での任意の入力に対し、それを多項式
G(X)で割ったときの余りを8個のDフリップフロッ
プ20に格納するような構成となっている。ある40ビ
ット入力が信号304Aとして入力されるものとする。
この信号を多項式表現でP(X)とし、またそれを多項
式G(X)で割ったときの余りをB(X)とする。B
(X)およびP(X)は以下のように表される。
In a general division circuit as shown in FIG. 11, the remainder obtained by dividing an arbitrary input in GF (2) by a polynomial G (X) is stored in eight D flip-flops 20. It is configured to store. It is assumed that a certain 40-bit input is input as the signal 304A.
This signal is represented by P (X) in a polynomial expression, and the remainder obtained by dividing the signal by a polynomial G (X) is represented by B (X). B
(X) and P (X) are represented as follows.

【0085】 P(X)=p[40]X39+p[39]X38+・・・・+p[1] B(X)=P(X)mod(X8 +X2 +X+1) (14) =b8 7 +b7 6 +b6 5 +b5 4 +b4 3 +b3 2 +b2 X+b1 p[i](i=1〜40)=0または1 b1 (i=1〜8)=0または1 次に新しく1ビット(p[0])を入力すると、この回
路は41ビット入力に対する余りC(X)を計算する。
P (X) = p [40] X 39 + p [39] X 38 +... + P [1] B (X) = P (X) mod (X 8 + X 2 + X + 1) (14) = b 8 X 7 + b 7 X 6 + b 6 X 5 + b 5 X 4 + b 4 X 3 + b 3 X 2 + b 2 X + b 1 p [i] (i = 1~40) = 0 or 1 b 1 (i = 1~ 8) = 0 or 1 Next, when a new bit (p [0]) is input, the circuit calculates the remainder C (X) for the 41-bit input.

【0086】 C(X)=(X・P(X)+p[0])mod(X8 +X2 +X+1) (15) =c8 7 +c7 6 +c6 5 +c5 4 +c4 3 +c3 2 +c2 X+c1 1 (i=1〜8)=0または1 最新の40ビット入力に対する余りD(X)とC(X)
との関係は以下のようになる。
C (X) = (XP (X) + p [0]) mod (X 8 + X 2 + X + 1) (15) = c 8 X 7 + c 7 X 6 + c 6 X 5 + c 5 X 4 + c 4 X 3 + c 3 X 2 + c 2 X + c 1 c 1 (i = 1 to 8) = 0 or 1 Remainder D (X) and C (X) for the latest 40-bit input
Is as follows.

【0087】 C(X)=(p[40]X40+p[39]X39+・・・・ +p[1]X+p[0])mod(X8 +X2 +X+1) =(p[39]X39+・・・・+p[1]X+p[0]) mod(X8 +X2 +X+1) (+)p[40]X40mod(X8 +X2 +X+1) =D(X)(+)p[40]X40mod(X8 +X2 +X+1)(16) =D(X)(+)(X6 +X5 +X)p[40] ∴D(X)=C(X)(+)(X6 +X5 +X)p[40] 従って常に最新の40ビット入力に対する余りを8個の
Dフリップフロップ20の値とするためには、実施例図
10のように通常の除算回路に加え、40ビット前に入
力したデータビットを数式(16)に従って排他的論理
和すればよい。このようにして、1ビットごとに検査で
きるため、信号304がエラーのない正しいデータを入
力していれば、約1セル分の入力で少なくとも1回信号
316がHとなる。
C (X) = (p [40] X 40 + p [39] X 39 +... + P [1] X + p [0]) mod (X 8 + X 2 + X + 1) = (p [39] X 39 + ···· + p [1] X + p [0]) mod (X 8 + X 2 + X + 1) (+) p [40] X 40 mod (X 8 + X 2 + X + 1) = D (X) (+) p [ 40] X 40 mod (X 8 + X 2 + X + 1) (16) = D (X) (+) (X 6 + X 5 + X) p [40] ∴D (X) = C (X) (+) (X 6 + X 5 + X) p [40] Therefore, in order to always set the remainder for the latest 40-bit input to the value of the eight D flip-flops 20, in addition to the ordinary division circuit as shown in FIG. The exclusive OR of the input data bits according to equation (16) may be performed. In this manner, since the test can be performed for each bit, if the signal 304 is input with correct data without error, the signal 316 becomes H at least once with input of about one cell.

【0088】信号316が一度Hになると、HUNT状
態からPRESYNC状態になる。このとき一応セルの
先頭が確定するので、その後は1セル毎にセルヘッダで
あると思われる40ビットを入力して、その余りを8個
のDフリップフロップによって確認すれば良い。従っ
て、PRESYNC状態になるとスイッチ43および4
4をOFFにし、次のセルヘッダと思われる40ビット
が到着するまでにDフリップフロップをリセットしてお
く。そして、304に次のセルヘッダが到着すると、ス
イッチ44のみを40ビット分入力する間だけONにし
て、そのデータに対し同じ除算をおこなう。もしこの
後、HUNT状態に戻った場合には、再びHUNT状態
での動作に戻る。
Once the signal 316 goes high, the state changes from the HUNT state to the PRESYNC state. At this time, the head of the cell is temporarily determined. Thereafter, 40 bits considered to be a cell header are input for each cell, and the remainder may be confirmed by eight D flip-flops. Therefore, in the PRESYNC state, the switches 43 and 4
4 is turned off, and the D flip-flop is reset before the arrival of 40 bits, which is considered to be the next cell header. Then, when the next cell header arrives at 304, only the switch 44 is turned ON while 40 bits are input, and the same division is performed on the data. If the operation returns to the HUNT state thereafter, the operation returns to the operation in the HUNT state again.

【0089】PRESYNC状態からSYNCH状態に
変化した場合も基本的なセル同期の動作はPRESYN
C状態の時と変わらない。しかしながら、SYNCH状
態の時は誤り制御を行うため、そのための動作が増え
る。すなわち、SYNCH状態で誤り訂正モードのと
き、スイッチ44がONとなって入力された40ビット
に対する除算の余りが(L,H,L,H,L,H,L,
H)にならないとき、信号316がHにならないことを
制御回路38が判定して、そこからの制御信号により、
スイッチ44がOFFになると同時にスイッチ45を1
ビットクロック分だけONにする。これにより1,3,
5,7番目のDフリップフロップ20がそれぞれ通常動
作の入力に対し反転されて、2,4,6,8番目のDフ
リップフロップ20に入力される。次のタイミングでス
イッチ45がOFFになると同時にスイッチ46がON
となる。この状態で40ビットクロック間除算回路を動
かし、信号306を出す。この信号はヘッダ誤りの訂正
パターンであり、信号306のi番目に出力されるビッ
トがHであれば、ヘッダのi番目のビットが誤っている
ことを意味する。また、40ビットクロックすべてL信
号であれば、これは誤りはあるが訂正できないことを意
味する。この信号306は制御回路38およびシフトレ
ジスタ回路(C)31の出力部で用いられる。なお、誤
り検出モードのときは、信号316のみで判定できるた
め、上記のような複雑な動作は行わず、PRESYNC
状態と全く同じ様な動作をする。
Even when the state changes from the PRESYNC state to the SYNCH state, the basic cell synchronization operation is performed by the PRESYNC state.
It is not different from the time of C state. However, in the SYNCH state, error control is performed, and the number of operations for the error control increases. That is, in the error correction mode in the SYNC state, the remainder of the division of the input 40 bits by turning on the switch 44 is (L, H, L, H, L, H, L,
H), the control circuit 38 determines that the signal 316 does not go to H, and the control signal therefrom gives
At the same time that the switch 44 is turned off,
Turn ON only for the bit clock. This gives 1,3
The fifth and seventh D flip-flops 20 are inverted with respect to the input of the normal operation, respectively, and input to the second, fourth, sixth and eighth D flip-flops 20. At the next timing, the switch 45 is turned off and the switch 46 is turned on at the same time.
Becomes In this state, the division circuit for the 40-bit clock is operated, and the signal 306 is output. This signal is a header error correction pattern. If the i-th output bit of the signal 306 is H, it means that the i-th bit of the header is incorrect. If all the 40-bit clocks are L signals, this means that there is an error but it cannot be corrected. This signal 306 is used at the output of the control circuit 38 and the shift register circuit (C) 31. In the error detection mode, since the determination can be made only by the signal 316, the above-described complicated operation is not performed, and the PRESYNC is not performed.
It behaves exactly like the state.

【0090】ここで信号306がヘッダ誤り訂正のパタ
ーンとなることの原理を述べる。前述したように、誤り
のないセルヘッダはその5バイト目から(L,H,L,
H,L,H,L,H)のパターンをGF(2)上で引い
た40ビットがG(X)を生成多項式とした短縮巡回符
号となっており、従ってこの40ビットを多項式表現し
たものはG(X)で割り切れる。この符号は誤り訂正を
する場合には1ビット誤り訂正、2ビット誤り検出が可
能であり、誤り検出のみの場合は3ビットまでの誤り検
出が可能である。
Here, the principle that the signal 306 becomes a header error correction pattern will be described. As described above, the error-free cell header starts from the fifth byte (L, H, L,
40 bits obtained by subtracting the pattern of (H, L, H, L, H) on GF (2) is a shortened cyclic code in which G (X) is a generator polynomial. Is divisible by G (X). This code can perform one-bit error correction and two-bit error detection when performing error correction, and can detect errors of up to three bits when only error detection is performed.

【0091】いまセルヘッダのi番目に1ビットだけエ
ラーがあったとすると、(L,H,L,H,L,H,
L,H)のパターンを除いた後の余りは、以下のT
(X)となる。
Now, assuming that there is an error in the i-th one bit of the cell header, (L, H, L, H, L, H,
L, H) after removing the pattern, the following T
(X).

【0092】 T(X)=X39-1modG(X) (17) これをi+1回除算回路でシフトすると、 Xi+1 ・X39-1modG(X) =X40mod(X8 +X2 +X+1) =X6 +X5 +X (18) となり、同じ値になる。すなわちDフリップフロップの
値が(L,H,H,L,L,L,H,L)となるときが
i+1回シフトしたときであれば、i番目に誤りがある
とわかる。信号306はこれを利用したものであり、こ
の例ではi+1回シフトしているが、シフト回数はi回
以上の適当な値をとればよい。
T (X) = X 39-1 modG (X) (17) When this is shifted i + 1 times by the division circuit, X i + 1 · X 39-1 mod G (X) = X 40 mod (X 8 + X 2 + X + 1) = X 6 + X 5 + X (18) , and becomes the same value. In other words, if the value of the D flip-flop becomes (L, H, H, L, L, L, H, L) when it is shifted i + 1 times, it is known that there is an i-th error. The signal 306 utilizes this, and in this example, it is shifted i + 1 times, but the number of shifts may be an appropriate value equal to or more than i times.

【0093】シフトレジスタ回路(C)31は、40ビ
ット長以上であり、信号304を単純にそのビットクロ
ック分遅延したものが信号305として出力される。上
記の誤り訂正信号306の作成の際にi+m回シフトす
ると、その訂正信号出力の遅延のため40+mビット長
必要となる。この例ではi+1回シフトしているので、
41ビット長となっている。誤り訂正モードでヘッダ誤
りが訂正できるときのみ、信号306からHの値が高々
1ビット出力され、このとき、信号305は信号306
と排他的論理和をとられることにより、正しいセルヘッ
ダをもつ信号として信号307となる。それ以外の状態
では信号305はそのまま信号307となる。
The shift register circuit (C) 31 has a length of 40 bits or more, and outputs a signal 305 obtained by simply delaying the signal 304 by the bit clock. If the error correction signal 306 is shifted i + m times when it is created, a 40 + m bit length is required due to the delay of the output of the correction signal. In this example, since it is shifted i + 1 times,
It is 41 bits long. Only when the header error can be corrected in the error correction mode, at most one bit of the value of H is output from the signal 306. At this time, the signal 305 becomes the signal 306
Is exclusive-ORed, and becomes a signal 307 as a signal having a correct cell header. In other states, the signal 305 becomes the signal 307 as it is.

【0094】信号307はそのままセレクタ(B)35
に向かうほか、シフトレジスタ回路(D)32にもはい
る。このシフトレジスタ回路は43ビット長であり、4
8のイネーブル端子がついていて、制御回路からの制御
を受ける。HUNT状態では信号307は順にシフトレ
ジスタ回路(D)32にはいるが、PRESYNC状態
およびSYNCH状態では信号307にセルヘッダのデ
ータが流れる間、シフトレジスタ回路の動作を止める。
このようにしてシフトレジスタ回路(D)32内には常
に最新の43ビット分のペイロードが入っていることに
なる。
The signal 307 is directly used as the selector (B) 35
, And also enters the shift register circuit (D) 32. This shift register circuit is 43 bits long and has 4 bits.
Eight enable terminals are provided to receive control from the control circuit. In the HUNT state, the signal 307 enters the shift register circuit (D) 32 in order, but in the PRESYNC state and the SYNCH state, the operation of the shift register circuit is stopped while the cell header data flows in the signal 307.
In this way, the latest 43-bit payload is always stored in the shift register circuit (D) 32.

【0095】シフトレジスタ回路(D)32を出た信号
308は信号307との排他的論理和をとって信号30
9として、セレクタ(B)35に達する。すなわち信号
309は多項式F(X)で表されるセルのペイロード部
分のディスクランブルされたデータにあたる。このディ
スクランブルは送信側のスクランブル(P)と対になっ
たものであり、他と区別するため、ディスクランブル
(p)と表すこととする。セレクタ(B)35では、H
UNT状態では常に信号307、それ以外の状態ではヘ
ッダ部分に対しては信号307、ペイロード部分に対し
ては信号309を選択して、信号311として出力す
る。信号311において、SYNCH状態ではエラーの
あるセルを除いて基本的に本来のセルの形になってい
る。
The signal 308 output from the shift register circuit (D) 32 is exclusive-ORed with the signal 307 to obtain the signal 30
As 9, the selector (B) 35 is reached. That is, the signal 309 corresponds to the descrambled data of the payload portion of the cell represented by the polynomial F (X). This descrambling is paired with the scrambling (P) on the transmitting side, and is referred to as descrambling (p) to distinguish it from others. In the selector (B) 35, H
In the UNT state, the signal 307 is always selected. In other states, the signal 307 is selected for the header portion, and the signal 309 is selected for the payload portion, and is output as the signal 311. The signal 311, in the SYNCH state, is basically in the original cell shape except for the cell having an error.

【0096】セルカウンタ36は、制御回路38よりH
UNT状態であるかそれ以外の状態であるかの信号を常
に受け取っている。HUNT状態であるとき、セル同期
・ヘッダ誤り制御回路33からの信号316がHになる
と、カウンタをリセットする。その後PRESYNC状
態およびSYNCH状態ではセルの先頭が分かっている
ため外部信号にかかわらず、ちょうど1セル長分を繰り
返しカウントするようになっている。従ってPRESY
NC状態およびSYNCH状態ではカウンタからの出力
値を見れば現在のセルのどの部分が入力あるいは出力さ
れているかが分かるようになっている。それでカウンタ
値の出力信号を受け取った制御回路38は、これらの値
をみて適宜必要な制御信号を出力する。
The cell counter 36 outputs H
A signal indicating whether the state is the UNT state or any other state is always received. In the HUNT state, when the signal 316 from the cell synchronization / header error control circuit 33 becomes H, the counter is reset. Thereafter, in the PRESYNC state and the SYNCH state, since the head of the cell is known, the count for exactly one cell length is repeated regardless of the external signal. Therefore PRESY
In the NC state and the SYNCH state, the output value from the counter indicates which part of the current cell is being input or output. Then, the control circuit 38 which has received the output signal of the counter value outputs a necessary control signal as appropriate based on these values.

【0097】またこのカウンタはHUNT時においても
常に動作させる。この回路は外部からのリセット信号を
用いずに設計しているため、このカウンタを異常時の復
帰用の内部リセット信号出力のタイマーとして用いる。
例えば、HUNT状態で通常であれば1セル分の信号入
力で同期がとれるはずであるにもかかわらず、セル同期
がなかなかとれない場合、セルカウンタが何周かしたと
ころでセル同期・ヘッダ誤り制御回路33にリセットを
かけるなどの使用法がある。
This counter always operates even during HUNT. Since this circuit is designed without using an external reset signal, this counter is used as a timer for outputting an internal reset signal for recovery from an abnormal condition.
For example, in the HUNT state, if cell synchronization is difficult to achieve even though signal synchronization for one cell would normally be possible in a HUNT state, the cell synchronization / header error control circuit should be used after several turns of the cell counter. There is a usage such as resetting 33.

【0098】状態表示回路40はHUNT、PRESY
NC、SYNCHの各状態とSYNCH状態における誤
り訂正モードおよび誤り検出モードの状態を外部に表示
するものである。従って信号314は複数の信号線から
なっている。またこの回路は制御回路38に対し、常に
現在の状態およびモードを知らせていて、この情報に従
って、制御回路38は各回路に制御信号を送る。
The status display circuit 40 is HUNT, PRESY
The error correction mode and the error detection mode in the NC and SYNCH states and the SYNCH state are externally displayed. Therefore, the signal 314 is composed of a plurality of signal lines. Further, this circuit always informs the control circuit 38 of the current state and mode, and according to this information, the control circuit 38 sends a control signal to each circuit.

【0099】HUNT状態では、セル同期・ヘッダ誤り
制御回路33からの信号316がHとなった情報を制御
回路38から受け取って、状態表示回路40がPRES
YNC状態表示を出す。この情報を受け取った制御回路
38は、DELTAカウンタ41を動作させる。DEL
TAカウンタ41はセルカウンタ36の出力がある値の
時に、信号316がHであると自分のカウンタ値を1つ
あげ、Lであるとリセットする。このカウンタの情報を
制御回路38は状態表示回路40に渡す。状態表示回路
40はDELTAカウンタ41がリセットされるとHU
NT状態表示にし、またその値が外部から与えられた回
数と一致したことを知ると、PRESYNC状態からS
YNCH状態に表示を変えて制御回路38に送る。それ
により制御回路38はDELTAカウンタ41をリセッ
トし、今度はALPHAカウンタ42を動作させる。A
LPHAカウンタ42はセルカウンタ36の出力がある
値の時に、信号316がLであると自分のカウンタ値を
1つあげ、Hであるとリセットする。制御回路38はそ
の情報を状態表示回路40に渡し、状態表示回路40は
ALPHAカウンタ42の値が0であるときには誤り訂
正モードとし、それ以外の時は誤り検出モードを表示す
る。また、カウンタの値が外部から与えられた回数と一
致したことを知ると、SYNCH状態からHUNT状態
に表示を変えて制御回路38に送る。
In the HUNT state, information that the signal 316 from the cell synchronization / header error control circuit 33 has become H is received from the control circuit 38, and the state display circuit 40 outputs
Display the YNC status display. The control circuit 38 that has received this information operates the DELTA counter 41. DEL
When the output of the cell counter 36 has a certain value, the TA counter 41 increases its own counter value by one when the signal 316 is H, and resets it when it is L. The control circuit 38 passes the information of this counter to the status display circuit 40. When the DELTA counter 41 is reset, the status display circuit 40
When the NT state is displayed and it is found that the value matches the number of times given from the outside, the state is changed from the PRESYNC state to S.
The display is changed to the YNCH state and sent to the control circuit 38. As a result, the control circuit 38 resets the DELTA counter 41 and operates the ALPHA counter 42 this time. A
When the output of the cell counter 36 has a certain value, the LPHA counter 42 increases its own counter value by one when the signal 316 is L, and resets it when it is H. The control circuit 38 passes the information to the status display circuit 40, and the status display circuit 40 sets the error correction mode when the value of the ALPHA counter 42 is 0, and displays the error detection mode otherwise. Further, when it is determined that the value of the counter matches the number of times given from the outside, the display is changed from the SYNCH state to the HUNT state and sent to the control circuit 38.

【0100】セルクロック生成回路39は、SYNCH
状態のとき、セルの先頭と何らかの関係をもつタイミン
グでセルクロック信号312とセル有効表示信号313
を出す。セルクロック信号312は単に同期の確立した
状態でのセルの区切りを示す信号である。またセル有効
表示信号313は、ヘッダ誤りのあることがわかってな
おかつ訂正できないセルに対して例えばL表示をする。
このようにして次段の回路でこのセルを削除できるよう
にしている。
The cell clock generation circuit 39 has a SYNCH
In the state, the cell clock signal 312 and the cell valid display signal 313 at a timing having some relationship with the head of the cell.
Put out. The cell clock signal 312 is a signal simply indicating a cell division in a state where synchronization is established. In addition, the cell valid display signal 313 displays, for example, L for a cell which is known to have a header error and cannot be corrected.
In this way, this cell can be deleted by the next stage circuit.

【0101】この図において、イネーブル端子48を除
いたものは従来技術の項で述べた、ペイロードディスク
ランブル(p)のディスクランブル用データとして、セ
ルヘッダを含んだ場合の一実施例となる。この場合はシ
フトレジスタ回路(D)32内にはヘッダおよびスクラ
ンブル(P)されたデータがはいり、これを用いてディ
スクランブル(p)されたデータ309とそのままのデ
ータ307とのいずれかがセレクタ(B)35により選
択される。その選択方法は上述のものと同一である。
In this figure, the configuration excluding the enable terminal 48 is an embodiment in which a cell header is included as descrambling data of the payload descrambling (p) described in the section of the prior art. In this case, the header and the scrambled (P) data are inserted into the shift register circuit (D) 32, and either the data 309 descrambled (p) or the data 307 as it is by using the header is selected by the selector ( B) Selected by 35. The selection method is the same as that described above.

【0102】以上図9に関し、シリアル入力の場合のみ
を述べてきたが、CCITTの規格による外部フレーム
を用いる場合には、バイト毎の位相情報がもらえるた
め、セル同期におけるヘッダ部分の検索は1バイト毎に
行えばよく、従って8ビットパラレル入力される場合
に、同様の回路構成で対応できる。
In the above, only the case of serial input has been described with reference to FIG. 9. However, in the case of using an external frame conforming to the CCITT standard, phase information for each byte can be obtained. The same circuit configuration can cope with the case where 8-bit parallel input is performed.

【0103】図12にこのうち図9の31,32,3
3,35の接続部分に対応する実施例を示す。基本的な
データの流れは図9のものと同一であるので、ここでは
概略の説明にとどめる。なお、前述したように、図上で
原則として最も上側にあるのをMSB、最も下側にある
のをLSBとし、セルの先頭は必ずMSBのところにあ
る。
FIG. 12 shows 31, 32, 3 of FIG.
Embodiments corresponding to connection portions 3 and 35 are shown. Since the basic data flow is the same as that in FIG. 9, only a brief description will be given here. As described above, the MSB is located at the top of the drawing and the LSB is located at the bottom of the drawing, and the head of the cell is always located at the MSB.

【0104】入力信号501は8ビットパラレルシフト
レジスタ回路(A)52とセル同期・ヘッダ誤り制御回
路51に分岐して入り、シフトレジスタ回路(A)52
では5バイトクロック分シフトして信号502としてデ
ータ出力される。信号502は回路51への入力となる
他、回路51からのヘッダ誤り訂正パターン信号503
と排他的論理和をとられて、信号505として一方はセ
レクタ50への入力となり、また他方は8ビットパラレ
ルシフトレジスタ回路(B)53への入力となる。ただ
しセルヘッダとみなされる部分はスイッチ55をOFF
にして入力されないようにする。そして回路53および
3ビットパラレルのDフリップフロップ回路54からの
出力データと、信号505との排他的論理和をとられた
信号504がセレクタ50に達する。セレクタ50では
HUNT状態およびそれ以外でのセルヘッダ部分の信号
の場合は信号505を選択し、それ以外の場合は信号5
04を選択して出力信号506とする。
The input signal 501 branches into the 8-bit parallel shift register circuit (A) 52 and the cell synchronization / header error control circuit 51, and enters the shift register circuit (A) 52.
Then, data is output as a signal 502 after shifting by 5 byte clocks. The signal 502 is used as an input to the circuit 51 and a header error correction pattern signal 503 from the circuit 51.
An exclusive OR is obtained, and one of the signals 505 becomes an input to the selector 50 and the other becomes an input to the 8-bit parallel shift register circuit (B) 53. However, the switch 55 is turned off at the part regarded as the cell header.
So that it is not entered. Then, a signal 504 obtained by performing an exclusive OR operation on the output data from the circuit 53 and the 3-bit parallel D flip-flop circuit 54 and the signal 505 reaches the selector 50. The selector 50 selects the signal 505 if the signal is in the HUNT state or the cell header portion in any other state, and otherwise the signal 5 is selected.
04 is selected as the output signal 506.

【0105】図13に図12のセル同期・ヘッダ誤り制
御回路51の構成を示す。これも基本的な動作の流れは
図10と同一である。信号502は信号501を5バイ
トクロック分遅延させた信号である。これを消去パター
ン生成回路59に入力し、HUNT状態の時に常に1バ
イト毎に最新5バイトに対する余りを計算できるよう、
過去に入力された信号の消去パターンを生成する。HU
NT状態の場合のみスイッチ60をONにして、このパ
ターンを信号501の各ビットと排他的論理和する。
FIG. 13 shows the configuration of the cell synchronization / header error control circuit 51 of FIG. The basic operation flow is the same as that of FIG. The signal 502 is a signal obtained by delaying the signal 501 by 5 byte clocks. This is input to the erasure pattern generation circuit 59 so that the remainder for the latest 5 bytes can be calculated every byte at the time of the HUNT state.
Generate an erasure pattern of a signal input in the past. HU
The switch 60 is turned ON only in the NT state, and this pattern is exclusive ORed with each bit of the signal 501.

【0106】57は除算パターン生成回路を示し、8ビ
ットパラレルのDフリップフロップ56からの出力信号
を、8ビット分シフトしたデータに対し、それをG
(X)で割った余りの8ビットパターンを生成する。こ
れをさきほどの信号501と信号502の排他的論理和
をとったものにさらに排他的論理和して、8ビットパラ
レルのDフリップフロップ56に入力する。このDフリ
ップフロップ56の値をMSBの方からみて(L,H,
L,H,L,H,L,H)のパターンの時、信号507
がHとなる。この信号507は図10における信号31
6に対応している。
Reference numeral 57 denotes a division pattern generation circuit, which outputs G from data obtained by shifting the output signal from the 8-bit parallel D flip-flop 56 by 8 bits.
The remainder of the 8-bit pattern divided by (X) is generated. This signal is further exclusive-ORed with the exclusive OR of the signal 501 and the signal 502, and input to the 8-bit parallel D flip-flop 56. When the value of the D flip-flop 56 is viewed from the MSB side, (L, H,
(L, H, L, H, L, H) signal 507
Becomes H. This signal 507 is the signal 31 in FIG.
6 is supported.

【0107】誤り訂正モードの時にヘッダに誤りのある
ことが分かると、出力信号56に対し、スイッチ61を
1バイトクロック分のみONにして、2,4,6,8番
目のビットを反転させる。その後、一方は除算パターン
生成回路にはいり、順に8ビット分シフトしたパターン
を生成する。このときスイッチ62はOFFされてお
り、信号501は入力されない。またもう一方は訂正パ
ターン生成回路58に入って訂正のパターンを信号50
3として出力する。
When it is found that there is an error in the header in the error correction mode, the switch 61 is turned ON for the output signal 56 for only one byte clock, and the second, fourth, sixth and eighth bits are inverted. After that, one enters the division pattern generation circuit, and generates a pattern shifted in order by 8 bits. At this time, the switch 62 is turned off, and the signal 501 is not input. The other side enters a correction pattern generation circuit 58 and outputs a correction pattern to a signal 50.
Output as 3.

【0108】消去パターン生成回路59の動作は入力信
号をf[j]、出力信号をfo[j](jは1から8ま
での整数)とし、それぞれ0,1の2進表示とすると、
以下の式で表される。ただし、f[8],fo[8]が
それぞれMSBであるとする。
The operation of the erasure pattern generation circuit 59 is as follows. When the input signal is f [j] and the output signal is fo [j] (j is an integer from 1 to 8), and binary representation of 0 and 1 is given, respectively.
It is represented by the following equation. However, it is assumed that f [8] and fo [8] are MSBs.

【0109】 fo[8]=f[2](+)f[3](+)f[7](+)f[8] fo[7]=f[1](+)f[2](+)f[6](+)f[7] fo[6]=f[1](+)f[5](+)f[6] fo[5]=f[4](+)f[5](+)f[8] fo[4]=f[3](+)f[4](+)f[7] (19) fo[3]=f[2](+)f[3](+)f[6](+)f[8] fo[2]=f[1](+)f[3](+)f[5](+)f[8] fo[1]=f[3](+)f[4](+)f[8] 次に除算パターン生成回路57の動作は入力信号をg
[j]、出力信号をgo[j](jは[1]から8まで
の整数)とし、それぞれ0,1の2進表示とすると、以
下の式で表される。ただし、g[8],go[8]がそ
れぞれMSBであるとする。また“(+)”はビット毎
の排他的論理和を表す。
Fo [8] = f [2] (+) f [3] (+) f [7] (+) f [8] fo [7] = f [1] (+) f [2] ( +) F [6] (+) f [7] fo [6] = f [1] (+) f [5] (+) f [6] fo [5] = f [4] (+) f [ 5] (+) f [8] fo [4] = f [3] (+) f [4] (+) f [7] (19) fo [3] = f [2] (+) f [3 ] (+) F [6] (+) f [8] fo [2] = f [1] (+) f [3] (+) f [5] (+) f [8] fo [1] = f [3] (+) f [4] (+) f [8] Next, the operation of the division pattern generation circuit 57 is as follows.
[J], and the output signal is go [j] (j is an integer from [1] to 8), and is represented by the following formula, when it is expressed in binary of 0 and 1, respectively. However, it is assumed that g [8] and go [8] are each MSB. “(+)” Indicates exclusive OR for each bit.

【0110】 go[8]=g[6](+)g[7](+)g[8] go[7]=g[5](+)g[6](+)g[7] go[6]=g[4](+)g[5](+)g[6] go[5]=g[3](+)g[4](+)g[5] (20) go[4]=g[2](+)g[3](+)g[4](+)g[8] go[3]=g[1](+)g[2](+)g[3](+)g[7] go[2]=g[1](+)g[2](+)g[7] go[1]=g[1](+)g[7](+)g[8] 最後に訂正パターン生成回路58の動作は入力信号h
[j]、入力信号の反転信号をhb[j]、出力信号を
ho[j](jは1から8までの整数)とし、それぞれ
0,1の2進表示とすると、以下の式で表される。ただ
し、h[8],hb[8],ho[8]がそれぞれMS
Bであるとする。また、“・”はAND論理を表す。
Go [8] = g [6] (+) g [7] (+) g [8] go [7] = g [5] (+) g [6] (+) g [7] go [6] = g [4] (+) g [5] (+) g [6] go [5] = g [3] (+) g [4] (+) g [5] (20) go [ 4] = g [2] (+) g [3] (+) g [4] (+) g [8] go [3] = g [1] (+) g [2] (+) g [3 ] (+) G [7] go [2] = g [1] (+) g [2] (+) g [7] go [1] = g [1] (+) g [7] (+) g [8] Finally, the operation of the correction pattern generation circuit 58 is based on the input signal h.
[J], the inverted signal of the input signal is hb [j], and the output signal is ho [j] (j is an integer from 1 to 8). Is done. However, h [8], hb [8] and ho [8] are MS
Suppose B. "." Represents AND logic.

【0111】 ho[8]=(h[4]・h[6]・h[7])・(hb[1]・hb[2] ・hb[3]・hb[5]・hb[8]) ho[7]=(h[3]・h[5]・h[6])・(hb[1]・hb[2] ・hb[4]・hb[7]・hb[8]) ho[6]=(h[2]・h[4]・h[5]・h[8])・(hb[1] ・hb[3]・hb[6]・hb[7]) ho[5]=(h[1]・h[3]・h[4]・h[7]・h[8]) ・(hb[2]・hb[5]・hb[6]) (21) ho[4]=(h[2]・h[3]・h[6]・h[7])・(hb[1] ・hb[4]・hb[5]・hb[8]) ho[3]=(h[1]・h[2]・h[5]・h[6])・(hb[3] ・hb[4]・hb[7]・hb[8]) ho[2]=(h[1]・h[5]・h[6]・h[7])・(hb[2] ・hb[3]・hb[4]・hb[8]) ho[1]=(h[5]・h[7]・h[8])・(hb[1]・hb[2] ・hb[3]・hb[4]・hb[6])Ho [8] = (h [4] · h [6] · h [7]) · (hb [1] · hb [2] · hb [3] · hb [5] · hb [8] ) Ho [7] = (h [3] · h [5] · h [6]) · (hb [1] · hb [2] · hb [4] · hb [7] · hb [8]) ho [6] = (h [2] · h [4] · h [5] · h [8]) · (hb [1] · hb [3] · hb [6] · hb [7]) ho [5 ] = (H [1] · h [3] · h [4] · h [7] · h [8]) · (hb [2] · hb [5] · hb [6]) (21) ho [ 4] = (h [2] · h [3] · h [6] · h [7]) · (hb [1] · hb [4] · hb [5] · hb [8]) ho [3] = (H [1] · h [2] · h [5] · h [6]) · (hb [3] · hb [4] · hb [7] · hb [8]) h o [2] = (h [1] · h [5] · h [6] · h [7]) · (hb [2] · hb [3] · hb [4] · hb [8]) ho [ 1] = (h [5] · h [7] · h [8]) · (hb [1] · hb [2] · hb [3] · hb [4] · hb [6])

【0112】[0112]

【発明の効果】以上説明したように、送信側において
は、セルの全体、または一部分に対する冗長ビットを生
成する際に、元のデータをある多項式で乗算したものの
出力を直接該当する除算回路の多項式で割った剰余を用
いることによって、元のデータを入力した直後に冗長ビ
ットを発生させることが可能となり、これをパケットに
直ちに付加することにより、データ信号が入力してから
出力するまでの回路内の遅延を最小に抑えることができ
る。またそれにより遅延のある場合に必要となる遅延回
路が不要となり、回路規模の削減ができる。
As described above, on the transmitting side, when generating redundant bits for the whole or a part of the cell, the output of the multiplication of the original data by a certain polynomial is directly applied to the polynomial of the corresponding division circuit. By using the remainder divided by, it is possible to generate a redundant bit immediately after the original data is input, and by immediately adding this to the packet, the circuit can be used in the circuit from the input of the data signal to the output of the data signal. Can be minimized. This also eliminates the need for a delay circuit required when there is a delay, thereby reducing the circuit scale.

【0113】また受信側においては、セルのペイロード
部分に対してかけられるディスクランブルとセル同期を
同時に実現するために必要となるセルヘッダ部分のデー
タ蓄積機能と、セル同期のための検査回路への入力デー
タをシリアル入力の場合は少なくとも1ビット毎に、ま
た8ビットパラレル入力の場合は少なくとも1バイト毎
に更新する際に、上記検査回路より取り除くべき1ビッ
ト以上あるいは1バイト以上のデータを蓄えておく機能
と、上記冗長ビットを用いてセルの全体あるいは一部分
に誤りがないか検査し、誤りが見つかった場合には誤り
訂正を行う際に、該訂正データを上記誤り訂正パターン
が生成されるまで蓄えておく機能とを同時に有するシフ
トレジスタ回路を用いることにより、回路規模を縮小す
ることができる。
On the receiving side, a data storage function of a cell header portion necessary for simultaneously realizing descrambling applied to a payload portion of a cell and cell synchronization, and an input to an inspection circuit for cell synchronization. When updating data at least every 1 bit in the case of serial input, and at least every 1 byte in the case of 8 bit parallel input, store 1 bit or more data or 1 byte or more data to be removed from the check circuit. The function and the redundancy bits are used to check the whole or a part of the cell for errors. If an error is found, the error correction data is stored until the error correction pattern is generated. With the use of a shift register circuit having the function of storing data simultaneously, the circuit scale can be reduced.

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

【図1】本発明の一実施例であるセル生成回路の全体構
成の図である。
FIG. 1 is a diagram of an overall configuration of a cell generation circuit according to an embodiment of the present invention.

【図2】セルのペイロード部分におけるスクランブル動
作の図である。
FIG. 2 is a diagram of a scrambling operation in a payload portion of a cell.

【図3】セルのペイロード部分におけるスクランブル動
作の別の構成図である。
FIG. 3 is another configuration diagram of a scrambling operation in a payload portion of a cell.

【図4】セル全体のスクランブル回路の図である。FIG. 4 is a diagram of a scrambling circuit for the entire cell.

【図5】セル全体のスクランブル回路の別の一構成図で
ある。
FIG. 5 is another configuration diagram of a scramble circuit of the whole cell.

【図6】従来のHEC生成回路の図である。FIG. 6 is a diagram of a conventional HEC generation circuit.

【図7】本発明の一実施例であるHEC生成回路の図で
ある。
FIG. 7 is a diagram of an HEC generation circuit according to an embodiment of the present invention.

【図8】図7の回路と同機能で8ビットパラレルの入出
力にした回路図である。
8 is a circuit diagram of the same function as that of the circuit of FIG. 7 and 8-bit parallel input / output.

【図9】本発明の一実施例であるセル同期演算回路の全
体構成の図である。
FIG. 9 is a diagram of an overall configuration of a cell synchronous operation circuit according to an embodiment of the present invention.

【図10】セル同期・ヘッダ誤り制御回路の図である。FIG. 10 is a diagram of a cell synchronization / header error control circuit.

【図11】従来からある通常の除算回路の図である。FIG. 11 is a diagram of a conventional ordinary division circuit.

【図12】図9の回路をパラレル入出力にした場合の、
データの流れを示した図である。
FIG. 12 shows a case where the circuit of FIG.
FIG. 3 is a diagram showing a flow of data.

【図13】パラレル入出力の場合のセル同期・ヘッダ誤
り制御回路の図である。
FIG. 13 is a diagram of a cell synchronization / header error control circuit in the case of parallel input / output.

【符号の説明】[Explanation of symbols]

12 HEC生成回路 14 セルスクランブル回路 15 シフトレジスタ回路(A) 16 シフトレジスタ回路(B) 18 セルヘッダ 19 セルペイロード 25 8ビットシフトレジスタ 30 セルディスクランブル回路 31 シフトレジスタ回路(C) 32 シフトレジスタ回路(D) 33 セル同期・ヘッダ誤り制御回路 51 セル同期・ヘッダ誤り制御回路 52 パラレルシフトレジスタ回路(A) 53 パラレルシフトレジスタ回路(B) 57 除算パターン生成回路 58 訂正パターン生成回路 59 消去パターン生成回路 101 セルクロック 102 セル長データ信号 110 ペイロードスクランブル出力信号 111 セルスクランブル出力信号 301 受信データ 302 ビットクロック 306 誤り訂正パターン信号 310 クロックモニタ信号 311 セルデータ出力 312 セルクロック 313 セル有効表示信号 314 状態表示信号 315 5バイト遅延信号 502 5バイト遅延信号 503 誤り訂正パターン信号 506 セルデータ出力 12 HEC generation circuit 14 cell scramble circuit 15 shift register circuit (A) 16 shift register circuit (B) 18 cell header 19 cell payload 25 8-bit shift register 30 cell descramble circuit 31 shift register circuit (C) 32 shift register circuit (D) 33 Cell Synchronization / Header Error Control Circuit 51 Cell Synchronization / Header Error Control Circuit 52 Parallel Shift Register Circuit (A) 53 Parallel Shift Register Circuit (B) 57 Division Pattern Generation Circuit 58 Correction Pattern Generation Circuit 59 Erase Pattern Generation Circuit 101 Cell Clock 102 Cell length data signal 110 Payload scramble output signal 111 Cell scramble output signal 301 Received data 302 Bit clock 306 Error correction pattern signal 310 Clock monitor Data signal 311 cell data output 312 cell clock 313 cell valid display signal 314 status display signal 315 5 byte delay signal 502 5 byte delay signal 503 error correction pattern signal 506 cell data output

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04L 7/08 H04L 12/28 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04L 7/08 H04L 12/28

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報をセルと呼ばれるある決まった長さ
のパケットの形にして通信するようなATMシステムの
受信回路系において、送信回路系の装置において付加さ
れた冗長ビットの性質を利用して、セルの一部分を検査
し該当する冗長ビットを見つけることにより同期をとる
セル同期演算回路であって、少なくとも、 前記セル同
期のための検査回路に入力されるデータの更新の際に該
検査回路より取り除くべきデータを蓄えておく機能と、 セル同期のために検査されるセルの部分データを蓄えて
おく機能と、 該冗長ビットを用いてセルの全体あるいは一部分のデー
タの誤り訂正を行う際に、訂正対象データの訂正パター
ンが生成されるまで、訂正対象データを蓄えておく機能
と、 を有する シフトレジスタ回路、 を有することを特徴とするセル同期演算回路。
1. A receiving circuit system of an ATM system for communicating information in the form of a packet of a fixed length called a cell by utilizing the property of redundant bits added in a device of a transmitting circuit system. A cell synchronization operation circuit that synchronizes by examining a part of a cell and finding a corresponding redundant bit , wherein at least the cell
When updating the data input to the inspection circuit for
A function to store the data to be removed from the inspection circuit and a partial data of the cell to be inspected for cell synchronization
The function of placing, in performing the error correction of the entire or part of the data of the cell with the redundant bits, the correction target data correction pattern
Function to store the data to be corrected until the application is generated
And a shift register circuit having the following.
JP76291A 1991-01-08 1991-01-08 Cell synchronous operation circuit in ATM Expired - Lifetime JP2952051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP76291A JP2952051B2 (en) 1991-01-08 1991-01-08 Cell synchronous operation circuit in ATM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP76291A JP2952051B2 (en) 1991-01-08 1991-01-08 Cell synchronous operation circuit in ATM

Publications (2)

Publication Number Publication Date
JPH04363927A JPH04363927A (en) 1992-12-16
JP2952051B2 true JP2952051B2 (en) 1999-09-20

Family

ID=11482709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP76291A Expired - Lifetime JP2952051B2 (en) 1991-01-08 1991-01-08 Cell synchronous operation circuit in ATM

Country Status (1)

Country Link
JP (1) JP2952051B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3454962B2 (en) * 1995-03-23 2003-10-06 株式会社東芝 Error correction code encoder and decoder

Also Published As

Publication number Publication date
JPH04363927A (en) 1992-12-16

Similar Documents

Publication Publication Date Title
EP0503667B1 (en) A CRC operating method and an HEC synchronizing unit in the ATM switching method
US6487686B1 (en) Error correction method and transmission apparatus
JP3710198B2 (en) STM-N signal error correction encoding / decoding method, STM-N signal error correction encoding circuit, and STM-N signal error correction decoding circuit
JP5464752B2 (en) Receiver, interleave and deinterleave circuit, and method
US5923680A (en) Error correction in a digital transmission system
US3882457A (en) Burst error correction code
US5204903A (en) Secure communication equipment and secure transmission system
US4849995A (en) Digital signal transmission system having frame synchronization operation
JPH07177116A (en) Digital signal transmitter
US20050206542A1 (en) Data detector and multi-channel data detector
US4476458A (en) Dual threshold decoder for convolutional self-orthogonal codes
US5694405A (en) Encoder and decoder of an error correcting code
JP2952051B2 (en) Cell synchronous operation circuit in ATM
KR950007977B1 (en) Method and arrangement for the synchronisation of digital information signals
US4521886A (en) Quasi-soft decision decoder for convolutional self-orthogonal codes
US5280484A (en) Time-division multiplex communication system with a synchronizing circuit at the receiving end which responds to the coding of words inserted in the transmitted information
JPH0787090A (en) Method and device for detecting cyclic code
JP3536799B2 (en) Frame synchronization circuit and synchronization method, and recording medium recording the program
US5500863A (en) CRC operational system
JP2926670B2 (en) Cell arrival order detector
JP2817638B2 (en) Error correction code decoder resynchronization device
KR100267277B1 (en) Cell boundary discrimination apparatus using crc calculation
JPH03139033A (en) Time-division multicommunication system provided with synchronous circuit of receiving terminal responding to coding of words inserted into transmitted information
JPH08340342A (en) Method for verifying checksum in received data block and implementing method therefor
JP3153975B2 (en) Frame synchronization circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090709

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090709

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100709

Year of fee payment: 11