JPS6121563A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6121563A
JPS6121563A JP14302584A JP14302584A JPS6121563A JP S6121563 A JPS6121563 A JP S6121563A JP 14302584 A JP14302584 A JP 14302584A JP 14302584 A JP14302584 A JP 14302584A JP S6121563 A JPS6121563 A JP S6121563A
Authority
JP
Japan
Prior art keywords
command
main memory
register
subprocessor
data
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
JP14302584A
Other languages
Japanese (ja)
Inventor
Hajime Takagi
一 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP14302584A priority Critical patent/JPS6121563A/en
Publication of JPS6121563A publication Critical patent/JPS6121563A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Abstract

PURPOSE:To analyze efficiently a fault by writing an identifier of a sub processor having issued a command to recognize a sub processor neglecting release when a test/set command is successful to a lock word executing the said command. CONSTITUTION:When a data of a test/set (T&S) address issued from a command analysis decoder 190 in a main storage 200 is read, a comparator 170 compares it with an initial value of a lock word of a register 180, and when they are coincident, a command 202 is issued, and a sender sub processor identifier issued with a command 202 and set to a register 130 is written in an area of the main storage 200 set to the register 140. When the access to the main storage 200 is finished by the T&S command, the main storage unit transmits a data set to the register 180 to a system bus 1000 and the end of T&S command is reported to the oscillation subprocessor. The the oscillating sub processor reads the reading data on the bus (1110).

Description

【発明の詳細な説明】 〔技術分野〕 本発明は主記憶ユニットと複数のサブプロセッサが共通
のシステムパスに接続されたデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data processing device in which a main memory unit and a plurality of subprocessors are connected to a common system path.

〔従来技術〕[Prior art]

従来、複数のサブプロセッサから構成されるデータ処理
装置においては、主記憶のシステムエリア等、各サブプ
ロセッサが共通にアクセスする領域を参照、更新するよ
うな場合、各サブプロセッサからのアクセスが競合し、
正常な参照、更新動作ができなくなってしまうことがあ
る。このため、システムエリアの特定ワードをロックワ
ードとして設定し、サブプロセッサはシステムエリアの
参照、更新の際ロックワードの状態を確認し、ロックさ
れていないとき、即ち他のサブプロセッサが該システム
エリアをアクセスしていないときロックワードをロック
することにより、該システムエリアのアクセス権をとり
、他サブブロセッサからの参照・更新によりシステムエ
リアの状態が乱されることを防、いでいる。また、ロッ
クワードをロックしたサブプロセッサはシステムエリア
へのアクセス終了後、必ずロック−を解除して、他のサ
ブプ“ロセッサが該システムエリアへアクセスさせなけ
ればならない。この機能は試験−設定(TEST AN
D SET :以下、T&Sという)機能として従来よ
り利用されている技術である。
Conventionally, in data processing devices composed of multiple subprocessors, when each subprocessor references or updates an area that is commonly accessed, such as the system area of main memory, accesses from each subprocessor conflict. ,
Normal reference and update operations may not be possible. For this reason, a specific word in the system area is set as a lock word, and the subprocessor checks the state of the lock word when referencing or updating the system area. By locking the lock word when not being accessed, access rights to the system area are taken, and the state of the system area is prevented from being disturbed by references and updates from other subprocessors. Furthermore, after the subprocessor that has locked the lock word has finished accessing the system area, it must be unlocked to allow other subprocessors to access the system area. AN
This is a technology that has been conventionally used as a D SET (hereinafter referred to as T&S) function.

しかしながら、最近のように複数のサブプロセッサが共
通のシステムバスに接続され、主記憶ユニットノ共用エ
リア(システムエリア)を頻繁にアクセスし、システム
としての動作を実行するようなデータ処理装置において
は、 T&Sに成功し、システムエリアのアクセス権を
握ったサブプロセッサが、障害あるいはサブプロセッサ
内で動作しているプログラムのプログラムミス等でシス
テムエリアのアクセス権を解除できないような状態にな
くると、システムとしての動作は停止してしまうことに
なる。
However, in recent data processing devices in which multiple subprocessors are connected to a common system bus, frequently access the shared area (system area) of the main memory unit, and execute system operations, If a subprocessor that has succeeded in T&S and has access rights to the system area is unable to release access rights to the system area due to a failure or a programming error in the program running in the subprocessor, the system The operation will stop.

