JP2876747B2 - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JP2876747B2
JP2876747B2 JP2226177A JP22617790A JP2876747B2 JP 2876747 B2 JP2876747 B2 JP 2876747B2 JP 2226177 A JP2226177 A JP 2226177A JP 22617790 A JP22617790 A JP 22617790A JP 2876747 B2 JP2876747 B2 JP 2876747B2
Authority
JP
Japan
Prior art keywords
address
circuit
frame
synchronization
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2226177A
Other languages
Japanese (ja)
Other versions
JPH04108234A (en
Inventor
隆 藤井
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2226177A priority Critical patent/JP2876747B2/en
Publication of JPH04108234A publication Critical patent/JPH04108234A/en
Application granted granted Critical
Publication of JP2876747B2 publication Critical patent/JP2876747B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はフレーム同期回路に関し、特にディジタル通
信のフレーム同期をとるフレーム同期回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization circuit, and more particularly, to a frame synchronization circuit for achieving frame synchronization of digital communication.

〔従来の技術〕[Conventional technology]

ディジタル通信においては、フレームの位置を識別す
るためのフレーム同期の技術が必要である。
In digital communication, a technique of frame synchronization for identifying the position of a frame is required.

ディジタル通信の一例として、ISDN一次群インタフェ
ースにおけるフレーム構成を第3図に示す。
FIG. 3 shows a frame configuration in an ISDN primary rate interface as an example of digital communication.

ISDN一次群インタフェースでは、1フレームは193ビ
ットで構成されている。先頭ビットはFビットと呼ばれ
ており、その役割については後で示す。第2ビットから
第193ビットまではデータであり、各々8ビットの24個
のタイムスロットより構成される。
In the ISDN primary rate interface, one frame is composed of 193 bits. The first bit is called an F bit, and its role will be described later. The second bit to the 193rd bit are data, each of which is composed of 24 time slots of 8 bits.

1フレームは125μsの周期で送受信される。24個の
フレームを1つのまとまりとしてマルチフレームが構成
される。マルチフレームの24個のFビットの内、第4、
第8、第12、第16、第20、第24フレームの各Fビットが
“001011"のフレーム同期ビットとなっている。また、
第2、第6、第10、第14、第18、第22フレームの各Fビ
ットは、インタフェース上でのエラー監視及び疑似同期
防止用のCRCコード(Cyclic Redundancy Checkコード)
であり、奇数番目のフレームのFビットはmビットと呼
ばれており、保守運用情報用のビットである。
One frame is transmitted and received at a cycle of 125 μs. A multi-frame is composed of 24 frames as one unit. Of the 24 F bits of the multiframe, the fourth,
Each F bit of the eighth, twelfth, sixteenth, twentieth, and twenty-fourth frames is a frame synchronization bit of “001011”. Also,
Each F bit of the second, sixth, tenth, fourteenth, eighteenth, and twenty-second frames is a CRC code (Cyclic Redundancy Check code) for monitoring errors on the interface and preventing pseudo-synchronization.
The F bit of the odd-numbered frame is called m bit, which is a bit for maintenance operation information.

従って、ISDN一次群インタフェースでは、4632ビット
中に“001011"の同期ビットが772ビット毎に1ビットず
つ挿入されており、この同期ビットを検出してフレーム
同期を図らねばならない。
Therefore, in the ISDN primary group interface, the synchronizing bit of "001011" is inserted one by one every 772 bits out of the 4632 bits, and it is necessary to detect this synchronizing bit to achieve frame synchronization.

フレーム同期方式としては、1ビットシフト方式、多
点監視方式などが良く知られているが、復帰特性が良好
であるところから多点監視方式が一般によく用いられて
いる。
As the frame synchronization method, a 1-bit shift method, a multipoint monitoring method, and the like are well known. However, the multipoint monitoring method is generally used because of its excellent recovery characteristics.

以下に、多点監視方式を用いたISDN一次群インタフェ
ース用フレーム同期回路に関する従来の技術を説明す
る。
In the following, a conventional technique relating to a frame synchronization circuit for an ISDN primary group interface using a multipoint monitoring method will be described.

第4図は、従来のフレーム同期回路の一例を示すブロ
ック図である。
FIG. 4 is a block diagram showing an example of a conventional frame synchronization circuit.

第4図において、従来のフレーム同期回路は、アンド
回路1と、カウンタ2と、同期パターン発生回路3と、
シフトレジスタ4と、一致不一致判定回路5とから構成
されていた。
In FIG. 4, a conventional frame synchronization circuit includes an AND circuit 1, a counter 2, a synchronization pattern generation circuit 3,
A shift register 4 and a match / mismatch determination circuit 5 are provided.

アンド回路1は、カウンタ2に入力するクロックCKの
オンオフ制御を行なうゲートである。
The AND circuit 1 is a gate that performs on / off control of a clock CK input to the counter 2.

カウンタ2は、クロックCKを1/772に分周するカウン
タである。
The counter 2 is a counter that divides the frequency of the clock CK by 1/772.

同期パターン発生回路3は、カウンタ2の出力に同期
して同期パターンを発生するものである。
The synchronization pattern generation circuit 3 generates a synchronization pattern in synchronization with the output of the counter 2.

同期パターン発生回路3は、たとえば、第6図のよう
に構成することができる。
The synchronization pattern generation circuit 3 can be configured, for example, as shown in FIG.

第6図において、SR31は6ビットのシフトレジスタで
あり、各ビットの出力端子T1〜T6および、プリセット端
子TP1〜TP6を備えている。
In FIG. 6, SR31 is a 6-bit shift register, and has output terminals T1 to T6 for each bit and preset terminals TP1 to TP6.

初期状態として、たとえば、プリセット端子TP1〜TP6
より“110010"の同期パターンをプリセットしたとする
と、以下シフトレジスタの状態は、クロックに同期し
て、“100101"、“110010"、“011001"…と変化するの
で、出力端子T1〜T6からは同期パターンを得ることがで
きる。
As an initial state, for example, preset terminals TP1 to TP6
Assuming that the synchronization pattern of “110010” is preset, the state of the shift register changes to “100101”, “110010”, “011001”,... In synchronization with the clock. A synchronization pattern can be obtained.

シフトレジスタ4は、受信データ入力端子TDからの受
信データDを入力とし、受信クロック端子TCKからの受
信クロックCKをクロックとする3860ビットのシフトレジ
スタである。
The shift register 4 is a 3860-bit shift register that receives the reception data D from the reception data input terminal TD and uses the reception clock CK from the reception clock terminal TCK as a clock.

第5図に、シフトレジスタ4の詳細を示す。 FIG. 5 shows the details of the shift register 4.

第5図において、SR1〜SR5は、それぞれ、772ビット
のシフトレジスタである。
In FIG. 5, SR1 to SR5 are shift registers of 772 bits, respectively.

一致不一致判定回路5は、シフトレジスタ4と同期パ
ターン発生回路3の出力の一致不一致を判定する回路で
ある。
The coincidence / non-coincidence determination circuit 5 is a circuit for determining the coincidence / non-coincidence between the output of the shift register 4 and the output of the synchronous pattern generation circuit 3.

次に、従来のフレーム同期回路の動作について説明す
る。
Next, the operation of the conventional frame synchronization circuit will be described.

第4図において、太矢線はパラレルデータを示し、矢
部の数字はデータのビット長を示す。
In FIG. 4, the thick arrow indicates parallel data, and the number in the arrow indicates the bit length of the data.

最初は受信データに対して同期外れの状態にあるもの
と考える。
Initially, it is assumed that the received data is out of synchronization.

一致不一致判定回路5は、端子TULの同期外れ信号UL
をオンするとともに、アンド回路1に対してカウンタ2
へ供給する受信クロックCKをオフする信号を出す。
The match / mismatch determination circuit 5 outputs an out-of-sync signal UL of the terminal TUL.
Is turned on, and the counter 2 is
A signal for turning off the reception clock CK supplied to the power supply.

このため、カウンタ2は停止し、同期パターン発生回
路3は同一の周期パターンを出し続ける。
Therefore, the counter 2 stops, and the synchronous pattern generation circuit 3 keeps outputting the same periodic pattern.

一方、シフトレジスタ4は受信信号を1ビットずつシ
フトしながら、772ビット毎の中間タップから取り出さ
れる6ビットの並列信号を順次、一致不一致判定回路5
へ送出する。
On the other hand, the shift register 4 sequentially shifts the received signal one bit at a time, and sequentially outputs the 6-bit parallel signals extracted from the intermediate taps every 772 bits to the match / mismatch determination circuit 5.
Send to

シフトレジスタ4の出力と同期パターン発生回路3の
出力が一致すると、一致不一致判定回路5は、端子TLの
同期信号Lをオン、同期外れ信号ULをオフするととも
に、アンド回路1をオンしてカウンタ2を動作させる。
When the output of the shift register 4 and the output of the synchronization pattern generation circuit 3 match, the match / mismatch determination circuit 5 turns on the synchronization signal L at the terminal TL, turns off the out-of-sync signal UL, and turns on the AND circuit 1 to turn on the counter. Operate 2

カウンタ2は、受信クロックCKを772カウントした後
に同期パターン発生回路3へクロックを出力し、次の同
期パターンを発生させる。一方、シフトレジスタ4は、
受信信号シフトを続けるので、一致不一致判定回路5
は、シフトレジスタ4と同期パターン発生回路3の出力
が一致した後は、次の771クロックの間一致不一致の判
定を停止する。
The counter 2 outputs a clock to the synchronization pattern generation circuit 3 after counting the reception clock CK 772, and generates the next synchronization pattern. On the other hand, the shift register 4
Since the received signal shift is continued, the match / mismatch determination circuit 5
After the output of the shift register 4 and the output of the synchronous pattern generating circuit 3 match, the determination of the mismatch is stopped during the next 771 clocks.

そして、772クロック目、すなわち同期パターン発生
回路3の出力が次の同期パターンに変化するタイミング
で、再び一致不一致の判定を行う。
Then, at the 772th clock, that is, at the timing when the output of the synchronization pattern generation circuit 3 changes to the next synchronization pattern, the determination of the mismatch is made again.

以下、フレーム同期が外れている間は同様の動作を繰
り返す。
Hereinafter, the same operation is repeated while the frame synchronization is lost.

また、同期状態における一致不一致の判定タイミング
で不一致と判定された場合には、一致不一致判定回路5
は、3の同期信号をオフ、4の同化外れ信号をオンする
とともに、再び、アンド回路1に対してカウンタ2へ供
給する受信クロックCKをオフする信号を出して同期パタ
ーンの変化を停止し、一致不一致の判定を1ビット毎に
行う。
If it is determined that there is no match at the time of the match / mismatch determination in the synchronous state, the match / mismatch determination circuit 5
Turns off the synchronizing signal 3 and turns on the out-of-assimilation signal 4 and again outputs a signal to the AND circuit 1 to turn off the receiving clock CK supplied to the counter 2 to stop the change of the synchronizing pattern. The determination of match / mismatch is performed for each bit.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

この従来の多点監視方式を用いたフレーム同期回路で
は、受信データ列内に周期的に配置されるビット列を取
り出す為に必須となる記憶回路にシフトレジスタを用い
ている。
In the conventional frame synchronization circuit using the multipoint monitoring method, a shift register is used as a storage circuit that is essential for extracting a bit string periodically arranged in a received data string.

しかしながら、シフトレジスタはそれを構成するトラ
ンジスタ数が比較的多いために、LSI化する際にチップ
面積が増大しやすいという欠点があった。
However, since the shift register has a relatively large number of transistors, the shift register has a disadvantage that the chip area is likely to increase when implementing an LSI.

特に、ISDN一次群インタフェースの場合では、3860ビ
ットものシフトレジスタを必要とするため、多大なチッ
プ面積を要するという欠点があった。
In particular, in the case of the ISDN primary group interface, a shift register as large as 3860 bits is required, which has a disadvantage that a large chip area is required.

また、シフトレジスタの誤動作を避ける為には、各ビ
ットに供給されるクロックのクロック間スキューを最小
にする注意が必要であるが、長ビットのシフトレジスタ
では、このクロック間スキューを最小とするための回路
設計、レイアウト設計が困難となってくるという欠点が
あった。
In addition, in order to avoid malfunction of the shift register, it is necessary to pay attention to minimizing the skew between clocks of clocks supplied to respective bits. However, in the case of a long bit shift register, it is necessary to minimize the skew between clocks. However, there is a disadvantage that the circuit design and the layout design become difficult.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のフレーム同期回路は、複数のビットからなる
所定数のフレームで1つのマルチフレームを構成する受
信データ中に周期的に挿入されたフレーム同期ビットか
らなる同期パターンを検出することにより、前記受信デ
ータの前記フレームのタイミングおよび前記マルチフレ
ームのタイミングを生成するフレーム同期回路におい
て、 1マルチフレーム分の前記受信データを記憶するラン
ダムアクセスメモリと、 前記ランダムアクセスメモリに記憶した前記受信デー
タを前記同期パターンと同一周期で読出しパラレルデー
タの同期パターン候補データとして出力する受信データ
読出回路と、 前記受信データの処理のタイミングの基準となる受信
クロックを供給する受信クロック源と、 前記受信クロックの入力の制御を行う受信クロックゲ
ート信号の活性化に応答して前記受信クロックの計数を
行い前記同期パターンの1周期分の前記フレームビット
数分の1に分周する受信クロックカウンタ回路と、 前記受信クロックカウンタ回路の出力に同期して前記
同期パターンと同一周期の受信同期パターンを生成する
同期パターン発生回路と、 前記受信データ読出回路から出力された前記同期パタ
ーン候補データと、前記受信同期パターンとの一致を判
定し一致に応答して同期信号を出力するとともに前記受
信クロックゲート信号を活性化し不一致に応答して同期
外れ信号を出力するとともに前記受信クロックゲート信
号を不活性化する一致判定回路とを有するものである。
The frame synchronization circuit according to the present invention detects the synchronization pattern composed of frame synchronization bits periodically inserted into reception data constituting one multi-frame with a predetermined number of frames composed of a plurality of bits, thereby performing the reception. A frame synchronization circuit for generating the timing of the frame of data and the timing of the multi-frame; a random access memory for storing the received data for one multi-frame; and a synchronization pattern for storing the received data stored in the random access memory. A reception data read circuit that reads out at the same period as the synchronization pattern candidate data of the parallel data, a reception clock source that supplies a reception clock serving as a reference for the timing of the processing of the reception data, and controls input of the reception clock. Perform receive clock game A reception clock counter circuit that counts the reception clock in response to the activation of the clock signal and divides the frequency of the reception clock by 1 / the number of frame bits for one cycle of the synchronization pattern; A synchronization pattern generation circuit for generating a reception synchronization pattern having the same cycle as the synchronization pattern; and determining a match between the synchronization pattern candidate data output from the reception data reading circuit and the reception synchronization pattern, and responding to the match. And a coincidence determination circuit for outputting a synchronization signal, activating the reception clock gate signal, outputting an out-of-synchronization signal in response to the mismatch, and deactivating the reception clock gate signal.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、本発明のフレーム同期回路は、従来
例と同様のアンド回路1と、カウンタ2と、同期パター
ン発生回路3と、一致不一致判定回路5とに加えて、ラ
ンダムアクセスメモリ6と、Xアドレスデコーダ7と、
Yアドレスデコーダ8と、シリアルパラレル変換器9
と、アドレスレジスタ10と、減算回路11と、セレクタ12
とカウンタ13とから構成されている。
In FIG. 1, a frame synchronization circuit according to the present invention includes a random access memory 6, a An X address decoder 7,
Y address decoder 8 and serial / parallel converter 9
, An address register 10, a subtraction circuit 11, and a selector 12
And a counter 13.

ランダムアクセスメモリ6は、4632ビット、すなわ
ち、1マルチフレーム分の受信データを記憶するメモリ
である。
The random access memory 6 is a memory for storing 4632 bits, that is, received data for one multi-frame.

Xアドレスデコーダ7は、アドレスの内下位7ビット
のアドレスを生成するアドレスデコーダである。
The X address decoder 7 is an address decoder that generates an address of the lower 7 bits of the address.

Yアドレスデコーダ8は、アドレスの内上位6ビット
のアドレスを生成するアドレスデコーダである。
The Y address decoder 8 is an address decoder that generates an upper 6-bit address of the address.

シリアルパラレル変換器9は、ランダムアクセスメモ
リ6からシリアルに出力されるデータを6ビットのパラ
レルデータに変換するものである。
The serial / parallel converter 9 converts data output serially from the random access memory 6 into 6-bit parallel data.

アドレスレジスタ10は、ランダムアクセスメモリ6の
アドレスを格納するレジスタである。
The address register 10 is a register that stores an address of the random access memory 6.

減算回路11は、ランダムアクセスメモリ6のアドレス
から772を減算する機能を持つ。
The subtraction circuit 11 has a function of subtracting 772 from the address of the random access memory 6.

セレクタ12は、減算回路11とカウンタ13の出力のいず
れかを選択するものである。
The selector 12 selects either the output of the subtraction circuit 11 or the output of the counter 13.

カウンタ13は、端子TCKから入力される受信クロックC
Kを1/4632に分周するカウンタである。
The counter 13 receives the reception clock C input from the terminal TCK.
This is a counter that divides K by 1/4632.

次に、本実施例の動作について説明する。 Next, the operation of this embodiment will be described.

第1図において、太矢線はパラレルデータを示し、矢
部の数字はデータのビット長を示す。
In FIG. 1, thick arrows indicate parallel data, and numbers in arrows indicate bit lengths of the data.

最初は受信データに対して同期外れの状態にあるもの
と考える。
Initially, it is assumed that the received data is out of synchronization.

一致不一致判定回路5は、端子TULの同期外れ信号UL
をオン、端子TLの同期信号Lをオフするとともに、アン
ド回路1に対してカウンタ2へ供給する受信クロックCK
をオフする信号を出す。
The match / mismatch determination circuit 5 outputs an out-of-sync signal UL of the terminal TUL.
Is turned on, the synchronization signal L at the terminal TL is turned off, and the reception clock CK supplied to the counter 2 for the AND circuit 1 is output.
Signal to turn off.

このため、カウンタ2は停止し、同期パターン発生回
路3は同一の同期パターンを出し続ける。
Therefore, the counter 2 stops, and the synchronization pattern generation circuit 3 keeps outputting the same synchronization pattern.

一方、ランダムアクセスメモリ6には4632ビット、す
なわち1マルチフレーム分に相当する過去の受信データ
が記憶されている。
On the other hand, the random access memory 6 stores 4632 bits, that is, past received data corresponding to one multiframe.

端子TCKに受信クロックCKが到来すると、カウンタ13
のカウント値が1つ増加し、その値がセレクタ12を通し
てアドレスレジスタ10にロードされる。つづいて、ラン
ダムアクセスメモリ6のアドレスが切り替わり、新しい
アドレスに端子TDの受信データ7が書き込まれる。
When the receiving clock CK arrives at the terminal TCK, the counter 13
Is incremented by one, and the value is loaded into the address register 10 through the selector 12. Subsequently, the address of the random access memory 6 is switched, and the received data 7 of the terminal TD is written to a new address.

次にそのデータが読み出され、シリアルパラレル変換
器9に書き込まれる。
Next, the data is read and written to the serial / parallel converter 9.

次に、アドレスレジスタ10の値から772を減じた値が
減算回路11により出力され、セレクタ12を通して再びア
ドレスレジスタ10にロードされる。
Next, a value obtained by subtracting 772 from the value of the address register 10 is output by the subtraction circuit 11, and loaded into the address register 10 again through the selector 12.

このアドレスのデータがランダムアクセスメモリ6か
ら読み出され、シリアルパラレル変換器9に書き込まれ
る。
The data at this address is read from the random access memory 6 and written to the serial / parallel converter 9.

同様の動作があと4回繰り返されると、シリアルパラ
レル変換器9には、現在の受信データを基準として、そ
れより古いデータが772ビット毎に6ビット蓄えられる
ことになる。
When the same operation is repeated four more times, the serial-parallel converter 9 stores 6-bit data every 772 bits older than the current received data.

このデータは、次の受信データが到来する前に、一致
不一致判定回路5へ送出され、判定が行われる。
This data is sent to the match / mismatch determination circuit 5 before the next reception data arrives, and the determination is performed.

次の受信データ及びクロックの到来により、カウンタ
13がカウントアップし、次のアドレスのデータに対して
同様の操作が繰り返される。
When the next received data and clock arrive, the counter
13 is counted up, and the same operation is repeated for the data at the next address.

シリアルパラレル変換器9と同期パターン発生回路3
の値が一致すると、一致不一致判定回路5は端子TLの同
期信号Lをオンし、端子TULの同期外れ信号ULをオフす
るとともに、アンド回路1をオンし、カウンタ2を動作
させる。
Serial / parallel converter 9 and synchronous pattern generation circuit 3
Are matched, the match / mismatch determination circuit 5 turns on the synchronization signal L at the terminal TL, turns off the out-of-sync signal UL at the terminal TUL, turns on the AND circuit 1, and operates the counter 2.

一方、シリアルパラレル変換器9は、最新の受信デー
タによるパターンを出し続けるので、一致不一致判定回
路5は、シリアルパラレル変換器9と同期パターン発生
回路3の出力が一致した後は、次の771クロックの間一
不一致の判定を停止する。
On the other hand, since the serial / parallel converter 9 continues to output a pattern based on the latest received data, the match / mismatch determination circuit 5 outputs the next 771 clocks after the output of the serial / parallel converter 9 and the synchronization pattern generation circuit 3 match. The determination of a mismatch between the two is stopped.

そして772クロック目、すなわち、同期パターン発生
回路3の出力が、次の同期パターンに変化するタイミン
グで再び一致不一致の判定を行う。
Then, at the 772th clock, that is, at the timing when the output of the synchronization pattern generation circuit 3 changes to the next synchronization pattern, it is determined again whether or not the pattern matches.

以下、フレーム同期が取れている間は同様の動作を繰
り返す。
Hereinafter, the same operation is repeated while the frame is synchronized.

また、同期状態での一致不一致の判定タイミングで不
一致と判定された場合には、一致不一致判定回路5は、
同期信号Lをオフ、同期外れ信号ULをオンすると共に、
再び、アンド回路1に対してカウンタ2へ供給する受信
クロックCKをオフする信号を出して同期パターンの変化
を停止し、一致不一致の判定を1ビット毎に行う。
Further, when it is determined that there is no match at the time of the match / mismatch determination in the synchronized state, the match / mismatch determination circuit 5
While turning off the synchronization signal L and turning on the out-of-synchronization signal UL,
Again, a signal to turn off the reception clock CK supplied to the counter 2 is output to the AND circuit 1 to stop the change of the synchronization pattern, and the determination of the match or non-match is performed for each bit.

本発明によるフレーム同期回路では、受信データ列内
に周期的に配置されるビット列を取り出すために必須と
なる記憶回路にランダムアクセスメモリを用いている。
In the frame synchronization circuit according to the present invention, a random access memory is used as a storage circuit that is essential for extracting a bit string periodically arranged in a received data string.

ランダムアクセスメモリは、スタティックメモリを用
いたとしても、1ビットの記憶素子を最大でもわずか6
つのトランジスタで構成できる。
The random access memory has a maximum of only six 1-bit storage elements even if a static memory is used.
It can be composed of one transistor.

一方、シフトレジスタを構成するには、最小でも2個
のインバータと2個のスイッチ、すなわち8個のトラン
ジスタが必要である。
On the other hand, a shift register requires at least two inverters and two switches, that is, eight transistors.

このため、ランダムアクセスメモリを用いる場合は、
シフトレジスタを用いる場合と比較して少ない素子数で
フレーム同期回路を構成できる。
Therefore, when using a random access memory,
A frame synchronization circuit can be configured with a smaller number of elements than in the case where a shift register is used.

さらに、ランダムアクセスメモリはその構造が規則的
であるところから単位面積当たりの集積度を向上するこ
とができる。
Further, since the random access memory has a regular structure, the degree of integration per unit area can be improved.

その結果、シフトレジスタを用いる場合と比較しては
るかに小さなチップ面積でフレーム同期回路を構成でき
る。
As a result, a frame synchronization circuit can be configured with a much smaller chip area than when using a shift register.

また、ランダムアクセスメモリの場合はシフトレジス
タの場合と異なり、アドレスを変化させることにより実
効的にデータをシフトさせているので、クロック間スキ
ューの問題についてシフトレジスタの場合程注意を払う
必要は無い。
In the case of the random access memory, unlike the case of the shift register, the data is effectively shifted by changing the address, so that it is not necessary to pay attention to the problem of the skew between clocks as in the case of the shift register.

次に、本発明の第二の実施例について説明する。 Next, a second embodiment of the present invention will be described.

第2図は、本発明の第二の実施例を示すブロック図で
ある。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

前述の第一の実施例との相違点は、アドレスレジスタ
10の代りに、アドレスレジスタ14が、減算回路11の代り
に減算回路15が、、カウンタ13の代りにカウンタ16がそ
れぞれ用いられていることである。
The difference from the first embodiment is that the address register
The difference is that an address register 14 is used instead of 10, a subtraction circuit 15 is used instead of the subtraction circuit 11, and a counter 16 is used instead of the counter 13.

アドレスレジスタ14は、上位5ビットを格納するアド
レスレジスタ(U)と、下位8ビットを格納するアドレ
スレジスタ(L)とに分かれている。
The address register 14 is divided into an address register (U) for storing upper 5 bits and an address register (L) for storing lower 8 bits.

減算回路15は、上位5ビットのアドレスデータに対し
て、−4の減算を行なうものである。
The subtraction circuit 15 subtracts -4 from the upper 5 bits of address data.

カウンタ16は、第一の実施例と同様、端子TCKから入
力される受信クロックCKを1/4632に分周するカウンタで
あるが、1/193に分周するカウンタと、1/24に分周する
カウンタに分けて構成されている。
The counter 16 is a counter that divides the reception clock CK input from the terminal TCK into 1/4632, as in the first embodiment. However, the counter 16 divides the reception clock CK by 1/193 and divides it by 1/24. The counter is configured separately.

その他の部分は、第一の実施例と同様である。 Other parts are the same as in the first embodiment.

本実施例の動作は、基本的には、前述の第一の実施例
と同一であるが、以下の点が異なる。
The operation of this embodiment is basically the same as that of the first embodiment, but differs in the following points.

すなわち、ランダムアクセスメモリ6のアドレスを生
成するカウンタを、上位5ビット、下位8ビットのカウ
ンタに分けて構成しているので、第一の実施例では−77
2の減算回路を用いたが、本実施例では、上位5ビット
のレジスタに対する−4の減算を行なうだけでよい。し
たがって、回路構成が単純化されるという長所がある。
That is, since the counter for generating the address of the random access memory 6 is divided into the upper 5 bits and the lower 8 bits, the first embodiment uses -77.
Although the subtraction circuit of 2 is used, in the present embodiment, it is only necessary to subtract -4 from the upper 5 bits of the register. Therefore, there is an advantage that the circuit configuration is simplified.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、受信データ列を記憶す
る記憶回路に、ランダムアクセスメモリを用いることに
より、より小さなチップ面積でフレーム同期回路を構成
できるという効果がある。
As described above, the present invention has an effect that a frame synchronization circuit can be configured with a smaller chip area by using a random access memory as a storage circuit for storing a received data string.

さらに、シフトレジスタと違い、クロック間スキュー
の影響を考える必要がないという効果がある。
Further, unlike the shift register, there is an effect that it is not necessary to consider the influence of the skew between clocks.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の第二の実施例を示すブロック図、第3図はISDN
一次群インタフェースにおけるフレーム構成を示す図、
第4図は従来のフレーム同期回路の一例を示すブロック
図、第5図はシフトレジスタの詳細を示すブロック図、
第6図は同期パターン発生回路の一例を示すブロック図
である。 1……アンド回路、2……カウンタ、3……同期パター
ン発生回路、4……シフトレジスタ、5……一致不一致
判定回路、6……ランダムアクセスメモリ、7……Xア
ドレスデコーダ、8……Yアドレスデコーダ、9……シ
リアルパラレル変換器、10……アドレスレジスタ、11…
…減算回路、12……セレクタ、13……カウンタ、14……
アドレスレジスタ、15……減算回路、16……カウンタ。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing a second embodiment of the present invention, and FIG.
A diagram showing a frame configuration in the primary group interface,
FIG. 4 is a block diagram showing an example of a conventional frame synchronization circuit, FIG. 5 is a block diagram showing details of a shift register,
FIG. 6 is a block diagram showing an example of a synchronization pattern generation circuit. 1 AND circuit, 2 counter, 3 synchronous pattern generation circuit, 4 shift register, 5 match / mismatch determination circuit, 6 random access memory, 7 X address decoder, 8 Y address decoder, 9 serial-parallel converter, 10 address register, 11
… Subtraction circuit, 12… Selector, 13… Counter, 14…
Address register, 15: Subtraction circuit, 16: Counter.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のビットからなる所定数のフレームで
1つのマルチフレームを構成する受信データ中に周期的
に挿入されたフレーム同期ビットからなる同期パターン
を検出することにより、前記受信データの前記フレーム
のタイミングおよび前記マルチフレームのタイミングを
生成するフレーム同期回路において、 1マルチフレーム分の前記受信データを記憶するランダ
ムアクセスメモリと、 前記ランダムアクセスメモリに記憶した前記受信データ
を前記同期パターンと同一周期で読出しパラレルデータ
の同期パターン候補データとして出力する受信データ読
出回路と、 前記受信データの処理のタイミングの基準となる受信ク
ロックを供給する受信クロック源と、 前記受信クロックの入力の制御を行う受信クロックゲー
ト信号の活性化に応答して前記受信クロックの計数を行
い前記同期パターンの1周期分の前記フレームビット数
分の1に分周する受信クロックカウンタ回路と、 前記受信クロックカウンタ回路の出力に同期して前記同
期パターンと同一周期の受信同期パターンを生成する同
期パターン発生回路と、 前記受信データ読出回路から出力された前記同期パター
ン候補データと、前記受信同期パターンとの一致を判定
し一致に応答して同期信号を出力するとともに前記受信
クロックゲート信号を活性化し不一致に応答して同期外
れ信号を出力するとともに前記受信クロックゲート信号
を不活性化する一致判定回路とを有することを特徴とす
るフレーム同期回路。
1. A method for detecting a synchronization pattern consisting of frame synchronization bits periodically inserted into reception data constituting one multi-frame by a predetermined number of frames consisting of a plurality of bits, thereby detecting the synchronization pattern of the reception data. In a frame synchronization circuit for generating a frame timing and the multi-frame timing, a random access memory for storing the reception data for one multi-frame, and the reception data stored in the random access memory having the same period as the synchronization pattern A reception data read circuit for outputting as a synchronization pattern candidate data of the read parallel data; a reception clock source for supplying a reception clock serving as a reference for processing timing of the reception data; and a reception clock for controlling the input of the reception clock. For activation of gate signal A receiving clock counter circuit that counts the receiving clock in response and divides the frequency of the receiving clock counter circuit by one of the number of frame bits for one cycle of the synchronous pattern; and the synchronous pattern in synchronization with the output of the receiving clock counter circuit. A synchronization pattern generation circuit that generates a reception synchronization pattern having the same period; a synchronization pattern candidate data output from the reception data read circuit; and a determination of a match between the reception synchronization pattern and a synchronization signal output in response to the determination. A frame synchronization circuit for activating the reception clock gate signal, outputting an out-of-sync signal in response to the mismatch, and inactivating the reception clock gate signal.
【請求項2】前記受信データ読出回路が、前記受信クロ
ックを1マルチフレームのビット数分の1に分周し前記
ランダムアクセスメモリのアドレス値を出力するカウン
タ回路と、 前記アドレス値を格納するアドレスレジスタと、 前記アドレス値のうちの予め定めた第1のビット数の下
位アドレスをデコードし前記ランダムアクセスメモリの
Xアドレスを生成するXアドレスデコーダと、 前記アドレス値のうちの予め定めた第2のビット数の上
位アドレスをデコードし前記ランダムアクセスメモリの
Yアドレスを生成するYアドレスデコーダと、 前記アドレス値から前記同期パターンを構成する前記フ
レームビットの周期毎に前記同期パターンの1周期分の
前記フレームビット数を減算をする減算回路と、 読み出したシリアルデータの前記受信データを直並列変
換して前記同期パターン候補データを出力する直並列変
換回路とを有することを特徴とする請求項1記載のフレ
ーム同期回路。
2. A counter circuit for dividing the reception clock by 1 / bit of one multi-frame and outputting an address value of the random access memory; and an address for storing the address value. A register; an X address decoder for decoding a lower address of a predetermined first number of bits of the address value to generate an X address of the random access memory; and a second predetermined address of the address value. A Y address decoder that decodes an upper address of the number of bits to generate a Y address of the random access memory; and a frame for one cycle of the synchronization pattern for each cycle of the frame bits that form the synchronization pattern from the address value. A subtraction circuit for subtracting the number of bits; and Frame synchronization circuit according to claim 1, characterized in that it comprises a serial-parallel conversion circuit to transmit data by serial-parallel conversion to output the synchronization pattern candidate data.
【請求項3】前記受信データ読出回路が、前記受信クロ
ックを第1の分周数で分周し前記ランダムアクセスメモ
リの第1のアドレス値を出力する第1のカウンタと、 1マルチフレームのビット数を前記第1の分周数で除算
した第2の分周数で分周し前記ランダムアクセスメモリ
の第2のアドレス値を出力する第2のカウンタと、 前記第1のアドレス値を格納する第1のアドレスレジス
タと、 前記第2のアドレス値を格納する第2のアドレスレジス
タと、 前記第1のアドレス値である下位アドレスをデコードし
前記ランダムアクセスメモリのXアドレスを生成するX
アドレスデコーダと、 前記第2のアドレス値である上位アドレスをデコードし
前記ランダムアクセスメモリのYアドレスを生成するY
アドレスデコーダと、 前記第1のアドレス値から前記同期パターンを構成する
前記フレームビットの周期毎に前記同期パターンの1周
期分の前記フレームビット数を前記第1の分周数で除算
した値を減算をする減算回路と、 読み出したシリアルデータの前記受信データを直並列変
換して前記同期パターン候補データを出力する直並列変
換回路とを有することを特徴とする請求項1記載のフレ
ーム同期回路。
3. A first counter for dividing the reception clock by a first division number and outputting a first address value of the random access memory, the reception data reading circuit comprising: a first multi-frame bit; A second counter that divides the number by a second frequency division number obtained by dividing the number by the first frequency division number and outputs a second address value of the random access memory; and stores the first address value. A first address register; a second address register that stores the second address value; and X that decodes a lower address that is the first address value and generates an X address of the random access memory.
An address decoder; and a Y decoder for decoding an upper address which is the second address value to generate a Y address of the random access memory.
An address decoder, and subtracting a value obtained by dividing the number of frame bits for one cycle of the synchronization pattern by the first frequency division number for each cycle of the frame bits forming the synchronization pattern from the first address value. 2. The frame synchronization circuit according to claim 1, further comprising: a subtraction circuit that performs the following processing; and a serial-parallel conversion circuit that performs serial-parallel conversion on the received data of the read serial data and outputs the synchronization pattern candidate data.
JP2226177A 1990-08-28 1990-08-28 Frame synchronization circuit Expired - Lifetime JP2876747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2226177A JP2876747B2 (en) 1990-08-28 1990-08-28 Frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2226177A JP2876747B2 (en) 1990-08-28 1990-08-28 Frame synchronization circuit

Publications (2)

Publication Number Publication Date
JPH04108234A JPH04108234A (en) 1992-04-09
JP2876747B2 true JP2876747B2 (en) 1999-03-31

Family

ID=16841093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2226177A Expired - Lifetime JP2876747B2 (en) 1990-08-28 1990-08-28 Frame synchronization circuit

Country Status (1)

Country Link
JP (1) JP2876747B2 (en)

Also Published As

Publication number Publication date
JPH04108234A (en) 1992-04-09

Similar Documents

Publication Publication Date Title
JPS6359294B2 (en)
US4899339A (en) Digital multiplexer
EP0503657B1 (en) Pulse stuffing apparatus and method
JPH05304519A (en) Frame synchronization circuit
US5546401A (en) Frame phase aligner
JP2876747B2 (en) Frame synchronization circuit
US5642387A (en) Bit synchronization method and circuit
US6825705B2 (en) Clock signal generation circuit and audio data processing apparatus
KR100270335B1 (en) Frame synchronization apparatus for rounding synchronization protection information
JPH04158641A (en) Frame syncronization circuit
KR0172459B1 (en) Method and device for reproducing clock signal
JP2617575B2 (en) Data rate conversion circuit
KR100363411B1 (en) Channel selection logic circuit on group trunk line
JP3034561B2 (en) Frame phase synchronization circuit
JP3908371B2 (en) A device that outputs communication line data to a terminal
US5083291A (en) Transceiving process for a digital telephone line
JPH04119738A (en) Frame synchronizing circuit
JPS62213337A (en) Frame synchronizing protection system
JPS6232854B2 (en)
JP2002094550A (en) Asynchronous packet data multiplexer circuit
JPH0438026A (en) Reception data synchronizing circuit
JPH0955728A (en) Frame synchronism detection system
JPH02288741A (en) Frame pull-in circuit
JPH07336320A (en) Frame synchronizing circuit in tdma multiplex transmission
JPH04356834A (en) Synchronizing circuit using crc check