JPH0215340A - Control system for state history memory device - Google Patents

Control system for state history memory device

Info

Publication number
JPH0215340A
JPH0215340A JP63166362A JP16636288A JPH0215340A JP H0215340 A JPH0215340 A JP H0215340A JP 63166362 A JP63166362 A JP 63166362A JP 16636288 A JP16636288 A JP 16636288A JP H0215340 A JPH0215340 A JP H0215340A
Authority
JP
Japan
Prior art keywords
state
instruction
address
signal
storage
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
JP63166362A
Other languages
Japanese (ja)
Inventor
Tatsuki Nakada
達己 中田
Fumio Matsunoshita
松野下 文郎
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 JP63166362A priority Critical patent/JPH0215340A/en
Publication of JPH0215340A publication Critical patent/JPH0215340A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To reduce labor and time required for fault analysis by adding an address coincidence detecting circuit for detecting coincidence between a storage starting resist setting up an optional instruction and an executing program to the title system. CONSTITUTION:In order to execute a program instruction A, a fetch address signal 12 for an instruction A is inputted from a control unit 5 to an address coincidence detecting circuit 16. At that time, the address signal 12 coincides with a signal outputted from a storage start address register 15. An address coincidence signal 17 is inputted from the detecting circuit 16 to the control unit 5 and the unit 5 sends a storage stop signal 81 to a state history storage device 6. At the time of generating a fault, an operator stops an information processor by a device stop signal 91 through a service processor 7 and reads out state history information 11 precedently stored in the storage device 6 to utilize the information 11 for the analysis of a fault.

Description

【発明の詳細な説明】 〔概要〕 情報処理装置に於いて、 情報処理装置の開発、試験時のループを有するプログラ
ムの障害解析を簡易にする事を目的とし、状態履歴装置
の記憶を停止させる第1の設定状態を保持する記憶停止
状態レジスタと、前記記憶停止状態レジスタに保持され
ている設定状態と実行中の状態の一致を検出すると信号
を出力する第1の状態一致検出手段と、前記状態履歴装
置の記憶を開始させる第2の設定状態を保持する記憶停
止状態レジスタと、前記記憶開始状態レジスタに保持さ
れている設定状態と実行中の状態の一致を検出すると信
号を出力する第2の状態一致検出手段と、第1の状態一
致検出手段の信号によって、状態履歴の記憶を停止し、
第2の状態一致検出手段の信号によって、状態履歴の記
憶を開始する前記の状態履歴記憶装置を有する状態履歴
記憶装置の制御方式を設ける構成とする。
[Detailed Description of the Invention] [Summary] In an information processing device, the storage of a state history device is stopped for the purpose of simplifying failure analysis of a program having a loop during development and testing of the information processing device. a memory stop state register that holds a first setting state; a first state coincidence detection means that outputs a signal when a match between the setting state held in the memory stop state register and the running state is detected; a storage stop state register that holds a second setting state for starting storage of the state history device; and a second storage stop state register that outputs a signal when a match between the setting state held in the storage start state register and the running state is detected. stop storing the state history by a signal from the first state match detection means and the first state match detection means;
The present invention is configured to provide a control method for a state history storage device having the above-mentioned state history storage device that starts storing the state history in response to a signal from the second state coincidence detection means.

〔産業上の利用分野〕[Industrial application field]

本発明は、情報処理装置の障害解析を行うための、状態
履歴記憶装置の制御方式に関する。
The present invention relates to a control method for a state history storage device for performing failure analysis of an information processing device.

〔従来の技術〕[Conventional technology]

情報処理装置などの開発及び試験を行う場合、装置が誤
動作または意図する通りに動かなかった場合、障害原因
追求の情報として、情報処理装置内の各種の内部状態変
化の履歴を記憶させることがある。このような目的のた
めに用いられる状態履歴記憶装置は通常、F 、I F
 Oメモリ等からなり、予め、障害原因追求に必要と思
われる内部状態を順次記録し、装置の障害等があった時
に、停止させて障害発生時及び、それ以前の状態履歴を
保存し、その後この状態履歴記憶装置から、サービスプ
ロセッサ等を介して、装置各部の状態履歴を読み取り、
その情報を障害原因追求に有効に役立てている。しかし
、この状態履歴記憶装置はその記憶容量が限られており
、ある限度以上の過去の履歴情報は新たな履歴情報の格
納によって古き換えられてしまう。このため、有効な状
態履歴情報を得るために内部状態の種類と、履歴を記憶
する記憶開始時と記憶停止時のタイミングの選択は重要
な物となる。
When developing and testing information processing equipment, etc., if the equipment malfunctions or does not work as intended, the history of various internal state changes within the information processing equipment may be stored as information for investigating the cause of the failure. . State history storage devices used for such purposes are typically F , I F
It consists of O memory, etc., and sequentially records the internal state that is considered necessary to find the cause of the failure, and when a failure occurs in the device, it is stopped and the status history at the time of failure and before that is saved, and then The status history of each part of the device is read from this status history storage device via a service processor, etc.
The information is effectively used to investigate the cause of the failure. However, this state history storage device has a limited storage capacity, and past history information exceeding a certain limit is outdated by storing new history information. Therefore, in order to obtain effective state history information, it is important to select the type of internal state and the timing at which to start and stop storing the history.

あるプログラムの実行に於いて、命令Bで次の命令に動
作が移らない場合、命令Bか、または命令B以前に実行
された命令と命令Bの間のいずれかに障害があると考え
て、前記の命令実行時の状B履歴情報をとり、解析する
ことがある。
When executing a program, if instruction B does not move to the next instruction, consider that there is a problem with instruction B or between the instruction executed before instruction B and instruction B. Status B history information at the time of execution of the above-mentioned instruction may be obtained and analyzed.

状態履歴記憶装置の記憶開始や記憶停止の制御は、マイ
クロプログラムや、サービスプロセッサの命令によって
も行ってきた。しかしマイクロプログラムでは、ある命
令Bで、必ず起こる障害に対しては、その命令Bで実行
されるマイクロプログラムワードを状態履歴記憶装置が
記憶停止するようにプログラムすることで障害解析をす
ることは可能であるが、命令への直後に命令Bが実行さ
れる場合のみ起こる障害に対しては、命令A、命令Bが
連結して実行される前に単独で命令Bが実行されると、
その時点で状態履歴記憶装置が記憶停止されてしまい、
必要とする情報を得ることができない。またサービスプ
ロセッサは、情報処理装置の被監視装置に比べて処理能
力が遅いために、状態履歴を保存するために必要な点で
制御出来ない。更に、命令Bが行われた後で、操作者が
障害に気付き、サービスプロセッサを介して状態履歴記
憶装置を記憶停止にしても、命令Bで異常がおきてから
数秒経過した後である。状態履歴記憶装置は記憶容量に
限界があり、数秒以前までの状態しか保存されないので
、必要な情報を得ることが出来ない。
The start and stop of storage in the state history storage device has also been controlled by microprograms or instructions from a service processor. However, in a microprogram, if a failure always occurs with a certain instruction B, it is possible to analyze the failure by programming the state history storage device to stop storing the microprogram words executed by that instruction B. However, for a failure that occurs only when instruction B is executed immediately after another instruction, if instruction B is executed alone before instructions A and B are executed in conjunction,
At that point, the state history storage device is stopped,
I can't get the information I need. Furthermore, since the service processor has slower processing power than the monitored device of the information processing device, it cannot control the information processing device in the way necessary to save the state history. Furthermore, even if the operator notices the failure after command B is executed and stops the state history storage device through the service processor, several seconds have passed since the abnormality occurred in command B. The state history storage device has a limited storage capacity and can only store the state up to several seconds ago, making it impossible to obtain the necessary information.

依って、ある目的とするプログラムのアドレス、もしく
は予め設定された装置各部の状態で、状態履歴記憶装置
の記憶を停止する必要があった。従来は、プログラムの
アドレス、もしくは予め設定された装置各部の状態が一
致した時点で情報処理装置全体を停止させ、それにより
状態履歴装置も書き込みを停止し、その時に、その状B
履歴記憶装置に蓄えられた情報をサービスプロセッサに
記録し、その後に、状態履歴記憶装置を再び記憶開始し
、プログラムの続きを実行する機能が提供されていた。
Therefore, it is necessary to stop storing the state history storage device at the address of a certain target program or at a preset state of each part of the device. Conventionally, the entire information processing device is stopped when the program address or the preset state of each part of the device matches, and the state history device also stops writing, and at that time, the state B
A function was provided for recording the information stored in the history storage device in the service processor, and then restarting the state history storage device and executing the continuation of the program.

第3図は、従来の情報履歴記憶方式のブロック図である
。図中、1は記憶管理ユニット、2は記憶停止アドレス
レジスタ、3はアドレス−数構出回路、4は主記憶装置
、5は制御ユニット、6は状態履歴記憶装置、7はサー
ビスプロセッサ、8は装置停止信号、9は装置再起動信
号、1oは記憶開始信号、IIは状態履歴情報、12は
フェッチアドレス、13はアドレス一致信号、14はフ
ェッチデータ、60は被監視装置の情報である。
FIG. 3 is a block diagram of a conventional information history storage system. In the figure, 1 is a storage management unit, 2 is a storage stop address register, 3 is an address-number configuration circuit, 4 is a main storage device, 5 is a control unit, 6 is a state history storage device, 7 is a service processor, and 8 is a 10 is a device stop signal, 9 is a device restart signal, 1o is a storage start signal, II is state history information, 12 is a fetch address, 13 is an address match signal, 14 is fetch data, and 60 is information on the monitored device.

命令Bが実行される場合に起こる障害に対しては、その
障害解析のために、状態履歴情報を得るには、命令Bの
アドレスを設定した記憶停止アドレスレジスタ2と、記
憶停止アドレスレジスタ2が指示するアドレスとフェッ
チしている命令のアドレスとの一致を検出するアドレス
−数構出回路3を設ける。
In order to obtain state history information for failure analysis in the case of a failure that occurs when instruction B is executed, the storage stop address register 2, in which the address of instruction B is set, and the storage stop address register 2 are required. An address-number construction circuit 3 is provided for detecting a match between the designated address and the address of the instruction being fetched.

通常、プログラムの実行は、上記1.α装置4がフェッ
チアドレス12により、フェッチデータ14を制御ユニ
ット5へ送り、前記制御ユニット5が、演算装置の命令
の解釈、実行の制御を行う。この時、状態履歴記憶装置
6は、情報処理装置の被監視装置の情報60を随時記憶
している。
Normally, the execution of the program is as described in 1. The α device 4 sends fetch data 14 to the control unit 5 using the fetch address 12, and the control unit 5 controls the interpretation and execution of instructions of the arithmetic unit. At this time, the state history storage device 6 stores information 60 of the monitored device of the information processing device as needed.

プログラムの命令Bを実行するために、命令Bのアドレ
スで、制御ユニット5から命令Bのフェッチアドレス信
号12が、記憶管理ユニット1内部のアドレス−数構出
回路3へ入力される。このとき、前記フェッチアドレス
信号12が、命令Bのアドレスに設定された記憶停止ア
ドレスレジスタ2からの信号と一致する。そしてアドレ
ス−数構出回路3からアドレス一致信号13が制御ユニ
ット5へ入力され、そこから情報処理装置の被監視装置
各部と情態履歴記憶装置6に装置停止信号8を送り、情
報処理装置の被監視装置各部を停止させると共に、状態
履歴記憶装置を停止させ、状態回度の記憶を停止させる
。そこで、情報処理装置の操作者がサービスプロセッサ
7を介して状態履歴記憶装置6の状態履歴情報11を別
の場所に保存しておく。その後、サービスプロセッサ7
を介し、状態履歴記憶装置6へ記憶開始信号10を出し
、状態履歴記憶装置6の記憶開始を指示してから、情報
処理装置に命令Bのつぎの命令からプログラムの続きを
させる。その後、障害が起きた場合は、先程サービスプ
ロセッサ7を介して読み取った状態履歴情報11を原因
解析に使用する。
In order to execute instruction B of the program, the fetch address signal 12 of instruction B is input from the control unit 5 to the address-number construction circuit 3 inside the storage management unit 1 at the address of instruction B. At this time, the fetch address signal 12 matches the signal from the storage stop address register 2 set to the address of instruction B. Then, the address matching signal 13 is inputted from the address-number output circuit 3 to the control unit 5, and from there, a device stop signal 8 is sent to each part of the monitored device of the information processing device and the state history storage device 6. Each part of the monitoring device is stopped, the state history storage device is stopped, and the storage of state times is stopped. Therefore, the operator of the information processing device stores the state history information 11 in the state history storage device 6 in another location via the service processor 7. Then service processor 7
A storage start signal 10 is sent to the state history storage device 6 via the state history storage device 6 to instruct the state history storage device 6 to start storage, and then the information processing device is caused to continue the program from the instruction following instruction B. After that, if a failure occurs, the status history information 11 read earlier via the service processor 7 is used to analyze the cause.

しかし、命令Bを含むループを持つプログラムの前記ル
ープで障害があり、その何回目のループで命令Bが障害
を発生するか判っていないという場合、障害を解析する
際は、前述と同様に、命令Bのアドレスで一度、情報処
理装置の動作を停止させると共に、情報履歴記憶装置6
を記憶停止にし、その状態履歴情報11をサービスプロ
セッサ7を介して読み取り、別の場所に保存する。そし
て情報履歴記憶装置6に記憶開始の指示を与えてから、
情報処理装置を再び起動させ、その後障害が発生した場
合は、先程読み取った状態履歴情報を障害解析のために
使用する。
However, if there is a failure in the loop of a program that has a loop that includes instruction B, and it is not known in which loop instruction B causes the failure, when analyzing the failure, as described above, At the address of instruction B, the operation of the information processing device is stopped once, and the information history storage device 6 is
The state history information 11 is read out via the service processor 7 and saved in another location. Then, after giving an instruction to the information history storage device 6 to start storing,
If the information processing device is restarted and a failure occurs thereafter, the status history information read earlier is used for failure analysis.

しかし、障害が発生しなかった場合は、ループであるか
ら、また命令Bを実行するので、前述の操作を繰り返さ
なければならない。つまり、障害が発生するまで、命令
Bで情報履歴記憶装置と情報処理装置の被監視装置各部
の動作が停止した後、操作者は、サービスプロセッサを
操作して状態履歴情報を読み取り、状a履歴情報を別の
場所に保存し、尚且つサービスプロセッサを介して、情
報履歴記憶装置に記憶開始の許可を与えてから、情報処
理装置にプログラムの続きを実行させるという作業を繰
り返さなければならない。
However, if no failure occurs, the above operation must be repeated because it is a loop and instruction B is executed again. In other words, after the operation of the information history storage device and each part of the monitored device of the information processing device is stopped by command B until a failure occurs, the operator operates the service processor to read the state history information and It is necessary to repeatedly store the information in another location, give permission to the information history storage device to start storage via the service processor, and then have the information processing device continue executing the program.

〔解決しようとする課題] 従来例で示したように、命令Bを含むループを持つプロ
グラムの前記ループ内の命令Bで障害があり、その何回
めのループで命令Bが障害を発生するか判っていないと
いう場合の、障害を解析する作業は、情報処理装置の操
作者に多大な労力と時間を費やさせていた。また、従来
例では、フェッチアドレスにより、状態履歴装置の記憶
停止を行ったが、これは、ストアアドレスでも、汎用レ
ジスタの内容でも可能である。その場合も、上記の問題
が生じていた。
[Problem to be solved] As shown in the conventional example, in a program that has a loop that includes instruction B, instruction B in the loop has a failure, and in what loop does instruction B cause the failure? In cases where the fault is unknown, the task of analyzing the fault requires the operator of the information processing device to spend a great deal of effort and time. Furthermore, in the conventional example, storage of the state history device was stopped using a fetch address, but this can also be done using a store address or the contents of a general-purpose register. In that case as well, the above problem occurred.

従って、本発明は、ループに含まれる障害を解析するた
めに、多大な労力と時間を必要とせず、また、効率が良
い状態履歴記憶装置の制御方式を提供するものである。
Therefore, the present invention provides an efficient control method for a state history storage device that does not require a great deal of effort and time to analyze a fault included in a loop.

[課題を解決する為の手段] 装置各部の状態を記録する状態履歴記憶装置を有する情
報処理、装置に、前記状態履歴記憶装置の記憶を停止さ
せる第1の設定状態を保持する記憶停止状態レジスタと
、前記記憶停止状態レジスタに保持されている設定状態
と実行中の状態の一致を検出すると信号を出力する第1
の状態−数構出手段と、前記状態履歴記憶装置の記憶を
開始させる第2の設定状態を保持する記憶開始状態レジ
スタと、前記記憶開始状態レジスタに保持されている設
定状態と実行中の状態の一致を検出すると信号を出力す
る第2の状態−数構出手段を存することを特徴とする状
態履歴記す、9装置の制御方式を設ける。
[Means for Solving the Problems] An information processing device having a state history storage device for recording the state of each part of the device includes a storage stop state register that holds a first setting state for stopping storage of the state history storage device. and a first one that outputs a signal when it detects a match between the setting state held in the memory stop state register and the running state.
a state-number configuration means, a storage start state register that holds a second setting state for starting storage in the state history storage device, and a setting state and an execution state held in the storage start state register. There is provided a control method for a nine-device device that records a state history, characterized in that it includes a second state-number configuration means that outputs a signal when a match is detected.

〔作用] 命令Bを含むループを持つプログラムの前記ループ内の
命令Bで障害があり、その何回目のループで命令Bが障
害を発生するか判ってない場合に於いては、記憶停止状
態レジスタに命令Bのアドレス、もしくは、その時点で
の装置のある部分の状態を設定する。記憶開始状態レジ
スタには、ループの中の命令の1つであり、かつ命令B
が実行される前に必ず実行される命令Aのアドレス、も
しくは、その時点での装置のある部分の状態を設定する
。−船釣には、この命令Aはループの先頭の命令でよい
。記憶開始状態レジスタと第2の状態−数構出回路は、
命令Aで、状態履歴記憶装置の記憶を開始する。そして
、記憶停止状態レジスタと第1の状態−数構出回路は、
命令Bで、状態履歴記憶装置の記憶を停止する。命令B
を実行した時点で、装置各部の状態が状態履歴記憶装置
に記憶されている。ここで、障害が発生した場合は、操
作者がサービスプロセッサを介して、情報処理装置を停
止させる。そして先程記憶を停止した状態履歴記憶装置
から状態履歴情報を読み取って障害を解析する。
[Operation] If there is a failure in instruction B in the loop of a program that has a loop including instruction B, and it is not known in which loop instruction B will cause the failure, the memory stop state register The address of instruction B or the state of a certain part of the device at that time is set in . The storage start status register contains one of the instructions in the loop and instruction B.
Sets the address of the instruction A that is always executed before the instruction A is executed, or the state of a certain part of the device at that time. -For boat fishing, this command A can be the first command in the loop. The storage start state register and the second state-number construction circuit are
Instruction A starts storing the state history storage device. Then, the memory stop state register and the first state-number construction circuit are as follows:
Command B stops storage in the state history storage device. Command B
At the time when the process is executed, the status of each part of the device is stored in the status history storage device. Here, if a failure occurs, the operator stops the information processing device via the service processor. Then, the state history information is read from the state history storage device whose storage was stopped earlier and the failure is analyzed.

命令Bで障害が発生しなかった場合は、操作者は情報処
理装置を停止させない。よって、プログラムがループし
ているので、情報処理装置は再び命令Aを実行する。こ
の時記憶開始状態レジスタと第2の状態−数構出回路は
、命令Aで、情報履歴記憶装置の記憶を開始させる。再
び記憶停止状態レジスタと第1の状態−数構出回路は、
命令Bで、情報履歴記憶装置の記憶を停止する。このよ
うに障害が発生するまで、この動作が続けられる。
If no failure occurs in command B, the operator does not stop the information processing device. Therefore, since the program is in a loop, the information processing device executes instruction A again. At this time, the storage start state register and the second state-number configuration circuit cause the information history storage device to start storing the information in response to the instruction A. Again, the memory stop state register and the first state-number construction circuit are as follows:
Command B stops storage in the information history storage device. This operation continues in this manner until a failure occurs.

そして障害が発生して初めて、操作者がサービスプロセ
ッサを介して、情報処理装置を停止させる。
Only after a failure occurs does the operator stop the information processing device via the service processor.

情報処理装置を停止させるのに時間はかかるが、状態履
歴記憶装置は、命令Bの実行時点で、記憶停止されてい
るので、必要な状態H層情報は状態履歴記憶装置に残っ
ている。このように、障害が発生するまで操作者の介入
なしに障害解析のための処理をすることが可能である。
Although it takes time to stop the information processing device, since the state history storage device is stopped from storing at the time of execution of instruction B, the necessary state H layer information remains in the state history storage device. In this way, it is possible to perform processing for failure analysis without operator intervention until a failure occurs.

〔実施例〕〔Example〕

第1図は、本発明の状態履歴記憶装置の制御方式の一実
施例のブロック図、第2図は、第1図の制御ユニットの
ブロック図である。図中、1は記憶管理ユニット、2は
記憶停止アドレスレジスタ、3はアドレス−数構出回路
、4は主記憶装置、5は制御ユニット、6は状B履歴記
憶装置、7はサービスプロセッサ、10は記憶開始信号
、11は状態履歴情報、12はフェッチアドレス、13
はアドレス一致信号、14はフェッチデータ、15は記
憶開始アドレスレジスタ、16はフェッチアドレス12
と記記憶開始アドレスレジスタ15とのアドレス−数構
出回路、17はアドレス−敗信号、18は選択回路、1
9はAND回路、20はOR回路、21は命令デコーダ
、22はオペランド有効信号、23は命令バッファ、2
4は演算回路、60は被監視装置の情報、81は記憶停
止信号、91は装置停止信号である。
FIG. 1 is a block diagram of an embodiment of a control method for a state history storage device of the present invention, and FIG. 2 is a block diagram of the control unit of FIG. 1. In the figure, 1 is a storage management unit, 2 is a storage stop address register, 3 is an address-number configuration circuit, 4 is a main storage device, 5 is a control unit, 6 is a state B history storage device, 7 is a service processor, 10 is a storage start signal, 11 is state history information, 12 is a fetch address, 13
is the address match signal, 14 is the fetch data, 15 is the storage start address register, and 16 is the fetch address 12.
17 is an address-defeat signal, 18 is a selection circuit, 1
9 is an AND circuit, 20 is an OR circuit, 21 is an instruction decoder, 22 is an operand valid signal, 23 is an instruction buffer, 2
4 is an arithmetic circuit, 60 is information on the monitored device, 81 is a storage stop signal, and 91 is a device stop signal.

本実施例では、命令Bを含むループを持つプログラムの
、前記ループ内の命令Bで障害があり、その何回目のル
ープで命令Bが障害を発生するか判ってない場合の障害
解析のために、記憶停止状態レジスタとして、命令Bの
アドレスを設定した記憶停止アドレスレジスタ2と、前
記記憶停止状態レジスタ2と実行中のプログラムとの一
致を検出する第1の状態−数構出手段として、アドレス
−数構出回路3と、更に、記憶開始状態レジスタとして
、前記ループの中の命令の一つであり、かつ命令Bが実
行される前に必ず実行される任意の命令Aを設定した記
憶開始アドレスレジスタ15と、記憶開始状態レジスタ
15と実行中のプログラムの一致を検出する第2の状態
−数構出手段として、アドレス−数構出回路16を設け
る構成とする。
This example is for failure analysis when there is a failure in instruction B in the loop of a program that has a loop including instruction B, and it is not known in which loop instruction B causes the failure. , a memory halt address register 2 in which the address of instruction B is set as a memory halt state register, and an address as a first state-number configuration means for detecting a match between the memory halt state register 2 and the program being executed. - a memory start circuit 3, and an arbitrary instruction A that is one of the instructions in the loop and is always executed before instruction B is executed as a memory start status register; An address-number construction circuit 16 is provided as a second state-number construction means for detecting a match between the address register 15 and the storage start state register 15 and the program being executed.

さて、プログラムの命令Aを実行するために、制御ユニ
ット5から命令Aのフェッチアドレス信号12が、記憶
管理ユニット1内部のアドレス−数構出回路16へ入力
される。このとき、命令Aのフェッチアドレス信号12
と命令Aに設定された記憶開始アドレスレジスタ15か
らの信号と一致する。そしてアドレス−数構出回路16
からアドレス一致信号17が制御ユニット5に入力され
る。
Now, in order to execute the instruction A of the program, the fetch address signal 12 of the instruction A is inputted from the control unit 5 to the address-number construction circuit 16 inside the storage management unit 1. At this time, the fetch address signal 12 of instruction A
This matches the signal from the storage start address register 15 set in the instruction A. And address-number configuration circuit 16
An address match signal 17 is input to the control unit 5 from the address matching signal 17 .

第2図は制御ユニット5内のブロック図である。FIG. 2 is a block diagram inside the control unit 5. As shown in FIG.

第2図中の制御ユニット5に入力されたアドレス一致信
号17は命令バッファ23.23”、23゛のいずれか
に入力される。命令バッファは、プログラムを効率良く
実行する為に、ある命令が演算回路で実行中に、主記憶
装置から次の命令を先取りする。前記実行中であった命
令が終了後、先取りした命令を演算回路に入力する。通
常、複数の命令バッファを設けて、命令を待機させてお
く。
The address match signal 17 input to the control unit 5 in FIG. 2 is input to either the instruction buffer 23. While the arithmetic circuit is executing the next instruction, it prefetches the next instruction from the main memory.After the instruction being executed is finished, the prefetched instruction is input to the arithmetic circuit.Usually, multiple instruction buffers are provided to is on standby.

仮にアドレス一致信号17は命令バッファ23に入力さ
れたとする。主記憶装置4から制御ユニット5に入力さ
れるフェッチデータ14も命令バッファ23に入力され
る。命令バッファ23に入力されたアドレス一致信号1
7とフェッチデータ14は各々選択回路18゛と選択回
路18′°に入力される。選択回路18゛に入力された
アドレス一致信号17はOR回路20゛に、選択回路1
8パに入力されたフェッチデータ14は命令デコーダ2
1に各々入力される。そして命令デコーダ21から演算
回路23に命令を、OR回路20”から状態履歴記憶袋
W6に記憶開始信号10を送る。先程アドレス一致信号
17を命令バッファ23に入力したのは、命令Aを実行
する時点で記憶開始信号が出力されるように出力時を調
整するためである。従って、状態履歴記憶装置6には被
監視装置の情報60が随時入力される。
Assume that the address match signal 17 is input to the instruction buffer 23. Fetch data 14 input from main memory 4 to control unit 5 is also input to command buffer 23 . Address match signal 1 input to instruction buffer 23
7 and fetch data 14 are input to the selection circuit 18' and the selection circuit 18', respectively. The address match signal 17 inputted to the selection circuit 18' is sent to the OR circuit 20',
The fetch data 14 input to the 8th pass is sent to the instruction decoder 2.
1 respectively. Then, the instruction decoder 21 sends the instruction to the arithmetic circuit 23, and the OR circuit 20'' sends the storage start signal 10 to the state history storage bag W6.The reason why the address match signal 17 was input to the instruction buffer 23 earlier is to execute the instruction A. This is to adjust the output timing so that the storage start signal is output at this point in time.Therefore, information 60 of the monitored device is input to the state history storage device 6 at any time.

命令Bを実行するために、制御ユニット5から命令Bの
フェッチアドレス信号12が、記憶管理ユニット1内部
のアドレス−数構出回路16へ入力される。このとき、
フェッチアドレス信号12は、命令Bのアドレスに設定
された記憶停止アドレスレジスタ2からの信号と一致す
る。そしてアドレス−数構出回路3からアドレス一致信
号13が制御ユニット5に人力される。
In order to execute instruction B, the fetch address signal 12 of instruction B is input from the control unit 5 to the address-number construction circuit 16 inside the storage management unit 1. At this time,
The fetch address signal 12 matches the signal from the storage stop address register 2, which is set to the address of instruction B. Then, an address match signal 13 is input from the address/number configuration circuit 3 to the control unit 5.

制御ユニット5に入力されたアドレス一致信号13は命
令バッファ23.23゛、23′のいずれかに入力され
る。例えば、命令バッファ23に入力されたとする。ア
ドレス一致信号13を命令バッファ23に入力するのは
、命令Bを実行する時点で記憶停止信号81が出力され
るように出力時を調整するためである。主記憶装置4か
ら制御ユニット5に入力されるフェッチデータ14は命
令バッファ23に入力される。命令バッファ23に入力
されたアドレス一致信号13とフェッチデータ14は各
々選択回路18と選択回路18゛に入力される。選択回
路18に入力されたアドレス一致信号13はOR回路2
0に、選択回路18゛に入力されたフェッチデータ14
は命令デコーダ21に各々人力される。そして命令デコ
ーダ21から演算回路23に命令を、OR回路20から
状態履歴記憶装置6に記憶停止信号81を送る。依って
、記憶停止信号81は情報履歴記憶装置6に人力され、
情報履歴記憶装置6は装置各部の状態履歴を保存する。
The address match signal 13 input to the control unit 5 is input to one of the instruction buffers 23, 23' and 23'. For example, assume that the command is input to the command buffer 23. The reason why the address match signal 13 is input to the instruction buffer 23 is to adjust the output timing so that the storage stop signal 81 is output when the instruction B is executed. Fetch data 14 input from main memory 4 to control unit 5 is input to command buffer 23 . The address match signal 13 and fetch data 14 input to the instruction buffer 23 are input to the selection circuit 18 and the selection circuit 18', respectively. The address match signal 13 input to the selection circuit 18 is sent to the OR circuit 2
0, the fetch data 14 input to the selection circuit 18'
are manually input to the instruction decoder 21. Then, the instruction decoder 21 sends an instruction to the arithmetic circuit 23, and the OR circuit 20 sends a storage stop signal 81 to the state history storage device 6. Therefore, the memory stop signal 81 is manually input to the information history storage device 6,
The information history storage device 6 stores the state history of each part of the device.

その後、障害が起きた場合は、操作者がサービスプロセ
ッサ7を介して装置停止信号91により情報処理装置を
停止させ、状態履歴記憶装置6の内部に先程保存された
状態履歴情報11を読み取って、障害の解析に利用する
After that, if a failure occurs, the operator stops the information processing device with a device stop signal 91 via the service processor 7, reads the state history information 11 previously stored in the state history storage device 6, Used for failure analysis.

情報履歴記憶装置6が記憶停止した後に、障害が起きな
かった場合は、ループであるから再び、命令Aが実行さ
れる。プログラムの命令Aを実行するために、制御ユニ
ット5から命令Aのフェッチアドレス信号13が、記憶
管理ユニット1内部のアドレス−数構出回路16へ入力
される。このとき、命令Aに設定された記憶開始アドレ
スレジスタ15からの信号と一致する。そしてアドレス
−数構出回路16から記憶開始信号10が状態履歴記憶
装置6に入力され、状態履歴記憶装置6には再び、装置
各部の状態履歴が随時入力され、命令Bでまた状態履歴
記憶装置6の記憶を停止する。
If no failure occurs after the information history storage device 6 stops storing information, the instruction A is executed again because it is a loop. In order to execute the instruction A of the program, the fetch address signal 13 of the instruction A is inputted from the control unit 5 to the address-number construction circuit 16 inside the storage management unit 1 . At this time, it matches the signal from the storage start address register 15 set in the instruction A. Then, a storage start signal 10 is inputted from the address/number configuration circuit 16 to the state history storage device 6, and the state history of each part of the device is inputted to the state history storage device 6 again at any time. Stop remembering 6.

このように、障害が発生するまで、この動作が続けられ
る。障害が発生して初めて、操作者が、サービスプロセ
ッサ7を介して装置停止信号91により情報処理装置を
停止させ、状態履歴記憶装置6の内部に先程保存された
状態履歴情報11を読み取るという行為を介入し、障害
の解析に利用する。
This operation continues in this manner until a failure occurs. Only after a failure occurs does the operator stop the information processing device using the device stop signal 91 via the service processor 7 and read the state history information 11 previously stored in the state history storage device 6. Intervene and use it to analyze failures.

以上、本発明を実施例を上げて説明した。実施例では、
記憶停止アドレスレジスタ、及び記憶開始アドレスレジ
スタには、命令のアドレスを設定したが、オペランドア
ドレスでも可能である。オペランドアドレスの場合は、
フェッチデータはオペランドデータとなるので、制御ユ
ニット5内にオペランド有効信号22とAND回路19
.19の使用によってオペランドと命令を区別する。
The present invention has been described above with reference to examples. In the example,
Although instruction addresses are set in the storage stop address register and storage start address register, operand addresses may also be used. For operand addresses,
Since the fetch data becomes operand data, an operand valid signal 22 and an AND circuit 19 are provided in the control unit 5.
.. 19 to distinguish between operands and instructions.

また、本実施例では、命令のフエ・ンチアドレスとの一
致によって、状態履歴記憶装置の停止、開始を指示した
が、ストアアドレスや、装置各部の汎用レジスタの内容
等でも、プログラムの任意の実行時点で、状態履歴装置
の記憶開始、停止が可能である。
In this embodiment, the state history storage device is stopped or started based on a match with the front address of the instruction, but the store address or the contents of general-purpose registers in each part of the device can also be used to stop or start the state history storage device. It is possible to start or stop storage of the state history device at any time.

また、情報処理装置を構成する装置の中にはアドレスの
一致を検出する回路はいくつか存在する。
Additionally, there are several circuits for detecting address matching in the devices that constitute the information processing device.

例えば装置の立ち上げ時のみ使用する主記憶の初期化開
始、終了アドレスレジスタ、終了アドレス−数回路は立
ち上げ後は使用されないので、前記装置と共用すること
により、物量増を殆ど伴わず本発明の実現を可能とする
ことも出来る。更に、本実施例では、アドレス−数構出
手段を2つ設けたが、1つしか設けず切り換え使用も可
能である。
For example, the main memory initialization start, end address register, and end address-number circuits that are used only when starting up the device are not used after starting up, so by sharing them with the above device, the present invention can be implemented with almost no increase in physical quantity. It is also possible to realize the following. Further, in this embodiment, two address/number configuration means are provided, but only one may be provided and used in a switched manner.

このように本発明は1本発明の主旨に従い種々の変形が
可能であり、本発明からこれらを排除するものではない
As described above, the present invention can be modified in various ways in accordance with the gist of the present invention, and these are not excluded from the present invention.

〔効果] 本発明によると、情報処理装置の操作者が、サービスプ
ロセッサから状態履歴記憶装置の記憶停止、開始の命令
を与えることなく、状態履歴記憶装置の記憶停止、開始
を可能とすることで、障害の解析時に情報処理装置を開
始、再開したり、状態履歴記憶装置の記憶停止、開始を
命令する回数が著しく減少するため、障害解析の労力、
時間が減少する。
[Effect] According to the present invention, an operator of an information processing device can stop and start storage of the state history storage device without giving a command to stop and start storage of the state history storage device from the service processor. , The number of times the information processing device is started and restarted, and the state history storage device is instructed to stop and start storage during failure analysis is significantly reduced, so the effort required for failure analysis is reduced.
Time decreases.

また、実施例で述べたように、他の回路と共用する事に
より、殆ど装置の増加なしで本発明を実現することがで
きる。
Further, as described in the embodiment, by sharing the circuit with other circuits, the present invention can be realized with almost no increase in the number of devices.

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

第1図は、本発明の実施例のブロック図、第2図は、第
1図中の制御ユニット内のブロック図、第3図は、従来
方式のブロック図である。 1.1゛・・・記憶管理ユニット 2・・・記憶停止アドレスレジスタ 3・・・アドレス−数構出回路 4・・・主記憶装置 5.5°・・・制御ユニット 6・・・状態履歴記憶装置 7・・・サービスプロセッサ 8・・・装置停止信号 9・・・装置再起動信号 10・・・記憶開始信号 冊・ 12・ 13・ 14・ 15・ 16・ 17・ 18. 19. 20. 21・ 22・ 23. 24・ 60・ 81・ 91・ ・・状態履歴情報 ・・フェッチアドレス ・・アドレス一致信号 ・・フェッチデータ ・・記憶開始アドレスレジスタ ・・アドレス−数構出回路 ・・アドレス一致信号 18.18”・・・選択回路 19”・・・AND回路 20゛・・・OR回路 ・・命令デコーダ ・・オペランド有効信号 23゛、231・・・命令バッファ ・・演算回路 ・・被監視装置の情報 ・・記憶停止信号 ・・装置停止信号
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram of the inside of the control unit in FIG. 1, and FIG. 3 is a block diagram of a conventional system. 1.1゛...Storage management unit 2...Memory stop address register 3...Address-number configuration circuit 4...Main storage device 5.5°...Control unit 6...Status history Storage device 7...Service processor 8...Device stop signal 9...Device restart signal 10...Storage start signal book 12, 13, 14, 15, 16, 17, 18. 19. 20. 21・ 22・ 23. 24・ 60・ 81・ 91・・・State history information・・Fetch address・・Address match signal・・Fetch data・・Storage start address register・・Address-number construction circuit・・Address match signal 18.18”・...Selection circuit 19''...AND circuit 20''...OR circuit...Instruction decoder...Operand valid signal 23'', 231...Instruction buffer...Arithmetic circuit...Monitored device information...Storage Stop signal...Equipment stop signal

