JPH0332086B2 - - Google Patents

Info

Publication number
JPH0332086B2
JPH0332086B2 JP59225561A JP22556184A JPH0332086B2 JP H0332086 B2 JPH0332086 B2 JP H0332086B2 JP 59225561 A JP59225561 A JP 59225561A JP 22556184 A JP22556184 A JP 22556184A JP H0332086 B2 JPH0332086 B2 JP H0332086B2
Authority
JP
Japan
Prior art keywords
clock
output
flip
flop
gate
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 - Lifetime
Application number
JP59225561A
Other languages
Japanese (ja)
Other versions
JPS61103228A (en
Inventor
Osamu Tooyama
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP59225561A priority Critical patent/JPS61103228A/en
Publication of JPS61103228A publication Critical patent/JPS61103228A/en
Publication of JPH0332086B2 publication Critical patent/JPH0332086B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、デジタル制御装置におけるクロツク
制御回路に関し、特にクロツク停止の検出および
クロツク切替制御に関する。
TECHNICAL FIELD The present invention relates to a clock control circuit in a digital control device, and more particularly to clock stop detection and clock switching control.

従来技術 近年半導体集積回路の著しい進歩、特にメモリ
集積回路の大容量化によつてメモリが小形化され
かつビツト当りの単価が低減されたこと等によつ
て、電子デイスクと呼ばれる大規模外部記憶装置
が使用されるようになつた。これは、半導体集積
回路による記憶装置であつて高速動作であり、該
記憶装置と入出力装置間のデータ転送は、クロツ
ク同期式で行なうのが最も適当である。クロツク
同期式でデータ転送を行なうためには、入出力装
置からクロツクの供給を受けて、そのクロツクに
よつて動作する必要がある。しかし、外部記憶装
置が、入出力装置から供給されるクロツクのみに
よつて動作するように設計すると、入出力装置の
クロツクが停止した場合に外部記憶装置の動作用
クロツクが停止してしまい、記憶素子のリフレツ
シユ動作ができなくなり、安価なダイナミツク
RAMが採用できなくなるという問題がある。そ
こで、従来、入出力装置のクロツクが停止した場
合は、入出力装置からクロツク停止信号を外部記
憶装置に送り、外部記憶装置は上記信号を受ける
と、自装置に内蔵するクロツクに切換えてリフレ
ツシユ動作が継続できるようにしている。しか
し、入出力装置のクロツク系の故障等により、ク
ロツク停止信号による通知なしにクロツク供給が
停止された場合には、リフレツシユ動作が停止
し、記憶されていた情報が喪失されるという欠点
がある。上述のように、クロツク切替えを外部か
らの切替え制御信号によつて行なう従来クロツク
切替え方法(特公昭54−26343、クロツク切替制
御方式等参照)では、切替え制御信号の故障等に
よつて情報が喪失されるおそれがある。
Prior Art In recent years, significant advances in semiconductor integrated circuits have been made, particularly as the capacity of memory integrated circuits has increased, resulting in smaller memories and lower unit costs per bit.As a result, large-scale external storage devices called electronic disks have become popular. started to be used. This is a memory device using a semiconductor integrated circuit and operates at high speed, and data transfer between the memory device and the input/output device is most appropriately performed in a clock-synchronous manner. In order to transfer data in a clock-synchronous manner, it is necessary to receive a clock from the input/output device and operate based on that clock. However, if the external storage device is designed to operate only with the clock supplied from the input/output device, when the input/output device clock stops, the operating clock of the external storage device will stop, causing the storage The refresh operation of the element becomes impossible, resulting in an inexpensive dynamic
There is a problem that RAM cannot be adopted. Conventionally, when the clock of an input/output device stops, a clock stop signal is sent from the input/output device to the external storage device, and when the external storage device receives the above signal, it switches to its own internal clock and performs a refresh operation. We are making it possible for this to continue. However, if the clock supply is stopped without notification by a clock stop signal due to a failure in the clock system of the input/output device, the refresh operation will stop and the stored information will be lost. As mentioned above, in the conventional clock switching method in which clock switching is performed using an external switching control signal (see Japanese Patent Publication No. 54-26343, Clock Switching Control Method, etc.), information can be lost due to failure of the switching control signal, etc. There is a risk that

発明の目的 本発明の目的は、上述の従来の欠点を解決し、
入出力装置等から供給されるクロツク自体を監視
して、クロツクが停止したことを自動的に検出
し、外部から供給されるクロツクが停止したとき
は、自身で内蔵するクロツクに切換えることがで
きるクロツク制御回路を提供することにある。
OBJECT OF THE INVENTION The object of the invention is to solve the above-mentioned conventional drawbacks and
A clock that monitors the clock itself supplied from an input/output device, automatically detects when the clock has stopped, and can switch to its own built-in clock when the externally supplied clock stops. The purpose is to provide a control circuit.

発明の構成 本発明のクロツク制御回路は、第1のクロツク
を遅延させる第1の遅延回路と、該第1の遅延回
路の出力によつて前記第1のクロツクを保持出力
する第1のフリツプフロツプと、前記第1の遅延
回路の出力をさらに遅延させる第2の遅延回路
と、該第2の遅延回路の出力によつて前記第1の
クロツクを保持出力する第2のフリツプフロツプ
と、該第2のフリツプフロツプの出力と前記第1
のフリツプフロツプの出力とを入力する排他的論
理和回路と、前記第1のクロツクとは独立に入力
される第2のクロツクを遅延させる第3の遅延回
路と、前記排他的論理回路の出力を反転させた信
号を上記第3の遅延回路の出力に同期して保持出
力する第1の同期化フリツプフロツプと、該第1
の同期化フリツプフロツプの出力によつて開かれ
前記第2のクロツクを通過させるゲートと、上記
第1の同期化フリツプフロツプの反転出力によつ
て開かれ前記排他的論理和回路の出力を通過させ
るゲートと、該ゲートの出力を前記第1のクロツ
クの遅延した信号に同期して保持出力する第2の
同期化フリツプフロツプと、該第2の同期化フリ
ツプフロツプの出力および前記第1の同期化フリ
ツプフロツプの反転出力が共に“1”であるとき
に閉かれて前記第1のクロツクを通過させるゲー
トとを備えて、前記第1のクロツクの停止したと
きは前記第2のクロツクに切替えて出力すること
を特徴とする。
Structure of the Invention The clock control circuit of the present invention includes a first delay circuit that delays a first clock, and a first flip-flop that holds and outputs the first clock using the output of the first delay circuit. , a second delay circuit that further delays the output of the first delay circuit, a second flip-flop that holds and outputs the first clock using the output of the second delay circuit; The output of the flip-flop and the first
an exclusive OR circuit that inputs the output of the flip-flop, a third delay circuit that delays a second clock that is input independently of the first clock, and an exclusive OR circuit that inverts the output of the exclusive logic circuit. a first synchronized flip-flop that holds and outputs the signal in synchronization with the output of the third delay circuit;
a gate opened by the output of the synchronized flip-flop to allow the second clock to pass; and a gate opened by the inverted output of the first synchronized flip-flop to allow the output of the exclusive OR circuit to pass. , a second synchronized flip-flop that holds and outputs the output of the gate in synchronization with a delayed signal of the first clock; an output of the second synchronized flip-flop and an inverted output of the first synchronized flip-flop; and a gate that is closed when both are "1" to allow the first clock to pass through, and when the first clock stops, the clock is switched to the second clock for output. do.

発明の実施例 次に、本発明について、図面を参照して詳細に
説明する。
Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロツク図
である。すなわち、バツフア21を介して入力さ
れる第1のクロツクC1を遅延させる第1の遅延
回路10と、該第1の遅延回路10の出力によつ
て前記第1のクロツクC1を保持出力する第1の
フリツプフロツプ4と、前記第1の遅延回路10
の出力をさらに遅延させる第2の遅延回路11
と、該第2の遅延回路11の出力によつて前記第
1のクロツクC1を保持出力する第2のフリツプ
フロツプ5と、該第2のフリツプフロツプ5の出
力と前記第1のフリツプフロツプ4の出力とを入
力する排他的論理和回路14と、バツフア22を
介して前記第1のクロツクとは独立に入力される
第2のクロツクC2を遅延させる第3の遅延回路
13と、フリツプフロツプ8と9が継続接続され
て、前記排他的論理和回路14の出力をインバー
タ20によつて反転させた信号を上記第3の遅延
回路13の出力に同期して保持出力する第1の同
期化フリツプフロツプと、該第1の同期化フリツ
プフロツプの出力によつて開かれて前記第2のク
ロツクC2を通過させるゲート18と、上記第1
の同期化フリツプフロツプの反転出力によつて開
かれ前記排他的論理和回路14の出力を通過させ
るゲート15と、フリツプフロツプ6と7とが継
続接続されていて、第4の遅延回路12によつて
前記第1のクロツクC1を遅延させた信号に同期
して前記ゲート15の出力を保持出力する第2の
同期化フリツプフロツプと、該第2の同期化フリ
ツプフロツプの出力および前記第1の同期化フリ
ツプフロツプの出力が共に“1”であるときに
“1”を出力するゲート16と、ゲート16の出
力が“1”のとき開かれて前記第1のクロツツク
C1を通過させるゲート17と、ゲート17の出
力する第1のクロツクC1またはゲート18の出
力する第2のクロツクC2を通過させるオア回路
19とから構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. That is, the first delay circuit 10 delays the first clock C 1 inputted through the buffer 21, and the output of the first delay circuit 10 holds and outputs the first clock C 1 . a first flip-flop 4 and the first delay circuit 10
a second delay circuit 11 that further delays the output of
, a second flip-flop 5 that holds and outputs the first clock C1 by the output of the second delay circuit 11, and an output of the second flip-flop 5 and an output of the first flip-flop 4. , a third delay circuit 13 that delays the second clock C2 inputted via the buffer 22 independently of the first clock, and flip-flops 8 and 9. a first synchronized flip-flop which is continuously connected and holds and outputs a signal obtained by inverting the output of the exclusive OR circuit 14 by an inverter 20 in synchronization with the output of the third delay circuit 13; a gate 18 opened by the output of the first synchronizing flip-flop to allow said second clock C2 to pass;
Flip-flops 6 and 7 are continuously connected to a gate 15 which is opened by the inverted output of the synchronized flip-flop and passes the output of the exclusive OR circuit 14; a second synchronized flip-flop that holds and outputs the output of the gate 15 in synchronization with a signal obtained by delaying the first clock C1 ; a gate 16 that outputs "1" when both outputs are "1"; and a gate 16 that is opened when the output of the gate 16 is "1" and outputs the first clock;
It is composed of a gate 17 that allows the clock C1 to pass through, and an OR circuit 19 that allows the first clock C1 outputted from the gate 17 or the second clock C2 outputted from the gate 18 to pass through.

第1のクロツクC1の周期をP1とし、そのハイ
レベルの時間幅(“1”の期間)をw1とすると、
第1の遅延回路10の遅延時間τ1は、 w1+nP1<τ1<(n+1)P1 に設定され、第2の遅延回路11の遅延時間τ2
は、 (n+1)P1<τ1+τ1<(n+1)P1+w1 を満足するように設定される。
If the period of the first clock C 1 is P 1 and its high level time width (“1” period) is w 1 , then
The delay time τ 1 of the first delay circuit 10 is set to w 1 +nP 11 <(n+1)P 1 , and the delay time τ 2 of the second delay circuit 11 is set to w 1 +nP 1 <τ 1 <(n+1)P 1 .
is set to satisfy (n+1)P 111 <(n+1)P 1 +w 1 .

第3の遅延回路13の遅延時間τ3は、第2のク
ロツクC2の周期をP2とし、そのハイレベルの時
間幅をw2としたとき、 w2+nP2<τ3<(n+1)P2 を満足するように設定する。
The delay time τ 3 of the third delay circuit 13 is determined by w 2 +nP 23 <(n+1), where the period of the second clock C 2 is P 2 and the time width of its high level is w 2 . Set to satisfy P 2 .

遅延回路12の遅延時間τ4は、 w1+nP1<τ4<(n+1)P1 に設定されている。簡単の為にn=0とすると、 w1<τ1<P1 P1<τ1+τ2<P1+w1 w2<τ3<P2 w1<τ4<P1 となる。第4の遅延回路12を省略して、第1の
遅延回路10の出力によつてフリツプフロツプ
6,7にタイミングパルスを供給するようにして
もよい。
The delay time τ 4 of the delay circuit 12 is set to w 1 +nP 14 <(n+1)P 1 . For simplicity, if n=0, then w 11 <P 1 P 112 <P 1 +w 1 w 23 <P 2 w 14 <P 1 . The fourth delay circuit 12 may be omitted, and the timing pulses may be supplied to the flip-flops 6 and 7 by the output of the first delay circuit 10.

本実施例は、以下に述べるように、第1のクロ
ツクC1が停止したときはゲート18を開いて第
2のクロツクC2を出力することができる。
In this embodiment, as described below, when the first clock C1 stops, the gate 18 can be opened to output the second clock C2 .

次に、本実施例の動作について、第1図および
第2図を参照して説明する。第2図は、本実施例
の各部信号を示すタイムチヤートである。今、第
1のクロツクC1が第2図Aに示すように、時刻t1
からt2までの間停止するものとし、第2のクロツ
クC2は同図Bに示すように第1のクロツクC1
ほぼ同一周期で入力される独立したクロツクであ
るものとする。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2. FIG. 2 is a time chart showing signals of various parts in this embodiment. Now, the first clock C 1 is set at time t 1 as shown in FIG. 2A.
It is assumed that the second clock C2 is an independent clock that is input at almost the same period as the first clock C1 , as shown in FIG.

第1のクロツクC1が正常に入力されていると
きは、同図Cに示すように、第1のフリツプフロ
ツプ4の出力aは常時ローレベルであり、第2の
フリツプフロツプ5の出力bは、同図Dに示すよ
うにハイレベルであるから、排他的論理和回路1
4の出力xはハイレベルである(同図E)。一方、
フリツプフロツプ8および9の出力は、共にロー
レベルであり、フリツプフロツプ9の反転出力は
ハイレベルであるから、ゲート15の出力はハイ
レベルであり、フリツプフロツプ6の出力cおよ
びフリツプフロツプ7の出力dは共にハイレベル
である(同図F,G参照)。従つて、ゲート16
の出力が“1”となつて、ゲート17が開かれ、
ゲート18は閉じられている。すなわち、第2の
クロツクC2はゲート18によつて阻止され、同
図Jに示すように、第1のクロツクC1がゲート
17およびオア回路19を通してクロツク信号3
として出力されている。
When the first clock C1 is input normally, as shown in FIG. Since the level is high as shown in Figure D, exclusive OR circuit 1
The output x of No. 4 is at a high level (E in the same figure). on the other hand,
Since the outputs of flip-flops 8 and 9 are both low level and the inverted output of flip-flop 9 is high level, the output of gate 15 is high level, and the output c of flip-flop 6 and the output d of flip-flop 7 are both high level. level (see F and G in the same figure). Therefore, gate 16
The output of becomes "1", gate 17 is opened,
Gate 18 is closed. That is, the second clock C 2 is blocked by the gate 18, and the first clock C 1 passes through the gate 17 and the OR circuit 19 to the clock signal 3.
It is output as .

次に、時刻t1で第1のクロツクC1が停止する
と、最後のクロツクがτ1+τ2遅延して第2のフリ
ツプフロツプ5のクロツク入力に入力された時点
では第1のクロツクC1が“0”であるから、第
2のフリツプフロツプ5の出力bは同図Dに示す
ように“1”から“0”に反転する。そこで、排
他的論理和回路14の出力xも“1”から“0”
に反転する(同図E)。
Next, when the first clock C 1 stops at time t 1 , when the last clock is delayed by τ 1 + τ 2 and input to the clock input of the second flip-flop 5, the first clock C 1 is 0", the output b of the second flip-flop 5 is inverted from "1" to "0" as shown in FIG. Therefore, the output x of the exclusive OR circuit 14 also changes from “1” to “0”.
(E in the same figure).

排他的論理和回路14の出力xが“0”になる
と、インバータ20の出力が“1”になり、フリ
ツプフロツプ8が第3の遅延回路13の出力によ
つてインバータ20の出力を取込んでフリツプフ
ロツプ8の出力eが“1”となり、次いでフリツ
プフロツプ9の出力fが“1”となる(同図H,
I参照)。フリツプフロツプ9の出力fが“1”
になるとゲート18が開かれて、同図Jに示すよ
うに第2のクロツクC2がゲート18およびオア
回路19を通してクロツク信号3として出力され
る。一方、ゲート15の出力は“0”となるが、
遅延回路12の出力には第1のクロツクC1が出
現しないので、フリツプフロツプ6,7は以前に
保持した“1”をそのまま保持している(同図
F,G)。ただし、フリツプフロツプ9の反転出
力によつてゲート16が閉じているので、ゲート
17は閉じている。なお、、フリツプフロツプ9
の出力fが“1”になる時点は、第2のクロツク
C2がローレベルの期間中であるから、第2のク
ロツクC2のクロツクパルス(ハイレベルの期間
をいうものとする)は、次のクロツクパルスの始
めから出力されることになり、、通常より幅の狭
いパルスが出力されることはない。なお、この時
点では、第1のクロツクC1は既に停止している
のでクロツク信号3には第1のクロツクC1が停
止してから、ある程度間隔をおいて第2のクロツ
クC2が出力されるため、クロツク信号3が乱れ
ることはない。また、上述のようにゲート17が
閉じているから、仮に上記切替時点で第1のクロ
ツクC1が再び動作を開始したとしても直ちには
出力されないから、クロツク信号3が乱れること
はない。
When the output x of the exclusive OR circuit 14 becomes "0", the output of the inverter 20 becomes "1", and the flip-flop 8 takes in the output of the inverter 20 by the output of the third delay circuit 13 and operates the flip-flop 8. The output e of the flip-flop 8 becomes "1", and then the output f of the flip-flop 9 becomes "1" (H,
(see I). The output f of flip-flop 9 is “1”
Then, the gate 18 is opened and the second clock C2 is outputted as the clock signal 3 through the gate 18 and the OR circuit 19, as shown in FIG. On the other hand, the output of gate 15 is "0", but
Since the first clock C1 does not appear at the output of the delay circuit 12, the flip-flops 6 and 7 continue to hold the previously held "1" (FIGS. F and G in the figure). However, since gate 16 is closed by the inverted output of flip-flop 9, gate 17 is closed. In addition, flip-flop 9
The point at which the output f becomes “1” is the second clock
Since C2 is in the low level period, the clock pulse of the second clock C2 (referring to the high level period) will be output from the beginning of the next clock pulse, and will be wider than usual. A narrow pulse is never output. Note that at this point, the first clock C 1 has already stopped, so the second clock C 2 is output at a certain interval after the first clock C 1 stops as the clock signal 3 . Therefore, the clock signal 3 is not disturbed. Further, since the gate 17 is closed as described above, even if the first clock C1 starts operating again at the above-mentioned switching point, it will not be output immediately, so the clock signal 3 will not be disturbed.

第1のクロツクC1の回復時の動作は、以下の
ようになる。今、時刻t2で第1のクロツクC1が回
復すると、τ4だけ遅れて遅延回路12からトリガ
パルスが出力され、フリツプフロツプ6がゲート
15の出力“0”を取込んで、フリツプフロツプ
6の出力cが“1”から“0”に変化し、次いで
フリツプフロツプ7の出力dが“1”から“0”
に変化する(同図F,G)。一方、τ1+τ2の遅延
で第2の遅延回路11からトリガパルスが出力さ
れて第2のフリツプフロツプ5の出力bが“1”
になり(同図D)、排他的論理和回路14の出力
xも“1”となる(同図E)。これによつて、イ
ンバータ20の出力が“0”になり、第3の遅延
回路13の出力時点でフリツプフロツプ8の出力
eが“0”に反転し、次いでフリツプフロツプ9
の出力fも“0”に反転する(同図H,I)。フ
リツプフロツプ9の出力fが“0”になるとゲー
ト18が閉じて第2のクロツクC2が阻止される
(同図J)。
The operation of the first clock C1 upon recovery is as follows. Now, when the first clock C1 recovers at time t2 , a trigger pulse is output from the delay circuit 12 with a delay of τ4 , the flip-flop 6 takes in the output "0" of the gate 15, and the output of the flip-flop 6 is c changes from “1” to “0”, and then the output d of flip-flop 7 changes from “1” to “0”.
(Figure F and G). On the other hand, a trigger pulse is output from the second delay circuit 11 with a delay of τ 12 , and the output b of the second flip-flop 5 becomes “1”.
(D in the same figure), and the output x of the exclusive OR circuit 14 also becomes "1" (E in the same figure). As a result, the output of the inverter 20 becomes "0", the output e of the flip-flop 8 is inverted to "0" at the time of the output of the third delay circuit 13, and then the output e of the flip-flop 8 is inverted to "0".
The output f of is also inverted to "0" (H and I in the figure). When the output f of the flip-flop 9 becomes "0", the gate 18 closes and the second clock C2 is blocked (J in the figure).

一方、フリツプフロツプ9の反転出力が“1”
になり、ゲート15の出力も“1”となる。その
後、遅延回路12の出力によつてフリツプフロツ
プ6がゲート15の出力を取込んで、フリツプフ
ロツプ6の出力cが“1”となり、次いでフリツ
プフロツプ7の出力dも“1”になる(同図F,
G)。これによつて、ゲート16の出力が“1”
となり、ゲート17が開かれて、第1のクロツク
C1がゲート17およびオア回路19を通してク
ロツク信号3として出力される(同図J)。ゲー
ト17が開く時点は、第1のクロツクC1のロー
レベルの期間であるから、切替え時に幅の狭いパ
ルスが出力されることはない。なお、上述のよう
に、第2のクロツクC2がゲート18で阻止され
た後に、ある時間をおいて第1のクロツクC1
ゲート17を通過するから、クロツク信号3が乱
れることなく、またクロツク周期が一時的にでも
短縮されることはない。
On the other hand, the inverted output of flip-flop 9 is “1”
Therefore, the output of the gate 15 also becomes "1". Thereafter, the flip-flop 6 takes in the output of the gate 15 by the output of the delay circuit 12, and the output c of the flip-flop 6 becomes "1", and then the output d of the flip-flop 7 also becomes "1" (F,
G). As a result, the output of the gate 16 becomes "1".
Then, gate 17 is opened and the first clock is opened.
C1 is output as clock signal 3 through gate 17 and OR circuit 19 (J in the same figure). Since the time when the gate 17 opens is during the period when the first clock C1 is at a low level, a narrow pulse is not output at the time of switching. As mentioned above, after the second clock C2 is blocked by the gate 18, the first clock C1 passes through the gate 17 after a certain period of time, so that the clock signal 3 is not disturbed and is The clock period is not shortened even temporarily.

上述は、第1のクロツクC1が“0”で停止し、
その後再び動作する場合について説明したが、第
1のクロツクC1が“1”で停止した場合には、
停止中第1のフリツプフロツプ4の出力aが
“1”になり、第2のフリツプフロツプ5の出力
bは“1”のままとなることにより、排他的論理
和回路14の出力xが“0”になり、以後は上述
と同様に動作することができる。
In the above, the first clock C1 stops at “0”,
We have explained the case where it starts operating again after that, but if the first clock C1 stops at "1",
During the stop, the output a of the first flip-flop 4 becomes "1" and the output b of the second flip-flop 5 remains "1", so that the output x of the exclusive OR circuit 14 becomes "0". After that, the operation can be performed in the same manner as described above.

本実施例は、クロツクの切替えに、外部からの
切替え制御を必要としないから、外部装置の故障
等によつてクロツクが停止したとき、クロツクの
停止自体を検出して確実に他のクロツクに切替え
ることができるという効果がある。
This embodiment does not require external switching control to switch the clock, so when the clock stops due to a failure of an external device, the clock stops itself and is reliably switched to another clock. It has the effect of being able to

なお、上述は遅延時間τ1〜τ4等の設定をn=0
として説明したが、nは任意の整数であれば上記
同様なクロツク制御が可能である。ただし、nが
大きい程、クロツクが停止してから切替えるまで
に要する時間が長くなる。また、第1の遅延回路
10の遅延時間を、 (n+1)P1<τ1<(n+1)P1+w2 とし、第2の遅延回路11の遅延時間を、 w1+(n+1)P1<τ1+τ2<(n+2)P1 となるように設定しても、第1および第2のフリ
ツプフロツプ4と5の関係が逆になるだけである
から、上述と同様に動作することは明白である。
Note that in the above, the settings of the delay times τ 1 to τ 4 , etc. are set to n=0.
However, if n is any integer, the same clock control as above is possible. However, the larger n is, the longer the time required from when the clock stops to when the clock is switched. Further, the delay time of the first delay circuit 10 is set as (n+1)P 11 <(n+1)P 1 +w 2 , and the delay time of the second delay circuit 11 is set as w 1 +(n+1)P 1 Even if it is set so that <τ 12 <(n+2)P 1 , the relationship between the first and second flip-flops 4 and 5 is simply reversed, so it is clear that the operation will be the same as described above. It is.

本回路を大規模外部記憶装置に適用すれば、入
出力装置から供給される第1のクロツクの停止中
においては、内蔵する第2のクロツクによつて外
部記憶装置がリフレツシユ動作を継続することが
可能である。
If this circuit is applied to a large-scale external storage device, while the first clock supplied from the input/output device is stopped, the external storage device can continue the refresh operation using the built-in second clock. It is possible.

発明の効果 以上のように、本発明においては、クロツクの
停止自体を検出して、クロツクが停止したとき
は、他のクロツクに切替えるように構成したか
ら、外部からのクロツク切替え制御が必要でな
く、クロツク停止時に確実に他のクロツクに切替
えることができるという効果がある。
Effects of the Invention As described above, in the present invention, since the clock stop itself is detected and the clock is switched to another clock when the clock stops, there is no need for external clock switching control. This has the advantage that when the clock stops, it is possible to reliably switch to another clock.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は上記実施例の各部信号を示すタイムチヤ
ートである。 図において、3:クロツク信号、4:第1のフ
リツプフロツプ、5:第2のフリツプフロツプ、
6〜9:フリツプフロツプ、10:第1の遅延回
路、11:第2の遅延回路、12:第4の遅延回
路、13:第3の遅延回路、14:排他的論理和
回路、15〜18:ゲート、19:オア回路、2
0:インバータ、21,22:バツフア。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a time chart showing various signals of the above embodiment. In the figure, 3: clock signal, 4: first flip-flop, 5: second flip-flop,
6 to 9: flip-flop, 10: first delay circuit, 11: second delay circuit, 12: fourth delay circuit, 13: third delay circuit, 14: exclusive OR circuit, 15 to 18: Gate, 19: OR circuit, 2
0: inverter, 21, 22: buffer.

Claims (1)

【特許請求の範囲】[Claims] 1 第1のクロツクを遅延させる第1の遅延回路
と、該第1の遅延回路の出力によつて前記第1の
クロツクを保持出力する第1のフリツプフロツプ
と、前記第1の遅延回路の出力をさらに遅延させ
る第2の遅延回路と、該第2の遅延回路の出力に
よつて前記第1のクロツクを保持出力する第2の
フリツプフロツプと、該第2のフリツプフロツプ
の出力と前記第1のフリツプフロツプの出力とを
入力する排他的論理和回路と、前記第1のクロツ
クとは独立に入力される第2のクロツクを遅延さ
せる第3の遅延回路と、前記排他的論理和回路の
出力を反転させた信号を上記第3の遅延回路の出
力に同期して保持出力する第1の同期化フリツプ
フロツプと、該第1の同期化フリツプフロツプの
出力によつて開かれ前記第2のクロツクを通過さ
せるゲートと、上記第1の同期化フリツプフロツ
プの反転出力によつて開かれ前記排他的論理和回
路の出力を通過させるゲートと、該ゲートの出力
を前記第1のクロツクの遅延した信号に同期して
保持出力する第2の同期化フリツプフロツプと、
該第2の同期化フリツプフロツプの出力および前
記第1の同期化フリツプフロツプの反転出力が共
に“1”であるときに開かれて前記第1のクロツ
クを通過させるゲートとを備えたことを特徴とす
るクロツク制御回路。
1: a first delay circuit that delays a first clock; a first flip-flop that holds and outputs the first clock using the output of the first delay circuit; a second delay circuit that further delays the clock; a second flip-flop that holds and outputs the first clock using the output of the second delay circuit; a third delay circuit that delays a second clock that is input independently of the first clock; and an exclusive OR circuit that inverts the output of the exclusive OR circuit. a first synchronization flip-flop that holds and outputs a signal in synchronization with the output of the third delay circuit; a gate that is opened by the output of the first synchronization flip-flop and allows the second clock to pass through; a gate that is opened by the inverted output of the first synchronized flip-flop and allows the output of the exclusive OR circuit to pass; and a gate that holds and outputs the output of the gate in synchronization with the delayed signal of the first clock. a second synchronized flip-flop;
A gate that is opened when the output of the second synchronized flip-flop and the inverted output of the first synchronized flip-flop are both "1" and allows the first clock to pass through. Clock control circuit.
JP59225561A 1984-10-26 1984-10-26 Clock control circuit Granted JPS61103228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59225561A JPS61103228A (en) 1984-10-26 1984-10-26 Clock control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59225561A JPS61103228A (en) 1984-10-26 1984-10-26 Clock control circuit

Publications (2)

Publication Number Publication Date
JPS61103228A JPS61103228A (en) 1986-05-21
JPH0332086B2 true JPH0332086B2 (en) 1991-05-09

Family

ID=16831225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59225561A Granted JPS61103228A (en) 1984-10-26 1984-10-26 Clock control circuit

Country Status (1)

Country Link
JP (1) JPS61103228A (en)

Also Published As

Publication number Publication date
JPS61103228A (en) 1986-05-21

Similar Documents

Publication Publication Date Title
US6067272A (en) Delayed locked loop implementation in a synchronous dynamic random access memory
US6707723B2 (en) Data input circuits and methods of inputting data for a synchronous semiconductor memory device
US7558133B2 (en) System and method for capturing data signals using a data strobe signal
US6338127B1 (en) Method and apparatus for resynchronizing a plurality of clock signals used to latch respective digital signals, and memory device using same
US5978281A (en) Method and apparatus for preventing postamble corruption within a memory system
US6279090B1 (en) Method and apparatus for resynchronizing a plurality of clock signals used in latching respective digital signals applied to a packetized memory device
US6965530B2 (en) Semiconductor memory device and semiconductor memory device control method
KR100540487B1 (en) Data output control circuit
EP1040404A1 (en) Method and apparatus for coupling signals between two circuits operating in different clock domains
US6049241A (en) Clock skew circuit
US4691121A (en) Digital free-running clock synchronizer
JPH0332086B2 (en)
KR20020037525A (en) Semiconductor memory device with a delay locked loop circuit
JP3688137B2 (en) Microcomputer
JP2898450B2 (en) Semiconductor storage device
JPH09293377A (en) Generation circuit for internal column address for supporting burst mode
JP3484660B2 (en) Buffer memory capacity shortage detection circuit
JPH09292930A (en) Timing adjustment device for signal transmission
JP3468505B2 (en) I / O circuit of semiconductor device
JPH03237688A (en) Semiconductor output circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees