JPH04129439A - Multi-frame synchronization circuit - Google Patents

Multi-frame synchronization circuit

Info

Publication number
JPH04129439A
JPH04129439A JP2251057A JP25105790A JPH04129439A JP H04129439 A JPH04129439 A JP H04129439A JP 2251057 A JP2251057 A JP 2251057A JP 25105790 A JP25105790 A JP 25105790A JP H04129439 A JPH04129439 A JP H04129439A
Authority
JP
Japan
Prior art keywords
circuit
data
frame
address
pulse
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.)
Pending
Application number
JP2251057A
Other languages
Japanese (ja)
Inventor
Kazuhiro Fukamachi
深町 和博
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
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2251057A priority Critical patent/JPH04129439A/en
Publication of JPH04129439A publication Critical patent/JPH04129439A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To make the circuit scale small by applying data speed conversion and phase correction with a single memory. CONSTITUTION:A serial/parallel converter 41 converts a reception data from a multi-frame synchronization detection circuit 32 into a parallel data synchronously with a pulse and gives the result to a dual port RAM 42. Then a write address is generated in response to the system clock and a reception data subject to parallel processing is written in a dual port memory 42 and a data is read from the memory 42 by using a read address generated by the system frame pulse and the system clock. Thus, the speed conversion and the phase correction are attained by the single dual port memory 42. Thus, the circuit scale is made small.

Description

【発明の詳細な説明】 〔概要〕 外部の回線より入来するフレームデータの速度変換及び
位相補正を行なってマルチフレーム構成とするマルチフ
レーム同期回路に関し、メモリが1個で済み、回路規模
の小型化が可能となることを目的とし、 回線よりシリアルに入来する受信データのフレーム同期
を検出してマルチフレーム同期パルスを生成するマルチ
フレーム同期検出回路と、装置内の基準となるシステム
フレームパルスと該マルチフレーム同期パルスとの位相
比較を行なって位相差を得る位相比較回路と、該位相差
をセy)された後、該装置内のシステムクロックに同期
して書込みアドレスを生成するアドレスカウンタと、該
受信データをパラレルデータに変換するシリアル/パラ
レル変換回路と、該システムフレームパルス及びシステ
ムクロックを基に読出しアドレスを生成するアドレス発
生回路と、該アドレスカウンタよりの書込みアドレスに
従って該シリアル/パラレル変換回路よりのパラレルデ
ータを書込み、該アドレス発生回路よりの読出しアドレ
スに従ってデータを読出し出力するデュアルポートのメ
モリとを有し構成する。
[Detailed Description of the Invention] [Summary] The present invention relates to a multi-frame synchronization circuit that converts the speed and corrects the phase of frame data coming in from an external line to form a multi-frame configuration, which requires only one memory and has a small circuit scale. A multi-frame synchronization detection circuit that detects the frame synchronization of received data serially input from the line and generates a multi-frame synchronization pulse, and a system frame pulse that serves as a reference within the equipment. a phase comparison circuit that performs a phase comparison with the multi-frame synchronization pulse to obtain a phase difference; and an address counter that generates a write address in synchronization with a system clock within the device after the phase difference has been determined. , a serial/parallel conversion circuit that converts the received data into parallel data, an address generation circuit that generates a read address based on the system frame pulse and the system clock, and a serial/parallel conversion circuit that converts the received data into parallel data according to the write address from the address counter. It has a dual port memory in which parallel data from the circuit is written and data is read out and output according to the read address from the address generation circuit.

〔産業上の利用分野〕[Industrial application field]

本発明はマルチフレーム同期回路に関し、外部の回線よ
り入来するフレームデータの速度変換及び位相補正を行
なってマルチフレーム構成とするマルチフレーム同期回
路に関する。
The present invention relates to a multiframe synchronization circuit, and more particularly, to a multiframe synchronization circuit that performs speed conversion and phase correction on frame data coming in from an external line to create a multiframe configuration.

近年、ネットワークの発展に伴い、データの信頼性を向
上するために外部の回線より入来するフレームデータを
マルチフレーム構成として扱う場合かある。この場合に
はデータの速度変換と位相補正とを行なう必要かあり、
そのための回路の規模を小さくし、かつコストを下げる
ことが要望されている。
In recent years, with the development of networks, frame data coming from an external line is sometimes treated as a multi-frame structure in order to improve data reliability. In this case, it is necessary to perform speed conversion and phase correction of the data.
There is a demand for reducing the scale of the circuit and lowering the cost.

〔従来の技術〕[Conventional technology]

第3図は従来回路の一例のブロック図を示す。 FIG. 3 shows a block diagram of an example of a conventional circuit.

同図中、端子10.11夫々には外部の回線より受信し
た受信データ(RDa t a)及び受信データより抽
出したクロック(RCLK)が供給され、マルチフレー
ム同期検出回路12てフレーム同期ビットを検出してマ
ルチフレームパルス(MFP)を生成する。受信データ
(RData)はクロック(RCLK)により速度変換
用のRAMであるフレームアライナ−(FA)13に順
次書込まれる。
In the same figure, terminals 10 and 11 are supplied with received data (RData) received from an external line and a clock (RCLK) extracted from the received data, and a multi-frame synchronization detection circuit 12 detects a frame synchronization bit. to generate a multi-frame pulse (MFP). Received data (RData) is sequentially written into a frame aligner (FA) 13, which is a speed conversion RAM, by a clock (RCLK).

パルスジェネレータ(PC)14は端子15゜16夫々
より受信データとは同期が異なる装置内のシステムクロ
ック(SYSCLK)及びシステムフレームパルス(S
YSFP)夫々を供給されてマルチフレーム用のアドレ
ス及び各種タイミング信号を生成する。
A pulse generator (PC) 14 generates a system clock (SYSCLK) and a system frame pulse (S
YSFP) to generate multi-frame addresses and various timing signals.

フレームアライナ13はパルスジェネレータ14よりの
読出しクロックによりデータを読出され、このデータは
シリアル/パラレル変換器(S/P)20でパラレルデ
ータとされて位相補正用のRAM21に書込まれる。
Data is read from the frame aligner 13 by a read clock from a pulse generator 14, and this data is converted into parallel data by a serial/parallel converter (S/P) 20 and written into a RAM 21 for phase correction.

アドレス位相変換回路22はマルチフレーム同期検出回
路12よりマルチフレームパルスが供給されたとき、パ
ルスジェネレータ14より供給されるマルチフレームア
ドレスの上位ビットで表わされるフレーム番号を位相差
として保持し、上記マルチフレームアドレスのアドレス
番号より位相差を差引いたアドレスを書込みアドレスと
してセレクタ(SEL)23に供給する。セレクタ23
はパルスジェネレータ14よりの制御パルスに応じて上
記書込みアドレスと、パルスジェネレータ14より読出
しアドレスとして供給されるマルチフレームアドレスと
を切換えてRAM21に供給し、RAM21はパルスジ
ェネレータ14よりの書込み/続出しパルスに応じてセ
レクタ23より供給されるアドレスにS/P 20より
のパラレルデータか書込まれ、かつデータか続出される
。この読出しデータはラッチ回路24にラッチされて端
子25より装置内の次段回路に供給される。
When a multiframe pulse is supplied from the multiframe synchronization detection circuit 12, the address phase conversion circuit 22 holds the frame number represented by the upper bits of the multiframe address supplied from the pulse generator 14 as a phase difference, and An address obtained by subtracting the phase difference from the address number of the address is supplied to the selector (SEL) 23 as a write address. Selector 23
switches the write address and the multi-frame address supplied as a read address from the pulse generator 14 according to the control pulse from the pulse generator 14 and supplies it to the RAM 21, and the RAM 21 receives the write/successive pulse from the pulse generator 14. Parallel data from the S/P 20 is written to the address supplied by the selector 23 in response to this, and the data is successively output. This read data is latched by the latch circuit 24 and supplied from the terminal 25 to the next stage circuit in the device.

つまりフレームアライナ−13において回線よりの受信
データの速度を装置内の速度と変換しており、またRA
M21で受信データのフレームの位相を装置内のマルチ
フレームの位相に合わせる位相補正を行なっている。
In other words, the frame aligner 13 converts the speed of data received from the line to the speed within the device, and the RA
At M21, phase correction is performed to match the phase of the received data frame with the phase of the multiframe within the device.

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

従来回路は変度変換用のRAMであるフレームアライナ
−13と位相補正用のRAM21と2つのRAMを必要
としており、特に装置内のマルチフレームのサイズが大
きな場合には上記2つのRAM夫々が大型化し、回路規
模か大型化するという問題かあった。
The conventional circuit requires two RAMs, the frame aligner 13 which is a RAM for variation conversion, and the RAM 21 for phase correction.Especially when the size of multi-frames in the device is large, each of the above two RAMs is large. There was a problem of increasing the circuit scale and increasing the size of the circuit.

本発明は上記の点に鑑みなされたもので、メモリが1個
で済み、回路規模の小型化が可能なマルチフレーム同期
回路を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a multi-frame synchronization circuit that requires only one memory and can be downsized in circuit scale.

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

本発明のマルチフレーム同期回路は、 回線よりシリアルに入来する受信データのフレーム同期
を検出してマルチフレーム同期パルスを生成するマルチ
フレーム同期検出回路と、装置内の基準となるシステム
フレームパルスとマルチフレーム同期パルスとの位相比
較を行なって位相差を得る位相比較回路と、 位相差をセットされた後、装置内のシステムクロックに
同期して書込みアドレスを生成するアドレスカウンタと
、 受信データをパラレルデータに変換するシリアル/パラ
レル変換回路と、 システムフレームパルス及びシステムクロックを基に読
出しアドレスを生成するアドレス発生回路と、 アドレスカウンタよりの書込みアドレスに従ってシリア
ル/パラレル変換回路よりのパラレルデータを書込み、
アドレス発生回路よりの読出しアドレスに従ってデータ
を読出し出力するデュアルポートのメモリとを有する。
The multi-frame synchronization circuit of the present invention includes a multi-frame synchronization detection circuit that detects frame synchronization of received data serially input from a line and generates a multi-frame synchronization pulse, and a multi-frame synchronization detection circuit that detects frame synchronization of received data serially input from a line, and a A phase comparison circuit that compares the phase with the frame synchronization pulse to obtain the phase difference; an address counter that generates a write address in synchronization with the system clock in the device after the phase difference is set; and a phase comparison circuit that converts the received data into parallel data. a serial/parallel conversion circuit that converts the data into a serial/parallel conversion circuit; an address generation circuit that generates a read address based on the system frame pulse and the system clock; and an address generation circuit that writes parallel data from the serial/parallel conversion circuit according to the write address from the address counter.
It has a dual port memory that reads and outputs data according to a read address from an address generation circuit.

〔作用〕[Effect]

本発明においては、受信データより検出して生成したマ
ルチフレーム同期パルスとシステムフレームパルスとの
位相差をセットし、かつシステムクロックに応じて書込
みアドレスを生成してパラレル化した受信データをデュ
アルポートメモリに書込み、システムフレームパルスと
システムクロックから生成された読出しアドレスで上記
メモリからデータを読出すため、単一のデュアルポート
メモリで速度変換及び位相補正を行なうことかでき、メ
モリの個数が従来に比して減少し、回路規模の小型化か
可能となる。
In the present invention, the phase difference between the multi-frame synchronization pulse detected and generated from the received data and the system frame pulse is set, and a write address is generated according to the system clock, and the parallelized received data is transferred to the dual port memory. Since data is written to the memory and read from the memory using a read address generated from the system frame pulse and system clock, speed conversion and phase correction can be performed using a single dual-port memory, reducing the number of memories compared to conventional memory. This decreases the number of circuits and enables miniaturization of the circuit scale.

〔実施例〕〔Example〕

第1図は本発明回路の1実施例回路図を示す。 FIG. 1 shows a circuit diagram of one embodiment of the circuit of the present invention.

同図中、端子30には受信データ(R,data)か入
来し、端子31には受信データより抽出した第2図(A
)に示すクロック(RCL K)か入来する。マルチフ
レーム同期検出回路32はクロックに同期して受信デー
タ中のフレーム同期ビットを検出し、第2図(B)に示
すマルチフレームパルス(MFP)を生成して位相比較
回路35に供給する。
In the figure, received data (R, data) is input to the terminal 30, and the terminal 31 receives the data extracted from the received data (A).
) is input. The multi-frame synchronization detection circuit 32 detects a frame synchronization bit in the received data in synchronization with the clock, generates a multi-frame pulse (MFP) shown in FIG. 2(B), and supplies it to the phase comparison circuit 35.

また、端子33.34夫々には第2図(I)。Further, each of the terminals 33 and 34 is shown in FIG. 2(I).

(C)に示すシステムクロック(SYSCLK)。System clock (SYSCLK) shown in (C).

システムフレームパルス(SYSFP)夫々か入来して
位相比較回路35に供給され、位相比較回路35は第3
図(D)に示す如くマルチフレームパルス(MFP)入
来時の受信データ(RData)をOフレームとしタロ
ツク(RCLK)をカウントし、第2図(E)に示すシ
ステムフレームパルス(SYSFP)の立上かり時の上
記カウント値(MAO〜MA3)をアドレスカウンタ4
゜に供給する。またシステムクロック(SYSCLK)
より第2図(F)に示すシリアル/パラレル変換用のパ
ルス(S/PCL)を生成してアドレスカウンタ40及
びシリアル/パラレル変換器(S/P)41夫々に供給
する。
Each system frame pulse (SYSFP) enters and is supplied to the phase comparison circuit 35, and the phase comparison circuit 35
As shown in Figure (D), the received data (RData) at the time of multi-frame pulse (MFP) input is set as an O frame, and the tarock (RCLK) is counted, and the system frame pulse (SYSFP) shown in Figure 2 (E) is started. The above count value (MAO to MA3) at the time of rising is sent to address counter 4.
Supply to ゜. Also, the system clock (SYSCLK)
From this, a pulse (S/PCL) for serial/parallel conversion shown in FIG. 2(F) is generated and supplied to the address counter 40 and the serial/parallel converter (S/P) 41, respectively.

シリアル/パラレル変換器41はマルチフレーム同期検
出回路32よりの受信データ(Rdata)をパルス(
S/PCL)に同期してパラレルデータに変換してデュ
アルポートRMA42のデータ入力端子DIO〜DI7
に供給する。
The serial/parallel converter 41 converts the received data (Rdata) from the multi-frame synchronization detection circuit 32 into pulses (
S/PCL) and convert it to parallel data and input it to the data input terminals DIO to DI7 of the dual port RMA42.
supply to.

アドレスカウンタ40はカウント値(MAO〜MA3.
)で指示されたフレーム番号を初期値としテパルス(S
/PCL)が入来する毎にフレーム番号をインクリメン
トし、このフレーム番号かマルチフレームのフレーム数
となるとフレーム番号を0に戻して、上記フレーム番号
を上位ビットとして含む第2図(G)に示す如き書込み
アドレスを生成しRAM42の書込みアドレス入力端子
ALO〜ALNに供給する。またRAM42には位相比
較回路35よりパルス(S/PCK)と同期のとれた第
2図(H)に示すライトイネーブルW■及びチップセレ
クト1か供給される。
The address counter 40 has a count value (MAO to MA3.
) with the frame number specified as the initial value and tepulse (S
/PCL) is incremented, and when this frame number or the number of multiframe frames is reached, the frame number is returned to 0, and the frame number is included as the upper bit as shown in Figure 2 (G). The write address is generated and supplied to the write address input terminals ALO to ALN of the RAM 42. Further, the RAM 42 is supplied with a write enable W and a chip select 1 shown in FIG. 2(H) which are synchronized with the pulse (S/PCK) from the phase comparison circuit 35.

