JPH04137815A - Synchronizing circuit - Google Patents

Synchronizing circuit

Info

Publication number
JPH04137815A
JPH04137815A JP26256190A JP26256190A JPH04137815A JP H04137815 A JPH04137815 A JP H04137815A JP 26256190 A JP26256190 A JP 26256190A JP 26256190 A JP26256190 A JP 26256190A JP H04137815 A JPH04137815 A JP H04137815A
Authority
JP
Japan
Prior art keywords
circuit
output
clock
signal
system clock
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
JP26256190A
Other languages
Japanese (ja)
Inventor
Manabu Miura
学 三浦
Masaharu Taniguchi
谷口 正治
Yoshifumi Imanaka
今中 良史
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP26256190A priority Critical patent/JPH04137815A/en
Publication of JPH04137815A publication Critical patent/JPH04137815A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize a synchronizing circuit with a hazard elimination function and simple circuit constitution by providing 1st and 2nd latch circuits latching an output of an asynchronizing circuit synchronously with the leading and the trailing of a 2nd clock. CONSTITUTION:A system clock TC is given to a T input of a D flip-flop (D-FF) 10 and the inverse of a system clock TC is given to a T input of a D-FF 20. The D-FF 10 latches an output A of an asynchronizing circuit 3 operated according to an asynchronizing clock CLK synchronously with the leading of the system block TC and the D-FF 20 latches an output A of the circuit 3 synchronously with the trailing of the clock TC. Then an AND gate 100 ANDs an output signal B of the D-FF 10 and an output signal C of the D-FF 20. Hazard is eliminated from the signal A and an output signal OUT is obtained synchronously with the system clock TC. Thus, the circuit constitution is simplified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、第1のクロックに従って動作する回路の出
力を受け、該出力を第2のクロックに同期させる同期化
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a synchronization circuit that receives the output of a circuit that operates according to a first clock and synchronizes the output with a second clock.

〔従来の技術〕[Conventional technology]

第5図はハザード除去機能付きの従来の同期化回路を示
すブロック図である。図において、1はシステムロック
TCか人力されるシステムクロック入力端子、2はシス
テムクロックと同期していない非同期クロックCLKが
入力される非同期クロック入力端子である。
FIG. 5 is a block diagram showing a conventional synchronization circuit with a hazard removal function. In the figure, 1 is a system clock input terminal which is input manually by the system lock TC, and 2 is an asynchronous clock input terminal to which an asynchronous clock CLK which is not synchronized with the system clock is input.

3は非同期クロック入力端子2からの非同期クロックC
LKに従って動作する非同期回路である。
3 is the asynchronous clock C from the asynchronous clock input terminal 2
This is an asynchronous circuit that operates according to LK.

非同期回路3は例えば第6図(a)に示すようにカウン
タ3aとこのカウンタ3aの出力をデコードするデコー
ダ3b、あるいは第6図(b)に示すようにカウンタ3
aと、カウンタ3aの出力■ と基準値■5とを比較し
、その比較結果を出力するコンパレータ3cより成る。
The asynchronous circuit 3 includes, for example, a counter 3a and a decoder 3b that decodes the output of the counter 3a as shown in FIG. 6(a), or a counter 3 as shown in FIG. 6(b).
a, and a comparator 3c which compares the output (2) of the counter 3a with a reference value (5) and outputs the comparison result.

4はハザード除去用のDフリップフロップ(以下D−F
Fと略す)である。D−FF4は、0人力に非同期回路
3の出力Aが、T入力には非同期クロックCLKか各々
人力されている。5,6はともに非同期回路3の出力A
をシステムクロックTCに同期させるためのD−FFで
ある。D−FF5は、0人力にD−FF4の出力Qから
の信号Eか、T入力にシステムクロックTCが各々入力
されている。D−FF6は、0人力にD−FF5の出力
Qからの信号FかT入力にシステムクロックTCか各々
人力されており、出力Qから出力信号OUTか出力され
る。
4 is a D flip-flop (hereinafter D-F) for hazard removal.
(abbreviated as F). In the D-FF4, the output A of the asynchronous circuit 3 is input to the zero input, and the asynchronous clock CLK is input to the T input. 5 and 6 are both the output A of the asynchronous circuit 3
This is a D-FF for synchronizing the system clock TC with the system clock TC. The D-FF5 has either the signal E from the output Q of the D-FF4 or the system clock TC inputted to its T input. The D-FF6 is manually input with the signal F from the output Q of the D-FF5 and the system clock TC at the T input, and outputs an output signal OUT from the output Q.

以下、Di−FF4.6の必要性を述べつつ第5図に示
した回路の動作について説明する。まず、第7図に示す
ように、D−FF4,6を設けない場合について説明す
る。第8図に示すように非同期クロックCLKの立ち上
がり直後に非同期回路3の出力Aにはハザードが発生す
る。システムクロックTCか、第8図に示すようなタイ
ミングで入力されている場合、システムクロックTCの
立ち上がりに同期してハザードの影響による信号が出力
信号OUTに含まれている。このハザードの影響を除去
するため、第9図に示すように、非同期回路3とD−F
F5との間に非同期クロックCLKに同期して動作する
ハザード除去用のI)−FF4を設ける。
Hereinafter, the operation of the circuit shown in FIG. 5 will be explained while stating the necessity of Di-FF4.6. First, as shown in FIG. 7, a case where the D-FFs 4 and 6 are not provided will be described. As shown in FIG. 8, a hazard occurs at the output A of the asynchronous circuit 3 immediately after the asynchronous clock CLK rises. When the system clock TC is input at the timing shown in FIG. 8, the output signal OUT contains a signal due to the influence of hazard in synchronization with the rising edge of the system clock TC. In order to eliminate the influence of this hazard, as shown in FIG.
I)-FF4 for hazard removal, which operates in synchronization with the asynchronous clock CLK, is provided between the F5 and the F5.

第10A図、第1. OB図及び第10C図を用いて第
9図に示した回路の動作について説明する。
Figure 10A, 1st. The operation of the circuit shown in FIG. 9 will be explained using the OB diagram and FIG. 10C.

第1. OA図ないし第10C図において、ハザードは
非同期クロックCLKの立ち上かり直後に発生するので
、非同期クロックCLKの立ち上がりにおいて、出力A
にはハザードか発生していない。
1st. In the OA diagram to Figure 10C, the hazard occurs immediately after the rising edge of the asynchronous clock CLK, so the output A
There are no hazards occurring.

そのため、信号Eにハザードの影響は現れない。Therefore, the influence of the hazard does not appear on the signal E.

次に、信号EをシステムクロックTCに同期させる場合
について説明する。第10 A図においては、システム
クロックTCの立ち上がりと信号Eの立ち上がりが一致
していない。従って、この場合、信号Eの立ち上がり直
後に生しるシステムクロックTCの立ち上がりに同期し
て立ち上がる信号Fが出力され、信号Eをシステムクロ
ックTCに同期させることかできる。
Next, a case will be described in which the signal E is synchronized with the system clock TC. In FIG. 10A, the rising edge of the system clock TC and the rising edge of the signal E do not coincide. Therefore, in this case, the signal F that rises in synchronization with the rise of the system clock TC that occurs immediately after the rise of the signal E is output, and the signal E can be synchronized with the system clock TC.

第10B図及び第10C図においては、システムクロッ
クTCの立ち上がりと信号Eの立ち上がりか一致してい
る。第10B図においては、信号Eと立ち上がりか一致
しているシステムクロックTCの立ち土かりてうまく信
号Eがランチされた場合を示している。つまり、信号E
の立ち上かり時に生じるシステムクロックTCの立ち上
がりに同期して立ち上がる信号Fが出力され、信号Eを
システムクロックTCに同期させることかできる。
In FIGS. 10B and 10C, the rising edge of the system clock TC and the rising edge of the signal E coincide. FIG. 10B shows a case where signal E is successfully launched with the rise of system clock TC coinciding with signal E. In other words, the signal E
A signal F that rises in synchronization with the rising edge of the system clock TC that occurs at the rising edge of the signal F is output, and the signal E can be synchronized with the system clock TC.

一方、第10C図においては、信号Eと立ち上がりか一
致しているシステムクロックTCの立ち上がりでうまく
信号Eがラッチされない場合(完全には“H”あるいは
“L”にならない状態(メタステーブル)を生してしま
う場合)を示している。システムクロックTCの立ち上
かり時に信号Fにはメタステーブルが発生する。しかし
、次のシステムクロックTCの立ち上がりに同期して信
号Fは立ち上かり、信号EをシステムクロックTCに同
期させることかできる。
On the other hand, in FIG. 10C, when the signal E is not successfully latched at the rising edge of the system clock TC that coincides with the rising edge of the signal E (a state in which it does not completely become "H" or "L" (metastable) occurs) (If you end up doing something like that). Metastability occurs in the signal F at the rising edge of the system clock TC. However, the signal F rises in synchronization with the next rise of the system clock TC, making it possible to synchronize the signal E with the system clock TC.

上記のように、第1.OA図〜第10C図のいずれの場
合も、システムクロックTCに同期した信号Fを得るこ
とができるが、第10C図に示したように信号Fにメタ
ステーブルが発生する場合がある。このメタステーブル
を除去するため、第5図に示すようにシステムクロック
TCに同期して動作するD−FF6をD−FF5の出力
側に設けている。D−FF6は、システムクロックTC
の立ち上がりに同期して信号Fをラッチするので、出力
信号OUTは第10A図ないし第10C図いずれの場合
もメタステーブルの影響をうけることなくシステムクロ
ックTCに同期した信号を得ることかできる。
As mentioned above, the first. In any of the cases shown in FIG. OA to FIG. 10C, a signal F synchronized with the system clock TC can be obtained, but metastability may occur in the signal F as shown in FIG. 10C. In order to eliminate this metastability, a D-FF6 that operates in synchronization with the system clock TC is provided on the output side of the D-FF5, as shown in FIG. D-FF6 is the system clock TC
Since the signal F is latched in synchronization with the rising edge of the signal F, the output signal OUT can be a signal synchronized with the system clock TC without being affected by metastability in any of the cases shown in FIGS. 10A to 10C.

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

ハザード除去機能付きの従来の同期化回路は以上のよう
にハザード除去用のD−FF4と、同期用のD−FF5
,6が必要であり、回路構成が複雑になるという問題点
があった。
The conventional synchronization circuit with a hazard removal function has D-FF4 for hazard removal and D-FF5 for synchronization as described above.
, 6 are required, and there is a problem that the circuit configuration becomes complicated.

この発明は上記のような問題点を解決するためになされ
たもので、回路構成の簡単なハザード除去機能付きの同
期化回路を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object thereof is to obtain a synchronization circuit with a simple circuit configuration and a hazard removal function.

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

この発明は、第1のクロックに従って動作する回路の出
力を受け、該出力を第2のクロックに同期させる同期化
回路に適用される。
The present invention is applied to a synchronization circuit that receives the output of a circuit that operates according to a first clock and synchronizes the output with a second clock.

この発明に係る同期化回路は、前記第2のクロックが入
力され、前記第2のクロックの立ち上がりに同期して、
前記回路の圧力をラッチする第1のラッチ回路と、前記
第2のクロックが入力され、前記第2のクロックの立ち
下かりに同期して前記回路の出力をラッチする第2のラ
ンチ回路と、前記第1.第2のラッチ回路の出力を受け
、これらの出力の論理積を出力するANDゲートあるい
は論理和を出力するORゲートを備えている。
The synchronization circuit according to the present invention receives the second clock and synchronizes with the rise of the second clock,
a first latch circuit that latches the pressure of the circuit; a second launch circuit that receives the second clock and latches the output of the circuit in synchronization with the falling edge of the second clock; 1st. It is provided with an AND gate that receives the output of the second latch circuit and outputs the logical product of these outputs, or an OR gate that outputs the logical sum of these outputs.

〔作用〕[Effect]

この発明における第1のラッチ回路は、第2のクロック
の立ち上がりに同期して第1のクロックに従って動作す
る回路の出力をラッチする。第2のラッチ回路は第2の
クロックの立ち下がりに同期して前記回路の出力をラッ
チする。第1.第2のラッチ回路の出力はANDゲート
あるいはORゲートに与えられ、第1.第2のラッチ回
路の出力の論理積あるいは論理和がとられ、その際に、
前記回路の出力におけるバザードに起因して生した第1
.第2のラッチ回路の出力における誤信号か除去される
The first latch circuit in this invention latches the output of a circuit that operates according to the first clock in synchronization with the rise of the second clock. The second latch circuit latches the output of the circuit in synchronization with the falling edge of the second clock. 1st. The output of the second latch circuit is given to an AND gate or an OR gate, and the output of the first . The outputs of the second latch circuit are ANDed or ORed, and at that time,
The first generated due to the buzz at the output of the circuit
.. Erroneous signals at the output of the second latch circuit are removed.

〔実施例〕〔Example〕

第1図はこの発明に係る同期化回路の一実施例を示すブ
ロック図である。この回路は、非同期回路3の正規の出
力Aが“L”から“Hoへ立ち上かり、かつ正のバザー
ドが存在する場合、バザードを除去して出力Aをシステ
ムクロックTCに同期させるようにした回路である。非
同期クロックCLKに従って動作する非同期回路3の出
力AがD−FFIo、20の各々のD入力に与えられて
いる。D−FF 10のT入力にはシステムクロックT
Cが、D−FF20のT入力にはシステムクロックTC
の反転クロックが与えられている。DFFIOの出力Q
からの信号B及びD−FF20の出力Qからの信号Cは
ANDゲート100に与えられている。
FIG. 1 is a block diagram showing an embodiment of a synchronization circuit according to the present invention. In this circuit, when the normal output A of the asynchronous circuit 3 rises from "L" to "Ho" and a positive buzzer exists, the buzzer is removed and the output A is synchronized with the system clock TC. The output A of the asynchronous circuit 3, which operates according to the asynchronous clock CLK, is given to the D input of each D-FFIo, 20.The system clock T is input to the T input of the D-FF 10.
C is the system clock TC at the T input of D-FF20.
An inverted clock is given. DFFIO output Q
The signal B from the D-FF 20 and the signal C from the output Q of the D-FF 20 are applied to an AND gate 100.

次に、第2A図、第2B図及び第2c図を用いて正のハ
ザードが発生した場合の動作について説明する。非同期
クロックCLKの立ち上がりの直後に第2A図ないし第
2C図に示すように正のハザードか発生する。システム
クロックTCが第2A図に示すようなタイミング、つま
り、システムクロックTCのエツジにおいて、ハザード
が存在しない場合、信号B、Cは第2A図に示すように
ハザードの影響を受けない信号となる。そして、AND
ゲート100により信号Bと信号Cの論理積をとると、
第2A図に示すように信号Aがらハザードが除去され、
かつシステムクロックTCに同期した出力信号OUTが
得られる。
Next, the operation when a positive hazard occurs will be explained using FIG. 2A, FIG. 2B, and FIG. 2C. Immediately after the asynchronous clock CLK rises, a positive hazard occurs as shown in FIGS. 2A to 2C. If no hazard exists at the timing when the system clock TC is as shown in FIG. 2A, that is, at the edge of the system clock TC, the signals B and C become signals that are not affected by the hazard as shown in FIG. 2A. And AND
When the gate 100 performs the AND of the signal B and the signal C,
As shown in Figure 2A, the hazard is removed from signal A,
Moreover, an output signal OUT synchronized with the system clock TC can be obtained.

第2B図及び第2C図はハザードの影響により信号B、
Cに誤った信号が含まれた場合を示している。このうち
第2B図は、システムクロックTCの立ち上がり及び立
ち下がり時にハザードが存在し、これが原因で信号B、
Cが各々“H”に立ち上がった場合を示している。第2
B図に示すように、ハザードの影響によるH0が信号B
、 Cで重なることがない。そのため、出力B、Cの論
理積をとると、第2B図に示すように信号Aがらハザー
ドか除去され、がっシステムクロックTCに同期した出
力信号OUTが得られる。
Figures 2B and 2C show signal B, due to the influence of the hazard.
This shows a case where an erroneous signal is included in C. Of these, in Figure 2B, there is a hazard at the rise and fall of the system clock TC, which causes the signal B,
The case where C rises to "H" is shown. Second
As shown in Figure B, H0 due to the influence of the hazard becomes the signal B.
, C does not overlap. Therefore, when the outputs B and C are ANDed, the hazard is removed from the signal A as shown in FIG. 2B, and an output signal OUT synchronized with the system clock TC is obtained.

第2C図は、システムクロックTCの立ち上がり及び立
ち下がり時にハザードが存在し、これが原因で信号B、
Cにメタステーブルが発生した場合を示している。第2
c図に示すようにハザードの影響によるメタステーブル
は信号Bと信号Cて重なることがない。そのため、信号
Bと信号Cの論理積をとると第2c図に示すように信号
Aがらハザードが除去され、かつシステムクロックTC
に同期した出力信号OUTが得られる。
FIG. 2C shows that there is a hazard at the rise and fall of the system clock TC, and this causes the signal B,
The case where metastability occurs in C is shown. Second
As shown in Figure c, metastability due to the influence of hazards does not cause signal B and signal C to overlap. Therefore, by taking the logical product of signal B and signal C, the hazard is removed from signal A as shown in FIG. 2c, and the system clock TC
An output signal OUT synchronized with is obtained.

この実施例によれば従来のようにD−FFを3つ用いる
ことなく回路を構成することができるので回路構成が簡
単になる。
According to this embodiment, the circuit can be constructed without using three D-FFs as in the conventional case, so the circuit construction can be simplified.

第3図はこの発明の他の実施例を示す回路図である。こ
の実施例では第1図に示した回路において、ANDゲー
ト100をORゲー)200+、:置き換えている。こ
の回路は、非同期回路3の正規の出力Aが“H”から“
L″へ立ち下がり、がっ負のハザードが存在する場合、
ハザードを除去して、出力AをシステムクロックTCに
同期させるようにした回路である。
FIG. 3 is a circuit diagram showing another embodiment of the invention. In this embodiment, the AND gate 100 in the circuit shown in FIG. 1 is replaced with an OR gate 200+, :. In this circuit, the normal output A of the asynchronous circuit 3 changes from “H” to “
falls to L'', and if there is a highly negative hazard,
This circuit eliminates hazards and synchronizes the output A with the system clock TC.

次に、動作について第4A図、第4B図及び第4C図を
用いて説明する。第4A図ないし第4C図に示すように
、非同期クロックCLKの立ち上がりの直後に負のハザ
ードか発生する。システムクロックTCが第4A図に示
すようなタイミング、つまり、システムクロックTCの
エツジにおいて、ハザードが存在しない場合、信号B、
Cは第4A図に示すようにハザードの影響をうけない信
号となる。そして、ORゲート200により信号Bと信
号Cの論理和をとると第4A図に示すように出力Aから
ハザードが除去され、かつシステムクロックTCに同期
した出力信号OUTか得られる。
Next, the operation will be explained using FIGS. 4A, 4B, and 4C. As shown in FIGS. 4A to 4C, a negative hazard occurs immediately after the asynchronous clock CLK rises. If there is no hazard at the timing when the system clock TC is as shown in FIG. 4A, that is, at the edge of the system clock TC, the signal B,
C becomes a signal that is not affected by hazards as shown in FIG. 4A. Then, when the OR gate 200 takes the logical sum of the signals B and C, the hazard is removed from the output A as shown in FIG. 4A, and an output signal OUT synchronized with the system clock TC is obtained.

第4B図及び第4C図はハザードの影響により信号B、
Cに誤った信号が含まれた場合を示している。このうち
第4B図は、システムクロックTCの立ち下がり及び立
ち上がり時に/)ザードか存在し、これが原因で信号B
、Cが“L”に立ち下がった場合を示している。第4B
図に示すように、ハザードの影響による“L′か信号B
、Cて重なることがない。そのため信号Bと信号Cの論
理和をとると第4B図に示すように出力Aから71サト
か除去され、かつシステムクロックTCに同期した出力
信号OUTか得られる。
Figures 4B and 4C show signal B, due to the influence of the hazard.
This shows a case where an erroneous signal is included in C. Of these, in Figure 4B, there is a /) signal at the falling and rising edges of the system clock TC, which causes the signal B
, C falls to "L". 4th B
As shown in the figure, “L” or signal B due to the influence of the hazard
, C do not overlap. Therefore, when the signal B and the signal C are logically summed, 71 sats are removed from the output A as shown in FIG. 4B, and an output signal OUT synchronized with the system clock TC is obtained.

第4C図は、システムクロックTCの立ち上かり及び立
ち下かり時にノ\ザートか存在し、これか原因て信号B
、Cにメタステーブルが発生した場合を示している。第
4C図に示すように、ノ\ザートの影響によるメタステ
ーブルか信号Bと信号Cて重なることがない。そのため
、信号Bと信号Cの論理和をとると第4C図に示すよう
に、出力Aからハザードか除去され、かつシステムクロ
ックTCに同期した出力信号OUTが得られる。
Figure 4C shows that a noise signal exists at the rising and falling edges of the system clock TC, and this may be the cause of the signal B.
, C shows the case where metastability occurs. As shown in FIG. 4C, signals B and C do not overlap due to metastability due to the influence of noise. Therefore, when the logical sum of the signal B and the signal C is taken, as shown in FIG. 4C, the hazard is removed from the output A and an output signal OUT synchronized with the system clock TC is obtained.

このように、ORゲート200を設けることにより非同
期回路3の出力Aの正規の信号が“H”から“L″に立
ち下がり、かつ負のI\サードが存在する場合でも、出
力Aからハザードを除去し、かつ出力Aをシステムクロ
ックTCに同期させることができる。
In this way, by providing the OR gate 200, even if the normal signal of the output A of the asynchronous circuit 3 falls from "H" to "L" and a negative I\third exists, the hazard can be removed from the output A. and output A can be synchronized to the system clock TC.

なお、上記実施例における第2B図、第2C図第4B図
及び第4C図において、信号B、Cかともにバザードの
影響を受けた場合について説明したが、どちらか一方の
信号にバザードの影響か現れた場合にも上記実施例と同
様の効果がある。
In addition, in FIG. 2B, FIG. 2C, FIG. 4B, and FIG. 4C in the above embodiment, a case has been described in which both signals B and C are affected by a buzzard. Even when this occurs, the same effect as in the above embodiment is obtained.

さらに、上記実施例では、非同期クロックCLKとシス
テムクロックTCか非同期の場合について説明したが、
互いに同期しているクロックでもよい。
Furthermore, in the above embodiment, the case where the asynchronous clock CLK and the system clock TC are asynchronous is explained.
The clocks may be synchronized with each other.

また、上記実施例では、D−FFIo、20を用いた場
合について説明したが、システムクロックTCに同期し
て非同期回路3の出力Aをランチすることができるラッ
チ回路ならばどのような構成でもよく、D−FFに限定
されない。
Further, in the above embodiment, a case was explained in which the D-FFIo, 20 was used, but any configuration may be used as long as it is a latch circuit that can launch the output A of the asynchronous circuit 3 in synchronization with the system clock TC. , is not limited to D-FF.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、第2のクロックが入力
され、第2のクロックの立ち上がりに同期して、第1の
クロックに従って動作する回路の出力をラッチする第1
のラッチ回路と、第2のクロックが人力され、第2のク
ロックの立ち下がりに同期して前記回路の出力をラッチ
する第2のラッチ回路と、第1.第2のランチ回路の出
力を受け、これらの出力の論理積を出力するANDゲト
あるいは論理和を出力するORケートを設けたので、従
来のようにD−FFを3つ用いる必要がなく、簡単な回
路構成によりハザードを除去しつつ、第1のクロフクに
従って動作する回路の出力を第2のクロックに同期させ
ることかできるという効果かある。
As described above, according to the present invention, the second clock is input, and the first clock latches the output of the circuit operating according to the first clock in synchronization with the rising edge of the second clock.
a second latch circuit in which a second clock is input manually and latches the output of the circuit in synchronization with the falling edge of the second clock; An AND gate that receives the output of the second launch circuit and outputs the logical product of these outputs or an OR gate that outputs the logical sum is provided, so there is no need to use three D-FFs as in the conventional case, making it simple. This has the effect that the output of the circuit operating according to the first clock can be synchronized with the second clock while eliminating hazards by using a circuit configuration that is similar to the above.

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

第1図はこの発明に係る同期化回路の一実施例を示す回
路図、第2A図、第2B図及び第2C図は第1図に示し
た回路の動作を説明するための図、第3図はこの発明の
他の実施例を示す回路図、第4A図 第4B図及び第4
C図は第3図に示した回路の動作を説明するための図、
第5図は従来の同期化回路示す回路図、第6図は非同期
回路の一構成例を示すブロック図、第7図、第8図、第
9図、第10A図、第10B図及び第10C図は第5図
に示した回路の動作を説明するための図である。 図において、10及び20はD−FF、100はAND
ゲート、200はORゲートである。 なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a circuit diagram showing one embodiment of the synchronization circuit according to the present invention, FIGS. 2A, 2B, and 2C are diagrams for explaining the operation of the circuit shown in FIG. The figures are circuit diagrams showing other embodiments of the present invention, FIG. 4A, FIG. 4B, and FIG.
Figure C is a diagram for explaining the operation of the circuit shown in Figure 3.
Fig. 5 is a circuit diagram showing a conventional synchronization circuit, Fig. 6 is a block diagram showing an example of the configuration of an asynchronous circuit, Figs. 7, 8, 9, 10A, 10B, and 10C. This figure is a diagram for explaining the operation of the circuit shown in FIG. 5. In the figure, 10 and 20 are D-FF, 100 is AND
The gate 200 is an OR gate. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] (1)第1のクロックに従って動作する回路の出力を受
け、該出力を第2のクロックに同期させる同期化回路で
あって、 前記第2のクロックが入力され、前記第2のクロックの
立ち上がりに同期して、前記回路の出力をラッチする第
1のラッチ回路と、 前記第2のクロックが入力され、前記第2のクロックの
立ち下がりに同期して前記回路の出力をラッチする第2
のラッチ回路と、 前記第1,第2のラッチ回路の出力を受け、これらの出
力の論理積を出力するANDゲートあるいは論理和を出
力するORゲートを備えた同期化回路。
(1) A synchronization circuit that receives the output of a circuit that operates according to a first clock and synchronizes the output with a second clock, wherein the second clock is input and the synchronization circuit synchronizes the output with a second clock. a first latch circuit that synchronously latches the output of the circuit; and a second latch circuit that receives the second clock and latches the output of the circuit in synchronization with the falling edge of the second clock.
A synchronization circuit comprising: a latch circuit; and an AND gate that receives outputs from the first and second latch circuits and outputs a logical product of these outputs or an OR gate that outputs a logical sum.
JP26256190A 1990-09-27 1990-09-27 Synchronizing circuit Pending JPH04137815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26256190A JPH04137815A (en) 1990-09-27 1990-09-27 Synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26256190A JPH04137815A (en) 1990-09-27 1990-09-27 Synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH04137815A true JPH04137815A (en) 1992-05-12

Family

ID=17377521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26256190A Pending JPH04137815A (en) 1990-09-27 1990-09-27 Synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH04137815A (en)

Similar Documents

Publication Publication Date Title
US5087828A (en) Timing circuit for single line serial data
US5315181A (en) Circuit for synchronous, glitch-free clock switching
JPH04189023A (en) Pulse synchronizing circuit
JPH0556085A (en) Interface circuit
EP0319184B1 (en) Two stage synchronizer
JPH03127526A (en) Synchronizing device
JPH0365053B2 (en)
JPH04137815A (en) Synchronizing circuit
JPH0282812A (en) Clock switching system
JPS6010913A (en) Noise eliminating circuit of pulse signal
JP2567110B2 (en) D-type flip-flop circuit
JPS63117514A (en) Clock signal switching circuit
JPS61501661A (en) Parallel synchronous operation
JPS6359212A (en) Latch circuit
JPH0336812A (en) Synchronizing circuit
JPH10163821A (en) Initialization circuit
JPS6194170A (en) Synchronous arbiter circuit
JPH066185A (en) Circuit for not propagating meta-stable state
JP2903548B2 (en) Logic circuit diagnostic system
JPH0210418A (en) Synchronizing logic circuit
JPH03255714A (en) Latch circuit with reset function
JPS63166313A (en) Synchronizing edge detection circuit
JPH04186913A (en) Edge detecting circuit
KR20040001093A (en) Digital circuit to remove pulse-type noises
JPH04177936A (en) Synchronizing signal circuit and magnetic disk device provided with the circuit