JPH0365735A - Vicarious execution system for diagnosis processing - Google Patents

Vicarious execution system for diagnosis processing

Info

Publication number
JPH0365735A
JPH0365735A JP1201726A JP20172689A JPH0365735A JP H0365735 A JPH0365735 A JP H0365735A JP 1201726 A JP1201726 A JP 1201726A JP 20172689 A JP20172689 A JP 20172689A JP H0365735 A JPH0365735 A JP H0365735A
Authority
JP
Japan
Prior art keywords
microprogram
processing unit
central processing
diagnostic
diagnosis
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
JP1201726A
Other languages
Japanese (ja)
Inventor
Hiromichi Aoki
宏道 青木
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP1201726A priority Critical patent/JPH0365735A/en
Publication of JPH0365735A publication Critical patent/JPH0365735A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To improve the executive ability of diagnosis processing itself by providing a central processing unit with a diagnosis processing microprogram, and making this microprogram capable of being controlled from a diagnosis device, and executing vicariously a part of the diagnosis processing by using processing capacity of the central processing unit by the microprogram. CONSTITUTION:The central processing unit 2 operated by microprogram control and the diagnosis device 1 to execute the confirmation processing of the normality of a system constitute a part of this system. An address register 10 to hold a microprogram execution address and an address data setting means for setting data from the diagnosis device 1 in the register 10 are provided. Further, a start instructing means to start the execution of the microprogram of the central processing unit 2 from the set execution address 10 and the microprogram 20 set in the central processing unit 2 so as to execute the diagnosis processing are provided, and the central processing unit 2 executes vicariously a part of the diagnosis processing on the basis of the microprogram according to the instruction of the diagnosis device 1. Thus, the diagnosis processing capacilty is improved, and processing efficiency is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置の診断処理代行方式に関し、特に
診断装置以外のユニットに診断処理の一部を実行させる
診断処理代行方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a diagnostic processing proxy method for an information processing device, and particularly to a diagnostic processing proxy method in which a unit other than the diagnostic device executes a part of the diagnostic processing.

〔従来の技術〕[Conventional technology]

従来、システムの正常性を確認するための診断処理とシ
ステムの動作開始以前の初期設定は、システム内の各プ
ロセッサがシステムとしての動作開始以前の自系内初期
設定ルーチンで自己診断及び初期設定する以外は2すべ
て診断装置という特定のユニットが内部プロセッサを動
作させることにより、実行するのが通常の方法であった
Conventionally, diagnostic processing to confirm the system's normality and initial settings before the system starts operating are performed by each processor in the system in its own system initialization routine before the system starts operating. The usual method for all cases other than 2 was to be carried out by a specific unit called a diagnostic device operating an internal processor.

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

したがって、機能向上又は性能向上のためにシステムの
規模を大きくするとき、診断ユニットが行なう診断処理
領域もそれにともなって拡大する。このため診断装置の
実行性能がある一定の能力に限られている時には、シス
テム立上げの際の診断プロセスに要する時間は、システ
ムの規模に相対して長くなる。
Therefore, when the scale of the system is increased to improve functionality or performance, the diagnostic processing area performed by the diagnostic unit also expands accordingly. Therefore, when the execution performance of the diagnostic device is limited to a certain level of performance, the time required for the diagnostic process at system startup becomes long relative to the scale of the system.

これを解決するためには、診断装置の性能向上を計るか
又は診断処理の最適化もしくは診断処理量の削減を計る
必要がある。しかし、診断装置の性能向上を実現するに
は診断装置自体の構成の見直しやその設計のための経費
と時間が必要であり、診断装置の診断処理量を削減する
ことは診断評価が行なわれない部分を生み、これを補な
うためには各被診断側装置の自己診断機能を強化する必
要が出てくる。
In order to solve this problem, it is necessary to improve the performance of the diagnostic device, optimize the diagnostic processing, or reduce the amount of diagnostic processing. However, in order to improve the performance of a diagnostic device, it is necessary to review the configuration of the diagnostic device itself and spend money and time for its design. In order to compensate for this, it becomes necessary to strengthen the self-diagnosis function of each device to be diagnosed.

本発明の目的は上述の点に鑑み、新たに診断装置の性能
向上を計らずに診断処理自体の実行能力を向上させる方
式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide a method for improving the execution ability of diagnostic processing itself without newly trying to improve the performance of the diagnostic device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の診断処理代行方式はマイクロプログラム制御で
動作する中央処理装置とシステムの正常性を確認する診
断処理を行なう診断装置とをその構成の一部とする情報
処理装置において、マイクロプログラム実行アドレスを
保持する前記中央処理装置内マイクロプログラム実行ア
ドレスレジスタと、前記診断装置から該実行アドレスレ
ジスタにデータをセットするためのアドレスデータセッ
ト手段と、セットした実行アドレスから前記中央処理装
置のマイクロプログラムの実行を開始させるための開始
指示手段と、診断処理を実行するべく上記中央処理装置
内に設定されたマイクロプログラムとを備え、診断装置
の指示により中央処理装置が前記マイクロプログラムに
基づき診断処理の一部を代行して構成される。
The diagnostic processing proxy method of the present invention is used in an information processing device that includes a central processing unit that operates under microprogram control and a diagnostic device that performs diagnostic processing to confirm the normality of the system. a microprogram execution address register in the central processing unit for holding; address data setting means for setting data from the diagnostic device to the execution address register; and execution of the microprogram in the central processing unit from the set execution address. The central processing unit is provided with a start instruction means for starting the diagnostic processing, and a microprogram set in the central processing unit to execute the diagnostic processing, and the central processing unit executes a part of the diagnostic processing based on the microprogram according to an instruction from the diagnostic device. Constructed on your behalf.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

図中、1は診断装置、2は中央処理装置、10は次に実
行するマイクロプログラムのアドレスを格納するための
アドレスレジスタ、20はマイクロプログラムが格納さ
れるコントロールメモリ、3oはアドレッシングされて
コントロールメモリ20から出力されたマイクロプログ
ラムをセットするためのデータレジスタ、40はデータ
レジスタ30にセットされたマイクロプログラムの内容
をデコードするためのデコーダ、50はこのマイクロプ
ログラム実行シーケンスを制御するための制御部をそれ
ぞれ表わす。又、16は中央処理装置2にソフトウェア
命令の実行や割込受付処理の抑止を指示するための抑止
モード指示用の信号線、17はアドレスレジスタ10が
らマイクロプログラムの実行を開始させることを指示す
るスタート指示用の信号線、19はアドレスレジスタ1
0にセットするためにアドレスデータを送る複数本を1
組とするデータ線、18はデータ線19上のデータをア
ドレスレジスタ10にセットすることを指示するための
セットストローブ用の信号線をそれぞれ表わす。
In the figure, 1 is a diagnostic device, 2 is a central processing unit, 10 is an address register for storing the address of the microprogram to be executed next, 20 is a control memory in which the microprogram is stored, and 3o is an addressed control memory. 20 is a data register for setting the microprogram output from 20; 40 is a decoder for decoding the contents of the microprogram set in the data register 30; 50 is a control unit for controlling this microprogram execution sequence. Representing each. Further, 16 is a signal line for instructing a suppression mode for instructing the central processing unit 2 to execute software instructions and suppressing interrupt reception processing, and 17 is a signal line for instructing the address register 10 to start executing a microprogram. Signal line for start instruction, 19 is address register 1
Set multiple lines of address data to 1 to set to 0.
A set of data lines 18 represents a set strobe signal line for instructing to set the data on the data line 19 in the address register 10, respectively.

診断装置1はまず抑止モード指示用の信号線16をアク
デイプにすることによって、この診断用インターフェイ
スによる指示以外のソフト命令実行や割込受付を行なわ
ない様に指示する。この時、中央処理装置2の制御部5
0はこの信号によって実行処理系(ソフト命令実行や割
込受付は処理など)の機能を停止させる。次に診断装置
1は、アドレスセット用のデータ線19上にコントロー
ルメモリ20に格納されている実行するべき診断用マイ
クロプログラムの先頭アドレスを送出する。その後、ア
ドレス値セットストローブ用の信号線18上にセットス
トローブパルスを出力することによって、アドレスレジ
スタ10に診断開始アドレスをセットする(アドレスデ
ータセット手段〉。この時、中央処理装置2内において
、アドレスレジスタ10の出力はアドレス線11を通し
てコントロールメモリ20に送られ、対応するマイクロ
プログラムデータがデータ線12上に出力される。
The diagnostic device 1 first activates the signal line 16 for inhibit mode instruction to instruct not to execute any software commands other than those instructed by this diagnostic interface or to accept interrupts. At this time, the control unit 5 of the central processing unit 2
0 causes this signal to stop the functions of the execution processing system (execution of software instructions, processing of interrupt reception, etc.). Next, the diagnostic device 1 sends the start address of the diagnostic microprogram to be executed stored in the control memory 20 onto the address set data line 19. Thereafter, a diagnosis start address is set in the address register 10 by outputting a set strobe pulse onto the address value set strobe signal line 18 (address data setting means). The output of register 10 is sent to control memory 20 through address line 11, and the corresponding microprogram data is output on data line 12.

さらに診断装置1は実行開始指示用の信号線17をアク
ティブにすることによって中央処理装置2内の制御部5
0に、アドレスレジスタ1oに格納されているアドレス
値からマイクロプログラムの実行を開始することを指示
するく開始指示手段)。中央処理装置2内ではすでにセ
ットされたアドレス値に対応するマイクロプログラムデ
ータがデータ線12上に出力されているので、制御部5
0は信号線21上にセットパルスを発生させることによ
って、このマイクロプログラムデータをデータレジスタ
30にセットする。データレジスタ30にセットされた
マイクロプログラムは、データ線13を通してデコーダ
40に送られ、デコードされて各種実行制御が行なわれ
る。
Furthermore, the diagnostic device 1 activates the signal line 17 for instructing the start of execution, so that the control unit 5 in the central processing unit 2
0, the start instruction means (start instruction means) instructs to start execution of the microprogram from the address value stored in the address register 1o. Since the microprogram data corresponding to the address value already set in the central processing unit 2 has been output onto the data line 12, the control unit 5
0 sets this microprogram data in the data register 30 by generating a set pulse on the signal line 21. The microprogram set in the data register 30 is sent to the decoder 40 through the data line 13, where it is decoded and various execution controls are performed.

診断マイクロプログラムの実行ルーチンの最後では、特
定の終了指示コマンドが実行されることによってデコー
ド40から信号線14を通して実行ルーチンの終了報告
が制御部50に知らされる。制御部50はこの信号によ
って実行ルーチンの終了を認識し、終了報告用の信号線
15上にパルス信号を発生することによって診断装置2
に診断処理終了を通知する。
At the end of the execution routine of the diagnostic microprogram, a specific end instruction command is executed, and the decode 40 notifies the control unit 50 of the completion of the execution routine through the signal line 14. The control unit 50 recognizes the end of the execution routine based on this signal, and generates a pulse signal on the signal line 15 for reporting completion, thereby informing the diagnostic device 2.
Notify the end of diagnostic processing.

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

以上説明したように本発明は、中央処理装置内に診断処
理用マイクロプログラムを設け、診断装置からこのマイ
クロプログラムの特定開始アドレスのセット及び実行開
始制御を可能にすることにより中央処理装置のもつ処理
能力を用いて診断処理の一部を代行させることができる
ので、診断処理効率の向上を計ることができるという効
果がある。
As explained above, the present invention provides a microprogram for diagnostic processing in the central processing unit, and enables the diagnostic equipment to set a specific start address and control the execution start of this microprogram. Since the ability can be used to perform part of the diagnostic processing on behalf of the user, there is an effect that the diagnostic processing efficiency can be improved.

また一般に、メモリのリード・ライトや中央処理装置内
のレジスタセットなどの処理は、中央処理装置の処理能
力が診断装置の処理能力を大幅に上回るために、中央処
理装置にそれらの診断処理の一部を代行させることは、
それ自体で診断処理速度の向上につながるが、中央処理
装置が診断処理の一部を代行している時に診断装置は他
の診断処理を実行することも可能であり、中央処理装置
と診断装置とに並列に診断処理を実行させる時、よりい
っそうの診断処理効率の向上を計ることができるという
効果もある。
In addition, in general, processing such as memory read/write and register setting within the central processing unit is performed by the central processing unit, since the processing capacity of the central processing unit greatly exceeds that of the diagnostic equipment. Delegating the department is
This in itself leads to an improvement in the diagnostic processing speed, but when the central processing unit is performing part of the diagnostic processing, the diagnostic device can also execute other diagnostic processing, and the central processing unit and the diagnostic device can Another effect is that when the diagnostic processing is executed in parallel, the diagnostic processing efficiency can be further improved.

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

第1図は本発明の一実施例の構成を示すブロック図。 11.・診断装置、2・・・中央処理装置、10・・・
(マイクロプログラム実行)アドレスレジスタ、20・
・・(マイクロプログラム格納用)コントロールメモリ
、30・・・(マイクロプログラム読出し用)データレ
ジスタ、40・・・(マイクロプログラム)デコーダ、
50・・・(マイクロプログラム実行〉制御部。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. 11.・Diagnostic device, 2...Central processing unit, 10...
(Microprogram execution) address register, 20.
... (for microprogram storage) control memory, 30 ... (for microprogram reading) data register, 40 ... (microprogram) decoder,
50... (Microprogram execution) control unit.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム制御で動作する中央処理装置とシス
テムの正常性を確認する診断処理を行なう診断装置とを
その構成の一部とする情報処理装置において、マイクロ
プログラム実行アドレスを保持する前記中央処理装置内
マイクロプログラム実行アドレスレジスタと、前記診断
装置から該実行アドレスレジスタにデータをセットする
ためのアドレスデータセット手段と、セットした実行ア
ドレスから前記中央処理装置のマイクロプログラムの実
行を開始させるための開始指示手段と、診断処理を実行
するべく上記中央処理装置内に設定されたマイクロプロ
グラムとを備え、診断装置の指示により中央処理装置が
前記マイクロプログラムに基づき診断処理の一部を代行
して成ることを特徴とする診断処理代行方式。
In an information processing device that includes a central processing unit that operates under microprogram control and a diagnostic device that performs diagnostic processing to confirm the normality of the system, a microprocessor in the central processing unit that holds a microprogram execution address a program execution address register; address data setting means for setting data from the diagnostic device to the execution address register; and start instruction means for causing the central processing unit to start executing the microprogram from the set execution address. and a microprogram set in the central processing unit to execute diagnostic processing, and the central processing unit performs part of the diagnostic processing on behalf of the user based on the microprogram according to instructions from the diagnostic device. Diagnosis processing proxy method.
JP1201726A 1989-08-02 1989-08-02 Vicarious execution system for diagnosis processing Pending JPH0365735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1201726A JPH0365735A (en) 1989-08-02 1989-08-02 Vicarious execution system for diagnosis processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1201726A JPH0365735A (en) 1989-08-02 1989-08-02 Vicarious execution system for diagnosis processing

Publications (1)

Publication Number Publication Date
JPH0365735A true JPH0365735A (en) 1991-03-20

Family

ID=16445919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1201726A Pending JPH0365735A (en) 1989-08-02 1989-08-02 Vicarious execution system for diagnosis processing

Country Status (1)

Country Link
JP (1) JPH0365735A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002285972A (en) * 2001-03-26 2002-10-03 Okinawa Kaihatsuchiyou Okinawa Sogo Jimukiyokuchiyou Compressor unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002285972A (en) * 2001-03-26 2002-10-03 Okinawa Kaihatsuchiyou Okinawa Sogo Jimukiyokuchiyou Compressor unit

Similar Documents

Publication Publication Date Title
JP2655615B2 (en) Information processing device
JPH0365735A (en) Vicarious execution system for diagnosis processing
JP3350699B2 (en) Programmable controller
JPS6146552A (en) Information processor
JPS6218932B2 (en)
JP2985244B2 (en) Information processing device
JPS6020771B2 (en) Micro diagnosis method
JPH03111959A (en) External device controller
JPS62212755A (en) Channel controller
JPH02214060A (en) Information processor
JPS626266B2 (en)
JPH0115902B2 (en)
JPS5812052A (en) Information processor
JPS6336304A (en) Programmable controller system
JPS5858632A (en) Controlling method of input/output interface
JPH03113503A (en) Industrial computer
JPH04181321A (en) Microprogram loading system
JPH0727466B2 (en) Service processor Command processing method
JPH04262443A (en) Information processor
JPH07200453A (en) Data processor
JPS6355620A (en) Input/output controller
JPS63209969A (en) Self-diagnostic apparatus of printer
JPH05150976A (en) Microprogram rewriting method in central processing unit
JPH0287227A (en) Data processor
JPH0192846A (en) Testing system for peripheral device