[go: up one dir, main page]

JPH06138973A - Clock synchronizing system - Google Patents

Clock synchronizing system

Info

Publication number
JPH06138973A
JPH06138973A JP4292652A JP29265292A JPH06138973A JP H06138973 A JPH06138973 A JP H06138973A JP 4292652 A JP4292652 A JP 4292652A JP 29265292 A JP29265292 A JP 29265292A JP H06138973 A JPH06138973 A JP H06138973A
Authority
JP
Japan
Prior art keywords
clock
control device
signal
clock control
counter
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.)
Withdrawn
Application number
JP4292652A
Other languages
Japanese (ja)
Inventor
Hidehiko Nishida
秀彦 西田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4292652A priority Critical patent/JPH06138973A/en
Publication of JPH06138973A publication Critical patent/JPH06138973A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

(57)【要約】 【目的】複数の処理装置を有するシステムにおけるクロ
ックの同期制御に関し、装置間で信号を伝送するのに複
数τの時間が必要となる場合であっても、クロックの同
期を保証するクロック同期化方式を提供することを目的
とする。 【構成】特定のクロック制御装置10が生成する同期制
御のための信号を、他のクロック制御装置20に伝達す
るために要する時間を記憶するレジスタ104を設ける
と共に、他のクロック制御装置20において、このレジ
スタ104の値に基づいて、クロックを作成する手段を
設けることにより構成する。
(57) [Summary] [Object] Regarding clock synchronization control in a system having a plurality of processing devices, clock synchronization is performed even when multiple τ times are required to transmit a signal between the devices. The purpose is to provide a guaranteed clock synchronization scheme. A register 104 for storing a time required to transmit a signal for synchronous control generated by a specific clock control device 10 to another clock control device 20 is provided, and the clock control device 20 further comprises: It is configured by providing a means for creating a clock based on the value of the register 104.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、同一のタイミングで動
作し、並列処理を行なう複数の処理装置を有するシステ
ムにおけるクロックの同期制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to clock synchronous control in a system having a plurality of processing devices which operate at the same timing and perform parallel processing.

【0002】近年の計算機システムにおいては、処理デ
ータの増大等により、ますます処理能力の向上が要求さ
れてきている。しかし、単一の処理装置での処理能力は
限界に近づきつつあるため、システム内に複数の処理装
置を持たせ、並列処理を行なうことによって、システム
の処理能力を高めている。
In computer systems in recent years, it has been required to further improve the processing capacity due to an increase in processing data. However, since the processing capacity of a single processing unit is approaching its limit, the processing capacity of the system is improved by having a plurality of processing units in the system and performing parallel processing.

【0003】[0003]

【従来の技術】並列処理を行なうために、複数の処理装
置を擁するシステムでは、処理装置の数を多くすればす
るほど装置間の距離が大きくなる。この場合、1τの時
間幅で、各処理装置間に、共通の信号を伝達することが
できなくなるので、どのようにしてそれぞれの処理装置
へ共通のクロックを供給するかが問題となる。
2. Description of the Related Art In a system having a plurality of processing devices for performing parallel processing, the distance between the devices increases as the number of processing devices increases. In this case, since a common signal cannot be transmitted between the processing devices within a time width of 1τ, it becomes a problem how to supply a common clock to each processing device.

【0004】この問題を解決するために、処理装置を複
数のグループに分けるという方式が実施された。この方
式は、グループ内で1τ伝送可能とし、またグループ間
を接続する装置間でも1τ伝送可能とするものである。
そして、グループ間を接続する装置間でクロック制御信
号を送り合うことで全処理装置のクロックの同期を行な
う。
In order to solve this problem, a method of dividing the processing devices into a plurality of groups has been implemented. This method enables 1τ transmission within a group, and also allows 1τ transmission between devices connecting between groups.
Then, the clocks of all processors are synchronized by sending clock control signals between the devices that connect the groups.

【0005】図5,6を使って従来例を簡明に説明す
る。図5は、システムの概要図である。このシステム
は、二個のサブシステム50〜54,60〜64で構成
されている。ここで、クロックオシレータを内蔵する装
置54,64は、クロック信号をクロック制御装置5
0,60に送出している。なお、同様のサブシステムを
追加することで、さらに大きなシステムを構成すること
もできる。
A conventional example will be briefly described with reference to FIGS. FIG. 5 is a schematic diagram of the system. This system is composed of two subsystems 50 to 54 and 60 to 64. Here, the devices 54 and 64 having the built-in clock oscillator send the clock signal to the clock control device 5.
It is sent to 0,60. Note that a larger system can be configured by adding the same subsystem.

【0006】クロック制御装置50,60は、各サブシ
ステム50〜54,60〜64で使用するクロックの同
期を制御するための装置であり、それぞれ処理装置51
〜53,61〜63へ共通のクロックを供給する。ま
た、クロック制御装置50,60間では、同期を制御す
るための信号を伝送し合い、各サブシステム50〜5
4,60〜64間での同期をとっている。
The clock control devices 50 and 60 are devices for controlling the synchronization of the clocks used in the subsystems 50 to 54 and 60 to 64, respectively.
A common clock is supplied to 53 to 61 and 63 to 63. In addition, the clock control devices 50 and 60 transmit signals for controlling synchronization to each other, and each subsystem 50 to 5
4, 60 to 64 are synchronized.

【0007】図6は、従来のクロック制御装置の構成を
示す図である。図6において、クロック制御装置50
は、カウンタ501と、レジスタ503〜505,50
7と、クロック作成回路502と、選択回路506とで
構成されている。他サブシステムのクロック制御装置6
0も、同様の回路601〜607で構成されている。
FIG. 6 is a diagram showing the configuration of a conventional clock control device. In FIG. 6, a clock controller 50
Is a counter 501 and registers 503 to 505, 50.
7, a clock generation circuit 502, and a selection circuit 506. Clock control device 6 of other subsystem
0 is also composed of similar circuits 601 to 607.

【0008】図5,6において、電源が投入されると、
各サブシステムは独立した一個のシステムとして立ち上
がる。このとき、一方のサブシステムは、クロックオシ
レータを内蔵する装置54のクロックによって動作し、
他方のサブシステムは、クロックオシレータを内蔵する
装置64のクロックによって動作する。
5 and 6, when the power is turned on,
Each subsystem starts up as an independent system. At this time, one of the subsystems is operated by the clock of the device 54 containing the clock oscillator,
The other subsystem operates on the clock of the device 64 which contains the clock oscillator.

【0009】この状態から前記一方のサブシステムがマ
スタと、また、前記他方のサブシステムがスレーブと指
示された場合において、システム全体でクロックを同期
させる従来方式について説明する。
A conventional method for synchronizing the clocks in the entire system when one of the subsystems is designated as the master and the other subsystem is designated as the slave from this state will be described.

【0010】マスタを指示されたサブシステムのクロッ
ク制御はそのまま使用され、カウンタ501が出力する
カウンタ情報が、レジスタ503,504を経て、レジ
スタ507までシフトされる。
The clock control of the subsystem designated as the master is used as it is, and the counter information output from the counter 501 is shifted to the register 507 via the registers 503 and 504.

【0011】続いて、カウンタ501が、仮に‘0’,
‘1’,・・・,‘7’までカウントすると再び‘0’
からカウントを始めるものであれば、クロック作成回路
502は、カウンタ情報の値が、例えば‘0’又は
‘4’の時に4τ周期のクロックを作成し、これを処理
装置50〜53に供給する。
Then, the counter 501 temporarily outputs "0",
When it counts up to "1", ..., "7", it becomes "0" again.
If the counter information value is, for example, “0” or “4”, the clock generation circuit 502 generates a clock of 4τ cycle and supplies it to the processing devices 50 to 53.

【0012】一方、スレーブを指示されたサブシステム
では、スレーブを指示されたサブシステムにおけるクロ
ックオシレータを内蔵する装置64のクロックから、マ
スタを指示されたサブシステムにおけるクロックオシレ
ータを内蔵する装置54のクロックへのクロック切り替
えが行なわれる。
On the other hand, in the subsystem designated as the slave, from the clock of the device 64 incorporating the clock oscillator in the subsystem designated as the slave to the clock of the device 54 incorporating the clock oscillator in the subsystem designated as the master. The clock is switched to.

【0013】クロックを切り替える場合には、マスタの
サブシステムから送られてくるカウンタ情報信号508
を、レジスタ605に設定する。この値が、選択回路6
06で選択され、レジスタ607に設定されると、クロ
ック作成回路602は、4τ周期のクロックを作成す
る。
When the clock is switched, the counter information signal 508 sent from the master subsystem.
Are set in the register 605. This value is the selection circuit 6
When selected in 06 and set in the register 607, the clock creating circuit 602 creates a clock of 4τ cycle.

【0014】上記のようにしてクロックが作成されると
きのタイミングチャートを図7に示す。図示するよう
に、カウンタ501の計数値は、1τ遅れてレジスタ5
03に現われ、さらに1τ遅れてレジスタ504及びク
ロック制御装置60の側のレジスタ605に現われてい
る。
FIG. 7 shows a timing chart when the clock is generated as described above. As shown in the figure, the count value of the counter 501 is delayed by 1τ, and
03, and 1 τ later and appearing in the register 504 and the register 605 on the clock controller 60 side.

【0015】レジスタ504の値は、次のタイミングで
は、選択回路506によって選択されるので、レジスタ
507に現われる。また、同じタイミングで、レジスタ
605の値は、選択回路606によって選択されるの
で、レジスタ607に現われる。従って、カウンタ50
1の計数値は、3τの時間を経過後、レジスタ507,
607に設定される。
The value of the register 504 appears in the register 507 because it is selected by the selection circuit 506 at the next timing. Further, at the same timing, the value of the register 605 is selected by the selection circuit 606 and therefore appears in the register 607. Therefore, the counter 50
The count value of 1 is the register 507, after the time of 3τ has elapsed.
It is set to 607.

【0016】各クロック制御装置50,60のクロック
作成回路502,602は、レジスタ507,607の
値が、‘0’又は‘4’になった時にパルスを出力して
いる。従って、クロック作成回路502,602は、4
τ周期で、同一のクロックを供給することとなる。
The clock generation circuits 502 and 602 of the clock control devices 50 and 60 output pulses when the values of the registers 507 and 607 become "0" or "4". Therefore, the clock generation circuits 502 and 602 have four
The same clock is supplied every τ cycle.

【0017】[0017]

【発明が解決しようとする課題】以上説明したようなシ
ステムにおいて、装置の数がさらに多くなるとサブシス
テムの数もまた多くなるので、サブシステム間を接続す
るクロック制御装置の間において、1τ時間内で同期制
御のための信号を伝送することが困難となる。
In the system described above, the number of subsystems increases as the number of devices increases, so that the clock control devices connecting the subsystems can be connected within 1τ time. Therefore, it becomes difficult to transmit a signal for synchronization control.

【0018】このように、サブシステムの数が増加し
て、クロック制御装置間で信号を伝送するのに、複数τ
の時間が必要な場合には、空中伝送を行なう必要が出て
くる。しかし、クロック周期によって伝送τ数が変化す
るため、この同期制御を実現することは非常に困難であ
る。従って、従来方式では、性能向上のために装置の数
を増やそうとしても増やすことができないという問題点
があった。
As described above, the number of subsystems increases, and a plurality of τ's are required to transmit a signal between the clock control devices.
If time is required, it will be necessary to perform air transmission. However, it is very difficult to realize this synchronization control because the transmission τ number changes depending on the clock cycle. Therefore, the conventional method has a problem in that it is impossible to increase the number of devices in order to improve the performance.

【0019】本発明は、このような従来の問題点に鑑み
て為されたものであり、装置間で信号を伝送するのに複
数τの時間が必要となる場合であっても、システムの各
装置に供給するクロックの同期を保証するクロック同期
化方式を提供することを目的とし、その効果として装置
台数の大規模な増加を可能とするものである。
The present invention has been made in view of the above-mentioned conventional problems, and even if a plurality of τ times are required to transmit a signal between devices, each of the system is The purpose of the present invention is to provide a clock synchronization system that guarantees the synchronization of clocks supplied to devices, and as a result, it is possible to increase the number of devices on a large scale.

【0020】[0020]

【課題を解決するための手段】本発明によれば、上述の
目的は、前記特許請求の範囲に記載した手段にて達成さ
れる。
According to the invention, the above mentioned objects are achieved by means of the patent claims.

【0021】すなわち、請求項1の発明は、同一のタイ
ミングで動作する複数の装置と、クロックオシレータを
内蔵する装置と、前記複数の装置へ同一のクロックを供
給するためのクロック制御装置とを擁するサブシステム
を複数個持つと共に、この複数のサブシステムが持つ各
クロック制御装置が、互いに同期がとれたクロックを作
成することで、複数のサブシステムが有するすべての装
置を同一のタイミングで動作させられるよう構成された
システムにおいて、特定のクロック制御装置が生成する
同期制御のための信号を、他のクロック制御装置に伝達
するために要する時間を記憶するレジスタを設けると共
に、他のクロック制御装置に、このレジスタの値に基づ
いて、そのカウンタの計数値を、前記特定のクロック制
御装置が持つカウンタの計数値と同一の値に設定する手
段を設けるクロック同期化方式である。
That is, the invention of claim 1 comprises a plurality of devices that operate at the same timing, a device that incorporates a clock oscillator, and a clock control device that supplies the same clock to the plurality of devices. By having a plurality of subsystems and the clock control devices of the plurality of subsystems creating clocks synchronized with each other, all the devices of the plurality of subsystems can be operated at the same timing. In the system configured as described above, a register for storing the time required to transmit a signal for synchronization control generated by a specific clock control device to another clock control device is provided, and the other clock control device is provided with Based on the value of this register, the count value of the counter is counted by the specific clock control device. A clock synchronization method of providing a means for setting the count value same value as the data.

【0022】また、請求項2の発明は、前記同期制御の
ための信号を、特定のクロック制御装置から他のクロッ
ク制御装置へ伝達する手段にディレーを設けると共に、
前記同期制御のための信号を、前記特定のクロック制御
装置へ折り返す伝達手段であって、前記伝達する手段と
等ディレーに設定されたものを設けるクロック同期化方
式である。
According to the invention of claim 2, a delay is provided in the means for transmitting the signal for the synchronous control from a specific clock control device to another clock control device, and
This is a clock synchronization system in which there is provided transmission means for returning the signal for the synchronization control to the specific clock control device, the transmission means being set to the same delay as the transmission means.

【0023】また、請求項3の発明は、前記折り返す伝
達手段によって折り返される信号を正しくラッチできる
タイミングを検出する手段と、このタイミングを他のク
ロック制御装置へ伝達する手段とを設けるクロック同期
化方式である。
Further, the invention of claim 3 is a clock synchronization system, which is provided with a means for detecting a timing at which the signal returned by the return transmission means can be correctly latched, and a means for transmitting the timing to another clock control device. Is.

【0024】[0024]

【作用】図1は、本発明の一実施例を示す図である。図
1において、クロック制御装置10をマスタとし、ま
た、クロック制御装置20をマスタのクロックに同期し
たクロックを作成するスレーブとする。カウンタ10
3,203は、それぞれのクロック制御装置10,20
においてカウント動作を行ない、クロックの元となる計
数値を出力する。
1 is a diagram showing an embodiment of the present invention. In FIG. 1, the clock control device 10 is a master, and the clock control device 20 is a slave that creates a clock synchronized with the clock of the master. Counter 10
3, 203 are clock control devices 10, 20 respectively.
At, the count operation is performed and the count value that is the basis of the clock is output.

【0025】クロック制御装置10の中で、カウンタ1
03が計数した値が、ある値になった場合には、カウン
タ103は、トリガ信号を1τ時間だけ出力する。この
トリガ信号は、ケーブル107により他のクロック制御
装置20の同期化回路210へ、そして、ケーブル10
6によって自らのクロック制御装置10の同期化回路1
10へ伝えられる。
In the clock controller 10, the counter 1
When the value counted by 03 reaches a certain value, the counter 103 outputs the trigger signal for 1τ time. This trigger signal is sent to the synchronization circuit 210 of another clock control device 20 by the cable 107, and then the cable 10
6, the synchronization circuit 1 of its own clock control device 10
Passed to 10.

【0026】クロック制御装置10は、自らのクロック
制御装置10へトリガ信号が折り返し伝えられた時の、
カウンタ103の計数値をレジスタ104に設定する。
また、トリガ信号の同期化回路110は、ケーブル10
6によって折り返されるトリガ信号を入力し、このトリ
ガ信号を正しくラッチすることができるタイミングを検
出すると共に、そのタイミングをパス選択信号109と
して出力する。
The clock control device 10, when the trigger signal is transmitted back to its own clock control device 10,
The count value of the counter 103 is set in the register 104.
In addition, the trigger signal synchronization circuit 110 is connected to the cable 10
The trigger signal returned by 6 is input, the timing at which this trigger signal can be correctly latched is detected, and the timing is output as the path selection signal 109.

【0027】図2は、以上説明した動作を説明するため
のタイミングチャートの図である。図2において、カウ
ンタ103は、‘0’,‘1’,・・・,‘7’と計数
した後、再び‘0’から計数を始める。この間、選択回
路101は、カウンタ103の計数値を選択し、出力し
ている。このクロック103が‘0’を計数した時、二
つのケーブル106,107にトリガ信号が伝えられ
る。
FIG. 2 is a timing chart for explaining the operation described above. In FIG. 2, the counter 103 starts counting from "0" after counting "0", "1", ..., "7". During this time, the selection circuit 101 selects and outputs the count value of the counter 103. When the clock 103 counts "0", a trigger signal is transmitted to the two cables 106 and 107.

【0028】そして、トリガ信号を折り返すケーブル1
06より、最初のトリガ信号が伝達された時に、トリガ
信号の同期化回路110は、トリガ信号をラッチできる
タイミングを検出し、このタイミングをパス選択信号1
09として出力する。さらに、次のトリガ信号が折り返
された時に、カウンタ103の計数値がレジスタ104
に設定される。
Then, the cable 1 for returning the trigger signal.
From 06, when the first trigger signal is transmitted, the trigger signal synchronization circuit 110 detects the timing at which the trigger signal can be latched, and this timing is detected by the path selection signal 1
It outputs as 09. Further, when the next trigger signal is returned, the count value of the counter 103 is stored in the register 104.
Is set to.

【0029】レジスタ104には、クロック制御装置1
0からクロック制御装置20へ伝達される信号の伝搬時
間が設定されるので、このレジスタ104の値に基づい
て、クロック制御装置20のクロック203を、クロッ
ク制御装置10のクロック103に同期して動作させる
ことができる。なお、クロック制御装置20のレジスタ
204にも同様の値が設定される。
In the register 104, the clock controller 1
Since the propagation time of the signal transmitted from 0 to the clock control device 20 is set, the clock 203 of the clock control device 20 operates in synchronization with the clock 103 of the clock control device 10 based on the value of this register 104. Can be made. A similar value is set in the register 204 of the clock control device 20.

【0030】[0030]

【実施例】図1に示す実施例についてさらに説明する。
電源投入時、各サブシステムはそれぞれ1個のシステム
として立ち上がり、クロックオシレータを内蔵するそれ
ぞれの装置のクロックによって動作する。以下、この電
源投入直後の動作を、クロック制御装置10に関して説
明する。なお、これとは独立したクロックで動作するク
ロック制御装置20でも同様の動作が行なわれる。
EXAMPLES The example shown in FIG. 1 will be further described.
When the power is turned on, each subsystem starts up as one system and operates according to the clock of each device incorporating the clock oscillator. The operation immediately after the power is turned on will be described below with respect to the clock control device 10. The same operation is performed by the clock control device 20 which operates with a clock independent of this.

【0031】電源投入後、クロック制御装置10では、
トリガ信号をクロックに同期してラッチするためのパス
選択信号109、トリガ信号の伝送に要するτ数を示す
伝送クロック数信号108の値を決定する。パス選択信
号109、及び伝送クロック数信号108の値の決定
は、以下のようにして行なうことができる。
After the power is turned on, the clock control device 10
The values of the path selection signal 109 for latching the trigger signal in synchronization with the clock and the value of the transmission clock number signal 108 indicating the number of τ required for transmission of the trigger signal are determined. The values of the path selection signal 109 and the transmission clock number signal 108 can be determined as follows.

【0032】クロック制御装置10の電源が確定する
と、カウンタ103がカウント動作を開始する。 カウンタ103が‘0’をカウントしたとき、二本の
ケーブル106,107にトリガ信号を出力する。 クロック制御装置10は、ケーブル106から折り返
し伝達されたトリガ信号を受信する。
When the power supply of the clock control device 10 is decided, the counter 103 starts counting operation. When the counter 103 counts “0”, a trigger signal is output to the two cables 106 and 107. The clock control device 10 receives the trigger signal transmitted back from the cable 106.

【0033】ここで、クロック制御装置10の部分的な
構成例を、図4に示す。図4において、クロック制御装
置10は、折り返し伝達されたトリガ信号をスルーで受
けるラッチ46と、[ディレー回路B]44を通ったト
リガ信号を受けるラッチ47とを有している。両者のラ
ッチの値は、EOR回路49で比較され、その結果はパ
ス選択信号109を出力するラッチ48に設定される。
Here, a partial configuration example of the clock control device 10 is shown in FIG. In FIG. 4, the clock control device 10 has a latch 46 that receives the trigger signal transmitted back and forth, and a latch 47 that receives the trigger signal that has passed through the [delay circuit B] 44. The values of both latches are compared by the EOR circuit 49, and the result is set in the latch 48 which outputs the path selection signal 109.

【0034】例えば、EOR回路49は、トリガ信号を
受ける二つのラッチ46,47のいずれかが‘1’とな
ったときに、両者のラッチ46,47の値を比較する。
そして、両者が同じ値、すなわち‘1’ならば‘0’を
出力し、両者が異なる値、すなわちいずれか一方が
‘0’ならば‘1’を出力する。
For example, the EOR circuit 49 compares the values of both latches 46 and 47 when either of the two latches 46 and 47 receiving the trigger signal becomes "1".
Then, if they are the same value, that is, "1", "0" is output, and if they are different values, that is, if either one is "0", "1" is output.

【0035】この出力信号は、ラッチ48に設定され、
パス選択信号109として出力される。同時に、ラッチ
48の値は、選択回路42によって選択されて、選択回
路41を制御する信号Aとなる。
This output signal is set in the latch 48,
It is output as the path selection signal 109. At the same time, the value of the latch 48 is selected by the selection circuit 42 and becomes the signal A for controlling the selection circuit 41.

【0036】続いて、ケーブル106,107に次の
トリガ信号が発信されると、クロック制御装置10は、
ケーブル106から折り返し伝達されるトリガ信号を、
選択回路40で選択し、[ディレー回路A]43に入力
する。
Subsequently, when the next trigger signal is transmitted to the cables 106 and 107, the clock control device 10
The trigger signal transmitted back from the cable 106 is
It is selected by the selection circuit 40 and input to the [delay circuit A] 43.

【0037】[ディレー回路A]43の出力信号は、
二種類のパスを通って、選択回路41に入力される。選
択回路41は、パス選択信号109と同等な信号Aが
‘0’の時はスルーのパスを、‘1’の時は[ディレー
回路B]45を通るパスを選択する。
The output signal of the [delay circuit A] 43 is
It is input to the selection circuit 41 through two types of paths. The selection circuit 41 selects a through path when the signal A equivalent to the path selection signal 109 is “0” and a path passing through the [delay circuit B] 45 when the signal A is “1”.

【0038】選択回路41の出力で、レジスタ104に
カウンタ103の値を設定するタイミングを決定する。
すなわち、レジスタ104は、選択信号41がトリガ信
号を出力した時にカウンタ103の値をラッチする。こ
の時のカウンタ103の値は、信号がケーブル106,
107を伝送するのに要する時間を、τ数で示したもの
である。
The output of the selection circuit 41 determines the timing for setting the value of the counter 103 in the register 104.
That is, the register 104 latches the value of the counter 103 when the selection signal 41 outputs the trigger signal. At this time, the value of the counter 103 is the signal of the cable 106,
The time required to transmit 107 is represented by the τ number.

【0039】次に、装置11〜13を含むサブシステム
をマスタと、また、装置21〜23を含むサブシステム
をスレーブとした場合における各サブシステムのクロッ
ク作成動作について説明する。
Next, the clock generating operation of each subsystem when the subsystem including the devices 11 to 13 is the master and the subsystem including the devices 21 to 23 is the slave will be described.

【0040】上述したように、最初は、マスタのサブ
システムも、スレーブのサブシステムもそれぞれの別シ
ステムとして立ち上がる。この時、マスタのサブシステ
ムでは、伝送クロック数信号108、及びパス選択信号
109が確定し、スレーブのサブシステムでも同様に、
伝送クロック数信号208、及びパス選択信号209が
確定する。
As described above, initially, both the master subsystem and the slave subsystem start up as separate systems. At this time, in the master subsystem, the transmission clock number signal 108 and the path selection signal 109 are fixed, and similarly in the slave subsystem,
The transmission clock number signal 208 and the path selection signal 209 are determined.

【0041】クロック制御装置10を含むサブシステ
ムでは、マスタの設定が行なわれる。この時、クロック
制御装置10内のクロック動作はそのままの状態を保
つ。一方、クロック制御装置20を含むサブシステムに
は、スレーブの設定が行なわれる。
In the subsystem including the clock controller 10, the master is set. At this time, the clock operation in the clock control device 10 is maintained as it is. On the other hand, a slave is set in the subsystem including the clock control device 20.

【0042】クロック制御装置20では、スレーブの
設定がなされたことにより、そのクロックを、スレーブ
のサブシステムが有するクロックオシレータを内蔵する
装置のクロックから、マスタのサブシステムが有するク
ロックオシレータを内蔵する装置のクロックへ切り替え
る。
In the clock controller 20, since the slave is set, its clock is changed from the clock of the device having the clock oscillator included in the slave subsystem to the device having the clock oscillator included in the master subsystem. Switch to the clock.

【0043】マスタのクロック制御回路10からケー
ブル107を経て送られてきたトリガ信号は、スレーブ
のクロック制御回路20において、図4に示す選択回路
40に相当する選択回路により選択され、[ディレー回
路A]43に相当する[ディレー回路A]に入力され
る。
The trigger signal sent from the master clock control circuit 10 via the cable 107 is selected by the selection circuit corresponding to the selection circuit 40 shown in FIG. 4 in the slave clock control circuit 20, and the [delay circuit A ] 43 corresponding to [delay circuit A].

【0044】クロック制御装置20において、この
[ディレー回路A]の出力は、予め送られてきているパ
ス選択信号109により、図4の選択回路41に相当す
る選択回路によって選択される。すなわち、パス選択信
号109の値が‘0’であればスルーのパスが、‘1’
であればディレー回路Bを通るパスが選択される。
In the clock controller 20, the output of the [delay circuit A] is selected by the selection circuit corresponding to the selection circuit 41 of FIG. 4 by the path selection signal 109 sent in advance. That is, if the value of the path selection signal 109 is "0", the through path is "1".
If so, the path passing through the delay circuit B is selected.

【0045】ここで、クロック制御装置20におい
て、図4の選択回路41に相当する選択回路によって選
択された信号が‘1’の時には、既にクロック制御装置
10から送られてきている伝送クロック数信号108の
伝送τ数を、選択回路201が選択し、このτ数に
‘1’を加算した値をカウンタ203に設定する。
Here, in the clock control device 20, when the signal selected by the selection circuit corresponding to the selection circuit 41 in FIG. 4 is "1", the transmission clock number signal already sent from the clock control device 10 The selection circuit 201 selects the transmission τ number of 108, and a value obtained by adding “1” to this τ number is set in the counter 203.

【0046】また、クロック制御装置20において、図
4の選択回路41に相当する選択回路によって選択され
た信号が‘0’の時には、選択回路201は、カウンタ
203の出力信号を選択し、カウンタ203はそれまで
の計数値に‘1’を加算して、通常のカウント動作を行
なう。
In the clock control device 20, when the signal selected by the selection circuit corresponding to the selection circuit 41 of FIG. 4 is "0", the selection circuit 201 selects the output signal of the counter 203 and the counter 203. Adds "1" to the count value up to then and performs a normal count operation.

【0047】以上の動作により、クロック制御装置10
のカウンタ103と、クロック制御装置20のカウンタ
203とは、同一タイミングには同じ値を計数すること
となる。よって、それぞれのサブシステムにおけるクロ
ック作成回路105、205は、同等のクロックを作成
することができる。
By the above operation, the clock controller 10
The counter 103 and the counter 203 of the clock control device 20 count the same value at the same timing. Therefore, the clock generation circuits 105 and 205 in the respective subsystems can generate equivalent clocks.

【0048】以上の動作を説明するタイミングチャート
の図を、図3に示す。図3において、電源投入後、各サ
ブシステムは独立したひとつのシステムとして立ち上が
るので、初期の間は、それぞれのカウンタ103,20
3の計数値は異なっている。マスタのカウンタ103
は、‘6’,‘7’と計数を始め、続いて‘0’を計数
したときに、ケーブル107にトリガ信号を出力する。
FIG. 3 shows a timing chart for explaining the above operation. In FIG. 3, each subsystem starts up as an independent system after the power is turned on. Therefore, during the initial period, each counter 103, 20
The counts of 3 are different. Master counter 103
Starts counting “6” and “7” and then outputs a trigger signal to the cable 107 when counting “0”.

【0049】このケーブル107に出力されたトリガ信
号は、スレーブのクロック制御装置20に伝達され、伝
送クロック数信号108の値を、カウンタ203に設定
するタイミングを示す信号として使用される。すなわ
ち、カウンタ203には、トリガ信号が伝えられた次の
タイミングで、伝送クロック数信号108の値に‘1’
を加算した値を設定することとする。
The trigger signal output to the cable 107 is transmitted to the slave clock control device 20 and used as a signal indicating the timing of setting the value of the transmission clock number signal 108 in the counter 203. That is, the value of the transmission clock number signal 108 is set to “1” at the timing next to the transmission of the trigger signal to the counter 203.
The value obtained by adding is to be set.

【0050】図中、トリガ信号が伝えられたタイミング
で、カウンタ203は‘1’を計数している。このと
き、選択回路201は、カウンタ203の計数値ではな
く、伝送クロック数信号108を選択する。
In the figure, the counter 203 counts "1" at the timing when the trigger signal is transmitted. At this time, the selection circuit 201 selects the transmission clock number signal 108 instead of the count value of the counter 203.

【0051】伝送クロック数信号108の値は‘4’で
あるので、次のタイミングでは、カウンタ203の計数
値は‘5’となる。以降、それぞれのクロック作成回路
105,205からは、4τ周期の同一のクロックが出
力される。
Since the value of the transmission clock number signal 108 is "4", the count value of the counter 203 becomes "5" at the next timing. After that, the same clock of 4τ cycle is output from each of the clock generation circuits 105 and 205.

【0052】以上の実施例では、二個のサブシステムに
おける同期制御方式を一例として説明したが、さらに多
くのサブシステムを持つシステムでも、本発明を適用で
きるのは明らかである。この場合の接続は、各サブシス
テムのクロック制御装置間をすべて接続するものでもよ
いし、隣合う装置間のみを接続するループ状の接続でも
可能である。
In the above embodiments, the synchronous control method in two subsystems has been described as an example, but it is obvious that the present invention can be applied to a system having more subsystems. The connections in this case may be all connections between clock control devices of each subsystem, or may be a loop-like connection that connects only adjacent devices.

【0053】この場合は、マスタサブシステムに近いサ
ブシステムから順に、遠いサブシステムへ構成の設定を
行なえば、クロックは順に同期化されていくので、最終
的にはすべてのサブシステムのクロックを同期させるこ
とができる。
In this case, if the configuration is set to subsystems closer to the master subsystem and to subsystems farther away, the clocks will be synchronized in order, so that the clocks of all subsystems will eventually be synchronized. Can be made.

【0054】また、各サブシステム間の伝送を異なるτ
数で伝送するようなシステムであっても、ケーブル10
6,107、及び206,207に相当するケーブルの
みを等ディレーとすることで、容易にクロックの同期を
可能とすることができる。
In addition, the transmission between the subsystems may be different from each other by τ
Even in a system that transmits by number, the cable 10
Clocks can be easily synchronized by setting equal delays only to the cables corresponding to 6, 107 and 206, 207.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
サブシステム間の信号伝達に複数τ数の時間がかかるシ
ステムであっても、クロックを同期させることができる
ので、大規模な並列処理システムを構築することができ
る。しかも、クロック周期が変化しても、自動的に計
測、決定される伝送τ数に合わせてクロックの同期をと
ることができるという利点がある。
As described above, according to the present invention,
Even in a system in which a plurality of τ times is required for signal transmission between subsystems, the clocks can be synchronized, so that a large-scale parallel processing system can be constructed. Moreover, even if the clock cycle changes, there is an advantage that the clock can be synchronized in accordance with the number of transmission τ that is automatically measured and determined.

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

【図1】本発明の一実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】伝送クロック数信号の作成動作を説明するため
のタイミングチャートの図である。
FIG. 2 is a timing chart for explaining an operation of creating a transmission clock number signal.

【図3】本発明によるクロックの同期化動作を説明する
タイミングチャートの図である。
FIG. 3 is a timing chart illustrating a clock synchronization operation according to the present invention.

【図4】本発明によるクロック制御装置の部分的な構成
例を示す図である。
FIG. 4 is a diagram showing a partial configuration example of a clock control device according to the present invention.

【図5】システムの概要図である。FIG. 5 is a schematic diagram of a system.

【図6】従来のクロック制御装置の構成を示す図であ
る。
FIG. 6 is a diagram showing a configuration of a conventional clock control device.

【図7】従来のクロック作成動作を説明するタイミング
チャートの図である。
FIG. 7 is a timing chart illustrating a conventional clock generation operation.

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

10,20,50,60 クロック制御装置 11〜13,21〜23,51〜53,61〜63 処
理装置 40〜42,101,201,506,606 選択回
路 43〜45 ディレー回路 46〜48,104,204,503〜505,50
7,603〜605,607 レジスタ 49 EOR回路 54,64 クロックオシレータを内蔵する装置 103,203,501,601 カウンタ 105,205,502,602 クロック作成回路 106,107,206,207 ケーブル 108,208 伝送クロック数信号 109,209 パス選択信号 110,210 同期化回路 508,509 カウンタ情報信号
10, 20, 50, 60 Clock control device 11-13, 21-23, 51-53, 61-63 Processing device 40-42, 101, 201, 506, 606 Selection circuit 43-45 Delay circuit 46-48, 104 , 204, 503 to 505, 50
7,603 to 605,607 Register 49 EOR circuit 54,64 Device incorporating a clock oscillator 103,203,501,601 Counter 105,205,502,602 Clock generation circuit 106,107,206,207 Cable 108,208 Transmission Clock number signal 109,209 Path selection signal 110,210 Synchronization circuit 508,509 Counter information signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】同一のタイミングで動作する複数の装置
(11)〜(13)と、クロックオシレータを内蔵する
装置と、前記複数の装置へ同一のクロックを供給するた
めのクロック制御装置(10)とを擁するサブシステム
を複数個持つと共に、この複数のサブシステムが持つ各
クロック制御装置が、互いに同期がとれたクロックを作
成することで、複数のサブシステムが有するすべての装
置を同一のタイミングで動作させられるよう構成された
システムにおいて、 特定のクロック制御装置(10)が生成する同期制御の
ための信号を、他のクロック制御装置(20)に伝達す
るために要する時間を記憶するレジスタ(104)を設
けると共に、 他のクロック制御装置(20)に、このレジスタ(10
4)の値に基づいて、そのカウンタ(203)の計数値
を、前記特定のクロック制御装置(10)が持つカウン
タ(103)の計数値と同一の値に設定する手段を設け
ることを特徴とするクロック同期化方式。
1. A plurality of devices (11) to (13) operating at the same timing, a device containing a clock oscillator, and a clock control device (10) for supplying the same clock to the plurality of devices. By having multiple subsystems including and, each clock control device of these multiple subsystems creates clocks that are synchronized with each other, all devices of multiple subsystems have the same timing. In a system configured to be operated, a register (104) that stores a time required to transmit a signal for synchronization control generated by a specific clock control device (10) to another clock control device (20). ) Is provided, and this register (10
A means for setting the count value of the counter (203) to the same value as the count value of the counter (103) of the specific clock control device (10) based on the value of 4). Clock synchronization method.
【請求項2】前記同期制御のための信号を、特定のクロ
ック制御装置(10)から他のクロック制御装置(2
0)へ伝達する手段(107)にディレーを設けると共
に、 前記同期制御のための信号を、前記特定のクロック制御
装置(10)へ折り返す伝達手段であって、前記伝達す
る手段(107)と等ディレーに設定されたもの(10
6)を設ける請求項1記載のクロック同期化方式。
2. A signal for the synchronous control is sent from a specific clock control device (10) to another clock control device (2).
0) is provided with a delay in the means (107) for transmitting to the specific clock control device (10) and a signal for returning the synchronization control signal to the specific clock control device (10), such as the means (107) for transmitting. One set as a delay (10
6. The clock synchronization system according to claim 1, wherein 6) is provided.
【請求項3】前記折り返す伝達手段(106)によって
折り返される信号を、正しくラッチできるタイミングを
検出する手段と、 このタイミングを他のクロック制御装置へ伝達する手段
とを設ける請求項2記載のクロック同期化方式。
3. The clock synchronization according to claim 2, further comprising means for detecting a timing at which the signal returned by the return transmission means (106) can be correctly latched, and means for transmitting the timing to another clock control device. Method.
JP4292652A 1992-10-30 1992-10-30 Clock synchronizing system Withdrawn JPH06138973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4292652A JPH06138973A (en) 1992-10-30 1992-10-30 Clock synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4292652A JPH06138973A (en) 1992-10-30 1992-10-30 Clock synchronizing system

Publications (1)

Publication Number Publication Date
JPH06138973A true JPH06138973A (en) 1994-05-20

Family

ID=17784556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4292652A Withdrawn JPH06138973A (en) 1992-10-30 1992-10-30 Clock synchronizing system

Country Status (1)

Country Link
JP (1) JPH06138973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100458024B1 (en) * 2000-03-16 2004-11-26 인터내셔널 비지네스 머신즈 코포레이션 Data processing system with adjustable clocks for partitioned synchronous interfaces

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100458024B1 (en) * 2000-03-16 2004-11-26 인터내셔널 비지네스 머신즈 코포레이션 Data processing system with adjustable clocks for partitioned synchronous interfaces

Similar Documents

Publication Publication Date Title
JP2533246B2 (en) Computer system with multi-speed synchronous bus.
US5600824A (en) Clock generating means for generating bus clock and chip clock synchronously having frequency ratio of N-1/N responsive to synchronization signal for inhibiting data transfer
CA2366898C (en) Elastic interface apparatus and method therefor
US8724665B2 (en) Pseudo-synchronous time division multiplexing
US4835728A (en) Deterministic clock control apparatus for a data processing system
US5511181A (en) Polycyclic timing system and apparatus for pipelined computer operation
CN118567605B (en) Method and system for realizing FIFO delay reduction under homologous PLL clock
CN112306146A (en) Device and method for synchronizing output waveforms of AWG board card in multi-PXIE chassis
JP3919990B2 (en) Timing synchronization system, apparatus used in the system, and timing synchronization method
US6085285A (en) Intermixing different devices along a single data communication link by placing a strobe signal in a parity bit slot
JP2002524790A (en) Synchronous polyphase clock distribution system
CA1113575A (en) Check circuit for synchronized clocks
JPH06138973A (en) Clock synchronizing system
US6510477B2 (en) Bus system
JP4356051B2 (en) Method and apparatus for exchanging data
US6629226B1 (en) Fifo read interface protocol
US6643749B2 (en) Interface for multi-processor
KR100817270B1 (en) Interface device and method for synchronizing data
US6810098B1 (en) FIFO read interface protocol
JP2510750B2 (en) A fault tolerant system, a method of synchronizing between redundant systems, and a multiplexed clock oscillator
US7024618B2 (en) Transmission error checking in result forwarding
JP2926002B2 (en) High-speed data register for laser range finder
US12009056B2 (en) Data transmission apparatus and method having clock gating mechanism
JP3285333B2 (en) Bus transfer device
JP3408486B2 (en) Synchronous circuit between devices

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000104