JPH0635738A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0635738A
JPH0635738A JP4186419A JP18641992A JPH0635738A JP H0635738 A JPH0635738 A JP H0635738A JP 4186419 A JP4186419 A JP 4186419A JP 18641992 A JP18641992 A JP 18641992A JP H0635738 A JPH0635738 A JP H0635738A
Authority
JP
Japan
Prior art keywords
retry
processor
monitoring timer
diagnostic
control unit
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.)
Withdrawn
Application number
JP4186419A
Other languages
Japanese (ja)
Inventor
Seiki Sakai
清貴 酒井
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
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 filed Critical NEC Corp
Priority to JP4186419A priority Critical patent/JPH0635738A/en
Publication of JPH0635738A publication Critical patent/JPH0635738A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To improve the overhead of a diagnostic device by easily monitoring the retry of a processor by the diagnostic device by using a hardware. CONSTITUTION:A diagnostic device 1 is equipped with a diagnostic bus control part 6 which sets and starts a retry monitoring timer 3 of a processor 2 through diagnostic bus control parts 6 and 5, and an interruption processing part 8 which operates an interruption processing from the retry monitoring timer 3. And also, a microcommand execution control part 4 of the processor 2 is equipped with a function which stops the retry monitoring timer 3, and a clock control part 7 stops the clock of the processor 2 when the retry monitoring timer 3 is time-out.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ処理装置、特に診
断装置及びプロセッサからなり、プロセッサの障害発生
時に診断装置がプロセッサの再試行を起動する手段を有
することによって、障害を検出したフェーズでの実行命
令の再試行を行うデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention comprises a data processing device, and more particularly, a diagnostic device and a processor. The diagnostic device has means for activating a retry of the processor when a fault occurs in the processor. The present invention relates to a data processing device that retries execution instructions.

【0002】[0002]

【従来の技術】従来のこの種のデータ処理装置は、プロ
セッサの再試行時の監視に関しては全て診断装置のファ
ームウェアによって実現されていた。
2. Description of the Related Art In a conventional data processing apparatus of this type, the monitoring of the processor when it is retried is realized by the firmware of the diagnostic apparatus.

【0003】[0003]

【発明が解決しようとする課題】この従来のデータ処理
装置では、診断装置のファームウェアによってプロセッ
サの再試行の監視を行っていたため、診断装置は再試行
を起動したプロセッサを記憶し時間監視を行うプロセス
を、複数のプロセッサに対して用意しなければならなか
ったため複雑なプログラムになったり、また再試行の監
視を行っている間のオーバーヘッドによりその間の診断
装置の性能が問題となることがあった。
In this conventional data processing device, since the processor retry is monitored by the firmware of the diagnostic device, the diagnostic device stores the processor that initiated the retry and monitors the time. Had to be prepared for a plurality of processors, resulting in a complicated program, and the overhead of the monitoring of the retry sometimes caused a problem in the performance of the diagnostic device.

【0004】[0004]

【課題を解決するための手段】本発明の装置は、診断装
置及びプロセッサからなり、前記プロセッサの障害発生
時に前記診断装置が前記プロセッサの再試行を起動する
手段を有することによって、障害を検出したフェーズで
の実行命令の再試行を行うデータ処理装置において、前
記プロセッサが再試行監視タイマーと、前記診断装置に
よる再試行起動時に前記再試行監視タイマーを起動する
手段と、前記再試行成功時に、該プロセッサ中で実行さ
れるマイクロ命令によって前記再試行監視タイマーを停
止する手段と、前記再試行失敗時等前記再試行監視タイ
マーのタイムアウト時に該プロセッサを停止する手段を
有し、前記プロセッサの再試行を監視することを特徴と
する。
The apparatus of the present invention comprises a diagnostic device and a processor, and the fault is detected by the diagnostic device having means for activating the retry of the processor when the fault of the processor occurs. In a data processing device that retries an execution instruction in a phase, the processor has a retry monitoring timer, means for activating the retry monitoring timer when the diagnostic device restarts the retry, and when the retry is successful, A means for stopping the retry monitoring timer by a microinstruction executed in a processor, and means for stopping the processor when the retry monitoring timer times out, such as when the retry fails, are provided. It is characterized by monitoring.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を用いて
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は、本発明の第1の実施例の構成を示
すブロック図である。図1において、診断装置1は、診
断バス制御部6によってプロセッサ2と接続されてお
り、またプロセッサ2からの割り込みを処理する割り込
み処理部8が用意されている。
FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. In FIG. 1, the diagnostic device 1 is connected to the processor 2 by a diagnostic bus control unit 6, and an interrupt processing unit 8 for processing an interrupt from the processor 2 is prepared.

【0007】プロセッサ2のうち、診断装置1の診断バ
ス制御部6と接続される診断バス制御部5は、診断装置
1からの命令によってプロセッサ2中の各制御部に命令
を発行する。マイクロ命令実行制御部4は、再試行監視
終了命令のデコード信号を再試行監視タイマー3に出力
する。
Of the processor 2, the diagnostic bus control unit 5 connected to the diagnostic bus control unit 6 of the diagnostic device 1 issues a command to each control unit in the processor 2 according to a command from the diagnostic device 1. The microinstruction execution control unit 4 outputs the decode signal of the retry monitoring end instruction to the retry monitoring timer 3.

【0008】再試行監視タイマー3は、マイクロ命令実
行制御部4からの再試行監視終了命令デコード信号によ
ってタイムカウントを停止し、タイムアウト発生時に
は、タイムアウト信号をクロック制御部7に出力する。
クロック制御部7は、再試行監視タイマー3からのタイ
ムアウト信号によってプロセッサ2のクロックを停止
し、診断装置1へクロック停止割り込み信号を出力す
る。
The retry monitoring timer 3 stops the time count by the retry monitoring end instruction decode signal from the micro instruction execution control unit 4, and outputs a time-out signal to the clock control unit 7 when a time-out occurs.
The clock controller 7 stops the clock of the processor 2 by the time-out signal from the retry monitoring timer 3 and outputs a clock stop interrupt signal to the diagnostic device 1.

【0009】次に、全体の動作を説明する。診断装置1
は、診断バス制御部6によってプロセッサ2に対して再
試行起動命令を発行する。その際に、診断装置1はプロ
セッサ2が、再試行を起動したことを記憶する。
Next, the overall operation will be described. Diagnostic device 1
Issues a retry activation command to the processor 2 by the diagnostic bus control unit 6. At that time, the diagnostic device 1 stores that the processor 2 has activated the retry.

【0010】プロセッサ2の診断バス制御部5は、再試
行起動命令を受信すると再試行の起動をマイクロ命令実
行制御部4及び再試行監視タイマー3へ送出する。マイ
クロ命令実行制御部4は、診断バス制御部5よりの再試
行起動命令によって再試行を行ない、再試行監視タイマ
ー3はカウント値をリセットしカウントを開始する。
When the diagnostic bus control unit 5 of the processor 2 receives the retry activation command, it sends the activation of the retry to the microinstruction execution control unit 4 and the retry monitoring timer 3. The microinstruction execution control unit 4 retries in response to a retry activation command from the diagnostic bus control unit 5, and the retry monitoring timer 3 resets the count value and starts counting.

【0011】再試行成功時、プロセッサ3はマイクロ命
令再試行監視終了を実行することによって、再試行監視
タイマー3を停止する。再試行失敗時にはプロセッサ2
でマイクロ命令再試行監視終了は実行されず、再試行監
視タイマー3がタイムアウト信号をクロック制御部7に
送ることによって、クロック制御部7はプロセッサ2の
クロックを停止し診断装置1にクロック停止割り込みを
発生する。
Upon successful retry, the processor 3 stops the retry watch timer 3 by executing a microinstruction retry watch end. Processor 2 if retry fails
The microinstruction retry monitoring is not executed, and the retry monitoring timer 3 sends a time-out signal to the clock control unit 7, whereby the clock control unit 7 stops the clock of the processor 2 and issues a clock stop interrupt to the diagnostic device 1. Occur.

【0012】診断装置1は、プロセッサ2からのクロッ
ク停止割り込みの処理で過去に再試行が行われているこ
と認識してプロセッサ2をシステムから切り離す。
The diagnostic device 1 recognizes that a retry has been performed in the past in the processing of the clock stop interrupt from the processor 2, and disconnects the processor 2 from the system.

【0013】図2は、図1における再試行監視タイマー
3の詳細図を示す。再試行監視タイマー3は、タイマー
制御部9、タイマー部10および時間値保持部11で構
成されている。
FIG. 2 shows a detailed view of the retry monitoring timer 3 in FIG. The retry monitoring timer 3 is composed of a timer control unit 9, a timer unit 10 and a time value holding unit 11.

【0014】タイマー制御部9は、診断バス制御部5に
接続され、診断バス制御部5よりの命令によって時間値
保持部11に時間値をセットあるいはタイマー部10の
カウントスタートを行い、マイクロ命令実行制御部4に
よって、タイマー部10のカウント停止を行う。
The timer control unit 9 is connected to the diagnostic bus control unit 5 and sets a time value in the time value holding unit 11 or starts the count of the timer unit 10 according to an instruction from the diagnostic bus control unit 5 to execute a microinstruction. The control unit 4 causes the timer unit 10 to stop counting.

【0015】タイマー部10は、タイマー制御部9によ
るカウントスタート時に時間値保持部11からカウント
値を取り込みカウントを開始し、カウントアウト時にタ
イムアウト信号をクロック制御部7へ出力する。診断装
置1は、プロセッサ2に診断バス制御部6経由でプロセ
ッサ2の再試行監視タイマー3に監視時間のセットを行
った後に再試行を起動する。以上によって監視時間を可
変にすることができる。
The timer unit 10 fetches the count value from the time value holding unit 11 when the timer control unit 9 starts counting and starts counting, and outputs a timeout signal to the clock control unit 7 when counting out. The diagnostic device 1 activates the retry after setting the monitoring time in the retry monitoring timer 3 of the processor 2 in the processor 2 via the diagnostic bus control unit 6. As described above, the monitoring time can be made variable.

【0016】図3は、本発明の第2の実施例を示すブロ
ック図である。図1と共通の構成要素には共通の参照番
号を付している。本実施例では、再試行監視タイマー3
からクロック制御部7へのタイムアウト信号を、診断バ
ス制御部5にも供給し、診断装置1が診断バス制御部6
及び診断バス制御部5を経由することによって再試行監
視タイマー3のタイムアウト信号を読み出すことができ
るようにしてある。
FIG. 3 is a block diagram showing a second embodiment of the present invention. The same components as those in FIG. 1 are designated by the same reference numerals. In this embodiment, the retry monitoring timer 3
From the clock control unit 7 to the diagnostic bus control unit 5 so that the diagnostic device 1 can detect the time.
Also, the time-out signal of the retry monitoring timer 3 can be read out via the diagnostic bus control unit 5.

【0017】本実施例では、診断装置1は、プロセッサ
2に再試行起動命令を発行する際、第1の実施例におけ
るプロセッサ2の再起動の記憶は行わない。再試行起動
後クロック制御部7が診断装置1に対してクロック停止
割り込みを発生するまでの動作は、第1の実施例での説
明と同様である。診断装置1は、プロセッサ2のクロッ
ク制御部7によるクロック停止割り込みの処理で、診断
バス制御部及び診断バス制御部5経由で再試行監視タイ
マー3とタイムアウト信号を読みだし、タイムアウトが
発生しているときにプロセッサ2をシステムから切り離
す。
In this embodiment, the diagnostic device 1 does not store the restart of the processor 2 in the first embodiment when issuing the retry start instruction to the processor 2. The operation after the retry activation until the clock control unit 7 generates the clock stop interrupt to the diagnostic device 1 is the same as that described in the first embodiment. The diagnostic device 1 reads the retry monitoring timer 3 and the timeout signal via the diagnostic bus control unit and the diagnostic bus control unit 5 in the processing of the clock stop interrupt by the clock control unit 7 of the processor 2, and the timeout has occurred. Sometimes processor 2 is disconnected from the system.

【0018】図4は本発明の第3の実施例を示すブロッ
ク図である。本実施例においても、図1と共通の構成要
素には共通な参照番号を付している。本実施例では、再
試行監視タイマー3からクロック制御部7へのタイムア
ウト信号を診断装置1への割り込み信号としている。
FIG. 4 is a block diagram showing a third embodiment of the present invention. Also in the present embodiment, common reference numerals are given to constituent elements common to FIG. In this embodiment, the timeout signal from the retry monitoring timer 3 to the clock controller 7 is used as the interrupt signal to the diagnostic device 1.

【0019】また、本実施例においても、診断装置1
は、プロセッサ2に再試行起動命令を発行する際第1の
実施例におけるようなプロセッサ2に再起動の記憶は行
わない。再試行起動後、再試行監視タイマー3がタイム
アウトしタイムアウト信号をクロック制御部7に送るこ
とによって、クロック制御部7はプロセッサ2のクロッ
クを停止するまでの動作は、第1の実施例での説明と同
様である。診断装置1は、再試行監視タイマー3のタイ
ウアウト信号を割り込み処理部8に受信し、割り込み要
因によって再試行の失敗を認識しプロセッサ2をシステ
ムから切り離す。
Also in this embodiment, the diagnostic device 1
Does not store the restart in the processor 2 as in the first embodiment when issuing the restart start instruction to the processor 2. After the retry activation, the retry monitoring timer 3 times out and sends a time-out signal to the clock control unit 7, so that the operation until the clock control unit 7 stops the clock of the processor 2 will be described in the first embodiment. Is the same as. The diagnostic apparatus 1 receives the timeout signal of the retry monitoring timer 3 in the interrupt processing unit 8, recognizes the retry failure due to the interrupt factor, and disconnects the processor 2 from the system.

【0020】[0020]

【発明の効果】以上説明したような構成の結果、本発明
は、診断装置による再試行の監視を簡単化することがで
き、複数プロセッサであってもオーバーヘッドを無くし
性能を改善し、プロセッサ毎の時間値を可変にするなど
診断装置に負担を掛けること無くきめ細かい監視も可能
となる。
As a result of the configuration as described above, the present invention can simplify the monitoring of retries by the diagnostic device, eliminate the overhead even with a plurality of processors, improve the performance, and improve the performance of each processor. Detailed monitoring is possible without burdening the diagnostic device by changing the time value.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】図1における再試行監視タイマーの詳細図であ
る。
FIG. 2 is a detailed diagram of a retry monitoring timer in FIG.

【図3】本発明の第2の実施例のブロック図である。FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】本発明の第3の実施例のブロック図である。FIG. 4 is a block diagram of a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 診断装置 2 プロセッサ 3 再試行監視タイマー 4 マイクロ命令実行制御部 5 診断バス制御部 6 診断バス制御部 7 クロック制御部 8 割り込み処理部 9 タイマー制御部 10 タイマー部 11 時間値保持部 DESCRIPTION OF SYMBOLS 1 diagnostic device 2 processor 3 retry monitoring timer 4 micro instruction execution control unit 5 diagnostic bus control unit 6 diagnostic bus control unit 7 clock control unit 8 interrupt processing unit 9 timer control unit 10 timer unit 11 time value holding unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 診断装置及びプロセッサからなり、前記
プロセッサの障害発生時に前記診断装置が前記プロセッ
サの再試行を起動する手段を有することによって、障害
を検出したフェーズでの実行命令の再試行を行うデータ
処理装置において、 前記プロセッサが再試行監視タイマーと、前記診断装置
による再試行起動時に前記再試行監視タイマーを起動す
る手段と、前記再試行成功時に、該プロセッサ中で実行
されるマイクロ命令によって前記再試行監視タイマーを
停止する手段と、前記再試行失敗時等前記再試行監視タ
イマーのタイムアウト時に該プロセッサを停止する手段
を有し、前記プロセッサの再試行を監視することを特徴
とするデータ処理装置。
1. A diagnostic device and a processor, wherein the diagnostic device has means for activating a retry of the processor when a fault occurs in the processor, thereby retrying an execution instruction in a phase in which a fault is detected. In the data processing device, the processor includes a retry monitoring timer, a means for starting the retry monitoring timer when the diagnostic device restarts the retry, and a micro instruction executed in the processor when the retry is successful. A data processing device comprising means for stopping a retry monitoring timer and means for stopping the processor when the retry monitoring timer times out, such as when the retry fails, and for monitoring the retry of the processor. .
【請求項2】 前記診断装置が前記再試行監視タイマー
に任意の値をセットする手段を有すること特徴とする請
求項1記載のデータ処理装置。
2. The data processing device according to claim 1, wherein the diagnostic device has means for setting an arbitrary value in the retry monitoring timer.
【請求項3】 前記再試行監視タイマーのタイムアウト
を前記診断装置が読み出す手段を有することを特徴とす
る請求項1記載のデータ処理装置。
3. The data processing apparatus according to claim 1, further comprising means for the diagnostic apparatus to read out the timeout of the retry monitoring timer.
【請求項4】 前記再試行監視タイマーのタイムアウト
を前記診断装置への割り込みとなる手段を有することを
特徴とする請求項1記載のデータ処理装置。
4. The data processing apparatus according to claim 1, further comprising means for interrupting the timeout of the retry monitoring timer to the diagnostic apparatus.
JP4186419A 1992-07-14 1992-07-14 Data processor Withdrawn JPH0635738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4186419A JPH0635738A (en) 1992-07-14 1992-07-14 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4186419A JPH0635738A (en) 1992-07-14 1992-07-14 Data processor

Publications (1)

Publication Number Publication Date
JPH0635738A true JPH0635738A (en) 1994-02-10

Family

ID=16188100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4186419A Withdrawn JPH0635738A (en) 1992-07-14 1992-07-14 Data processor

Country Status (1)

Country Link
JP (1) JPH0635738A (en)

Similar Documents

Publication Publication Date Title
KR930022195A (en) Microprocessor with Run / Stop Pins to Access Idle Mode
JPH0635738A (en) Data processor
JPH02121047A (en) Input/output control system
JPS6389941A (en) Monitor and control equipment for microprocessor applied equipment
JPH0659941A (en) Information processor
JPH05282167A (en) Method for processing fault
JPH0744276A (en) Information processor
JPH02114364A (en) Abnormality processing system in multiprocessor system
JPS6249426A (en) Automatic operation control device
JPS61253551A (en) Rising system for multi-processor system
JPS6210718A (en) Device ready synchronous processing system
JPH0149975B2 (en)
JP2002244885A (en) Computer system monitoring system
JP2725107B2 (en) Interrupt device
JPH0248766A (en) Processor interface controlling system
JPS62123531A (en) Cpu supervisory unit
JPH04305758A (en) Information processor
JPH0353345A (en) Controller with automatic self-diagnostic function
JPH0272457A (en) Data transfer device
JPH0535460B2 (en)
JPH033041A (en) Time-out monitoring circuit
JPH02129744A (en) Data transfer equipment
JPS62245456A (en) Time monitor and control system
JPS5935250A (en) Program controller
JPH0830490A (en) Monitoring method for starting of plural programs

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005