JPH09270774A - Synchronism pull-in circuit - Google Patents

Synchronism pull-in circuit

Info

Publication number
JPH09270774A
JPH09270774A JP8099409A JP9940996A JPH09270774A JP H09270774 A JPH09270774 A JP H09270774A JP 8099409 A JP8099409 A JP 8099409A JP 9940996 A JP9940996 A JP 9940996A JP H09270774 A JPH09270774 A JP H09270774A
Authority
JP
Japan
Prior art keywords
circuit
error
mode
reference data
data
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
JP8099409A
Other languages
Japanese (ja)
Inventor
Hiroshi Nagai
博 永井
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.)
Ando Electric Co Ltd
Original Assignee
Ando 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 Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP8099409A priority Critical patent/JPH09270774A/en
Publication of JPH09270774A publication Critical patent/JPH09270774A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a circuit capable of performing synchronism pull-in at a high speed. SOLUTION: At the time of a synchronism pull-in mode, the reference data 41 of a storage circuit 4 are read by an added address 11 for which an address specifying signal 31 and a phase difference setting value are added and simultaneously, reception data are held in a latch circuit 6 by a holding pulse 42 and also an error counter circuit 10 starts counting. When the reference data 41 and the reception data match, the counting of the error counter circuit 10 is stopped and the error counted value 105A of the phase difference of the reference data 41 and the reception data is obtained. At the time of an error measurement mode, by the compared result of the reception data 102A and the reference data 41 read from the storage circuit 4 by the added address 11 of a value for which '1' is added to the error counted value 105A of the phase difference and the address specifying signal 31, the error counter circuit 10 performs up- counting to the error counted value 105A of the phase difference and the error counted value is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は同期引き込み回路
に関し、特に受信データのデータ列の符号誤りを測定す
る回路における受信データの同期引き込み回路に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sync pull-in circuit, and more particularly to a receive data sync pull-in circuit in a circuit for measuring a code error in a data string of received data.

【0002】[0002]

【従来の技術】受信されたデータ列の誤りを測定する符
号誤りを測定するための同期引き込み回路においては、
受信データ列と、内部で発生した参照データを比較して
誤りを測定する。誤りを測定するためには、この参照す
るデータは受信データに同期する必要がある。
2. Description of the Related Art In a sync pull-in circuit for measuring a code error for measuring an error in a received data string,
An error is measured by comparing the received data string with the internally generated reference data. In order to measure the error, this referenced data needs to be synchronized with the received data.

【0003】従来、この同期を引き込むために、参照す
るデータを1クロックづつ遅延させて同期の引き込みを
行っている。図3は従来の同期引き込み回路の構成を示
すブロック図である。この図3に示す従来の同期引き込
み回路では、クロック入力端101に入力されたクロッ
ク信号101Aがゲート回路2に入力される。
Conventionally, in order to pull in this synchronization, the reference data is delayed by one clock to pull in the synchronization. FIG. 3 is a block diagram showing the configuration of a conventional sync pull-in circuit. In the conventional synchronous pull-in circuit shown in FIG. 3, the clock signal 101A input to the clock input terminal 101 is input to the gate circuit 2.

【0004】ゲート回路7の他方の入力端には、クロッ
ク制御端子200からのクロック制御信号200Aが入
力されるようになっており、このクロック制御信号20
0Aがゲート回路2でゲートしない状態であるとすれ
ば、ゲート回路2は、ゲート回路2はクロック信号10
1Aを通過させ、カウンタ回路回路3へゲート回路2の
出力信号として、クロック信号21が入力されるように
している。
A clock control signal 200A from a clock control terminal 200 is inputted to the other input end of the gate circuit 7, and this clock control signal 20 is supplied.
Assuming that 0A is not gated by the gate circuit 2, the gate circuit 2 outputs the clock signal 10
The clock signal 21 is input to the counter circuit circuit 3 as an output signal of the gate circuit 2 through 1A.

【0005】カウンタ回路回路3は入力されたクロック
信号21によりアドレス指定信号31を発生し、記憶回
路4に出力する。記憶回路4はこのアドレス指定信号3
1により指定されたアドレスから参照データ41を順次
読み出す。
The counter circuit circuit 3 generates an address designation signal 31 by the input clock signal 21 and outputs it to the storage circuit 4. The memory circuit 4 uses this addressing signal 3
The reference data 41 is sequentially read from the address designated by 1.

【0006】参照データ41は比較回路7へ入力され、
受信データ入力端子102からの受信データ102と比
較される。比較回路7の比較結果71は、誤りカウンタ
回路10で計数され、誤り数出力端子105から計数値
105Aが出力される。
The reference data 41 is input to the comparison circuit 7,
It is compared with the received data 102 from the received data input terminal 102. The comparison result 71 of the comparison circuit 7 is counted by the error counter circuit 10, and the count value 105A is output from the error number output terminal 105.

【0007】誤りカウンタ回路10の計数値105Aが
一定誤り以上の場合には、同期がとれていないと判断
し、クロック信号21を制御するゲート回路2へクロッ
クを停止するクロック制御信号200Aを入力する。
When the count value 105A of the error counter circuit 10 is equal to or larger than a certain error, it is determined that the synchronization is not established, and the clock control signal 200A for stopping the clock is input to the gate circuit 2 for controlling the clock signal 21. .

【0008】クロック制御信号200Aがゲート回路2
へ入力されると、クロック信号21が停止し、これによ
り受信データ102Aに対し、参照データ41の発生が
遅延する。この動作を受信データ102Aと参照データ
41とが一致するまで繰り返すことで同期を引き込む。
The clock control signal 200A is applied to the gate circuit 2
, The clock signal 21 is stopped, which delays the generation of the reference data 41 with respect to the received data 102A. By repeating this operation until the received data 102A and the reference data 41 match, synchronization is pulled in.

【0009】[0009]

【発明が解決しようとする課題】従来の同期引き込み回
路では、1クロックずつ参照データを遅延させて受信デ
ータ102Aと一致をとるため、データ長が長くなれば
なるほど同期に時間がかかる。
In the conventional synchronization pull-in circuit, since the reference data is delayed by one clock to match the received data 102A, the longer the data length, the longer the synchronization takes.

【0010】[0010]

【課題を解決するための手段】上記の課題を解決するた
め、この発明による同期引き込み回路は、参照データを
記憶しかつ周期パターンの保持パルスを発生する記憶回
路4と、同期引き込みモード時にはアドレス指定信号と
位相差設定値との加算アドレスで記憶回路4から参照デ
ータと前記保持パルスを出力させ、誤り測定モード時に
は前記同期引き込みモード時に測定された参照データと
受信データとの位相差のずれ分と前記アドレス指定信号
との加算アドレスで記憶回路4から順次参照データを読
み出す加算回路1と、前記同期引き込みモード時に前記
保持パルスにより前記受信データを保持する保持手段6
と、前記同期引き込みモード時および前記誤り測定モー
ド時に前記参照データと前記受信データとの比較を行う
比較回路7と、前記同期引き込みモード時に前記保持パ
ルスによりカウントを開始して比較回路7が前記参照デ
ータと前記受信データとの一致検出時にカウントを停止
して前記参照データと前記受信データとの前記位相差の
ずれ分を計数し、かつ前記誤り測定モード時には比較回
路7による前記参照データと前記受信データとの比較結
果を受信データのデータ列の符号の誤りとして計数する
誤りカウンタ回路10と、前記同期引き込みモード時に
前記保持パルスにより誤りカウンタ回路10のカウント
開始を行わせ、かつ比較回路7の比較結果で誤りカウン
タ回路10のカウントを停止させるとともに、前記誤り
測定モード時に比較回路7による前記参照データと前記
受信データとの比較結果により誤りカウンタ回路10に
前記符号の誤りの計数を行わせるリセット・スタート手
段を備える。
In order to solve the above problems, a synchronous pull-in circuit according to the present invention comprises a memory circuit 4 for storing reference data and generating a holding pulse of a periodic pattern, and an address designation in the synchronous pull-in mode. The reference data and the holding pulse are output from the memory circuit 4 at the addition address of the signal and the phase difference set value, and the phase difference difference between the reference data and the reception data measured in the synchronous pull-in mode is output in the error measurement mode. An adder circuit 1 for sequentially reading reference data from a memory circuit 4 at an addition address with the address designation signal, and a holding means 6 for holding the received data by the holding pulse in the synchronous pull-in mode.
A comparator circuit 7 for comparing the reference data with the received data in the synchronous pull-in mode and the error measurement mode; and a comparator circuit 7 for starting counting by the holding pulse in the synchronous pull-in mode to make the reference When the coincidence between the data and the received data is detected, the counting is stopped to count the deviation of the phase difference between the reference data and the received data, and in the error measurement mode, the reference data and the reception by the comparison circuit 7 are received. An error counter circuit 10 that counts the result of comparison with the data as an error in the code of the data string of the received data, and the holding pulse causes the error counter circuit 10 to start counting in the synchronous pull-in mode, and the comparison circuit 7 compares As a result, the counting of the error counter circuit 10 is stopped, Comprising a reset start means for causing the counting of the error of the code to the error counter circuit 10 by comparison with the reference data by the circuit 7 and the reception data.

【0011】[0011]

【発明の実施の形態】この発明によれば、同期引き込み
モード時にアドレス指定信号と位相差設定値とを加算回
路1で加算した加算アドレスにより記憶回路4の参照デ
ータを読み出すと同時に、保持パルスで受信データをラ
ッチ回路6でラッチし、誤りカウンタ回路10がカウン
トを開始し、参照データと受信データと一致した場合
に、誤りカウンタ回路10のカウントを停止し、参照デ
ータと受信データとの位相差の誤差を計数し、誤り測定
モード時には、位相差の誤差の計数値とアドレス指定信
号とを加算回路1で加算して加算アドレスを算出し、加
算アドレスで記憶回路4から参照データを読み出し、参
照データと受信データとを比較回路7で比較し、比較結
果により、誤りカウンタ回路10が位相差の誤差の計数
値にアップ・カウントし、誤差計数値を得る。
According to the present invention, in the synchronous pull-in mode, the reference data of the memory circuit 4 is read at the same time as the holding data by the addition address obtained by adding the address designation signal and the phase difference setting value by the addition circuit 1. The received data is latched by the latch circuit 6, the error counter circuit 10 starts counting, and when the reference data and the received data match, the count of the error counter circuit 10 is stopped and the phase difference between the reference data and the received data is reached. Error is counted, and in the error measurement mode, the count value of the phase difference error and the address designation signal are added by the adder circuit 1 to calculate the added address, and the reference data is read from the memory circuit 4 at the added address and referred to. The comparison circuit 7 compares the data with the received data, and the error counter circuit 10 counts up the error of the phase difference according to the comparison result. And, we obtain an error count.

【0012】次にこの発明の同期引き込み回路の実施の
形態について図面を参照して説明する。図1はこの実施
の形態の構成を示すブロック図である。この図1におい
て、加算回路1は、位相差設定値入力端子103から位
相差設定値103Aとカウンタ回路回路3からのアドレ
ス指定信号31が入力されるようになっている。
Next, an embodiment of a sync pull-in circuit of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of this embodiment. In FIG. 1, the adder circuit 1 is configured so that the phase difference set value 103A and the address designation signal 31 from the counter circuit circuit 3 are input from the phase difference set value input terminal 103.

【0013】加算回路3は位相差設定値103Aとアド
レス指定信号31とを加算して、加算アドレス11を出
力して記憶回路4へ入力する。記憶回路4は、加算アド
レス11にしたがって参照データ41を比較回路7に出
力するとともに、パターン周期で保持パルス42を出力
し、保持パルス42をゲート回路5に出力するようにし
ている。記憶回路4は、保持パルス42を出力するため
に、データ・ビットを1ビット多く持っている。
The adder circuit 3 adds the phase difference set value 103A and the address designation signal 31 and outputs the added address 11 to the storage circuit 4. The storage circuit 4 outputs the reference data 41 to the comparison circuit 7 according to the addition address 11, outputs the holding pulse 42 at the pattern cycle, and outputs the holding pulse 42 to the gate circuit 5. The memory circuit 4 has one more data bit in order to output the hold pulse 42.

【0014】モード切替制御入力端子104は、同期引
き込みと誤り測定のモードの切替えを行うためのモード
切替え制御信号104Aが入力され、モード切替え制御
信号104Aがゲート回路5と2対1セレクタ9に入力
されるようになっている。
The mode switching control input terminal 104 receives a mode switching control signal 104A for switching between synchronous pull-in and error measurement modes, and the mode switching control signal 104A is input to the gate circuit 5 and the 2-to-1 selector 9. It is supposed to be done.

【0015】モード切替え制御信号104Aは、同期引
き込みモードか誤り測定モードかの切替えを行う信号で
あり、誤り測定モード時にモード切替え制御信号104
Aがゲート回路5に入力されると、ゲート回路5のゲー
トを閉じて、保持パルス42をラッチ回路6に入力させ
ないようにし、誤り測定モード時には、ゲート回路5か
ら出力する保持パルス51をSRフリップ・フロップ8
のS端子と誤りカウンタ回路10に送出するようになっ
ている。
The mode switching control signal 104A is a signal for switching between the synchronous pull-in mode and the error measurement mode, and the mode switching control signal 104 in the error measurement mode.
When A is input to the gate circuit 5, the gate of the gate circuit 5 is closed so that the holding pulse 42 is not input to the latch circuit 6, and in the error measurement mode, the holding pulse 51 output from the gate circuit 5 is SR flipped.・ Flop 8
Is sent to the S terminal and the error counter circuit 10.

【0016】ゲート回路5から保持パルス51が保持手
段としてのラッチ回路6に入力されると、ラッチ回路6
は受信デー102Aを保持し、ラッチ回路6の出力信号
61(受信データ)は比較回路7に入力されるようにな
っている。
When the holding pulse 51 is input from the gate circuit 5 to the latch circuit 6 as a holding means, the latch circuit 6
Holds the reception data 102A, and the output signal 61 (reception data) of the latch circuit 6 is input to the comparison circuit 7.

【0017】比較回路7は、参照データ41と出力信号
61とを比較し、この両者が一致した場合には、一致信
号71をSRフリップ・フロップ8のR端子と2対1セ
レクタ9に出力するようにしている。
The comparison circuit 7 compares the reference data 41 and the output signal 61, and when they match, outputs a match signal 71 to the R terminal of the SR flip-flop 8 and the 2-to-1 selector 9. I am trying.

【0018】2対1セレクタ9は、誤り測定モード時に
は、モード切替え制御信号104Aにより、比較回路7
の出力信号、すなわち、一致信号71を選択し、イネー
ブル信号91を誤りカウンタ回路10に出力するように
している。このSRフリップ・フロプ8と2対1セレク
タ9は誤りカウンタ回路10のリセット・スタート手段
となるものである。
In the error measurement mode, the 2-to-1 selector 9 receives the comparison signal from the comparison circuit 7 by the mode switching control signal 104A.
Output signal, that is, the coincidence signal 71 is selected and the enable signal 91 is output to the error counter circuit 10. The SR flip-flop 8 and the 2: 1 selector 9 serve as reset / start means of the error counter circuit 10.

【0019】カウンタ回路1と10には、クロック入力
端子101からのクロック信号101Aが入力されるよ
うになっている。このうち、カウンタ回路1はクロック
信号101Aをカウントしてアドレス指定信号31を出
力し、誤りカウンタ回路10は、ゲート回路5から出力
される保持パルス51を入力するとリセットされ、引き
込みモード時に2対1セレクタ9からのイネーブル信号
91によりクロック信号101Aのカウントを開始し、
比較回路7で参照データ41とラッチ回路6の出力信号
61とが一致したことを検出すると、2対1セレクタ9
により、誤りカウンタ回路10は受信データ102Aと
参照データ41との位相差としてずれ分のクロック数計
数値105Aとして誤り計数値出力端子105から出力
するようにしている。
A clock signal 101A from a clock input terminal 101 is input to the counter circuits 1 and 10. Of these, the counter circuit 1 counts the clock signal 101A and outputs the address designation signal 31, and the error counter circuit 10 is reset when the holding pulse 51 output from the gate circuit 5 is input and is set to 2: 1 in the pull-in mode. The counting of the clock signal 101A is started by the enable signal 91 from the selector 9,
When the comparison circuit 7 detects that the reference data 41 and the output signal 61 of the latch circuit 6 match, the 2-to-1 selector 9
As a result, the error counter circuit 10 outputs from the error count value output terminal 105 as the clock count value 105A corresponding to the phase difference between the received data 102A and the reference data 41.

【0020】次に、以上のように構成されたこの実施の
形態の動作について、まず、同期引き込みモード時の動
作から図2にタイムチャートを参照して説明する。同期
引き込みモード時においては、ゲート回路5はゲートし
ない状態、2対1セレクタ9はSRフリップフロップ8
の出力信号81を選択する状態とする。
Next, the operation of this embodiment configured as described above will be described first with reference to the time chart in FIG. 2 from the operation in the synchronous pull-in mode. In the synchronous pull-in mode, the gate circuit 5 is not gated, the 2-to-1 selector 9 is the SR flip-flop 8
The output signal 81 is selected.

【0021】時刻T1においては、位相差設定値入力端
子103の図2(c)に示す位相差設定値103Aは位
相差0を設定する。カウンタ回路3から出力される図2
(b)に示すアドレス指定信号31が「0」、図2
(g)に示す受信データ102Aが「D4」とする。
At time T1, the phase difference set value 103A shown in FIG. 2 (c) of the phase difference set value input terminal 103 sets the phase difference 0. FIG. 2 output from the counter circuit 3
The addressing signal 31 shown in (b) is "0", and FIG.
The received data 102A shown in (g) is “D4”.

【0022】カウンタ回路3は図2(a)に示すクロッ
ク入力端子101から入力されるクロック信号101A
によりアドレス指定信号31を発生する。アドレス指定
信号31は、加算回路1に入力される。
The counter circuit 3 has a clock signal 101A input from the clock input terminal 101 shown in FIG.
Generates an addressing signal 31. The address designation signal 31 is input to the adder circuit 1.

【0023】加算回路1は、アドレス指定信号31
「0」と位相差設定値入力端子103からの位相差設定
値103Aの「0」とを加算し、図2(d)に示すよ
に、加算回路1の「0」の加算アドレス11を出力す
る。加算アドレス11は、記憶回路4へ入力され、記憶
回路4は、アドレス値「0」のときのデータ「D0」を
図2(e)に示すように、記憶回路4から参照データ4
1を順次読み出す。同時に記憶回路4はパターン周期で
保持パルス42を発生する。
The adder circuit 1 has an addressing signal 31.
"0" and "0" of the phase difference setting value 103A from the phase difference setting value input terminal 103 are added, and the addition address 11 of "0" of the adding circuit 1 is output as shown in FIG. To do. The addition address 11 is input to the memory circuit 4, and the memory circuit 4 changes the data “D0” when the address value is “0” from the memory circuit 4 to the reference data 4 as shown in FIG.
1 is sequentially read. At the same time, the memory circuit 4 generates the holding pulse 42 at the pattern cycle.

【0024】このとき、モード切替え制御端子104か
らの図2(h)に示すモード切替え制御信号104Aに
より、ゲート回路5のゲートが開き、図2(f)に示す
保持パルス42はゲート5を通過し、図2(i)に示す
保持パルス51として、ラッチ回路6とSRフリップフ
ロップ8と誤りカウンタ回路10に入力される。
At this time, the gate of the gate circuit 5 is opened by the mode switching control signal 104A shown in FIG. 2 (h) from the mode switching control terminal 104, and the holding pulse 42 shown in FIG. 2 (f) passes through the gate 5. Then, the holding pulse 51 shown in FIG. 2I is input to the latch circuit 6, the SR flip-flop 8 and the error counter circuit 10.

【0025】ラッチ回路6はこの保持パルス51によ
り、図2(g)に示す受信データ102Aの「D4」を
保持データとして、図2(j)に示す出力信号61をラ
ッチし、保持する。
With this holding pulse 51, the latch circuit 6 latches and holds the output signal 61 shown in FIG. 2 (j) with "D4" of the received data 102A shown in FIG. 2 (g) as holding data.

【0026】また、SRフリップフロップ8は保持パル
ス51により誤りカウンタ回路10をイネーブルにする
状態の出力信号81を図2(l)に示すように出力す
る。この出力信号81はモード切替え制御信号104A
により選択され、2対1セレクタ9を通過し、図2
(m)に示すイネーブル信号91として誤りカウンタ回
路10へ入力される。
Further, the SR flip-flop 8 outputs an output signal 81 in a state in which the error counter circuit 10 is enabled by the holding pulse 51, as shown in FIG. This output signal 81 is the mode switching control signal 104A.
2 through the 2-to-1 selector 9,
It is input to the error counter circuit 10 as an enable signal 91 shown in (m).

【0027】時刻T1以降、クロック信号101Aによ
り、誤りカウンタ回路10は、誤り計数値105Aを図
2(n)に示すように、カウント・アップしていき、計
数値出力端子105に出力する。
After time T1, the error counter circuit 10 counts up the error count value 105A by the clock signal 101A as shown in FIG. 2 (n), and outputs it to the count value output terminal 105.

【0028】次に、時刻T2での動作を説明する。この
時刻T2において、図2(e)に示す参照データ41と
ラッチ回路6の図2(J)に示す出力信号61が比較回
路7で比較されて、出力信号61が受信データ102A
の「D4」で一致したことが検出されると、比較回路7
から一致信号71が図2(k)に示すように出力され
る。
Next, the operation at time T2 will be described. At this time T2, the reference data 41 shown in FIG. 2 (e) and the output signal 61 of the latch circuit 6 shown in FIG. 2 (J) are compared by the comparison circuit 7, and the output signal 61 becomes the received data 102A.
When the coincidence is detected in “D4” of, the comparison circuit 7
To output a coincidence signal 71 as shown in FIG.

【0029】この比較回路7からの一致信号71がSR
フリップ・フロップ8のR端子に加えられ、SRフリッ
プ・フロップ8がリセットされる。このSRフリップ・
フロップ8の出力信号81は、モード切替え制御信号1
04Aにより2対1セレクタ9で選択され、イネーブル
信号91となって誤りカウンタ回路10に出力される。
The coincidence signal 71 from the comparison circuit 7 is SR
The SR flip-flop 8 is reset by being applied to the R terminal of the flip-flop 8. This SR flip
The output signal 81 of the flop 8 is the mode switching control signal 1
It is selected by the 2-to-1 selector 9 by 04A and is output to the error counter circuit 10 as the enable signal 91.

【0030】誤りカウンタ回路10はイネーブル信号9
1によりカウント停止状態となる。このときの受信デー
タ102Aと参照データ41との位相差として、ずれ分
のクロック数を誤りカウンタ回路10の誤り計数値10
5Aとして、計数値出力端子105に出力する。図2
(n)で示す場合、この誤り計数値105Aは「3」と
なる。
The error counter circuit 10 receives the enable signal 9
When 1, the count is stopped. As the phase difference between the received data 102A and the reference data 41 at this time, the number of clocks corresponding to the deviation is the error count value 10 of the error counter circuit 10.
5 A is output to the count value output terminal 105. FIG.
In the case of (n), the error count value 105A is "3".

【0031】次に、時刻T3以降の誤り測定モード時の
動作を説明する。時刻T3において、モード切替え制御
信号104Aを誤り測定モードへ切り替える。この誤り
測定モード時では、ゲート回路5は信号を停止するゲー
ト状態、ラッチ回路6は受信データ102Aが通過する
状態、2対1セレクタ9は比較回路7の一致信号71を
選択する状態となる。
Next, the operation in the error measurement mode after time T3 will be described. At time T3, the mode switching control signal 104A is switched to the error measurement mode. In this error measurement mode, the gate circuit 5 is in a gate state in which a signal is stopped, the latch circuit 6 is in a state in which the received data 102A passes, and the 2-to-1 selector 9 is in a state in which the coincidence signal 71 of the comparison circuit 7 is selected.

【0032】時刻T3において、位相差設定値入力端子
103において、位相差設定値103Aが計数値出力端
子105での位相差クロック数、すなわち誤り計数値1
05Aに「1」を加算した値、換言すれば、{(誤り計
数値105A)+1}=「4」を参照データ41と受信
データ102Aとの位相差として入力する。
At time T3, at the phase difference setting value input terminal 103, the phase difference setting value 103A is the number of phase difference clocks at the count value output terminal 105, that is, the error count value 1
A value obtained by adding “1” to 05A, in other words, {(error count value 105A) +1} = “4” is input as the phase difference between the reference data 41 and the reception data 102A.

【0033】時刻T3において、カウンタ回路3の出
力、すなわち、アドレス指定信号31の「8」と位相差
設定値103Aの「4」とを加算回路1で加算し、その
加算結果の加算アドレス11は「12」となり、記憶回
路4に出力する。記憶回路4は加算アドレス11が「1
2」のときのデータ「D12」を参照データ41として
読み出して比較回路7に出力する。
At time T3, the output of the counter circuit 3, that is, "8" of the address designation signal 31 and "4" of the phase difference set value 103A are added by the adder circuit 1, and the addition address 11 of the addition result is It becomes “12” and is output to the memory circuit 4. In the memory circuit 4, the addition address 11 is "1.
The data “D12” in the case of “2” is read as reference data 41 and output to the comparison circuit 7.

【0034】また、モード切り替え制御信号104Aが
ゲート回路5と2対1セレクタ9に入力され、ゲート回
路5にこのモード切り替え制御信号104Aが入力され
ることにより、記憶回路4からの保持パルス42は非保
持状態、すなわち、ゲート回路5のゲートが閉じて、保
持パルス42がラッチ回路6に入力されない状態とな
る。
Further, the mode switching control signal 104A is input to the gate circuit 5 and the 2-to-1 selector 9, and the mode switching control signal 104A is input to the gate circuit 5, whereby the holding pulse 42 from the memory circuit 4 is changed. In the non-holding state, that is, the gate of the gate circuit 5 is closed, and the holding pulse 42 is not input to the latch circuit 6.

【0035】したがって、ラッチ回路6は受信データ1
02Aの「D12」を通過させて、比較回路7に入力す
る。比較回路7では、この受信データ102Aの「D1
2」のデータと参照データ41の「D12」のデータと
を比較する。比較回路7の比較の結果、すなわち、一致
信号71はSRフリップ・フロップ8と2対1セレクタ
9に出力される。
Therefore, the latch circuit 6 receives the received data 1
It passes through “D12” of 02A and is input to the comparison circuit 7. In the comparison circuit 7, “D1 of the received data 102A is displayed.
The data "2" and the data "D12" of the reference data 41 are compared. The comparison result of the comparison circuit 7, that is, the coincidence signal 71 is output to the SR flip-flop 8 and the 2: 1 selector 9.

【0036】2対1セレクタ9には、モード切り替え制
御信号104Aが入力され、このモード切り替え制御信
号104Aにより2対1セレクタ9が一致信号71を選
択し、2対1セレクタ9からイネーブル信号91が誤り
カウンタ回路10に出力される。
The mode switching control signal 104A is input to the 2-to-1 selector 9, the 2-to-1 selector 9 selects the coincidence signal 71 by the mode-switching control signal 104A, and the enable signal 91 is output from the 2-to-1 selector 9. It is output to the error counter circuit 10.

【0037】誤りカウンタ回路10は、このイネーブル
信号91によりクロック信号101Aのカウントを行
い、誤り計数値105Aを計数値出力端子105に出力
する。次に、時刻T4において、図2(e)に示す受信
データ102Aのデータ「D17」に誤りが生じたとす
る。
The error counter circuit 10 counts the clock signal 101A by the enable signal 91 and outputs the error count value 105A to the count value output terminal 105. Next, at time T4, it is assumed that an error occurs in the data “D17” of the reception data 102A shown in FIG. 2 (e).

【0038】ラッチ回路6は受信データ102Aの誤っ
たデータ「D17」を通過させる。ラッチ回路6の出力
信号61、すなわち、データ「D17」は、参照データ
41のデータ「D17」と比較回路7で比較される。
The latch circuit 6 passes erroneous data "D17" of the received data 102A. The output signal 61 of the latch circuit 6, that is, the data “D17” is compared with the data “D17” of the reference data 41 by the comparison circuit 7.

【0039】比較回路7の比較結果として出力される一
致信号71は誤りを検出した状態となり、この誤った一
致信号71は2対1セレクタ9を通過し、2対1セレク
タ出力9の出力信号(イネーブル信号91)として誤り
カウンタ回路10へ入力される。
The coincidence signal 71 output as the comparison result of the comparison circuit 7 is in a state in which an error is detected, and this erroneous coincidence signal 71 passes through the 2-to-1 selector 9 and the output signal ( It is input to the error counter circuit 10 as an enable signal 91).

【0040】誤りカウンタ回路10は、この信号を受け
てカウントを行う。図2(n)の例では、誤りカウンタ
回路10の誤り計数値105Aは同期引き込みモードで
の位相差クロック数「3」から「4」へカウント・アッ
プする。位相差クロック数「3」は既知であるので、誤
り計数値は4−3=1となる。
The error counter circuit 10 receives this signal and counts. In the example of FIG. 2 (n), the error count value 105A of the error counter circuit 10 is counted up from "3" to "4" in the phase difference clock number in the synchronous pull-in mode. Since the phase difference clock number "3" is known, the error count value is 4-3 = 1.

【0041】[0041]

【発明の効果】この発明による同期引き込み回路は、同
期引き込みモード時にはアドレス指定信号と位相差設定
値とを加算した加算アドレスで記憶回路から参照データ
とパターン周期の保持パルスを発生し、保持パルスで受
信データをラッチ回路に保持させると同時に誤りカウン
タ回路のカウントを開始させ、参照データと受信データ
との一致時に誤りカウンタ回路のカウントを停止させ
て、参照データと受信データとの位相差の誤り計数値を
得る。誤り測定モード時には、同期引き込みモード時の
誤り計数値の位相差クロック数と誤り測定モード時にア
ドレス指定信号との加算結果により参照データを読み出
し、同期引き込みモード時の位相差クロック数からアッ
プ・カウントして誤り計数値をを求めるようにしたの
で、受信データと参照データとの位相差を一括で遅延さ
せることができ、同期引き込みが高速に行われるという
効果がある。
In the synchronous pull-in circuit according to the present invention, in the synchronous pull-in mode, the holding pulse of the reference data and the pattern period is generated from the storage circuit by the addition address obtained by adding the address designation signal and the phase difference setting value, and the holding pulse is used. The received data is held in the latch circuit and at the same time the error counter circuit starts counting, and when the reference data and the received data match, the error counter circuit stops counting and the error difference of the phase difference between the reference data and the received data is measured. Get the number. In the error measurement mode, the reference data is read according to the addition result of the phase difference clock of the error count value in the synchronous pull-in mode and the address designation signal in the error measurement mode, and is counted up from the phase difference clock in the synchronous pull-in mode. Since the error count value is obtained in this manner, the phase difference between the received data and the reference data can be delayed in a lump, and the synchronization pull-in can be performed at high speed.

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

【図1】この発明による同期引き込み回路の実施の形態
の構成を示す例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a configuration of an embodiment of a synchronization pull-in circuit according to the present invention.

【図2】図1の実施の形態の動作を説明するためのタイ
ムチャートである。
FIG. 2 is a time chart for explaining the operation of the embodiment of FIG.

【図3】従来の同期引き込み回路の構成を示すブロック
図である。
FIG. 3 is a block diagram showing a configuration of a conventional sync pull-in circuit.

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

1 加算回路 3 カウンタ回路 4 記憶回路 5 ゲート回路 6 ラッチ回路 7 比較回路 8 SRフリップフロップ 9 2対1セレクタ 10 誤りカウンタ回路 1 adder circuit 3 counter circuit 4 memory circuit 5 gate circuit 6 latch circuit 7 comparison circuit 8 SR flip-flop 9 2 to 1 selector 10 error counter circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 7/00 H04L 7/00 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04L 7/00 H04L 7/00 Z

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 参照データを記憶しかつ周期パターンの
保持パルスを発生する記憶回路(4) と、 同期引き込みモード時にはアドレス指定信号と位相差設
定値との加算アドレスで前記記憶回路(4) から参照デー
タと前記保持パルスを出力させ、誤り測定モード時には
前記同期引き込みモード時に測定された参照データと受
信データとの位相差のずれ分と前記アドレス指定信号と
の加算アドレスで前記記憶回路(4) から順次参照データ
を読み出す加算回路(1) と、 前記同期引き込みモード時に前記保持パルスにより前記
受信データを保持する保持手段(6) と、 前記同期引き込みモード時および前記誤り測定モード時
に前記参照データと前記受信データとの比較を行う比較
回路(7) と、 前記同期引き込みモード時に前記保持パルスによりカウ
ントを開始して前記比較回路(7) が前記参照データと前
記受信データとの一致検出時にカウントを停止して前記
参照データと前記受信データとの前記位相差のずれ分を
計数し、かつ前記誤り測定モード時には前記比較回路
(7) による前記参照データと前記受信データとの比較結
果を受信データのデータ列の符号の誤りとして計数する
誤りカウンタ回路(10)と、 前記同期引き込みモード時に前記保持パルスにより前記
誤りカウンタ回路(10)のカウント開始を行わせ、かつ前
記比較回路(7) の比較結果で前記誤りカウンタ回路(10)
のカウントを停止させるとともに、前記誤り測定モード
時に前記比較回路(7) による前記参照データと前記受信
データとの比較結果により前記誤りカウンタ回路(10)に
前記符号の誤りの計数を行わせるリセット・スタート手
段を備えることを特徴とする同期引き込み回路。
1. A storage circuit (4) for storing reference data and generating a holding pulse of a periodic pattern, and a storage circuit (4) for adding an address specifying signal and a phase difference set value in the synchronous pull-in mode. The storage circuit (4) outputs the reference data and the holding pulse, and in the error measurement mode, the addition amount of the shift amount of the phase difference between the reference data and the reception data measured in the synchronous pull-in mode and the address designation signal. An adder circuit (1) for sequentially reading reference data from, holding means (6) for holding the received data by the holding pulse in the synchronous pull-in mode, and the reference data in the synchronous pull-in mode and the error measurement mode A comparison circuit (7) for comparing with the received data, and starts counting by the holding pulse in the synchronous pull-in mode. The comparison circuit (7) stops counting when a match between the reference data and the received data is detected, counts a shift amount of the phase difference between the reference data and the received data, and, in the error measurement mode, Comparison circuit
An error counter circuit (10) for counting the comparison result of the reference data and the received data according to (7) as an error in the code of the data string of the received data, and the error counter circuit (10) due to the holding pulse in the synchronous pull-in mode. 10) is started, and the error counter circuit (10) is determined by the comparison result of the comparison circuit (7).
Resetting that causes the error counter circuit (10) to count the error of the code according to the comparison result of the reference data and the received data by the comparison circuit (7) in the error measurement mode. A synchronization pull-in circuit comprising start means.
【請求項2】 前記請求項1記載の同期引き込み回路に
おいて、 前記リセット・スタート手段は、前記同期引き込みモー
ド時に前記保持パルスにより前記誤りカウンタ回路(10)
をイネーブル状態にする出力信号を出力し、前記比較回
路(7) の一致検出時に前記誤りカウンタ回路(10)をカウ
ント停止状態にする出力を出力するSRフリップ・フロ
ップ(8) と、 前記同期引き込みモード時に前記SRフリップ・フロッ
プ(8) の出力により前記誤りカウンタ回路(10)にカウン
ト開始と停止を行わせ、かつ前記誤り測定モード時に前
記比較回路(7) により前記誤りカウンタ回路(10)に比較
結果を誤り数として計数させる2対1セレクタ(9) を備
えることを特徴とする同期引き込み回路。
2. The synchronous pull-in circuit according to claim 1, wherein the reset / start means uses the holding pulse to generate the error counter circuit (10) in the synchronous pull-in mode.
And an SR flip-flop (8) for outputting an output signal for enabling the error counter circuit (10) to stop counting when the comparison circuit (7) detects a match, and the synchronous pull-in. In the mode, the output of the SR flip-flop (8) causes the error counter circuit (10) to start and stop counting, and in the error measurement mode, the comparison circuit (7) causes the error counter circuit (10) to A synchronous pull-in circuit comprising a 2-to-1 selector (9) for counting the comparison result as the number of errors.
JP8099409A 1996-03-28 1996-03-28 Synchronism pull-in circuit Pending JPH09270774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8099409A JPH09270774A (en) 1996-03-28 1996-03-28 Synchronism pull-in circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8099409A JPH09270774A (en) 1996-03-28 1996-03-28 Synchronism pull-in circuit

Publications (1)

Publication Number Publication Date
JPH09270774A true JPH09270774A (en) 1997-10-14

Family

ID=14246692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8099409A Pending JPH09270774A (en) 1996-03-28 1996-03-28 Synchronism pull-in circuit

Country Status (1)

Country Link
JP (1) JPH09270774A (en)

Similar Documents

Publication Publication Date Title
KR20020002526A (en) A register controlled DLL using ring delay and counter
KR980009909U (en) Counter control device with time measurement function between signal pulses
JP2641276B2 (en) Two-stage synchronizer
US7281025B2 (en) Triggered DDS pulse generator architecture
JPH09270774A (en) Synchronism pull-in circuit
TW490568B (en) Timing generation circuit for semiconductor test system
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
JP2000049595A (en) Dll circuit
US6990596B2 (en) Memory device outputting read data in a time starting from a rising edge of an external clock that is shorter than that of known devices
JP2819127B2 (en) Phase measurement circuit
JPH10319097A (en) Timing generator for semiconductor testing device
JP2877433B2 (en) Waveform generation circuit
JPH0519024A (en) Method for testing integrated circuit
JPH09139730A (en) Elastic storage device
JP2856169B2 (en) Scan path circuit
JP2003051737A (en) Clock changeover circuit
JP2850671B2 (en) Variable delay circuit
JP2956920B2 (en) Mark rate 1/2 pattern regenerator
JPH09270773A (en) Synchronism pull-in circuit
JPH10311870A (en) Timing generator
JPH08316944A (en) Phase adjustment circuit
JPH0710042B2 (en) Timing signal generator
JPH09270781A (en) Digital signal synchronizing circuit
JPS603568A (en) Timing signal generating device
JPS6281840A (en) Synchronizing circuit