Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0619726B2 - Information processing equipment - Google Patents
[go: Go Back, main page]

JPH0619726B2 - Information processing equipment - Google Patents

Information processing equipment

Info

Publication number
JPH0619726B2
JPH0619726B2 JP59113811A JP11381184A JPH0619726B2 JP H0619726 B2 JPH0619726 B2 JP H0619726B2 JP 59113811 A JP59113811 A JP 59113811A JP 11381184 A JP11381184 A JP 11381184A JP H0619726 B2 JPH0619726 B2 JP H0619726B2
Authority
JP
Japan
Prior art keywords
register
machine error
timer register
pseudo
instruction
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.)
Expired - Fee Related
Application number
JP59113811A
Other languages
Japanese (ja)
Other versions
JPS60258653A (en
Inventor
昭 実宝
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP59113811A priority Critical patent/JPH0619726B2/en
Publication of JPS60258653A publication Critical patent/JPS60258653A/en
Publication of JPH0619726B2 publication Critical patent/JPH0619726B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は,情報処理装置に関し,特にそのデバッグ機
能,特にマシンエラー検出時の障害処理機能の確認をす
るための手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly, to a debugging function of the information processing apparatus, and more particularly, a means for confirming a failure processing function when a machine error is detected.

〔従来技術〕[Prior art]

高性能電子計算機においては,高速演算能力はもちろん
のこと,高い信頼性が要求される。このため,計算機に
はさまざまな障害処理機能が設けられている。例えば, (1)マシンエラー検出による報告機能, (2)マシンエラー報告による障害情報の収集機能, (3)リトライ可障害に関するリトライ機能, (4)固定障害発生によるプロセッサリリーフ機能, (5)リトライ不可/リトライ失敗障害に関する障害プロ
セッサ切り離し機能, などがある。そして,これらの機能が正常に動作するこ
とにより,計算機システムにおける障害発生時の被害を
見かけ上全くなくすか,あるいは最小にすることが可能
である。これらの障害処理機能は複雑であり,計算機の
ハードウェア,ファームウェア,オペレーティングシス
テムにおいて機能分担され実現されている。従って,こ
れらの障害処理機能が正しく動作するかどうかは,計算
機システムの信頼性に関する重要な問題になっている。
通常,これらの障害処理機能の診断には,計算機内部で
擬似的にマシンエラーを発生させ,その時正常に動作す
るかどうかを調べる方法が採用されている。
High-performance electronic computers require high reliability as well as high-speed computing capability. For this reason, computers have various fault handling functions. For example, (1) Machine error detection reporting function, (2) Machine error report failure information collection function, (3) Retryable retry function, (4) Fixed failure processor relief function, (5) Retry Not possible / retry failure There is a function to isolate the failed processor related to failure. The normal operation of these functions makes it possible to completely eliminate or minimize damage when a failure occurs in the computer system. These fault handling functions are complicated and are implemented by sharing the functions of computer hardware, firmware, and operating systems. Therefore, whether or not these fault handling functions operate correctly is an important issue regarding the reliability of the computer system.
Usually, in order to diagnose these fault handling functions, a method is adopted in which a pseudo machine error is generated inside the computer and it is checked whether the machine operates normally at that time.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来,この種の情報処理装置においては,計算機のバッ
クパネルに出ている信号ピンを人手によりクランプする
ことにより,擬似的なマシンエラーの発生をプログラム
実行中非同期に生じさせていた。このように,人手によ
りクランプするので手間がかかり,間違いを生じ易く,
擬似障害の発生を自動的にできないという欠点がある。
また,別な欠点として,擬似障害をプログラム実行中非
同期に生じさせるため,再現性がない。
Conventionally, in this type of information processing apparatus, a signal pin on the back panel of a computer is manually clamped to cause a pseudo machine error to occur asynchronously during program execution. In this way, since it is manually clamped, it takes time and effort, and mistakes are likely to occur.
There is a drawback in that it is not possible to automatically generate a pseudo fault.
Another drawback is that it causes a pseudo failure asynchronously during program execution, and thus has no reproducibility.

これらの欠点のため,ハードウェア/ファームウェア/
オペレーティングシステムにより実現されている障害処
理機能の診断を行いにくく,設計ミスが見のがされやす
くなるという要因にもなっている。また,最近のテクノ
ロジーの進歩により,バックパネルのピンそのものがケ
ーブルで接続されてしまい,従来の計算機のように,バ
ックパネルのピンをクランプする方法が不可能になると
いう欠点もある。
Due to these shortcomings, hardware / firmware /
It is also difficult to diagnose the fault handling function realized by the operating system, which is also a factor that makes it easier to see design mistakes. Also, due to the recent technological advances, the back panel pins themselves are connected by a cable, which makes it impossible to clamp the back panel pins like a conventional computer.

本発明は,擬似障害の発生をプログラムの中で指定した
任意の時期に生じさせることにより,擬似障害発生のプ
ログラム化,自動化を容易にし,ハードウェア,ファー
ムウェア,オペレーティングシステムにより機能分担さ
れ実現されている障害処理機能の正常性確認を効果的に
実施できる情報処理装置を提供しようとするものであ
る。
INDUSTRIAL APPLICABILITY The present invention facilitates programming and automation of occurrence of a pseudo fault by causing the occurrence of the pseudo fault at an arbitrary time specified in a program, and is realized by hardware, firmware, and operating system sharing functions. The present invention aims to provide an information processing device which can effectively confirm the normality of the failure processing function.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は,データ処理を行う情報処理装置において,プ
ログラム命令によりマシンエラーの発生を指示する制御
レジスタと,時間間隔を計数する計数手段と,プログラ
ム命令により値を設定することができ,前記計数手段に
より計数されるタイマレジスタと,該タイマレジスタの
内容があらかじめ定められた値になったことを検出する
検出手段と,プログラム命令の実行に伴い,前記タイマ
レジスタがあらかじめ定められた値になったことを検出
した時,前記制御レジスタによりマシンエラーの発生を
指示されている時には,マシンエラーの報告を生じさせ
るマシンエラー制御回路とを含むことを特徴とする。
According to the present invention, in an information processing device for processing data, a control register for instructing the occurrence of a machine error by a program instruction, a counting means for counting a time interval, and a value can be set by a program instruction. A timer register that is counted by, a detection unit that detects that the content of the timer register has reached a predetermined value, and that the timer register has reached a predetermined value as the program instruction is executed. And a machine error control circuit for generating a machine error report when a machine error is instructed by the control register.

〔作用〕[Action]

本発明においては,プログラム命令により擬似障害モー
ドを設定し,またプログラム命令によりタイマレジスタ
にデータセット後,このタイマレジスタがあらかじめ定
められた値になった時,擬似的にマシンエラーを発生さ
せて障害処理機能の正常性確認を行う。
According to the present invention, the pseudo failure mode is set by the program instruction, and when the timer register reaches a predetermined value after the data is set in the timer register by the program instruction, a pseudo machine error is generated to cause a failure. Check the normality of processing functions.

〔実施例〕 次に,図面を参照して本発明の実施例を説明する。[Embodiment] Next, an embodiment of the present invention will be described with reference to the drawings.

本発明の一実施例を示す第1図において,情報処置装置
は,処理されるべきプログラムが格納されている主記憶
装置1と,この主記憶装置1から読み出したプログラム
命令を解読して実行する演算制御回路2(次にアクセス
すべき命令アドレスも生成する)とを備え,擬似障害発
生手段として,プログラム命令によりマシンエラーの発
生を制御する制御レジスタ3と,マシンエラー発生制御
回路4を有している。更に,擬似障害の発生タイミング
を設定する手段として,タイマレジスタ5とこのタイマ
レジスタ5があらかじめ定められた値になったことを検
出するタイマレジスタオールゼロ検出回路6と計数回路
7及び選択回路8とを有している。
In FIG. 1 showing an embodiment of the present invention, an information processing apparatus decodes and executes a main memory 1 in which a program to be processed is stored and a program instruction read from the main memory 1. An arithmetic control circuit 2 (which also generates an instruction address to be accessed next) is provided, and a control register 3 for controlling the occurrence of a machine error by a program instruction and a machine error occurrence control circuit 4 are provided as a pseudo fault occurrence means. ing. Further, as means for setting the occurrence timing of the pseudo fault, a timer register 5, a timer register all-zero detection circuit 6 for detecting that the timer register 5 has reached a predetermined value, a counting circuit 7 and a selection circuit 8 are provided. Have

選択回路8では,演算制御回路2からのカウンタセット
指示線24の指示に従い、カウンタデータ線25の値を
48ビットのタイマレジスタ5にセットする。計数回路
7では、タイマレジスタ5の内容を1マシンクロック単
位にマイナス1ずつカウントダウンする。タイマレジス
タオールゼロ検出回路6では、タイマレジスタ5の内容
に相当するカウントダウン(タイマレジスタオールゼ
ロ)が行われたことを検知すると擬似障害を発生させる
べくオールゼロ検出信号を出力する。マシンエラー発生
制御回路4では、オールゼロ検出信号28が入力された
時、制御レジスタ3からの出力信号29が有効になって
いると、マシンエラーの報告を生ぜしめる。なお、制御
レジスタ3には、信号線26を通して擬似障害発生モー
ドを有効にするか無効にするかの内容が設定され、有効
に設定されていると出力信号29が有効になる。
The selection circuit 8 sets the value of the counter data line 25 in the 48-bit timer register 5 according to the instruction of the counter set instruction line 24 from the arithmetic control circuit 2. The counting circuit 7 counts down the contents of the timer register 5 by 1 in units of one machine clock. When the timer register all-zero detection circuit 6 detects that the countdown (timer register all-zero) corresponding to the contents of the timer register 5 is performed, it outputs an all-zero detection signal so as to generate a pseudo fault. In the machine error generation control circuit 4, when the output signal 29 from the control register 3 is valid when the all-zero detection signal 28 is input, a machine error is reported. It should be noted that the control register 3 is set via the signal line 26 as to whether the pseudo failure occurrence mode is enabled or disabled, and the output signal 29 is enabled when it is enabled.

9は障害処理装置で、マシンエラー発生制御回路4から
のマシンエラー報告信号27によりさまざまな障害処理
を実施する。
A failure processing device 9 executes various kinds of failure processing in response to the machine error report signal 27 from the machine error occurrence control circuit 4.

以上のようにして、本発明では、後述するプログラム命
令により擬似障害の発生モードが指示され、かつ前述し
た擬似障害の発生タイミングを設定する手段によりタイ
マレジスタ5のアンダーフロー(タイマレジスタオール
ゼロ)が検出された時に擬似障害(マシンエラー)が発
生される。
As described above, in the present invention, the pseudo failure occurrence mode is instructed by the program instruction described later, and the underflow of the timer register 5 (timer register all zero) is detected by the means for setting the occurrence timing of the pseudo failure described above. When this happens, a pseudo fault (machine error) occurs.

通常動作時、演算制御回路2は、主記憶装置1に対して
主記憶リクエストアドレス信号23と主記憶リクエスト
信号22を用いてアクセスし、主記憶リードパス21を
用いて読み出したプログラム命令を解読して実行してい
る。主記憶装置1への演算制御回路2からのライト動作
は、主記憶リクエストアドレス信号23と主記憶リクエ
スト信号22および主記憶ライトパス20を用いて実行
されている。タイマレジスタ5は計数回路7と共に48
ビットのカウンタとして機能し、1マシンクロック毎に
1つずつカウントダウンし,アンダーフローしても再び
最大値からカウントを始める。タイマレジスタ5は,プ
ロセッサの初期化によって0クリアされ,その後は計数
回路7で1マシンサイクル毎に1つずつカウントダウン
される。タイマレジスタ5の内容がアンダーフローする
と,タイマレジスタオールゼロ検出回路6によってオー
ルゼロ検出信号28が出力される。マシンエラー発生制御
回路4は,オールゼロ検出信号28が入力されると,制御
レジスタ3からの出力信号29が有効になっているかどう
かを判定する。通常運用中は,制御レジスタ3は出力信
号29を有効にするように設定されていないので,マシ
ンエラー報告信号27は出力されず,アンダーフロー後再
び最大値になったタイマレジスタ5は,再度計数回路7
で1マシンサイクル毎に1つずつカウントダウンされ
る。
During normal operation, the arithmetic control circuit 2 accesses the main memory 1 using the main memory request address signal 23 and the main memory request signal 22 and decodes the read program instruction using the main memory read path 21. Running. The write operation from the arithmetic control circuit 2 to the main memory 1 is executed using the main memory request address signal 23, the main memory request signal 22 and the main memory write path 20. The timer register 5 and the counting circuit 7 together 48
It functions as a bit counter and counts down by one every one machine clock, and starts counting again from the maximum value even if an underflow occurs. The timer register 5 is cleared to 0 by the initialization of the processor, and thereafter, the counting circuit 7 counts down by one every machine cycle. When the contents of the timer register 5 underflow, the timer register all-zero detection circuit 6 outputs the all-zero detection signal 28. When the all-zero detection signal 28 is input, the machine error generation control circuit 4 determines whether the output signal 29 from the control register 3 is valid. During normal operation, the control register 3 is not set to enable the output signal 29, so the machine error report signal 27 is not output, and the timer register 5 that has reached the maximum value again after underflow is counted again. Circuit 7
Then, one is counted down every machine cycle.

次に,擬似障害を実施する時の動作を,第2図,第3図
のプログラムを用いて説明する。
Next, the operation at the time of implementing the pseudo fault will be described with reference to the programs shown in FIGS. 2 and 3.

第2図は擬似障害を設定しようとするプログラムの一例
であり,一連のプログラム命令のうち4つのプログラム
命令をとり出したものである。
FIG. 2 is an example of a program for setting a pseudo fault, in which four program instructions are extracted from a series of program instructions.

1番目のプログラム命令は,Dというレジスタに186600
(H)をロードする命令である。2番目のプログラム命令
は,AというレジスタとBというレジスタの内容をかけ
算して結果をAというレジスタに格納する命令である。
3番目のプログラム命令は,Dというレジスタの内容で
修飾される主記憶装置1のアドレスへ,Aというレジス
タの内容を格納する命令である。4番目のプログラム命
令は,Aというレジスタの内容から,Cというレジスタ
の内容を引算して,結果をAというレジスタの内容に格
納する命令である。A,B,C,Dは汎用レジスタで,
演算制御回路2にあり,前記の各プログラム命令の制御
も演算制御回路2で実施される。本実施例においては,
1番目の命令実施後,48マシンサイクル後に擬似障害を
発生させるものとする。
The first program instruction is 186600 in the register D.
This is an instruction to load (H) . The second program instruction is an instruction to multiply the contents of the register A and the contents of the register B and store the result in the register A.
The third program instruction is an instruction to store the contents of the register A at the address of the main memory 1 modified by the contents of the register D. The fourth program instruction is an instruction for subtracting the content of the register C from the content of the register A and storing the result in the content of the register A. A, B, C, D are general-purpose registers,
The arithmetic control circuit 2 controls the program instructions as described above. In this embodiment,
A pseudo fault shall occur 48 machine cycles after the execution of the first instruction.

第3図は,第2図のプログラムにおいて,1番目の命令
実施後,48マシンサイクル後に擬似障害を発生させるた
めに,擬似障害発生用のプログラム命令を挿入したプロ
グラムを示す。第3図における,6つのプログラム命令
のうち,1番目,4番目,5番目,6番目のプログラム
命令は,第2図における1番目,2番目,3番目,4番
目のプログラム命令と同じで,2番目,3番目のプログ
ラム命令が擬似障害発生用のプログラム命令である。す
なわち,第3図における2番目のプログラム命令は,タ
イマレジスタ5に30(H)という内容をロードする命令で
ある。30(H)というタイマレジスタ5の内容は,あと48
マシンサイクル経過すると,タイマレジスタオールゼロ
検出回路6によりアンダーフローが検出されることを示
している。
FIG. 3 shows a program in which a program instruction for generating a pseudo fault is inserted in order to generate a pseudo fault 48 machine cycles after the execution of the first instruction in the program of FIG. Of the six program instructions in FIG. 3, the first, fourth, fifth, and sixth program instructions are the same as the first, second, third, and fourth program instructions in FIG. The second and third program instructions are pseudo-fault program instructions. That is, the second program instruction in FIG. 3 is an instruction to load the content of 30 (H) into the timer register 5. The contents of timer register 5, which is 30 (H), is 48 more.
It is shown that the underflow is detected by the timer register all-zero detection circuit 6 when the machine cycle has elapsed.

3番目のプログラム命令は制御レジスタ3に対して擬似
障害発生モードを有効、すなわち出力信号29を有効に
するように設定するためのプログラム命令であり,本命
令実施後,タイマレジスタ5がアンダーフローすると,
マシンエラー発生制御回路4によりマシンエラー報告信
号27が出力されることを示す。すなわち計数回路7によ
りタイマレジスタ5の内容がカウントダウンされ,48マ
シンサイクル経過すると,タイマレジスタオールゼロ検
出回路6によりアンダーフローが検出される。アンダー
フローの検出によりタイマレジスタオールゼロ検出信号
28が出力されると,マシンエラー発生制御回路4によ
り,制御レジスタ3からの出力信号29が有効になってい
るかどうか判定される。擬似障害実施時は,プログラム
命令により制御レジスタ3は出力信号29を有効にするよ
うに設定されているので,マシンエラー報告信号27が出
力されて障害処理装置9へ報告され,所定の障害処置が
実施される。
The third program instruction is a program instruction for enabling the control register 3 to enable the pseudo failure generation mode, that is, setting the output signal 29 to be effective. When the timer register 5 underflows after the execution of this instruction. ,
This indicates that the machine error report signal 27 is output by the machine error occurrence control circuit 4. That is, the counter circuit 7 counts down the contents of the timer register 5, and when 48 machine cycles have passed, the timer register all-zero detection circuit 6 detects an underflow. Timer register all-zero detection signal by underflow detection
When 28 is output, the machine error occurrence control circuit 4 determines whether the output signal 29 from the control register 3 is valid. When the pseudo fault is executed, the control register 3 is set by the program instruction so as to enable the output signal 29. Therefore, the machine error report signal 27 is output and reported to the fault processing device 9, and the predetermined fault treatment is performed. Be implemented.

〔発明の効果〕〔The invention's effect〕

本発明は以上説明したように,プログラム命令により擬
似障害モードを設定し,タイマレジスタを設定してあら
かじめプログラムの中で指定した時期にマシンエラーを
発生できるよう構成することにより,擬似障害の自動化
を容易にし,ハードウェア/ファームウェア/オペレー
ティングシステムにより実現されている障害処理機能の
確認を容易にかつ再現可能なようにできるという効果が
ある。
As described above, according to the present invention, the pseudo failure mode is set by the program instruction, and the timer register is set so that the machine error can be generated at the time specified in the program in advance, so that the pseudo failure can be automated. This has the effect of facilitating the verification of the failure processing function realized by the hardware / firmware / operating system, and making it easy and reproducible.

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

第1図は本発明の一実施例のブロック構成図,第2図は
プログラム命令の一例を示した図,第3図は擬似障害を
設定したプログラム命令の一例を示した図。 図中,1は主記憶装置,2は演算制御回路,9は障害処
理装置。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a program instruction, and FIG. 3 is a diagram showing an example of a program instruction in which a pseudo fault is set. In the figure, 1 is a main memory device, 2 is an arithmetic control circuit, and 9 is a failure processing device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プログラム命令によりマシンエラーの発生
を指示する制御レジスタと,計数手段と,プログラム命
令により値を設定することができ,前記計数手段により
計数されるタイマレジスタと,該タイマレジスタの内容
があらかじめ定められた値になったことを検出する手段
と,前記タイマレジスタの内容があらかじめ定められた
値になったことが検出された時,前記制御レジスタによ
りマシンエラーの発生が指示されている時には,マシン
エラーの報告を生じさせるマシンエラー発生制御回路と
を有することを特徴とする情報処理装置。
1. A control register for instructing the occurrence of a machine error by a program instruction, a counting means, a timer register whose value can be set by a program instruction, and a timer register which is counted by the counting means, and the contents of the timer register. Means for detecting that a predetermined value has been reached, and when it is detected that the contents of the timer register have reached a predetermined value, the control register is instructed to generate a machine error. An information processing apparatus having a machine error generation control circuit for generating a machine error report.
JP59113811A 1984-06-05 1984-06-05 Information processing equipment Expired - Fee Related JPH0619726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59113811A JPH0619726B2 (en) 1984-06-05 1984-06-05 Information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59113811A JPH0619726B2 (en) 1984-06-05 1984-06-05 Information processing equipment

Publications (2)

Publication Number Publication Date
JPS60258653A JPS60258653A (en) 1985-12-20
JPH0619726B2 true JPH0619726B2 (en) 1994-03-16

Family

ID=14621644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59113811A Expired - Fee Related JPH0619726B2 (en) 1984-06-05 1984-06-05 Information processing equipment

Country Status (1)

Country Link
JP (1) JPH0619726B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57153354A (en) * 1981-03-19 1982-09-21 Toshiba Corp Electronic computer system
JPS5990151A (en) * 1982-11-12 1984-05-24 Nec Corp Artificial fault test system

Also Published As

Publication number Publication date
JPS60258653A (en) 1985-12-20

Similar Documents

Publication Publication Date Title
JPH0481932A (en) Interruption controller
RU2137182C1 (en) Execution of data processing instruction
EP0461792A2 (en) Master/slave checking system
US4231089A (en) Data processing system with apparatus for correcting microinstruction errors
US3618042A (en) Error detection and instruction reexecution device in a data-processing apparatus
JPH0619726B2 (en) Information processing equipment
JPH0149975B2 (en)
EP0138045A2 (en) Apparatus and method for synchronization of peripheral devices via bus cycle alteration in a microprocessor implemented data processing system
JPS6118045A (en) Detecting system of program runaway
JPH0147818B2 (en)
JP2684966B2 (en) I/O processor debug unit
JP2605440B2 (en) Data processing device
JPS6146535A (en) Pseudo error setting control system
JP2786215B2 (en) Restart processing control method
JPS6051135B2 (en) Instruction word verification method by adding parity bits
JPS6033474Y2 (en) Computer abnormality detection circuit
JPH0432418B2 (en)
JPS60193052A (en) Confirmation system for fault processing function of information processor
JPH02178862A (en) Information processor
JPS61131128A (en) Self-diagnosis system
JPH0314148A (en) Program destruction detection device
JPS62166451A (en) History analyzing device for logical unit
JPS6230656B2 (en)
JPS6148247A (en) Fault detection system of data transfer system
JPS6049344B2 (en) Instruction retry method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees