JPS5919373B2 - Clock switching method - Google Patents
Clock switching methodInfo
- Publication number
- JPS5919373B2 JPS5919373B2 JP53073965A JP7396578A JPS5919373B2 JP S5919373 B2 JPS5919373 B2 JP S5919373B2 JP 53073965 A JP53073965 A JP 53073965A JP 7396578 A JP7396578 A JP 7396578A JP S5919373 B2 JPS5919373 B2 JP S5919373B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- switching circuit
- transmission control
- switching
- control section
- 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
Links
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
本発明は、計算機システムに対してクロック信号を供給
できるクロック源が複数個設けられているクロック供給
システムにおいて、クロック信号を切替える際、上記計
算機システムを長時間停止させることな<クロックを切
替え得るようにしたクロック切替方式に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a clock supply system in which a plurality of clock sources capable of supplying clock signals to a computer system are provided, in which the computer system is stopped for a long time when switching clock signals. The present invention relates to a clock switching method that allows clocks to be switched.
第1図は従来のクロック供給方式を示すものであつて、
1は構成制御装置、例えばメモリ制御ユニット、2はク
ロック信号を生成するクロック・ソース、3−Aと3〜
Bは主装置、4−Aと4−Bは共通装置をそれぞれ示し
ている。Figure 1 shows a conventional clock supply system,
1 is a configuration controller, e.g. a memory control unit; 2 is a clock source for generating a clock signal; 3-A and 3-
B indicates the main device, and 4-A and 4-B indicate the common devices, respectively.
主装置とは例えば、中央処理装置であり、共通装置とは
、例えばメモリやチャネルである。第1図のクロック供
給方式は、構成が簡単であるが、システムAとシステム
Bとを論理的に分離した場合、各々のシステム単独でク
ロックを制御することが困難である。また、システムA
とシステムBとを物理的に分離した場合、クロツク・ソ
ースを実装している装置が新たに必要となる。さらに、
第1図の従来方式では、クロツク・ソースの保守を行う
ことが出来ない。第2図はクロツク供給方式の他の従来
例を示すものである。The main device is, for example, a central processing unit, and the common device is, for example, a memory or a channel. The clock supply system shown in FIG. 1 has a simple configuration, but when system A and system B are logically separated, it is difficult to control the clock independently of each system. Also, system A
If system B and system B are physically separated, a new device implementing a clock source will be required. moreover,
The conventional system of FIG. 1 does not allow maintenance of the clock source. FIG. 2 shows another conventional example of the clock supply system.
第2図に訃いて、5−Aと5−Bは切替回路、6−Aと
6−Bはスイツチをそれぞれ示している。な訃、第1図
と同一符号は同一物を示している。スイツチ6−Aがオ
ンされたときは、クロツク・ソース2−Aからのクロツ
ク信号が切替回路5−A,5−Bから出力され、スイツ
チ6−Bがオンされたときは、クロツク・ソース2Bか
らのクロツク信号が切替回路5−A,5−Bから出力さ
れる。第2図の従来方式においては、切替回路および共
通装置の作り方によつては、各システムA,B単独でク
ロツクを制御することが出来る。また、システムAとシ
ステムBとを物理的に分離した場合、クロツク・ソース
を実装した装置を新たに必要とすることはない。しかし
、第2図の従来方式に訃いては、クロツク・ソースの切
替えの際、各システムの動作の完全性は保証されず、ク
ロツク周期に比較して充分長い時間それぞれのシステム
を停止させなければならない。本発明は、上記の考察に
もとづくものであつて、計算機対応にクロツク発生機構
とクロツク切替回路とが設けられているクロツク供給方
式に訃いて、クロツク切替の時でもシステムの動作が保
証され、且つクロツク切替時間をシステムの動作に影響
を与えないように短かく出来るようにしたクロツク切替
方式を提供することを目的としている。そしてそのため
、2台の計算機を有する計算機システムに卦いて、各計
算機対応に設けられ且つ内部に1個又は複数個のクロツ
ク源を有するクロツク発生機構と、各計算機対応に設け
られ且つ上記2個のクロツク発生機構からのクロツクが
入力されるクロツク切替回路と、上記2個のクロツク切
替回路から出力されるクロツクを指定するクロツク指定
機構と、上記2個のクロツク切替回路間に設けられたイ
ンタフエイス信号線とを備え、且つ、上記各クロツク切
替回路が、上記インタブ・イス信号線を介して相手側ク
ロツク切替回路の状態を認識して相手側クロツク切替回
路と同時に切替前のクロツクの停止卦よび切替後のクロ
ツクの送出を行うように構成されたクロツク切替方式に
おいて、各クロツク切替回路は、自系クロツク発生機構
からのクロツクの送出を制御する自系クロツク送出制御
部と、他系クロツク発生機構からのクロツクの送出を制
御する他系クロツク送出制御部とを備え、上記自系クロ
ツク送出制御部は、クロツク指定機構が自系クロツクを
指定したこと及び相手側クロツク切替回路の自系クロツ
ク送出制御部がクロツク停止動作中であること、あるい
は相手側の電源が確立していないことを条件として自系
クロツクを送出するための制御を開始すると共に上記ク
ロツク指定機構による自系クロツクの指定が解除された
ときあるいは相手側の電源が確立し相手側切替回路の自
系クロツク送出制御部がクロツク送出制御を開始したと
き自系クロツクを停止するための制御を開始するように
構成され、上記他系クロツク送出制御部は、相手側クロ
ツク切替回路の自系クロツク送出制御部がクロツク送出
動作中であることを条件として他系クロツクを送出する
ための制御を開始すると共に上記相手側クロツク切替回
路の自系クロツク送出制御部がクロツク停止動作中であ
ることを条件として他系クロツクを停止するための制御
を開始することを特徴とするものである。以下、本発明
を図面を参照しつつ説明する。第3図は本発明の1実施
例の概要を示す図、第4図は本発明の切替回路の1実施
例のプロツク図、第5図は本発明の1実施例の動作を示
すタイムチヤートである。In FIG. 2, 5-A and 5-B indicate switching circuits, and 6-A and 6-B indicate switches, respectively. The same reference numerals as in Fig. 1 indicate the same things. When switch 6-A is turned on, the clock signal from clock source 2-A is output from switching circuits 5-A and 5-B, and when switch 6-B is turned on, the clock signal from clock source 2-A is output from switching circuits 5-A and 5-B. A clock signal from the switching circuits 5-A and 5-B is output from the switching circuits 5-A and 5-B. In the conventional system shown in FIG. 2, each system A and B can independently control the clock depending on how the switching circuit and common device are constructed. Furthermore, if system A and system B are physically separated, there is no need for a new device equipped with a clock source. However, with the conventional method shown in Figure 2, the integrity of each system's operation cannot be guaranteed when switching clock sources, and each system must be stopped for a sufficiently long time compared to the clock cycle. It won't happen. The present invention is based on the above considerations, and uses a clock supply system that is equipped with a clock generation mechanism and a clock switching circuit for computers, thereby guaranteeing system operation even during clock switching. It is an object of the present invention to provide a clock switching method that can shorten the clock switching time so as not to affect the operation of the system. Therefore, in a computer system having two computers, a clock generation mechanism is provided for each computer and has one or more internal clock sources, and a clock generation mechanism is provided for each computer and has one or more clock sources inside. A clock switching circuit into which the clock from the clock generation mechanism is input, a clock specifying mechanism that specifies the clock output from the two clock switching circuits, and an interface signal provided between the two clock switching circuits. and each of the clock switching circuits recognizes the state of the clock switching circuit on the other side via the interface signal line, and simultaneously stops and switches the clock before switching at the same time as the clock switching circuit on the other side. In a clock switching system that is configured to transmit the subsequent clock, each clock switching circuit has a local clock transmission control section that controls the transmission of the clock from the local clock generation mechanism, and a clock transmission control section that controls the transmission of the clock from the local clock generation mechanism. and an other-system clock transmission control section that controls the transmission of the clock of the other system, and the own-system clock transmission control section controls the clock designation mechanism to specify the own-system clock and the other-system clock transmission control section of the other-side clock switching circuit. On the condition that the clock is stopped or the power source of the other side is not established, control to send out the own system clock is started, and the designation of the own system clock by the clock designation mechanism is canceled. or when the power supply of the other side is established and the own system clock transmission control section of the other side switching circuit starts clock transmission control, the system is configured to start control for stopping the own system clock, and the above-mentioned other system clock transmission is performed. The control section starts control for sending out the other system clock on the condition that the own system clock transmission control section of the other side clock switching circuit is in the clock sending operation, and also starts the control to send out the other system clock. The present invention is characterized in that the transmission control section starts control for stopping the clocks of other systems on the condition that the clocks are being stopped. Hereinafter, the present invention will be explained with reference to the drawings. FIG. 3 is a diagram showing an outline of one embodiment of the present invention, FIG. 4 is a block diagram of one embodiment of the switching circuit of the present invention, and FIG. 5 is a time chart showing the operation of one embodiment of the present invention. be.
第3図において、10−Aと10−Bは中央処理装置、
11−Aと11−Bはメモリ制御装置/メモリ、12−
Aと12−Bはチヤネル制御装置/チヤネル、13−A
と13−Bはサービス・プロセツサ、14−Aと14−
Bは切替回路、15−Aと15−Bも切替回路、16−
Aと16−Bはクロツク・ソース、17−Aと17−B
もクロツク・ソース、18はインタフエイス信号線、1
9−Aと19−Bはクロツク発生機構をそれぞれ示して
いる。クロツク・ソース16−Aと16−Bは、正規の
周期のクロツク信号を発生するものであり、クロツク・
ソース17−A,l7−Bはテスト用のクロツクを生成
するものである。正規のクロツク・ソースの周期は例え
ば100nsであジ、テスト用クロツク・ソースの周期
は例えば95nsである。切替回路15一Aは、クロツ
ク・ソース16−Aと17−Aを切替えるものであり、
切替回路15−Bはクロツク・ソース16−Bと17−
Bを切替えるものである。サービス・プロセツサ13−
A,l3−Bは、クロツク発生機構19−A,l9−B
のいずれを使用するかを指定するものである。システム
AとシステムBが物理的に結合されているときは、サー
ビス・プロセツサ13−A,l3−Bは同一のクロツク
発生機構を指定することは、当然である。使用すべきク
ロツク発生機構としてクロツク発生機構19−Aが指定
されたときは、切替回路14−A}よび14Bはクロツ
ク発生機構19Aからのクロツクを出力し、使用すべき
クロツク発生機構としてクロツク発生機構19−Bが指
示されたときは、切替回路14−A卦よび切替回路14
−Bはクロツク発生機構19−Bからのクロツクを出力
する。メモリ制御装置/メモI川1A,11−Bは切替
回路14−A,l4−Bの両方からクロツクを受けるこ
とが出来、チヤネル制御装置/チヤネル12−A,l2
−Bも切替回路14−A,l4−Bの両方からクロツク
を受けることが出来る。使用されるクロツク発生機構を
クロツク発生機構19−Aからクロツク発生機構19−
Bに切替える場合、次のような動作が行われる。In FIG. 3, 10-A and 10-B are central processing units;
11-A and 11-B are memory control devices/memories, 12-
A and 12-B are channel control devices/channels, 13-A
and 13-B are service processors, 14-A and 14-
B is a switching circuit, 15-A and 15-B are also switching circuits, 16-
A and 16-B are clock sources, 17-A and 17-B
Also clock source, 18 is interface signal line, 1
9-A and 19-B respectively show clock generation mechanisms. Clock sources 16-A and 16-B generate clock signals with regular cycles, and
Sources 17-A and 17-B generate test clocks. The regular clock source has a period of, for example, 100 ns, and the test clock source has a period of, for example, 95 ns. The switching circuit 15-A switches between the clock sources 16-A and 17-A.
Switching circuit 15-B connects clock sources 16-B and 17-
B. Service processor 13-
A, l3-B are clock generation mechanisms 19-A, l9-B.
This specifies which one to use. When systems A and B are physically coupled, it is natural that service processors 13-A and 13-B specify the same clock generation mechanism. When the clock generation mechanism 19-A is specified as the clock generation mechanism to be used, the switching circuits 14-A} and 14B output the clock from the clock generation mechanism 19A, and select the clock generation mechanism as the clock generation mechanism to be used. When 19-B is instructed, switching circuit 14-A and switching circuit 14
-B outputs the clock from the clock generating mechanism 19-B. Memory controller/memo I rivers 1A and 11-B can receive clocks from both switching circuits 14-A and l4-B, and channel controller/channels 12-A and l2
-B can also receive clocks from both switching circuits 14-A and 14-B. The clock generation mechanisms used are divided into clock generation mechanisms 19-A to 19-A.
When switching to B, the following operations are performed.
サービス・プロセツサ13−A,l3−Bがクロツク発
生機構19−Bを使用すべきことを指示すると、切替回
路14−Aはクロツク発生機構19−Aからのクロツク
を停止する動作を開始し、そしてインタフエイス線18
を介してクロツク停止動作を開始した旨の通知を切替回
路14−Bに対して行う。切替回路14−Bは、この通
知を受けると、クロツク発生機構19−Aからのクロツ
クを停止する動作を開始する。これにより、切替回路1
4−A,l4−Bはクロツク発生機構19−Aからのク
ロツクを同時に停止する。また、切替回路14−Aは、
クロツク発生機構19−Aからのクロツクを停止する動
作を終了する前に、その旨を切替回路14−Bへ通知す
る。切替回路14−Bは、この旨の通知を受けると、ク
ロツク発生機構19−Bからのクロツクを送出する動作
を開始し、また、切替回路14−Aに対してクロツク発
生機構19Bからのクロツク送出のための動作を行いつ
つある旨を切替回路14−Aへ通知する。切替回路14
−Aは、この通知を受けると、クロツク発生機構19−
Bからのクロツクを送出するための動作を開始する。こ
れにより、切替回路14−A訃よび14−Bは、クロツ
ク発生機構19−Bからのクロツクを同時に送出する。
上述の説明は、使用されるクロツク発生機構をクロツク
発生機構19−Aからクロツク発生機構19−Bへ切替
えるときの動作を説明するものであるが、クロツク発生
機構19−Bからクロツク発生機構19−Aへ切替える
場合にも同様な動作が行われる。第4図は切替回路14
−Aのプロツク図を示すものである。なお、切替回路1
4−Bは切替回路14−Aと同一構成である。20は電
源制御部、SELはフリツプ・フロツプ、L1ないしL
6はフリツプ・フロツプ、R1ないしR3もフリツプ・
フロツプ、G1ないしG25はゲート、SWは短絡板、
DLlとDL2はデイレイ回路をそれぞれ示している。When the service processors 13-A and 13-B instruct that the clock generation mechanism 19-B should be used, the switching circuit 14-A starts the operation of stopping the clock from the clock generation mechanism 19-A, and Interface line 18
A notification to the effect that the clock stop operation has started is sent to the switching circuit 14-B via the switching circuit 14-B. When the switching circuit 14-B receives this notification, it starts the operation of stopping the clock from the clock generating mechanism 19-A. As a result, switching circuit 1
4-A and 14-B simultaneously stop the clock from the clock generating mechanism 19-A. Moreover, the switching circuit 14-A is
Before ending the operation of stopping the clock from the clock generation mechanism 19-A, this is notified to the switching circuit 14-B. When the switching circuit 14-B receives this notification, it starts the operation of sending out the clock from the clock generation mechanism 19-B, and also starts sending out the clock from the clock generation mechanism 19B to the switching circuit 14-A. The switching circuit 14-A is notified that the operation is being performed. Switching circuit 14
-A, upon receiving this notification, clock generation mechanism 19-
The operation for sending the clock from B is started. As a result, the switching circuits 14-A and 14-B simultaneously send out the clock from the clock generating mechanism 19-B.
The above description describes the operation when switching the clock generation mechanism used from the clock generation mechanism 19-A to the clock generation mechanism 19-B. A similar operation is performed when switching to A. Figure 4 shows the switching circuit 14.
-A block diagram is shown. In addition, switching circuit 1
4-B has the same configuration as the switching circuit 14-A. 20 is a power supply control unit, SEL is a flip-flop, L1 to L
6 is a flip-flop, R1 to R3 are also flip-flops.
Flop, G1 to G25 are gates, SW is short circuit plate,
DLl and DL2 indicate delay circuits, respectively.
また、PRDYO,PRDYl,PRDYL,OSCO
,OSCi,SELA,SELO,SELi,INST
ALL,CHGO,CHGi,GOO,GOi,USE
RO,USERlはそれぞれ次のような内容を有する信
号である。PRDYO電圧が確立したことを他系に示す
電源レデイ信号。Also, PRDYO, PRDYl, PRDYL, OSCO
,OSCi,SELA,SELO,SELi,INST
ALL, CHGO, CHGi, GOO, GOi, USE
RO and USERl are signals having the following contents. A power supply ready signal that indicates to other systems that the PRDYO voltage has been established.
PRDYi他系の電圧が確立したことを示す他系からの
電源レデイ信号。PRDYi Power supply ready signal from another system indicating that the voltage of the other system has been established.
PRDYL電圧を確立したことを示す電源レデイ信号。Power ready signal indicating that the PRDYL voltage has been established.
SELAクロツク発生機構14−Aを指定する信号。A signal specifying the SELA clock generation mechanism 14-A.
SELOフリツプ・フロツプSELの状態を他系の切替
回路へ通知する信号。SELO A signal that notifies the state of flip-flop SEL to a switching circuit in another system.
SELi他系の切替回路のフリツプ・フロツプSELの
状態を示す他系からの信号。SELi A signal from another system indicating the state of flip-flop SEL of a switching circuit of another system.
INSTALLシステムAとシステムBとが物理的に結
合されているか否かを示す信号。INSTALL A signal indicating whether system A and system B are physically coupled.
CHGO自系のクロツク発生機構からのクロツク送出状
況を他系の切替回路へ通知する信号。A signal that notifies the switching circuit of another system of the clock transmission status from the clock generation mechanism of CHGO's own system.
GOO自系のクロツク発生機構からのクロツク送出状況
を他系の切替回路へ通知する信号、ただし、この信号の
状態変化
は信号CHGOより遅れて発生する。A signal that notifies the switching circuit of another system of the clock transmission status from the clock generation mechanism of GOO's own system. However, the state change of this signal occurs later than the signal CHGO.
CHGi信号CHGOに対応する他系からの信号。CHGi signal A signal from another system corresponding to CHGO.
GOi信号GOiに対応する他系からの信号。GOi signal A signal from another system that corresponds to GOi.
USEROシステムBの共通装置に対してリモート側の
クロツクが使用できるか否かを示す信号。A signal indicating whether the remote side clock can be used for the common device of USERO system B.
USERiシステムBから送られるリモート側のクロツ
クが使用できるか否かを示す信号。A signal sent from USERi system B indicating whether the remote side clock can be used.
DCLK切替回路からのクロツク出力。Clock output from DCLK switching circuit.
次に、第4図、第5図を参照して本発明の1実施例の動
作を詳細に説明する。Next, the operation of one embodiment of the present invention will be described in detail with reference to FIGS. 4 and 5.
時亥I(9)でシステムA側の電源が投入されたとする
。電源は、中央処理装置10−A、メモリ制御装置/メ
モI川1A、チヤネル制御装置/チヤネル、12−Aの
順に投入される。全フリツプ・フロツプL1ないしL6
,RlないしR3の状態は不定であるが、信号+PRD
Yiは論理「0」であるので、ゲートG3が開き、フリ
ツプ・フロツプLl,L2・・・L6は順次オンとなる
。フリツプ・フロツプL6およびフリツプ・フロツプR
3の状態が確定するまで、クロツク出カーDCLKは不
定となるが、各装置10−A,ll−A,l2−Aはそ
れぞれの電源レデイ信号により保護されている。フリツ
プ・フロツプR3がオフ、フリツプ・フロツプL6がオ
ンとなると、ゲートG7によりシステムAの持つクロツ
ク発生機構19−Aからのクロツクがクロツク+DCL
Kとして切替回路14−Aから出力される。次に、時刻
@でシステムBの電源が投入されたとする。Assume that the system A side is powered on at time I (9). Power is turned on in the order of central processing unit 10-A, memory control unit/memo I river 1A, channel control unit/channel, and 12-A. All flip-flops L1 to L6
, Rl to R3 are undefined, but the signal +PRD
Since Yi is logic "0", gate G3 is opened and flip-flops L1, L2, . . ., L6 are turned on in sequence. Flip-flop L6 and flip-flop R
Until the state of No. 3 is determined, the clock output card DCLK remains undefined, but each device 10-A, 11-A, 12-A is protected by its respective power supply ready signal. When flip-flop R3 is turned off and flip-flop L6 is turned on, the clock from the clock generation mechanism 19-A of system A is changed to clock +DCL by gate G7.
It is output as K from the switching circuit 14-A. Next, assume that system B is powered on at time @.
システムBの電源レデイ信号十PRDYLが論理「1」
となるまで切替回路14B内のフリツプ・フロツプL1
およびR1はりセツトされ続けフリツプ・フロツプL1
ないしL6卦よびフリツプ・フロツプR1ないしR3は
順次オフとなる。System B power supply ready signal 10PRDYL is logic “1”
The flip-flop L1 in the switching circuit 14B until
and R1 continues to be set flip-flop L1
Then, the L6 hexagram and the flip-flops R1 to R3 are sequentially turned off.
システムAの共通装置11−A,l2−Aに対して他系
クロツク使用可能信号USEROが送出されるが、この
信号は電源レデイ信号が論理「1]になつてからデイレ
イ回路DL2で規定された時間経過後に論理「1]とな
る。切替回路14−Bに訃いて、電源レデイ信号十PR
DYLが論理「1」となると、フリツプ・フロツブL1
訃よびフリツプ・フロツプR1は動作可能となる。いま
、信号SELAが論理「1]であるとすると、切替回路
14−Aのフリツプ・フロツプSELはオンとなわ、切
替回路14−BのゲートG3はオフとなる。この結果1
4−B内のフリツプ・フロツプL1ないしL6はオフの
ま\である。切替回路14−Bに入力される状態信号C
HGi,GOiは共に論理「1」となつておね、これに
より、フリツプ・フロツプR1ないしR3が順次オンに
なる。切替回路14−BのゲートG8により、クロツク
発生機構14−Aからのクロツクが切替回路14−Bか
ら出力される。次に、時刻@) = +SELAが論理
「0」になつたとする。 路14−Aにおいて、ゲ
ートG3がオフと フリツプ・フロツプL1ないしL
6は順次オフとなる。切替回路14−Aのフリツプ・フ
ロツプL3の出力である信号十CHGOはオフとなる。
この信号+CHGOは切替回路14−Bの信号→−CH
Giとなり、切替回路14−BのゲートG6をオフにし
、フリツプ・フロツプR1ないしR3を順次オフにする
。切替回路14−Aのフリツプ・フロツプL6と、切替
回路14−Bのフリツプ・フロツプR3は同時にオフと
なる。切替回路14−Aのフリツプ・フロツプL5の出
力+GOiは、切替回路14−Bの信号十CHGiとな
る。The other system clock enable signal USERO is sent to the common devices 11-A and 12-A of system A, but this signal is specified by the delay circuit DL2 after the power supply ready signal becomes logic "1". After the elapse of time, the logic becomes "1".
When DYL becomes logic “1”, flip-flop L1
Afterwards, the flip-flop R1 becomes operational. Now, if the signal SELA is logic "1", the flip-flop SEL of the switching circuit 14-A is turned on, and the gate G3 of the switching circuit 14-B is turned off.As a result, 1
Flip-flops L1 through L6 in 4-B remain off. Status signal C input to switching circuit 14-B
Both HGi and GOi become logic "1", which turns on flip-flops R1 to R3 in sequence. The gate G8 of the switching circuit 14-B allows the clock from the clock generation mechanism 14-A to be output from the switching circuit 14-B. Next, assume that time @) = +SELA becomes logic "0". At path 14-A, gate G3 is off and flip-flops L1 to L
6 are turned off sequentially. The signal CHGO, which is the output of the flip-flop L3 of the switching circuit 14-A, is turned off.
This signal +CHGO is the signal of the switching circuit 14-B → -CH
Gi, turns off the gate G6 of the switching circuit 14-B, and sequentially turns off the flip-flops R1 to R3. Flip-flop L6 of switching circuit 14-A and flip-flop R3 of switching circuit 14-B are turned off at the same time. The output +GOi of the flip-flop L5 of the switching circuit 14-A becomes the signal +CHGi of the switching circuit 14-B.
この結果、切替回路14−BのゲートG3はオンになり
、切替回路14−Bのフリツブ・フロツプL1ないしL
3は順次オンになる。切替回路14−Bのフリツプ・フ
ロツプL3の出力+CHGOは、切替回路14−Aの信
号CHGiとなる。この結果、切替回路14−Aのゲー
トG6がオンとなり、切替回路14−Aのフリツプ・フ
ロツプR1ないしR3は切替回路14Bのフリツプ・フ
ロツプL4ないしL6と同期してオンになる。即ち、切
替回路14−Aのフリツプ・フロツプR3と切替回路1
4−Bのフリツプ・フロツプL6は同時にオンになる。
切替回路14−Aのフリツプ・フロツプR3および切替
回路14−Bのフリツプ・フロツプL6がオンになるま
でクロツク供給は停止されるが、フリツプ・フロツブの
段数を適当に設定することにより、このクロツク供給停
止時間をシステムの動作に影響を与えない程度に短かく
することが出来る。As a result, the gate G3 of the switching circuit 14-B is turned on, and the flip-flops L1 to L of the switching circuit 14-B are turned on.
3 are turned on sequentially. The output +CHGO of the flip-flop L3 of the switching circuit 14-B becomes the signal CHGi of the switching circuit 14-A. As a result, gate G6 of switching circuit 14-A is turned on, and flip-flops R1 to R3 of switching circuit 14-A are turned on in synchronization with flip-flops L4 to L6 of switching circuit 14B. That is, the flip-flop R3 of the switching circuit 14-A and the switching circuit 1
Flip-flop L6 of 4-B is turned on at the same time.
Clock supply is stopped until flip-flop R3 of switching circuit 14-A and flip-flop L6 of switching circuit 14-B are turned on, but by appropriately setting the number of flip-flop stages, this clock supply can be stopped. The stop time can be shortened to the extent that it does not affect the operation of the system.
次に、システムAの電源切断スイツチを投入したとする
。Next, assume that the power cutoff switch for system A is turned on.
そうすると、直ちに電源レデイ信号が落ち、切替回路1
4−Aの信号PRDYOは論理「0」となる。この信号
PRDYOは切替回路14−Bの信号PRDYiとなり
、切替回路14−BのゲートG3がオンになる。以下、
切替回路14Bのフリツプ・フロツプL,ないしL6が
遂次オンとなり、クロツク発生機構19−Bのクロツク
が切替回路14−Bから出力される。その後、システム
Aの電源の切断が開始される。以上の説明から明らかな
ように、本発明のクロツク切替方式によれば、クロツク
源の切替え時に}いてもシステムの連続性が保証され、
クロツクの切替え時間もシステムの動作に影響を与えな
い程度に短かくすることが可能である。Then, the power ready signal immediately drops and the switching circuit 1
The signal PRDYO of 4-A becomes logic "0". This signal PRDYO becomes the signal PRDYi of the switching circuit 14-B, and the gate G3 of the switching circuit 14-B is turned on. below,
Flip-flops L and L6 of the switching circuit 14B are turned on successively, and the clock of the clock generating mechanism 19-B is output from the switching circuit 14-B. After that, powering off of system A is started. As is clear from the above description, according to the clock switching method of the present invention, system continuity is guaranteed even when the clock source is switched.
The clock switching time can also be shortened to the extent that it does not affect the operation of the system.
第1図、第2図はそれぞれ従来のクロツク供給方式を示
す図、第3図は本発明の1実施例の概要を示す図、第4
図は本発明の切替回路の1実施例を示す図、第5図は本
発明の1実施例の動作を示すタイムチヤートである。
10−Aと10−B・・・中央処理装置、11−Aと1
1−B・・・メモリ制御装置/メモリ、12−Aと12
−B・・・チヤネル制御装置/チヤネル、13Aと13
−B...サービス・プロセツサ、14−Aと14−B
・・・切替回路、15−Aと15−B・・・切替回路、
16−Aと16−B・・・クロツク・ソース、17−A
と17−B・・・クロツク・ソース、18・・・インタ
フエイス信号線、19−Aと19B・・・クロツク発生
機構。1 and 2 are diagrams showing a conventional clock supply system, respectively, FIG. 3 is a diagram showing an outline of an embodiment of the present invention, and FIG.
The figure shows one embodiment of the switching circuit of the present invention, and FIG. 5 is a time chart showing the operation of one embodiment of the present invention. 10-A and 10-B...Central processing unit, 11-A and 1
1-B...Memory control device/memory, 12-A and 12
-B...Channel control device/channel, 13A and 13
-B. .. .. Service processors, 14-A and 14-B
... switching circuit, 15-A and 15-B... switching circuit,
16-A and 16-B...clock sauce, 17-A
and 17-B... clock source, 18... interface signal line, 19-A and 19B... clock generation mechanism.
Claims (1)
計算機対応に設けられ且つ内部に1個又は複数個のクロ
ック源を有するクロック発生機構と、各計算機対応に設
けられ且つ上記2個のクロック発生機構からのクロック
が入力されるクロック切替回路と、上記2個のクロック
切替回路から出力されるクロックを指定するクロック指
定機構と、上記2個のクロック切替回路間に設けられた
インタフェイス信号線とを備え、且つ、上記各クロック
切替回路が、上記インタフェイス信号線を介して相手側
クロック切替回路の状態を認識して相手側クロック切替
回路と同時に切替前のクロックの停止および切替後のク
ロックの送出を行うように構成されたクロック切替方式
において、各クロック切替回路は、自系クロック発生機
構からのクロックの送出を制御する自系クロック送出制
御部と、他系クロック発生機構からのクロックの送出を
制御する他系クロック送出制御部とを備え、上記自系ク
ロック送出制御部は、クロック指定機構が自系クロック
を指定したこと及び相手側クロック切替回路の自系クロ
ック送出制御部がクロック停止動作中であること、ある
いは相手側の電源が確立していないことを条件として自
系クロックを送出するための制御を開始すると共に上記
クロック指定機構による自系クロックの指定が解除され
たとき、あるいは相手側の電源が確立し相手側切替回路
の自系クロック送出制御部がクロック送出制御を開始し
たとき自系クロックを停止するための制御を開始するよ
うに構成され、上記他系クロック送出制御部は、相手側
クロック切替回路の自系クロック送出制御部がクロック
送出動作中であることを条件として他系クロックを送出
するための制御を開始すると共に上記相手側クロック切
替回路の自系クロック送出制御部がクロック停止動作中
であることを条件として他系クロックを停止するための
制御を開始することを特徴とするクロック切替方式。1. In a computer system having two computers, a clock generation mechanism provided for each computer and having one or more internal clock sources, and a clock generation mechanism provided for each computer and from the above two clock generation mechanisms. a clock switching circuit into which a clock is input, a clock specifying mechanism for specifying a clock output from the two clock switching circuits, and an interface signal line provided between the two clock switching circuits. , and each of the clock switching circuits recognizes the state of the clock switching circuit on the other side via the interface signal line, and simultaneously stops the clock before switching and transmits the clock after switching at the same time as the clock switching circuit on the other side. In the clock switching method configured to perform this, each clock switching circuit includes a local clock transmission control section that controls clock transmission from the local clock generation mechanism, and a local clock transmission control section that controls clock transmission from the other system clock generation mechanism. and an other-system clock transmission control unit that detects that the clock designation mechanism has specified the own-system clock and that the own-system clock transmission control unit of the other-side clock switching circuit is in a clock stop operation. or when the control to send the own system clock is started on the condition that the power supply of the other side is not established, and the specification of the own system clock by the clock designation mechanism is canceled, or when the other side's When the power supply is established and the own system clock transmission control section of the other side switching circuit starts clock transmission control, the other system clock transmission control section is configured to start control for stopping the own system clock, and the other system clock transmission control section On the condition that the own system clock transmission control section of the side clock switching circuit is in the clock transmission operation, the own system clock transmission control section of the said other side clock switching circuit starts the control for sending out the other system clock, and the own system clock transmission control section of the said other side clock switching circuit starts the clock transmission operation. A clock switching method characterized in that control for stopping a clock of another system is started on the condition that the clock is in a stopping operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP53073965A JPS5919373B2 (en) | 1978-06-19 | 1978-06-19 | Clock switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP53073965A JPS5919373B2 (en) | 1978-06-19 | 1978-06-19 | Clock switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS55944A JPS55944A (en) | 1980-01-07 |
JPS5919373B2 true JPS5919373B2 (en) | 1984-05-04 |
Family
ID=13533289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP53073965A Expired JPS5919373B2 (en) | 1978-06-19 | 1978-06-19 | Clock switching method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5919373B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57105016A (en) * | 1980-12-22 | 1982-06-30 | Nec Corp | Clock source switching system |
JPS57127366A (en) * | 1981-01-30 | 1982-08-07 | Sanyo Electric Co Ltd | Horizontal afc circuit of television picture receiver |
JPS6228781Y2 (en) * | 1981-06-17 | 1987-07-23 | ||
JPS6095623A (en) * | 1983-10-31 | 1985-05-29 | Hitachi Ltd | Information processing system |
JP5267218B2 (en) * | 2009-03-05 | 2013-08-21 | 富士通株式会社 | Clock supply method and information processing apparatus |
-
1978
- 1978-06-19 JP JP53073965A patent/JPS5919373B2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS55944A (en) | 1980-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8214668B2 (en) | Synchronizing circuit | |
KR100196091B1 (en) | Peripheral unit selection system | |
TWI596487B (en) | Sequential latching device and method with elements to increase hold times on the diagnostic data path | |
JP3852716B2 (en) | Uninterruptible power system | |
CN111656338B (en) | Inter-processor communication | |
JPH0463573B2 (en) | ||
JP2009509226A (en) | Bus circuit | |
JPS5919373B2 (en) | Clock switching method | |
JP3368815B2 (en) | Flip-flop circuit | |
JPS634151B2 (en) | ||
JPS63175913A (en) | Clock supplying system | |
US5587675A (en) | Multiclock controller | |
JP4204655B2 (en) | Microcomputer with pulse output function | |
JPH1185304A (en) | Clock input control circuit | |
JPH0962649A (en) | Signal input/output circuit | |
JPH10207703A (en) | Remote programming for microprocessor through standard serial port | |
JP4727779B2 (en) | Actuator control system and control method | |
US5999742A (en) | Dual latch data transfer pacing logic using a timer to maintain a data transfer interval | |
SU1068050A3 (en) | Device for synchronizing main and stand-by computers | |
JPH10171651A (en) | Register file and its control system | |
JPH03230725A (en) | Power-on control method | |
JP3917736B2 (en) | Integrated circuit | |
JPH03224017A (en) | Clock switching device | |
JPH02173832A (en) | Duplex controller | |
JPS6019025B2 (en) | Initial value setting method |