JPH08125667A - Atm cell synchronization system and its circuit - Google Patents

Atm cell synchronization system and its circuit

Info

Publication number
JPH08125667A
JPH08125667A JP6314140A JP31414094A JPH08125667A JP H08125667 A JPH08125667 A JP H08125667A JP 6314140 A JP6314140 A JP 6314140A JP 31414094 A JP31414094 A JP 31414094A JP H08125667 A JPH08125667 A JP H08125667A
Authority
JP
Japan
Prior art keywords
circuit
cell
output
register
adder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6314140A
Other languages
Japanese (ja)
Inventor
Shigeki Yanagisawa
重毅 柳澤
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP6314140A priority Critical patent/JPH08125667A/en
Priority to US08/523,191 priority patent/US5771249A/en
Publication of JPH08125667A publication Critical patent/JPH08125667A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To use the system for error correction processing after synchronization establishment or abort processing of erroneous cells while attaining low speed operation by the parallel processing as the cell synchronization system by receiving an ATM cell flow, decoding an output of a divider to generate a cell synchronizing pulse for cell synchronization processing thereby eliminating the need for addition of a storage circuit to store cell headers. CONSTITUTION: An 8-bit ATM cell flow is given to 5-stage D flip-flop circuits 1a-1e and outputted to an adder circuit 5a via a residue arithmetic circuit 3. The adder 5a calculates exclusive OR between the output of the residue arithmetic circuit 3 and the received cell and the result of arithmetic operation is given to the D flip-flop circuit 1f via an adder 5b. An output of the D flip-flop circuit 1f is given to a parallel processing CRC arithmetic circuit 7 and a decoder 9. An output of the CRC arithmetic circuit 7 is given to the adder 5b and a cell synchronizing pulse is outputted from the decoder 9.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ATMセル同期方式お
よび回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM cell synchronization system and circuit.

【0002】[0002]

【従来の技術】近年、B−ISDN(Broadband Aspect
s of Integrated Services Digital Network;広帯域サ
ービス総合ディジタル網)によるサービスが提供される
に至っている。このB−ISDNに用いられる伝送方式
であるATM(Asynchronous Transfer Mode;非同期転
送モード)は、音声や画像などの様々な情報を含むデー
タを一定長に区切り、ヘッダと呼ばれる宛先情報を付け
て転送する方式であり、この情報単位はセルと呼ばれ
る。
2. Description of the Related Art In recent years, B-ISDN (Broadband Aspect)
s of Integrated Services Digital Network) has been provided. ATM (Asynchronous Transfer Mode), which is a transmission method used in this B-ISDN, divides data including various information such as voice and image into a certain length and transfers it with destination information called a header. This is a system, and this information unit is called a cell.

【0003】ITU−T勧告(旧CCITT勧告)によ
れば、セルはヘッダ5バイト、情報フィールド48バイ
トの合計53バイトで構成される。セルのヘッダ5バイ
ト(40ビット)は、32ビットを情報点、8ビットを
HEC(Header Error Control;ヘッダ誤り制御)と呼
ばれる検査点とする短縮化巡回符号にX6 +X4 +X2
+1(01010101のパターン)を加算したものに
なっている。短縮化巡回符号の生成多項式はX8 +X2
+X+1である。
According to the ITU-T recommendation (old CCITT recommendation), a cell is composed of a header of 5 bytes and an information field of 48 bytes, which is a total of 53 bytes. The 5 bytes (40 bits) of the cell header are X6 + X4 + X2 in a shortened cyclic code in which 32 bits are information points and 8 bits are check points called HEC (Header Error Control).
+1 (the pattern of 01010101) is added. The generator polynomial of the shortened cyclic code is X8 + X2
+ X + 1.

【0004】ATMでは、セルをそのまま伝送路に転送
するセルベース方式と、セルをいったんSDHフレーム
と呼ばれるデータブロックにはめ込んでから伝送するS
DHベース方式の2つのオプションがある。またITU
−T勧告とは別に、高速なATMへの移行段階ではNT
Tのセルリレー方式における二次群速度フレームなど、
SDHフレームとは異なるフレームが用いられる場合も
ある。これらフレームを用いる方式では、フレームの同
期をとる際にバイト単位の区切りが見付けられるため、
この区切りを利用することにより1バイト毎の並列処理
が可能となり、高速化が容易となる。
In the ATM, a cell-based method in which cells are directly transferred to a transmission line and an S-based method in which cells are once embedded in a data block called an SDH frame and then transmitted
There are two options for the DH based method. Also ITU
-In addition to the T recommendation, NT is not available during the transition to high-speed ATM.
Secondary group velocity frame in T cell relay system,
A frame different from the SDH frame may be used in some cases. In the method that uses these frames, byte-wise delimiters are found when synchronizing frames, so
By using this delimiter, parallel processing can be performed for each byte, which facilitates speeding up.

【0005】ATMでは伝送路中を連続的に転送される
セルを受信側で正しく取り出すためにセルの区切りを見
つけだす必要がある。この処理は、セル同期と呼ばれ、
セルの先頭に付加されているヘッダを利用するように規
定されている。具体的には、短縮化巡回符号が生成多項
式で割り切ることができることから、受信側でヘッダの
40ビットを生成多項式で除算すれば、送信側で加算し
たX6 +X4 +X2 +1が剰余となるのでこの性質を利
用する。
In ATM, it is necessary to find cell delimiters in order for the receiving side to correctly take out cells that are continuously transferred in the transmission path. This process is called cell synchronization,
It is specified to use the header added to the beginning of the cell. Specifically, since the shortened cyclic code can be divided by the generator polynomial, if 40 bits of the header are divided on the receiver side by the generator polynomial, X6 + X4 + X2 +1 added on the transmitter side becomes a remainder, so this property To use.

【0006】すなわち、セルの区切り位置が分かってい
ない状態(ハンティング状態)では受信されたデータか
らヘッダサイズ40ビット分を取り出し、生成多項式で
除算を行い、その剰余がX6 +X4 +X2 +1である時
に、その時取り出した40ビットがヘッダであると判定
し、前同期状態となる。また、異なる場合には1ビット
次にずれた位置の40ビットに対し同様の検査を行な
い、前同期状態となるまでこの検査を順次続ける。さら
に前同期状態では、次のセルのヘッダと想定される位置
を順次、規定回数だけ検査し、正しければ完全な同期状
態とする。
That is, when the cell delimiter position is not known (hunting state), a header size of 40 bits is extracted from the received data and division is performed by the generator polynomial, and when the remainder is X6 + X4 + X2 +1, The 40 bits extracted at that time are determined to be the header, and the pre-synchronization state is set. If they are different, the same inspection is performed on the 40 bits shifted to the next one bit position, and this inspection is continued until the pre-synchronization state is reached. Further, in the pre-synchronization state, the position assumed to be the header of the next cell is sequentially inspected a prescribed number of times, and if it is correct, the synchronization state is set to be complete.

【0007】同期状態においては、このヘッダに対して
誤り検出、誤り訂正処理を行なう。生成多項式X8 +X
2 +X+1は、40ビットのヘッダに対し、1ビットの
誤り訂正能力と複数ビットの誤り検出能力を持つ。誤り
検出は、ヘッダを生成多項式で除算し、その剰余がX6
+X4 +X2 +1でない時に誤りが存在すると判定す
る。また、誤り訂正はその剰余パターンから誤りビット
の位置を特定し訂正する。
In the synchronous state, error detection and error correction processing is performed on this header. Generator polynomial X8 + X
2 + X + 1 has a 1-bit error correction capability and a multi-bit error detection capability for a 40-bit header. For error detection, the header is divided by the generator polynomial, and the remainder is X6.
When not + X4 + X2 +1 it is judged that an error exists. In error correction, the position of the error bit is specified and corrected from the residue pattern.

【0008】次に具体的な除算器回路を図4に示す。こ
の除算回路はヘッダ等のデータの入力される加算器11
aと、この加算器11aと接続される8段のレジスタ
(フリップフロップ回路)13a,13b,13c,1
3d,13e,13f,13g,13hと、このレジス
タ13aとレジスタ13bとの間に接続される加算器1
1bと、このレジスタ13bとレジスタ13cとの間に
接続される加算器11cによって構成される。8ビット
帰還型シフトレジスタは除算器として一般的に用いられ
る。この除算器に40ビットがちょうど入力された時点
での各シフトレジスタの出力が剰余となる。
Next, a concrete divider circuit is shown in FIG. This division circuit is an adder 11 to which data such as a header is input.
a and eight-stage registers (flip-flop circuits) 13a, 13b, 13c, 1 connected to the adder 11a
3d, 13e, 13f, 13g, 13h, and an adder 1 connected between the register 13a and the register 13b
1b and an adder 11c connected between the register 13b and the register 13c. The 8-bit feedback shift register is generally used as a divider. The output of each shift register when 40 bits are just input to this divider becomes the remainder.

【0009】したがって、ヘッダに誤りが存在するかど
うか、あるいはどのビットが誤っているのかが初めて分
かるのは、ヘッダの40ビットが全て除算器に入力され
たときになる。すなわち、そのセルを正しいセルとして
処理するか、誤りセルとして訂正処理又は廃棄処理する
といった誤り判定処理はセルの入力が始まってから40
ビット分時間が経過してから判定することになる。した
がって、40ビット分のデータは除算器と並列接続した
シフトレジスタなどの記憶回路に保持しておく必要があ
る。
Therefore, it is only when all 40 bits of the header are input to the divider that the presence of an error in the header or which bit is incorrect can be known for the first time. That is, the error determination processing such as processing the cell as a correct cell, correcting the processing as an error cell, or discarding the error cell is performed 40 times after the cell input is started.
The determination will be made after the bit time has elapsed. Therefore, it is necessary to hold 40-bit data in a storage circuit such as a shift register connected in parallel with the divider.

【0010】図5は従来方式のセル位相検出回路の一例
である。図5に示すセル位相検出回路は、図4に示した
除算器と同様のレジスタ23a,〜23h 及び図示しない
加算器等からなる除算器と40ビットシフトレジスタ2
1(0),〜21(39)及びデコーダ25が並列接続されて構
成されている。ヘッダ40ビット分の剰余を求めるた
め、40ビットのシフトレジスタ21の出力を除算器の
X6 ,X5 ,Xにあたるレジスタ23の入力へフィード
バックしている。これは、X40を生成多項式G(X)=
X8 +X2 +X+1で除算した剰余がX6 +X5 +Xと
なるためである。また、レジスタ23の各出力はパラレ
ルにデコーダ25に入力され、セル同期パルスとして出
力される。この方式は、40ビットのシフトレジスタ2
1を除算器と並列に用いているため、誤り訂正機能又は
誤りセルを廃棄する機能を持たせるためにデータを保持
する記憶回路を追加する必要はない。しかしながら、1
ビットごとの処理を行なっているため、高速化が困難で
ある。
FIG. 5 shows an example of a conventional cell phase detection circuit. The cell phase detection circuit shown in FIG. 5 is composed of the same registers 23a to 23h as the divider shown in FIG. 4 and a divider including an adder (not shown) and a 40-bit shift register 2.
1 (0), 21 (39) and the decoder 25 are connected in parallel. In order to obtain the remainder for 40 bits of the header, the output of the shift register 21 of 40 bits is fed back to the input of the register 23 corresponding to X6, X5, X of the divider. This gives X40 as a generator polynomial G (X) =
This is because the remainder divided by X8 + X2 + X + 1 becomes X6 + X5 + X. Further, each output of the register 23 is input in parallel to the decoder 25 and is output as a cell synchronization pulse. This method uses a 40-bit shift register 2
Since 1 is used in parallel with the divider, it is not necessary to add a memory circuit for holding data in order to have an error correction function or a function to discard an error cell. However, 1
Since bit-by-bit processing is performed, it is difficult to increase the speed.

【0011】他の従来例を図6に示す(特開平5−19
1430号公報)。この図6に示すセル位相検出回路
は、8ビット並列入出力で除算器を動作させる方式によ
るものである。8ビット並列入出力が可能なレジスタ
(Dタイプフリップフロップ回路)31およびこのレジ
スタ31に接続される8ビット並列入出力が可能なCR
C演算回路33dの出力は、送信側で加算されたのと同
じパターンを加算する加算回路37を介して比較回路3
9に接続され、比較回路39の比較結果が一致検出回路
41を介してセル同期パルスとして出力される。
Another conventional example is shown in FIG. 6 (Japanese Patent Laid-Open No. 5-19).
1430). The cell phase detection circuit shown in FIG. 6 is based on a method of operating a divider with 8-bit parallel input / output. Register (D type flip-flop circuit) 31 capable of 8-bit parallel input / output and CR connected to this register 31 capable of 8-bit parallel input / output
The output of the C arithmetic circuit 33d is passed through the adder circuit 37 for adding the same pattern as that added by the transmitting side, and then the comparison circuit 3
9 and the comparison result of the comparison circuit 39 is output as a cell synchronization pulse via the coincidence detection circuit 41.