ここで、この従来のT&S機能を説明する。lっのサブ
プロセッサが主記憶ユニットに対し、指令中に指定され
るアドレスのワードに対する T&S指令を実行すると
、主記憶ユニ°−/ トは前記アドレスのデータを読み
出し、この読み出しデータの値が初期状態であると、読
み出しデータをT&S指令を発行したサブプロセッサに
報告するとともに T&S指令を実行したワードにロッ
ク状態を示゛すデータとして固定値を書き込んでいた。
Here, this conventional T&S function will be explained. When one sub-processor executes a T&S command to the main memory unit for the word at the address specified in the command, the main memory unit reads the data at the address, and the value of this read data becomes the initial value. If it is in the locked state, the read data is reported to the subprocessor that issued the T&S command, and a fixed value is written as data indicating the locked state in the word that executed the T&S command.

読み出しデータを報告されたサブプロセッサは報告され
たデータが初期値であると、T&S指令が成功したこと
を判断し、次の動作の処理に進んでいた。T&S指令に
対し主記憶ユニットが読み出したデータがロック状態を
示すデータであると、主記憶ユニットは、T&S指令を
発行したサブプロセッサに対し読み出しデータを報告す
る。読み出しデータを報告されたサブプロセッサは読み
出しデータがロック状態を示すデータであることを認識
すると T&S指令が失敗したこと判断し、T&S指令
が成功するまでの間、次の動作に移ることを待たされて
しまう事態になることがあった。
The sub-processor to which the read data has been reported determines that the T&S command has been successful if the reported data is the initial value, and proceeds to the next operation. If the data read by the main memory unit in response to the T&S command is data indicating a locked state, the main memory unit reports the read data to the subprocessor that issued the T&S command. When the subprocessor to which the read data is reported recognizes that the read data indicates a lock state, it determines that the T&S command has failed and is forced to wait until the T&S command succeeds before proceeding to the next operation. There were times when I ended up in a situation where I ended up in trouble.

このように、従来技術においてはロック状態を示すデー
タは固定的な値として書き込まれていたため、前述のよ
うにT&S指令が成功しアクセス権を握ったサブプロセ
ッサが判定できない状態となっていた・従って、前述の
よう゛にT&S指令の成功によりシステムエリアのアク
セス権を握ったサブプロセッサが障害、プログラムミス
等でシステムエリアのアクセス権を解除できなくなると
、障害解析に非常な時間と労力をとられるような事態が
発生していた。
In this way, in the conventional technology, the data indicating the lock state was written as a fixed value, so as mentioned above, the subprocessor that had succeeded in the T&S command and had access rights could not be determined. As mentioned above, if a subprocessor that has gained access rights to the system area due to a successful T&S directive is unable to release access rights to the system area due to a failure, programming error, etc., it will take a great deal of time and effort to analyze the failure. A situation like this had occurred.

〔発明の目的〕[Purpose of the invention]

したがって、本発明の目的は、システムエリアをロック
してアクセスしているサブプロセッサがロックワードの
解除を怠りシステムストールとなってしまった場合に、
障害解析、プログラム解析を効率よく行なうことができ
るデータ処理装置を提供することにある。
Therefore, an object of the present invention is to prevent the subprocessor from locking and accessing the system area when the subprocessor fails to release the lock word and the system stalls.
An object of the present invention is to provide a data processing device that can efficiently perform failure analysis and program analysis.

〔発明の構成〕[Structure of the invention]

本発明のデータ処理装置は、各サブプロセッサは互いに
独立して主記憶をアクセスするための指令を主記憶ユニ
ットに発行する手段を有し、前記指令の1つとして主記
憶中の前記指令中に指定されたアドレスのワードの状態
を試験・設定する試験・設定指令を有し、前記主記憶ユ
ニットは前記試験・設定指令を受付けると、前記試験・
設定指令中に指定されたアドレスのワードの状態を検査
し、該ワードが初期状態であれば試験・設定指令の実行
結果として、該ワードの内容を前記試験・設定指令を発
行したサブプロセッサに報告するとともに、該ワードに
対し、前記試験・設定指令を    )発行したサブプ
ロセッサの識別子を書き込む手段を有する。
In the data processing device of the present invention, each sub-processor has means for independently issuing a command for accessing the main memory to the main memory unit, and one of the commands is included in the command in the main memory. It has a test/setting command to test/set the state of a word at a specified address, and when the main memory unit receives the test/setting command, it executes the test/setting command.
Inspects the state of the word at the address specified in the setting command, and if the word is in the initial state, reports the contents of the word to the subprocessor that issued the test/setting command as the execution result of the test/setting command. At the same time, it has means for writing into the word an identifier of the subprocessor that issued the test/setting command.

〔実施例〕〔Example〕

以下、図面を参照しながら本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例に係るデータ処理装置のブロ
ック図である。本実施例のデータ処理装置は共通のシス
テムバス1000に接続された主記憶ユニット100と
N個のサブプロセッサl、2゜−−−、Nで構成される
FIG. 1 is a block diagram of a data processing device according to an embodiment of the present invention. The data processing apparatus of this embodiment is composed of a main memory unit 100 connected to a common system bus 1000 and N sub-processors 1, 2.degree.

第2図は第1図の記憶ユニット100のブロック図、第
3図は第2図のサブプロセッサ1−Nのブロック図、第
4図はシステムバス100G上のデータ形式を示す図、
第5図は第3図は主記憶200のマツピングを示す図で
ある。
2 is a block diagram of the storage unit 100 of FIG. 1, FIG. 3 is a block diagram of the subprocessor 1-N of FIG. 2, and FIG. 4 is a diagram showing the data format on the system bus 100G.
FIG. 5 and FIG. 3 are diagrams showing mapping of the main memory 200.

主記憶200の0000番地〜0100番地に割当てら
れたシステムエリア201(第5図)は、各サブプロセ
ッサ1〜Nが、各サブプロセッサl−N間の情報の伝達
あるいは本データ処理装置のシステム制御のためにアク
セスする領域である。
A system area 201 (FIG. 5) allocated to addresses 0000 to 0100 of the main memory 200 is used by each subprocessor 1 to N to transmit information between each subprocessor l to N or to control the system of this data processing device. This is the area accessed for.

同時にサブプロセッサl−Nが参照争更新すると、正し
い情報の伝達ができなくなってしまうため、システムエ
リア201の0000番地がロックワード202として
定義されおり、各サブプロセッサ1−Nはロックワード
202を試験・設定することによりシステムエリア20
1のアクセス権を握ることになる。
If the subprocessors l-N update the reference contention at the same time, correct information cannot be transmitted. Therefore, address 0000 of the system area 201 is defined as the lock word 202, and each sub-processor l-N tests the lock word 202.・System area 20 by setting
You will have 1 access right.

各サブプロセッサlNNは、第3図に示すように、マイ
クロプログラム格納用メモリ、マイクロプログラム実行
シーケンサ、演算器、アキュームレータ、作業用レジス
タ群から構成されるマイクロプログラム実行制御部10
、システムバス指令コードと主記憶アドレスがマイクロ
プログラム実行制御部10からそれぞれセットされるレ
ジスタ14、13.発信サブプロセッサ識別子がセット
されるレジスタ15.主記憶200(第2図)から読出
された読出しデータがセットされるレジ−メタ11.主
記憶書込み指令の場合にマイクロプログラム実行制御部
lOから書込みデータがセットされるレジスタ12.マ
イクロプログラム制御部lOからのコマンF17により
主記憶ユニット100のシステムバス制御部11O(第
2図)に主記憶アクセス要求信号18を出力し、アクセ
ス許可信号19がシステムバス制御5110から送り返
されたときに第4図に示すデータ形式にてデータをシス
テムバス1000上に送り出し、 T&S指令による主
記憶200に対するアクセスが終了するとシステムバス
制御部 110から送出された指令終了報告信号21を
受は取り、システムバス1000上に読出されている読
出しデータをレジスタ11に取込むシステムバス制御部
16からなる。
As shown in FIG. 3, each sub-processor INN includes a microprogram execution control section 10 that includes a microprogram storage memory, a microprogram execution sequencer, an arithmetic unit, an accumulator, and a group of working registers.
, system bus command code and main memory address are set by the microprogram execution control unit 10, respectively, in registers 14, 13. Register 15 in which the originating subprocessor identifier is set. Register meta 11. Read data read from the main memory 200 (FIG. 2) is set. Register 12 to which write data is set from the microprogram execution control unit IO in the case of a main memory write command. When the main memory access request signal 18 is output to the system bus control unit 11O (FIG. 2) of the main memory unit 100 by the command F17 from the microprogram control unit 10, and the access permission signal 19 is sent back from the system bus control 5110. 4, the data is sent onto the system bus 1000 in the data format shown in FIG. It consists of a system bus control section 16 that takes in the read data being read out on the bus 1000 into the register 11.

主記憶ユニット100は第2図に示すように、主記憶2
00.システムバス1000上に送り出されたシステム
バス指令コード、発信サブプロセッサ識別子、主記憶ア
ドレス、書込みデータがそれぞれセットされるレジスタ
 120.130.140.150.レジスタ 120
にセットされたシステムバス指令コードを解析し、 T
&S指令であると解析された場合にコマンド201を発
行するコマンド解析デコーダ180゜コマンド解析デコ
ーダ190からコマンド201が発行されるとレジスタ
 140にセットされている主記憶アドレスのデータが
主記憶200から読出されてセ・ントされるレジスタ 
160.ロックワード202の初期値がセットされるレ
ジスタ iso、 主記憶200から読出したデータと
レジスタ 180のロックワード202の初期値を比較
し、両者が等しい場合にコマンド202を発行し、レジ
スタ 130にセットされている発信サブプロセッサ識
別子をレジスタ 150を通してレジスタ 140にセ
ットされている主記憶アドレスの主記憶200のエリア
に書込む比較器170、各サブプロセッサ1−Nのシス
テムバス制御部16(第3図)から主記憶アクセス要求
信号18を受取るとアクセス許可信号19をシステムバ
ス制御部16に送り返し、システムバス1000上に送
り出されたシステムバス指令コード、発信サブプロセッ
サ識別子、主記憶アドレス、書込みデータをレジスタ 
120.130.140.150にそれぞれセットし、
T&S指令による主記憶200に対するアクセスが終了
すると、レジスタ 160にセットされている読出しデ
ータ 160をシステムバス1000に送り出すととも
に指令終了報告信号20を各サブプロセッサl〜Nに出
力するシステムバス制御部110とからなる。
As shown in FIG. 2, the main memory unit 100 has main memory 2.
00. Registers 120.130.140.150.The system bus command code sent out on the system bus 1000, the originating subprocessor identifier, the main memory address, and the write data are set, respectively. register 120
Analyze the system bus command code set to T
A command analysis decoder 180 that issues a command 201 when it is analyzed as a &S command. When a command 201 is issued from the command analysis decoder 190, the data at the main memory address set in the register 140 is read from the main memory 200. Registers to be set and set
160. A register iso in which the initial value of the lock word 202 is set, compares the data read from the main memory 200 and the initial value of the lock word 202 in the register 180, and if the two are equal, issues the command 202 and sets it in the register 130. A comparator 170 writes the originating subprocessor identifier to the area of the main memory 200 at the main memory address set in the register 140 through the register 150, and the system bus control unit 16 of each subprocessor 1-N (FIG. 3). When the main memory access request signal 18 is received from the main memory access request signal 18, the access permission signal 19 is sent back to the system bus control unit 16, and the system bus command code sent on the system bus 1000, the originating subprocessor identifier, the main memory address, and the write data are stored in the register.
Set to 120.130.140.150 respectively,
When the access to the main memory 200 by the T&S command is completed, the system bus control unit 110 sends the read data 160 set in the register 160 to the system bus 1000 and outputs the command completion report signal 20 to each subprocessor l to N. Consisting of

次に、本実施例の動作を、サービスプロセッサ1で動作
するマイクロプログラムが第5図に示す主記憶200の
システムエリア201をアクセスする場合について説明
する。
Next, the operation of this embodiment will be described in the case where a microprogram running on the service processor 1 accesses the system area 201 of the main memory 200 shown in FIG.

サブプロセッサl内のマイクロプログラムがロックワー
ド202に対する T&S指令を出力すると、サブプロ
セッサ1内のマイクロプログラム実行制御9部10はシ
ステムバス1000に対する指令コードをレジスタ14
にセットし、主記憶200のT&Sアドレス(本実施例
ではoooo)をレジスタ13にセットする。そして、
マイクロプログラム実行制御部10がシステムバス制御
部16に対し”コマンド17を出力すると、システムバ
ス制御部16は主記憶ユニットト00に対し、主記憶ア
クセス要求信号18を出力する。主記憶ユニット100
内のシステムバス制御部110はサブプロセッサ1から
の主記憶アクセス要求信号18を認識すると、アクセス
許可信号18をサブプロセッサlに返す。これにより、
システムバス制御部1Bは第4図に示すデータ形式にて
データをシステムバス1000に送り出す。システムバ
ス1000上に送り出されたデータのうち、システムバ
ス指令コードはレジスタ 120へ、発信サププロセ・
ンサ識別子はレジスタ 130へ、主記憶アドレスはレ
ジスタ 140へ、書込みデータはレジスタ 150へ
それぞれ取り込まれる。レジスタ 120にセットされ
たシステムバス指令コードがコマンド解析デコーダ18
0により T&S指令であることが解析されると、コマ
ンド解析デコーダ190からコマンド201が発行され
る。本コマンド201にょリレジス9 140にセット
されている主記憶200のアドレス(oooo番地)の
データが主記憶200rから読み出され、レジスタ 1
60にセットされるとともに比較器】70に入力される
。比較器170ではレジスタ 160の読み出しデータ
とレジスタ 180のロックワードの初期値(本実施例
では°“oo”)が比較され、両者が等しいとコマンド
202が発行され、レジスタ130にセットされている
発信サブプロセッサ識別子がレジスタ 150を通して
レジスタ 140にセットされているアドレス(本実施
例ではoooo番地)の主記憶200のエリアに書込ま
れる。比較器 +70による比較の結果両者が等しくな
いときはコマンド202は発行されることなく、レジス
タ 140にセットされている主記憶アドレスの主記憶
200のエリアにデータは書込まれず、  T&S指令
による主記憶ユニッh  tooの動作は終了する。T
&S指令による主記憶200に対するアクセスが終了す
ると、主記憶ユニット100はレジスタ 180にセッ
トされている読出しデータをシステムバス制御部110
を通してシステムバス1000に送り出しするとともに
指令終了報告信号20により T&S指令発信のサブプ
ロセッサであるザブプロセッサ1にT&S指令終了を報
告する。サブシロセッサlのシステムバス制御部16は
指令終了報告信号20を受けとると、システムバス10
0O上に送出されている読出しデータをレジスタ11に
取り込むことにより、この一連の動作にてサブプロセッ
サlで発信されたT&S指令が終了する。
When the microprogram in the subprocessor 1 outputs a T&S command for the lock word 202, the microprogram execution control unit 10 in the subprocessor 1 stores the command code for the system bus 1000 in the register 14.
and sets the T&S address (oooo in this embodiment) of the main memory 200 in the register 13. and,
When the microprogram execution control section 10 outputs the "command 17" to the system bus control section 16, the system bus control section 16 outputs a main memory access request signal 18 to the main memory unit 00. Main memory unit 100
When the system bus control unit 110 within the subprocessor 1 recognizes the main memory access request signal 18 from the subprocessor 1, it returns an access permission signal 18 to the subprocessor 1. This results in
The system bus control unit 1B sends data to the system bus 1000 in the data format shown in FIG. Of the data sent out on the system bus 1000, the system bus command code is sent to the register 120 for the outgoing subprocessor.
The sensor identifier is taken into register 130, the main memory address is taken into register 140, and the write data is taken into register 150. The system bus command code set in register 120 is read by command analysis decoder 18.
When the command analysis decoder 190 issues a command 201, the command analysis decoder 190 issues a command 201. The data at the address (oooo address) of the main memory 200 set in the register 9 140 of this command 201 is read from the main memory 200r, and the data is set in the register 9 140.
60 and input to the comparator 70. The comparator 170 compares the read data of the register 160 and the initial value of the lock word of the register 180 (°“oo” in this embodiment), and if the two are equal, a command 202 is issued and the output signal set in the register 130 is The subprocessor identifier is written through the register 150 to the area of the main memory 200 at the address set in the register 140 (in this embodiment, address oooo). If the results of the comparison by the comparator +70 are not equal, the command 202 will not be issued, and no data will be written to the area of the main memory 200 at the main memory address set in the register 140, and the main memory according to the T&S command will not be written. The operation of unit h too ends. T
When the access to the main memory 200 by the &S command is completed, the main memory unit 100 transfers the read data set in the register 180 to the system bus controller 110.
At the same time, the T&S command completion is sent to the system bus 1000 through the command completion report signal 20 to the subprocessor 1, which is a subprocessor that sends the T&S command. When the system bus control unit 16 of the sub processor l receives the command completion report signal 20, the system bus control unit 16
By taking in the read data sent out on 0O into the register 11, the T&S command issued by the subprocessor 1 is completed in this series of operations.

本実施例においては各サブプロセッサ1.2゜−−−、
Nの識別子として00”°以外が、設定されているので
、サブプロセッサl内のマイクロプログラムはレジスタ
11の読み出しデータをチェックし、このデータがロッ
クワードの初期イ1(本実施例ではoo”)であると、
T&S指令が成功したと判断し、主記憶200中に存在
するシステムエリア201に対し参照・更新を行うこと
ができる。サブプロセッサlがT&S指令に成功し、シ
ステムエリア201の参照・更新を実行している間、他
のサブプロセッサ2〜Nがシステムエリア201をアク
セスするために前記と同様にT&S指令を主記憶ユニッ
ト100に発行すると、主記憶ユニー2ト100はロッ
クワード202を読み出し、チェックするが、この読み
出しデータが初期値“00゛ではないため、サブプロセ
ッサlの発信サブプロセッサ識別子が格納されている主
記憶200の0000番地の内容をT&S指令を発行し
たサブプロセッサ2〜Nに返す、サブプロセッサ2〜N
は、ロックワード202のデータが初期値“00°゛で
ないためT&S指令は失敗したと判断し、 T&S指令
にて初期値゛00”が読み出されるまでシステムエリア
201へのアクセスはできなくなる。サブプロセッサ1
がシステムエリア201に対する参照中更新を終了する
とサブプロセッサl内のマイクロプログラムにより主記
憶200の0000番地にロックワードの初期値“°0
0“′を書く指令を発行する。
In this embodiment, each sub-processor 1.2゜---,
Since a value other than 00"° is set as the identifier of N, the microprogram in the subprocessor l checks the read data of the register 11, and this data is set as the initial number 1 of the lock word (oo" in this embodiment). So,
It is determined that the T&S command is successful, and the system area 201 existing in the main memory 200 can be referenced and updated. While the sub-processor l successfully executes the T&S command and executes the reference/update of the system area 201, the other sub-processors 2 to N send the T&S command to the main memory unit in the same manner as described above in order to access the system area 201. 100, the main memory unit 2 100 reads the lock word 202 and checks it, but since this read data is not the initial value "00", the main memory unit 200 stores the outgoing subprocessor identifier of the subprocessor l. Subprocessors 2 to N return the contents of address 0000 of 200 to subprocessors 2 to N that issued the T&S command.
determines that the T&S command has failed because the data in the lock word 202 is not the initial value "00°", and access to the system area 201 is disabled until the initial value "00" is read out by the T&S command. Sub processor 1
When the update during reference to the system area 201 is completed, the initial value of the lock word “°0” is stored at address 0000 in the main memory 200 by the microprogram in the subprocessor l.
Issue a command to write 0"'.

主記憶アクセス指令に対するサブプロセッサl内でのシ
ステムバス制御の方法は前述したT&S指令と同様であ
るので説明は省略するが、主記憶書込み指令の場合は書
込みデータがレジスタ12にセットされ、第4図に示す
、システムバス1000上のデータ形式における書込み
データ部に書込データがセットされる。もし、サブプ・
ロセッサl内で障害が発生したり、サブプロセッサ1内
のマイクロプログラムのミス等によりロックワード20
2の初期化ができない状態になると、前述のようにサブ
プロセッサ2〜Nはシステムエリア 201へのアクセ
スを要求しても、T&S指令が失敗し続け、システムス
トールの状態となってしまう。
The method of system bus control within the subprocessor l in response to the main memory access command is the same as the T&S command described above, so the explanation will be omitted, but in the case of a main memory write command, the write data is set in the register 12, Write data is set in the write data section in the data format on the system bus 1000 shown in the figure. If subpu.
If a failure occurs in the processor 1 or a mistake in the microprogram in the subprocessor 1, the lock word 20
If subprocessors 2 to 2 cannot be initialized, even if subprocessors 2 to N request access to system area 201 as described above, T&S commands will continue to fail, resulting in a system stall state.

〔発明の効果〕〔Effect of the invention〕

本発明はT&S指令を実行するロックワードに対し、 
T&S指令成功の場合、 T&S指令を発行したサブプ
ロセッサの識別子を書き込むようにしたので、ロックワ
ードを読み出すことにより、ロックワードの解除を怠っ
たサブプロセッサを容易に認識することができ、障害解
析、プログラム解析を従来より効率良く行なうことがで
きる。
The present invention provides a lock word that executes a T&S command.
In the case of a successful T&S command, the identifier of the subprocessor that issued the T&S command is written, so by reading the lock word, it is possible to easily recognize the subprocessor that has neglected to release the lock word, allowing for failure analysis, Program analysis can be performed more efficiently than before.

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

第1図は本発明の一実施例に係るデータ処理装置のブロ
ック図、第2図は第1図の主記憶ユニット100のブロ
ック図、第3図は第1図の各サブプロセッサlNNのブ
ロック図、第4図はシステムバス1000上のデータ形
式を示す図、第5図は第2図の主記憶200のマツピン
グを示す図である。 1−N:サブプロセッサ lO二マイクロプログラム実行制御部 11−15:レジスタ 16:システムバス制御部 100:主記憶ユニット 110 ニジステムバス制御部 120〜1θ0.180:レジスタ、170:比較器1
80:コマンド解析デコーダ 200:主記憶、  1000ニジステムバス18:主
記憶アクセス要求信号 18:アクセス許可信号 20:指令終了報告信号 201、202:コマンド ii図 第5圏 ?32図
1 is a block diagram of a data processing device according to an embodiment of the present invention, FIG. 2 is a block diagram of the main memory unit 100 of FIG. 1, and FIG. 3 is a block diagram of each subprocessor INN of FIG. 1. , FIG. 4 is a diagram showing the data format on the system bus 1000, and FIG. 5 is a diagram showing the mapping of the main memory 200 in FIG. 2. 1-N: Subprocessor lO2 Microprogram execution control unit 11-15: Register 16: System bus control unit 100: Main memory unit 110 System bus control unit 120 to 1θ0.180: Register, 170: Comparator 1
80: Command analysis decoder 200: Main memory, 1000 system bus 18: Main memory access request signal 18: Access permission signal 20: Command completion report signal 201, 202: Command II Figure 5th zone? Figure 32

Claims (1)

【特許請求の範囲】 主記憶ユニットと複数のサブプロセッサが共通のシステ
ムバスに接続されたデータ処理装置において、 前記各サブプロセッサは互いに独立して主記憶をアクセ
スするための指令を主記憶ユニットに発行する手段を有
し、前記指令の1つとして主記憶中の前記指令中に指定
されたアドレスのワードの状態を試験・設定する試験・
設定指令を有し、前記主記憶ユニットは前記試験・設定
指令を受付けると、前記試験・設定指令中に指定された
アドレスのワードの状態を検査し、該ワードが初期状態
であれば試験・設定指令の実行結果として、該ワードの
内容を前記試験・設定指令を発行したサブプロセッサに
報告するとともに、該ワードに対し、前記試験・設定指
令を発行したサブプロセッサの識別子を書き込む手段を
有することを特徴とするデータ処理装置。
[Claims] In a data processing device in which a main memory unit and a plurality of subprocessors are connected to a common system bus, each of the subprocessors independently issues instructions to the main memory unit to access the main memory. a test and setting means for testing and setting the state of a word at an address specified in the command in main memory as one of the commands;
When the main memory unit receives the test/setting command, the main memory unit checks the state of the word at the address specified in the test/setting command, and if the word is in the initial state, the test/setting is performed. As a result of execution of the command, the content of the word is reported to the sub-processor that issued the test/setting command, and means is provided for writing an identifier of the sub-processor that issued the test/setting command to the word. Characteristic data processing device.
JP14302584A 1984-07-10 1984-07-10 Data processor Pending JPS6121563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14302584A JPS6121563A (en) 1984-07-10 1984-07-10 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14302584A JPS6121563A (en) 1984-07-10 1984-07-10 Data processor

Publications (1)

Publication Number Publication Date
JPS6121563A true JPS6121563A (en) 1986-01-30

Family

ID=15329158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14302584A Pending JPS6121563A (en) 1984-07-10 1984-07-10 Data processor

Country Status (1)

Country Link
JP (1) JPS6121563A (en)

Similar Documents

Publication Publication Date Title
US4665484A (en) Shared memory multiprocessing system & method
JPH0430053B2 (en)
JPH0227441A (en) Computer system
US6076126A (en) Software locking mechanism for locking shared resources in a data processing system
EP0507951B1 (en) Exclusive control method for shared memory
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
US5003468A (en) Guest machine execution control system for virutal machine system
JPS6121563A (en) Data processor
JPS6319058A (en) Memory device
JPS60159951A (en) Tracing system in information processing device
US6535943B1 (en) Information processing device enabling floating interrupt to be pending and a method executing an interrupt condition change instruction
JP2587468B2 (en) Lock data setting device
EP0655686B1 (en) Retry control method and device for control processor
JPH01125633A (en) System for debugging multi-processing system
JPS6310234A (en) Interruption processor
JP2825589B2 (en) Bus control method
JPS6136641B2 (en)
JP2547329B2 (en) Lock data setting device
JPS5834856B2 (en) Kiokuseigiyosouchi
JPS6235960A (en) Exclusive control information control system
JPH0635747A (en) Debug supporting device
JPS62192824A (en) Access system for processor
JPH0644147A (en) Cache memory system
JPH02257247A (en) Multi-processor system
JPH0587850B2 (en)