JPH03260755A - Time synchronizing system in information processor - Google Patents
Time synchronizing system in information processorInfo
- Publication number
- JPH03260755A JPH03260755A JP2059177A JP5917790A JPH03260755A JP H03260755 A JPH03260755 A JP H03260755A JP 2059177 A JP2059177 A JP 2059177A JP 5917790 A JP5917790 A JP 5917790A JP H03260755 A JPH03260755 A JP H03260755A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- common bus
- signal
- time
- information
- 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.)
- Ceased
Links
Landscapes
- Multi Processors (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、共通バス方式を使用した情報処理装置内の共
通バスに接続された装置間の時刻同期化方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a time synchronization method between devices connected to a common bus in an information processing apparatus using a common bus method.
従来、共通バスに接続された各装置は、装置ごとに独立
した計時手段を持ち、それぞれの計時手段から時刻情報
を得ていた。Conventionally, each device connected to a common bus has an independent timer and obtains time information from each device.
このため、共通バスに接続された従来の各装置は、計時
手段への時刻設定のタイミングのずれや、計時クロック
の精度の影響で各装置が持つ時刻にずれが生じていた。For this reason, in the conventional devices connected to the common bus, the time held by each device has a difference due to a difference in the timing of setting the time to the timer or the accuracy of the timer clock.
したがって、共通バスに接続された各装置で共通バスの
使用に関する情報や、共通バスに接続された装置間でイ
ンタフェースを行ったときの装置内情報や、装置内の動
作に関する情報を時刻を伴ってロギングし、共通バスの
障害時あるいは共通バスに接続された複数の装置にまた
がる障害時に、共通バスに接続されたそれぞれの装置の
ロギングした情報から、各装置の動作関係を明確にし、
障害時の動作解析を行おうとした場合、装置間の時刻ず
れのために動作関係を明確にできないという問題が発生
していた。Therefore, information related to the use of the common bus by each device connected to the common bus, internal information when interfacing between devices connected to the common bus, and information related to the internal operation of the device are stored together with time. logging, and in the event of a failure of the common bus or a failure that spans multiple devices connected to the common bus, clarify the operational relationship of each device from the logged information of each device connected to the common bus,
When attempting to analyze the behavior in the event of a failure, a problem has arisen in that the operational relationship cannot be clarified due to the time difference between the devices.
本発明の情報処理装置内の時刻同期化方式の構成は、共
通バス方式を使用した情報処理装置において、共通バス
に接続された各装置からのバス使用要求信号を受け、そ
の共通バスの使用が可能な状態であるならば、バス使用
要求を行っている装置のなかで最優先のバス使用権を有
する装置に対して、その共通バスの使用権が与えられた
ことを一バス使用許可信号を駆動することで通知する共
通バスの調停装置に計時手段を有し、前記バス使用許可
信号の駆動時に前記計時手段が持つ時刻情報を前記共通
バスの情報転送信号線に出力し、前記共通バスに接続さ
れた各装置に、バス使用権獲得時に、前記バス使用許可
信号によって、前記共通バスの情報転送信号線上の時刻
情報を取り込んで保持するレジスタ手段と、前記バス使
用権獲得時に、前記バス使用許可信号によってリセット
され、前記共通バス上のクロック信号を取り込み、その
クロック信号によってカウントアツプするカウンタ手段
を有し、前記レジスタ手段と前記カウンタ手段の加算結
果から時刻を得るよう構成されることを特徴とする。The configuration of the time synchronization method in the information processing device of the present invention is such that, in the information processing device using the common bus method, a bus use request signal is received from each device connected to the common bus, and the use of the common bus is If possible, a bus use permission signal is sent to the device that has the highest priority bus use right among the devices making the bus use request, indicating that the right to use the common bus has been granted. The arbitration device of the common bus that provides notification by driving has a clock means, and when the bus use permission signal is driven, the time information held by the clock means is outputted to the information transfer signal line of the common bus, and the time information is output to the information transfer signal line of the common bus. Register means for capturing and holding time information on the information transfer signal line of the common bus in response to the bus use permission signal when each connected device acquires the right to use the bus; It is characterized by having a counter means that is reset by a permission signal, takes in a clock signal on the common bus, and counts up based on the clock signal, and is configured to obtain time from the addition result of the register means and the counter means. shall be.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。共
通バス上は、一般にその共通バスを構成するための各種
信号線が存在するが、第1図では、本発明の詳細な説明
するうえで必要な部分のみを記載する。また、共通バス
には、一般に多数の装置が接続されるが、第1図では説
明の簡単化のため、二装置のみを示す。FIG. 1 is a block diagram showing one embodiment of the present invention. Generally, there are various signal lines on the common bus to configure the common bus, but FIG. 1 shows only those parts necessary for a detailed explanation of the present invention. Further, although a large number of devices are generally connected to the common bus, only two devices are shown in FIG. 1 for the sake of simplification of explanation.
共通バスの調停装置1は、共通バスの使用要求(第1図
では信号aおよびa′)を受け、共通バスの使用権を与
えられる状態であるならば、バス使用要求を行っている
装置のなかで、そのとき最優先のバス使用権を有する装
置に対して、その装置に対応したバス使用許可信号(第
1図では信号すあるいはb’)を駆動し、共通バスの使
用権が与えられたことを通知する。また、共通バスの調
停装置1内には、計時回路1.1が存在し、時刻を計時
し、バス使用許可信号駆動時に情報転送信号Cとして時
刻情報を共通バスに出力する。The common bus arbitration device 1 receives a request to use the common bus (signals a and a' in FIG. 1), and if it is in a state where it is granted the right to use the common bus, the device making the request to use the bus Among them, the device that has the highest priority right to use the bus at that time is given the right to use the common bus by driving a bus permission signal (signal S or b' in Figure 1) corresponding to that device. to notify you that something has happened. Furthermore, a clock circuit 1.1 exists in the common bus arbitration device 1, which measures time and outputs time information as an information transfer signal C to the common bus when the bus use permission signal is driven.
共通バスに接続された装置2は、共通バス使用時、信号
aを駆動して共通バスの使用要求を行い、信号すにより
共通バスの使用権が得られたことを検出したならば、共
通バスを使用し、情報転送を行う。When using the common bus, the device 2 connected to the common bus requests the use of the common bus by driving the signal a, and if it detects that the right to use the common bus has been obtained by the signal a, the device 2 connects to the common bus. to transfer information.
共通バスに接続された装置2内の装置内レジスフ2.1
は、共通バスの使用権獲得時、すなわち信号すが駆動さ
れたとき、共通バスの情報転送信号線C上の情報を取り
込み、保持する。このとき情報転送信号線上には、調停
装置1によって、時刻情報が出力されている。装置内レ
ジスタ2.1に取り込まれた時刻情報は、保持されてい
る間、信号dとして出力される。カウンタ回路2.2は
、共通バスの使用許可信号駆動時にリセットされ、その
後、共通バスのクロック信号eによってカウントアツプ
を行う。カウンタ値は信号fとして出力される。そして
、信号dと信号fは加算回路gに入力され、加算結果は
信号gとして出力され、装置内で時刻として使用される
。In-device register 2.1 in device 2 connected to the common bus
takes in and holds the information on the information transfer signal line C of the common bus when acquiring the right to use the common bus, that is, when the signal line C is driven. At this time, time information is outputted by the arbitration device 1 onto the information transfer signal line. The time information taken into the internal register 2.1 is output as a signal d while being held. The counter circuit 2.2 is reset when the common bus use permission signal is driven, and thereafter counts up in response to the common bus clock signal e. The counter value is output as a signal f. Then, the signal d and the signal f are input to an adding circuit g, and the addition result is output as a signal g, which is used as a time within the device.
また、共通バスに接続された装置2′も同様に、信号a
′によりバス使用要求を行い、信号b′により共通バス
の使用権が得られたとき、時刻情報を装置内レジスタ2
.1′に取り込み、保持し、バス使用許可信号b′によ
りリセットされ、その後クロック信号eによりカウント
アツプするカウンタ回路2.2′からの出力信号f′と
装置内レジスタ2.1′の出力信号d′を加算回路2.
3′で加算し、信号g′として時刻を得る。Similarly, the device 2' connected to the common bus also receives the signal a.
' makes a bus use request, and when the right to use the common bus is obtained by signal b', the time information is stored in the register 2 in the device.
.. The output signal f' from the counter circuit 2.2' and the output signal d from the internal register 2.1' are taken in and held in the counter circuit 2.1', reset by the bus permission signal b', and then counted up by the clock signal e. ' to adder circuit 2.
3' and obtain the time as a signal g'.
第2図は同期バスで本実施例を実現した場合のタイムチ
ャートである。共通バスの動作はバスクロックの立上が
りエツジに同期して動作するものとし、バスクロックは
、第1図には記述されないバスクロツタ供給装置から、
共通バスに接続された装置および共通バスの調停装置に
供給されているものとする。バスクロックに同期して動
作する信号の出力側と入力側の間では、ゲートデイレイ
あるいは伝送デイレイが発生し、入力側ではバスクロッ
クに対し、あるスキューが発生する。FIG. 2 is a time chart when this embodiment is implemented using a synchronous bus. The common bus operates in synchronization with the rising edge of the bus clock, and the bus clock is supplied from a bus clock supply device not shown in FIG.
It is assumed that the signal is supplied to the devices connected to the common bus and the arbitration device of the common bus. A gate delay or transmission delay occurs between the output side and the input side of a signal that operates in synchronization with the bus clock, and a certain skew occurs with respect to the bus clock on the input side.
第2図は信号の入力側のタイミングを示し、装置2およ
び装置2′が連続して共通バスの使用権を得た場合につ
いて示しである。信号記述は全て正論理である。またカ
ウンタ回路2.2および2.2′はバスクロツタによっ
てカウントアツプされ、よって計時回路1.1はバスク
ロックと同一精度の時刻情報を持つものとする。FIG. 2 shows the timing of the input side of the signal, and shows the case where device 2 and device 2' successively obtain the right to use the common bus. All signal descriptions are positive logic. It is also assumed that the counter circuits 2.2 and 2.2' are counted up by the bus clock, so that the clock circuit 1.1 has time information with the same accuracy as the bus clock.
共通バスに接続された装置2は、クロックT1の立上が
りエツジでバス使用要求を行い、共通バスに接続された
装置2′はクロックT、の立上りエツジでバス使用要求
を行ったものとする。It is assumed that device 2 connected to the common bus makes a bus use request on the rising edge of clock T1, and device 2' connected to the common bus makes a bus use request on the rising edge of clock T.
この場合、装置2からの信号aによる共通バスの使用要
求は、調停装置1においては、T2の立上がりエツジで
検出され、調停装置1はT、の間、装置2に対する共通
バスの使用許可信号すを駆動(論理1)L、この間、共
通バスの情報転送信号Cに時刻情報Aを出力する。共通
バスに接続された装置2はT、の立上がりエツジで共通
バスの使用権が獲得できたことを検出し、情報転送信号
C上の時刻情報へを装置内レジスタ2.1に取り込み、
カウンタ回路2.3をリセットし、T、以降、共通バス
を使用した情報転送りを行い、情報転送の最後のクロッ
クでEOC信号を駆動する。In this case, a request to use the common bus by signal a from device 2 is detected in arbitration device 1 at the rising edge of T2, and arbitration device 1 sends a common bus use permission signal to device 2 during T. is driven (logic 1) L, and during this time, time information A is output to the information transfer signal C of the common bus. The device 2 connected to the common bus detects that the right to use the common bus has been acquired at the rising edge of T, and imports the time information on the information transfer signal C into the internal register 2.1 of the device.
The counter circuit 2.3 is reset, and from then on, information is transferred using the common bus, and the EOC signal is driven with the last clock of information transfer.
調停装置1はT6の立上がりでEOC信号の状態から共
通バスの使用の終結を検出し、このときバス使用要求を
行っている装置2′に共通バスの使用許可信号a′を駆
動し共通バスの使用権を与えると同時に共通バスの情報
転送信号C′上に、そのときの時刻A′を出力する。時
刻A′は、時刻へに対し、4バスクロツク後の時刻であ
るため、時刻(A+4)となっている。装置2′はT、
の立上がりエツジで共通バスの使用権が与えられたこと
を検出し、装置2と同様に装置内レジスタ2.1′に時
刻情報を取り込み、カウンタ回路2.2′をリセットし
、情報転送り′を行う。The arbitration device 1 detects the end of the use of the common bus from the state of the EOC signal at the rising edge of T6, and drives the common bus use permission signal a' to the device 2' that is requesting the use of the bus at this time. At the same time as granting the right to use, the current time A' is output on the information transfer signal C' of the common bus. Time A' is the time 4 bus clocks later than the current time, so it is the time (A+4). The device 2' is T,
At the rising edge of , it is detected that the right to use the common bus has been granted, and similarly to device 2, the time information is loaded into the internal register 2.1', the counter circuit 2.2' is reset, and the information is transferred. I do.
以上により、T、のタイミングでは、装置2においては
、レジスタ2.1の値へとカウンタ2.2の値6から、
時刻(A+6)を得、装置2′においては、レジスタ2
.1の値A’ = (A+4)とカウンタ2.2′の値
2から時刻(A+6)を得るように、共通バスに接続さ
れた装置すべてにおいて同一の時刻を持つことができる
。As a result, at the timing T, in the device 2, the value 6 of the counter 2.2 is changed to the value of the register 2.1.
Obtain the time (A+6), and in device 2' register 2
.. All devices connected to the common bus can have the same time so that the time (A+6) is obtained from the value A' = (A+4) of 1 and the value 2 of the counter 2.2'.
以上説明したように、共通バスの調停装置に、計時手段
を有し、バス使用許可信号駆動時に計時手段が持つ時刻
情報を共通バスの情報転送信号線に出力し、共通バスに
接続された各装置にバス使用権獲得時に、バス使用許可
信号によって、共通バスの情報転送信号線上の時刻情報
を取り込み、保持するレジスタ手段と、バス使用権獲得
時に、バス使用許可信号によってリセットされ、共通バ
ス上のクロック信号を取り込み、そのクロック信号によ
ってカウントアツプするカウンタ手段を有し、レジスタ
手段とカウンタ手段の加算結果から時刻を得るようにす
ることで、共通バスに接続された装置すべてにおいて同
一の時刻を容易に持つことができるようになる。As explained above, the common bus arbitration device has a timer, and when the bus use permission signal is driven, the time information held by the timer is output to the information transfer signal line of the common bus. When the device acquires the right to use the bus, register means captures and holds the time information on the information transfer signal line of the common bus in response to the bus permission signal. By having a counter means that takes in the clock signal of the bus and counts up according to the clock signal, and obtains the time from the addition result of the register means and the counter means, all the devices connected to the common bus can obtain the same time. You will be able to hold it easily.
また、本発明によると、従来、有効なデータが共通バス
に出力されていなかったバス使用許可のタイミングを使
用するため、バストラフィックに影響を出すこともなく
、共通バスに接続される各装置に計時手段を持つ装置か
ら時刻を設定するためのソフトウェア手段も必要としな
いためきわめて、シンプルに実現することができる。Furthermore, according to the present invention, since valid data is not output to the common bus at the timing of permission to use the bus, the bus traffic is not affected and each device connected to the common bus Since software means for setting the time from a device having a timekeeping means is not required, it can be realized extremely simply.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作を示すためのタイムチャートである。
1・・・・・・共通バスの調停装置、1.1・・・・・
・計時回路、2.2′・・・・・共通バスに接続された
装置、2.1゜2.1′・・・・・・装置内レジスフ、
2.2.2.2’・・・・・・カウンタ回路、2.3,
2.3’・・・・・・加算回路。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a time chart showing the operation of FIG. 1. 1...Common bus arbitration device, 1.1...
・Clock circuit, 2.2'...device connected to the common bus, 2.1゜2.1'...register inside the device,
2.2.2.2'...Counter circuit, 2.3,
2.3'...Addition circuit.
Claims (1)
スに接続された各装置からのバス使用要求信号を受け、
その共通バスの使用が可能な状態であるならば、バス使
用要求を行っている装置のなかで最優先のバス使用権を
有する装置に対して、その共通バスの使用権が与えられ
たことをバス使用許可信号を駆動することで通知する共
通バスの調停装置に計時手段を有し、前記バス使用許可
信号の駆動時に前記計時手段が持つ時刻情報を前記共通
バスの情報転送信号線に出力し、前記共通バスに接続さ
れた各装置に、バス使用権獲得時に、前記バス使用許可
信号によって、前記共通バスの情報転送信号線上の時刻
情報を取り込んで保持するレジスタ手段と、前記バス使
用権獲得時に、前記バス使用許可信号によってリセット
され、前記共通バス上のクロック信号を取り込み、その
クロック信号によってカウントアップするカウンタ手段
を有し、前記レジスタ手段と前記カウンタ手段の加算結
果から時刻を得るよう構成されることを特徴とした情報
処理装置内の時刻同期化方式。In an information processing device using a common bus method, receiving bus use request signals from each device connected to the common bus,
If the common bus is available for use, the device that has the highest priority bus usage rights among the devices requesting bus usage is given the right to use the common bus. A common bus arbitration device that provides notification by driving a bus use permission signal has a clock means, and when driving the bus use permission signal, outputs time information held by the time measurement means to an information transfer signal line of the common bus. , register means for capturing and holding time information on the information transfer signal line of the common bus in response to the bus use permission signal when each device connected to the common bus acquires the right to use the bus, and acquiring the right to use the bus; and a counter means that is reset by the bus use permission signal, takes in a clock signal on the common bus, and counts up based on the clock signal, and is configured to obtain time from the addition result of the register means and the counter means. A time synchronization method within an information processing device, characterized in that:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2059177A JPH03260755A (en) | 1990-03-09 | 1990-03-09 | Time synchronizing system in information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2059177A JPH03260755A (en) | 1990-03-09 | 1990-03-09 | Time synchronizing system in information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03260755A true JPH03260755A (en) | 1991-11-20 |
Family
ID=13105857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2059177A Ceased JPH03260755A (en) | 1990-03-09 | 1990-03-09 | Time synchronizing system in information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03260755A (en) |
-
1990
- 1990-03-09 JP JP2059177A patent/JPH03260755A/en not_active Ceased
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63257354A (en) | Multiple master single channel bus system using bit cell synchronism and master station | |
| KR960038633A (en) | Bus arbitration system, bus arbitration circuit, bus arbitration method and data transmission method | |
| JPH077376B2 (en) | System bus control method | |
| US4803708A (en) | Time-of-day coincidence system | |
| EP0628913A1 (en) | Interrupt signal detection circuit | |
| US6912609B2 (en) | Four-phase handshake arbitration | |
| US7043595B2 (en) | Data transfer control device | |
| JP2757434B2 (en) | Time notification method in information processing device | |
| US7454543B2 (en) | Early high speed serializer-deserializer (HSS)internal receive (Rx) interface for data sampling clock signals on parallel bus | |
| JPH03240858A (en) | Time announcing system in information processor | |
| JPH04323755A (en) | Dma device | |
| JPH04145511A (en) | System for synchronizing time in information processor | |
| JPS5818727A (en) | Method and apparatus for self-control of dispersion type priority competition | |
| JPS6476256A (en) | Bus adjusting device for multiplex input data transfer device | |
| JPH0664483B2 (en) | Pulse counter | |
| JPH11273380A (en) | LSI operation mode setting signal capturing method and LSI with mode signal capturing function | |
| JPH04308955A (en) | Multiprocessor device | |
| JP2634583B2 (en) | Data transfer method | |
| JPS6265155A (en) | Digital data processing arbitration system | |
| RU1807492C (en) | Data output device | |
| US20020099890A1 (en) | Apparatus and method for processing interruptions in a data transmission over a bus | |
| JPS61267159A (en) | Control system for bus using right priority | |
| JPH0512203A (en) | Bus performance measurement system | |
| JPH02206085A (en) | Data setting circuit | |
| JPS6267653A (en) | Bus control system |