【0012】次に図6におけるCRC演算回路33の具
体的な設計方法を示す。図4の除算器回路における現在
の各レジスタの状態をそれぞれF0(n)〜F7(n)、次の状
態をF0(n+1)〜F7(n+1)、入力データをD(n) とする
と、CRC演算の生成多項式G(X)=X8 +X2 +X
+1であることから、次の (1)式が成立する(但し、加
算は排他的論理和である)。 F7(n+1)=F6(n) F6(n+1)=F5(n) F5(n+1)=F4(n) F4(n+1)=F3(n) F3(n+1)=F2(n) F2(n+1)=F1(n)+F7(n) F1(n+1)=F0(n)+F7(n) F0(n+1)=D(n+1) +F7(n) ……(1) 並列処理をする場合、F0(n)〜F7(n)の次の状態での出
力はF0(n+8)〜F7(n+8)となる。これらを前記 (1)式か
ら求めると以下に示す (2)式のようになる。 F7(n+8)=F7(n)+F6(n)+F5(n)+D(n+1) F6(n+8)=F6(n)+F5(n)+F4(n)+D(n+2) F5(n+8)=F5(n)+F4(n)+F3(n)+D(n+3) F4(n+8)=F4(n)+F3(n)+F2(n)+D(n+4) F3(n+8)=F7(n)+F3(n)+F2(n)+F1(n)+D(n+5) F2(n+8)=F6(n)+F2(n)+F1(n)+F0(n)+D(n+6) F1(n+8)=F6(n)+F1(n)+F0(n)+D(n+7) F0(n+8)=F7(n)+F6(n)+F0(n)+D(n+8) ……(2) 並列CRC演算回路は前記 (2)式に従うように設計す
る。図3に具体的な回路図を示す。
Next, a concrete design method of the CRC calculation circuit 33 in FIG. 6 will be described. In the divider circuit of FIG. 4, the current state of each register is F0 (n) to F7 (n), the next state is F0 (n + 1) to F7 (n + 1), and the input data is D (n). Then, the generator polynomial of CRC operation G (X) = X8 + X2 + X
Since it is +1, the following expression (1) is established (however, addition is an exclusive OR). F7 (n + 1) = F6 (n) F6 (n + 1) = F5 (n) F5 (n + 1) = F4 (n) F4 (n + 1) = F3 (n) F3 (n + 1) = F2 (n) F2 (n + 1) = F1 (n) + F7 (n) F1 (n + 1) = F0 (n) + F7 (n) F0 (n + 1) = D (n + 1) + F7 ( n) (1) When parallel processing is performed, the output in the next state of F0 (n) to F7 (n) is F0 (n + 8) to F7 (n + 8). If these are obtained from the above equation (1), the following equation (2) is obtained. F7 (n + 8) = F7 (n) + F6 (n) + F5 (n) + D (n + 1) F6 (n + 8) = F6 (n) + F5 (n) + F4 (n) + D (n + 2 ) F5 (n + 8) = F5 (n) + F4 (n) + F3 (n) + D (n + 3) F4 (n + 8) = F4 (n) + F3 (n) + F2 (n) + D (n + 4) ) F3 (n + 8) = F7 (n) + F3 (n) + F2 (n) + F1 (n) + D (n + 5) F2 (n + 8) = F6 (n) + F2 (n) + F1 (n) + F0 (n) + D (n + 6) F1 (n + 8) = F6 (n) + F1 (n) + F0 (n) + D (n + 7) F0 (n + 8) = F7 (n) + F6 (n) + F0 (n) + D (n + 8) (2) The parallel CRC operation circuit is designed so as to comply with the equation (2). FIG. 3 shows a specific circuit diagram.

【0013】図6において、上で述べたCRC演算回路
33は4つ含まれている。この回路はフレーム同期を取
る際に分かるバイトの区切りを利用して並列処理するこ
とにより低速動作を可能にしたものである。入力された
データは回路内でCRC演算回路33などを経由するた
め、元のデータは保持されない。このため、同期確立後
の訂正処理又は誤りセルを廃棄する処理をするためには
この回路と並列に元のデータを保持するレジスタなどの
記憶回路の追加が必要となる。
In FIG. 6, four CRC calculation circuits 33 described above are included. This circuit enables a low-speed operation by performing parallel processing using byte delimiters that are known when frame synchronization is achieved. Since the input data passes through the CRC calculation circuit 33 in the circuit, the original data is not retained. Therefore, in order to perform the correction process after the synchronization is established or the process of discarding the error cell, it is necessary to add a storage circuit such as a register for holding the original data in parallel with this circuit.

【0014】[0014]

【発明の目的】本発明は、上記課題に鑑みてなされたも
ので、セルヘッダを格納するための記憶回路の付加を必
要とすることなく、セル同期方式として並列処理による
低速動作を可能にしつつ同期確立後の誤り訂正処理又は
誤りセルを廃棄する処理にも利用できるATMセル同期
方式および回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and it is a cell synchronization system that enables a low-speed operation by parallel processing without adding a storage circuit for storing a cell header. An object of the present invention is to provide an ATM cell synchronization system and circuit that can be used for error correction processing after establishment or processing for discarding error cells.

【0015】[0015]