これによって、RAM42には回線速度に合わせてデー
タの書込みか行なわれる。
As a result, data is written into the RAM 42 in accordance with the line speed.

また、アドレス発生回路としてのパルスジェネレータ(
PG)43はシステムフレームパルス(SYSFP)の
入来時にシステムクロック(SYSCL)か立上かると
きフレーム番号を0としてシステムクロックをカウント
した第2図(J)に示すフレーム番号を上位ビットとす
る読出しアドレスを生成してRAM42の読出しアドレ
ス入力端子ARO〜ARNに供給すると共に、システム
クロックに同期した第2図(K)に示すアウトプットイ
ネーブルJT及びチップセレクトでπ夫々を生成してR
AM42に供給する。これによってRAM42のデータ
出力端子からは第2図(L)に示す出力データ(TDa
 t a)が装置内速度で続出され、端子45より装置
内の次段回路に供給される。
In addition, a pulse generator (
PG) 43 is the frame number shown in Fig. 2 (J) that counts the system clock when the system clock (SYSCL) rises at the input of the system frame pulse (SYSFP) with the frame number being 0 as the upper bit. An address is generated and supplied to the read address input terminals ARO to ARN of the RAM 42, and π is generated by the output enable JT and chip select shown in FIG. 2 (K) synchronized with the system clock, respectively.
Supply to AM42. As a result, the data output terminal of the RAM 42 outputs the output data (TDa
t a) is successively outputted at the internal speed of the device, and is supplied from the terminal 45 to the next stage circuit in the device.

第3図の例ではシステムフレームパルスの立上かりの直
後にパラレルデータはフレーム番号「5」てデュアルポ
ートRAM42に書込まれ、またデュアルポー)RAM
42はシステムフレームパルスの入来後フレーム番号「
0」かう順に読出されることにより位相補正が行なわれ
る。
In the example of FIG. 3, immediately after the rising edge of the system frame pulse, parallel data is written to the dual port RAM 42 with frame number "5", and
42 is the frame number after the input of the system frame pulse.
0'' is read out in this order to perform phase correction.

このように、受信データより検出して生成したマルチフ
レーム同期パルスとシステムフレームパルスとの位相差
をセットし、かつシステムクロックに応じて書込みアド
レスを生成してパラレル化した受信データをデュアルポ
ートのRAM42に書込み、システムフレームパルスと
システムクロックから生成された読出しアドレスで上記
RAM42からデータを読出すため、単一のデュアルポ
ートRAM42で速度変換及び位相補正を行なうことか
でき、メモリの個数か従来に比して減少し、回路規模の
小型化が可能となる。
In this way, the phase difference between the multi-frame synchronization pulse detected and generated from the received data and the system frame pulse is set, the write address is generated according to the system clock, and the parallelized received data is transferred to the dual-port RAM 42. Since data is written to and read from the RAM 42 using a read address generated from the system frame pulse and the system clock, speed conversion and phase correction can be performed using a single dual port RAM 42, which reduces the number of memories compared to the conventional one. This makes it possible to reduce the size of the circuit.

〔発明の効果〕 上述の如く、本発明のマルチフレーム同期回路によれば
、単一のメモリでデータの速度変換及び位相補正を行な
うことができ、回路規模の小型化か可能となり、実用上
きわめて有用である。
[Effects of the Invention] As described above, according to the multi-frame synchronization circuit of the present invention, data speed conversion and phase correction can be performed with a single memory, making it possible to downsize the circuit scale, which is extremely practical in practice. Useful.

4、4,

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明回路の一実施例のブロック図、第2図は
本発明回路の信号タイミングチャート、第3図は従来回
路の一例のブロック図である。 図において、 32はマルチフレーム同期検出回路、 35は位相比較回路、 40はアドレスカウンタ、 41はシリアル/パラレル変換器、 42はデュアルポートRAM。 43はパルスジェネレータ を示す。
FIG. 1 is a block diagram of an embodiment of the circuit of the present invention, FIG. 2 is a signal timing chart of the circuit of the present invention, and FIG. 3 is a block diagram of an example of a conventional circuit. In the figure, 32 is a multi-frame synchronization detection circuit, 35 is a phase comparison circuit, 40 is an address counter, 41 is a serial/parallel converter, and 42 is a dual port RAM. 43 indicates a pulse generator.

