JP3516652B2 - Synchronization method and circuit of multi-bit signal - Google Patents

Synchronization method and circuit of multi-bit signal

Info

Publication number
JP3516652B2
JP3516652B2 JP2000365497A JP2000365497A JP3516652B2 JP 3516652 B2 JP3516652 B2 JP 3516652B2 JP 2000365497 A JP2000365497 A JP 2000365497A JP 2000365497 A JP2000365497 A JP 2000365497A JP 3516652 B2 JP3516652 B2 JP 3516652B2
Authority
JP
Japan
Prior art keywords
data
clock
signal
output
flip
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 - Fee Related
Application number
JP2000365497A
Other languages
Japanese (ja)
Other versions
JP2002171246A (en
Inventor
真二 相原
Original Assignee
エヌイーシーシステムテクノロジー株式会社
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 エヌイーシーシステムテクノロジー株式会社 filed Critical エヌイーシーシステムテクノロジー株式会社
Priority to JP2000365497A priority Critical patent/JP3516652B2/en
Publication of JP2002171246A publication Critical patent/JP2002171246A/en
Application granted granted Critical
Publication of JP3516652B2 publication Critical patent/JP3516652B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は多ビット信号の同
期化方法と回路とに関し、特に、クロックの変換を必要
とする段階における変換時の信号の同期化を確実にする
方法と回路に関する。
The present invention relates to relates to a synchronization method and circuitry of the multi-bit signal, in particular, to a method and a circuit to ensure synchronization of the conversion time of the signal in step requiring conversion clock.

【0002】[0002]

【従来の技術】従来、多ビット信号の同期化回路は、同
期化を多ビットのままで行っていた。多ビットで同期化
を行う場合には、同期ずれによるデータ化けを防止する
ために多ビット中で1ビットしか変化しないようなデー
タで同期化する必要があった。
2. Description of the Related Art Conventionally, in a multi-bit signal synchronizing circuit, the synchronization is performed with the multi-bit being kept as it is. In the case of performing synchronization with multiple bits, it is necessary to synchronize with data in which only one bit changes among the multiple bits in order to prevent data corruption due to synchronization shift.

【0003】[0003]

【発明が解決しようとする課題】上記の多ビット信号の
同期化には、データが変化する前後には1ビットしか変
化してはいけないという依存関係がある、という問題点
があった。
The above-mentioned synchronization of multi-bit signals has a problem that there is a dependency relationship that only one bit can change before and after data change.

【0004】本発明は、以上の問題点を解決し、データ
変化時に変化ビット数に影響を受けない多ビット信号の
同期化回路を提供することである。
An object of the present invention is to solve the above problems and to provide a multi-bit signal synchronizing circuit which is not affected by the number of changed bits when data changes.

【0005】[0005]

【課題を解決するための手段】本発明の多ビット信号の
同期化方法は、多ビット信号のデータを第1のクロック
に同期した号から第2のクロックに同期した号に
換する時、第1のクロックでデータを同期化するステ
ップと、多ビットデータ毎d1に前回のデータd2と変化
したことを検出するデータ変化検出ステップと、データ
変化検出ステップで検出により、データ変化検出手段
2から前回のデータd2を読み出してそのデータを保持
するデータ一時保持ステップと、データ変化検出信号k
1 を第2のクロックで同期化するデータ変化検出信号同
期化ステップと、一時保持されているデータの取込みを
許可する取込許可信号k3を生成して出力するデータ取
込許可生成ステップと、データ取込信号k3により一時
保持中の前回のデータを第2のクロックに同期した
データd3にして読み出すステップとを有する。
According to the method of synchronizing a multi-bit signal of the present invention, the data of the multi-bit signal is transferred to a first clock.
Synchronized when varying <br/> conversion into signals synchronized with the signal or we second clock, a step of synchronizing the data with the first clock, the previous data to the multi-bit data each d 1 to a data change detecting step of detecting a change with d 2, the detection in the data change detecting step, at data temporary hold its data from the data change detection unit 2 reads the previous data d 2 coercive Soo Step and data change detection signal k
A data change detection signal synchronization step of synchronizing 1 with a second clock, and a data capture permission generation step of generating and outputting a capture permission signal k 3 for permitting the capture of temporarily held data, signals that the last data in the temporary holding in the data acquisition signal k 3 is synchronized with the second clock
Having a step of reading in the data d 3 of.

【0006】また、データ変化検出ステップが、入力デ
ータを第1のクロックで同期をとって前回のデータとし
て出力するステップと、前回のデータd2と今回の入力
データd1との同一性を比較し、異なっている時デー
タ変化検出信号k 4 出力するデータ比較ステップと
ータ変化検出信号k4を入力し第1のクロックc1で同
期化し、データ変化検出信号を反転してk1として出力
するステップとからなり、データ変化検出信号同期化ス
テップが、データ変化検出信号 k1を反転して第2のク
ロックc2で同期化するステップを含み、データ取込許
可生成ステップが、第2のクロック 2 に同期化された
データ変化検出信号によりデータ取込許可生成信号k3
を発生出力するステップである同期化方法が一つの具
体的な実施態様である。
Further, the same data change detecting step, and outputting the input data as the first previous data synchronized with the clock, the previous data d 2 between the current input data d 1 a data comparison step of outputting the data <br/> data change detection signal k 4 when comparing the gender, are different,
Synchronize with the data change detection signal k 4 first clock c 1 Type and consists of a step of outputting the data change detection signal as k 1 is inverted, the data change detection signal synchronization step, data change The data acquisition permission generation step includes the step of inverting the detection signal k 1 and synchronizing with the second clock c 2 , and the data acquisition permission generation step is permitted by the data change detection signal synchronized with the second clock c 2. Generated signal k 3
Synchronization method is a step of generating output is one of the specific embodiment.

【0007】また、本発明の多ビット信号の同期化回路
は、多ビット信号のデータを第1のクロックに同期した
号から第2のクロックに同期した号に変換する多ビ
ット信号の同期回路であって、第1のクロックでデータ
を同期化する第1クロック動作回路1と、多ビットデー
タ毎d1に前回のデータd2と変化したことを検出するデ
ータ変化検出手段2と、データ変化検出手段2が出力す
るデータ変化検出信号k4によりデータ変化検出手段2
から前回のデータd2を読み出して保持するデータ一時
保持手段5と、データ変化検出信号k1 を第2のクロッ
クで同期化する同期化回路3と、データ一時保持手段5
からの保持されているデータの取込みを許可する取込許
可信号k3を生成して出力するデータ取込許可生成手段
4と、データ取込許可生成手段4のデータ取込信号k3
によりデータ一時保持手段5から当該多ビット信号のデ
ータを第2のクロックに同期した号のデータd3にし
て読み出す第2クロック動作手段6とを有する。
Further, the synchronization circuit of the multi-bit signal of the present invention converts the multi-bit data signals to signals in synchronism with the synchronized <br/> signal or we second clock to the first clock Many
A synchronization circuit of Tsu DOO signal, first and clocked circuit 1 to synchronize data at the first clock, the data change detection for detecting a change from the previous data d 2 to the multi-bit data each d 1 a means 2, the data change detecting means 2 outputs the data change detection signal k 4 by the data change detecting means 2
The data temporary holding means 5 for reading and holding the previous data d 2 from the above, the synchronization circuit 3 for synchronizing the data change detection signal k 1 with the second clock, and the data temporary holding means 5
Data capture permission generation means 4 for generating and outputting a capture permission signal k 3 for permitting the capture of the data held from the data capture signal k 3 of the data capture permission generation means 4.
A second clocked means 6 read out from the data temporary storage unit 5 in the data d 3 of the signal in synchronization with data of the multi-bit signal to the second clock, the by.

【0008】また、データ変化検出手段2が、入力デー
タd1 と第1のクロックc1とを入力とし、第1のクロッ
1 に同期して出力する第1のフリップフロップ21
と、第1のフリップフロップ21の出力である前回のデ
ータd2 と入力データd1との同一性を比較し、異なって
いる時データ変化検出信号k4を出力するコンパレー
タ22と、データ変化検出信号k 4を入力し第1のクロ
ックc1で同期化し、第1のインバータ2によりデー
タ変化検出信号を反転してk1として出力する第2のフ
リップフロップ24とからなり、第2の同期化手段3
、第2のフリップフロップ24の出力k1と第2のク
ロックc2とを入力する第3のフリップフロップ25
と、第3のフリップフロップ25の出力を入力し、第2
のクロックc2で同期化する第4のフリップフロップ2
6とからなり、データ取込許可生成手段4が、第4のフ
リップフロップ26の出力k2と、第5のフリップフロ
ップ29の出力との排他的論理和をとり第4のフリップ
フロップ26のデータ変化検出信号に基づく反転出力に
より反転出力を出力する第1のEXORゲート27と
1のEXORゲート27の出力を第2のクロックc2
により同期し、第2のインバータ28により反転して
取り込む第5のフリップフロップ29と、第5のフリッ
プフロップ29の出力を第2のクロックc2で同期化
第2のEXORゲート31の出力を取り込む第6の
フリップフロップ30と、第5のフリップフロップ29
の出力と第6のフリップフロップ30の出力を入力とす
る第2のEXORゲート31とからなる多ビット信号
の同期化回路が具体的な本発明の一実施態様である。
Further, the data change detecting means 2 inputs the input data d 1 and the first clock c 1, the first flip-flop 21 to output in synchronization with the first clock c 1
If, by comparing the identity of the output a previous data d 2 is the input data d 1 of the first flip-flop 21, a comparator 22 for outputting a data change detection signal k 4 When different, de synchronizing the first clock c 1 enter the over data change detection signal k 4, made from the second flip-flop 24 for outputting the first inverter 2 3 as k 1 by inverting the data change detection signal , Second synchronization means 3
But the third flip-flop 25 to input and output k 1 of the second flip-flop 24 and a second clock c 2
And the output of the third flip-flop 25,
Fourth flip-flop 2 which is synchronized with the clock c 2 of
6, the data fetching permission generating means 4 takes the exclusive OR of the output k 2 of the fourth flip-flop 26 and the output of the fifth flip-flop 29 and outputs the data of the fourth flip-flop 26 . A first EXOR gate 27 that outputs an inverted output by an inverted output based on the data change detection signal ,
The output of the first EXOR gate 27 is set to the second clock c 2
By synchronizing, the fifth flip-flop 29 takes in the inverted by the second inverter 28, the output of the fifth flip-flop 29 synchronizes with the second clock c 2, the output of the second EXOR gate 31 And a fifth flip-flop 29 for taking in
Synchronization circuit of the output and the second EXOR gate 31 which receives the output of flip-flop 30 of the sixth multi-bit signal consisting of is an exemplary specific embodiments of this invention.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明の多ビット信
号の同期化方法が適用された多ビット信号の同期化回路
の一実施の形態である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows an embodiment of a multi-bit signal synchronization circuit to which the multi-bit signal synchronization method of the present invention is applied.

【0010】本実施の形態の同期化回路第1のクロ
ックに基づいて出力する第1のクロック動作回路1と、
第1のクロック動作回路が出力した多ビット信号データ
1とその前回出力されたデータd2とを比較してデータ
の変化を検出するデータ変化検出部2と、データ変化検
出を通知する信号k4により、前回のデータd2を第1の
クロックで保持するデータ一時保持部5と、データ変化
検出信号k1 を第2のクロック 2 で同期化する同期化回
路3と、データ取り込みを指示するデータ取込許可生成
部4と、その出力するデータ取込許可信号k3によりデ
ータ一時保持部から多ビット信号データd3を第2のク
ロック 2 に同期した号のデータd3として取り込む第
2クロック動作回路6とからなる。
The synchronization circuit according to the present embodiment has a first clock
The first clock operation circuit 1 that outputs based on the clock,
A data change detection unit 2 for detecting a data change by comparing the multi-bit signal data d 1 output from the first clock operation circuit with the previously output data d 2 and a signal k for notifying the data change detection. 4 , the data temporary holding unit 5 that holds the previous data d 2 at the first clock, the synchronization circuit 3 that synchronizes the data change detection signal k 1 at the second clock c 2 , and the instruction for data acquisition a data acquisition permission generating unit 4 which, taken in as data acquisition permission signal k 3 data d 3 of the signal that is synchronized from the temporary holding section data to multi-bit signal data d 3 to the second clock c 2 by the output And a second clock operation circuit 6.

【0011】多ビット信号のデータ変化検出部2は、第
1クロック動作回路1から出力される多ビット信号d1
と1クロック前に保持していたデータを比較してデータ
が変化したかどうかを検出する。多ビット信号のデータ
変化検出部2は、データの変化を検出するとデータ一時
保持部5に対してデータを保持しておくように指示を出
す。
The multi-bit signal data change detection unit 2 outputs a multi-bit signal d 1 output from the first clock operation circuit 1.
And the data held one clock before are compared to detect whether the data has changed. When detecting a change in data, the multi-bit signal data change detection unit 2 gives an instruction to the data temporary holding unit 5 to hold the data.

【0012】また、多ビット信号のデータ変化検出部2
は、同期化回路3に対して第クロック動作回路1から
出力されているデータが変化したことを通知するため1
ビットの検出結果k 1 を反転させる。同期化回路3で
は、多ビット信号のデータ変化検出部2からの1ビット
の検出結果k1を第2クロック 2 で同期化する。
Further, the data change detection unit 2 for the multi-bit signal
1 to notify the synchronization circuit 3 that the data output from the first clock operation circuit 1 has changed.
The bit detection result k 1 is inverted. The synchronization circuit 3 synchronizes the 1-bit detection result k 1 in the second clock c 2 from the data change detection unit 2 of the multi-bit signal.

【0013】データ取込許可生成部4では、データ一時
保持部5からの一時保持データd3を第2クロック動作
回路6が受け取るためのデータ取り込み許可信号k3
生成し、第2クロック動作回路6に通知する。第2クロ
ック動作回路6では、データ取込許可生成部4からのデ
ータ取り込み許可信号k3によりデータ一時保持部5か
らの一時保持データd3を受け取る。
The data fetch permission generation unit 4 generates a data fetch permission signal k 3 for the second clock operation circuit 6 to receive the temporary holding data d 3 from the data temporary holding unit 5, and the second clock operation circuit Notify 6. The second clock operation circuit 6 receives the temporary holding data d 3 from the temporary data holding unit 5 in response to the data loading permission signal k 3 from the data loading permission generation unit 4.

【0014】次に、図2を参照して多ビット信号のデー
タ変化検出部2、同期化回路3およびデータ取込許可生
成部4の詳細を説明する。まず、多ビット信号のデータ
変化検出部2は、フリップフロップ(FF)21、コン
パレータ22、インバータ23、FF24から構成され
る。FF21は、第のクロック 1 に同期して動作し
ており第クロック動作回路1からのデータd1を保持
する。
Next, the details of the multi-bit signal data change detection unit 2, the synchronization circuit 3, and the data acquisition permission generation unit 4 will be described with reference to FIG. First, the data change detection unit 2 for a multi-bit signal includes a flip-flop (FF) 21, a comparator 22, an inverter 23, and an FF 24. FF21 holds data d 1 from the first clocked circuit 1 are operating in synchronism with the first clock c 1.

【0015】コンパレータ22は、第クロック動作回
路1とFF21の出力データを比較し、結果をFF24
へ通知する。第1のクロック 1 で動作するFF24
は、コンパレータ22からの比較結果により出力を反転
する。FF24の出力は、第2のクロックで動作するF
F25に入力される。次に、同期化回路3は、FF2
5、FF26から構成される。FF25は、第2のクロ
ック 2 で動作しており,第1のクロック 1 で動作して
いるFF24からの出力が入力される。FF26は、第
2のクロック 2 で動作しておりFF25の出力が入力
される。FF26の出力は、EXOR回路27に入力さ
れる。
The comparator 22 compares the output data of the first clock operating circuit 1 with the output data of the FF 21, and outputs the result to the FF 24.
Notify to. FF 24 operating with the first clock c 1
Inverts the output according to the comparison result from the comparator 22. The output of the FF 24 is F that operates on the second clock.
Input to F25. Next, the synchronization circuit 3 uses the FF2
5 and FF 26. The FF 25 is operating with the second clock c 2 , and the output from the FF 24 operating with the first clock c 1 is input. The FF 26 is operating with the second clock c 2 and the output of the FF 25 is input. The output of the FF 26 is input to the EXOR circuit 27.

【0016】最後に、データ取込許可生成部4は、EX
OR回路27、インバータ28、FF29、FF30、
EXOR回路31から構成される。EXOR回路27
は、FF26とFF29の出力が入力され、FF29の
出力反転の許可信号を作成する。FF29は、EXOR
回路27からの出力反転許可信号により出力を反転す
る。
Finally, the data acquisition permission generation unit 4 uses the EX
OR circuit 27, inverter 28, FF29, FF30,
It is composed of an EXOR circuit 31. EXOR circuit 27
Receives the outputs of FF26 and FF29 and creates a permission signal for inverting the output of FF29. FF29 is EXOR
The output is inverted by the output inversion permission signal from the circuit 27.

【0017】EXOR回路31には、FF29とFF3
0の出力が入力される。EXOR回路31は、第2クロ
ック動作回路6のデータ取り込み許可信号k3を生成
し、またFF30のラッチイネーブル信号としても使用
される。FF30は、EXOR回路31のデータ取り込
み許可信号k3により、F29の出力を取り込む。
The EXOR circuit 31 has FF29 and FF3.
The output of 0 is input. The EXOR circuit 31 generates the data fetch enable signal k 3 for the second clock operation circuit 6 and is also used as a latch enable signal for the FF 30. The FF 30 fetches the output of F F 29 in response to the data fetching permission signal k 3 of the EXOR circuit 31.

【0018】次に、図1の回路の動作について説明す
る。第1のクロック 1 を100MH、第2のクロッ
2 を120MH、同期化される多ビット信号を4
ビットと仮定して100MHの第1クロック動作回路
1から120MHの第2クロック動作回路6に4ビッ
ト信号が受け渡される動作を説明する。
Next, the operation of the circuit shown in FIG. 1 will be described. First clock c 1 to 100 MHz z, the second clock c 2 a 120MH z, a multi-bit signal that is synchronized 4
Illustrating a second clocked circuit 6 to operate the 4-bit signal is passed in the first clocked circuit 1 from 120MH z of 100 MHz z assuming bits.

【0019】100MHの第1クロック動作回路1か
ら出力される4ビット信号が16進数表現で“5h”か
ら“Ah”に変化したとすると、多ビット信号のデータ
変化検出部2ではデータ変化を検出してデータ一時保持
部5に“5h”のデータを保持するよう指示を出す。デ
ータ一時保持部5では、多ビット信号のデータ変化検出
部2からの検出結果k4が“1”となると、データd2
らの“5h”データを保持する。
[0019] When 4-bit signal output from the first clocked circuit 1 of the 100 MHz z is changed to "Ah" from "5h" in hexadecimal representation, the data changes in the data change detection unit 2 of the multi-bit signal Upon detection, the temporary data holding unit 5 is instructed to hold the data of "5h". The data temporary storage unit 5, a detection result k 4 from the data change detection unit 2 of the multi-bit signal becomes "1", holds the "5h" data from the data d 2.

【0020】また、多ビット信号のデータ変化検出部2
ではデータ変化を検出すると同期化回路3への1ビット
の検出結果k1を反転させる。“0”が出力されていた
として“1”に反転したと仮定する。同期化回路3で
は、多ビット信号のデータ変化検出部2からの1ビット
検出結果k1を120MHで同期化して、データ取込
許可生成部4に出力する。
Further, the data change detection unit 2 for the multi-bit signal
Then, when a data change is detected, the 1-bit detection result k 1 to the synchronizing circuit 3 is inverted. It is assumed that "0" has been output and is inverted to "1". The synchronization circuit 3, a 1-bit detection result k 1 from the data change detection unit 2 of the multi-bit signal to synchronize with 120MH z, and outputs the data acquisition permission generator 4.

【0021】データ取込許可生成部4では、同期化回路
3からの出力が“0”から“1”に変化したことを検出
して120MHの第2動作回路6のデータ取り込み許
可信号k3に“1”を出力する。120MH動作回路
6では、データ取り込み許可信号k3が“1”になった
らデータ一時保持部5からの一時保持データd3の“5
h”を取り込む。100MH動作回路1からのデータ
1がさらに“3h”へと変化すると同様に多ビット信
号のデータ変化検出部2ではデータが“Ah”から“3
h”に変化したことを検出してデータ一時保持部5に
“Ah”のデータを保持するよう指示を出す。
[0021] The data acquisition permission generating unit 4, data acquisition permission signal k 3 of the second operation circuit 6 of 120MH z by detecting a change from "1" to output "0" from the synchronization circuit 3 "1" is output to. In 120MH z operation circuit 6, temporarily holding data d 3 from the data temporary storage unit 5 Once the data capture permission signal k 3 becomes "1""5
".100MH z operation circuit 1 data d 1 is further from capturing" 3h "is a change to the same manner multibit signal in the data change detection unit 2 of the data to" Ah "from" 3 h
When the change to "h" is detected, the data temporary holding unit 5 is instructed to hold the "Ah" data.

【0022】また、同期化回路3への検出結果k 1
“1”から“0”へ反転させる。同期化回路3では、1
20MHで同期化する。データ取込許可生成部4への
出力は“1”から“0”へと変化する。データ取込許可
生成部4では、同期化回路3からの出力が“1”から
“0”へと変化したことを検出し、データ取り込み許可
信号k3に“1”を出力する。120MHの第2クロ
ック動作回路6では、データ取り込み許可信号が“1”
になるとデータ一時保持部5からの“Ah”を取り込
む。
The detection result k 1 to the synchronizing circuit 3 is also inverted from "1" to "0". In the synchronization circuit 3, 1
To synchronize with 20MH z. The output to the data acquisition permission generation unit 4 changes from "1" to "0". In the data acquisition permission generating unit 4 detects that the output from the synchronization circuit 3 is changed to "1" to "0", and outputs "1" to the data acquisition permission signal k 3. In the second clocked circuits 6 of 120MH z, data capture permission signal is "1"
Then, "Ah" from the temporary data holding unit 5 is fetched.

【0023】図2を参照すると、FF21は100HM
の第1クロック動作回路1からの4ビット信号を10
0MHのクロックに同期して取り込んでいる。コンパ
レータ22は、FF21の出力と100MHの第1ク
ロック動作回路1の出力を比較して同じデータなら
“0”、異なっていれば“1”を出力する。FF24
は、コンパレータ22からの出力が“1”となるとイン
バータ23によりFF24の出力を反転して取り込む。
Referring to FIG. 2, the FF 21 is 100 HM.
The 4-bit signal from the first clock operating circuit 1 of z
The clock of 0MH z have taken in synchronization with each other. Comparator 22, if the same data by comparing the first output of the clock operation circuit 1 and the output of the 100 MHz z of FF 21 "0", and outputs "1" if they differ. FF24
When the output from the comparator 22 becomes "1", the inverter 23 inverts and takes in the output of the FF 24.

【0024】FF25は120MH、FF24は10
0MH動作でこの部分が非同期である。FF26
は、FF25からの出力を120MHに同期して取り
込んでいる。FF26の出力が変化することによりEX
OR回路27の出力が“1”となる。FF29は、EX
OR回路27の出力が“1”となるとインバータ28に
よりFF29の出力を反転し取り込む。FF29の出力
が反転するとEXOR回路27の入力は同じ値になって
いるのでEXOR27回路の出力は“0”となる。
The FF25 is 120MH z, FF24 10
In 0MH z operation, this portion is asynchronous. FF26
It is capturing synchronously output from FF25 to 120MH z. EX by changing the output of FF26
The output of the OR circuit 27 becomes "1". FF29 is EX
When the output of the OR circuit 27 becomes "1", the inverter 28 inverts and takes in the output of the FF 29. When the output of the FF 29 is inverted, the input of the EXOR circuit 27 has the same value, so the output of the EXOR circuit 27 becomes "0".

【0025】また、FF29の出力が変化することでE
XOR回路31の出力は“1”となり、FF30は、E
XOR回路31の出力が“1”となるとFF29の出力
を取り込む。
Further, when the output of the FF 29 changes, E
The output of the XOR circuit 31 becomes "1", and the FF 30 outputs E
When the output of the XOR circuit 31 becomes "1", the output of the FF 29 is fetched.

【0026】図3を参照すると、データd1は、100
MHの第1クロック動作回路1からのデータで“5
h”から“Ah”、“Ah”から“3h”へと変化して
いる。データd 2 については、FF21の出力でデータ
1が変化した1クロック後にデータd2も変化してい
る。
Referring to FIG. 3, the data d 1 is 100
The data from the first clock operating circuit 1 of MH z is “5”.
h "to" Ah "," about Ah is changed to 3h "" from ". Data d 2 is changed even data d 2 after one clock data d 1 is changed by the output of the FF 21.

【0027】検出結果k4は、コンパレータ22の出力
あって、コンパレータ22は、データd1とデータd2
を比較しており同じデータのときは“0”、異なるデー
タの時は“1”を出力する。検出結果k4は、データd1
が“Ah”、データd2が“5h”のときと“3h”と
“Ah”のときにそれぞれ“1”を出力している。検出
結果k1は、検出結果k4が“1”となると出力を反転さ
れる。
The detection result k 4 is the output of the comparator 22, and the comparator 22 outputs the data d 1 and the data d 2.
Are output, "0" is output for the same data, and "1" is output for different data. The detection result k 4 is the data d 1
There "Ah", data d 2 is outputting each "1" when the "5h" and when the "3h" and "Ah". The output of the detection result k 1 is inverted when the detection result k 4 becomes “1”.

【0028】また、データd3検出結果k4が“1”
となるとデータd2のデータが第1のクロックc1に同期
化して取り込まれものである。FF25には、検出結
果k4が入力されている。検出結果k2は、FF25の出
力である。
[0028] In addition, data d 3 is, the detection result k 4 "1"
When it comes to one in which data of data d 2 is taken in synchronization with the first clock c 1. The detection result k 4 is input to the FF 25. The detection result k 2 is the output of the FF 25.

【0029】検出結果k2が“0”から“1”へと変化
するとEXOR回路27の出力が“1”となる。FF2
9の出力は、XOR回路27が“1”となると出力を
反転する。
When the detection result k 2 changes from "0" to "1", the output of the EXOR circuit 27 becomes "1". FF2
The output of the 9, E XOR circuit 27 inverts the output becomes "1".

【0030】検出結果k 3 は、FF29の出力が反転す
ると“1”となる。第2クロック動作回路6は、検出結
果k3が“1”となるとデータd3のデータを取り込む。
また、検出結果k3が“1”になるとFF30の出力を
反転させる。
The detection result k 3 becomes "1" when the output of the FF 29 is inverted. The second clock operation circuit 6 takes in the data d 3 when the detection result k 3 becomes “1”.
Further, when the detection result k 3 becomes “1”, the output of the FF 30 is inverted.

【0031】また、第1のクロック 1 を120MH
、第2のクロック 2 を100MHと仮定した場合
においても前述の実施の形態と同様の回路構成で動作可
能となる。
In addition, the first clock c 1 is set to 120 MH
z, also it is operated in the same circuit configuration as the above-described embodiments in the case where the second clock c 2 assuming 100 MHz z.

【0032】[0032]

【発明の効果】以上説明したように本発明は多ビット信
号のデータ変化検出部を設けてデータの変化を検出して
データ変化検出信号を出力することにより、以下の効果
を得ることができる。
As described above, according to the present invention, the following effects can be obtained by providing the data change detecting portion for the multi-bit signal, detecting the data change and outputting the data change detection signal.

【0033】第1の効果は同期化する多ビット信号が変
化する前後のデータに依存関係をなくし、どんな多ビッ
ト信号にも対応できることである。その理由は、同期化
する多ビット信号が変化した時変化したことを検出
し、同期化前のデータを同期前のクロックで一時保持
し、また変化したということを同期化回路に1ビットの
検出結果として通知し同期化された後、一時保持されて
いるデータの取り込み許可信号を生成して同期化後のク
ロックで取り込みを行っているためである。
The first effect is that the multi-bit signal to be synchronized has no dependency on the data before and after the change, and can cope with any multi-bit signal. The reason is that when a multi-bit signal to be synchronized changes, it is detected that it has changed, the data before synchronization is temporarily held by the clock before synchronization, and the fact that it has changed again This is because, after being notified as a detection result and being synchronized, a fetching permission signal for the temporarily held data is generated and fetched at the clock after synchronization.

【0034】第2の効果は、多ビット信号のデータ変化
検出部を追加することにより、多ビットの同期化に対し
て同期ずれを防止してデータ化けを防止できる。その理
由は、同期化する多ビット信号が変化した時に変化した
ことを検出し、変化したということを同期化回路に1ビ
ットの検出結果として通知し同期化しているためであ
る。
The second effect is that the addition of the data change detecting unit for the multi-bit signal can prevent the synchronization deviation from occurring in the multi-bit synchronization and prevent the data corruption. The reason is that when a multi-bit signal to be synchronized changes, the change is detected, and the change is notified to the synchronizing circuit as a 1-bit detection result to synchronize.

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

【図1】本発明の多ビット信号同期化回路のブロック図
である。
FIG. 1 is a block diagram of a multi-bit signal synchronization circuit of the present invention.

【図2】図1に示す多ビット信号のデータ変化検出部2
と、同期化回路3と、データ取込許可生成部4との一実
施の形態の詳細回路図である。
FIG. 2 is a data change detection unit 2 for a multi-bit signal shown in FIG.
When a synchronization circuit 3, a detailed circuit diagram of an embodiment of a data acquisition permission generating unit 4.

【図3】図1に示す多ビット信号同期化回路の第1と第
2のクロックにおける各信号のタイミングチャートであ
る。
FIG. 3 is a timing chart of each signal at the first and second clocks of the multi-bit signal synchronization circuit shown in FIG.

【図4】本発明の多ビット信号の同期化方法の一実施の
形態のフローチャートである。
FIG. 4 is a flowchart of an embodiment of a multi-bit signal synchronization method of the present invention.

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

1 第1クロック動作回路 2 データ変化検出部 3 同期化回路 4 デート取込許可生成部 5 データ一時保持部 6 第2クロック動作回路 21、24,25,26,29、30 フリップフロ
ップ 22 コンパレータ 23,28 インバータ 27、31 排他的論理和(EXOR)回路
1 first clocked circuit 2 data change detection unit 3 synchronizing circuit 4 Romantic acquisition permission generating unit 5 data temporary holding portion 6 second clocked circuit 21,24,25,26,29,30 flip-flop 22 comparator 23, 28 Inverters 27, 31 Exclusive OR ( EXOR) circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 H03L 7/00 H04L 29/02 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 7/00 H03L 7/00 H04L 29/02

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多ビット信号の同期化方法であって、 多ビット信号のデータを第1のクロックに同期した
ら第2のクロックに同期した号に変換する時前記 第1のクロック前記データを同期化するステップ
と、 多ビットデータ毎(d1)に前回のデータ(d2)と変化
したことを検出するデータ変化検出ステップと、 該データ変化検出ステップでの検出により、データ変化
検出手段(2)から前回のデータ(d2)を読み出して
該データを保持するデータ一時保持ステップと、 データ変化検出信号(k1)を前記第2のクロックで同
期化するデータ変化検出信号同期化ステップと、 一時保持されているデータの取込みを許可する取込許可
信号(k3)を生成して出力するデータ取込許可生成ス
テップと、 データ取込信号(k3)により一時保持中の前記前回
ータを前記第2のクロックに同期した号のデータ
(d3)にして読み出すステップと を有する、多ビット信号の同期化方法。
1. A synchronization method for a multi-bit signal, signal synchronized multi-bit data signal to the first clock
When converting the signal synchronized with the pressurized et second clock, a step of synchronizing the data with the first clock, the previous data every multi-bit data (d 1) (d 2) change The data change detecting step for detecting that the data change detecting step and the data change detecting step detects the previous data (d 2 ) from the data change detecting means (2).
Allow the temporary data retention Soo step, and the data change detection signal synchronization step of synchronizing the data change detection signal (k 1) by the second clock, the capture of data temporarily held for holding the data a data acquisition permission generating step for generating and outputting a capture permission signal (k 3) of the data acquisition signal (k 3) by temporarily storing in the previous
It has a step of reading data in the data (d 3) of the signal synchronized with the second clock, the synchronization method of the multi-bit signal.
【請求項2】 データ変化検出ステップが、入力データ
前記第1のクロックで同期をとって前回のデータとし
て出力するステップと、前記 前回のデータ(d2と今回の入力データ(d1)と
の同一性を比較し、異なっている時データ変化検出信
号(k4)を出力するデータ比較ステップと、 前記データ変化検出信号(k4)を入力し前記第1のク
ロック(c1)で同期化し、データ変化検出信号を反転
して(k1)として出力するステップとからなり、データ変化検出信号 同期化ステップが、データ変化検出
信号(k1)を反転して前記第2のクロック(c2)で同
期化するステップを含み、 データ取込許可生成ステップが、前記第2のクロック
(c 2 に同期化されたデータ変化検出信号によりデー
タ取込許可生成信号(k3)を発生出力するステップで
ある請求項1記載の多ビット信号の同期化方法。
2. A data change detecting step, and outputting the previous data the input data synchronously with the first clock, the previous data and (d 2) the current input data (d 1) comparing the identity of the data comparison step of outputting the data change detection signal (k 4) when it is different, enter the data change detection signal (k 4) said first clock (c 1) in synchronizing consists of a step of inverting and outputting the data change detection signal as (k 1), the data change detection signal synchronization step, by reversing the data change detection signal (k 1) of the second clock (C 2 ) synchronizing step, wherein the step of generating the data acquisition permission includes the step of synchronizing the second clock.
The method for synchronizing a multi-bit signal according to claim 1 , which is a step of generating and outputting a data fetch permission generation signal (k 3 ) by a data change detection signal synchronized with (c 2 ) .
【請求項3】 前記第1のクロックの周波数前記第2
クロックの周波数より高い請求項1または2記載の
多ビット信号の同期化方法。
Wherein the frequency of said first clock second
The method for synchronizing a multi-bit signal according to claim 1 or 2 , wherein the frequency is higher than the frequency of the clock .
【請求項4】 前記第1のクロックの周波数前記第2
クロックの周波数より低い請求項1または2記載の
多ビット信号の同期化方法。
Wherein said frequency of said first clock second
The method for synchronizing a multi-bit signal according to claim 1 or 2 , wherein the frequency is lower than the clock frequency .
【請求項5】 ビット信号のデータを第1のクロッ
クに同期した号から第2のクロックに同期した信号に
変換する、多ビット信号の同期化回路であって、 前記 第1のクロックでデータを同期化する第1クロック
動作回路(1)と、 多ビットデータ毎(d1)に前回のデータ(d2)と変化
したことを検出するデータ変化検出手段(2)と、 該データ変化検出手段(2)が出力するデータ変化検出
信号(k4)によりデータ変化検出手段(2)から前回
のデータ(d2)を読み出して保持するデータ一時保持
手段(5)と、 データ変化検出信号(k1)を前記第2のクロックで同
期化する同期化回路(3)と、 データ一時保持手段(5)からの保持されているデータ
の取込みを許可する取込許可信号(k3)を生成して出
力するデータ取込許可生成手段(4)と、 データ取込許可生成手段(4)のデータ取込信号
(k3)によりデータ一時保持手段(5)から当該多ビ
ット信号のデータを前記第2のクロックに同期した
データ(d3)にして読み出す第2クロック動作手段
(6)と を有する、多ビット信号の同期化回路。
5. The data of a multi- bit signal is converted into a first clock signal.
<br/> into a signal synchronized with the synchronous signal or we second clock click, a synchronizing circuit of the multi-bit signal, the first clock to synchronize data with said first clock The operation circuit (1), the data change detection means (2) for detecting the change from the previous data (d 2 ) for each multi-bit data (d 1 ), and the data change detection means (2) output a data change detection signal (k 4) by the data change detection unit data temporary holding means for holding reads previous data from (2) (d 2) ( 5), the data change detection signal (k 1) of the second (3) for synchronizing with the clock of (3), and a data fetch for generating and outputting a fetch permission signal (k 3 ) for permitting fetch of the held data from the data temporary holding means (5). Permission generation means (4) and data acquisition permission generation Stage (4) data acquisition signal (k 3) signal that is synchronized from the data temporary holding means (5) the data of the multi-bit signal to the second clock by the
Data having the (d 3) to to read the second clocked means (6), the synchronization circuit of the multi-bit signal.
【請求項6】 データ変化検出手段(2)が、入力デー
タ(d1)と前記第1のクロック(c1)とを入力とし、
前記第1のクロック(c 1 に同期して出力する第1の
フリップフロップ(21)と、 第1のフリップフロップ(21)の出力である前回のデ
ータ(d2)と前記入力データ(d1)との同一性を比較
し、異なっている時データ変化検出信号(k4)を出
力するコンパレータ(22)と、 前記データ変化検出信号(k4)を入力し前記第1のク
ロック(c1)で同期化し、第1のインバータ(2
によりデータ変化検出信号を反転して(k1)として出
力する第2のフリップフロップ(24)とからなり、 第2の同期化手段(3)が、前記第2のフリップフロッ
プ24の出力(k1)と前記第2のクロック(c2)とを
入力する第3のフリップフロップ(25)と、 該第3のフリップフロップ(25)の出力を入力し、
第2のクロック(c2)で同期化する第4のフリップ
フロップ(26)とからなり、 データ取込許可生成手段(4)が、第4のフリップフロ
ップ(26)の出力(k 2 )と、第5のフリップフロッ
プ(29)の出力との排他的論理和をとり前記第4のフ
リップフロップ(26)の前記データ変化検出信号に基
づく反転出力により反転出力を出力する第1のEXOR
ゲート(27)と、 該第1のEXORゲート(27)の出力を第2のクロッ
ク(c2)により同期し、第2のインバータ(28)
により反転して取り込む前記第5のフリップフロップ
(29)と、前記 第5のフリップフロップ(29)の出力を前記第2
のクロック(c2)で同期化し第2のEXORゲート
(31)の出力を取り込む第6のフリップフロップ(3
0)と、前記 第5のフリップフロップ(29)の出力と前記第6
のフリップフロップ(30)の出力を入力とする前記
2のEXORゲート(31)と からなる請求項5に記載の多ビット信号の同期化回路。
6. A data change detecting means (2) is, as input and input data (d 1) and said first clock (c 1),
Said first clock first flip-flop (21) for output in synchronization with (c 1), the previous data which is the output of the first flip-flop (21) (d 2) and the input data (d 1) comparing the identity and, a comparator (22) for outputting the data change detection signal (k 4) when it is different, enter the data change detection signal (k 4) said first clock ( Synchronize with c 1 ) and use the first inverter (2 3 )
And a second flip-flop (24) which inverts the data change detection signal and outputs it as (k 1 ). The second synchronizing means (3) outputs the second flip-flop 24 (k). type third flip-flop for inputting and 1) and the second clock (c 2) (25), the output of the third flip-flop (25), before
Serial it from the fourth flip-flop (26) to be synchronized with the second clock (c 2), data acquisition grant generation means (4) is the output of the fourth flip-flop (26) (k 2) When the first EXOR which outputs the inverted output by inverting the output based on the data change detection signal of the fourth flip-flop takes the exclusive OR of the output of the fifth flip-flop (29) (26)
Gate (27) and the output of the first EXOR gate (27) synchronized with the second clock (c 2), a second inverter (28)
The said fifth flip-flop capturing inverted (29), said second output of said fifth flip-flop (29)
Clock synchronize with (c 2), the sixth flip-flop to capture the output of the second EXOR gate (31) (3
0), the output of the fifth flip-flop (29) 6
Synchronization circuitry of the multi-bit signal according to the second EXOR gate for receiving as input (31) output, to claim 5 consisting of the flip-flop (30) of.
【請求項7】 前記第1のクロックの周波数前記第2
クロックの周波数より高い請求項5または6記載の
多ビット信号の同期化回路。
Wherein said frequency of said first clock second
7. The multi-bit signal synchronization circuit according to claim 5, which has a frequency higher than the clock frequency .
【請求項8】 前記第1のクロックの周波数前記第2
クロックの周波数より低い請求項5または6記載の
多ビット信号の同期化回路。
Wherein said frequency of said first clock second
7. The multi-bit signal synchronization circuit according to claim 5, which is lower than the frequency of the clock .
JP2000365497A 2000-11-30 2000-11-30 Synchronization method and circuit of multi-bit signal Expired - Fee Related JP3516652B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000365497A JP3516652B2 (en) 2000-11-30 2000-11-30 Synchronization method and circuit of multi-bit signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000365497A JP3516652B2 (en) 2000-11-30 2000-11-30 Synchronization method and circuit of multi-bit signal

Publications (2)

Publication Number Publication Date
JP2002171246A JP2002171246A (en) 2002-06-14
JP3516652B2 true JP3516652B2 (en) 2004-04-05

Family

ID=18836260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000365497A Expired - Fee Related JP3516652B2 (en) 2000-11-30 2000-11-30 Synchronization method and circuit of multi-bit signal

Country Status (1)

Country Link
JP (1) JP3516652B2 (en)

Also Published As

Publication number Publication date
JP2002171246A (en) 2002-06-14

Similar Documents

Publication Publication Date Title
US6260152B1 (en) Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains
EP0798630A1 (en) A synchronizer, method and system for transferring data
US6526106B1 (en) Synchronous circuit controller for controlling data transmission between asynchrous circuit
US6472913B2 (en) Method and apparatus for data sampling
JPH11161599A (en) Data transfer method
JP3516652B2 (en) Synchronization method and circuit of multi-bit signal
US6636080B2 (en) Apparatus for detecting edges of input signal to execute signal processing on the basis of edge timings
US6205192B1 (en) Clock input control circuit
JPH0590970A (en) Cmi encoder circuit
KR0172459B1 (en) Method and device for reproducing clock signal
JP3364943B2 (en) Clock skew correction circuit
JP2798125B2 (en) Digital signal synchronization circuit
JP3260483B2 (en) External control signal input circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
JP3246487B2 (en) Semiconductor integrated circuit and control signal generation method thereof
JP3493111B2 (en) Semiconductor integrated circuit device
JP3459542B2 (en) Serial data transfer device
JP2540643B2 (en) Asynchronous data access method of RAM
JP2708061B2 (en) Synchronous circuit device
JP3228408B2 (en) Synchronization circuit and synchronization method
JPH11355379A (en) Register data transfer system and register data transfer method
JP2930083B2 (en) Parallel / serial conversion circuit
JPS6017139B2 (en) Serial port method
JP2003332896A (en) Digital delay circuit
JPH1013198A (en) Data register

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040120

S633 Written request for registration of reclamation of name

Free format text: JAPANESE INTERMEDIATE CODE: R313633

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080130

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100130

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees