JPS59114636A - Self-looping processing system of microprogram - Google Patents

Self-looping processing system of microprogram

Info

Publication number
JPS59114636A
JPS59114636A JP57224690A JP22469082A JPS59114636A JP S59114636 A JPS59114636 A JP S59114636A JP 57224690 A JP57224690 A JP 57224690A JP 22469082 A JP22469082 A JP 22469082A JP S59114636 A JPS59114636 A JP S59114636A
Authority
JP
Japan
Prior art keywords
control memory
address
instruction
microprogram
processing
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
JP57224690A
Other languages
Japanese (ja)
Inventor
Hisajiro Sagara
相良 久次郎
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 JP57224690A priority Critical patent/JPS59114636A/en
Publication of JPS59114636A publication Critical patent/JPS59114636A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To detect easily the cause of a fault by holding repeatedly a microinstruction related to generation of the fault in a control memory data register, and executing repeatedly its instruction, when the fault is detected in a result of processing of the microinstruction. CONSTITUTION:An address A(k) is held in an address register 4, a mu-instruction I(k) corresponding to the address A(k) is read out of a control memory 1, set to a data register 2, and the contents of the instruction I(k) are decoded and processed. The following address A(k+1) is described in the mu-instruction I(k), and unless abnormality exists in the processing of the instruction I(k), an error signal generator HWERR outputs ''0'', and the processing is shifted successively to execution of the following instruction, but if a fault is detected, the HWERR outputs ''1'', a switch 5 selects repeatedly the address A(k), and the instruction I(k) is executed repeatedly. In this way, the cause of a fault is detected easily.

Description

【発明の詳細な説明】 囚 発明の技術分野 本発明は、マイクロプログラム・セルフ・ループ化処理
方式、特にマイクロプログラム制御データ処理装置にお
いて、障害発生時に当該障害発生に関連したマイクロ命
令を繰返し実行せしめるよう構成し、例えば障害発生に
対応したマイクロ命令を実行する間の各部の信号波形を
自由に観測できるようにしたマイクロプログラム・セル
フ・ループ化処理方弐罠関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention is directed to a microprogram self-loop processing method, particularly a microprogram controlled data processing device, which repeatedly executes microinstructions related to the occurrence of a fault when a fault occurs. This invention relates to a microprogram self-loop processing method that is configured as such and allows for free observation of signal waveforms of various parts during the execution of a microinstruction corresponding to the occurrence of a failure, for example.

CB)  技術の背景と問題点 マイクロプログラム制御データ処理装置におけるハード
ウェア障害についての発生原因追跡のために、その1つ
の手段として、障害が発生したマイクロプログラム環境
をソースのマイクロプログラムから抽出し、これをルー
プさせつつ信号波形を観測することが行われるoしかし
、上記マイクロプログラム環境を抽出せしめるようにす
る従来の方法の場合には、 (1)尚該抽出されてルーズ化されて実行されている処
理が、上記障害発生時点とは別個の時点であるために、
上記ループ化された処理によって障害が再び発生する可
能性が大きく低下し、障害原因の追跡に役立つ可能性が
比較的低い。
CB) Technical background and problems In order to trace the cause of a hardware failure in a microprogram-controlled data processing device, one method is to extract the microprogram environment in which the failure occurred from the source microprogram, and extract it from the source microprogram. However, in the case of the conventional method of extracting the microprogram environment, (1) the microprogram environment is extracted, loosened, and executed. Because the processing is at a different point from the time when the above failure occurred,
The looped processing greatly reduces the possibility that the failure will occur again, and is relatively less likely to be useful in tracing the cause of the failure.

(11)  また上記マイクロプログラム環境をつくっ
てはループ処理を行わせることから、ループ処理に新ス
テップを必要とし、このために信号波形を観測するに当
って、障害に対応している信号波形のみを正しく効率良
く観測しているか否かについて疑点が生じる。
(11) Furthermore, since the above microprogram environment is created and loop processing is performed, a new step is required for loop processing, and for this reason, when observing signal waveforms, only the signal waveforms corresponding to the fault are used. Questions arise as to whether or not we are observing correctly and efficiently.

などの問題を含んでいる。It includes problems such as.

(0発明の目的と構成 本発明は、上記の点を解決することを目的としておシ、
いわば障害発生直後に゛当該処理ステップの下で自動的
にループ処理を行わせるように構成せしめ、もし障害が
発生ルた場合はlステップでループ処理に入シ得るよう
にすることを目的としている。そしてそのため、本発明
のマイクロプログラム・セルフ・ループ化処理方式は、
マイクロプログラムが格納されてなる制御メモリ、該制
御メモリから読出されたマイクロ命令がセットされる制
御メモリ・データ・レジスタ、該制御メモリ・データ・
レジスタにセットされたマイクロ命令を解読してハード
ウェア制御を行う)・−ドウエア制御部、および上記制
御メモリに対するアクセス・アドレスがセットされる制
御メモリ・アドレス・レジスタを有し、上記制御メモリ
の内容を読出しては処理を進めると共に、成るマイクロ
命令に対応した処理にもとづく処理結果において障害が
発生した際に当該障害を検出する機能を有するマイクロ
グロダラム制御データ処理装置において、上記障害発生
時に当該障害発生に関連したマイクロ命令を上記制御メ
モリ・データ・レジスタに繰返し保持せしめるよう構成
し、尚該マイクロ命令を繰返し実行せしめるようにした
ことを特ばとしている。以下図面を参照しつつ説明する
0(6) 発明の実施例 図は本発明の一実施例構成を示す。図中の符号1は制御
メモリであってマイクロプログラムが格納されているも
の、2は制御メモリ・データ・レジスタであって制御メ
モリ1から読出されたマイクロ命令がセットされるもの
、3はノ・−ドウエア制御部であって制御メモリ・デー
タ・レジスタ2の内容を解読してノ・−ドウエア各部に
対する制御を行うもの、4は制御メモリ・アドレス・レ
ジスタであって制御メモリ1をアクセスするアクセス・
アドレスがセットされるもの、5はアクセス・アドレス
転送スイッチであって転送されてきたアドレスを選択す
るものを表わしている。
(Objective and Structure of the Invention The present invention aims to solve the above problems.
In other words, the purpose is to configure the system so that immediately after a failure occurs, loop processing is automatically performed under the relevant processing step, so that if a failure occurs, loop processing can be entered at step l. . Therefore, the microprogram self-loop processing method of the present invention is
A control memory in which a microprogram is stored, a control memory data register in which microinstructions read from the control memory are set, and a control memory data register in which a microinstruction read from the control memory is set;
hardware control by decoding the microinstructions set in the register); and a control memory address register in which the access address for the control memory is set, and the contents of the control memory are In a microglodulum control data processing device that has a function of reading out and proceeding with processing and detecting a failure when a failure occurs in the processing result based on the processing corresponding to the microinstruction, the failure is detected when the failure occurs. The microinstruction device is characterized in that the microinstruction related to generation is repeatedly held in the control memory data register, and the microinstruction is repeatedly executed. 0(6) Embodiment of the Invention The drawings described below with reference to the drawings show the configuration of an embodiment of the present invention. In the figure, reference numeral 1 is a control memory in which a microprogram is stored, 2 is a control memory data register in which microinstructions read from the control memory 1 are set, and 3 is a control memory in which a microprogram is stored. - A hardware control unit that decodes the contents of the control memory data register 2 and controls each part of the hardware; 4 is a control memory address register that accesses the control memory 1;
The address is set to an access address transfer switch 5, which selects the transferred address.

通常の状態においては、アドレス・レジスタ4にアドレ
スA (A)が保持されて制御メモリ1からアドレスA
 (A)に対応するマイクロ命令I (k)が読出され
てデータ・レジスタ2にセットされたとするとき、当該
マイクロ命令I (k)の内容が解読され該当する処理
が行われる。マイクロ命令I (A)には次のマイクロ
命令が格納されている次アドレスA (k + 1)が
記述されてあシ、上記マイクロ命令I (k)に対応す
る処理の実行時に障害が発生しないものとするとき、図
示エラー信号HWERRが論理「0」のままにあシ、ス
イッチ5を介してアドレス・レジスタ4に上記次アドレ
スA (A + i)がセットされ、これによって制御
メモリ1がアクセスされる。即ち、次のステップにおい
て、次アドレスA(k+1)に対応した命令工(A +
 1)がデータ・レジスタ2に読出されてセットされる
。以下同様に繰返されて処理が実行されてゆく。
Under normal conditions, address A (A) is held in address register 4 and address A is stored in control memory 1.
When the microinstruction I (k) corresponding to (A) is read out and set in the data register 2, the contents of the microinstruction I (k) are decoded and the corresponding processing is performed. Microinstruction I (A) describes the next address A (k + 1) where the next microinstruction is stored, so that no failure occurs when executing the process corresponding to the above microinstruction I (k). When the illustrated error signal HWERR remains at logic "0", the next address A (A + i) is set in the address register 4 via the switch 5, and the control memory 1 is accessed. be done. That is, in the next step, the command (A +
1) is read to data register 2 and set. Thereafter, the process is repeated in the same manner.

しかし、上記マイクロ命令I (k)に対応する処理の
実行時に障害が発生したとするとき、図示エラー信号H
WERRが論理「1」となシ、スイッチ5はデータ・レ
ジスタ2の内容中からの次アドレスA (A +1)で
なくアドレス・レジスタ4上のアドレスA (k)を選
択してアドレス・レジスタ4にセットし、これによって
制御メモリ1がアクセスされる。即ち、次のステップに
おいても、元のアドレスA (&)に対応したマイクロ
命令I (A)がデータ・レジスタ2にセットされる。
However, if a failure occurs during the execution of the process corresponding to the above microinstruction I (k), the illustrated error signal H
When WERR is a logic ``1'', switch 5 selects address A (k) on address register 4 instead of the next address A (A +1) from the contents of data register 2, and transfers address register 4 to address register 4. , thereby accessing the control memory 1. That is, in the next step as well, the microinstruction I (A) corresponding to the original address A (&) is set in the data register 2.

そして、マイクロ命令I (An) K対応した処理を
行う。換言すると、信号HWERRが論理「1jにある
とき、マイクロ命令I Ck)が繰返し実行される。
Then, processing corresponding to the microinstruction I(An)K is performed. In other words, when the signal HWERR is at logic ``1j'', the microinstruction ICk) is repeatedly executed.

この間にハードウェア各部の信号波形などが収集される
。信号HWERRを論理「0」K戻せば、次アドレスA
(k+1)K対応した命令が読出される形となシ、通常
の処理と同じとなる。
During this time, signal waveforms and the like of each part of the hardware are collected. If the signal HWERR is returned to logic "0", the next address A
The format in which instructions corresponding to (k+1)K are read is the same as normal processing.

なお上記においてスイッチ5をもうけることを示したが
、データ・レジスタ2の入力段にスイッチをもうけて、
制御メモリ1から出される命令を無視せしめるようにし
てもよい。
In addition, although it was shown above that switch 5 is provided, it is also possible to provide a switch at the input stage of data register 2,
The command issued from the control memory 1 may be ignored.

■ 発明の詳細 な説明した如く、本発明によれば、いずれのマイクロ命
令実行中に障害が生じても、いわばその時点に直ちに当
該マイクロ命令をループ化し当該命令を繰返し実行せし
めることが可能となる。
As described in detail, according to the present invention, even if a failure occurs during the execution of any microinstruction, it is possible to immediately loop the microinstruction and repeatedly execute the instruction. .

このために、障害原因発見の可能性が大きく増大する。This greatly increases the possibility of discovering the cause of the failure.

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

図は本発明の一実施例構成を示す。 図中、1は制御メモリ、2は制御メモリ・データ・レジ
スタ、3はハードウェア制御部、4は制御メモリ・アド
レス・レジスタ、5はアクセス・アドレス転送レジスタ
を表わしている。 特許出願人 富士通株式会社 代理人弁理士  森   1)    寛(外1名)
The figure shows the configuration of an embodiment of the present invention. In the figure, 1 represents a control memory, 2 a control memory data register, 3 a hardware control section, 4 a control memory address register, and 5 an access address transfer register. Patent applicant Hiroshi Mori (1 other person), agent patent attorney of Fujitsu Ltd.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムが格納されてなる制御メモリ、該制
御メモリから読出されたマイクロ命令がセットされる制
御メモリ・データ・レジスタ、該制御メモリ・データ・
レジスタにセットされたマイクロ命令を解読してハード
ウェア制御を行うハードウェア制御部、および上記制御
メモリに対するアクセス・アドレスがセットされる制御
メモリ・アドレス・レジスタを有し、上記制御メモリの
内容を読出しては処理を進めると共に、成るマイクロ命
令に対応した処理にもとづく処理結果において障害が発
生した際に当該障害を検出する機能を有するマイクロプ
ログラム制御データ処理装置にお込て、上記障害発生時
に当該障害発生に関連したマイクロ命令を上記制御メモ
リ・データ・レジスタに繰返し保持せしめるよう構成し
、当該マイクロ命令を繰返し実行せしめるようにしたこ
とを特徴とするマイクロプログラム・セルフ・ループ化
処理方式。
A control memory in which a microprogram is stored, a control memory data register in which microinstructions read from the control memory are set, and a control memory data register in which a microinstruction read from the control memory is set;
It has a hardware control unit that performs hardware control by decoding microinstructions set in the register, and a control memory address register in which an access address to the control memory is set, and reads the contents of the control memory. In addition to proceeding with the processing, the microprogram-controlled data processing device has a function of detecting a failure when a failure occurs in the processing result based on the processing corresponding to the microinstruction. A microprogram self-loop processing method, characterized in that the micro-instructions related to generation are repeatedly held in the control memory data register, and the micro-instructions are repeatedly executed.
JP57224690A 1982-12-21 1982-12-21 Self-looping processing system of microprogram Pending JPS59114636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57224690A JPS59114636A (en) 1982-12-21 1982-12-21 Self-looping processing system of microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57224690A JPS59114636A (en) 1982-12-21 1982-12-21 Self-looping processing system of microprogram

Publications (1)

Publication Number Publication Date
JPS59114636A true JPS59114636A (en) 1984-07-02

Family

ID=16817704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57224690A Pending JPS59114636A (en) 1982-12-21 1982-12-21 Self-looping processing system of microprogram

Country Status (1)

Country Link
JP (1) JPS59114636A (en)

Similar Documents

Publication Publication Date Title
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
JPS59114636A (en) Self-looping processing system of microprogram
JPS59112350A (en) Supervising and controlling system of program
JP2979553B2 (en) Fault diagnosis method
JPH05204680A (en) Malfunction preventing system for information processor
JPH0675789A (en) Information processor
JP2786215B2 (en) Restart processing control method
JPS61290543A (en) Error generating device
JPS648381B2 (en)
JPH04167146A (en) Address tracing system for information processor
JPS62269237A (en) Data processor
JPS59163653A (en) Debug device
JPS6319040A (en) Information processor
JPS60247752A (en) Breakpoint setting system of symbolic debugger
JPS6278630A (en) Information processor
JPS6379136A (en) Microprogram controller
JPS58142453A (en) Data processing device
JPS6355645A (en) Microprogram controller
JPH01276249A (en) Log-out control system
JPH0231253A (en) Page fault processing system
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPH03196233A (en) Microcomputer
JPS608952A (en) Program analyzer
JPH01191948A (en) Diagnosis controller
JPH0619720B2 (en) Information processing equipment