【発明の概要】上述の目的を達成するため本願第1の発
明では、低速動作を可能にするために並列処理化した除
算器と、並列処理化したシフトレジスタなどの記憶回路
とを互いに並列接続すると共にATMセル流を入力さ
せ、記憶回路からの出力を除算器の所定の入力へフィー
ドバックさせ、当該除算器出力をデコードすることによ
りセル同期パルスを発生させセル同期処理を行い、か
つ、前記記憶回路にATMセルのヘッダを格納すること
を特徴とするものであり、これによりセル同期確立後の
誤り訂正処理又は誤りセルを廃棄する処理に必要となる
記憶回路の新たな付加を不要とする。
SUMMARY OF THE INVENTION In order to achieve the above object, in the first invention of the present application, a divider which is processed in parallel to enable low speed operation and a storage circuit such as a shift register which is processed in parallel are connected in parallel to each other. At the same time, the ATM cell flow is input, the output from the storage circuit is fed back to a predetermined input of the divider, and the output of the divider is decoded to generate a cell synchronization pulse to perform cell synchronization processing, and the storage is performed. The circuit is characterized by storing the header of the ATM cell, which eliminates the need for newly adding a memory circuit necessary for the error correction process after the cell synchronization is established or the process of discarding the error cell.

【0016】また、本願第2の発明では、ATMセル流
が入力される所定の段数の第1のレジスタと、この第1
のレジスタの出力から剰余を演算し出力する剰余演算回
路と、この剰余演算回路から出力される剰余と前記入力
されるATMセル流とを加算する第1の加算器と、この
第1の加算器の加算結果が入力される第2のレジスタ
と、この第2のレジスタの出力を基にCRC演算を行う
CRC演算回路と、前記第1の加算器と第2のレジスタ
との間に設けられ、第1の加算器の加算結果とCRC演
算回路のCRC演算出力とを加算する第2の加算器と、
前記第2のレジスタの出力をデコードしてセル同期パル
ス生成し出力するデコーダとを有することを特徴とす
る。
Further, according to the second invention of the present application, the first register having a predetermined number of stages to which the ATM cell flow is inputted, and the first register.
Remainder arithmetic circuit for computing and outputting the remainder from the output of the register, a first adder for adding the remainder output from the remainder arithmetic circuit and the input ATM cell flow, and the first adder Is provided between the first register and the second register, a second register to which the addition result of is input, a CRC calculation circuit that performs a CRC calculation based on the output of the second register, A second adder for adding the addition result of the first adder and the CRC calculation output of the CRC calculation circuit;
And a decoder for decoding the output of the second register to generate and output a cell synchronization pulse.

【0017】[0017]

【実施例】以下、図面を参照して本発明に係る一実施例
を説明する。図1は、本発明に係るATMセル同期方式
が適用されるATMセル同期回路の構成を示したブロッ
ク図である。まず、この図1を参照して本実施例の概略
の構成について説明する。8ビットのATMセル流は五
段のDタイプフリップフロップ回路1a,1b,1c,
1d,1eに入力され、剰余演算回路3を介して加算
(排他的論理和)回路5aに出力される。この加算器5
aでは、この剰余演算回路3の出力と前記入力セルとの
排他的論理和を演算し、この演算結果は加算器5bを介
してDタイプフリップフロップ回路1fに入力される。
このDタイプフリップフロップ回路1fの出力は、生成
多項式がX8 +X2 +X+1で表される並列処理CRC
演算回路7とデコーダ9に入力される。CRC演算回路
7の出力は加算器5bに入力され、デコーダ9からはセ
ル同期パルスが出力される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an ATM cell synchronizing circuit to which the ATM cell synchronizing method according to the present invention is applied. First, the schematic structure of the present embodiment will be described with reference to FIG. The 8-bit ATM cell flow has five stages of D-type flip-flop circuits 1a, 1b, 1c,
It is input to 1d and 1e and is output to the addition (exclusive OR) circuit 5a via the remainder calculation circuit 3. This adder 5
At a, the exclusive OR of the output of the remainder calculation circuit 3 and the input cell is calculated, and the calculation result is input to the D type flip-flop circuit 1f via the adder 5b.
The output of the D-type flip-flop circuit 1f is a parallel processing CRC whose generator polynomial is represented by X8 + X2 + X + 1.
It is input to the arithmetic circuit 7 and the decoder 9. The output of the CRC calculation circuit 7 is input to the adder 5b, and the decoder 9 outputs a cell synchronization pulse.

