JPH05344113A - Frame synchronizing circuit - Google Patents

Frame synchronizing circuit

Info

Publication number
JPH05344113A
JPH05344113A JP4177523A JP17752392A JPH05344113A JP H05344113 A JPH05344113 A JP H05344113A JP 4177523 A JP4177523 A JP 4177523A JP 17752392 A JP17752392 A JP 17752392A JP H05344113 A JPH05344113 A JP H05344113A
Authority
JP
Japan
Prior art keywords
circuit
parallel
synchronization
serial
bits
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.)
Withdrawn
Application number
JP4177523A
Other languages
Japanese (ja)
Inventor
Hironori Sugano
裕紀 菅野
Tetsuya Wakao
哲也 若生
Koji Chiba
耕司 千葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP4177523A priority Critical patent/JPH05344113A/en
Publication of JPH05344113A publication Critical patent/JPH05344113A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To miniaturize the circuit and to reduce energy consumption by comparing the output bits of parallel/serial(P/S) converters for synchronizing patterns and received data with respectively correspondent converters and judging whether synchronizing patterns are detected or not corresponding to the number of coincident/noncoincident bits. CONSTITUTION:After performing S/P-conversion of received data by an S/P conversion circuit 31, the data are n-divided and respectively inputted to the (n) pieces of P/A converters 34-1-34-n for received data. On the other hand, the output synchronizing pattern of a synchronizing pattern designating register 32 is n-divided and respectively inputted to the (n) pieces of P/S converters 33-1-33-n for synchronizing pattern. A plural-bit comparator 35 compares the output bits of the converters 35-1-35-n and 34-1-34-n with the corresponding converters simultaneously for every (n) bits. Corresponding to the number of coincident/noncoincident bits as the compared results, a synchronizing pattern detection circuit 36 judges whether the synchronizing patterns are detected or not. Thus, since the comparison is performed simultaneously for every (n) bits, the frequency of an internal operating clock can be reduced into 1/n in comparison with the conventional frequency.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はTDMAなどフレーム同
期を用いる通信機器等に使用されるフレーム同期回路に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization circuit used in communication equipment using frame synchronization such as TDMA.

【0002】フレーム同期を用いる通信機器一般、ある
いはフレーム同期を使用する通信機能を持った電子機器
においては、高機能化、小型化、低消費電力化が一般的
な課題となっており、したがってフレーム同期回路を小
型化、低消費電力化することが必要とされる。
In general communication equipment using frame synchronization, or in electronic equipment having a communication function using frame synchronization, high functionality, miniaturization, and low power consumption are general problems, and therefore, frame It is necessary to reduce the size and power consumption of the synchronous circuit.

【0003】[0003]

【従来の技術】図9にはフレーム同期回路の従来例が示
される。ここで、受信データはフレーム構成を持つシリ
アルなバースト信号である。このフレームにはフレーム
同期パターンとしてユニークワードUW(同期語)が含
まれており、このユニークワードUWとしてはUW1〜
UWAのA個の種類がある。
2. Description of the Related Art FIG. 9 shows a conventional example of a frame synchronization circuit. Here, the received data is a serial burst signal having a frame structure. This frame includes a unique word UW (synchronization word) as a frame synchronization pattern, and the unique word UW1 to UW1.
There are A types of UWA.

【0004】6は直並列変換器(以下、S/P変換器と
記する)であり、シリアル入力される受信データを、1
ビット入力される毎に逐次に、Nビット並列データに直
並列変換して出力する。このNビット並列受信データは
A個の一致検出回路8-1〜8-Aにそれぞれ並列に入力さ
れる。一致検出回路8-1〜8-Aは、A個のユニークワー
ドUW1〜UWAにそれぞれ対応して設けられており、
それぞれ対応するユニークワードUWを検出する機能を
持つ。
Reference numeral 6 is a serial-parallel converter (hereinafter referred to as an S / P converter) for converting received data serially input into 1
Every time a bit is input, it is serial-parallel converted into N-bit parallel data and output. The N-bit parallel received data are input in parallel to the A match detection circuits 8-1 to 8-A. The coincidence detection circuits 8-1 to 8-A are provided corresponding to the A unique words UW1 to UWA, respectively.
It has a function of detecting the corresponding unique word UW.

【0005】この一致検出回路8は、ユニークワード
(UW)指定レジスタ10、並直列変換器(以下、P/
S変換器と記する)81、82、比較回路83、誤り許
容数設定レジスタ12、誤り計数回路13、ウィンドウ
幅指定レジスタ14、ウィンドウ制御回路15等を含み
構成される。
The coincidence detection circuit 8 includes a unique word (UW) designation register 10, a parallel / serial converter (hereinafter, P /
81 and 82, a comparator circuit 83, an allowable error number setting register 12, an error counting circuit 13, a window width designation register 14, a window control circuit 15, and the like.

【0006】この一致検出回路8の比較回路周辺の詳細
な構成が図10に示される。S/P変換器6からの並列
受信データは、シフトレジスタからなるP/S変換器8
1に入力されて内部処理クロックCLKINで直並列変換
され、そのシリアル出力ビットは、XOR回路からなる
比較回路83の一つの入力端子にシリアル入力される。
FIG. 10 shows the detailed structure around the comparison circuit of the coincidence detection circuit 8. The parallel reception data from the S / P converter 6 is the P / S converter 8 including a shift register.
1 and is serial-parallel converted by the internal processing clock CLK IN , and its serial output bit is serially input to one input terminal of the comparison circuit 83 including an XOR circuit.

【0007】またUW指定レジスタ10にはユニークワ
ードUWのNビットのUWパターンが格納されていて、
このUWパターンは、受信データが1ビット入力される
毎に、シフトレジスタからなるP/S変換器82に並列
入力され、内部処理クロックCLKINで直並列変換さ
れ、そのシリアル出力ビットは比較回路83の他の入力
端子にシリアル入力される。
The UW designation register 10 stores the N-bit UW pattern of the unique word UW,
This UW pattern is input in parallel to the P / S converter 82 composed of a shift register every time 1 bit of received data is input, and serial-parallel converted by the internal processing clock CLK IN , and its serial output bit is compared by the comparison circuit 83. Is serially input to the other input terminal of.

【0008】ここで、図11の〔A〕に示されるよう
に、内部処理クロックCLKINは受信クロックCLKR
のN倍の周波数となっている。したがってP/S変換器
81、82は、S/P変換器6へ受信データが1ビット
入力される周期で、並列入力されたNビットデータを全
て直列データに変換して出力する。
Here, as shown in FIG. 11A, the internal processing clock CLK IN is the reception clock CLK R.
N times the frequency. Therefore, the P / S converters 81 and 82 convert all the N-bit data input in parallel into serial data and output the same at a cycle in which one bit of received data is input to the S / P converter 6.

【0009】比較回路83はP/S変換器81と82か
らそれぞれシリアルに出力される出力ビットを1ビット
ずつその一致/不一致を比較し、不一致時に“1”の不
一致ビットを出力する。この不一致ビットの数は、加算
器131とフリップフロップ132からなるアキューム
レータによって累算される。したがって、その合計値は
S/P変換器6から出力される並列受信データとUW指
定レジスタに格納されたユニークワードUWとを各ビッ
ト対応に比較した不一致ビットの数となる。
The comparison circuit 83 compares the output bits serially output from the P / S converters 81 and 82 for matching / mismatching bit by bit, and outputs a mismatching bit of "1" when they do not match. The number of unmatched bits is accumulated by the accumulator including the adder 131 and the flip-flop 132. Therefore, the total value is the number of unmatched bits obtained by comparing the parallel received data output from the S / P converter 6 and the unique word UW stored in the UW designation register in correspondence with each bit.

【0010】判定回路135はこの不一致のビット数a
を、誤り許容数設定レジスタ12に設定されたユニーク
ワード検出条件としての誤り許容数bと比較し、この誤
り許容数b以下であれば、現在入力した受信データがユ
ニークワードUWであると判定し、一致検出信号を出力
する。
The determination circuit 135 determines the number of mismatched bits a.
Is compared with the allowable error number b as the unique word detection condition set in the allowable error number setting register 12, and if this allowable error number b or less, it is determined that the currently input received data is the unique word UW. , Outputs a match detection signal.

【0011】この出力された一致検出信号は、次に図9
に示されるウィンドウ制御回路15に入力される。ウィ
ンドウ制御回路15にはウィンドウ幅指定レジスタ14
からウィンドウ幅データが入力される。ウィンドウ制御
回路15はユニークワードの到来予測位置にそのウィン
ドウ幅のウィンドウを生成し、一致検出信号がそのウィ
ンドウ内にあるか否かを判定するようになっており、そ
れによりユニークワードUWと類似した受信データによ
る検索範囲外での一致検出信号をマスクして、正しい一
致検出信号だけを保護段数計数回路2を通って同期判定
保護回路3に出力する。
The output coincidence detection signal is shown in FIG.
Is input to the window control circuit 15 shown in FIG. The window control circuit 15 includes a window width designation register 14
Window width data is input from. The window control circuit 15 is adapted to generate a window having the window width at the predicted arrival position of the unique word and determine whether or not the coincidence detection signal is within the window, thereby making it similar to the unique word UW. The match detection signal outside the search range based on the received data is masked, and only the correct match detection signal is output to the synchronization determination protection circuit 3 through the protection stage number counting circuit 2.

【0012】なお、保護段数計数回路2、同期判定保護
回路3、カウンタ4、デコーダ5等は同期保護を行うた
めの回路であり、これらは従来から一般的な回路である
ので、詳細な説明は省略する。
The protection stage number counting circuit 2, the synchronization determination protection circuit 3, the counter 4, the decoder 5 and the like are circuits for performing synchronization protection, and since these are general circuits from the past, detailed description will be given. Omit it.

【0013】以上の基本的動作をする回路を、使用する
ユニークワードUWの個数だけ組み合わせて(この従来
例ではA個の回路を組み合わせている)、それらの回路
を並列動作させることで、フレーム同期回路を構成する
ものである。
Frame synchronization is performed by combining the circuits that perform the above basic operations by the number of unique words UW to be used (A circuits are combined in this conventional example) and operating these circuits in parallel. It constitutes a circuit.

【0014】一方、上述の回路ではハードウェア量が大
きくなるが、ハードウェアを削減するためには、一つの
一致検出回路を複数のユニークワードUWに対して時分
割的に使用すればよい。この例として、二つのユニーク
ワードUW1、UW2を検出する場合が図11の〔B〕
に示される。すなわち、内部処理クロックCLKINの周
波数を受信クロックCLKR の2N倍とし、受信データ
の1ビット期間の前半でユニークワードUW1の検索を
行い、後半でユニークワードUW2の検索を行う。
On the other hand, although the above-mentioned circuit requires a large amount of hardware, in order to reduce the hardware, one coincidence detection circuit may be used for a plurality of unique words UW in a time division manner. As an example of this, the case of detecting two unique words UW1 and UW2 is shown in FIG. 11B.
Shown in. That is, the frequency of the internal processing clock CLK IN is set to 2N times the reception clock CLK R , the unique word UW1 is searched in the first half of the 1-bit period of the received data, and the unique word UW2 is searched in the second half.

【0015】これを一般的に言えば、検出すべきユニー
クワードUWが一つだけの時の内部動作クロックCLK
INの周波数をf1 とすると、検出すべきユニークワード
UWの数がA個となった時には、その内部動作クロック
CLKINの周波数fA は、 fA =f1 ×A となる。
Generally speaking, the internal operation clock CLK when there is only one unique word UW to be detected.
Assuming that the frequency of IN is f 1 , when the number of unique words UW to be detected is A, the frequency f A of the internal operation clock CLK IN is f A = f 1 × A.

【0016】[0016]

【発明が解決しようとする課題】上述したように、検出
するユニークワードUWの数が複数ある場合、それを図
9の回路のように、それぞれ別個の一致検出回路を並列
に動作させて検出するように回路を構成すると、ハード
ウェア量が増大してしまう。
As described above, when there are a plurality of unique words UW to be detected, they are detected by operating separate coincidence detecting circuits in parallel as in the circuit of FIG. If the circuit is configured in this manner, the amount of hardware will increase.

【0017】そこで、図11の〔B〕の例で説明したよ
うに、一つの一致検出回路を時分割的に用いて複数のユ
ニークワードUWを検出するように構成すると、その内
部動作クロックの周波数が高くなり、これは消費電流を
増加させ、消費電力を大きくする。
Therefore, as described in the example of FIG. 11B, if one coincidence detection circuit is used to detect a plurality of unique words UW in a time division manner, the frequency of the internal operation clock thereof. Becomes higher, which increases current consumption and power consumption.

【0018】また、1個のユニークワードUWだけを検
出する場合でも、その内部動作クロックCLKINは受信
クロックCLKR に対してかなり高速であるため消費電
流が大きくなるので、この内部動作クロックの周波数を
できるだけ下げて低消費電圧化を図ることが必要であ
る。
Even when only one unique word UW is detected, the internal operation clock CLK IN is considerably faster than the reception clock CLK R , and therefore the current consumption is large. It is necessary to lower the voltage as much as possible to achieve low power consumption.

【0019】本発明はかかる問題点に鑑みてなされたも
のであり、その目的とするところは、フレーム同期回路
の小型化、低消費電力化を図ることにある。
The present invention has been made in view of the above problems, and an object of the present invention is to reduce the size and power consumption of a frame synchronization circuit.

【0020】[0020]

【課題を解決するための手段】図1は本発明に係る原理
説明図である。本発明のフレーム同期回路は、第1の形
態として、受信データを直並列変換する直並列変換回路
31、同期パターンを記憶する同期パターン指定レジス
タ32、同期パターン指定レジスタ32から出力される
同期パターンをn分割した分割同期パターンがそれぞれ
入力されるn個の同期パターン用並直列変換器33-1〜
33-n、直並列変換器31の並列出力をn分割した分割
並列受信データがそれぞれ入力されるn個の受信データ
用並直列変換器34-1〜34-n、n個の同期パターン用
並直列変換器33-1〜33-nの出力ビットとn個の受信
データ用並直列変換器34-1〜34-nの出力ビットとを
それぞれ対応する同期パターン用並直列変換器と受信デ
ータ用並直列変換器同士で比較する複数ビット比較回路
35、および、複数ビット比較回路35の比較結果の一
致/不一致のビット数に基づいて同期パターン検出の有
無を判定する同期パターン検出回路36を備えたもので
ある。
FIG. 1 is an explanatory view of the principle of the present invention. As a first form, the frame synchronization circuit of the present invention includes a serial-parallel conversion circuit 31 that serial-parallel converts received data, a synchronization pattern designation register 32 that stores a synchronization pattern, and a synchronization pattern output from the synchronization pattern designation register 32. n parallel pattern serial-to-serial converters 33-1 to 3n, to which the divided sync patterns divided by n are respectively input
33-n, n parallel parallel converters for reception data 34-1 to 34-n to which parallel parallel reception data obtained by dividing the parallel output of the serial-parallel converter 31 by n are respectively input, and n parallel patterns for synchronization pattern A serial-pattern converter for synchronization pattern and a received data for which the output bits of the serial converters 33-1 to 33-n and the output bits of the n parallel data serial converters 34-1 to 34-n respectively correspond The parallel-serial converter is provided with a plurality of bit comparison circuits 35 for comparison, and a synchronization pattern detection circuit 36 for determining the presence / absence of synchronization pattern detection based on the number of coincidence / disagreement bits of the comparison result of the plurality of bit comparison circuits 35 It is a thing.

【0021】上述の同期パターン検出回路は、ビット比
較回路の比較結果の一致/不一致のビット数を計数する
誤り計数回路、同期パターン検出条件としての誤り許容
数を記憶する誤り許容数設定レジスタ、および、誤り許
容数設定レジスタの誤り許容数と計数回路の計数値とを
比較して同期パターン検出条件を満たすか否かを判定す
る判定回路から構成することができる。
The above-mentioned synchronization pattern detection circuit is an error counting circuit for counting the number of coincidence / non-coincidence bits of the comparison result of the bit comparison circuit, an error tolerance number setting register for storing the error tolerance number as a synchronization pattern detection condition, and It can be configured by a determination circuit that compares the error allowable number of the error allowable number setting register with the count value of the counting circuit and determines whether or not the synchronization pattern detection condition is satisfied.

【0022】また本発明のフレーム同期回路は、第2の
形態として、上述のフレーム同期回路において、同期パ
ターンが複数種類あり、そのうちの一つを選択手段で順
次に選択してn個の同期パターン用並直列変換器に入力
するよう構成される。
As a second form of the frame synchronization circuit of the present invention, in the frame synchronization circuit described above, there are a plurality of types of synchronization patterns, one of which is sequentially selected by the selection means and n synchronization patterns are selected. Configured to input to a parallel-to-serial converter.

【0023】また本発明のフレーム同期回路は、第3の
形態として、上述の第2のフレーム同期回路において、
検出条件としての誤り許容数が該複数種類の同期パター
ンに応じて複数あり、そのうちから上記選択手段で選択
した同期パターンに対応した誤り許容数を第2の選択手
段で選択して判定回路に入力するよう構成される。
As a third mode, the frame synchronization circuit of the present invention is the same as the second frame synchronization circuit described above.
There are a plurality of allowable error numbers as detection conditions according to the plurality of types of synchronization patterns, and an error allowable number corresponding to the synchronization pattern selected by the selecting means is selected by the second selecting means and input to the determination circuit. Configured to do.

【0024】また本発明のフレーム同期回路は、第4の
形態として、上述の第1の形態のフレーム同期回路と第
2の形態のフレーム同期回路を組み合わせ、各フレーム
同期回路における直並列変換回路を共通に使用するよう
に構成したものである。
As a fourth form of the frame synchronizing circuit of the present invention, the frame synchronizing circuit of the first form and the frame synchronizing circuit of the second form are combined to form a serial / parallel conversion circuit in each frame synchronizing circuit. It is configured to be commonly used.

【0025】[0025]

【作用】第1の形態のフレーム同期回路では、直並列変
換回路31で受信データを直並列変換し、その直並列変
換した並列受信データをn分割して各分割並列受信デー
タをそれぞれn個の受信データ用並直列変換器34-1〜
34-nに入力する。一方、同期パターン指定レジスタ3
2から出力される同期パターンをn分割し、その分割同
期パターンをそれぞれn個の同期パターン用並直列変換
器33-1〜33-nに入力する。
In the frame synchronization circuit of the first embodiment, the serial-parallel conversion circuit 31 serial-parallel converts the received data, the serial-parallel converted parallel received data is divided into n, and each divided parallel received data is divided into n pieces. Received data parallel-to-serial converter 34-1 ~
Input to 34-n. On the other hand, the synchronization pattern designation register 3
The synchronization pattern output from the No. 2 is divided into n, and the divided synchronization patterns are input to n synchronization pattern parallel-serial converters 33-1 to 33-n, respectively.

【0026】複数ビット比較回路35ではこのn個の同
期パターン用並直列変換器33-1〜33-nの出力ビット
とn個の受信データ用並直列変換器34-1〜34-nの出
力ビットとを、それぞれ対応する同期パターン用並直列
変換器と受信データ用並直列変換器同士でnビットずつ
同時に比較する。同期パターン検出回路36はこの複数
ビット比較回路35の比較結果の一致/不一致のビット
数に基づいて同期パターン検出の有無を判定する。
In the multi-bit comparison circuit 35, the output bits of the n synchronization pattern parallel / serial converters 33-1 to 33-n and the n received data parallel / serial converters 34-1 to 34-n are output. The bits are compared with each other at the same time by n bits at a time between the parallel serial converter for synchronization pattern and the parallel serial converter for received data. The sync pattern detection circuit 36 determines the presence or absence of sync pattern detection based on the number of coincidence / non-coincidence bits of the comparison result of the multiple bit comparison circuit 35.

【0027】このように複数ビット比較回路35では受
信データと同期パターンとのビットの一致/不一致をn
ビットずつ同時に行っているので、内部動作クロックの
周波数を従来の1/nとすることができる。
As described above, in the multi-bit comparison circuit 35, the bit matching / mismatching between the received data and the sync pattern is determined by n.
Since it is performed bit by bit at the same time, the frequency of the internal operation clock can be made 1 / n of the conventional frequency.

【0028】また第2の形態のフレーム同期回路では、
検出すべき同期パターンが複数種類ある場合、そのうち
の一つを選択手段で順次に選択してn個の同期パターン
用並直列変換器に入力する。これにより複数の同期パタ
ーンを小規模な回路で、かつ内部動作クロックの低くし
て検出することが可能となる。
In the frame synchronization circuit of the second form,
When there are a plurality of types of synchronization patterns to be detected, one of them is sequentially selected by the selection means and input to the n synchronization pattern parallel-serial converters. As a result, it becomes possible to detect a plurality of synchronization patterns with a small circuit and with a low internal operation clock.

【0029】また第3の形態のフレーム同期回路では、
検出条件としての誤り許容数を上記の複数種類の同期パ
ターンに応じて複数設け、そのうちから上記選択手段で
選択した同期パターンに対応した誤り許容数を第2の選
択手段で選択して判定回路に入力する。これにより同期
パターンの種類に応じてその同期パターンの検出条件を
変えることができる。
In the frame synchronizing circuit of the third form,
A plurality of error allowable numbers as detection conditions are provided in accordance with the plurality of types of synchronization patterns, and the error allowable number corresponding to the synchronization pattern selected by the selecting unit is selected by the second selecting unit from the determination circuit. input. Thereby, the detection condition of the synchronization pattern can be changed according to the type of the synchronization pattern.

【0030】また第4の形態のフレーム同期回路では、
上述の第1の形態のフレーム同期回路と第2の形態のフ
レーム同期回路を組み合わせることにより、例えば検出
条件等が同じ複数の同期パターンとそれとは検出条件が
異なる他の一つの同期パターンの検索を同時に行うこと
ができる。
In the frame synchronizing circuit of the fourth mode,
By combining the frame synchronization circuit of the first form and the frame synchronization circuit of the second form described above, for example, a plurality of synchronization patterns having the same detection condition and another synchronization pattern having a different detection condition can be searched. Can be done at the same time.

【0031】[0031]

【実施例】以下、図面を参照して本発明の実施例を説明
する。本発明の一実施例としてのフレーム同期回路が図
2に示される。このフレーム同期回路は、ユニークワー
ドUWとしてUW1〜UWAのA個のユニークワードを
検出するものであり、各ユニークワードUWのビット数
Bは6nビットである(但し、nは2以上、B未満の整
数)。
Embodiments of the present invention will be described below with reference to the drawings. A frame synchronization circuit as an embodiment of the present invention is shown in FIG. This frame synchronization circuit detects A unique words UW1 to UWA as unique words UW, and the bit number B of each unique word UW is 6n bits (where n is 2 or more and less than B). integer).

【0032】シリアルの受信データはS/P変換器6を
介して一致検出回路1に入力される。一致検出回路1
は、A個のUW指定レジスタ10-1〜10-A、複数ビッ
ト同時比較回路11、A個の誤り許容数設定レジスタ1
2-1〜12-A、誤り計数回路13、A個のウィンドウ幅
指定レジスタ14-1〜14-A、ウィンドウ制御回路15
等からなる。
The serial reception data is input to the coincidence detection circuit 1 via the S / P converter 6. Match detection circuit 1
Are A UW specification registers 10-1 to 10-A, a plural-bit simultaneous comparison circuit 11, and A error allowable number setting registers 1
2-1 to 12-A, error counting circuit 13, A number of window width designation registers 14-1 to 14-A, window control circuit 15
Etc.

【0033】ここで、UW指定レジスタ10-1〜10-A
には、それぞれユニークワードUW1〜UWAのビット
パターン(6nビット)が格納される。また誤り許容数
設定レジスタ12-1〜12-Aには、各ユニークワードU
W1〜UWA対応に、それぞれのユニークワードUW1
〜UWAの検出条件としての誤り許容ビット数bが格納
される。まだウィンドウ幅指定レジスタ14-1〜14-A
には各ユニークワードUW1〜UWA対応に、それぞれ
のユニークワードUW1〜UWAのウィンドウ幅が格納
される。
Here, the UW designation registers 10-1 to 10-A
Stores the bit patterns (6n bits) of the unique words UW1 to UWA, respectively. Further, each unique word U is stored in the allowable error count setting registers 12-1 to 12-A.
Each unique word UW1 corresponding to W1-UWA
Stored is the allowable error bit number b as a detection condition of UWA. Window width specification registers 14-1 to 14-A
The window width of each unique word UW1 to UWA is stored in the corresponding to each unique word UW1 to UWA.

【0034】一致検出回路1からは各ユニークワードU
W1〜UWAにそれぞれ対応して一致検出信号が出力さ
れ、それらはそれぞれ同期段数計数回路2-1〜2-Aを介
して同期判定保護回路3に入力される。
From the coincidence detection circuit 1, each unique word U
Match detection signals are output corresponding to W1 to UWA, respectively, and these are input to the synchronization determination protection circuit 3 via the synchronization stage number counting circuits 2-1 to 2-A, respectively.

【0035】図3には複数ビット同時比較回路11の周
辺の詳細な構成例が、また図4には誤り計数回路13の
周辺の詳細な構成例が示される。
FIG. 3 shows a detailed configuration example around the multi-bit simultaneous comparison circuit 11, and FIG. 4 shows a detailed configuration example around the error counting circuit 13.

【0036】図3において、UW指定レジスタのユニー
クワードUWをビット比較のために並直列変換する回路
としてシフトレジスタからなるn個のUW用P/S変換
器112-1〜112-nが設けられる。また受信データを
ビット比較するために並直列変換する回路としてシフト
レジスタからなるn個の受信データ用P/S変換器11
3-1〜113-nが設けれる。これらのP/S変換器11
2-1〜112-n、113-1〜113-nはそれぞれ6ビッ
ト並列データが入力されてそれを直列データに変換する
ものである。
In FIG. 3, n UW P / S converters 112-1 to 112-n, which are shift registers, are provided as circuits for parallel-serial conversion of the unique word UW of the UW designation register for bit comparison. .. Further, n pieces of reception data P / S converters 11 each composed of a shift register as a circuit for performing parallel / serial conversion for bit comparison of reception data.
3-1 to 113-n are provided. These P / S converters 11
2-1 to 112-n and 113-1 to 113-n are each for inputting 6-bit parallel data and converting it into serial data.

【0037】UW指定レジスタ10-1〜10-Aの各出力
はセレクタ111に入力されており、このセレクタ11
1によってそのうちの一つが選択されて出力される。こ
こでUW指定レジスタ10の出力のUWパターンは6n
ビットであるが、セレクタ111の出力側では、このU
Wパターンは6ビットずつにn分割されて、それぞれn
個のUW用P/S変換器112-1〜112-nに分配入力
される。すなわち、UWパターンの6nビットをB(1)
〜B(6n) とすると、B(1) 〜B(6) の6ビットはUW
用P/S変換器112-1に、B(7) 〜B(12)の6ビット
はUW用P/S変換器112-2に、・・・B(6n-5)〜B
(6n)の6ビットはUW用P/S変換器112-nに入力さ
れる。
The outputs of the UW specification registers 10-1 to 10-A are input to the selector 111, and the selector 11
One of them is selected by 1 and output. Here, the UW pattern of the output of the UW designation register 10 is 6n.
Although it is a bit, on the output side of the selector 111, this U
The W pattern is divided into n of 6 bits, each of which is n
It is distributed and input to the U / W P / S converters 112-1 to 112-n. That is, the 6n bits of the UW pattern are B (1)
~ B (6n), 6 bits of B (1) to B (6) are UW
6 bits of B (7) to B (12) are supplied to the U / W P / S converter 112-2, ... B (6n-5) to B
The 6 bits of (6n) are input to the UW P / S converter 112-n.

【0038】同様に、S/P変換器6から出力される6
nビットの並列受信データもn分割され、ユニークワー
ド側と同様にn個の受信データ用P/S変換器113-1
〜113-nに分配入力される。すなわち、並列受信デー
タの6nビットをB(1) 〜B(6n)とすると、B(1) 〜B
(6) の6ビットは受信データ用P/S変換器113-1
に、B(7) 〜B(12)の6ビットは受信データ用P/S変
換器113-2に、・・・B(6n-5)〜B(6n)の6ビットは
受信データ用P/S変換器113-nに入力される。
Similarly, 6 output from the S / P converter 6
The n-bit parallel reception data is also divided into n, and n pieces of reception data P / S converters 113-1 are provided as in the unique word side.
~ 113-n are distributed and input. That is, if the 6n bits of the parallel reception data are B (1) to B (6n), B (1) to B (6n)
6 bits of (6) is the P / S converter 113-1 for received data
6 bits of B (7) to B (12) are received by the P / S converter 113-2 for received data, and 6 bits of B (6n-5) to B (6n) are received by the P / S converter 113-2. It is input to the / S converter 113-n.

【0039】比較回路114はn個のXOR回路114
-1〜114-nからなっており、UW用P/S変換器11
2-1〜112-nと受信データ用P/S変換器113-1〜
113-nの出力ビットは、それぞれ対応するもの同士で
ビットの一致/不一致を比較できるように、UW用P/
S変換器112-1と受信データ用P/S変換器113-1
の出力ビットがXOR回路114-1に・・・というよう
に対応する組の出力ビットがXOR回路114-1〜11
4-nにそれぞれ入力される。これにより比較回路114
ではnビットの同時比較ができる。
The comparison circuit 114 includes n XOR circuits 114.
-1 to 114-n, UW P / S converter 11
2-1 to 112-n and P / S converter for received data 113-1 to
The output bits of 113-n correspond to UW P / P so that corresponding bits can be compared for bit match / mismatch.
S converter 112-1 and received data P / S converter 113-1
Output bits of XOR circuits 114-1 to XOR circuits 114-1 ...
Input to 4-n respectively. Accordingly, the comparison circuit 114
Allows simultaneous comparison of n bits.

【0040】図4において、誤り計数回路13は、加算
器回路131、フリップフロップ132、セレクタ13
4、誤り数比較回路135等を含み構成される。加算回
路131とフリップフロップ132はアキュームレータ
の構成となっており、加算回路131は比較回路114
からのn個の不一致ビット信号が入力されてそれらを前
回の積算値と加算する。その加算結果の不一致ビット数
aはフリップフロップ132を介して誤り数比較回路1
35に入力される。
In FIG. 4, the error counting circuit 13 includes an adder circuit 131, a flip-flop 132 and a selector 13.
4, an error number comparison circuit 135 and the like are included. The adder circuit 131 and the flip-flop 132 have an accumulator configuration, and the adder circuit 131 is a comparator circuit 114.
The n non-matching bit signals from are input and added to the previous integrated value. The unmatched bit number a of the addition result is transferred to the error number comparison circuit 1 via the flip-flop 132.
35 is input.

【0041】セレクタ134は、誤り許容数設定レジス
タ12-1〜12-Aのうちから、セレクタ111で選択し
たユニークワードUWに対応した誤り許容数設定レジス
タを選択してその誤り許容数bを誤り数比較回路135
に入力する。誤り数比較回路135は、不一致ビット数
aが誤り許容数b以下であれば(すなわち、a≦b、で
あれば)、一致検出信号を出力する。
The selector 134 selects the error allowable number setting register corresponding to the unique word UW selected by the selector 111 from the error allowable number setting registers 12-1 to 12-A and sets the error allowable number b to an error. Number comparison circuit 135
To enter. The error number comparison circuit 135 outputs a match detection signal when the number of mismatch bits a is equal to or less than the error allowable number b (that is, a ≦ b).

【0042】この実施例回路の動作を図5のタイムチャ
ートを参照して以下に説明する。図3において、受信デ
ータは、1ビット入力される度に、S/P変換器6によ
って6nビットの並列データに直並列変換され、この並
列受信データは6ビットずつn分割されてそれぞれ受信
データ用P/S変換器113-1〜113-nに入力され
る。
The operation of this embodiment circuit will be described below with reference to the time chart of FIG. In FIG. 3, every time 1 bit of the received data is input, the S / P converter 6 serial-parallel converts it into 6n-bit parallel data, and the parallel received data is divided into n by 6 bits for each received data. It is input to the P / S converters 113-1 to 113-n.

【0043】またセレクタ111は最初はUW指定レジ
スタ10-1を選択し、そのユニークワードUW1のパタ
ーンはn分割されてそれぞれUW用P/S変換器112
-1〜112-nに入力される。
Further, the selector 111 first selects the UW designation register 10-1, and the pattern of the unique word UW1 is divided into n and each P / S converter 112 for UW.
-1 to 112-n.

【0044】そして、これらの並列入力データはUW用
P/S変換器112-1〜112-nと受信データ用P/S
変換器113-1〜113-nからそれぞれ1ビットずつシ
リアルに読み出され、対応するユニークワードUWのビ
ットと受信データのビット同士の一致/不一致が比較回
路114の各XOR回路114-1〜114-nで比較され
る。すなわち、比較回路114では、受信データとユニ
ークワードUW1とのビットの一致/不一致をnビット
ずつ同時に比較している。この不一致ビットの数は図4
の誤り計数回路13の加算回路131で順次に累算され
る。
These parallel input data are sent to the UW P / S converters 112-1 to 112-n and the received data P / S.
One bit is serially read from each of the converters 113-1 to 113-n, and a match / mismatch between the corresponding bit of the unique word UW and the corresponding bit of the received data indicates the XOR circuits 114-1 to 114 of the comparison circuit 114. -n is compared. That is, the comparison circuit 114 simultaneously compares the received data and the unique word UW1 for bit coincidence / non-coincidence n bits at a time. The number of unmatched bits is shown in FIG.
Are sequentially accumulated in the adder circuit 131 of the error counting circuit 13.

【0045】したがってユニークワードUW1について
は、内部動作クロックCLKINが6クロックで、受信デ
ータとUW指定レジスタ10-1に格納されたユニークワ
ードUW1のパターンとの不一致のビット数aを計算す
ることができる。
Therefore, with respect to the unique word UW1, it is possible to calculate the number of mismatching bits a between the received data and the pattern of the unique word UW1 stored in the UW designation register 10-1 when the internal operation clock CLK IN is 6 clocks. it can.

【0046】この計算結果である不一致ビット数aは図
4の誤り数比較回路135に入力され、セレクタ134
で選択されたユニークワードUW1の誤り許容数bと比
較され、不一致ビット数aが誤り許容数b以下であると
いう検出条件を満たせば、ユニークワードUW1の一致
検出信号が出力される。
The mismatch bit number a as the result of this calculation is input to the error number comparison circuit 135 in FIG.
Compared with the allowable error number b of the unique word UW1 selected in step 1, if the detection condition that the number of unmatched bits a is less than the allowable error number b is satisfied, the match detection signal of the unique word UW1 is output.

【0047】ユニークワードUW1の検索が終了した
ら、次に続く内部動作クロックCLKINの6ビットでユ
ニークワードUW2の検索が行われ、同様にしてA個目
のユニークワードUWAまで検索が行われる。したがっ
て、内部クロックは受信クロックの1クロックに対して
6×Aクロックとなる。
When the search for the unique word UW1 is completed, the search for the unique word UW2 is performed by the next 6 bits of the internal operation clock CLK IN , and the search is performed for the A-th unique word UWA in the same manner. Therefore, the internal clock is 6 × A clock for one clock of the reception clock.

【0048】図2において、後段のウィンドウ制御回路
15では、各ユニークワードUW1〜UWAの検出信号
に対して、ウィンドウ基準タイミング信号をもとに、カ
ウンタ4とデコーダ5とウィンドウ幅指定レジスタ14
-1〜14-Aを含み構成される回路によって、A個のユニ
ークワードUW1〜UWAのそれぞれについて個別にウ
ィンドウ判定(各ユニークワードUW1〜UWAの一致
検出信号が各ユニークワードUW1〜UWAに対応する
ウィンドウ内にあるか否かの判定)をすることにより、
ユニークワードUWと類似した受信データによる検索範
囲外での一致検出信号をマスクして正しい検出を行い、
一致検出信号を同期判定保護回路3に出力する動作を各
ユニークワード毎に行うことができる。
In the window control circuit 15 at the subsequent stage in FIG. 2, the counter 4, the decoder 5, and the window width designation register 14 are used for the detection signals of the unique words UW1 to UWA based on the window reference timing signal.
-1 to 14-A is used to individually determine the window for each of the A unique words UW1 to UWA (the match detection signal of each unique word UW1 to UWA corresponds to each unique word UW1 to UWA. By determining whether it is in the window)
Correct detection is performed by masking the match detection signal outside the search range by the received data similar to the unique word UW,
The operation of outputting the coincidence detection signal to the synchronization determination protection circuit 3 can be performed for each unique word.

【0049】この実施例のようにすると、内部動作クロ
ックCLINの周波数fn は、 fn =f1 ×A/n となる。但し、f1 は前述したようにユニークワードU
Wが一つの場合の従来回路の内部動作クロックの周波
数、AはユニークワードUWが複数の場合のユニークワ
ードUWの個数である。
According to this embodiment, the frequency f n of the internal operation clock CL IN is f n = f 1 × A / n. However, f 1 is the unique word U as described above.
The frequency of the internal operation clock of the conventional circuit when W is one, and A is the number of unique words UW when there are a plurality of unique words UW.

【0050】この時に、受信データ( ビットレートをC
bps とする) を1ビット受信するに要する時間は1 /C
であり、この時間内にA個のユニークワードUW1〜U
WAの一致検出動作を行うためには、内部動作クロック
の周波数をDHz、複数同時比較する数(すなわち並列受
信データを分割する数)をn、ユニークワードUWのビ
ット数をBとした時、下記の条件 C≧(A×B)/(D×n) が満たされればよく、これにより全ユニークワードUW
1〜UWAのビットの比較が可能となる。
At this time, received data (bit rate is C
The time required to receive 1 bit is 1 / C
And within this time A unique words UW1-U
In order to perform the WA coincidence detection operation, when the frequency of the internal operation clock is DHz, the number of multiple simultaneous comparisons (that is, the number of divisions of parallel reception data) is n, and the number of bits of the unique word UW is B, It is sufficient that the condition C ≧ (A × B) / (D × n) is satisfied, whereby the all unique words UW
It is possible to compare bits 1 to UWA.

【0051】図6および図7には本発明の他の実施例が
示される。この実施例は、検出対象となるユニークワー
ドUWを、20ビットの2種類のユニークワードUW
1、UW2と、32ビットの1種類のユニークワードU
W3との合計3種類にした場合のものである。なお、図
中、前述の実施例と同じような機能を持った回路部品に
は同じ参照番号を付してある。
6 and 7 show another embodiment of the present invention. In this embodiment, the unique words UW to be detected are two kinds of 20-bit unique words UW.
1, UW2 and one unique word U of 32 bits
This is a case where the total of three types, W3, is used. In the figure, the same reference numerals are attached to circuit components having the same functions as those of the above-described embodiment.

【0052】図6において、UW指定レジスタ10-1と
10-2は20ビットデータを格納するレジスタで、それ
ぞれユニークワードUW1とUW2のUWパターンが格
納されている。またUW指定レジスタ10-3は32ビッ
トデータを格納するレジスタで、ユニークワードUW3
のUWパターンが格納されている。
In FIG. 6, UW designation registers 10-1 and 10-2 are registers for storing 20-bit data, and UW patterns of unique words UW1 and UW2 are stored therein, respectively. The UW designation register 10-3 is a register for storing 32-bit data, and the unique word UW3
UW pattern is stored.

【0053】セレクタ111はUW指定レジスタ10-1
と10-2の一方を選択する回路で、その選択されたUW
パターン出力は10ビットずつに2分割され、UW用P
/S変換器112-1、112-2にそれぞれ入力される。
またUW指定レジスタ10-3のUW3パターン出力は1
6ビットずつに2分割され、UW用P/S変換器116
-1、116-2に入力される。
The selector 111 is the UW designation register 10-1.
And the circuit that selects one of 10-2, the selected UW
The pattern output is divided into two parts of 10 bits each, and P for UW
It is input to the / S converters 112-1 and 112-2, respectively.
The UW3 pattern output of the UW specification register 10-3 is 1
The PW / S converter 116 for UW is divided into 6 bits each.
-1, 116-2 is input.

【0054】シリアルな受信データはS/P変換器6で
32ビットの並列受信データに変換され、この32ビッ
ト並列受信データを16ビットずつにMSB側とLSB
側に2分割したものをそれぞれ受信データ用P/S変換
器115-1、115-2に入力するとともに、32ビット
並列受信データ中の例えばLSB側から10ビットを受
信データ用P/S変換器113-1に、次の11ビット〜
20ビットを受信データ用P/S変換器113-2に入力
する。なお、20ビットUWと32ビットUWのタイミ
ング関係によっては、MSB側から10ビットずつ2分
割して各受信データ用P/S変換器113-1、113-2
に入力する構成なども可能である。
The serial reception data is converted into 32-bit parallel reception data by the S / P converter 6, and the 32-bit parallel reception data is converted into 16 bits at a time from the MSB side and the LSB.
The two divided data are input to the received data P / S converters 115-1 and 115-2, and 10 bits from the LSB side of the 32-bit parallel received data are received data P / S converters. 113-1 to the next 11 bits ~
20 bits are input to the received data P / S converter 113-2. Depending on the timing relationship between the 20-bit UW and the 32-bit UW, each of the received data P / S converters 113-1 and 113-2 may be divided into 10 bits from the MSB side.
It is also possible to input into the configuration.

【0055】UW用P/S変換器112-1、112-2と
受信データ用P/S変換器113-1、113-2との各出
力ビットはそれぞれXOR回路114-1、114-2で比
較され、その比較結果が加算回路118に入力される。
またUW用P/S変換器116-1、116-2と受信デー
タ用P/S変換器115-1、115-2との各出力ビット
はそれぞれXOR回路117-1、117-2で比較され、
その比較結果が加算回路119に入力される。
The output bits of the UW P / S converters 112-1 and 112-2 and the received data P / S converters 113-1 and 113-2 are respectively output by XOR circuits 114-1 and 114-2. The comparison is performed, and the comparison result is input to the adding circuit 118.
The output bits of the UW P / S converters 116-1 and 116-2 and the received data P / S converters 115-1 and 115-2 are compared by XOR circuits 117-1 and 117-2, respectively. ,
The comparison result is input to the adder circuit 119.

【0056】この後段の誤り計数回路は前述の実施例と
同様であり、図7に示されるように、ユニークワードU
W1とUW2側の誤り計数回路は、加算回路131とフ
リップフロップ132と誤り許容数設定レジスタ12-1
と誤り数比較回路135からなり、誤り許容数設定レジ
スタ12-1にはユニークワードUW1とUW2に共通な
検出条件としての誤り許容数が格納されている。一方、
ユニークワードUW3側の誤り計数回路は、加算回路1
36とフリップフロップ137と誤り許容数設定レジス
タ12-3と誤り数比較回路138からなり、誤り許容数
設定レジスタ12-3にはユニークワードUW3の検出条
件としての誤り許容数が格納されている。
The error counting circuit at the subsequent stage is the same as that of the above-mentioned embodiment, and as shown in FIG.
The error counting circuits on the W1 and UW2 sides include an adder circuit 131, a flip-flop 132, and an allowable error number setting register 12-1.
The allowable error number setting register 12-1 stores the allowable error number as a detection condition common to the unique words UW1 and UW2. on the other hand,
The error counting circuit on the side of the unique word UW3 is the addition circuit 1
36, a flip-flop 137, an allowable error number setting register 12-3 and an error number comparing circuit 138. The allowable error number setting register 12-3 stores the allowable error number as a detection condition of the unique word UW3.

【0057】さらに後段のウィンドウ制御回路および保
護段数計数回路は、ユニークワードUW1とUW2用と
ユニークワードUW3用の2系統の回路がある点を除い
て前述の実施例のものと同じであるので、詳細な説明は
省く。
Further, the window control circuit and the protection stage number counting circuit in the subsequent stage are the same as those in the above-mentioned embodiment except that there are two systems of circuits for the unique words UW1 and UW2 and the unique word UW3. Detailed explanation is omitted.

【0058】この実施例回路の動作を図8を参照して以
下に説明する。ユニークワードUW1とUW2の検索動
作は前述の実施例の場合と同じであり、受信データの1
ビット期間中の前半側で内部動作クロックCLKINを1
0クロック用いてユニークワードUW1の検索が行わ
れ、それに続いて内部動作クロックCLKINを10クロ
ック用いてユニークワードUW2の検索が行われる。複
数ビット同時比較回路における各ユニークワードUW1
とUW2の検索は2ビット同時比較による。
The operation of the circuit of this embodiment will be described below with reference to FIG. The search operation for the unique words UW1 and UW2 is the same as that in the above-described embodiment, and the received data 1
Set the internal operation clock CLK IN to 1 in the first half of the bit period.
The unique word UW1 is searched using 0 clock, and subsequently the unique word UW2 is searched using 10 clocks of the internal operation clock CLK IN . Each unique word UW1 in the multiple bit simultaneous comparison circuit
And UW2 are searched by simultaneous 2-bit comparison.

【0059】ユニークワードUW3の検索は、ユニーク
ワードワードUW1とUW2の検索と並行して行われ
る。すなわち、受信データの1ビット期間中の前半側で
内部動作クロックCLKINを16クロック用いてユニー
クワードUW3の検索が行われる。複数ビット同時比較
回路におけるユニークワードUW3の検索も2ビット同
時比較による。
The search for the unique word UW3 is performed in parallel with the search for the unique word words UW1 and UW2. That is, the unique word UW3 is searched using the internal operation clock CLK IN for 16 clocks in the first half of the 1-bit period of the received data. The search for the unique word UW3 in the plural-bit simultaneous comparison circuit is also performed by the two-bit simultaneous comparison.

【0060】後段の回路の動作は前述の実施例と同様で
ある。すなわち、誤り計数回路では、比較した結果を加
算し、誤り許容数と比較して一致検出判定を行う。ウィ
ンドウ制御回路でウィンドウ内の一致検出かを判定した
後、保護段数計数回路で保護段数の計数を行い、最後に
同期判定を行う。
The operation of the circuit in the subsequent stage is the same as that of the above-mentioned embodiment. That is, in the error counting circuit, the comparison results are added, and the result is compared with the allowable number of errors to make a match detection determination. After the window control circuit determines whether or not a match is detected in the window, the protection stage number counting circuit counts the number of protection stages, and finally performs the synchronization determination.

【0061】[0061]

【発明の効果】以上に説明したように、本発明によれ
ば、内部動作クロックの周波数を低くおさえ、なおかつ
回路規模の増加も抑えることができるので、フレーム同
期回路の小型化、低消費電力化を図ることができる。
As described above, according to the present invention, the frequency of the internal operation clock can be suppressed to a low level and the increase in the circuit scale can be suppressed. Therefore, the frame synchronizing circuit can be downsized and the power consumption can be reduced. Can be planned.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例としてのフレーム同期回路を
示す図である。
FIG. 2 is a diagram showing a frame synchronization circuit as one embodiment of the present invention.

【図3】実施例回路における複数ビット同時比較回路の
構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of a multiple-bit simultaneous comparison circuit in the embodiment circuit.

【図4】実施例回路における誤り数計数回路の構成例を
示す図である。
FIG. 4 is a diagram showing a configuration example of an error number counting circuit in the embodiment circuit.

【図5】実施例回路のタイムチャートである。FIG. 5 is a time chart of an example circuit.

【図6】本発明の他の実施例としてのフレーム同期回路
の複数ビット同時比較回路の構成例を示す図である。
FIG. 6 is a diagram showing a configuration example of a multi-bit simultaneous comparison circuit of a frame synchronization circuit as another embodiment of the present invention.

【図7】本発明の他の実施例としてのフレーム同期回路
の誤り計数回路、ウィンドウ制御回路、保護段数計数回
路等の構成例を示す図である。
FIG. 7 is a diagram showing a configuration example of an error counting circuit, a window control circuit, a protection stage number counting circuit, etc. of a frame synchronization circuit as another embodiment of the present invention.

【図8】他の実施例回路のタイムチャートである。FIG. 8 is a time chart of another embodiment circuit.

【図9】フレーム同期回路の従来例を示す図である。FIG. 9 is a diagram showing a conventional example of a frame synchronization circuit.

【図10】従来例回路の一致検出回路部分の構成例を示
す図である。
FIG. 10 is a diagram showing a configuration example of a match detection circuit portion of a conventional example circuit.

【図11】従来例回路のタイムチャートである。FIG. 11 is a time chart of a conventional circuit.

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

1 一致検出回路 2-1〜2-A 保護段数計数回路 3 同期判定保護回路 4 カウンタ 5 デコーダ 6 S/P変換器 10-1〜10-A UW指定レジスタ 11 複数ビット同時比較回路 12-1〜12-A 誤り許容数設定レジスタ 13 誤り計数回路 14-1〜14-A ウィンドウ幅指定レジスタ 15 ウィンドウ制御回路 111、134 セレクタ 112-1〜112-n、116-1、116-2 UW用P/
S変換器 113-1〜113-n、115-1、115-2 受信データ
用P/S変換器 114 比較回路 114-1〜114-n XOR回路(排他的論理和回路) 131、118、119、136 加算回路 132、137 フリップフロップ 135 誤り数比較回路
1 coincidence detection circuit 2-1 to 2-A protection stage number counting circuit 3 synchronization determination protection circuit 4 counter 5 decoder 6 S / P converter 10-1 to 10-A UW designation register 11 multiple bit simultaneous comparison circuit 12-1 to 12-A error allowable number setting register 13 error counting circuit 14-1 to 14-A window width designation register 15 window control circuit 111, 134 selector 112-1 to 112-n, 116-1, 116-2 UW P /
S converters 113-1 to 113-n, 115-1 and 115-2 P / S converter for received data 114 Comparison circuit 114-1 to 114-n XOR circuit (exclusive OR circuit) 131, 118, 119 136 adder circuit 132 137 flip-flop 135 error number comparison circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 千葉 耕司 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Koji Chiba 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 受信データを直並列変換する直並列変換
回路(31)、 同期パターンを記憶する同期パターン指定レジスタ(3
2)、 該同期パターン指定レジスタから出力される同期パター
ンをn分割した分割同期パターンがそれぞれ入力される
n個の同期パターン用並直列変換器(33-1〜33-
n)、 該直並列変換器の並列出力をn分割した分割並列受信デ
ータがそれぞれ入力されるn個の受信データ用並直列変
換器(34-1〜34-n)、 該n個の同期パターン用並直列変換器の出力ビットと該
n個の受信データ用並直列変換器の出力ビットとをそれ
ぞれ対応する同期パターン用並直列変換器と受信データ
用並直列変換器同士で比較する複数ビット比較回路(3
5)、および、 該複数ビット比較回路の比較結果の一致/不一致のビッ
ト数に基づいて同期パターン検出の有無を判定する同期
パターン検出回路(36)を備えたフレーム同期回路。
1. A serial-parallel conversion circuit (31) for serial-parallel conversion of received data, and a synchronization pattern designation register (3) for storing a synchronization pattern.
2), n sync pattern parallel-to-serial converters (33-1 to 33-) to which the divided sync patterns obtained by dividing the sync pattern output from the sync pattern designation register into n are respectively input
n), n parallel / serial converters for reception data (34-1 to 34-n) to which the divided parallel reception data obtained by dividing the parallel output of the serial / parallel converter by n are respectively input, and the n synchronization patterns Bit comparison for comparing the output bits of the parallel-to-serial converter for reception and the output bits of the parallel-to-serial converter for reception data of the n-pieces between the corresponding serial-to-serial converter for synchronization pattern and the parallel-to-serial converter for reception data Circuit (3
5), and a frame synchronization circuit including a synchronization pattern detection circuit (36) for determining the presence or absence of synchronization pattern detection based on the number of coincidence / non-coincidence bits of the comparison result of the multiple bit comparison circuit.
【請求項2】 該同期パターン検出回路は、 該ビット比較回路の比較結果の一致/不一致のビット数
を計数する誤り計数回路、 同期パターン検出条件としての誤り許容数を記憶する誤
り許容数設定レジスタ、および、 該誤り許容数設定レジスタの誤り許容数と該計数回路の
計数値とを比較して同期パターン検出条件を満たすか否
かを判定する判定回路からなる請求項1記載のフレーム
同期回路。
2. The synchronization pattern detection circuit is an error counting circuit for counting the number of coincidence / disagreement bits of the comparison result of the bit comparison circuit, and an error tolerance number setting register for storing an error tolerance number as a synchronization pattern detection condition. 2. The frame synchronization circuit according to claim 1, further comprising: a determination circuit that determines whether or not a synchronization pattern detection condition is satisfied by comparing the error tolerance number of the error tolerance number setting register with the count value of the counting circuit.
【請求項3】 該同期パターンは複数種類あり、そのう
ちの一つを選択手段で順次に選択して該n個の同期パタ
ーン用並直列変換器に入力するよう構成された請求項1
または2記載のフレーム同期回路。
3. The synchronization pattern has a plurality of types, and one of the synchronization patterns is sequentially selected by a selection means and input to the n synchronization pattern parallel-serial converters.
Alternatively, the frame synchronization circuit described in 2.
【請求項4】 該検出条件としての誤り許容数は該複数
種類の同期パターンに応じて複数あり、そのうちから上
記選択手段で選択した同期パターンに対応した誤り許容
数を第2の選択手段で選択して該判定回路に入力するよ
う構成された請求項3記載のフレーム同期回路。
4. The allowable number of errors as the detection condition is plural according to the plurality of kinds of synchronization patterns, and the allowable number of errors corresponding to the synchronization pattern selected by the selecting means is selected from the second by the second selecting means. The frame synchronization circuit according to claim 3, wherein the frame synchronization circuit is configured to be input to the determination circuit.
【請求項5】 請求項1記載のフレーム同期回路と請求
項3記載のフレーム同期回路を組み合わせ、各フレーム
同期回路における直並列変換回路は共通に使用するよう
に構成されたフレーム同期回路。
5. A frame synchronization circuit configured such that the frame synchronization circuit according to claim 1 and the frame synchronization circuit according to claim 3 are combined and a serial-parallel conversion circuit in each frame synchronization circuit is commonly used.
JP4177523A 1992-06-11 1992-06-11 Frame synchronizing circuit Withdrawn JPH05344113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4177523A JPH05344113A (en) 1992-06-11 1992-06-11 Frame synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4177523A JPH05344113A (en) 1992-06-11 1992-06-11 Frame synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH05344113A true JPH05344113A (en) 1993-12-24

Family

ID=16032413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4177523A Withdrawn JPH05344113A (en) 1992-06-11 1992-06-11 Frame synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH05344113A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07226730A (en) * 1993-12-16 1995-08-22 Nec Corp Data transmission system
US6628214B1 (en) 1998-09-01 2003-09-30 Seiko Epson Corporation Deserializer, semiconductor device, electronic device, and data transmission system
JP2007124618A (en) * 2005-09-30 2007-05-17 Ntt Electornics Corp Clock/data reproduction circuit, and electronic apparatus
JP2010199912A (en) * 2009-02-25 2010-09-09 Renesas Electronics Corp Preamble detection circuit, and detection method therein
JP2010283768A (en) * 2009-06-08 2010-12-16 Japan Radio Co Ltd Frame synchronizing device
JP2016152576A (en) * 2015-02-19 2016-08-22 株式会社メガチップス Data transmission device, transmitter and receiver

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07226730A (en) * 1993-12-16 1995-08-22 Nec Corp Data transmission system
US6628214B1 (en) 1998-09-01 2003-09-30 Seiko Epson Corporation Deserializer, semiconductor device, electronic device, and data transmission system
JP2007124618A (en) * 2005-09-30 2007-05-17 Ntt Electornics Corp Clock/data reproduction circuit, and electronic apparatus
JP2010199912A (en) * 2009-02-25 2010-09-09 Renesas Electronics Corp Preamble detection circuit, and detection method therein
JP2010283768A (en) * 2009-06-08 2010-12-16 Japan Radio Co Ltd Frame synchronizing device
JP2016152576A (en) * 2015-02-19 2016-08-22 株式会社メガチップス Data transmission device, transmitter and receiver

Similar Documents

Publication Publication Date Title
US4498174A (en) Parallel cyclic redundancy checking circuit
JP2655547B2 (en) CRC calculation method and HEC synchronizer in ATM switching system
US20040049723A1 (en) Semiconductor integrated circuit with a test circuit
JPH05344113A (en) Frame synchronizing circuit
US7528748B2 (en) Serial data receiving circuit and serial data receiving method
US5408476A (en) One bit error correction method having actual data reproduction function
JPH10117144A (en) A/d converter
EP0329242A1 (en) Counter circuit with error detection, and circuit comprising such a counter circuit
JPH10117147A (en) Data generating circuit for error check
JP2003037504A (en) Device for generating gray code
US20040008808A1 (en) Counter having improved counting speed
JP3578690B2 (en) Variable period counter and phase fluctuation tracking type separation circuit
US20020059445A1 (en) Method and device for performing data pattern matching
JPS6028171B2 (en) Code/decoding circuit using ROM
JP2592685B2 (en) Cell synchronization circuit
JPH06348458A (en) Serial data adder
JPH0758971B2 (en) Communication control device
JP3521558B2 (en) Transmission equipment
JP3279243B2 (en) Digital comparator
JP2529902B2 (en) Bit correlation judgment circuit
SU928344A1 (en) Device for division
JPH05316091A (en) Synchronization detection circuit
EP0860949A1 (en) Synchronous binary counter
JP2001202231A (en) Parallel data counting device
JPH06164417A (en) Encoding device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831