JPH0955728A - Frame sync detection method - Google Patents
Frame sync detection methodInfo
- Publication number
- JPH0955728A JPH0955728A JP7208615A JP20861595A JPH0955728A JP H0955728 A JPH0955728 A JP H0955728A JP 7208615 A JP7208615 A JP 7208615A JP 20861595 A JP20861595 A JP 20861595A JP H0955728 A JPH0955728 A JP H0955728A
- Authority
- JP
- Japan
- Prior art keywords
- frame synchronization
- data
- bit string
- clock
- input
- 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
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Time-Division Multiplex Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
(57)【要約】
【課題】 小形化、省電力化、および汎用性に富み、更
に、高速化を図ることができるフレーム同期検出方式を
提供することである。
【解決手段】 入力したデータのビット列をSP変換回
路1がパラレルに並び替え、分周器4によりクロック入
力を分周して出力される複数の分周クロック毎に入力し
たデータのビット列をデータ分周レジスタ5が取込む。
同期パターン比較検出回路2は、データ分周レジスタ5
のビット列を分周クロック毎にフレーム同期パターン比
較メモリ21のフレーム同期パターンと比較して不一致
ビット数を出力すると共に、一致した際には、分周クロ
ックに対応して予め記憶したフレーム同期検出フラグ
“1”をクロックビットレートパルス生成器6に出力し
ている。クロックビットレートパルス生成器6は、二分
周器4で分周されたビットレートからクロック入力のビ
ットレートに変換する変換手段である。
(57) Abstract: To provide a frame synchronization detection method that is compact, has low power consumption, is highly versatile, and can achieve high speed. SOLUTION: A bit string of input data is rearranged in parallel by an SP conversion circuit 1, a clock input is divided by a frequency divider 4, and a bit string of input data is divided for each of a plurality of divided clocks output. The frequency register 5 takes in.
The synchronization pattern comparison / detection circuit 2 includes a data division register 5
The bit string of is compared with the frame synchronization pattern of the frame synchronization pattern comparison memory 21 for each divided clock to output the number of unmatched bits, and when they match, the frame synchronization detection flag stored in advance corresponding to the divided clock. “1” is output to the clock bit rate pulse generator 6. The clock bit rate pulse generator 6 is a conversion means for converting the bit rate divided by the frequency divider 4 into the bit rate of the clock input.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力したデータの
ビット列をフレーム同期パターンと比較してフレーム同
期を検出するフレーム同期検出方式に関し、特に、回路
の小形化、省電力化、汎用化、および処理の高速化を図
ることができるフレーム同期検出方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization detection method for detecting a frame synchronization by comparing a bit string of input data with a frame synchronization pattern, and particularly to downsizing of a circuit, power saving, generalization, and The present invention relates to a frame synchronization detection method capable of speeding up processing.
【0002】[0002]
【従来の技術】従来、この種のフレーム同期検出方式で
は、例えば、図8に示され、特開平5−235924号
公報に記載されているように、シリアルパラレル(以後
SP)変換回路1、同期パターン比較検出回路91、誤
りビット数比較回路92、およびハザード除去回路93
が備えられ、更に、同期パターン比較検出回路91に
は、図9に示されるような同期パターン比較メモリ94
が予め記憶されており、入力するデータ列が入力するク
ロック毎に同期パターン比較検出回路91によりフレー
ム同期パターンと比較され、次いで、誤りビット数比較
回路92で許容誤りビット数に一致した際に、フレーム
同期検出フラグが出力されている。2. Description of the Related Art Conventionally, in this type of frame synchronization detection system, for example, as shown in FIG. 8 and Japanese Patent Laid-Open No. 5-235924, a serial-parallel (hereinafter SP) conversion circuit 1 Pattern comparison / detection circuit 91, error bit number comparison circuit 92, and hazard removal circuit 93
Further, the sync pattern comparison / detection circuit 91 includes a sync pattern comparison memory 94 as shown in FIG.
Are stored in advance, the input data string is compared with the frame synchronization pattern by the synchronization pattern comparison detection circuit 91 for each input clock, and then when the error bit number comparison circuit 92 matches the allowable error bit number, The frame sync detection flag is output.
【0003】同期パターン比較メモリ94には、図示さ
れるように、8ビットのフレーム同期コードと、入力ア
ドレスとする8ビットの全展開コードと、この各コード
毎に対するフレーム同期コードとの不一致ビット数と、
出力データとなるこの不一致ビット数コードとが記憶さ
れており、比較する並列の8ビットをアドレスとして不
一致ビット数コードが出力される。In the sync pattern comparison memory 94, as shown in the figure, the number of unmatched bits of the 8-bit frame sync code, the 8-bit full expansion code as an input address, and the frame sync code for each code. When,
This non-matching bit number code that is output data is stored, and the non-matching bit number code is output using parallel 8 bits to be compared as an address.
【0004】SP変換回路1は、受けるデータビット列
の8ビットを並列に並び替えるデータの遅延回路であ
り、1ビットメモリによるSP2 〜SP8 を有し、詳細
は図10を参照して後に説明する。同期パターン比較検
出回路91は、SP変換回路1から受ける8ビットをア
ドレスとして、同期パターン比較メモリ94から不一致
ビット数コードを取り出して出力する。誤りビット数比
較回路92は、別途、予め設定された許容誤りビット数
コードと同期パターン比較検出回路91から入力した不
一致ビット数コードとを比較し、不一致ビット数が許容
誤りビット数以下であれば、フレーム同期の検出フラグ
をハザード除去回路93に出力する。ハザード除去回路
93は、誤りビット数比較回路92の出力に発生するハ
ザード信号を除去して確実なフレーム同期検出フラグを
出力するフリップフロップ回路である。The SP conversion circuit 1 is a data delay circuit for rearranging 8 bits of a received data bit string in parallel, and has SP 2 to SP 8 by a 1-bit memory. Details will be described later with reference to FIG. To do. The sync pattern comparison / detection circuit 91 takes out the mismatch bit number code from the sync pattern comparison memory 94 using the 8 bits received from the SP conversion circuit 1 as an address, and outputs it. The error bit number comparison circuit 92 separately compares the preset allowable error bit number code with the mismatch bit number code input from the synchronization pattern comparison and detection circuit 91, and if the mismatch bit number is less than or equal to the allowable error bit number. , And outputs a frame synchronization detection flag to the hazard removal circuit 93. The hazard removal circuit 93 is a flip-flop circuit that removes a hazard signal generated at the output of the error bit number comparison circuit 92 and outputs a reliable frame synchronization detection flag.
【0005】次に、図8に図10の波形図を併せ参照し
て説明する。Next, a description will be given with reference to FIG. 8 together with the waveform chart of FIG.
【0006】SP変換回路1へ8ビットのデータとして
同期ビットF1 〜F8 が入力クロックに同期して入力し
た場合、SP変換回路1のSP2 〜SP8 それぞれは、
1クロックずつ遅れて同期パターン比較検出回路91に
入力し、データ入力(SP1に相当)がデータF8 の
際、SP8 〜SP1 に対して同時に同期ビットF1 〜F
8 が入力される。When the synchronization bits F 1 to F 8 are input to the SP conversion circuit 1 as 8-bit data in synchronization with the input clock, each of SP 2 to SP 8 of the SP conversion circuit 1 is
When the data input (corresponding to SP 1 ) is the data F 8 and is input to the synchronization pattern comparison / detection circuit 91 with a delay of one clock, the synchronization bits F 1 to F 1 are simultaneously applied to SP 8 to SP 1 .
8 is entered.
【0007】同期パターン比較検出回路91がSP8 〜
SP1 により入力される8ビットパターンをアドレスと
して同期パターン比較メモリ94から得て出力する不一
致ビット数コードを、許容誤りビット数コードと比較す
る誤りビット数比較回路92では、図示されるように、
出力にハザードとなるパルスの発生が避けられない。こ
のためフリップフロップ回路によるハザード除去回路9
3が誤りビット数比較回路92の出力を受けてハザード
を除去したフレーム同期検出フラグを出力する。The synchronous pattern comparison / detection circuit 91 is SP 8 ...
In the error bit number comparison circuit 92 for comparing the unmatched bit number code obtained from the sync pattern comparison memory 94 and output with the 8-bit pattern input by SP 1 as an address, as shown in the figure,
Inevitably, the output will generate a hazard pulse. Therefore, the hazard removal circuit 9 using the flip-flop circuit
3 receives the output of the error bit number comparison circuit 92 and outputs the frame synchronization detection flag from which the hazard has been removed.
【0008】[0008]
【発明が解決しようとする課題】上述した従来のフレー
ム同期検出方式では、予め定められた許容誤りビット数
を同期パターン比較メモリから得た不一致ビット数と比
較する誤りビット数比較回路の設置が全体回路の小形化
および省電力化を妨害しており、かつ、結果出力がフレ
ーム同期検出フラグだけのため、汎用性に欠けるという
問題点がある。In the above-mentioned conventional frame synchronization detection method, the error bit number comparison circuit for comparing the predetermined allowable error bit number with the mismatch bit number obtained from the synchronization pattern comparison memory is generally installed. This hinders circuit miniaturization and power saving, and lacks versatility because the result output is only the frame synchronization detection flag.
【0009】また、上記方式では、同期パターン比較検
出回路が、入力するクロックのビットレートに従ってパ
ラレルデータを受けてメモリに記憶しているため、この
メモリの許容サイクルタイムにより動作速度が制限を受
け、高速処理は困難であるという問題点がある。Further, in the above system, since the synchronous pattern comparison / detection circuit receives the parallel data according to the bit rate of the input clock and stores it in the memory, the operation cycle is limited by the allowable cycle time of the memory. There is a problem that high speed processing is difficult.
【0010】本発明の課題は、誤りビット数比較回路を
削除することによって、小形化および省電力化ができる
と共に、フレーム同期検出フラグだけでなく不一致ビッ
ト数も最終出力することによって汎用性に富み、更に、
同期パターン比較検出回路を増加することにより高速化
を図ることができるフレーム同期検出方式を提供するこ
とである。The object of the present invention is to reduce the size and power consumption by eliminating the error bit number comparison circuit, and at the same time, to output not only the frame synchronization detection flag but also the number of unmatched bits, which is highly versatile. , In addition,
An object of the present invention is to provide a frame synchronization detection method capable of increasing the speed by increasing the number of synchronization pattern comparison and detection circuits.
【0011】[0011]
【課題を解決するための手段】本発明によるフレーム同
期検出方式は、入力したデータのビット列をフレーム同
期パターンと比較してフレーム同期を検出するフレーム
同期検出方式において、入力したデータのビット列がフ
レーム同期パターンと比較して一致した際に出力するフ
レーム同期検出フラグを予め記憶する同期パターン比較
メモリと、入力するクロックを分周して複数の分周クロ
ックを出力する分周器と、この分周器により出力された
分周クロック毎に入力したデータのビット列を前記フレ
ーム同期パターンと比較して一致した際、分周されたク
ロック毎に予め記憶した前記フレーム同期検出フラグを
出力する同期パターン比較検出回路とを備えている。A frame synchronization detection method according to the present invention is a frame synchronization detection method for detecting a frame synchronization by comparing a bit string of input data with a frame synchronization pattern. A synchronization pattern comparison memory that stores in advance a frame synchronization detection flag that is output when a comparison is made with a pattern, a divider that divides an input clock and outputs a plurality of divided clocks, and this divider A sync pattern comparison and detection circuit that outputs the frame synchronization detection flag stored in advance for each divided clock when the bit string of the data input for each divided clock output by It has and.
【0012】また、同期パターン比較メモリは、フレー
ム同期パターンと比較する全てのビット列パターンを不
一致ビット数と共に予め記憶し、また、同期パターン比
較検出回路は、データのビット列が入力した際、前記同
期パターン比較メモリから前記不一致ビット数を取り出
して出力している。Further, the sync pattern comparison memory stores in advance all bit string patterns to be compared with the frame sync pattern together with the number of unmatched bits, and the sync pattern comparison / detection circuit, when the bit string of data is input, The number of unmatched bits is fetched from the comparison memory and output.
【0013】なお、本方式は、前記分周器から出力され
る分周クロック毎に入力したデータのビット列を取り込
むデータ分周レジスタを備え、かつ、前記同期パターン
比較検出回路は、該データ分周レジスタからデータのビ
ット列を受けてもよい。The present system is provided with a data division register for taking in a bit string of data input for each divided clock output from the divider, and the sync pattern comparison / detection circuit is configured to detect the data division. A bit string of data may be received from the register.
【0014】[0014]
【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0015】図1は本発明の第1の実施形態を示す機能
ブロック図である。図1に示されたフレーム同期検出方
式では、SP(シリアルパラレル)変換回路1、同期パ
ターン比較検出回路2、およびハザード除去レジスタ3
を備え、更に、同期パターン比較検出回路2は同期パタ
ーン比較メモリ21を備えてデータおよびクロックを入
力している。FIG. 1 is a functional block diagram showing a first embodiment of the present invention. In the frame synchronization detection method shown in FIG. 1, the SP (serial / parallel) conversion circuit 1, the synchronization pattern comparison / detection circuit 2, and the hazard removal register 3 are used.
Further, the synchronization pattern comparison / detection circuit 2 includes a synchronization pattern comparison memory 21 to input data and clock.
【0016】この第1の実施形態では、従来に比べて、
誤りビット数比較回路92(図8)が削除される一方、
同期パターン比較メモリ21には、図2に示されるよう
に、従来の同期パターン比較メモリ94(図9)と比較
してフレーム同期検出フラグの記憶領域が出力データの
ために付加され、更に、同期パターン比較検出回路2は
誤りビット数およびフレーム同期検出フラグを出力して
いる。このため、ハザード除去レジスタ3が、誤りビッ
ト数およびフレーム同期検出フラグの2つの出力に対し
てハザードを除去している。In the first embodiment, compared with the conventional one,
While the error bit number comparison circuit 92 (FIG. 8) is deleted,
As shown in FIG. 2, a storage area for a frame synchronization detection flag is added to the synchronization pattern comparison memory 21 for output data as compared with the conventional synchronization pattern comparison memory 94 (FIG. 9). The pattern comparison detection circuit 2 outputs the number of error bits and the frame synchronization detection flag. Therefore, the hazard removal register 3 removes the hazard from the two outputs of the error bit number and the frame synchronization detection flag.
【0017】フレーム同期検出フラグの記憶領域には、
同期パターン比較メモリ21のアドレスになるNビット
(この例では図示されるように、8ビットとする)の同
期パターン(この例では“10110010”とする)
に対する不一致ビット数“0”に対してのみ、フレーム
同期検出フラグ“1”が立ち、他の不一致ビット数に対
してはフレーム同期検出フラグ“0”が立つものとす
る。In the storage area of the frame synchronization detection flag,
N-bit (8 bits as shown in this example) synchronization pattern (in this example, "10110010") that becomes the address of the synchronization pattern comparison memory 21
The frame synchronization detection flag "1" is set only for the number of unmatched bits "0" and the frame synchronization detection flag "0" is set for other numbers of unmatched bits.
【0018】次に、図1から図3までを併せ参照して第
1の実施形態について説明する。Next, a first embodiment will be described with reference to FIGS. 1 to 3 as well.
【0019】SP変換回路1は、従来同様、受けるデー
タビット列の8ビットを並列に並び替えるデータの遅延
回路であり、1ビットメモリによるSP2 〜SP8 を有
している。入力するクロックと共に受けるデータビット
列の8ビット、F1 〜F8 は、図3に示されるように、
1クロック毎にSP2 からSP8 まで順次遅れて入力
し、SP1 に相当する入力がデータF8 の場合、SP8
〜SP1 それぞれに並列にデータF1 〜F8 の同期パタ
ーンが揃い、同時に出力される。The SP conversion circuit 1 is a data delay circuit for rearranging 8 bits of a received data bit string in parallel as in the conventional case, and has SP 2 to SP 8 by 1-bit memory. As shown in FIG. 3, the 8 bits F 1 to F 8 of the data bit string received together with the input clock are
SP 2 to SP 8 are sequentially delayed for each clock, and if the input corresponding to SP 1 is data F 8 , then SP 8
To SP 1 parallel to set the synchronization pattern data F 1 to F 8, respectively, are simultaneously output.
【0020】同期パターン比較検出回路2は、図2に示
されるような同期パターン比較メモリ21を有し、SP
8 〜SP1 の1組のデータをアドレスコードとして、同
期パターン比較メモリ21からフレーム同期コードとの
不一致ビット数のコード4ビットとフレーム同期検出フ
ラグ“1または0”の1ビットとを取り出して出力す
る。アドレスコードを検索した結果、フレーム同期コー
ドとの不一致によりフレーム同期検出フラグ“0”を出
力する際、同期パターン比較メモリ21にROM(読取
り専用メモリ)を使用するので、フラグ“1”より十分
短い時間を有する疑似パルスがハザードとして発生す
る。The sync pattern comparison / detection circuit 2 has a sync pattern comparison memory 21 as shown in FIG.
A set of data of 8 to SP 1 is used as an address code, and 4 bits of code of the number of mismatched bits with the frame synchronization code and 1 bit of the frame synchronization detection flag “1 or 0” are taken out from the synchronization pattern comparison memory 21 and output. To do. As a result of searching the address code, when the frame sync detection flag "0" is output due to a mismatch with the frame sync code, ROM (read only memory) is used as the sync pattern comparison memory 21, so it is sufficiently shorter than the flag "1". Pseudo-pulses with time occur as a hazard.
【0021】ハザード除去レジスタ3はこの発生したハ
ザードを除去する周知の回路を有している。The hazard elimination register 3 has a known circuit for eliminating the generated hazard.
【0022】この第1の実施形態では、従来と比較し
て、誤りビット数比較回路を削除したが、同期パターン
比較メモリに追加されるフレーム同期検出フラグは、各
アドレスに対して1ビットのみなので、従来と比較して
回路が小形化されると共に省電力化されている。更に、
フレーム同期検出フラグに加えて、誤りビット数情報も
出力されるので、汎用性に富んでいる。In the first embodiment, the error bit number comparison circuit is deleted as compared with the prior art, but the frame synchronization detection flag added to the synchronization pattern comparison memory is only 1 bit for each address. , The circuit is downsized and power is saved compared with the conventional one. Furthermore,
Since the error bit number information is output in addition to the frame synchronization detection flag, it is highly versatile.
【0023】次に、図4から図7までを併せ参照して第
2の実施形態について説明する。Next, a second embodiment will be described with reference to FIGS. 4 to 7.
【0024】まず、図4の機能ブロック図に示されるよ
うに、第2の実施形態では、上記第1の実施形態と同一
のSP変換回路1および同期パターン比較検出回路2
a、2bに対して、二分周器4、およびこの二分周に対
応する2つのデータ分周レジスタ5a、5bが備えられ
ているものとする。通常、M分周器に対してM個のデー
タ分周レジスタとM個の同期パターン比較検出回路とが
備えられる。また、これら複数の同期パターン比較検出
回路2−が発生するハザードの除去に、これらの出力、
誤りビット数コードおよびフレーム同期検出フラグそれ
ぞれに対応してクロックビットレートパルス生成器6
a、6bが備えられている。First, as shown in the functional block diagram of FIG. 4, in the second embodiment, the same SP conversion circuit 1 and synchronization pattern comparison / detection circuit 2 as in the first embodiment are used.
It is assumed that a divider 2 and two data divider registers 5a and 5b corresponding to the divide-by-two are provided for a and 2b. Normally, M data dividers and M sync pattern comparison / detection circuits are provided for the M divider. Further, in order to remove the hazards generated by the plurality of synchronization pattern comparison / detection circuits 2-, these outputs,
A clock bit rate pulse generator 6 corresponding to each of the error bit number code and the frame synchronization detection flag
a and 6b are provided.
【0025】SP変換回路1については、既に説明済み
なので、説明を省略する。同期パターン比較検出回路2
a、2bについても、上述同様なので説明を省略する。
二分周器4は、入力するクロックを1/2に分周して二
分周クロックA、Bを生成している。二分周の場合、入
力クロックの立ち下がりを利用した二分周クロックAを
反転して二分周クロックBが生成され、二分周クロック
Aはデータ分周レジスタ5aに供給され、他方の二分周
クロックBはデータ分周レジスタ5bに供給されるもの
とする。また、データ入力はD0 、D1 、〜の順序とす
る。Since the SP conversion circuit 1 has already been described, a description thereof will be omitted. Sync pattern comparison and detection circuit 2
Since a and 2b are also the same as described above, description thereof will be omitted.
The divide-by-two frequency divider 4 divides the input clock into 1/2 to generate divided-by-two clocks A and B. In the case of the frequency division by two, the frequency division clock A using the fall of the input clock is inverted to generate the frequency division clock B, the frequency division clock A is supplied to the data frequency division register 5a, and the frequency division clock B of the other side is generated. It shall be supplied to the data division register 5b. Further, the data input is in the order of D 0 , D 1 , and.
【0026】データ分周レジスタ5aは、図4および図
5に示されるように、1ビットメモリによるSPa1〜
SPa8を有し、二分周クロックAにより、SP変換回
路1のSP1 〜SP8 の出力を取り込む。この結果、S
Pa1には、データD1 、D3 、〜と1つ置きの奇数番
が順次取り込まれるものとする。他方、データ分周レジ
スタ5bも同様に、1ビットメモリによるSPb1〜S
Pb8を有し、二分周クロックBにより、SP変換回路
1のSP1 〜SP8 の出力を取り込み、この結果、SP
b1には、データD0 、D2 、〜と1つ置きの偶数番が
順次取り込まれることになる。As shown in FIGS. 4 and 5, the data division register 5a includes SPa1 to SPa1 of 1-bit memory.
Has SPa8, by a two-divided clock A, takes in the output of the SP 1 to SP 8 of the SP converter 1. As a result, S
The Pa1, the data D 1, D 3, it is assumed that - the odd group of every is sequentially read. On the other hand, the data division register 5b also has SPb1 to Sb of 1-bit memory similarly.
Has PB8, by a two-divided clock B, receives the output of the SP 1 to SP 8 of the SP converter 1, as a result, SP
The data D 0 , D 2 , to and every other even number are sequentially fetched into b1.
【0027】同期パターン比較検出回路2aは、データ
分周レジスタ5aのSPa1〜SPa8のデータをパラ
レルに取り込み、内蔵する同期パターン比較メモリ21
で比較する。同様に、同期パターン比較検出回路2b
は、データ分周レジスタ5bのSPb1〜SPb8のデ
ータをパラレルに取り込み、内蔵する同期パターン比較
メモリ21で比較する。The sync pattern comparison / detection circuit 2a fetches the data of SPa1 to SPa8 of the data division register 5a in parallel, and incorporates a sync pattern comparison memory 21.
To compare. Similarly, the synchronization pattern comparison / detection circuit 2b
In parallel, the data of SPb1 to SPb8 of the data division register 5b is fetched in parallel and compared by the built-in synchronization pattern comparison memory 21.
【0028】ここで、フレーム同期パターンをデータD
1 〜D8 とすれば、データ分周レジスタ5bでSPb1
にデータD8 が入力された際、同期パターン比較検出回
路2bが、不一致ビット数コード“0”をクロックビッ
トレートパルス生成器6aに出力すると共に、フレーム
同期検出フラグをクロックビットレートパルス生成器6
bに出力する。Here, the frame synchronization pattern is set to the data D.
If 1 to D 8, the data division register 5b SPb1
When the data D 8 is input to the clock bit rate pulse generator 6b, the sync pattern comparison / detection circuit 2b outputs the mismatch bit number code “0” to the clock bit rate pulse generator 6a.
output to b.
【0029】クロックビットレートパルス生成器6a、
6bは、受けたデータが2つのデータD8 、D9 それぞ
れの区間T2 、T3 に亘る区間T1 のパルスになるの
で、二分周クロックA、Bを受け、同期パターン比較検
出回路2bから受けたハザードを除去すると共に、誤り
ビット数またはフレーム同期検出フラグのみをクロック
入力の区間T2 に対応するビットレートおよびタイミン
グに従ってパラレルに出力している。すなわち、クロッ
クビットレートパルス生成器6aは4ビットの不一致ビ
ット数コードを出力し、クロックビットレートパルス生
成器6bは1ビットのフレーム同期検出フラグを出力し
ている。なお、二分周による2個の入力は、クロック入
力のビットレートに変換後、OR回路によりシリアルに
出力されている。Clock bit rate pulse generator 6a,
6b, since the received data becomes a pulse of the section T 1 that spans the sections T 2 and T 3 of the two pieces of data D 8 and D 9, respectively, it receives the halved clocks A and B and receives from the synchronization pattern comparison / detection circuit 2b. The received hazard is removed, and only the error bit number or the frame synchronization detection flag is output in parallel according to the bit rate and timing corresponding to the clock input section T 2 . That is, the clock bit rate pulse generator 6a outputs a 4-bit mismatch bit number code, and the clock bit rate pulse generator 6b outputs a 1-bit frame synchronization detection flag. It should be noted that the two inputs obtained by dividing the frequency by two are converted to the bit rate of the clock input and then serially output by the OR circuit.
【0030】この第2の実施態様では、クロック入力の
速度、すなわち、データ入力のビットレートが二分周器
により1/2に下げられるので、同期パターン比較検出
回路においてメモリの許容サイクルタイムに対して比較
する動作に余裕が得られ、メモリの比較処理の高速化が
可能である。In the second embodiment, since the speed of the clock input, that is, the bit rate of the data input is reduced to ½ by the frequency divider, the synchronous pattern comparison / detection circuit can be used with respect to the allowable cycle time of the memory. There is a margin in the comparison operation, and the speed of the memory comparison process can be increased.
【0031】上記説明では、同期パターンを8ビットの
フレーム同期コードとしたが、Nビットとして、同期パ
ターン比較メモリのアドレスコードも、不一致ビット数
コードも増減してよい。更に、フレーム同期検出フラグ
を不一致ビット数“0”としたが、例えば、不一致ビッ
ト数“3”までにフレーム同期検出フラグを立てること
により、許容誤りビット数“3”を設定することもでき
る。In the above description, the sync pattern is the 8-bit frame sync code, but N bits may be used to increase or decrease both the address code of the sync pattern comparison memory and the mismatch bit number code. Further, the frame sync detection flag is set to "0" as the number of mismatch bits, but the allowable error bit number "3" can be set by setting the frame sync detection flag up to the number of mismatch bits "3", for example.
【0032】また、上記説明では、分周器として、二分
周のみを説明したが、M分周としてデータ入力のビット
毎に分周クロックの立上がりを生じるようなM分周クロ
ックをM個生成することにより、より高速化を図ること
ができる。Further, in the above description, only the divide-by-two frequency division is explained as the frequency divider. However, as M frequency division, M number of M frequency division clocks are generated so as to cause the rise of the frequency division clock for each bit of the data input. As a result, it is possible to achieve higher speed.
【0033】上記説明で、機能ブロックを図示して説明
したが、ブロックの機能配分は分離併合により上記機能
を満たす限り自由に変更できるので、上記説明が本発明
を限定するものではない。In the above description, the functional blocks are illustrated and described, but the functional distribution of the blocks can be freely changed as long as the above functions are satisfied by separation and merging, so the above description does not limit the present invention.
【0034】[0034]
【発明の効果】以上説明したように本発明によれば、従
来と比較して、誤りビット数比較回路を削除し、かつ、
同期パターン比較メモリに1ビットのみのフレーム同期
検出フラグを付加して、同期パターン比較検出回路から
直接、フレーム同期検出フラグを出力するので、主要回
路がROM(読取り専用メモリ)で構成でき、小形化さ
れると共に省電力化されるフレーム同期検出方式を得る
ことができる。As described above, according to the present invention, the error bit number comparison circuit is eliminated as compared with the prior art, and
Since the frame sync detection flag of only 1 bit is added to the sync pattern comparison memory and the frame sync detection flag is directly output from the sync pattern comparison and detection circuit, the main circuit can be composed of a ROM (read-only memory), which is miniaturized. It is possible to obtain a frame synchronization detection method that saves power and saves power.
【0035】また、フレーム同期検出フラグに加えて、
誤りビット数情報も出力されるので、汎用性に富んだフ
レーム同期検出方式を得ることができる。In addition to the frame synchronization detection flag,
Since the error bit number information is also output, a versatile frame synchronization detection method can be obtained.
【0036】クロック入力からM分周された分周クロッ
クを生成し、M個の同期パターン比較検出回路それぞれ
で、1/Mに低下した速度により、データ入力とメモリ
のフレーム同期検出フラグとの比較をするので、同期パ
ターン比較検出回路でメモリの許容サイクルタイムに対
して比較する動作に余裕が得られ、比較処理の高速化が
可能なフレーム同期検出方式を得ることができる。A frequency-divided clock divided by M is generated from the clock input, and each of the M sync pattern comparison / detection circuits compares the data input with the frame sync detection flag of the memory due to the speed reduced to 1 / M. Therefore, the synchronization pattern comparison / detection circuit has a margin in the operation for comparison with the allowable cycle time of the memory, and it is possible to obtain the frame synchronization detection method capable of speeding up the comparison processing.
【図1】本発明の実施の一形態を示す機能ブロック図で
ある。FIG. 1 is a functional block diagram showing an embodiment of the present invention.
【図2】本発明の実施の一形態を示すメモリ領域図であ
る。FIG. 2 is a memory area diagram showing an embodiment of the present invention.
【図3】図1における実施の一形態を示す波形図であ
る。FIG. 3 is a waveform diagram showing an embodiment in FIG.
【図4】本発明の実施の別の形態を示す機能ブロック図
である。FIG. 4 is a functional block diagram showing another embodiment of the present invention.
【図5】図4における実施の一形態を示すA側の波形図
である。5 is a waveform diagram on the A side showing the embodiment in FIG.
【図6】図4における実施の一形態を示すB側の波形図
である。6 is a B-side waveform diagram showing the embodiment in FIG. 4. FIG.
【図7】図4における実施の一形態を示す出力側の波形
図である。FIG. 7 is a waveform diagram on the output side showing the embodiment in FIG.
【図8】従来の一例を示す機能ブロック図である。FIG. 8 is a functional block diagram showing an example of the related art.
【図9】従来の一例を示すメモリ領域図である。FIG. 9 is a memory area diagram showing a conventional example.
【図10】図8における一例を示す波形図である。10 is a waveform chart showing an example in FIG.
1 SP(シリアルパラレル)変換回路 2、2a、2b 同期パターン比較検出回路 3 ハザード除去レジスタ 4 二分周器 5a、5b データ分周レジスタ 6a、6b クロックビットレートパルス生成器 21 同期パターン比較メモリ 1 SP (serial parallel) conversion circuit 2, 2a, 2b Sync pattern comparison detection circuit 3 Hazard removal register 4 Divider 2 5a, 5b Data division register 6a, 6b Clock bit rate pulse generator 21 Sync pattern comparison memory
Claims (5)
期パターンと比較してフレーム同期を検出するフレーム
同期検出方式において、入力したデータのビット列がフ
レーム同期パターンと比較して一致した際に出力するフ
レーム同期検出フラグを予め記憶する同期パターン比較
メモリと、入力したデータのビット列がフレーム同期パ
ターンと比較して一致した際、前記フレーム同期検出フ
ラグを出力する同期パターン比較検出回路とを備えるこ
とを特徴とするフレーム同期検出方式。1. A frame synchronization detection method for detecting a frame synchronization by comparing a bit string of input data with a frame synchronization pattern, and outputting a frame synchronization when the bit string of input data is compared with the frame synchronization pattern and coincides with each other. A sync pattern comparison memory that stores a detection flag in advance, and a sync pattern comparison and detection circuit that outputs the frame sync detection flag when a bit string of input data is compared with a frame sync pattern and coincides with each other. Frame synchronization detection method.
期パターンと比較してフレーム同期を検出するフレーム
同期検出方式において、入力するクロックを分周して複
数の分周クロックを出力する分周器と、該分周器により
出力された分周クロック毎に入力したデータのビット列
を前記フレーム同期パターンと比較してフレーム同期を
検出する同期パターン比較検出回路とを備えることを特
徴とするフレーム同期検出方式。2. A frequency divider that divides an input clock and outputs a plurality of divided clocks in a frame synchronization detection method for detecting a frame synchronization by comparing a bit string of input data with a frame synchronization pattern. A frame synchronization detection method, comprising: a synchronization pattern comparison and detection circuit that detects a frame synchronization by comparing a bit string of data input for each divided clock output by the divider with the frame synchronization pattern.
期パターンと比較してフレーム同期を検出するフレーム
同期検出方式において、入力したデータのビット列がフ
レーム同期パターンと比較して一致した際に出力するフ
レーム同期検出フラグを予め記憶する同期パターン比較
メモリと、入力するクロックを分周して複数の分周クロ
ックを出力する分周器と、該分周器により出力された分
周クロック毎に入力したデータのビット列を前記フレー
ム同期パターンと比較して一致した際、分周されたクロ
ック毎に予め記憶した前記フレーム同期検出フラグを出
力する同期パターン比較検出回路とを備えることを特徴
とするフレーム同期検出方式。3. A frame synchronization detection method for detecting a frame synchronization by comparing a bit string of input data with a frame synchronization pattern, and outputting a frame synchronization when the bit string of input data is compared with the frame synchronization pattern and coincides with each other. A synchronization pattern comparison memory that stores a detection flag in advance, a divider that divides an input clock to output a plurality of divided clocks, and a data input for each divided clock output by the divider. A frame synchronization detection method, comprising: a synchronization pattern comparison and detection circuit that outputs the frame synchronization detection flag stored in advance for each divided clock when a bit string is compared with the frame synchronization pattern and coincides.
パターン比較メモリは、フレーム同期パターンと比較す
る全てのビット列パターンを不一致ビット数と共に予め
記憶し、また、同期パターン比較検出回路は、データの
ビット列が入力した際、前記同期パターン比較メモリか
ら前記不一致ビット数を取り出して出力することを特徴
とするフレーム同期検出方式。4. The sync pattern comparison memory according to claim 1 or 3, wherein all the bit string patterns to be compared with the frame sync pattern are stored together with the number of mismatch bits, and the sync pattern comparison / detection circuit is configured to A frame synchronization detection method, wherein when a bit string is input, the number of unmatched bits is extracted from the synchronization pattern comparison memory and output.
分周器から出力される分周クロック毎に入力したデータ
のビット列を取り込むデータ分周レジスタを備え、前記
同期パターン比較検出回路は、該データ分周レジスタか
らデータのビット列を受けることを特徴とするフレーム
同期検出方式。5. The data division register according to claim 2 or 3, further comprising a data division register for taking in a bit string of data input for each division clock output from the frequency divider. A frame synchronization detection method characterized by receiving a bit string of data from a data division register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7208615A JPH0955728A (en) | 1995-08-16 | 1995-08-16 | Frame sync detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7208615A JPH0955728A (en) | 1995-08-16 | 1995-08-16 | Frame sync detection method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0955728A true JPH0955728A (en) | 1997-02-25 |
Family
ID=16559162
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7208615A Withdrawn JPH0955728A (en) | 1995-08-16 | 1995-08-16 | Frame sync detection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0955728A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7528748B2 (en) | 2006-11-15 | 2009-05-05 | Fujitsu Microelectronics Limited | Serial data receiving circuit and serial data receiving method |
-
1995
- 1995-08-16 JP JP7208615A patent/JPH0955728A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7528748B2 (en) | 2006-11-15 | 2009-05-05 | Fujitsu Microelectronics Limited | Serial data receiving circuit and serial data receiving method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| ATE11187T1 (en) | DIGITAL SIGNAL PROCESSING. | |
| JPH04286233A (en) | Stuff synchronization circuit | |
| JPH05304519A (en) | Frame synchronization circuit | |
| CA1267731A (en) | Serial digital signal processing circuitry | |
| JPS585540B2 (en) | Tajiyuka Cairo | |
| JP2811671B2 (en) | Synchronous signal detection device | |
| JP2876747B2 (en) | Frame synchronization circuit | |
| JPH09284246A (en) | Demultiplexer | |
| JP2000275308A (en) | Test pattern generator for semiconductor test equipment | |
| JP3003328B2 (en) | Clock signal circuit | |
| JP3316882B2 (en) | Pattern match / mismatch detection circuit | |
| EP0860949A1 (en) | Synchronous binary counter | |
| JPH0134491B2 (en) | ||
| JPH0611133B2 (en) | Frame phase control circuit | |
| JP2877433B2 (en) | Waveform generation circuit | |
| JP2754566B2 (en) | Staff synchronization method | |
| JP2546286B2 (en) | Parallel synchronous circuit | |
| JPS62213337A (en) | Frame synchronizing protection system | |
| KR960042338A (en) | 2's complement type serial data operator using latch circuit | |
| JPS59141843A (en) | demultiplexing circuit | |
| JPH01196931A (en) | Synchronization detection circuit | |
| JPH08307405A (en) | Frame synchronization detection device | |
| KR20010074694A (en) | Apparatus for decoding a serial datastream of channel words into a datastream of information words | |
| JPH10308082A (en) | Data separator | |
| JPH03219739A (en) | Pattern synchronizing circuit |
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: 20021105 |