JPH07135508A - Atmhec synchronization circuit - Google Patents
Atmhec synchronization circuitInfo
- Publication number
- JPH07135508A JPH07135508A JP5305971A JP30597193A JPH07135508A JP H07135508 A JPH07135508 A JP H07135508A JP 5305971 A JP5305971 A JP 5305971A JP 30597193 A JP30597193 A JP 30597193A JP H07135508 A JPH07135508 A JP H07135508A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- syndrome
- bit
- bits
- synchronization
- 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.)
- Granted
Links
- 208000011580 syndromic disease Diseases 0.000 claims abstract description 82
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 34
- 238000012937 correction Methods 0.000 claims abstract description 31
- 238000001514 detection method Methods 0.000 claims abstract description 27
- 238000012546 transfer Methods 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims abstract description 8
- 101150071746 Pbsn gene Proteins 0.000 claims abstract 13
- 230000005540 biological transmission Effects 0.000 claims description 42
- 230000001360 synchronised effect Effects 0.000 claims description 18
- 238000012795 verification Methods 0.000 claims description 11
- 238000000605 extraction Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 5
- 230000007704 transition Effects 0.000 description 3
- 230000022131 cell cycle Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
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 ATMHEC (Asynchrono) for realizing a cell synchronization system with a distributed sample scrambler used in a cell-based ATM interface.
us TransferMode Header Error Control) 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, the cell synchronization method of the cell-based ATM interface is CCITT II. 432B-ISDN
The distributed sample scrambler and cell synchronization mechanism are recommended in the User / Network Interface Physical Layer Recommendation. This Recommendation recommends a distributed sample scrambling mechanism and a cell synchronization mechanism. According to this, the cell synchronization is established in the reception side HEC synchronization circuit by using the header error control code (HEC code) added to the fifth byte of the header part of the cell. In the process, the hunting state and the pre-synchronization state are reached depending on the number of cells to be synchronized to reach the synchronization establishment state. In this process, in the hunting state and the pre-synchronization state, the lower 6 bits of the total 8 bits of the HEC code are used to perform the cell synchronization operation. After that, the result that the synchronization state continues for the specified number of times or more is detected, and the synchronization establishment state is entered. All 8 HEC codes in the synchronization established state
Cell synchronization retention, 1-bit error correction of header data, or multiple-bit error detection is performed using bits (FIG. 5). Here, the hunting state is a state in which cell boundaries are searched in a state out of synchronization, and the pre-synchronization state is a state in which it is checked bit by bit whether the header error control coding rule is applied to the 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 the cyclic local PRBS generation circuit on the reception side. This synchronization establishment operation is performed in parallel with the cell synchronization operation, and is started from the time when the cell synchronization is in the pre-synchronization state. The synchronization establishing operation of the cyclic local PRBS generation circuit is such that when the cell synchronization is in the pre-synchronization state, the upper 2 bits of the HEC code (HEC7, HEC7,
8) and the HEC code upper 2 bits as a result of operation from the received 4 bytes of header data are modulo-added.
As a result, the sender PRBS (Pseudo Random Bit)
Sequence) transmission bits are extracted, and the extracted transmission bits are compared with the sample bits of the receiving-side local PRBS at cell half cycle intervals. The comparison result is the cyclic local P
Apply to the feed-forward tap of the RBS generator. The code synchronization state of the cyclic local PRBS generation circuit is established by the number of application times under the transition management of the synchronization pull-in state, the confirmation state for confirming the number of code matches after pull-in, and the stable state.
【0004】このような過程をへて、セル同期が同期確
立状態で、かつ巡回形PRBS発生回路の符号同期が安
定状態になった後、セル同期動作はデスクランブルされ
たHEC符号の上位2ビットを含む全HEC符号8ビッ
トで行われる。同時に2ビット以上の誤り検出および1
ビットのヘッダ部誤り訂正が行われ、セルヘッダ部のH
EC符号を除いた受信セルデータのデスクランブルが行
われ次の処理過程に送られる。Through the above process, after the cell synchronization is in the synchronization established state and the code synchronization of the cyclic PRBS generation circuit is in the stable state, the cell synchronization operation is performed by the upper 2 bits of the descrambled HEC code. All HEC codes including 8 bits are performed. Error detection of 2 bits or more and 1 at the same time
Bit header part error correction is performed, and H of the cell header part 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 Synchronous Circuit for Cell-based ATM Interface with Distributed Sample Scrambler)
Conventional distributed sample scrambler cell-based ATM
The interface cell synchronization circuit is shown in FIG.
This will be specifically described with reference to the time chart of. The received cell data (A) is input to a CRC (Cyclic Redundancy Check) operation circuit 1a. The HEC arithmetic circuit 1 receives the serial data stream and generates a multi-formula (X 8 + X
2 + X + 1) performs input cancellation CRC remainder calculation.
As for the syndrome as the calculation result, 6 bits are output to the syndrome zero detection circuit 2 and 2 bits are output to the transfer bit matching circuit 5 at the timing of FIG. In the syndrome zero detection circuit 2, the lower 6 bits of the syndrome are "0".
When it is detected, it is determined that cell synchronization has been achieved,
The resulting sync signal is sent to the sync 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,
It manages which of the following states, 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. In the transmission bit matching circuit 5, the transmission side source PRBS transmission bits (U t-211 and U t ) extracted by the syndrome generation matrix circuit 1e at the timing of FIG.
t + 1 ) and the predicted value (F) (Vt -211 and Vt + 1 ) of the receiving side local PRBS generated by the cyclic local PRBS generating circuit 7 are modulo 2 added. When the synchronization is not established, a mismatch detection signal between the PRBS transmission bit on the transmitting side and the local PRBS predicted value on the receiving side is obtained as the addition result.
This addition result is used as a cyclic local PRBS for every half cell cycle.
By applying the feedback tap of the generation circuit 7 a prescribed number of times, the source PRBS on the transmission side and the local PRB on the reception side
S can be synchronized. Source PR in the synchronization state
The code phases of the BS and the local PRBS on the receiving side are shown in FIG.
And (F). Further, the transmission bit collating 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 (corresponding to HEC7 and HEC8)
Descramble.
【0007】[0007]
【発明が解決しようとする課題】しかし、図4(E)の
タイミングでデスクランブルされたシンドローム上位2
ビットのシンドロームの確定タイミングは図4(G)と
なり、図4(D)のタイミングの6ビットシンドローム
一致検出タイミングからずれる。そのため、全8ビット
のシンドローム一致検出が行えない。従って、全8ビッ
トシンドロームを同一タイミングで必要とする誤り訂正
動作が、正常に行えない結果となる。本発明は、このよ
うな事情に鑑みてなされたものであり、正常に誤り訂正
動作を行えるATMHEC同期回路を提供することを課
題とする。However, the top two syndromes descrambled at the timing shown in FIG. 4 (E).
The decision timing of the bit syndrome is shown in FIG. 4 (G), which is deviated from the 6-bit syndrome coincidence detection timing of the timing shown in FIG. 4 (D). Therefore, all 8-bit syndrome coincidence detection cannot be performed. Therefore, the error correction operation that requires all 8-bit syndrome at the same timing cannot be normally performed. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an ATMHEC synchronization circuit that can normally perform an error correction operation.
【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, in the ATMHEC synchronizing circuit according to claim 1, the HEC
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 the lower 6 bits of the operation result are verified to verify whether the syndrome is "0". Syndrome zero detection circuit, a synchronization management circuit for monitoring the cell synchronization state, and a cell time slot (cell T synchronized with the verification result).
Cell TS generating circuit for generating S), a timing generating circuit for generating timing for extracting a transmission bit, and a transmission bit for comparing the source side PRBS transmission bit with the reception side local PRBS prediction value to detect a mismatch. A matching circuit, a cyclic local PRBS generation circuit for generating a reception side local PRBS for descramble the scrambled reception cell data, and a phase of the output code of the cyclic descramble circuit and the reception cell data Phase adjustment circuit and cyclic local PRB
Local PRB for monitoring the synchronization state of the S generation circuit
S state management circuit (confidence counter), error correction circuit for displaying 1-bit error correction and 2 or more-bit error detection of cell header part, descrambling circuit for descrambling received cell data, and reception syndrome And a syndrome delay circuit for adjusting the output timing of the error correction circuit and the operation timing of the error correction circuit, and a syndrome combining circuit for combining the descrambled upper 2 bits of the syndrome with the lower 6 bits of the syndrome.
【0009】また、請求項2のATMHEC同期回路に
おいては、請求項1における受信シンドロームの出力と
誤り訂正回路の動作タイミングを調整するするためのシ
ンドローム遅延回路は備えていない。代わりに、HEC
同期を検出するための受信セルデータ1ビット毎にヘッ
ダ長40ビットについてCRC演算を行うマトリクスの
中からHECコードの上位2ビットを取り出すビット抽
出回路と、その演算結果の全8ビットもしくは下位6ビ
ットを切換えて検証し、シンドローム零検出回路に出力
するシンドローム結合回路とを備えた。Further, the ATMHEC synchronizing circuit according to the second aspect does not include the syndrome delay circuit for adjusting the output of the receiving syndrome and the operation timing of the error correction circuit according to the first aspect. Instead, HEC
A bit extraction circuit that extracts the upper 2 bits of the HEC code from the matrix that performs the CRC calculation on the header length of 40 bits for each 1 bit of the received cell data for detecting synchronization, and all 8 bits or the lower 6 bits of the calculation result And a syndrome combination circuit that outputs the result to the syndrome zero detection circuit.
【0010】[0010]
【作用】このように構成されたATMHEC同期回路に
よれば、全8ビットシンドロームが同一タイミングとな
り、誤り訂正動作が正常に行える。According to the ATMHEC synchronizing circuit thus constructed, all 8-bit syndromes have the same timing, and the error correcting operation can be normally performed.
【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演算結果として生成したシンドロームを次
段に出力する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 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 arithmetic circuit 1 uses the generation polynomial formula (X 8 + X 2 + X +
In 1), a CRC calculation circuit (X 8 + X 2 + X + 1 remainder calculation circuit) 1a for performing input cancellation CRC remainder calculation, a 32-bit delay circuit 1b, an input data reproduction circuit 1c, an 8-bit delay circuit 1d, and 40 bits before The matrix circuit 1e is provided for canceling the input data, newly inputting 1 bit, and generating the syndrome of the CRC calculation result every 1 clock. The HEC operation circuit 1 receives the serial data stream and outputs the syndrome generated as the 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 becomes zero (divided) (synchronous pattern detection), and detects zero. It is determined that synchronization has been achieved at that point. Once it is determined that the synchronization has been achieved, it is assumed that the cell synchronization state in the synchronization management circuit 4 for managing the synchronization state has changed 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 time when the syndrome zero is first detected in the hunting state, and the counting result is given to the synchronization management circuit 4. In the synchronization management circuit 4, the syndrome zero detection circuit 2
It is verified from the output result of 1) and the cell TS generation circuit whether zero can be detected again at the signal position one cell length after the position where zero was detected previously. When β zero syndrome zero is detected continuously in one cell interval, the synchronization state is managed as a transition from the previous synchronization state to the synchronization establishment state. On the contrary, if the syndrome zero is not detected continuously at 1 cell intervals from the synchronization established state, the synchronization management circuit 4 returns the synchronization state to the hunting state as a loss of synchronization.
【0013】セル同期確立動作は以下に述べる巡回形ロ
ーカルPRBS発生回路7の同期状態により異なる。巡
回形ローカルPRBS発生回路7の同期状態が同期安定
状態以外の状態ではHEC符号全8ビット中下位6ビッ
トで同期確立動作が行われる。同期安定状態では全8ビ
ットで同期確立動作が行われる。この6ビット、および
8ビットの切り替えはローカルPRBS状態管理回路8
の出力に基づいて、シンドローム結合回路11により行
われる。The cell synchronization establishment operation differs depending on the synchronization state of the cyclic local PRBS generation circuit 7 described below. When the synchronization state of cyclic local PRBS generation circuit 7 is other than the synchronization stable state, the synchronization establishment operation is performed with the lower 6 bits of all 8 bits of the HEC code. In the synchronization stable state, the synchronization establishment operation is performed with all 8 bits. Switching between 6 bits and 8 bits is performed by the local PRBS state management circuit 8
Is performed by the syndrome combination circuit 11.
【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 Cyclic Local PRBS Generating Circuit 7) When the HEC synchronization state becomes the pre-synchronization state or later, the upper 2 bits (7, 8 bits) of the HEC code are received from the received HEC code by the HEC arithmetic circuit 1. To be extracted. 8 and 7 bits of the extracted HEC code are the source P of the transmission side
It is scrambled with RBS Ut -211 and Ut + 1 .
The cyclic operation of the cyclic local PRBS generation circuit 7 is performed by transmitting transmission source PRBS transmission sample bits (U t-211 and U t + 1 ), and receiving local PRBS transmission sample bits predicted values (V t-211 and V t). t + 1 ) and modulo addition,
It is connected to the transfer bit matching circuit 5 for comparison and matching. By applying the addition result of the transfer bit collating circuit 5 to the feedforward tap of the cyclic local PRBS generating circuit 7 at the timing of the half cell cycle generated from the cell counter value in the cell synchronization timing generating circuit 6, Be seen.
【0015】巡回形ローカルPRBS発生回路7の同期
状態はローカルPRBS状態管理回路8にて伝達ビット
照合回路5からの加算結果の印可回数により管理され
る。HECの6ビットに誤りのない状態での伝達サンプ
ルビット31ビット分の送信側ソースPRBS伝達サン
プルビットと受信側ローカルPRBS伝達サンプルビッ
トの照合結果を巡回形ローカルPRBS発生回路7のフ
ィードフォワードタップに印可した後、巡回形ローカル
PRBS発生回路7は同期検証状態に遷移したと管理さ
れる。同期検証状態になると送信側ソースPRBS伝達
サンプルビットと受信側ローカルPRBS伝達サンプル
ビットの予測値が連続して一致していることで検証す
る。この状態では既に送信側ソースPRBSの伝達サン
プルビットと巡回形ローカルPRBS発生回路7の予測
値とは一致しているので、巡回形ローカルPRBS発生
回路7の発生符号列は照合結果により信号列は変更され
ない。The synchronous state of the cyclic local PRBS generating circuit 7 is managed by the local PRBS state managing circuit 8 according to the number of times the addition result from the transfer bit collating circuit 5 is applied. Apply the matching result of the source PRBS transmission sample bit of the transmission side and the local PRBS transmission sample bit of the reception side for 31 bits of transmission sample bit without error in 6 bits of HEC to the feedforward tap of the cyclic local PRBS generation circuit 7. After that, the cyclic local PRBS generation circuit 7 is managed as having transited to the synchronization verification state. In the synchronization verification state, the transmission source PRBS transmission sample bits and the reception local PRBS transmission sample bits have the same predicted value consecutively for verification. In this state, the transmission sample bit of the source PRBS on the transmitting side and the predicted value of the cyclic local PRBS generating circuit 7 already match, so the generated code string of the cyclic local PRBS generating circuit 7 changes the signal string depending on the collation 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 verification state, the transmission source source PRBS transmission sample bits and the reception local PRBS are transmitted 16 times in succession.
When a match of the transmission sample bits is detected, the cyclic local PRBS generation circuit 7 transits to the stable synchronization state. When the cyclic local PRBS generation circuit 7 enters a stable synchronization state, the upper 2 bits of the HEC code (HEC8, HEC7)
Is descrambled by the receiving side local PRBS synchronized with the transmitting side source PRBS in the transfer bit matching circuit 5. Further, the upper 2 bits of the HEC code are combined with the lower 6 bits of the HEC code by the syndrome combination circuit 11 to be used as an 8-bit HEC code in the error correction circuit 9 that performs error detection and 1-bit error correction of 2 bits or more 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, the HEC lower 6 bits output timing (synchronization establishment timing) from the syndrome matrix and the upper 2 bits syndrome determination timing position are shifted by 4 bytes. As a result, the problem that syndrome combination is not performed normally occurs. 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 combining circuit 11 inputs the timing of all 8 bits of the HEC code to the error correction circuit 9 and inputs them to the HEC code.
In the synchronization 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 generation circuit 7 descrambles the received cell data in the stable synchronization state, the source P on the transmission side caused by passing through the error correction circuit 9 or the like.
Correct the code positions of the RBS and the receiving local PRBS. Therefore, the 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 descramble circuit 13 for descramble the scrambled received cell data. The received cell data descrambled here is output to the next stage as output data of the ATMHEC synchronizing 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 the second embodiment. In the first embodiment, H is calculated from the HEC calculation result syndrome at the 6-bit synchronization pattern detection timing.
The circuit is realized by a method of extracting the upper 2 bits (7, 8 bits) of the EC code. In the second embodiment, by providing the bit extraction circuit 1f, the upper 2 bits of the HEC code are extracted from the middle of the syndrome generation matrix circuit 1e. That is, the extraction operation is performed 4 bits before the synchronization pattern detection timing, and the synchronous operation of the cyclic local PRBS generating circuit 7 is performed. After the cyclic local PRBS generating circuit 7 is in a stable synchronization state, the transfer bit collating circuit 5 descrambles the upper 2 bits (HEC8, 7) extracted and a syndrome zero detection circuit for detecting cell synchronization. 2 and 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 arithmetic 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 transfer bit collating circuit. Then, a syndrome of all 8 bits was constructed and output to the error correction circuit 9. On the other hand, in the second embodiment, the descrambled high-order 2 bits of the syndrome are output from the transmitted-bit collation circuit 5 at the same timing as the low-order 6 bits of the syndrome from the HEC operation circuit 1. Therefore, the syndrome delay circuit 10 required in the first embodiment is unnecessary. All 8-bit syndromes are combined by the syndrome combination 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
According to claim 1 of the C synchronization 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 descrambled upper 2 bits of the syndrome are combined with the lower 6 bits of the syndrome. The syndrome combination circuit 11 is provided. Further, according to claim 2, the bit extraction circuit 1f for extracting the upper 2 bits of the HEC code from the matrix for performing the CRC operation and all 8 bits or the lower 6 bits of the operation result are switched and verified to obtain the syndrome zero. The syndrome coupling circuit 11 for outputting to the detection circuit 2 is provided. for that reason,
An error correction operation that requires 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 block 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 collation circuit, 6 ... timing generation circuit, 7 ... cyclic local PRBS generation circuit, 8 ... local PRBS state management circuit, 9 ... error correction circuit, 10 ... Syndrome delay circuit, 11 ... Syndrome combination circuit, 12 ... Phase adjustment circuit, 13 ... Descramble circuit, 1f ... Bit extraction circuit.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 29/02 H04Q 3/00 (72)発明者 青柳 愼一 東京都千代田区内幸町一丁目1番6号 日 本電信電話株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Reference number within the agency FI Technical indication location H04L 29/02 H04Q 3/00 (72) Inventor Shinichi Aoyagi 1-6-1, Uchisaiwaicho, Chiyoda-ku, Tokyo No. Japan Telegraph and Telephone Corporation
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 of an operation result (B) of the HEC operation circuit.
A syndrome zero detection circuit (2) for verifying the bit to verify whether the syndrome is "0", and a synchronization management circuit (4) for monitoring the cell synchronization state using the verification result of the syndrome zero detection circuit. And a cell TS generation circuit (3) for generating a cell time slot synchronized with the verification result,
Timing generation circuit (6) for generating the timing (C) of extracting the 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) that compares the S prediction values to detect a mismatch, and a receiving side local PRBS (for descrambling the scrambled reception cell data by performing a synchronous operation with the mismatch signal of the transmission bit matching circuit). F) generating a cyclic local PRBS generating circuit (7), and a local PRBS state for monitoring the synchronous status of the cyclic local PRBS generating circuit by combining the mismatch signal of the transfer bit collating circuit and the verification signal of the syndrome "0". The output of the management circuit (8), the error correction circuit (9) for displaying the 1-bit error correction or the error detection of 2 bits or more of the cell header part of the received cell data reproduced by the HEC operation circuit, and the error correction circuit output A descramble circuit (13) for descramble received cell data, and the receiving side local PR
A phase adjustment circuit (12) for matching the phase of the BS with the phase of the received cell data output from the error correction circuit,
Combined with the syndrome delay circuit (10) for adjusting the timing of the output of the reception syndrome from the HEC arithmetic circuit, the descrambled upper 2 bits of the descrambling syndrome which is the output of the transfer bit matching circuit, and the lower 6 bits of the syndrome whose timing is adjusted. And 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 of an operation result (B) of the HEC operation circuit.
A syndrome zero detection circuit (2) for verifying the bit to verify whether the syndrome is "0", and a synchronization management circuit (4) for monitoring the cell synchronization state using the verification result of the syndrome zero detection circuit. And a cell TS generation circuit (3) for generating a cell time slot synchronized with the verification result,
Timing generation circuit (6) for generating the timing (C) of extracting the 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) that compares the S prediction values to detect a mismatch, and a receiving side local PRBS (for descrambling the scrambled reception cell data by performing a synchronous operation with the mismatch signal of the transmission bit matching circuit). F) generating a cyclic local PRBS generating circuit (7), and a local PRBS state for monitoring the synchronous status of the cyclic local PRBS generating circuit by combining the mismatch signal of the transfer bit collating circuit and the verification signal of the syndrome "0". Output from the management circuit (8), the error correction circuit (9) for displaying the 1-bit error correction or the error detection of 2 bits or more of the cell header part of the received cell data reproduced by the HEC operation circuit, and the error correction circuit. A descramble circuit (13) for descramble received cell data, and the receiving side local P
Phase adjusting circuit (12) for matching the phase of the RBS with the phase of the received cell data output from the error correction circuit
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 all 8 bits or the lower 6 bits of the operation result are switched and verified to change the syndrome. An ATMHEC synchronization circuit having 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 true JPH07135508A (en) | 1995-05-23 |
JP2873533B2 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8099653B2 (en) | 2005-05-19 | 2012-01-17 | Canon Kabushiki Kaisha | Communication apparatus and method including a plurality of descramblers |
-
1993
- 1993-11-11 JP JP5305971A patent/JP2873533B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8099653B2 (en) | 2005-05-19 | 2012-01-17 | Canon Kabushiki Kaisha | Communication apparatus and method including a plurality of descramblers |
Also Published As
Publication number | Publication date |
---|---|
JP2873533B2 (en) | 1999-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3510242B2 (en) | Sequence synchronization | |
US4754482A (en) | Method and apparatus for synchronizing encrypting and decrypting systems | |
US4654480A (en) | Method and apparatus for synchronizing encrypting and decrypting systems | |
US5131012A (en) | Synchronization for cylic redundancy check based, broadband communications network | |
AU633904B2 (en) | Sequence synchronisation | |
JP2655547B2 (en) | CRC calculation method and HEC synchronizer in ATM switching system | |
US5835602A (en) | Self-synchronous packet scrambler | |
RU2146421C1 (en) | Decoding of data subjected to repeated transmission in encoding communication system | |
JPH0324107B2 (en) | ||
US5355412A (en) | Identifying secret data messages in a one-direction multipoint network | |
US6609226B1 (en) | Networking device and method for making cyclic redundancy check (CRC) immune to scrambler error duplication | |
JPH04216230A (en) | Method and apparatus for detecting frame alignment word in data flow | |
US5703882A (en) | Cyclic line coding apparatus for error detection and frame recovery | |
RU2147793C1 (en) | Method for decryption of repeated data packet in confidential communication system | |
JP3419520B2 (en) | Data communication method and device | |
US4910777A (en) | Packet switching architecture providing encryption across packets | |
JP2873533B2 (en) | ATMHEC synchronization circuit | |
JP3126865B2 (en) | Parallel distributed sample descrambling circuit for cell-based parallel asynchronous transfer mode physical layer descrambling | |
EP0370291B1 (en) | System and devices for transmitting signals consisting of data blocks | |
US5923681A (en) | Parallel synchronous header correction machine for ATM | |
JPH11168479A (en) | Device and method for extracting sample value for dss system | |
JPH06342257A (en) | Sequential ciphering system | |
JPS6234309B2 (en) | ||
JPH0951337A (en) | Error correction method | |
Gorshe | CRC-16 polynomials optimized for applications using self-synchronous scramblers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |