JPS63173154A - System for reading out timer simultaneously in multplex processor system - Google Patents

System for reading out timer simultaneously in multplex processor system

Info

Publication number
JPS63173154A
JPS63173154A JP62004755A JP475587A JPS63173154A JP S63173154 A JPS63173154 A JP S63173154A JP 62004755 A JP62004755 A JP 62004755A JP 475587 A JP475587 A JP 475587A JP S63173154 A JPS63173154 A JP S63173154A
Authority
JP
Japan
Prior art keywords
timer
processor
command information
values
processors
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.)
Pending
Application number
JP62004755A
Other languages
Japanese (ja)
Inventor
Tsunemichi Shiozawa
塩澤 恒道
Takuya Hiramatsu
平松 琢弥
Masanori Hirano
平野 正則
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP62004755A priority Critical patent/JPS63173154A/en
Publication of JPS63173154A publication Critical patent/JPS63173154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To confirm whether or not each processor execute a processing in a correct order relation, by reading out the value of the timer of each processor simultaneously corresponding to a bit of command information outputted from a command information generating means, and storing it in a timer register. CONSTITUTION:A multiplex processor system is provided with plural processors 1, 2, and 3 having the same functions, and a controller 4 which controls each processor. The controller 4 supplies the bit of command information to the timer registers 102, 202, and 302 of the processors 1-3 appropriately via signal line 5 to confirm whether or not each processor executes respective processing in the correct order relation. As a result, the register 102, 202, and 302 can read out and stored the values of the timer 101, 201, and 301 simultaneously corresponding to the bit of a command information. Stored timer values are supplied to and compared at the controller 4, and when the difference of the timer values is less than a prescribed value, it is possible to confirm that each processor can execute the processing in the correct order relation.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、多重プロセッサシステムを構成する複数のプ
ロセッサのタイマの値を同時に読み出す多重プロセッサ
システムにおけるタイマ値同時読出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a method for simultaneously reading timer values in a multiprocessor system in which timer values of a plurality of processors constituting the multiprocessor system are simultaneously read.

(従来の技術) 複数のプロセッサで構成される多重プロ、セッサシステ
ムや情報処理装置において各プロセッサがそれぞれ独立
にタイマを有し、各プロセッサがそれぞれのタイマの値
に従って制御動作を実行している場合には、各タイマの
値の差がある値以上になってしまうと、各プロセッサで
実行される処理動作の順序関係が逆転されてしまうこと
がある。
(Prior Art) In a multiprocessor system, processor system, or information processing device consisting of a plurality of processors, each processor has an independent timer, and each processor executes control operations according to the value of each timer. If the difference between the values of each timer exceeds a certain value, the order of processing operations executed by each processor may be reversed.

従って、各プロセッサが正しい順序関係で各プロセッサ
の処理動作を実行可能であるかまたは実行しているかを
確認するために、各プロセッサのタイマの値を適宜読み
出し、この値を比較することが必要である。
Therefore, in order to check whether each processor can or is executing its processing operations in the correct order, it is necessary to read the timer values of each processor as appropriate and compare these values. be.

(発明が解決しようとする問題点) 従来、多重プロセッサシステムを構成する各プロセッサ
のターイマの値は、各プロセッサ毎に別々に読み出され
るようになっているため、すべてのタイマの動作を停止
することなく、すべてのタイマの値を読み出すには、各
タイマの値を順次1つずつ読み出さなければならないた
め、各タイマの読出時刻にずれが生じ、各プロセッサが
正しい時間関係で各プロセッサの処理を実行可能である
か否かを確認するには、読出時刻のずれを考慮しなけれ
ばならないという問題がある。また、すべてのプロセッ
サのタイマを同時に停止させて各タイマの値を同時に読
み出す方法もあり、この方法では読出時刻のずれを考慮
する必要はないが、すべてのプロセッサを一時停止しな
ければならないという問題がある。
(Problem to be Solved by the Invention) Conventionally, the timer values of each processor constituting a multiprocessor system are read separately for each processor, so it is impossible to stop the operation of all timers. In order to read the values of all timers, the values of each timer must be read one by one, which causes a difference in the read time of each timer, and each processor executes its processing with the correct time relationship. In order to confirm whether or not this is possible, there is a problem in that the shift in read time must be taken into account. Another method is to stop the timers of all processors at the same time and read the values of each timer at the same time. With this method, there is no need to take into account the difference in read time, but it does have the problem of having to temporarily stop all processors. There is.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、プロセッサを停止したり、時刻ずれを生ず
ることなく、各プロセッサのタイマの値を同時に読み出
すことができる多重プロセッサシステムにおけるタイマ
値同時読出方式を提供することにある。
The present invention has been made in view of the above, and an object of the present invention is to provide a timer in a multiprocessor system that can simultaneously read the timer values of each processor without stopping the processors or causing time lag. The purpose of the present invention is to provide a method for reading values simultaneously.

[発明の構成] (問題点を解決するための手段) 上記目的を達成するため、本発明の多重プロセッサシス
テムにおけるタイマ値同時読出方式は、多重プロセッサ
システムを構成する複数のプロセッサのタイマの値を同
時に読み出すタイマ値同時読出方式であって、第1図に
示すように、各プロセッサに設けられ、前記タイマの値
を格納するためのタイマレジスタ11と、各プロセッサ
のタイマの値を同時に読み出すための指令情報を出力す
る指令情報発生手段13と、前記指令情報に応答して各
プロセッサのタイマの値を同時に読み出し前記タイマレ
ジスタ11にそれぞれ格納すべく制御するタイマ値格納
制御手段15とを有することを要旨とする。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the timer value simultaneous reading method in a multiprocessor system of the present invention reads the timer values of a plurality of processors constituting the multiprocessor system. As shown in FIG. 1, this is a simultaneous reading method for reading out timer values at the same time, and as shown in FIG. The present invention includes a command information generation means 13 for outputting command information, and a timer value storage control means 15 for controlling the timer values of each processor to be simultaneously read out and stored in the timer registers 11 in response to the command information. This is the summary.

(作用) 本発明の多重プロセッサシステムにおけるタイマ値同時
読出方式では、指令情報発生手段から出゛功される指令
情報に応答して各プロセッサのタイマの値を同時に読み
出しタイマレジスタに格納するように制御している。
(Operation) In the simultaneous timer value reading method in the multiprocessor system of the present invention, control is performed such that the timer values of each processor are simultaneously read out and stored in the timer register in response to command information issued from the command information generation means. are doing.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第2図は本発明の一実施例に係るタイマ値同時読出方式
を適用した多重プロセッサシステムの構成図である。同
図に示す多重プロセッサシステムは、同一機能を有する
複数のプロセッサ1.2゜3およびこれらの各プロセッ
サを制御するコントローラ4を有する。
FIG. 2 is a configuration diagram of a multiprocessor system to which a timer value simultaneous reading method according to an embodiment of the present invention is applied. The multiprocessor system shown in the figure has a plurality of processors 1.2.3 having the same function and a controller 4 for controlling each of these processors.

各プロセッサは、それぞれタイマ101,201.30
1および該タイマの値をそれぞれ格納するタイマレジス
タ102,202.302を有する。各タイマレジスタ
はそれぞれ対応するタイマの値を格納するが、この格納
動作はコントローラ4から出力される指令情報が信号線
5を介して供給された時、該時点におけるタイマの値が
読み出されてタイマレジスタに格納されるのである。
Each processor has a timer 101, 201.30, respectively.
1 and timer registers 102, 202, and 302 that store the value of the timer, respectively. Each timer register stores the value of the corresponding timer, but this storage operation is such that when command information output from the controller 4 is supplied via the signal line 5, the value of the timer at that point in time is read out. It is stored in the timer register.

すなわち、コントローラ4は各プロセッサが各処理を所
定の正しい順序関係で実行しているか否かを確認するた
めに信号線5を介して適宜指令情報を各プロセッサ1.
2.3のタイマレジスタ102.202.302に供給
する。この結果、各タイマレジスタ102,202.3
02は該指令情報に応答して該時点における対応するタ
イマの値を同時に読み出して格納することができ6ので
ある。
That is, the controller 4 appropriately sends command information to each processor 1.
2.3 timer registers 102.202.302. As a result, each timer register 102, 202.3
02 can read and store the corresponding timer values at the same time in response to the command information.

このように各タイマレジスタに格納された各プロセッサ
のタイマ値は、コントローラ4に供給されて比較され、
各タイマ値の差が所定の値以下であるか否かが確認され
るのである。この結果、タイマ値の差が所定値以下の場
合には各プロセッサの処理が正しい順序関係で実行可能
であることが確認されるのである。
The timer values of each processor stored in each timer register in this way are supplied to the controller 4 and compared.
It is checked whether the difference between each timer value is less than or equal to a predetermined value. As a result, if the difference between the timer values is less than or equal to a predetermined value, it is confirmed that the processes of each processor can be executed in the correct order.

第3図は本発明の他の実施例を示すものである。FIG. 3 shows another embodiment of the invention.

この実施例は、舶記第2図の実施例においてコントロー
ラ4が行なう指令情報の出力動作を各プロセッサ1.2
.3が行なうことができるように構成されているもので
ある。詳細には、前述した指令情報の出力動作により実
施される各タイマ値の格納動作は、各プロセッサに設け
られている各命令実行部103,203.303がすべ
てのプロセッサのタイマ値を格納するための命令を実行
することにより行なわれる。
In this embodiment, each processor 1.2 performs the output operation of command information performed by the controller 4 in the embodiment shown in FIG.
.. 3 can be carried out. Specifically, the storage operation of each timer value performed by the output operation of the command information described above is performed because each instruction execution unit 103, 203, and 303 provided in each processor stores the timer values of all processors. This is done by executing the command.

すなわち、プロセッサ1.2.3の中のいずれか1つの
プロセッサ、例えばプロセッサ1の命令実行部103に
おいてすべてのプロセッサのタイマ値を格納するための
命令が実行されると、該プロセッサ1の命令実行部10
3から信号線6を介して各プロセッサ1.2.3の各タ
イマレジスタ102.202.302に対してタイマ値
を格納するための指令情報が供給され、各タイマレジス
タ102,202.302は該指令情報に応答して対応
するタイマの値を読み出して格納するのである。
That is, when an instruction for storing the timer values of all processors is executed in the instruction execution unit 103 of any one of the processors 1.2.3, for example, processor 1, the instruction execution of the processor 1 is executed. Part 10
3 supplies command information for storing the timer value to each timer register 102.202.302 of each processor 1.2.3 via the signal line 6, and each timer register 102, 202.302 stores the corresponding timer value. In response to command information, the corresponding timer value is read and stored.

なお、この動作はプロセッサ1のみに限らず、他のプロ
セッサ2,3のいずれかの命令実行部で実施される命令
によっても可能であり、全プロセッサがこの機能を有し
ていてもよいし、一部のプロセッサのみが有していても
よいこと勿論である。
Note that this operation is not limited to the processor 1, but can also be performed by an instruction executed by the instruction execution unit of any of the other processors 2 and 3, and all processors may have this function. Of course, only some processors may have it.

[発明の効果] 以上説明したように、本発明によれば、指令情報発生手
段から出力される指令情報に応答して各プロセッサのタ
イマの値を同時に読み出しタイマレジスタに格納するよ
うに制御しているので、タイマ値の続出時刻にずれが生
ずることなく、かつプロセッサを停止する必要もなく、
各プロセッサが正しい順序関係で処理を実行可能か否か
を確認することができる。
[Effects of the Invention] As explained above, according to the present invention, the timer values of each processor are controlled to be read out simultaneously and stored in the timer register in response to the command information output from the command information generation means. Therefore, there is no difference in the time when the timer value appears one after another, and there is no need to stop the processor.
It is possible to check whether each processor can execute processing in the correct order.

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

第1図は本発明のクレーム対応図、第2図は本発明の一
実施例に係るタイマ値同時読出方式を適用した多重プロ
セッサシステムの構成図、第3図は本発明の他の実施例
に係るタイマ値同時読出方式を適用し、た多重プロセッ
サシステムの構成図である。 1〜3・・・プロセッサ、 4・・・コントローラ、 11・・・タイマレジスタ、 13・・・指令情報出力手段、 15・・・タイマ値格納制御手段、 101〜103・・・タイマ、 102〜302・・・タイマレジスタ。 代理人 弁理士  三 好 保 男 第1図
FIG. 1 is a diagram corresponding to claims of the present invention, FIG. 2 is a configuration diagram of a multiprocessor system to which a timer value simultaneous reading method according to an embodiment of the present invention is applied, and FIG. 3 is a diagram corresponding to another embodiment of the present invention. 1 is a configuration diagram of a multiprocessor system to which such a timer value simultaneous reading method is applied. FIG. 1-3... Processor, 4... Controller, 11... Timer register, 13... Command information output means, 15... Timer value storage control means, 101-103... Timer, 102- 302...Timer register. Agent Patent Attorney Yasuo Miyoshi Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)多重プロセッサシステムを構成する複数のプロセ
ッサのタイマの値を同時に読み出す多重プロセッサシス
テムにおけるタイマ値同時読出方式であって、各プロセ
ッサに設けられ、前記タイマの値を格納するためのタイ
マレジスタと、各プロセッサのタイマの値を同時に読み
出すための指令情報を出力する指令情報発生手段と、前
記指令情報に応答して各プロセッサのタイマの値を同時
に読み出し前記タイマレジスタにそれぞれ格納すべく制
御するタイマ値格納制御手段とを有することを特徴とす
る多重プロセッサシステムにおけるタイマ値同時読出方
式。
(1) A simultaneous timer value reading method in a multiprocessor system in which timer values of multiple processors constituting the multiprocessor system are read simultaneously, the method comprising a timer register provided in each processor and used to store the timer values. , a command information generation means for outputting command information for simultaneously reading the timer values of each processor; and a timer controlling the timer values of each processor to be read simultaneously and stored in the timer registers in response to the command information. 1. A method for simultaneously reading timer values in a multi-processor system, characterized by comprising: value storage control means.
(2)前記指令情報発生手段は、前記プロセッサの少な
くとも1つ以上に設けられ、該プロセッサのいずれかに
設けられた指令情報発生手段から発生する指令情報によ
って各プロセッサのタイマの値を前記タイマレジスタに
それぞれ格納すべく制御するように構成されていること
を特徴とする特許請求の範囲第1項記載の多重プロセッ
サシステムにおけるタイマ値同時読出方式。
(2) The command information generation means is provided in at least one of the processors, and the command information generated from the command information generation means provided in any of the processors is used to set the value of the timer of each processor to the timer register. 2. A method for simultaneously reading timer values in a multiprocessor system according to claim 1, characterized in that the timer values are controlled to be stored in each of the multiprocessor systems.
JP62004755A 1987-01-12 1987-01-12 System for reading out timer simultaneously in multplex processor system Pending JPS63173154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62004755A JPS63173154A (en) 1987-01-12 1987-01-12 System for reading out timer simultaneously in multplex processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62004755A JPS63173154A (en) 1987-01-12 1987-01-12 System for reading out timer simultaneously in multplex processor system

Publications (1)

Publication Number Publication Date
JPS63173154A true JPS63173154A (en) 1988-07-16

Family

ID=11592716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62004755A Pending JPS63173154A (en) 1987-01-12 1987-01-12 System for reading out timer simultaneously in multplex processor system

Country Status (1)

Country Link
JP (1) JPS63173154A (en)

Similar Documents

Publication Publication Date Title
JPH07104842B2 (en) External storage interrupt control method
JPS63173154A (en) System for reading out timer simultaneously in multplex processor system
JPS62137627A (en) Memory dump system
JPS6239792B2 (en)
JPS62107341A (en) Clock control system
JP2864496B2 (en) Multi-processing computer
JPS5933558A (en) Information processor
JPS6119072B2 (en)
JPH0254362A (en) Parallel process computer
JPH0273420A (en) Semiconductor disk device
JPH05241986A (en) Input/output instruction retrying system
JPS59111563A (en) Controlling system of multi-processor
JPS6379162A (en) Control system for transferring processor data
JPS6293734A (en) Information processor
JPS61156307A (en) Sequence controller
JPH04245538A (en) Information processor
JPS63268003A (en) Programmable controller
JPS6238946A (en) Arithmetic processor
JPS6232745A (en) Circuit processing system
JPH04127230A (en) Information processor
JPS61221946A (en) Information history memory
JPS63113730A (en) Controlling system for microprogram
JPS62260263A (en) Program control system by multiprocessor
JPH0298769A (en) Arithmetic processor
JPS61109101A (en) Process controller