JP2873533B2 - ATMHEC synchronization circuit - Google Patents
ATMHEC synchronization circuitInfo
- Publication number
- JP2873533B2 JP2873533B2 JP5305971A JP30597193A JP2873533B2 JP 2873533 B2 JP2873533 B2 JP 2873533B2 JP 5305971 A JP5305971 A JP 5305971A JP 30597193 A JP30597193 A JP 30597193A JP 2873533 B2 JP2873533 B2 JP 2873533B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- syndrome
- synchronization
- bits
- hec
- 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 - Fee Related
Links
Landscapes
- Communication Control (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、セルベースATMイン
タフェースに使われる分散型サンプルスクランブラ付セ
ル同期方式を実現するためのATMHEC(Asynchrono
us TransferMode Header Error Control )同期回路に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM HEC (Asynchrono) for realizing a cell synchronization system with a distributed sample scrambler used for a cell-based ATM interface.
us TransferMode Header Error Control) Related to a synchronous circuit.
【0002】[0002]
【従来の技術】従来、セルベースATMインタフェース
のセル同期方式はCCITT I.432B−ISDN
ユーザ・網インタフェース物理レイヤ勧告に分散型サン
プルスクランブラとセル同期メカニズムが勧告されてい
る。この勧告では、分散型サンプルスクランブルメカニ
ズムとセル同期メカニズムが勧告されている。これによ
ると、セル同期は、受信側HEC同期回路において、セ
ルのヘッダ部の第5バイト目に付与されているヘッダ誤
り制御符号(HEC符号)を使って確立される。その過
程は同期継続セル数によりハンチング状態、および前同
期状態をへて同期確立状態に到る。この過程で、ハンチ
ング状態、および前同期状態ではHEC符号全8ビット
中下位6ビットを使用してセル同期動作が行われる。そ
の後、同期状態が規定回数以上継続した結果を検出して
同期確立状態に入る。同期確立状態ではHEC符号全8
ビットを使用してセル同期保持、ヘッダ部データの1ビ
ット誤り訂正、又は複数ビット誤り検出が行われる(図
5)。ここで、ハンチング状態とは同期はずれの状態で
セル境界を捜索している状態、前同期状態とは仮定した
ヘッダ領域に対してヘッダ誤り制御符号則が当てはまる
かどうかビット毎に検査している状態をいう。2. Description of the Related Art Conventionally, a cell synchronization system of a cell-based ATM interface has been described in CCITT I.C. 432B-ISDN
A distributed sample scrambler and a cell synchronization mechanism are recommended in the user / network interface physical layer recommendation. In this recommendation, a distributed sample scrambling mechanism and a cell synchronization mechanism are recommended. According to this, the cell synchronization is established in the receiving-side HEC synchronization circuit using the header error control code (HEC code) assigned to the fifth byte of the cell header. In this process, a hunting state and a pre-synchronization state are reached depending on the number of synchronization continuation cells to reach a synchronization establishment state. In this process, in the hunting state and the pre-synchronization state, the cell synchronization operation is performed using the lower 6 bits among all 8 bits of the HEC code. Thereafter, a result in which the synchronization state has continued for a prescribed number of times or more is detected, and the state enters the synchronization establishment state. In the state of synchronization establishment, all 8 HEC codes
Using the bits, cell synchronization is maintained, one-bit error correction of header part data, or multiple-bit error detection is performed (FIG. 5). Here, the hunting state is a state in which a cell boundary is searched in an out-of-synchronization state, and the pre-synchronization state is a state in which it is checked for each bit whether a header error control code rule applies to an assumed header area. Say.
【0003】分散型サンプルスクランブラの送受間の符
号同期動作は、受信側の巡回形ローカルPRBS発生回
路において行う。この同期確立動作は、セル同期動作と
並行して行われ、セル同期が前同期状態になった時点か
らが開始される。巡回形ローカルPRBS発生回路の同
期確立動作は、セル同期が前同期状態になると、受信し
たセルヘッダ部のHEC符号上位2ビット(HEC7、
8)と、受信したヘッダ部データ4バイトから演算した
結果のHEC符号上位2ビットとをモジュロ加算する。
それにより送信側ソースPRBS(Pseudo Random Bit
Sequence)の伝達ビットを抽出し、抽出した伝達ビット
と受信側ローカルPRBSのサンプルビットとをセル半
周期間隔で比較する。その比較結果を巡回形ローカルP
RBS発生回路のフィードフォワードタップに印可す
る。その印可回数で巡回形ローカルPRBS発生回路の
符号同期状態が、同期引き込み状態、引き込み後の符号
一致回数を確認する確認状態、および安定状態と遷移管
理され確立される。The code synchronization operation between transmission and reception of the distributed sample scrambler is performed in a cyclic local PRBS generation circuit on the receiving side. This synchronization establishing operation is performed in parallel with the cell synchronization operation, and is started from a point in time when the cell synchronization is in the pre-synchronization state. The synchronization establishment operation of the cyclic local PRBS generation circuit is such that when the cell synchronization is in the pre-synchronization state, the upper two bits of the HEC code (HEC7, HEC7,
8) and modulo addition of the upper 2 bits of the HEC code resulting from the operation from the received 4 bytes of header part data.
As a result, the source PRBS (Pseudo Random Bit)
Sequence), and compares the extracted transmission bits with the sample bits of the local PRBS on the receiving side at a cell half cycle interval. The result of the comparison is stored in the cyclic local P
Apply to the feedforward tap of the RBS generation circuit. The code synchronization state of the recursive local PRBS generation circuit is transition-managed and established by the applied number of times, including a synchronization pull-in state, a confirmation state for checking the number of code matches after pull-in, and a stable state.
【0004】このような過程をへて、セル同期が同期確
立状態で、かつ巡回形PRBS発生回路の符号同期が安
定状態になった後、セル同期動作はデスクランブルされ
たHEC符号の上位2ビットを含む全HEC符号8ビッ
トで行われる。同時に2ビット以上の誤り検出および1
ビットのヘッダ部誤り訂正が行われ、セルヘッダ部のH
EC符号を除いた受信セルデータのデスクランブルが行
われ次の処理過程に送られる。[0004] Through such a process, after the cell synchronization is in a synchronization established state and the code synchronization of the cyclic PRBS generating circuit is in a stable state, the cell synchronization operation is performed in the upper two bits of the descrambled HEC code. Is performed with all the 8 bits of the HEC code including. Error detection of 2 bits or more and 1
The error correction of the header portion of the bit is performed, and the H of the cell header portion is corrected.
The received cell data excluding the EC code is descrambled and sent to the next processing step.
【0005】(分散形サンプルスクランブラ付セルベー
スATMインタフェース用セル同期回路の説明)次に、
従来の分散形サンプルスクランブラ付セルベースATM
インタフェース用セル同期回路を、図3の構成図、図4
のタイムチャートを用いて具体的に説明する。受信セル
データ(A)はCRC(Cyclic Redundancy Check )演
算回路1aに入力される。HEC演算回路1は、シリア
ルのデータストリームを受信し、生成多公式(X8 +X
2 +X+1)で入力打ち消し形CRC剰余演算を行う。
その演算結果であるシンドロームは図4(B)のタイミ
ングでシンドローム零検出回路2に6ビット、および伝
達ビット照合回路5に2ビットが出力される。シンドロ
ーム零検出回路2でシンドローム下位6ビットが“0”
であることを検出すると、セル同期が取れたと判断し、
その結果である同期信号は同期管理回路4に図4(D)
のタイミングで出力される。同期管理回路4は、セル同
期の連続回数からセル同期状態がハンチング、前同期、
および同期確立状態のいずれの状態にあるか管理する。(Description of Cell Synchronization Circuit for Cell-based ATM Interface with Distributed Sample Scrambler)
Conventional cell-based ATM with distributed sample scrambler
The cell synchronization circuit for the interface is shown in FIG.
This will be specifically described with reference to the time chart of FIG. The received cell data (A) is input to a CRC (Cyclic Redundancy Check) operation circuit 1a. The HEC operation circuit 1 receives the serial data stream and generates a multi-formula (X 8 + X
2 + X + 1) to perform an input cancellation CRC remainder operation.
As a result of the calculation, six bits are output to the syndrome zero detection circuit 2 and two bits are output to the transmission bit comparison circuit 5 at the timing shown in FIG. The lower 6 bits of the syndrome are "0" in the syndrome zero detection circuit 2.
Is detected, it is determined that cell synchronization has been achieved,
The resulting synchronization signal is sent to the synchronization management circuit 4 as shown in FIG.
Is output at the timing of. The synchronization management circuit 4 determines whether the cell synchronization state is hunting, pre-synchronization,
And the synchronization establishment state.
【0006】セル同期状態が前同期状態になると、同期
管理回路4の出力にて伝達ビット照合回路5をイネーブ
ルとする。伝達ビット照合回路5では、図4(C)のタ
イミングでシンドローム生成マトリクス回路1eで抽出
された送信側ソースPRBS伝達ビット(Ut-211 とU
t+1 )と巡回形ローカルPRBS発生回路7で生成され
た受信側ローカルPRBSの予測値(F)(Vt-211 と
Vt+1 )をモジュロ2加算する。同期が取れていない場
合、加算結果として送信側PRBS伝達ビットと受信側
ローカルPRBS予測値の不一致検出信号が得られる。
この加算結果をセル半周期毎に巡回形ローカルPRBS
発生回路7のフィードバックタップに規定回数、印可す
ることで送信側ソースPRBSと受信側ローカルPRB
Sの同期が取れる。その同期状態では送信側ソースPR
BSと受信側ローカルPRBSの符号位相は図4(A)
と(F)の関係になる。また、伝達ビット照合回路5で
は図4(E)のタイミングで受信側ローカルPRBS
(Vt-211 とVt+1 )を抽出し、セル同期確立状態での
シンドローム上位2ビット(HEC7、HEC8相当)
のデスクランブルを行う。When the cell synchronization state becomes the pre-synchronization state, the transmission bit collation circuit 5 is enabled by the output of the synchronization management circuit 4. The transmission bit collation circuit 5 transmits the transmission source PRBS transmission bits (Ut -211 and Ut -211 ) extracted by the syndrome generation matrix circuit 1e at the timing shown in FIG.
t + 1 ) and the predicted value (F) (V t−211 and V t + 1 ) of the local PRBS on the receiving side generated by the cyclic local PRBS generating circuit 7 are added by modulo 2. If synchronization is not established, a mismatch detection signal between the transmission-side PRBS transmission bit and the reception-side local PRBS predicted value is obtained as an addition result.
This addition result is output to the cyclic local PRBS every half cell cycle.
By applying a specified number of times to the feedback tap of the generation circuit 7, the transmission source PRBS and the reception local PRB are applied.
S can be synchronized. In the synchronized state, the source PR
The code phase between the BS and the local PRBS on the receiving side is shown in FIG.
And (F). Also, the transmission bit collation circuit 5 receives the local PRBS on the receiving side at the timing shown in FIG.
(V t−211 and V t + 1 ) are extracted and the upper 2 bits of the syndrome in the cell synchronization established state (equivalent to HEC7 and HEC8)
Do a descrambling.
【0007】[0007]
【発明が解決しようとする課題】しかし、図4(E)の
タイミングでデスクランブルされたシンドローム上位2
ビットのシンドロームの確定タイミングは図4(G)と
なり、図4(D)のタイミングの6ビットシンドローム
一致検出タイミングからずれる。そのため、全8ビット
のシンドローム一致検出が行えない。従って、全8ビッ
トシンドロームを同一タイミングで必要とする誤り訂正
動作が、正常に行えない結果となる。本発明は、このよ
うな事情に鑑みてなされたものであり、正常に誤り訂正
動作を行えるATMHEC同期回路を提供することを課
題とする。However, the upper two syndromes descrambled at the timing shown in FIG.
The timing of determining the syndrome of the bit is as shown in FIG. 4G, which is shifted from the timing of detecting the coincidence of the 6-bit syndrome in the timing of FIG. 4D. Therefore, syndrome match detection of all 8 bits cannot be performed. Therefore, an error correction operation requiring all 8-bit syndromes at the same timing cannot be performed normally. The present invention has been made in view of such circumstances, and it is an object of the present invention to provide an ATMHEC synchronous circuit that can perform an error correction operation normally.
【0008】[0008]
【課題を解決するための手段】上記課題を解決するため
に請求項1のATMHEC同期回路においては、HEC
同期を検出するための受信セルデータ1ビット毎にヘッ
ダ長40ビットについてCRC演算を行うHEC演算回
路と、その演算結果の下位6ビットを検証してシンドロ
ームが“0”であるか否かを検証するシンドローム零検
出回路と、セル同期状態を監視するための同期管理回路
と、検証結果に同期したセルタイムスロット(セルT
S)を発生するセルTS発生回路と、伝達ビット抽出の
為のタイミングを生成するためのタイミング生成回路
と、送信側ソースPRBS伝達ビットと受信側ローカル
PRBS予測値を比較し不一致を検出する伝達ビット照
合回路と、スクランブルされた受信セルデータをデスク
ランブルするための受信側ローカルPRBSを発生する
ための巡回形ローカルPRBS発生回路と、巡回形デス
クランブル回路の出力符号と受信セルデータとの位相を
合わせるための位相調整回路と、巡回形ローカルPRB
S発生回路の同期状態を監視するためのローカルPRB
S状態管理回路(コンフィデンスカウンタ)と、セルヘ
ッダ部の1ビット誤り訂正と2ビット以上の誤り検出を
表示するための誤り訂正回路と、受信セルデータをデス
クランブルするためのデスクランブル回路と、受信シン
ドロームの出力と誤り訂正回路の動作タイミングを調整
するためのシンドローム遅延回路と、デスクランブルさ
れたシンドローム上位2ビットをシンドローム下位6ビ
ットと結合するシンドローム結合回路とを備えた。In order to solve the above-mentioned problems, the ATMHEC synchronous circuit according to the first aspect of the present invention provides an ATM HEC synchronous circuit.
An HEC operation circuit that performs a CRC operation on a header length of 40 bits for each bit of received cell data for detecting synchronization, and verifies the lower 6 bits of the operation result to verify whether the syndrome is "0" And a synchronization management circuit for monitoring a cell synchronization state, and a cell time slot (cell T) synchronized with the verification result.
S) for generating a cell TS, a timing generation circuit for generating timing for extracting a transmission bit, and a transmission bit for comparing a transmission source PRBS transmission bit with a reception local PRBS prediction value to detect a mismatch. A matching circuit, a cyclic local PRBS generating circuit for generating a receiving-side local PRBS for descrambling the scrambled received cell data, and matching the phases of the output code of the cyclic descramble circuit and the received cell data. Adjustment circuit and recursive local PRB
Local PRB for monitoring the synchronization status of the S generator
S state management circuit (confidence counter), error correction circuit for displaying 1-bit error correction of cell header portion and error detection of 2 or more bits, descrambling circuit for descrambling received cell data, and reception syndrome And a syndrome combining circuit for combining the upper two bits of the descrambled syndrome with the lower six bits of the syndrome.
【0009】また、請求項2のATMHEC同期回路に
おいては、請求項1における受信シンドロームの出力と
誤り訂正回路の動作タイミングを調整するするためのシ
ンドローム遅延回路は備えていない。代わりに、HEC
同期を検出するための受信セルデータ1ビット毎にヘッ
ダ長40ビットについてCRC演算を行うマトリクスの
中からHECコードの上位2ビットを取り出すビット抽
出回路と、その演算結果の全8ビットもしくは下位6ビ
ットを切換えて検証し、シンドローム零検出回路に出力
するシンドローム結合回路とを備えた。Further, the ATMHEC synchronous circuit according to the second aspect does not include a syndrome delay circuit for adjusting the output of the reception syndrome and the operation timing of the error correction circuit according to the first aspect. Instead, HEC
A bit extraction circuit for extracting the upper 2 bits of the HEC code from a matrix for performing a CRC operation on a header length of 40 bits for each 1 bit of received cell data for detecting synchronization, and all 8 bits or lower 6 bits of the operation result And a syndrome coupling circuit that outputs the result to a syndrome zero detection circuit.
【0010】[0010]
【作用】このように構成されたATMHEC同期回路に
よれば、全8ビットシンドロームが同一タイミングとな
り、誤り訂正動作が正常に行える。According to the ATMHEC synchronizing circuit configured as described above, all the 8-bit syndromes have the same timing, and the error correction operation can be performed normally.
【0011】[0011]
【実施例】以下、本発明の一実施例を図面を用いて説明
する。 〔第1の実施例〕図1は第1の実施例の構成図、図4は
構成図においての各ポイントのタイムチャートである。
HEC演算回路1は、生成多公式(X8 +X2 +X+
1)で入力打ち消し形CRC剰余演算を行うCRC演算
回路(X8 +X2 +X+1剰余演算回路)1a、32ビ
ットの遅延回路1b、入力データ再生回路1c、8ビッ
ト遅延回路1d、および40ビット前に入力したデータ
を打ち消して新たに1ビット入力を行い1クロック毎に
CRCの演算結果のシンドロームを生成するマトリック
ス回路1eを備える。HEC演算回路1は、シリアルの
データストリームを受信し、入力データストリームにつ
いてのHEC演算結果として生成したシンドロームを次
段に出力する。An embodiment of the present invention will be described below with reference to the drawings. [First Embodiment] FIG. 1 is a block diagram of the first embodiment, and FIG. 4 is a time chart of each point in the block diagram.
The HEC operation circuit 1 generates a generator formula (X 8 + X 2 + X +
CRC operation circuit (X 8 + X 2 + X + 1 remainder operation circuit) 1a for performing input cancellation type CRC remainder operation in 1), 32-bit delay circuit 1b, input data reproduction circuit 1c, 8-bit delay circuit 1d, and 40 bits before A matrix circuit 1e is provided for canceling the input data, newly inputting 1 bit, and generating a syndrome of a CRC operation result every clock. The HEC operation circuit 1 receives the serial data stream, and outputs a syndrome generated as an HEC operation result for the input data stream to the next stage.
【0012】(HEC同期動作)HEC同期動作はシン
ドローム零検出回路2にてHEC演算回路1から出力さ
れるシンドロームが零(割り切れた)となったかを検出
し(同期パターン検出)、零を検出した時点で同期がと
れたたと判断する。一旦同期がとれたと判断すると、同
期状態を管理する同期管理回路4ではセル同期状態がハ
ンチング状態から前同期状態に遷移したとする。前同期
状態ではハンチング状態で最初にシンドローム零を検出
した時点から1セル長(424ビット)を発生するセル
TS発生回路3を起動し、計数結果を同期管理回路4に
与える。同期管理回路4ではシンドローム零検出回路2
の出力結果とセルTS発生回路から、前に零を検出した
位置から1セル長後の信号位置に再び零が検出できるか
検証する。1セル間隔に連続してβ回シンドローム零を
検出すると同期状態は前同期状態から同期確立状態に遷
移したとして管理される。逆に同期確立状態からは1セ
ル間隔で連続してα回シンドローム零を検出しない場合
は同期はずれとして同期管理回路4は同期状態をハンチ
ング状態に戻す。(HEC Synchronous Operation) In the HEC synchronous operation, the syndrome zero detection circuit 2 detects whether the syndrome output from the HEC arithmetic circuit 1 has become zero (divisible) (synchronization pattern detection), and has detected zero. It is determined that synchronization has been achieved at this point. Once it is determined that synchronization has been achieved, the synchronization management circuit 4 that manages the synchronization state assumes that the cell synchronization state has transitioned from the hunting state to the previous synchronization state. In the pre-synchronization state, the cell TS generation circuit 3 that generates one cell length (424 bits) is activated from the first detection of the syndrome zero in the hunting state, and the count result is given to the synchronization management circuit 4. In the synchronization management circuit 4, the syndrome zero detection circuit 2
From the output result and the cell TS generation circuit, it is verified whether zero can be detected again at a signal position one cell length after the position where zero was previously detected. When a syndrome zero is detected β times consecutively at one cell interval, the synchronization state is managed as having transitioned from the previous synchronization state to the synchronization established state. Conversely, when the syndrome zero is not detected continuously α times at one cell interval from the synchronization established state, the synchronization management circuit 4 determines that the synchronization has been lost and returns the synchronization state to the hunting state.
【0013】セル同期確立動作は以下に述べる巡回形ロ
ーカルPRBS発生回路7の同期状態により異なる。巡
回形ローカルPRBS発生回路7の同期状態が同期安定
状態以外の状態ではHEC符号全8ビット中下位6ビッ
トで同期確立動作が行われる。同期安定状態では全8ビ
ットで同期確立動作が行われる。この6ビット、および
8ビットの切り替えはローカルPRBS状態管理回路8
の出力に基づいて、シンドローム結合回路11により行
われる。The cell synchronization establishing operation differs depending on the synchronization state of the cyclic local PRBS generating circuit 7 described below. When the synchronization state of the cyclic local PRBS generating circuit 7 is in a state other than the synchronization stable state, the synchronization establishment operation is performed with the lower 6 bits out of all 8 bits of the HEC code. In the synchronization stable state, the synchronization establishing operation is performed with all 8 bits. The 6-bit and 8-bit switching is performed by the local PRBS state management circuit 8.
Is performed by the syndrome combining circuit 11 based on the output of
【0014】(巡回形ローカルPRBS発生回路7の同
期動作)HEC同期状態が前同期状態以降になると、受
信したHEC符号からHEC演算回路1にてHEC符号
の上位2ビット(7、8ビット)が抽出される。抽出さ
れたHEC符号の8ビットと7ビットは送信側ソースP
RBSのUt-211 とUt+ 1 でスクランブルされている。
巡回形ローカルPRBS発生回路7の同期動作は、送
信側ソースPRBSの伝達サンプルビット(Ut-211と
Ut+1 )と、受信側ローカルPRBS伝達サンプルビッ
トの予測値(Vt-211 とVt+1 )とをモジュロ加算し、
比較照合するため伝達ビット照合回路5に接続される。 この伝達ビット照合回路5の加算結果を、セル同期タ
イミング生成回路6にてセルカウンタ値より生成した半
セルの周期のタイミングで、巡回形ローカルPRBS発
生回路7のフィードフォワードタップに印可することで
行われる。(Synchronous Operation of Recursive Local PRBS Generation Circuit 7) When the HEC synchronization state becomes the pre-synchronization state or later, the HEC arithmetic circuit 1 changes the upper 2 bits (7, 8 bits) of the HEC code from the received HEC code. Is extracted. 8 bits and 7 bits of the extracted HEC code are the source P
It is scrambled by Rt Ut -211 and Ut + 1 .
The synchronous operation of the recursive local PRBS generation circuit 7 is based on the transmission sample bits (U t−211 and U t + 1 ) of the transmission source PRBS and the predicted values (V t−211 and V t− 2 ) of the reception local PRBS transmission sample bits. t + 1 ) and modulo addition,
It is connected to a transmission bit matching circuit 5 for comparison and matching. The addition result of the transmission bit collation circuit 5 is applied to the feedforward tap of the cyclic local PRBS generation circuit 7 at the timing of the half cell cycle generated from the cell counter value in the cell synchronization timing generation circuit 6. Will be
【0015】巡回形ローカルPRBS発生回路7の同期
状態はローカルPRBS状態管理回路8にて伝達ビット
照合回路5からの加算結果の印可回数により管理され
る。HECの6ビットに誤りのない状態での伝達サンプ
ルビット31ビット分の送信側ソースPRBS伝達サン
プルビットと受信側ローカルPRBS伝達サンプルビッ
トの照合結果を巡回形ローカルPRBS発生回路7のフ
ィードフォワードタップに印可した後、巡回形ローカル
PRBS発生回路7は同期検証状態に遷移したと管理さ
れる。同期検証状態になると送信側ソースPRBS伝達
サンプルビットと受信側ローカルPRBS伝達サンプル
ビットの予測値が連続して一致していることで検証す
る。この状態では既に送信側ソースPRBSの伝達サン
プルビットと巡回形ローカルPRBS発生回路7の予測
値とは一致しているので、巡回形ローカルPRBS発生
回路7の発生符号列は照合結果により信号列は変更され
ない。The synchronization state of the cyclic local PRBS generation circuit 7 is managed by the local PRBS state management circuit 8 based on the number of times the addition result from the transmission bit collation circuit 5 is applied. The comparison result of the transmission source source PRBS transmission sample bits and the reception side local PRBS transmission sample bits for 31 bits of the transmission sample bits without error in the 6 bits of the HEC is applied to the feedforward tap of the cyclic local PRBS generation circuit 7. After that, it is managed that the cyclic local PRBS generation circuit 7 has transitioned to the synchronization verification state. In the synchronous verification state, verification is performed by confirming that the predicted values of the transmission-side source PRBS transmission sample bits and the reception-side local PRBS transmission sample bits continuously match. In this state, since the transmission sample bits of the transmitting source PRBS and the predicted value of the cyclic local PRBS generating circuit 7 already match, the generated code sequence of the cyclic local PRBS generating circuit 7 changes the signal sequence according to the comparison result. Not done.
【0016】検証状態で連続して16回の送信側ソース
PRBS伝達サンプルビットと受信側ローカルPRBS
伝達サンプルビットの一致を検出したとき、巡回形ロー
カルPRBS発生回路7は同期安定状態に遷移する。巡
回型ローカルPRBS発生回路7が同期安定状態になる
と、HEC符号上位2ビット(HEC8、HEC7)
は、伝達ビット照合回路5で、送信側ソースPRBSと
同期した受信側ローカルPRBSにてデスクランブルさ
れる。さらに、HEC符号上位2ビット、シンドローム
結合回路11でHEC符号下位6ビットと結合され8ビ
ットのHEC符号としてヘッダの2ビット以上誤り検出
および1ビット誤り訂正を行う誤り訂正回路9にて使用
される。In the verifying state, 16 consecutive transmission source PRBS transmission sample bits and the reception local PRBS are transmitted.
When the coincidence of the transmitted sample bits is detected, the cyclic local PRBS generating circuit 7 shifts to the synchronous stable state. When the cyclic local PRBS generation circuit 7 is in the stable synchronization state, the upper two bits of the HEC code (HEC8, HEC7)
Are descrambled by the receiving local PRBS synchronized with the transmitting source PRBS in the transmission bit matching circuit 5. Further, the upper 2 bits of the HEC code and the lower 6 bits of the HEC code are combined by the syndrome combining circuit 11 and used as an 8-bit HEC code in the error correction circuit 9 which performs error detection and error correction of 2 or more bits of the header. .
【0017】ただし、図4(D)、(E)にも示したよ
うにシンドロームマトリクスからのHEC下位6ビット
出力タイミング(同期確立タイミング)と上位2ビット
シンドローム確定タイミング位置は、4バイトのずれが
発生するためシンドローム結合が正常に行われない問題
が発生する。これを解決するためにシンドローム遅延回
路10によりHEC符号上位6ビットを4バイト遅延さ
せ、シンドローム結合回路11でHEC符号全8ビット
のタイミングをあわせて誤り訂正回路9に入力しHEC
同期安定状態ではHEC符号全8ビット使用して誤り訂
正が行われる。However, as shown in FIGS. 4D and 4E, there is a 4-byte shift between the output timing of the lower 6 bits of the HEC (synchronization establishment timing) from the syndrome matrix and the timing of the upper 2 bits of the syndrome confirmation. This causes a problem that the syndrome connection is not performed normally. In order to solve this, the syndrome delay circuit 10 delays the upper 6 bits of the HEC code by 4 bytes, and the syndrome coupling circuit 11 adjusts the timing of all 8 bits of the HEC code and inputs the same to the error correction circuit 9 to input the HEC code.
In the synchronous stable state, error correction is performed using all 8 bits of the HEC code.
【0018】巡回形ローカルPRBS発生回路7が、同
期安定状態にて受信セルデータをデスクランブルするた
め、誤り訂正回路9を通過等に起因する送信側ソースP
RBSと受信側ローカルPRBSの符号位置を修正す
る。そのために、巡回形ローカルPRBS発生回路7の
出力に位相調整遅延回路12を接続してある。誤り訂正
回路9から出力された受信セルデータは、スクランブル
された受信セルデータをデスクランブルするためにデス
クランブル回路13を備える。ここでデスクランブルさ
れた受信セルデータは、ATMHEC同期回路の出力デ
ータとして次段に出力される。Since the cyclic local PRBS generating circuit 7 descrambles the received cell data in a stable state of synchronization, the transmission side source P due to the passage through the error correction circuit 9 or the like.
Correct the code position of the RBS and the receiving side local PRBS. For this purpose, a phase adjustment delay circuit 12 is connected to the output of the cyclic local PRBS generation circuit 7. The received cell data output from the error correction circuit 9 includes a descrambling circuit 13 for descrambling the scrambled received cell data. The descrambled received cell data is output to the next stage as output data of the ATMHEC synchronization circuit.
【0019】〔第2の実施例〕図2は第2の実施例の構
成図である。第1の実施例では6ビット同期パターン検
出タイミングにてHEC演算結果のシンドロームからH
ECコードの上位2ビット(7、8ビット)を抽出する
方法で回路を実現していた。第2の実施例では、ビット
抽出回路1fを設ける事によりシンドローム生成マトリ
クス回路1eの途中から、HECコードの上位2ビット
を抽出する。つまり、抽出タイミングを同期パターン検
出タイミングより4ビット前より取り出し巡回形ローカ
ルPRBS発生回路7の同期動作を行っている。巡回形
ローカルPRBS発生回路7が同期安定状態になったあ
と伝達ビット照合回路5にて、抽出された上位2ビット
(HEC8、7)をデスクランブルし、セル同期の検出
のためのシンドローム零検出回路2、および誤り訂正回
路9に使用される。[Second Embodiment] FIG. 2 is a block diagram of a second embodiment. In the first embodiment, at the 6-bit synchronization pattern detection timing, H
The circuit has been realized by a method of extracting the upper two bits (7 and 8 bits) of the EC code. In the second embodiment, the upper two bits of the HEC code are extracted from the middle of the syndrome generation matrix circuit 1e by providing the bit extraction circuit 1f. That is, the extraction timing is extracted from 4 bits before the synchronization pattern detection timing, and the cyclic local PRBS generation circuit 7 performs the synchronization operation. After the recursive local PRBS generating circuit 7 is in the stable synchronization state, the transmission bit collating circuit 5 descrambles the extracted upper two bits (HEC8, 7), and a syndrome zero detecting circuit for detecting cell synchronization. 2, and the error correction circuit 9.
【0020】第1の実施例では、HEC演算回路1から
のシンドローム下位6ビットを、シンドローム遅延回路
10にてタイミングを調整したあと、伝達ビット照合回
路からのデスクランブルされたシンドローム上位2ビッ
トと結合し、全8ビットのシンドロームを構成して誤り
訂正回路9に出力した。これに対し、第2の実施例で
は、デスクランブルされたシンドローム上位2ビット
は、HEC演算回路1からのシンドローム下位6ビット
と一致したタイミングで、伝達ビット照合回路5から出
力される。そのため、第1の実施例で必要としたシンド
ローム遅延回路10が不要となる。全8ビットのシンド
ロームは、シンドローム結合回路11で結合して誤り訂
正回路9に入力する。In the first embodiment, the lower 6 bits of the syndrome from the HEC operation circuit 1 are adjusted in timing by the syndrome delay circuit 10 and then combined with the upper 2 bits of the descrambled syndrome from the transmission bit comparison circuit. Then, an 8-bit syndrome was formed and output to the error correction circuit 9. On the other hand, in the second embodiment, the upper two bits of the descrambled syndrome are output from the transmission bit comparison circuit 5 at a timing coincident with the lower six bits of the syndrome from the HEC operation circuit 1. Therefore, the syndrome delay circuit 10 required in the first embodiment becomes unnecessary. All the 8-bit syndromes are combined by the syndrome combining circuit 11 and input to the error correction circuit 9.
【0021】[0021]
【発明の効果】以上説明したように本発明のATMHE
C同期回路の請求項1によれば、受信シンドロームの出
力と誤り訂正回路9の動作タイミングを調整するための
シンドローム遅延回路10と、デスクランブルされたシ
ンドローム上位2ビットをシンドローム下位6ビットと
結合するシンドローム結合回路11とを備えた。又、請
求項2によれば、CRC演算を行うマトリクスの中から
HECコードの上位2ビットを取り出すビット抽出回路
1fと、その演算結果の全8ビットもしくは下位6ビッ
トを切換えて検証し、シンドローム零検出回路2に出力
するシンドローム結合回路11とを備えた。そのため、
全8ビットシンドロームを同一タイミングで必要とする
誤り訂正動作が、正常に行える。As described above, the ATMHE of the present invention is used.
According to the first aspect of the C synchronous circuit, the syndrome delay circuit 10 for adjusting the output of the reception syndrome and the operation timing of the error correction circuit 9 and the upper two bits of the descrambled syndrome are combined with the lower six bits of the syndrome. And a syndrome coupling circuit 11. According to the second aspect, a bit extraction circuit 1f for extracting the upper 2 bits of the HEC code from the matrix for performing the CRC operation, and verifying by switching all the 8 bits or the lower 6 bits of the operation result, and And a syndrome coupling circuit 11 for outputting to the detection circuit 2. for that reason,
An error correction operation requiring all 8-bit syndromes at the same timing can be performed normally.
【図1】本発明の第1の実施例の構成図を示す。FIG. 1 shows a configuration diagram of a first embodiment of the present invention.
【図2】本発明の第2の実施例の構成図を示す。FIG. 2 shows a configuration diagram of a second embodiment of the present invention.
【図3】従来例の構成図を示す。FIG. 3 shows a configuration diagram of a conventional example.
【図4】構成図においての、各ポイントのタイムチャー
トを示す。FIG. 4 shows a time chart of each point in the configuration diagram.
【図5】セル同期確率状態遷移図を示す。FIG. 5 shows a cell synchronization probability state transition diagram.
1…HEC演算回路、2…シンドローム零検出回路、3
…セルTS発生回路、4…同期管理回路、5…伝達ビッ
ト照合回路、6…タイミング生成回路、7…巡回形ロー
カルPRBS発生回路、8…ローカルPRBS状態管理
回路、9…誤り訂正回路、10…シンドローム遅延回
路、11…シンドローム結合回路、12…位相調整回
路、13…デスクランブル回路、1f…ビット抽出回
路。1 HEC arithmetic circuit, 2 syndrome zero detection circuit, 3
... Cell TS generation circuit, 4 ... Synchronization management circuit, 5 ... Transmission bit verification circuit, 6 ... Timing generation circuit, 7 ... Circulating local PRBS generation circuit, 8 ... Local PRBS state management circuit, 9 ... Error correction circuit, 10 ... Syndrome delay circuit, 11: syndrome coupling circuit, 12: phase adjustment circuit, 13: descrambling circuit, 1f: bit extraction circuit.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−311121(JP,A) 特開 平4−334234(JP,A) 特開 平4−180432(JP,A) 特開 平6−164624(JP,A) 特開 平6−164630(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56 H04L 7/00 H04L 7/08 ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-4-311121 (JP, A) JP-A-4-334234 (JP, A) JP-A-4-180432 (JP, A) JP-A-6-180432 164624 (JP, A) JP-A-6-164630 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04L 12/28 H04L 12/56 H04L 7/00 H04L 7/08
Claims (2)
タ(A)についてCRC演算をするHEC演算回路
(1)と、該HEC演算回路の演算結果(B)の下位6
ビットを検証してシンドロームが“0”であるか否かを
検証するシンドローム零検出回路(2)と、該シンドロ
ーム零検出回路の検証結果を用いてセル同期状態を監視
する同期管理回路(4)と、該検証結果に同期したセル
タイムスロットを発生するセルTS発生回路(3)と、
そのセル内の送信側ソースPRBS伝達ビット抽出のタ
イミング(C)を生成するタイミング生成回路(6)
と、該タイミング生成回路で生成されたタイミングで送
信側ソースPRBS伝達ビットと受信側ローカルPRB
S予測値を比較し不一致を検出する伝達ビット照合回路
(5)と、伝達ビット照合回路の不一致信号にて同期動
作を行い、スクランブルされた受信セルデータをデスク
ランブルするための受信側ローカルPRBS(F)を発
生する巡回形ローカルPRBS発生回路(7)と、伝達
ビット照合回路の不一致信号とシンドロームが“0”検
証信号とを組み合わせて巡回形ローカルPRBS発生回
路の同期状態を監視するローカルPRBS状態管理回路
(8)と、HEC演算回路で再生された受信セルデータ
のセルヘッダ部の1ビット誤り訂正又は2ビット以上の
誤り検出を表示する誤り訂正回路(9)と、誤り訂正回
路の出力された受信セルデータをデスクランブルするデ
スクランブル回路(13)と、前記受信側ローカルPR
BSの位相を、誤り訂正回路から出力された受信セルデ
ータの位相と合わせるための位相調整回路(12)と、
HEC演算回路からの受信シンドロームの出力をタイミ
ングを調整するシンドローム遅延回路(10)と、伝達
ビット照合回路の出力であるデスクランブルされたシン
ドローム上位2ビットと、タイミング調整されたシンド
ローム下位6ビットと結合するシンドローム結合回路
(11)とを備えたATMHEC同期回路。1. An HEC operation circuit (1) for performing a CRC operation on received cell data (A) for detecting HEC synchronization, and a lower 6 bits of an operation result (B) of the HEC operation circuit.
A syndrome zero detection circuit (2) for verifying whether or not the syndrome is "0" by verifying a bit, and a synchronization management circuit (4) for monitoring a cell synchronization state using the verification result of the syndrome zero detection circuit A cell TS generating circuit (3) for generating a cell time slot synchronized with the verification result;
A timing generation circuit (6) for generating a timing (C) for extracting a transmission source PRBS transmission bit in the cell;
And the transmission source PRBS transmission bit and the reception local PRB at the timing generated by the timing generation circuit.
A transmission bit collating circuit (5) for comparing the S prediction value and detecting a mismatch, and a receiving side local PRBS (S) for synchronizing with the mismatch signal of the transmission bit collating circuit and descrambling the scrambled received cell data. F) and a local PRBS state for monitoring the synchronization state of the cyclic local PRBS generation circuit by combining a mismatch signal of the transmission bit collation circuit and a verification signal whose syndrome is "0". A management circuit (8), an error correction circuit (9) for displaying one-bit error correction or error detection of two or more bits in a cell header portion of the received cell data reproduced by the HEC operation circuit, and an output of the error correction circuit. A descrambling circuit (13) for descrambling received cell data;
A phase adjustment circuit (12) for adjusting the phase of the BS to the phase of the received cell data output from the error correction circuit;
A syndrome delay circuit (10) for adjusting the timing of the output of the received syndrome from the HEC arithmetic circuit, the upper 2 bits of the descrambled syndrome output from the transmission bit comparison circuit, and the lower 6 bits of the syndrome adjusted for timing An ATMHEC synchronization circuit including a syndrome coupling circuit (11).
タ(A)についてCRC演算をするHEC演算回路
(1)と、該HEC演算回路の演算結果(B)の下位6
ビットを検証してシンドロームが“0”であるか否かを
検証するシンドローム零検出回路(2)と、該シンドロ
ーム零検出回路の検証結果を用いてセル同期状態を監視
する同期管理回路(4)と、該検証結果に同期したセル
タイムスロットを発生するセルTS発生回路(3)と、
そのセル内の送信側ソースPRBS伝達ビット抽出のタ
イミング(C)を生成するタイミング生成回路(6)
と、該タイミング生成回路で生成されたタイミングで送
信側ソースPRBS伝達ビットと受信側ローカルPRB
S予測値を比較し不一致を検出する伝達ビット照合回路
(5)と、伝達ビット照合回路の不一致信号にて同期動
作を行い、スクランブルされた受信セルデータをデスク
ランブルするための受信側ローカルPRBS(F)を発
生する巡回形ローカルPRBS発生回路(7)と、伝達
ビット照合回路の不一致信号とシンドロームが“0”検
証信号とを組み合わせて巡回形ローカルPRBS発生回
路の同期状態を監視するローカルPRBS状態管理回路
(8)と、HEC演算回路で再生された受信セルデータ
のセルヘッダ部の1ビット誤り訂正又は2ビット以上の
誤り検出を表示する誤り訂正回路(9)と、誤り訂正回
路から出力された受信セルデータをデスクランブルする
デスクランブル回路(13)と、前記受信側ローカルP
RBSの位相を、誤り訂正回路から出力された受信セル
データの位相と合わせるための位相調整回路(12)
と、前記HEC演算回路のCRC演算をするマトリクス
の中からHECコードの上位2ビットを取り出すビット
抽出回路(1f)と、その演算結果の全8ビットまたは
下位6ビットを切換えて検証し、前記シンドローム零検
出回路に出力するシンドローム結合回路(11)とを備
えたATMHEC同期回路。2. An HEC operation circuit (1) for performing a CRC operation on received cell data (A) for detecting HEC synchronization, and a lower 6 bits of an operation result (B) of the HEC operation circuit.
A syndrome zero detection circuit (2) for verifying whether or not the syndrome is "0" by verifying a bit, and a synchronization management circuit (4) for monitoring a cell synchronization state using the verification result of the syndrome zero detection circuit A cell TS generating circuit (3) for generating a cell time slot synchronized with the verification result;
A timing generation circuit (6) for generating a timing (C) for extracting a transmission source PRBS transmission bit in the cell;
And the transmission source PRBS transmission bit and the reception local PRB at the timing generated by the timing generation circuit.
A transmission bit collating circuit (5) for comparing S prediction values to detect non-coincidence, and a receiving side local PRBS (S) for synchronizing with the non-coincidence signal of the transmission bit collating circuit to descramble scrambled received cell data F) and a local PRBS state for monitoring the synchronization state of the cyclic local PRBS generation circuit by combining a mismatch signal of the transmission bit collation circuit and a verification signal whose syndrome is "0". A management circuit (8), an error correction circuit (9) for displaying one-bit error correction or error detection of two or more bits in a cell header portion of the received cell data reproduced by the HEC operation circuit, and an output from the error correction circuit. A descrambling circuit (13) for descrambling received cell data;
A phase adjustment circuit (12) for adjusting the phase of the RBS to the phase of the received cell data output from the error correction circuit (12)
And a bit extraction circuit (1f) for extracting the upper 2 bits of the HEC code from the matrix for performing the CRC operation of the HEC operation circuit, and verifying the operation result by switching all 8 bits or lower 6 bits of the operation result. An ATMHEC synchronization circuit comprising a syndrome coupling circuit (11) for outputting to a zero detection circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5305971A JP2873533B2 (en) | 1993-11-11 | 1993-11-11 | ATMHEC synchronization circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5305971A JP2873533B2 (en) | 1993-11-11 | 1993-11-11 | ATMHEC synchronization circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07135508A JPH07135508A (en) | 1995-05-23 |
| JP2873533B2 true JP2873533B2 (en) | 1999-03-24 |
Family
ID=17951511
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5305971A Expired - Fee Related JP2873533B2 (en) | 1993-11-11 | 1993-11-11 | ATMHEC synchronization circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2873533B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4612864B2 (en) | 2005-05-19 | 2011-01-12 | キヤノン株式会社 | Communication device, reception method, codec, decoder, communication module, communication unit, and decoding method in the device |
-
1993
- 1993-11-11 JP JP5305971A patent/JP2873533B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07135508A (en) | 1995-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0549672B1 (en) | Sequence synchronisation | |
| US6618395B1 (en) | Physical coding sub-layer for transmission of data over multi-channel media | |
| CA1254277A (en) | Digital communication system including an error correcting encoder/decoder and a scrambler/descrambler | |
| EP0609595A1 (en) | Method and apparatus for verifying CRC codes | |
| US6609226B1 (en) | Networking device and method for making cyclic redundancy check (CRC) immune to scrambler error duplication | |
| JPH0380729A (en) | Sequence synchronizing method and device | |
| CA1279116C (en) | Digital sequence polarity detection with adaptive synchronization | |
| JPH04284753A (en) | Crc arithmetic method and hec synchronization device in atm exchange system | |
| EP0883260A2 (en) | Error correction in a digital transmission system | |
| RU2147793C1 (en) | Method for decryption of repeated data packet in confidential communication system | |
| US5703882A (en) | Cyclic line coding apparatus for error detection and frame recovery | |
| JP3419520B2 (en) | Data communication method and device | |
| US4910777A (en) | Packet switching architecture providing encryption across packets | |
| US4779275A (en) | Synchronization circuit for digital communication systems | |
| JP2873533B2 (en) | ATMHEC synchronization circuit | |
| JP3126865B2 (en) | Parallel distributed sample descrambling circuit for cell-based parallel asynchronous transfer mode physical layer descrambling | |
| JP3270966B2 (en) | Error correction circuit | |
| JPH11168479A (en) | Device and method for extracting sample value for dss system | |
| US6425080B1 (en) | Asynchronous Transfer Mode (ATM) cell descrambling circuit | |
| CA2015934C (en) | Sequence synchronisation | |
| JP3350428B2 (en) | Transmission signal generator | |
| JP2952051B2 (en) | Cell synchronous operation circuit in ATM | |
| Hammons | CRC-based techniques for combined burst synchronization and error detection in TDMA PCS systems | |
| JP2002237826A (en) | Optical pds communication system, method for controlling security for this system and master station apparatus, slave station apparatus | |
| JP2000269908A (en) | Method and circuit for monitoring bus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |