JPH0438016B2 - - Google Patents

Info

Publication number
JPH0438016B2
JPH0438016B2 JP23257784A JP23257784A JPH0438016B2 JP H0438016 B2 JPH0438016 B2 JP H0438016B2 JP 23257784 A JP23257784 A JP 23257784A JP 23257784 A JP23257784 A JP 23257784A JP H0438016 B2 JPH0438016 B2 JP H0438016B2
Authority
JP
Japan
Prior art keywords
flop
flip
signal
synchronization
synchronous
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
Application number
JP23257784A
Other languages
Japanese (ja)
Other versions
JPS61110253A (en
Inventor
Hiroshi Adachi
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP23257784A priority Critical patent/JPS61110253A/en
Publication of JPS61110253A publication Critical patent/JPS61110253A/en
Publication of JPH0438016B2 publication Critical patent/JPH0438016B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は同期化回路、さらに詳しく言えば、同
期クロツクに同期して制御シーケンスを進行させ
る制御回路に、該同期クロツクと非同期の信号を
該同期クロツクに同期化して取込むための同期化
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to a synchronization circuit, and more specifically, a control circuit that advances a control sequence in synchronization with a synchronous clock, by applying a signal asynchronous to the synchronous clock. The present invention relates to a synchronization circuit for synchronizing and capturing data with a synchronous clock.

〔従来技術とその問題点〕[Prior art and its problems]

デイジタル制御装置は通常同期クロツクを持
ち、当該装置内では該同期クロツクに同期して制
御シーケンスを進行させる方法をとるが、パス・
インタフエース部や外部インタフエース部では、
非同期信号を取扱う場合が多く、インタフエース
部で非同期信号を同期化して当該デイジタル制御
装置内に取込み、これを当該装置内のシーケンス
制御回路に使用する。
Digital control devices usually have a synchronous clock, and a method is used in which the control sequence progresses in synchronization with the synchronous clock.
In the interface section and external interface section,
In many cases, asynchronous signals are handled, and the asynchronous signals are synchronized in the interface section, taken into the digital control device, and used in the sequence control circuit within the device.

第4図は、同期クロツク内蔵のデイジタル制御
装置にバスと外部からの信号路を接続した構成を
示す。図において、DCは同期クロツクを内蔵し、
一定の機能を有するデイジタル制御装置、Bはバ
ス、OLは外部信号路である。バスBおよび外部
信号路OLからはデイジタル制御装置DC内蔵の同
期クロツクとは同期していない非同期信号を受け
る。従つてこの非同期信号を該同期クロツクに同
期化するために、バスBおよび外部信号路OLよ
りの入口に同期化回路が必要となる。
FIG. 4 shows a configuration in which a bus and an external signal path are connected to a digital control device with a built-in synchronous clock. In the figure, DC has a built-in synchronous clock,
A digital control device with certain functions, B is a bus, and OL is an external signal path. Asynchronous signals which are not synchronized with the synchronous clock built into the digital control device DC are received from the bus B and the external signal path OL. Therefore, in order to synchronize this asynchronous signal to the synchronous clock, a synchronization circuit is required at the input from bus B and external signal path OL.

第5図は、従来技術による同期化回路の一例の
ブロツク図、第6図はその動作シーケンスのタイ
ミングを示す。
FIG. 5 is a block diagram of an example of a synchronization circuit according to the prior art, and FIG. 6 shows the timing of its operation sequence.

すなわち、バスBからの非同期信号はレシーバ
R1で受信され、その出力信号S1(非同期の外
部よりの入力信号)を同期用フリツプフロツプ
F1に入力させる。フリツプフロツプF1はD形
(遅延形)フリツプフロツプとして構成され、D
入力端子に信号S1が、T入力端子に同期クロツ
ク発生器CGから同期クロツクCが入力している。
That is, the asynchronous signal from bus B is
R1 is received, and the output signal S1 (asynchronous external input signal) is sent to the flip-flop for synchronization.
Enter F1 . Flip-flop F1 is configured as a D-type (delay type) flip-flop, and D
A signal S1 is input to the input terminal, and a synchronous clock C from a synchronous clock generator CG is input to the T input terminal.

第5図の同期化回路は、正常な状態において
は、第6図に示す動作シーケンスのタイミングで
動作する。
The synchronization circuit shown in FIG. 5 operates at the timing of the operation sequence shown in FIG. 6 in a normal state.

例えば、第6図に示すように、同期クロツクC
のt1とt2とのタイミングの間で信号S1が受信
(“0”から“1”へ変化)されると、同期クロツ
クCのタイミングt2の立下がりでフリツプフロツ
プF1にセツトされ、これにより同期クロツクC
に同期して、フリツプフロツプF1の出力端子Q
からの出力信号S2が得られる。
For example, as shown in FIG.
When the signal S1 is received (changes from "0" to "1") between timings t1 and t2 , it is set in flip-flop F1 at the falling edge of timing t2 of the synchronous clock C, Synchronous clock C
In synchronization with, the output terminal Q of flip-flop F1
An output signal S2 is obtained from.

信号S2は同期信号なので、デイジタル制御装
置(DC、第4図参照)内部の制御信号S5等と
共に組合せ回路CBCにおいて必要な制御信号S
3,S4等を生成し、次段のフリツプフロツプ
F2,F3等を制御することができる。信号S3,
S4は同期クロツクCの次のタイミングt3までに
は安定した信号になる。
Since the signal S2 is a synchronous signal, it is used together with the control signal S5 inside the digital control device (DC, see Figure 4) as well as the control signal S necessary in the combinational circuit CBC.
3, S4, etc., and generates the next flip-flop
F 2 , F 3 , etc. can be controlled. signal S3,
S4 becomes a stable signal by the next timing t3 of the synchronous clock C.

第7図は非同期の外部信号の到来のタイミング
と同期クロツクの、障害発生原因となり得るタイ
ミングの関係を示す図である。図において、Cは
同期クロツクCの、S1は外部信号のそれぞれの
波形を示し、また、S2は同期フリツプフロツプ
F1のQ出力S2の波形を示すものである。
FIG. 7 is a diagram showing the relationship between the timing of arrival of an asynchronous external signal and the timing of a synchronous clock, which may be the cause of a failure. In the figure, C indicates the waveform of the synchronous clock C, S1 indicates the waveform of the external signal, and S2 indicates the waveform of the synchronous flip-flop.
This shows the waveform of the Q output S2 of F1 .

外部信号S1が第7図に示すように同期フリツ
プフロツプF1のセツトアツプに必要な時間(tSU
を満たせない範囲のタイミングで変化した場合、
同期フリツプフロツプF1のQ出力の信号S2は
,,あるいはに示す波形となる。
The time required for the external signal S1 to set up the synchronous flip-flop F1 ( tSU ) as shown in FIG.
If the timing changes within a range that does not satisfy the
The Q output signal S2 of the synchronous flip-flop F1 has the waveform shown in or.

はフリツプフロツプF1がタイミングt1におい
てやつと反転した場合、は上記タイミングt1
反転できず、t2のタイミングで反転した場合、
はタイミングt1とt2との中間の不規則なタイミン
グで反転した場合、はタイミングt1で不完全に
反転し、次のタイミングt2以前に再度反転した場
合のそれぞれのQ出力の信号S2の波形を示すも
のである。いづれも正常な動作とは言えないが、
,は同期クロツクCと同期しているため、組
合せ制御回路CBCを正常に動作させることがで
きる。あるいはの発生の確率は非常に少いが
同期信号にならないため、組合せ制御回路CBC
等の後段の動作の正常性を保証できず、たまに発
生する間欠障害の要因となる。
If flip-flop F 1 is inverted at timing t 1 , then cannot be inverted at timing t 1 , but inverted at timing t 2 ,
When is inverted at an irregular timing between timing t 1 and t 2 , and when is completely inverted at timing t 1 and inverted again before the next timing t 2 , the respective Q output signals S2 This shows the waveform of Although neither of these actions can be said to be normal,
, are synchronized with the synchronous clock C, so that the combinational control circuit CBC can operate normally. The probability of occurrence of or is very small, but it will not become a synchronized signal, so
It is not possible to guarantee the normality of subsequent operations such as the following, and this becomes a cause of intermittent failures that occasionally occur.

上記の欠点を防止するため、第8図に示すよう
に同期フリツプフロツプF11,F1を直列に2段設
置し、第7図の出力信号S2において第1段のフ
リツプフロツプF11が、あるいはの波形を送
出するような異常動作をしても、第2段のフリツ
プフロツプF1において同期化させる手段が知ら
れている。第9図は第8図に示す従来回路におけ
る各信号のタイミング関係を示す図である。第8
図においてその記号は第5図と対応するものを示
し、なおF11はフリツプフロツプF1と同様のフリ
ツプフロツプ、S11はフリツプフロツプF11
Q出力の信号を示す。
In order to prevent the above drawbacks, two stages of synchronous flip-flops F 11 and F 1 are installed in series as shown in FIG. 8, and in the output signal S2 of FIG . There is a known means for synchronizing the flip-flop F1 in the second stage even if an abnormal operation occurs such as sending out a signal. FIG. 9 is a diagram showing the timing relationship of each signal in the conventional circuit shown in FIG. 8. 8th
In the figure, the symbols correspond to those in FIG. 5, and F11 is a flip-flop similar to flip-flop F1 , and S11 is the Q output signal of flip-flop F11 .

第8図において、第9図に示すタイミングで非
同期の外部信号S1が到来すると、同期クロツク
Cのt2のタイミングにおいて同期フリツプフロツ
プF11が反転し、信号S11を生じ、さらに同期
クロツクCの次のタイミングt3において同期フリ
ツプフロツプF1のQ出力から信号S2を生ずる。
この信号S2は同期信号として後段の回路に与え
られる。
In FIG. 8, when an asynchronous external signal S1 arrives at the timing shown in FIG . At time t3 , a signal S2 is generated from the Q output of the synchronous flip-flop F1 .
This signal S2 is given to the subsequent circuit as a synchronization signal.

ここで信号S1が、第7図のタイミング関係図
に示すように、フリツプフロツプF11のセツトア
ツプに必要な時間を満たせない範囲のタイミング
で変化した場合、同期フリツプフロツプF11のQ
出力の信号S11は、第7図のS2の,,
あるいはに示す波形の信号となる。このうち障
害の原因となる,の波形でも、次段の同期フ
リツプフロツプF1において正常な同期信号S2
(第9図のS2)に変換され、従つて次段回路は
正常に動作する。
Here, as shown in the timing relationship diagram of FIG. 7, if the signal S1 changes at a timing within a range that does not satisfy the time required to set up the flip-flop F11 , the Q of the synchronous flip-flop F11 changes.
The output signal S11 is the signal S2 in FIG.
Alternatively, it becomes a signal with the waveform shown in . Among these, even if the waveform of .
(S2 in FIG. 9), and therefore the next stage circuit operates normally.

このようにして、外部信号S1のタイミングの
変動により発生のおそれのある障害は防止できる
が、非同期の外部信号S1を同期するために同期
クロツクを2回必要とするので同期化の遅れ時間
が無視できなくなる。第9図においてtdは同期化
の遅れ時間を示すもので、最少の場合でも同期ク
ロツクCの1周期分、また最大の場合は2周期分
となる。
In this way, failures that may occur due to variations in the timing of the external signal S1 can be prevented, but since the synchronization clock is required twice to synchronize the asynchronous external signal S1, the synchronization delay time is ignored. become unable. In FIG. 9, td indicates the synchronization delay time, which is one period of the synchronization clock C at the minimum, and two periods at the maximum.

このように、従来の技術は、非同期の外部信号
の同期化を確実に行なおうとすれば、同期化の際
の遅れ時間が長くなるという欠点があつた。
As described above, the conventional technology has a drawback in that when attempting to reliably synchronize asynchronous external signals, the delay time during synchronization becomes long.

〔発明の目的〕[Purpose of the invention]

本発明は、従来技術の上記の欠点を除去し、非
同期の外部信号の同期化を確実に行なうとともに
同期化の際の遅れ時間を最少にした同期化回路を
提供することを目的とするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a synchronization circuit that eliminates the above-mentioned drawbacks of the prior art, ensures synchronization of asynchronous external signals, and minimizes the delay time during synchronization. be.

〔発明の要点〕[Key points of the invention]

本発明による同期化回路は、外部からの非同期
信号を同期クロツクに同期化して内部のシーケン
ス制御に用いる同期式制御回路において、同期用
のフリツプフロツプを設け、該同期用フリツプフ
ロツプの前段に2つのトランスペアレントタイプ
のラツチをパラレルにおき、外部からの1つの非
同期信号を該2つのラツチの両方に同時に入力さ
せ、該2つのラツチに該外部よりの非同期信号を
上記同期クロツクのパルスの前縁でラツチし、該
2つのラツチの出力をオア回路に入力しそのオア
出力を上記同期用フリツプフロツプに入力させ、
上記同期クロツクのパルスの後縁で該同期用フリ
ツプフロツプの動作タイミングを与えるよう構成
される。
The synchronization circuit according to the present invention is a synchronous control circuit that synchronizes an external asynchronous signal to a synchronous clock and uses it for internal sequence control, and a synchronization flip-flop is provided, and two transparent type flip-flops are provided at the front stage of the synchronization flip-flop. latches in parallel, one asynchronous signal from the outside is simultaneously input to both of the two latches, the asynchronous signal from the outside is latched to the two latches at the leading edge of the pulse of the synchronous clock, The outputs of the two latches are input to an OR circuit, and the OR output is input to the synchronization flip-flop,
The synchronizing flip-flop is configured to provide operating timing at the trailing edge of the synchronizing clock pulse.

そして上記同期クロツクはそのパルス幅が、上
記同期用フリツプフロツプのセツトアツプ・タイ
ム、上記オア回路の遅れ時間および上記ラツチの
ホールドタイムの合計時間より少し大きな時間に
設定され、上記同期用フリツプフロツプの同期の
タイミングより同期クロツクのパルス幅分以前の
タイミングにて上記同期クロツクにより上記外部
からの非同期信号を該2つのラツチにラツチし、
その出力のオアを該同期用フリツプフロツプに入
力させ、該同期クロツクにより該同期フリツプフ
ロツプより同期信号を得るものである。
The pulse width of the synchronization clock is set to a time slightly larger than the total time of the setup time of the synchronization flip-flop, the delay time of the OR circuit, and the hold time of the latch, so that the synchronization timing of the synchronization flip-flop is latching the asynchronous signal from the outside into the two latches by the synchronous clock at a timing earlier than the pulse width of the synchronous clock;
The OR of the output is inputted to the synchronizing flip-flop, and a synchronizing signal is obtained from the synchronizing flip-flop using the synchronizing clock.

なお、本発明の一つの実施例に従えば、同期ク
ロツクのパルスの前縁で上記2つのラツチに外部
よりの非同期信号をラツチし、該パルスの後縁で
同期フリツプフロツプの動作タイミングを与え
る。
According to one embodiment of the present invention, an external asynchronous signal is latched into the two latches at the leading edge of the synchronous clock pulse, and the timing of operation of the synchronous flip-flop is provided at the trailing edge of the pulse.

〔発明の実施例〕[Embodiments of the invention]

以下本発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例のブロツク図であ
る。図において、Bはバス、R1はバスからの非
同期の外部信号を受け取るレシーバ、S1はその
出力信号、L1,L2はトランスペアレント・タイ
プのラツチ、S21,S22はそれぞれの出力信
号、ORは信号S21,S22を入力し、オア出
力の信号S23を生成し、同期フリツプフロツプ
F1に入力させるオア回路、Cは同期クロツクで
フリツプフロツプF1およびラツチL1,L2のそれ
ぞれのクロツク入力端に接続される。またレシー
バR1の出力信号(非同信号)S1はラツチL1
L2の両方に入力する。
FIG. 1 is a block diagram of one embodiment of the present invention. In the figure, B is a bus, R 1 is a receiver that receives asynchronous external signals from the bus, S1 is its output signal, L 1 and L 2 are transparent type latches, S21 and S22 are their respective output signals, and OR is Inputs signals S21 and S22, generates OR output signal S23, and converts the synchronous flip-flop.
The OR circuit C input to F1 is a synchronous clock and is connected to the respective clock inputs of flip-flop F1 and latches L1 and L2 . In addition, the output signal (non-identical signal) S1 of the receiver R1 is connected to the latch L1 ,
Enter both L 2 .

第3図aに第1図のトランスペアレントタイプ
のラツチL1の接続構成を同図bにその動作タイ
ミングを示す。なおラツチL2も同様な構成を有
し、同様に動作する。
FIG. 3a shows the connection configuration of the transparent type latch L1 shown in FIG. 1, and FIG. 3b shows its operation timing. Note that latch L2 has a similar configuration and operates in the same manner.

第3図aにおいて、L1はラツチ、FFはD形フ
リツプフロツプで、同期クロツクCの前縁(パル
スの立上り)に応動して反転するもの、ANDは
アンドゲート、OR1はオアゲート、S1,S2
1,Cは第1図のものに対応する。
In Figure 3a, L1 is a latch, FF is a D-type flip-flop that is inverted in response to the leading edge (rising pulse) of the synchronous clock C, AND is an AND gate, OR 1 is an OR gate, S1, S2
1 and C correspond to those in FIG.

第3図bは同図aのラツチの動作タイミング図
である。
FIG. 3b is an operation timing diagram of the latch shown in FIG. 3a.

いま、入力信号S1が“0”であればクロツク
Cによつて、フリツプフロツプはリセツト状態
(Q出力が“0”、出力が“1”)にある。アン
ドゲートANDは一方の入力(出力)が“1”
であり、導通状態にあるが、信号S1は“0”で
あるのでその出力は“0”である。一方フリツプ
フロツプFFのQ出力は“0”であるのでオアゲ
ートOR1の2入力はともに“0”であり、その出
力信号S21も入力信号S1と同様に“0”であ
る。
Now, if the input signal S1 is "0", the flip-flop is in a reset state (Q output is "0", output is "1") by the clock C. AND gate AND has one input (output) as “1”
is in a conductive state, but since the signal S1 is "0", its output is "0". On the other hand, since the Q output of the flip-flop FF is "0", the two inputs of the OR gate OR1 are both "0", and its output signal S21 is also "0" like the input signal S1.

いま、時点tAにおいて入力信号S1が“0”か
ら“1”に変化するとその“1”はアンドゲート
ANDおよびオアゲートOR1を経て出力し、その
出力信号S21は入力信号S1と同様“1”とな
る。
Now, when the input signal S1 changes from "0" to "1" at time tA , that "1" is an AND gate.
It is output via AND and OR gate OR 1 , and its output signal S21 becomes "1" like the input signal S1.

同期クロツクCのタイミングt2の前縁(立上
り)で、フリツプフロツプFFは反転し、Q出力
が“1”、出力が“0”の状態に保持される。
Q出力が“0”となつてアンド・ゲートANDが
非導通となり、その出力は“0”となるがQ出力
“1”がオアゲートOR1を経て出力し、出力信号
S21は信号S1の如何に拘らず“1”にラツチ
される。
At the leading edge (rising edge) of timing t2 of the synchronous clock C, the flip-flop FF is inverted, and the Q output is held at "1" and the output at "0".
The Q output becomes "0", the AND gate AND becomes non-conductive, and its output becomes "0", but the Q output "1" is output via the OR gate OR 1 , and the output signal S21 is determined by the signal S1. Regardless, it is latched to “1”.

時点tBにおいて入力信号S1が“1”から
“0”に変化し入力信号S1がなくなつたとする。
同期クロツクCのタイミングt4の前縁(立上り)
でフリツプフロツプFFは反転し、Q出力が
“0”、出力が“1”となる。このとき、アン
ド・ゲートANDが非導通となり、また出力が
“0”となるので出力信号S21は入力信号S1
と同様の“0”となる。
Assume that at time tB , the input signal S1 changes from "1" to "0" and the input signal S1 disappears.
Leading edge (rising edge) of timing t4 of synchronous clock C
Then, the flip-flop FF is inverted, and the Q output becomes "0" and the output becomes "1". At this time, the AND gate AND becomes non-conductive and the output becomes "0", so the output signal S21 becomes the input signal S1.
It becomes "0", which is the same as "0".

さて、第2図は第1図の本発明による同期化回
路の動作タイミングを示す図である。図におい
て、Cは同期クロツクCのタイミングを、S1,
S21,S22,S23,S2は各同名の記号の
信号のタイミングを示し、thはラツチL1,L2のホ
ールドタイムtpdはオア回路ORの遅延時間、tsu
フリツプフロツプF1のセツトアツプタイムをそ
れぞれ示す。なおtwは同期クロツクCのクロツク
幅であり、上記のセツトアツプタイムtsu、遅延
時間tpdおよびホールドタイムthの合計時間より少
し大きく設定してある。同期フリツプフロツプ
F1のセツトのタイミングは同期クロツクCのパ
ルスの後縁(立下り)のタイミングであり、ラツ
チL1,L2のラツチのタイミングは前記のように
同期クロツクCのパルスの前縁(立上り)のタイ
ミングである。
Now, FIG. 2 is a diagram showing the operation timing of the synchronization circuit according to the present invention shown in FIG. 1. In the figure, C indicates the timing of the synchronous clock C, S1,
S21, S22, S23, and S2 indicate the timing of the signals with the same names, t h is the hold time of the latches L 1 and L 2 , t pd is the delay time of the OR circuit, and t su is the setup time of the flip-flop F 1 . Indicate the time for each. Note that t w is the clock width of the synchronous clock C, and is set slightly larger than the total time of the above-mentioned setup time t su , delay time t pd and hold time th . synchronous flip-flop
The timing of setting F1 is the timing of the trailing edge (falling edge) of the pulse of synchronous clock C, and the timing of the latching of latches L1 and L2 is the timing of the leading edge (rising edge) of the pulse of synchronous clock C, as described above. The timing is right.

第1図の本発明による同期化回路において、バ
スBよりの信号はレシーバR1に受信され、第2
図に示すように、タイミングtAにおいて、非同期
の外部信号S1(“0”より“1”に転ずる)と
してラツチL1,L2に入力する。ラツチL1,L2
トランスペアレントタイプのラツチであるので、
ホールドタイムth後に、その出力信号S21およ
びS22は信号S1に追随して変化する。同様に
信号S23も、オア回路ORの遅延時間tpdだけ遅
れて同様に変化する。同期クロツクCのタイミン
グt2のパルスの前縁(立上り)でラツチL1,L2
信号S1をラツチし、少くとも次のタイミングt3
のパルスの前縁(立上り)までは、信号S1に変
化があつても、それには応答しない。この結果、
同期クロツクCのタイミングt2のパルスの後縁
(立下り)で同期フリツプフロツプF1は安定した
信号S23をセツトし、同期クロツクCに完全に
同期した信号S2を作成することができる。
In the synchronization circuit according to the invention of FIG. 1, the signal from bus B is received by receiver R 1 and
As shown in the figure, at timing tA , the asynchronous external signal S1 (changes from "0" to "1") is input to the latches L1 and L2 . Since latches L 1 and L 2 are transparent type latches,
After a hold time th , the output signals S21 and S22 change to follow the signal S1. Similarly, the signal S23 similarly changes with a delay of the OR circuit OR delay time t pd . At the leading edge (rising edge) of the pulse at timing t 2 of the synchronous clock C, latches L 1 and L 2 latch the signal S1, and at least at the next timing t 3
Even if there is a change in the signal S1, it does not respond to the leading edge (rising edge) of the pulse. As a result,
At the trailing edge (falling edge) of the pulse at timing t2 of the synchronous clock C, the synchronous flip-flop F1 sets a stable signal S23, making it possible to create a signal S2 completely synchronized with the synchronous clock C.

トランスペアレントタイプのラツチL1,L2
パラレルに設けたため、同期フリツプフロツプ
F1への入力信号S23を確実な安定した信号と
することができる。すなわち、第3図bに示す同
期クロツクCの例えばタイミングt2の立上がりエ
ツジに先行するセツトアツプタイムtsuの範囲で
信号S1が変化しても、パラレルに設けたラツチ
L1,L2の出力がオア回路ORを介して同期フリツ
プフロツプF1への入力信号S23が形成されて
いるため、ラツチL1,L2の何れか一方が正常に
応答すれば入力信号S23の正常性は保証され
る。また、一方のラツチが応答せず、かつ他方の
ラツチが不安定な動作をして例えば第7図の,
のような出力信号を出した場合でも、この不安
定な動作をしたラツチの出力信号は同期フリツプ
フロツプF1の入力信号S23であり、組合せ回
路CBCには直接入力されないので、この同期フ
リツプフロツプF1が次の同期クロツクによつて
動作することにより第5図に示す従来回路のよう
な誤動作は生じない。なお、同期フリツプフロツ
プF1が同時に誤動作することも理論上は考えら
れるが、ラツチと同期フリツプフロツプF1とが
同時に誤動作する可能性は実際には極めて少ない
ので、実用上は問題とならない。
Since transparent type latches L1 and L2 are provided in parallel, synchronous flip-flop
The input signal S23 to F1 can be a reliable and stable signal. That is, even if the signal S1 changes within the range of the set-up time t su preceding the rising edge of the synchronous clock C shown in FIG.
Since the outputs of L 1 and L 2 form the input signal S23 to the synchronous flip-flop F 1 via the OR circuit OR, if either one of the latches L 1 or L 2 responds normally, the input signal S23 is Normality is guaranteed. Also, if one latch does not respond and the other latch operates unstablely, for example, as shown in FIG.
Even if an output signal like By operating with the next synchronous clock, malfunctions unlike the conventional circuit shown in FIG. 5 do not occur. Although it is theoretically conceivable that the synchronous flip-flop F1 may malfunction at the same time, it is actually extremely unlikely that the latch and the synchronous flip-flop F1 malfunction at the same time, so this does not pose a problem in practice.

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

本発明は上記のように構成されているので、本
発明により非同期信号の同期化が一層確実とな
り、しかも同期化の際の遅れ時間を最小に(最大
同期クロツクの一周期)におさえることが可能な
効果がある。同期化の際の遅れ時間を最小におさ
えることができるため、高速化が進む同期化回路
には有効である。
Since the present invention is configured as described above, the present invention makes it possible to more reliably synchronize asynchronous signals, and furthermore, it is possible to keep the delay time during synchronization to a minimum (one cycle of the maximum synchronization clock). There is an effect. Since the delay time during synchronization can be minimized, it is effective for synchronization circuits that are becoming faster.

本発明の構成によつて回路素子の多少の増加は
免れないが、回路の集積化が急速に進んでいる現
在では、この程度の回路素子増加は問題となら
ず、動作の確実性の向上および同期化の際の遅れ
時間の短縮の効果の方が重要で、今後、確実にし
て高速の動作の要求されるこの種の同期化回路に
好適である。
Although the configuration of the present invention inevitably requires a slight increase in the number of circuit elements, in today's world where circuit integration is rapidly progressing, this increase in circuit elements is not a problem and improves the reliability of operation. The effect of shortening the delay time during synchronization is more important, and it is suitable for this type of synchronization circuit that will be required to operate reliably and at high speed in the future.

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

第1図は本発明の一実施例のブロツク図、第2
図は第1図の実施例の動作タイミング図、第3図
aは第1図の実施例中のトランスペアレントラツ
チの構成の一例のブロツク図、同図bは同図aの
動作タイミング図、第4図は同期クロツク内蔵の
デイジタル制御装置に非同期の外部信号を接続し
た一般の接続構成を示す図、第5図は従来技術に
よる同期化回路の一例のブロツク図、第6図は第
5図の同期化回路の正常動作タイミング図、第7
図は第5図の同期化回路の異常動作タイミング
図、第8図は従来技術による改良された同期化回
路のブロツク図、第9図は第8図の同期化回路の
動作タイミング図である。 B…バス、R1…レシーバ、L1,L2…トランス
ペアレント形ラツチ、OR…オア回路、F1…同期
フリツプフロツプ、C…同期クロツク、S1…非
同期の外部よりの入力信号、S2…同期した出力
信号、FF…フリツプフロツプ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
3A is a block diagram of an example of the structure of the transparent latch in the embodiment of FIG. 1, FIG. 3B is an operation timing diagram of FIG. The figure shows a general connection configuration in which an asynchronous external signal is connected to a digital control device with a built-in synchronous clock, FIG. 5 is a block diagram of an example of a synchronization circuit according to the prior art, and FIG. normal operation timing diagram of the conversion circuit, 7th
8 is a block diagram of an improved synchronization circuit according to the prior art, and FIG. 9 is an operation timing diagram of the synchronization circuit of FIG. 8. B...Bus, R1 ...Receiver, L1 , L2 ...Transparent latch, OR...OR circuit, F1 ...Synchronous flip-flop, C...Synchronous clock, S1...Asynchronous external input signal, S2...Synchronized output Signal, FF...flipflop.

Claims (1)

【特許請求の範囲】[Claims] 1 外部からの非同期信号を同期クロツクに同期
化して内部のシーケンス制御に用いる同期式制御
回路において、同期用のフリツプフロツプを設
け、該同期用フリツプフロツプの前段に2つのト
ランスペアレントタイプのラツチをパラレルにお
き、外部からの1つの非同期信号を該2つのラツ
チの両方に同時に入力させ、該2つのラツチに該
外部よりの非同期信号を上記同期クロツクのパル
スの前縁でラツチし、該2つのラツチの出力をオ
ア回路に入力しそのオア出力を上記同期用フリツ
プフロツプに入力させ、上記同期クロツクのパル
スの後縁で該同期用フリツプフロツプの動作タイ
ミングを与えるよう構成し、上記同期クロツクは
そのパルス幅が、上記同期用フリツプフロツプの
セツトアツプ・タイム、上記オア回路の遅れ時間
および上記ラツチのホールドタイムの合計時間よ
り少し大きな時間に設定され、上記同期用フリツ
プフロツプの同期のタイミングより同期クロツク
のパルス幅分以前のタイミングにて上記同期クロ
ツクにより上記外部からの非同期信号を該2つの
ラツチにラツチし、その出力のオアを該同期用フ
リツプフロツプに入力させ、該同期クロツクによ
り該同期フリツプフロツプより同期信号を得るこ
とを特徴とする同期化回路。
1. In a synchronous control circuit that synchronizes an external asynchronous signal with a synchronous clock and uses it for internal sequence control, a flip-flop for synchronization is provided, and two transparent type latches are placed in parallel before the flip-flop for synchronization, One asynchronous signal from the outside is simultaneously input to both of the two latches, the asynchronous signal from the outside is latched to the two latches at the leading edge of the pulse of the synchronous clock, and the outputs of the two latches are The output of the OR circuit is inputted to the synchronizing flip-flop, and the trailing edge of the pulse of the synchronizing clock provides the operation timing of the synchronizing flip-flop, and the synchronizing clock has a pulse width that is equal to the synchronizing flip-flop. The set-up time of the flip-flop for synchronization, the delay time of the above-mentioned OR circuit, and the hold time of the above-mentioned latch are set to a time slightly larger than the total time, and the timing is earlier than the synchronization timing of the flip-flop for synchronization by the pulse width of the synchronization clock. Synchronization characterized in that the asynchronous signal from the outside is latched to the two latches by the synchronous clock, the OR of the output thereof is inputted to the synchronous flip-flop, and the synchronous clock obtains a synchronous signal from the synchronous flip-flop. circuit.
JP23257784A 1984-11-05 1984-11-05 Synchronising circuit Granted JPS61110253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23257784A JPS61110253A (en) 1984-11-05 1984-11-05 Synchronising circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23257784A JPS61110253A (en) 1984-11-05 1984-11-05 Synchronising circuit

Publications (2)

Publication Number Publication Date
JPS61110253A JPS61110253A (en) 1986-05-28
JPH0438016B2 true JPH0438016B2 (en) 1992-06-23

Family

ID=16941528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23257784A Granted JPS61110253A (en) 1984-11-05 1984-11-05 Synchronising circuit

Country Status (1)

Country Link
JP (1) JPS61110253A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0823859B2 (en) * 1990-09-28 1996-03-06 インターナショナル・ビジネス・マシーンズ・コーポレイション Data processing system

Also Published As

Publication number Publication date
JPS61110253A (en) 1986-05-28

Similar Documents

Publication Publication Date Title
JPH05289770A (en) Method and device for synchronization
JP2000261296A (en) Synchronizing element for converting asynchronous pulse signal to synchronous pulse signal
CA1214567A (en) Circuit for duplex synchronization of asynchronous signals
JPH03127526A (en) Synchronizing device
JPH0438016B2 (en)
US5487163A (en) Fast synchronization of asynchronous signals with a synchronous system
KR100223026B1 (en) Synchronizing circuit
JP2510750B2 (en) A fault tolerant system, a method of synchronizing between redundant systems, and a multiplexed clock oscillator
JPH063461B2 (en) Trigger signal generator and trigger signal generation method
JP2801595B2 (en) Normal-to-linear conversion device
JPH0282812A (en) Clock switching system
JPH01166633A (en) Bit phase synchronizing circuit
JPS597973B2 (en) data processing equipment
JP3036223B2 (en) Clock transfer circuit
JP3930641B2 (en) Switching method and switching system for active and standby systems
JPH10163821A (en) Initialization circuit
JPH08172427A (en) Synchronization circuit
JPH05110394A (en) Clock transmission circuit
JPS5952913A (en) Multiplex processing device of pulse circuit
JPH02122317A (en) Clock switch control system
JPS62213337A (en) Frame synchronizing protection system
JPH11168374A (en) Semiconductor integrated circuit device
JPS59191927A (en) Synchronizing circuit
JPH0344212A (en) Logical path multiplex system
JPH01177710A (en) Logic circuit