Claims (1)

【特許請求の範囲】 回線よりシリアルに入来する受信データのフレーム同期
を検出してマルチフレーム同期パルスを生成するマルチ
フレーム同期検出回路(32)と、 装置内の基準となるシステムフレームパルスと該マルチ
フレーム同期パルスとの位相比較を行なって位相差を得
る位相比較回路(35)と、該位相差をセットされた後
、該装置内のシステムクロックに同期して書込みアドレ
スを生成するアドレスカウンタ(40)と、 該受信データをパラレルデータに変換するシリアル/パ
ラレル変換回路(41)と、 該システムフレームパルス及びシステムクロックを基に
読出しアドレスを生成するアドレス発生回路(43)と
、 該アドレスカウンタ(40)よりの書込みアドレスに従
って該シリアル/パラレル変換回路(41)よりのパラ
レルデータを書込み、該アドレス発生回路(43)より
の読出しアドレスに従ってデータを読出し出力するデュ
アルポートのメモリ(42)とを有することを特徴とす
るマルチフレーム同期回路。
[Claims] A multi-frame synchronization detection circuit (32) that detects frame synchronization of received data serially input from a line and generates a multi-frame synchronization pulse; A phase comparison circuit (35) that performs phase comparison with the multi-frame synchronization pulse to obtain a phase difference; and an address counter (35) that generates a write address in synchronization with the system clock within the device after the phase difference is set. 40), a serial/parallel conversion circuit (41) that converts the received data into parallel data, an address generation circuit (43) that generates a read address based on the system frame pulse and the system clock, and the address counter (40); A dual-port memory (42) writes parallel data from the serial/parallel conversion circuit (41) according to a write address from 40), and reads and outputs data according to a read address from the address generation circuit (43). A multi-frame synchronization circuit characterized by:
JP2251057A 1990-09-20 1990-09-20 Multi-frame synchronization circuit Pending JPH04129439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2251057A JPH04129439A (en) 1990-09-20 1990-09-20 Multi-frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2251057A JPH04129439A (en) 1990-09-20 1990-09-20 Multi-frame synchronization circuit

Publications (1)

Publication Number Publication Date
JPH04129439A true JPH04129439A (en) 1992-04-30

Family

ID=17216983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2251057A Pending JPH04129439A (en) 1990-09-20 1990-09-20 Multi-frame synchronization circuit

Country Status (1)

Country Link
JP (1) JPH04129439A (en)

Similar Documents

Publication Publication Date Title
JPS60164A (en) Synchronizing circuit of television frame signal
JPS62112485A (en) Video signal circuit having time base correcting function
JPH04129439A (en) Multi-frame synchronization circuit
US7248663B2 (en) Apparatus and method for transforming data transmission speed
JP2870287B2 (en) Integrating circuit
JPH0520799A (en) 1-7 encoding circuit of magnetic disk device
JPS59131214A (en) Signal delay circuit
JPH04119738A (en) Frame synchronizing circuit
JP3031554B2 (en) Image processing device
JPH1146188A (en) Synchronization processing system for measurement signal
JPH04258047A (en) Data converter
JPS5972845A (en) Asynchronous data receiving circuit
JPH0863387A (en) Device for reading out memory
JPH07244575A (en) Speed converting circuit
JPH04156130A (en) Frame aligner system
JPS61240726A (en) Memory circuit device
JPH0514329A (en) Burst signal reception circuit
JPH08316944A (en) Phase adjustment circuit
JPS60132445A (en) Asynchronous data terminal store device
JPH02211749A (en) Speed changing circuit
JPS58200673A (en) Start timing decision circuit
JPH03133226A (en) Frame phase synchronization circuit
JPH05327817A (en) Data transfer method and device therefor
JPH10242808A (en) Semiconductor integrated circuit device
JPH01228228A (en) Multiplex frame aligner circuit