【0018】次に本実施例の動作について説明する。ま
ず、図1に示したATMセル同期回路の基となる式を順
次導出する。前述した図5において、除算器における、
現在の各レジスタの状態をそれぞれF0(n)〜F7(n)と
し、次の状態をF0(n+1)〜F7(n+1)とし、さらに入力デ
ータをD(n) とする。また、40ビットシフトレジスタ
の出力をH39(n) とすると、除算器のX6 +X5 +Xに
フィードバックしていることから、以下のような関係が
成立つ。 F7(n+1)=F6(n) F6(n+1)=F5(n)+H39(n) F5(n+1)=F4(n)+H39(n) F4(n+1)=F3(n) F3(n+1)=F2(n) F2(n+1)=F1(n)+F7(n) F1(n+1)=F0(n)+F7(n)+H39(n) F0(n+1)=D(n+1) +F7(n) ……(3) また、40ビットシフトレジスタにおいて、H39(n) の
時間tだけ後の状態は、tだけ前のシフトレジスタの値
であるから、以下の式が成り立つ。 H39(n+t) =H39-t(n) 以上のような関係から、並列処理におけるF0(n)〜F7
(n)の次の状態での出力F0(n+8)〜F7(n+8)を求めると
以下の (4)式のようになる。 F7(n+8)=D(n+1) +F7(n)+F6(n)+F5(n)+H39(n) +H38(n) +H34(n ) +H33(n) F6(n+8)=D(n+2) +F6(n)+F5(n)+F4(n)+H38(n) +H37(n) +H33(n ) +H32(n) F5(n+8)=D(n+3) +F5(n)+F4(n)+F3(n)+H37(n) +H36(n) +H32(n ) F4(n+8)=D(n+4)+F4(n)+F3(n)+F2(n)+H39(n)+H36(n)+H35(n) F3(n+8)=D(n+5) +F7(n)+F3(n)+F2(n)+F1(n)+H38(n) +H35(n) +H34(n) F2(n+8)=D(n+6) +F6(n)+F2(n)+F1(n)+F0(n)+H39(n) +H37(n) +H34(n) +H33(n) F1(n+8)=D(n+7) +F6(n)+F1(n)+F0(n)+H39(n) +H36(n) +H34(n ) +H32(n) F0(n+8)=D(n+8) +F7(n)+F6(n)+F0(n)+H39(n) +H35(n) +H34(n ) ……(4) この (4)式を回路で構成すると図1に示すブロック図の
ようになる。
Next, the operation of this embodiment will be described. First, the formulas on which the ATM cell synchronizing circuit shown in FIG. 1 is based will be sequentially derived. In FIG. 5 described above, in the divider,
The current states of the registers are F0 (n) to F7 (n), the next states are F0 (n + 1) to F7 (n + 1), and the input data is D (n). Further, when the output of the 40-bit shift register is H39 (n), since the feedback is made to X6 + X5 + X of the divider, the following relationship is established. F7 (n + 1) = F6 (n) F6 (n + 1) = F5 (n) + H39 (n) F5 (n + 1) = F4 (n) + H39 (n) F4 (n + 1) = F3 ( n) F3 (n + 1) = F2 (n) F2 (n + 1) = F1 (n) + F7 (n) F1 (n + 1) = F0 (n) + F7 (n) + H39 (n) F0 (n +1) = D (n + 1) + F7 (n) (3) Further, in the 40-bit shift register, the state after the time t of H39 (n) is the value of the shift register before the time t. Therefore, the following formula is established. H39 (n + t) = H39-t (n) From the above relationship, F0 (n) to F7 in parallel processing
When the outputs F0 (n + 8) to F7 (n + 8) in the next state of (n) are obtained, the following expression (4) is obtained. F7 (n + 8) = D (n + 1) + F7 (n) + F6 (n) + F5 (n) + H39 (n) + H38 (n) + H34 (n) + H33 (n) F6 (n + 8) = D ( n + 2) + F6 (n) + F5 (n) + F4 (n) + H38 (n) + H37 (n) + H33 (n) + H32 (n) F5 (n + 8) = D (n + 3) + F5 (n) + F4 (n) + F3 (n) + H37 (n) + H36 (n) + H32 (n) F4 (n + 8) = D (n + 4) + F4 (n) + F3 (n) + F2 (n) + H39 (n) + H36 (n) + H35 (n) F3 (n + 8) = D (n + 5) + F7 (n) + F3 (n) + F2 (n) + F1 (n) + H38 (n) + H35 (n) + H34 (n) F2 (n + 8) = D (n + 6) + F6 (n) + F2 (n) + F1 (n) + F0 (n) + H39 (n) + H37 (n) + H34 (n) + H33 (n) F1 (n + 8) ) = D (n + 7) + F6 (n) + F1 (n) + F0 (n) + H39 (n) + H36 (n) + H34 (n) + H32 (n) F0 (n + 8) = D (n + 8) + F7 (n) + F6 (n) + F0 (n) + H39 (n) + H35 (n) + H34 (n) (4) When this equation (4) is constructed by a circuit, the block diagram shown in FIG. 1 is obtained.

【0019】この (4)式を実現するために、本実施例に
おけるATMセル同期回路は2つの演算回路、すなわち
CRC演算回路と剰余演算回路とを持つ。CRC演算回
路は図3に示すような排他的論理和ゲートで構成され
る。また、剰余演算回路の入力は並列化した40ビット
シフトレジスタの出力であるから、それぞれH32(n) 〜
H39(n) となり、これらを入力0〜7とすると、上式よ
り剰余演算回路は図2に示すような排他的論理和ゲート
で構成される。
In order to realize the equation (4), the ATM cell synchronizing circuit in this embodiment has two arithmetic circuits, that is, a CRC arithmetic circuit and a remainder arithmetic circuit. The CRC arithmetic circuit is composed of exclusive OR gates as shown in FIG. Further, since the input of the remainder arithmetic circuit is the output of the parallelized 40-bit shift register, each of H32 (n)
H39 (n), and when these are inputs 0 to 7, the remainder arithmetic circuit is composed of an exclusive OR gate as shown in FIG.

【0020】上述したように図1の構成では、40ビッ
ト分のデータを確保することができるため、同期確立後
の誤り訂正処理又は誤りセルを廃棄する処理を行うため
に別データを確保しておく必要がない。また、前段での
フレーム同期の際に求められるバイト区切りを利用して
8ビット毎の並列処理を行うため、低速なクロックでの
動作が可能になる。 上述したように本発明は、セル同
期方式として並列処理による低速動作を可能にしつつ、
加えてヘッダサイズ分の入力データが保持されるため、
同期確立後の誤り訂正処理又は誤りセルを廃棄する処理
にも利用でき、セルヘッダを格納する新たなシフトレジ
スタなどの記憶回路の付加を必要としない。尚、本実施
例では同期を取るための遅延回路等については、特に説
明しなかったが、必要に応じて適宜設けられるのはいう
までもない。
As described above, in the configuration of FIG. 1, since 40 bits of data can be secured, another data is secured to perform error correction processing after synchronization establishment or processing for discarding error cells. No need to leave. Further, since the 8-byte parallel processing is performed by using the byte delimiter obtained at the time of frame synchronization in the previous stage, it is possible to operate at a low speed clock. As described above, the present invention enables low speed operation by parallel processing as a cell synchronization method,
In addition, since the input data for the header size is retained,
It can also be used for error correction processing after synchronization establishment or processing for discarding erroneous cells, and does not require addition of a storage circuit such as a new shift register for storing a cell header. In this embodiment, the delay circuit and the like for establishing synchronization are not particularly described, but it goes without saying that they are appropriately provided as needed.

【0021】[0021]

【発明の効果】以上説明したように本発明は、セルヘッ
ダを格納するための記憶回路の付加を必要とすることな
く、セル同期方式として並列処理による低速動作を可能
にしつつ同期確立後の誤り訂正処理又は誤りセルを廃棄
する処理にも利用できる。
As described above, the present invention does not require the addition of a memory circuit for storing a cell header, enables a low-speed operation by parallel processing as a cell synchronization method, and corrects errors after synchronization is established. It can also be used for processing or discarding erroneous cells.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1に示した剰余演算回路の構成を示す回路図
である。
FIG. 2 is a circuit diagram showing a configuration of a remainder arithmetic circuit shown in FIG.

【図3】図1に示したCRC演算回路の構成を示す回路
図である。
FIG. 3 is a circuit diagram showing a configuration of a CRC calculation circuit shown in FIG.

【図4】従来の除算器回路の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of a conventional divider circuit.

【図5】従来のセル位相検出回路の構成を示すブロック
図である。
FIG. 5 is a block diagram showing a configuration of a conventional cell phase detection circuit.

【図6】従来のセル位相検出回路の構成を示すブロック
図である。
FIG. 6 is a block diagram showing a configuration of a conventional cell phase detection circuit.

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

1 Dタイプフリップフロップ回路 3 剰余演算回路 5 加算(排他的論理和)回路 7 CRC演算回路 9 デコーダ 11 加算(排他的論理和)回路 13 レジスタ(フリップフロップ回路) 21 シフトレジスタ 23 レジスタ 25 デコーダ 31 Dタイプフリップフロップ回路 33 CRC演算回路 35 排他的論理和回路 37 加算器 39 比較回路 41 一致検出回路 DESCRIPTION OF SYMBOLS 1 D type flip-flop circuit 3 Remainder operation circuit 5 Addition (exclusive OR) circuit 7 CRC operation circuit 9 Decoder 11 Addition (exclusive OR) circuit 13 Register (flip-flop circuit) 21 Shift register 23 Register 25 Decoder 31 D Type flip-flop circuit 33 CRC arithmetic circuit 35 Exclusive OR circuit 37 Adder 39 Comparison circuit 41 Match detection circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 低速動作を可能にするために並列処理化
した除算器と、並列処理化した記憶回路とを互いに並列
接続すると共にATMセル流を入力させ、記憶回路から
の出力を除算器の所定の入力へフィードバックさせ、当
該除算器出力をデコードすることによりセル同期パルス
を発生させセル同期処理を行い、かつ、前記記憶回路に
ATMセルのヘッダを格納することを特徴とするATM
セル同期方式。
1. A divider which is parallel-processed to enable a low-speed operation and a memory circuit which is parallel-processed are connected in parallel with each other, and an ATM cell flow is input, and an output from the memory circuit is input to the divider. An ATM characterized by feeding back to a predetermined input and generating a cell synchronization pulse by decoding the output of the divider to perform cell synchronization processing, and storing the header of an ATM cell in the memory circuit.
Cell synchronization method.
【請求項2】 ATMセル流が入力される所定の段数の
第1のレジスタと、 この第1のレジスタの出力から剰余を演算し出力する剰
余演算回路と、 この剰余演算回路から出力される剰余と前記入力される
ATMセル流とを加算する第1の加算回路と、 この第1の加算回路の加算結果が入力される第2のレジ
スタと、 この第2のレジスタの出力を基にCRC演算を行うCR
C演算回路と、 前記第1の加算回路と第2のレジスタとの間に設けら
れ、第1の加算回路の加算結果とCRC演算回路のCR
C演算出力とを加算する第2の加算回路と、 前記第2のレジスタの出力をデコードしてセル同期パル
ス生成し出力するデコーダと、 を有することを特徴とするATMセル同期回路。
2. A first register having a predetermined number of stages to which an ATM cell flow is input, a residue arithmetic circuit for calculating and outputting a residue from the output of the first register, and a residue output from this residue arithmetic circuit. A first adder circuit for adding the above-mentioned input ATM cell flow, a second register to which the addition result of the first adder circuit is input, and a CRC operation based on the output of the second register CR to do
A C arithmetic circuit, provided between the first adder circuit and the second register, the addition result of the first adder circuit and the CR of the CRC arithmetic circuit.
An ATM cell synchronization circuit comprising: a second adder circuit for adding the C operation output; and a decoder for decoding the output of the second register to generate and output a cell synchronization pulse.
JP6314140A 1994-09-02 1994-11-24 Atm cell synchronization system and its circuit Pending JPH08125667A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6314140A JPH08125667A (en) 1994-09-02 1994-11-24 Atm cell synchronization system and its circuit
US08/523,191 US5771249A (en) 1994-09-02 1995-09-05 ATM cell synchronous system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-234077 1994-09-02
JP23407794 1994-09-02
JP6314140A JPH08125667A (en) 1994-09-02 1994-11-24 Atm cell synchronization system and its circuit

Publications (1)

Publication Number Publication Date
JPH08125667A true JPH08125667A (en) 1996-05-17

Family

ID=32871047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6314140A Pending JPH08125667A (en) 1994-09-02 1994-11-24 Atm cell synchronization system and its circuit

Country Status (1)

Country Link
JP (1) JPH08125667A (en)

Similar Documents

Publication Publication Date Title
JP2732759B2 (en) Frame synchronization control method
US5844923A (en) Fast framing of nude ATM by header error check
US6192498B1 (en) System and method for generating error checking data in a communications system
JP2655547B2 (en) CRC calculation method and HEC synchronizer in ATM switching system
JPH0671244B2 (en) Frame check sequence update method
JP2825961B2 (en) ATM cell processor for HDLC data
EP0600380B1 (en) Method and device for detection and correction of errors in ATM cell headers
US6128766A (en) High speed cyclic redundancy check algorithm
US5771249A (en) ATM cell synchronous system
JPH0879230A (en) Transmitting device for transmitting and detecting information on starting position of frame of frame synchronous signal
US6427179B1 (en) System and method for protocol conversion in a communications system
US5923681A (en) Parallel synchronous header correction machine for ATM
JP3126865B2 (en) Parallel distributed sample descrambling circuit for cell-based parallel asynchronous transfer mode physical layer descrambling
US6138264A (en) Syndrome calculation circuit
JPH08125667A (en) Atm cell synchronization system and its circuit
US6327262B1 (en) Sample value extraction apparatus in DSS system
JP2967748B2 (en) ATM cell synchronization circuit
JPH0787090A (en) Method and device for detecting cyclic code
AU1384895A (en) Device for establishing cell boundaries in a bit stream and crc calculation
US5500863A (en) CRC operational system
JP3536799B2 (en) Frame synchronization circuit and synchronization method, and recording medium recording the program
JPS58162152A (en) System for transmitting loop
JP2952051B2 (en) Cell synchronous operation circuit in ATM
JPS58177050A (en) Bidirectional communication system
JP2001197077A (en) Cell data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040601