Claims (1)

【特許請求の範囲】 装置各部の状態を記録する状態履歴記憶装置を有する情
報処理装置に於いて、 前記状態履歴記憶装置の記憶を停止させる第1の設定状
態を保持する記憶停止状態レジスタと、前記記憶停止状
態レジスタに保持されている設定状態と実行中の状態の
一致を検出すると信号を出力する第1の状態一致検出手
段と、 前記状態履歴記憶装置の記憶を開始させる第2の設定状
態を保持する記憶停止状態レジスタと、前記記憶開始状
態レジスタに保持されている設定状態と実行中の状態の
一致を検出すると信号を出力する第2の状態一致検出手
段と、 第1の状態一致検出手段の信号によって、状態履歴の記
憶を停止し、第2の状態一致検出手段の信号によって、
状態履歴の記憶を開始する前記の状態履歴記憶装置を有
することを特徴とするを特徴とする状態履歴記憶装置の
制御方式。
[Scope of Claims] An information processing device having a state history storage device for recording the state of each part of the device, comprising: a memory stop state register that holds a first setting state for stopping storage of the state history storage device; a first state coincidence detection means that outputs a signal when detecting a match between the setting state held in the storage stop state register and the running state; and a second setting state that causes the state history storage device to start storing. a memory stop state register that holds the storage start state register; a second state coincidence detection means that outputs a signal when a match between the setting state held in the memory start state register and the running state is detected; and a first state coincidence detection means. The storage of the state history is stopped by the signal of the means, and the storage of the state history is stopped by the signal of the second state coincidence detection means.
1. A control method for a state history storage device, comprising: the state history storage device described above that starts storing a state history.
JP63166362A 1988-07-04 1988-07-04 Control system for state history memory device Pending JPH0215340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63166362A JPH0215340A (en) 1988-07-04 1988-07-04 Control system for state history memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63166362A JPH0215340A (en) 1988-07-04 1988-07-04 Control system for state history memory device

Publications (1)

Publication Number Publication Date
JPH0215340A true JPH0215340A (en) 1990-01-19

Family

ID=15829988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63166362A Pending JPH0215340A (en) 1988-07-04 1988-07-04 Control system for state history memory device

Country Status (1)

Country Link
JP (1) JPH0215340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016167789A1 (en) * 2015-04-17 2016-10-20 Hewlett Packard Enterprise Development Lp Storing state machine information in a non-volatile memory

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5376639A (en) * 1976-12-17 1978-07-07 Nec Corp Memory unit for hysteresis of program
JPS59125443A (en) * 1982-12-31 1984-07-19 Fujitsu Ltd Instruction address comparison system
JPS6045851A (en) * 1983-03-28 1985-03-12 Fujitsu Ltd Prefetching buffer memory
JPS619734A (en) * 1984-06-26 1986-01-17 Nec Corp Processor control system
JPS6191725A (en) * 1984-10-12 1986-05-09 Fujitsu Ltd Address matching control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5376639A (en) * 1976-12-17 1978-07-07 Nec Corp Memory unit for hysteresis of program
JPS59125443A (en) * 1982-12-31 1984-07-19 Fujitsu Ltd Instruction address comparison system
JPS6045851A (en) * 1983-03-28 1985-03-12 Fujitsu Ltd Prefetching buffer memory
JPS619734A (en) * 1984-06-26 1986-01-17 Nec Corp Processor control system
JPS6191725A (en) * 1984-10-12 1986-05-09 Fujitsu Ltd Address matching control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016167789A1 (en) * 2015-04-17 2016-10-20 Hewlett Packard Enterprise Development Lp Storing state machine information in a non-volatile memory

Similar Documents

Publication Publication Date Title
US5437033A (en) System for recovery from a virtual machine monitor failure with a continuous guest dispatched to a nonguest mode
KR100695187B1 (en) Single step processing method and apparatus
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
US5172378A (en) Error detection method and apparatus for processor having main storage
US4559596A (en) History memory control system
JPH0215340A (en) Control system for state history memory device
JPS60159951A (en) Tracing system in information processing device
US5813039A (en) Guest execution control system, method and computer process for a virtual machine system
JPS58181160A (en) Controlling system of emergency operation
JP2002116926A (en) Program processor and program processing method
JP2684966B2 (en) I/O processor debug unit
JPH0830485A (en) Debugging device
JPH02242439A (en) Program load control system
JPS626341A (en) Information processor
JPS5822765B2 (en) Program loading method in electronic computer system
JPS6146535A (en) Pseudo error setting control system
JPH08263324A (en) Debug facilitation device
JPH0395634A (en) Restart control system for computer system
JPH01293447A (en) Control system for address coincidence interruption
JPS59111551A (en) Operation recorder
JPS6049447A (en) State analyzing system using microprogram
JPS62114046A (en) Access control system
JPH04332050A (en) Debugger to be restarted from interrupted point at the time of restarting
JP2001265619A (en) Data trace method
JPH06161832A (en) Trace controller