JPS6059610B2 - Instruction processing method - Google Patents
Instruction processing methodInfo
- Publication number
- JPS6059610B2 JPS6059610B2 JP55173459A JP17345980A JPS6059610B2 JP S6059610 B2 JPS6059610 B2 JP S6059610B2 JP 55173459 A JP55173459 A JP 55173459A JP 17345980 A JP17345980 A JP 17345980A JP S6059610 B2 JPS6059610 B2 JP S6059610B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- instruction
- local memory
- local
- control
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Retry When Errors Occur (AREA)
Description
【発明の詳細な説明】
本発明は、命令処理方式、特に制御メモリをそなえかつ
互いに同一のデータが格納される複数個の例えばローカ
ル・メモリを並列的に用いて与えられた命令を実行する
命令処理方式において、上’記制御メモリ内に上記ロー
カル・メモリ全体としての使用パターンを決定する制御
プログラム・ルーチンを予めセットしておき各ローカル
・メモリの読出しデータについてのエラー、チェック結
果に応じて対応する制御プログラム・ルーチンを実行し
上記命令を再実行するよう構成した命令処理方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an instruction processing method, and particularly to an instruction processing method that executes a given instruction by using in parallel a plurality of local memories each having a control memory and storing the same data. In the processing method, a control program routine that determines the usage pattern of the local memory as a whole is set in the control memory in advance, and a response is taken according to errors and check results for the read data of each local memory. The present invention relates to an instruction processing method configured to execute a control program routine to re-execute the above-mentioned instructions.
一般にデータ処理システムにおいて、与えられた命令を
実行するに当つて、互いに同一のデータが格納されるロ
ーカル・メモリを複数個用意し、個々のローカル・メモ
リからの読出しデータを演算処理して上記命令の実行を
行なう命令処理方式がある。Generally, in a data processing system, when executing a given instruction, a plurality of local memories are prepared in which the same data is stored, and the data read from each local memory is processed and executed to execute the above instruction. There is an instruction processing method that executes the following.
そしてこの種の命令処理方式は、個々のローカル・メモ
リから逐次読出されてくるデータに対してパリテイ・チ
ェック処理を行ない、パリテイ・エラーが検出されると
、命令の再実行を行なう。即ちパリテイ・エラー発生の
ローカル・メモリを無効化すると共に本来当該エラー発
生ローカル・メモリから読出されるべきデータを他の正
常なローカル・メモリの同一番地から代りに読出すよう
にして命令の再実行が行なわれる。従来、このような命
令の再実行を行なうに当つて、上記の如きパリテイ・エ
ラーを検出すると、命令のオペレーション●コード部に
よりアドレス指定される制御メモリにパリテイ・チェッ
ク結果に対応するプログラムをローテイングし、当該ロ
ード●プログラムによつてローカル●メモリ全体として
の使用パターンを決定し、即ちエラー発生ローカル・メ
モリの代替メモリの選定を行なつて命令の再実行を行な
う方式をとつている。In this type of instruction processing system, parity check processing is performed on data sequentially read from individual local memories, and when a parity error is detected, the instruction is re-executed. In other words, the local memory in which the parity error occurred is invalidated, and the data that should originally be read from the local memory in which the error occurred is read instead from the same location in another normal local memory, and the instruction is re-executed. will be carried out. Conventionally, when re-executing such an instruction, if a parity error as described above is detected, the program corresponding to the parity check result is rotated into the control memory addressed by the operation code section of the instruction. Then, the usage pattern of the local memory as a whole is determined by the load program, that is, a replacement memory for the local memory where the error has occurred is selected, and the instruction is re-executed.
このプログラムのローテイング等のため、エラー発生時
点から再実行開始までの移行時間に比較的大きな時間が
費され命令実行時間が全体として大きくなるのみならず
負担増にならざるを得なかつた。本発明は上記の点を解
決することを目的とし、簡単な構成により上記移行時間
を充分に短縮化し得るようにすることを目的としている
。そしてそのため本発明の命令処理方式は制御メモリと
互いに同一のデータが格納される複数のメモリと各メモ
リに対するエラー・チェック手段を備え、各メモリに読
出しデータの正誤にもとづいて各メモリ全体の使用パタ
ーンを変更し、変更後の使用パターンにもとづいて命令
を再実行する命令処理方式において、命令がセットされ
る命令レジスタと、それぞれ互いに同一のデータが格納
され通常は平行してアクセスされそれらの出力により演
算処理が行われ第1のローカル・メモリおよび第2のロ
ーカル・メモリと、上記第1のローカル・メモリのエラ
ー・チェック手段と、第2のローカル・メモリのエラー
・チェック手段と、上記制御メモリに対するアドレスが
入力されるアドレス入力手段と、上記各ローカル・メモ
リの状態に応じた制御用プログラムがあらかじめ格納さ
れている制御メモリを設け、命令レジスタにセットされ
たデータの異なる区分にもとづき上記第1のローカル・
メモリおよび第2のローカル・メモリを平行してアクセ
スするとともに、上記各ローカル・メモリの上記各エラ
ー・チェック手段の出力にもとづき上・記アドレス入力
手段にセットされるアドレスを制御するようにして、上
記エラー・チェック手段によるチェック結果に応じて上
記制御メモリをアクセスして対応する制御プログラムを
読出し、これに応じて制御を行なうようにしたことを特
徴とする。以下本発明の一実施例を第1図乃至第3図に
もとづき説明する。Due to this program rotation, etc., a relatively large amount of time is consumed in the transition time from the point of error occurrence to the start of re-execution, which not only increases the overall instruction execution time but also increases the burden. The present invention aims to solve the above problems, and aims to sufficiently shorten the transition time with a simple configuration. Therefore, the instruction processing method of the present invention is equipped with a control memory, a plurality of memories in which the same data is stored, and an error check means for each memory. In an instruction processing method that re-executes the instruction based on the changed usage pattern, the instruction register in which the instruction is set and the instruction register that stores the same data as each other are usually accessed in parallel and their output is A first local memory and a second local memory in which arithmetic processing is performed, an error checking means for the first local memory, an error checking means for the second local memory, and the control memory. address input means into which an address is input, and a control memory in which a control program corresponding to the state of each of the above local memories is stored in advance; local
accessing the memory and the second local memory in parallel, and controlling the address set in the address input means based on the output of each error checking means of each local memory, The control memory is accessed in accordance with the check result by the error checking means to read a corresponding control program, and control is performed accordingly. An embodiment of the present invention will be described below with reference to FIGS. 1 to 3.
第1図イは本発明の一実施例構成を示し、第1図口は演
算回路内における出力レジスタの接続状態説明図、第2
図および第3図は本発明の動作状態説明図である。Figure 1A shows the configuration of an embodiment of the present invention;
3 and 3 are explanatory diagrams of the operating state of the present invention.
図中、1は命令レジスタ、2−1は第1のローノカル・
メモI八2−2は第2のローカル・メモリ、3−1およ
び3−2はそれぞれ上記第1のローカル・メモリ2−1
および第2のローカル・メモリ2−2に対応するローカ
ル・メモリ・アドレス●レジスタ(以下LSAレジスタ
という)、4は・制御メモリ、5は制御メモリ・アドレ
ス・レジスタ(以下CSAレジスタという)、6は演算
回路、6−1および6−2はそれぞれ出力レジスタ、7
は制御回路、8は選択回路、9−1および9−2はそれ
ぞれパリテイ・チェック回路、10−1お”よび10−
2はそれぞれエラーフラグ、11は+1回路、12はオ
ア・ゲート、13および14は夫々否定入力付アンド・
ゲート、15はノット・ゲートを夫々表わしている。In the figure, 1 is the instruction register, and 2-1 is the first local register.
Memo I8 2-2 is the second local memory, 3-1 and 3-2 are the first local memories 2-1, respectively.
and a local memory address register (hereinafter referred to as LSA register) corresponding to the second local memory 2-2, 4 is a control memory, 5 is a control memory address register (hereinafter referred to as CSA register), and 6 is a Arithmetic circuits, 6-1 and 6-2 are output registers, 7
8 is a control circuit, 8 is a selection circuit, 9-1 and 9-2 are parity check circuits, 10-1 and 10-
2 are error flags, 11 is a +1 circuit, 12 is an OR gate, 13 and 14 are AND gates with negative inputs, respectively.
Gate, 15 represents a knot gate, respectively.
第1図において、命令レジスタ1にセットされる命令は
オペレーション・コード部(以下0PC部という)1−
1と第1のローカル・メモリ・アドレス部(以下第1の
LSA部という)1−2と第2のローカル・メモリ・ア
ドレス部(以下第2のLSA部という)1−3とて構成
され、0PC部1−1は制御メモリ4に対する指定アド
レス情報の一部を構成し、第1のLSA部1−2および
第2のLSA部1−3は第1のローカル・メモリ2一1
および第2のローカル・メモリ2−2に対する指定アド
レス情報を構成する。In FIG. 1, the instruction set in instruction register 1 is an operation code section (hereinafter referred to as 0PC section) 1-
1, a first local memory address section (hereinafter referred to as the first LSA section) 1-2, and a second local memory address section (hereinafter referred to as the second LSA section) 1-3, The 0PC section 1-1 constitutes a part of the specified address information for the control memory 4, and the first LSA section 1-2 and the second LSA section 1-3 constitute the first local memory 2-1.
and configures designated address information for the second local memory 2-2.
第1のローカル・メモリ2−1および第2のローカル・
メモリ2−2は互いに同一のデータが格納される。制御
メモリ4は後述する如きエラー発生パターンに対応する
複数の制御プログラム・ルーチンが予めセットされてい
る。選択回路8は制御回路7からの制御信号にもとずい
て命令中の第1のLSA部1一2および第2のLSA部
1−3がセットされるべき第1の田Aレジスタ3−1お
よび/または第2のLSAレジスタ3−2を選択する。
エラーフラグ10−1および10−2は夫々フリップ・
フロップにより構成される。否定入力付アンド・ゲート
13は第1のローカル・メモリ2−1に対応するライト
・イネーブル信号を出力し、他の否定入力付アンド●ゲ
ート14は第2のローカル・メモリ2−2に対応するラ
イト・イネーブル信号を出力する。ノット●ゲート15
は命令レジスタ1に対する命令セット動作を制御する。
以下本実施例いおける処理動作をパリテイ・チェックの
結果のエラーの有無に応じて〔1〕正常動作時と〔■〕
異常動作発生時とに大別して順次説明する。〔1〕 正
常動作時
(1)命令レジスタ1にセットされた命令中の0PC部
1−1はエラーフラグ10−1および10−2からの非
エラー状態を指示する旨の検出信号即ちROJおよびR
OJと合成されROpcOOョなるアドレス情報が生成
され、該アドレス情報ROpcOOJはCSAレジスタ
5にセットされ制御メモリ4をアクセスする。First local memory 2-1 and second local memory 2-1
The memories 2-2 store the same data. The control memory 4 is preset with a plurality of control program routines corresponding to error occurrence patterns as will be described later. The selection circuit 8 selects the first field A register 3-1 to which the first LSA section 1-2 and second LSA section 1-3 in the instruction are to be set based on the control signal from the control circuit 7. and/or select the second LSA register 3-2.
Error flags 10-1 and 10-2 are flip-flopped, respectively.
Consists of flops. The AND gate 13 with negative input outputs a write enable signal corresponding to the first local memory 2-1, and the other AND gate 14 with negative input corresponds to the second local memory 2-2. Outputs write enable signal. knot●gate 15
controls the instruction set operation for instruction register 1.
The processing operations in this embodiment are described below depending on whether or not there is an error as a result of the parity check: [1] Normal operation and [■]
This will be explained in order by dividing it roughly into when an abnormal operation occurs. [1] During normal operation (1) The 0PC section 1-1 in the instruction set in the instruction register 1 receives detection signals indicating a non-error state from the error flags 10-1 and 10-2, that is, ROJ and R.
Combined with OJ, address information ROpcOO is generated, and the address information ROpcOOJ is set in the CSA register 5 and the control memory 4 is accessed.
制御メモリ4は複数の制御プログラム・ルーチンを予,
め格納しており、該制御メモリ4から上記アドレス情報
ROpcOOョに対応する正常動作制御プログラム・ル
ーチン即ち正常動作時に用いられるべき制御プログラム
・ルーチンが読出される。(2) 一方、命令中の第1
の?A部1−2および第2のLSA部1−3に入力した
アト[/ス信号は選択回路8を介して夫々第1のLSA
レジスタ3−1および第2のLSAレジスタ3−2にセ
ットされ第1のローカル・メモリ2−1およ−び第2の
ローカル・メモリ2−2からアクセスされたデータが読
出される。The control memory 4 stores a plurality of control program routines.
A normal operation control program routine corresponding to the address information ROpcOO, that is, a control program routine to be used during normal operation is read out from the control memory 4. (2) On the other hand, the first
of? The at[/s] signals input to the A section 1-2 and the second LSA section 1-3 are sent to the first LSA via the selection circuit 8, respectively.
Data set in register 3-1 and second LSA register 3-2 and accessed from first local memory 2-1 and second local memory 2-2 is read.
(3)上記第1の?A部1−2に入力したアドレス信号
にもとづき読出された読出しデータ(以下第1の読出し
データと略称する。(3) The first question above? Read data (hereinafter abbreviated as first read data) read out based on the address signal input to the A section 1-2.
)および上記第2のLSA部1−3に入力したアドレス
信号にもとづき読出された読出しデータ(以下第2の読
出しデータと略称する。)は夫々第1のパリテイ・チェ
ック回路9−1および第2のパリテイ・チェック回路9
−2においてエラー・チェック処理される。(4)第1
のパリテイ・チェック回路9−1および第2のパリテイ
・チェック回路9−2がともに非エラー状態を検出した
場合、第2のパリテイ・チェック回路9−1および第2
のパリテイ・チェック回路9−2の各出力信号はともに
依然として論理ROJレベルに維持される。) and the read data (hereinafter abbreviated as second read data) read based on the address signal input to the second LSA section 1-3 are sent to the first parity check circuit 9-1 and the second parity check circuit 9-1, respectively. parity check circuit 9
-2, error checking is performed. (4) First
If both the parity check circuit 9-1 and the second parity check circuit 9-2 detect a non-error state, the second parity check circuit 9-1 and the second parity check circuit 9-1
Both output signals of parity check circuit 9-2 are still maintained at the logic ROJ level.
従つてオア・ゲート12を介してノット・ゲート15の
出力信号は依然として論理RlJレベルに維持され、こ
のため命令レジスタ1に次の命令がセットされることが
可能となり、また第1のエラーフラグ10−1および第
2のエラーフラグ10−2の各出力信号はともに依然と
して論理ROョレベルに維持され上記次の命令に対応す
る制御メモリ4アドレス情報の下位2ビットをROOJ
に設定する。】)これらのパリテイ・チェックの結果が
いずれも正常に場合には、記第1の読出しデータは、第
1図口に示される出力レジスタ6−1にセットされ、第
2の読出しデータは出力レジスタ6一2にセットされ、
演算回路6における被演算データとして使用される。Therefore, the output signal of the NOT gate 15 via the OR gate 12 is still maintained at the logic RlJ level, which allows the next instruction to be set in the instruction register 1, and also the first error flag 10. Both the output signals of the second error flag 10-1 and the second error flag 10-2 are still maintained at the logical ROO level, and the lower two bits of the control memory 4 address information corresponding to the next instruction are ROOJ.
Set to . ]) If the results of these parity checks are both normal, the first read data is set to the output register 6-1 shown at the beginning of FIG. set to 6-2,
It is used as data to be operated on in the arithmetic circuit 6.
ここで演算回路6は上記制御メモリ4から読出された上
記正常動作用制御プログラム・ルーチンにもとずいて演
算処理を行なう。該演算処理による演算結果は、否定入
力付アンド・ゲート13および他の否定入力付アンド・
ゲート14からの各論理RlJライト・イネーブル信号
により第1のローカル・メモリ2−1および第2のロー
カル・メモリ2−2へ書込まれる。旧 異常動作時
1) 一方第1のパリテイ・チェック回路9−1により
パリテイ・エラーが検出されかつ上記第2のパリテイ●
チェック回路9−2がエラー状態を検出しなかつた場合
、第1のパリテイ・チェック回路9−1から論理RlJ
が出力される。Here, the arithmetic circuit 6 performs arithmetic processing based on the normal operation control program routine read out from the control memory 4. The arithmetic result of the arithmetic processing is applied to the AND gate 13 with negative input and other AND gates with negative input.
Each logical RlJ write enable signal from gate 14 writes to the first local memory 2-1 and the second local memory 2-2. Old During abnormal operation 1) On the other hand, a parity error is detected by the first parity check circuit 9-1, and the second parity check circuit 9-1 detects a parity error.
If the check circuit 9-2 does not detect an error condition, the logic RlJ is output from the first parity check circuit 9-1.
is output.
この出力信号によりオア・ゲート12の出力信号は論理
RlJレベルに反転され、ノット・ゲート15の出力信
号は論理ROJレベルに反転・維持されると共に、否定
入力付アンド・ゲート13および他の否定入力付アンド
・ゲート14の各出力信号即ちライト・イネーブル信号
は論理ROョレベルに維持される。このため次の命令は
命令レジスタ1にセットされず、即ち命令更新処理が禁
止されかつ第1のローカル・メモリ2−1および第2の
ローカル・メモリ2一2からそれぞれ読出された第1の
読出しデータおよび第2の読出しデータに対する演算処
理によつて得られた演算結果は第1のローカル・メモリ
2−1および第2のローカル・メモリ2−2に書込まれ
ることはない。(2)上記パリテイ・チェック回路9−
1からの論理01.J信号により第1のエラーフラグ1
0−1の出力信号は論理RlJレベルに反転される。This output signal inverts the output signal of the OR gate 12 to the logic RlJ level, inverts and maintains the output signal of the NOT gate 15 to the logic ROJ level, and inverts the output signal of the AND gate 13 with a negative input and other negative inputs. Each output signal of AND gate 14, ie, the write enable signal, is maintained at a logic level. Therefore, the next instruction is not set in the instruction register 1, that is, the instruction update process is prohibited, and the first readout from the first local memory 2-1 and the second local memory 2-2, respectively. The arithmetic results obtained by arithmetic processing on the data and the second read data are not written to the first local memory 2-1 and the second local memory 2-2. (2) Parity check circuit 9-
Logic from 1 01. The first error flag 1 is set by the J signal.
The 0-1 output signal is inverted to a logic RlJ level.
一方第2のエラーフラグ10−2の出力信号は依然とし
て論理RO..レベルに維持される。上記第1のエラニ
プケグー10−ーー1の論理RlJ出力信号と上記第2
のエラーフラグ10−2の論理ROJ出力信号とは、上
述の命令更・新処理禁止により命令レジスタ1内に依然
としてセットされている命令のうち0PC部1−1に付
加され、ROpclOJなる制御メモリ・アクセス・ア
ドレス情報が生成される。このアドレス情報ROpcl
OJにより制御メモリ4内の対応する第1の異常動作用
制御プログラム・ルーチンが読出される。選択回路8は
、上記第1の異常動作用制御プログラム・ルーチンにも
とずいて、先ず命令レジスタ1内の第1の?A部冫1−
2に入力されているアドレス信号を第2の?Aレジスタ
3−2にセットせしめ、第2のローカル・メモリ2−2
から対応するデータ即ち上記第1の読出しデータが読出
され、出力レジスタ6−1にセットされる。次に選択回
路8は、命令レジスタ1の第2のLSA部1−3に入力
されているアドレス信号を第2の?Aレジスタ3−2に
セットし、第2のローカル・メモリ2−2から第2の読
出しデータが読出され、出力レジスタ6−2にセットさ
れることに3なる。このようにして出力レジスタ6−1
および6−2にセットされた上記第1の読出しデータお
よび上記第2の読出しデータが非エラー状態である場合
、演算回路6において上記第1,第2の読出しデータに
ついて上記第1の異常動3作用制御プログラム・ルーチ
ンにもとずく演算処理が行なわれ、当該演算結果は否定
入力付アンド・ゲート13および他の否定入力付アンド
・ゲート14の各論理r′1ョライト・イネーブル信号
にもとずき第1のローカル・メモリ24−1および第2
のローカル・メモリ2−2に書込まれる。このようにし
て第1の異常働作用制御プログラム・ルーチンが終了す
れば、制御回路7はエラーフラグ10−1をリセットす
る。これにより命令レジスタlへの次の命令に対応する
セット処理即ち命令更新処理が許可されると共に、第1
,第2のエラーフラグ10−1,10−2の各論理RO
ョ出力信号にもとすき上記次の命令に対応する命令処理
において制御メモリ4から正常動作用制御プログラム・
ルーチンが読出されることになる。このようにして自動
的に正常動作に復帰する。3)また上記第1のパリテイ
・チェック回路9−1がパリテイ・エラーを検出せず、
かつ上記第2のパリテイ・チェック回路9−2によりパ
リテイ・エラーが検出された場合、上記(1)および上
記(2)において上述した如き処理動作と同様な処理動
作が行なわれる。On the other hand, the output signal of the second error flag 10-2 is still the logic RO. .. maintained at the level. The logic RlJ output signal of the first Eranipkegu 10--1 and the second
The logical ROJ output signal of the error flag 10-2 is added to the 0PC section 1-1 among the instructions still set in the instruction register 1 due to the above instruction update/update processing prohibition, and is added to the control memory ROpclOJ. Access address information is generated. This address information ROpcl
The corresponding first abnormal operation control program routine in the control memory 4 is read by OJ. The selection circuit 8 first selects the first ? in the instruction register 1 based on the first abnormal operation control program routine. A department doctor 1-
The address signal input to 2 is input to the second ? A register 3-2 is set to the second local memory 2-2.
The corresponding data, that is, the first read data is read from the output register 6-1 and set in the output register 6-1. Next, the selection circuit 8 converts the address signal input to the second LSA section 1-3 of the instruction register 1 into the second ? The second read data is read from the second local memory 2-2 and set in the output register 6-2. In this way, the output register 6-1
And when the first read data and the second read data set in 6-2 are in a non-error state, the arithmetic circuit 6 detects the first abnormal movement 3 for the first and second read data. Arithmetic processing is performed based on the action control program routine, and the result of the arithmetic operation is based on each logic r'1orite enable signal of the AND gate 13 with negative input and the other AND gate 14 with negative input. The first local memory 24-1 and the second local memory 24-1
is written to the local memory 2-2. When the first abnormal operation control program routine is thus completed, the control circuit 7 resets the error flag 10-1. As a result, setting processing corresponding to the next instruction to instruction register l, that is, instruction update processing, is permitted, and the first
, each logical RO of the second error flag 10-1, 10-2
In the command processing corresponding to the next command mentioned above, the control program for normal operation is read from the control memory 4.
The routine will be read. In this way, normal operation is automatically restored. 3) Also, the first parity check circuit 9-1 does not detect a parity error;
If a parity error is detected by the second parity check circuit 9-2, processing operations similar to those described above in (1) and (2) are performed.
即ち、第1のローカル・メモリ2−1からの正しい第1
の読出しデータと第2のローカル・メモリ2−2からの
誤りの第2の読出しデータとにもとずく演算結果は否定
入力付アンド・ゲート13および他の否定入力付アンド
・ゲー口4の各論理ROJライト・イネーブル信号によ
り第1,第2のローカル・メモリ2−1,2−2への書
込み動作が禁止される。また制御メモリ4に対するアク
セス・アドレス情報はROpcOlJとされ、制御メモ
リ4から第2の異常動作制御プログラム・ルーチンが読
出され、当該プログラム●ルーチンにもとずいて、第1
のローカル・メモリ2一1のみ有効とされ、該第1のロ
ーカル・メモリ2−1から最初に第1の読出しデータが
読出されて出力レジスタ6−1にセットされ、次に第2
の読出しデータが読出されて出力レジスタ6−2にセッ
トされ、これら第1,第2の読出しデータについて演算
処理が行なわれる。これら第1,第2の読出しデータが
正しいものであれば、上記演算処理による演算結果は第
1,第2のローカル・メモリ2−1,2−2に書込まれ
、この第2の異常動作用制御プログラム・ルーチンの終
りにエラーフラグ10−2がリセットされるのて、次の
命令からは制御メモリ4内の正常動作用制御プログラム
・ルーチンが読出される。) 上記第1のパリテイ・チ
ェック回路の9−1および上記第2のパリテイ・チェッ
ク回路9−2がともにパリテイ・エラーを検出した場合
、否定入力付アンド・ゲート13および他の否定入力付
アンド・ゲート14の各ライト・イネーブル信号は論理
RO.Jレベルとなり、誤まつた第1の読出しデータお
よび誤まつた第2の読出しデータについて演算結果は第
1,第2のローカル・メモリ2−1,2−2に書込まれ
ることが禁止される。That is, the correct first memory from the first local memory 2-1
The operation result based on the read data and the erroneous second read data from the second local memory 2-2 is input to each of the AND gate 13 with negative input and the other AND gate 4 with negative input. A write operation to the first and second local memories 2-1 and 2-2 is prohibited by the logical ROJ write enable signal. Further, the access address information for the control memory 4 is set as ROpcOlJ, and the second abnormal operation control program routine is read out from the control memory 4, and based on the program routine, the first
The first read data is first read out from the first local memory 2-1 and set in the output register 6-1, and then the second read data is set in the output register 6-1.
The read data is read out and set in the output register 6-2, and arithmetic processing is performed on these first and second read data. If these first and second read data are correct, the results of the arithmetic processing described above are written to the first and second local memories 2-1 and 2-2, and this second abnormal operation After the error flag 10-2 is reset at the end of the normal operation control program routine, the normal operation control program routine in the control memory 4 is read from the next instruction. ) If both the first parity check circuit 9-1 and the second parity check circuit 9-2 detect a parity error, the AND gate 13 with negative input and the other AND gate with negative input Each write enable signal on gate 14 is connected to logic RO. J level, and the calculation results for the erroneous first read data and the erroneous second read data are prohibited from being written to the first and second local memories 2-1 and 2-2. .
またノット・ゲート15の論理ROJ出力信号により命
令更新処理が禁止され、命令レジスタ1内に依然として
セットされている命令中の0PC部1−1と第1,第2
のエラーフラグ10−1,10−2の論理RlJ出力信
号とにより10PC11Jなる制御メモリ4アクセス・
アドレス情報が生成され、制御メモリ4内からエラー・
処理ルーチンが読出され、当該エラー処理ルーチンが実
行される。したがつて、本発明によれば、正常動作の場
合には、第3図イに示す如く、2周期のデータ処理サイ
クルで演算処理が行なわれる、つまりτ。において、各
ローカル・メモリからデータの読出しが行なわれ、τ,
において演算およびその結果の書込みが行なわれる場合
、一方のメモリに異常が存在しても第3図口に示す如く
、3周期のデータ処理サイクルで演算処理を行なうこと
ができる。なお第3図口の場合は、第2のローカル・メ
モリ2−2から読出したデータに異常状態が存在した場
合を示すものであり、τ0,τ1で第1のローカル・メ
モリ2−1からそれぞれデータを読出し、τ2で演算お
よび書込の行なわれることを示している。以上説明した
如く、本発明は、通常の第1のローカル・メモリ2−1
および第2のローカル・メモリ2−2を平行してアクセ
スするとともに、制御メモリ4内にパリテイ・チェック
結果のパターンに応じた複数個の制御プログラム・ルー
チン(エラー処理ルーチンを含む)を予め用意しておき
、パリテイ・エラーが発生すると当該エラー・パターン
に対応する制御プログラム●ルーチンに切替えて命令処
理を続行するようにした。Further, the instruction update process is prohibited by the logic ROJ output signal of the NOT gate 15, and the 0PC part 1-1 and the first and second
The logic RlJ output signals of the error flags 10-1 and 10-2 cause 4 accesses to the control memory 10PC11J.
Address information is generated and error information is stored in the control memory 4.
A processing routine is read and the error processing routine is executed. Therefore, according to the present invention, in normal operation, as shown in FIG. 3A, arithmetic processing is performed in two data processing cycles, that is, τ. At , data is read from each local memory, and τ,
When an operation and its result are written in, even if there is an abnormality in one of the memories, the operation can be performed in three data processing cycles, as shown at the beginning of FIG. Note that the case shown in FIG. 3 indicates a case where an abnormal state exists in the data read from the second local memory 2-2, and the data read from the first local memory 2-1 at τ0 and τ1, respectively. It is shown that data is read and calculation and writing are performed at τ2. As explained above, the present invention provides a first local memory 2-1
and the second local memory 2-2 in parallel, and prepares in advance a plurality of control program routines (including an error handling routine) in the control memory 4 according to the pattern of the parity check results. Then, when a parity error occurs, the control program ●routine corresponding to the error pattern is switched to continue instruction processing.
このため通常は第1のローカル・メモリ2−1および第
2のローカル・メモリ2−2を平行してアクセスしてそ
れぞれ別データを平行して読み出し可能であり命令の処
理速度を早くすることがてき、しかもエラー発生時点か
ら代替プログラムを制御メモ1J4にローディングする
時間とオーバーヘッドを考慮しなくて済み命令処理を迅
速に続行することができる。なお上述した実施例は2個
のローカル・メモリを使用した場合を表わしたが、本発
明はこれに限定されるものではなく3個以上のローカル
・メモリを使用した命令処理方式に適用することは自由
である。For this reason, it is normally possible to access the first local memory 2-1 and the second local memory 2-2 in parallel and read different data from each in parallel, thereby increasing the processing speed of instructions. In addition, there is no need to consider the time and overhead of loading an alternative program into the control memory 1J4 from the time the error occurs, and instruction processing can be continued quickly. Although the above-mentioned embodiment represents the case where two local memories are used, the present invention is not limited to this and can be applied to an instruction processing method using three or more local memories. Be free.
第1図イは本発明の一実施例構成を示し、第1図口は演
算回路内における出力レジスタの接続状”態を示し、第
2図および第3図は本発明の動作状態説明図である。
図中、1は命令レジスタ、2−1は第1のローカル・メ
モリ、2−2は第2のローカル・メモリ、3−1および
3−2はそれぞれ上記第1のローカル・メモリおよび第
2のローカル・メモリに対応するローカル●メモリ●ア
ドレス●レジスタ、4は制御メモリ、5は制御メモリ・
アドレス●レジスタ、6は演算回路、6−1、6−2は
それぞれ出力レジスタ、7は制御回路、8は選択L回路
、9−1、9−2はそれぞれパリテイ・チェック回路、
10−1、10−2はそれぞれエラーフラグ、11は+
1回路をそれぞれ示す。Fig. 1A shows the configuration of an embodiment of the present invention, Fig. 1 shows the connection state of the output register in the arithmetic circuit, and Figs. In the figure, 1 is an instruction register, 2-1 is a first local memory, 2-2 is a second local memory, and 3-1 and 3-2 are the first local memory and the first local memory, respectively. The local ● memory ● address ● register corresponding to the local memory 2, 4 is the control memory, and 5 is the control memory.
Address Register, 6 is an arithmetic circuit, 6-1 and 6-2 are each an output register, 7 is a control circuit, 8 is a selection L circuit, 9-1 and 9-2 are each a parity check circuit,
10-1 and 10-2 are error flags, 11 is +
One circuit is shown respectively.
Claims (1)
のメモリと各メモリに対すエラー・チェック手段を備え
、各メモリの読出しデータの正誤にもとづいて各メモリ
全体の使用パターンを変更し、変更後の使用パターンに
もとづいて命令を再実行する命令処理方式において、命
令がセットされる命令レジスタと、 それぞれ互いに同一のデータが格納され通常は平行して
アクセスされそれらの出力により演算処理が行われる第
1のローカル・メモリおよび第2のローカル・メモリと
、上記第1のローカル・メモリのエラー・チェック手段
と、第2のローカル・メモリのエラー・チェック手段と
、上記制御メモリに対するアドレスが入力されるアドレ
ス入力手段と、上記各ローカル・メモリの状態に応じた
制御用プログラムがあらかじめ格納されている制御メモ
リを設け、命令レジスタにセットされたデータの異なる
区分にもとづき上記第1のローカル・メモリおよび第2
のローカル・メモリを平行してアクセスするとともに、
上記各ローカル・メモリの上記各エラー・チェック手段
の出力にもとづき上記アドレス入力手段にセットされる
アドレスを制御するようにして、上記エラー・チェック
手段によるチェック結果に応じて上記制御メモリをアク
セスして対応する制御プログラムを読出し、これに応じ
て制御を行なうようにしたことを特徴とする命令処理方
式。[Claims] 1. A control memory, a plurality of memories in which the same data is stored, and an error check means for each memory, and a usage pattern of the entire memory can be determined based on the correctness of the read data of each memory. In an instruction processing method that re-executes an instruction based on the usage pattern after the change, the instruction register in which the instruction is set and the instruction register each store the same data and are usually accessed in parallel and perform operations based on their outputs. A first local memory and a second local memory in which processing is performed, an error check means for the first local memory, an error check means for the second local memory, and a first local memory for the control memory. An address input means into which an address is input, and a control memory in which a control program corresponding to the state of each of the above local memories is stored in advance are provided. Local memory and second
while accessing the local memory of
The address set in the address input means is controlled based on the output of each of the error checking means of each of the local memories, and the control memory is accessed according to the check result by the error checking means. An instruction processing method characterized in that a corresponding control program is read and control is performed accordingly.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55173459A JPS6059610B2 (en) | 1980-12-09 | 1980-12-09 | Instruction processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55173459A JPS6059610B2 (en) | 1980-12-09 | 1980-12-09 | Instruction processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5797150A JPS5797150A (en) | 1982-06-16 |
| JPS6059610B2 true JPS6059610B2 (en) | 1985-12-26 |
Family
ID=15960859
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55173459A Expired JPS6059610B2 (en) | 1980-12-09 | 1980-12-09 | Instruction processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6059610B2 (en) |
-
1980
- 1980-12-09 JP JP55173459A patent/JPS6059610B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5797150A (en) | 1982-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3564506A (en) | Instruction retry byte counter | |
| EP1324190B1 (en) | Data processing system having a read-modify-write unit | |
| US4456952A (en) | Data processing system having redundant control processors for fault detection | |
| US5003458A (en) | Suspended instruction restart processing system based on a checkpoint microprogram address | |
| US5522029A (en) | Fault tolerant rendezvous and semaphore for multiple parallel processors | |
| US5146569A (en) | System for storing restart address of microprogram, determining the validity, and using valid restart address to resume execution upon removal of suspension | |
| JPS6218057B2 (en) | ||
| US20030005241A1 (en) | Write protect method | |
| US4124892A (en) | Data processing systems | |
| JPS6342294B2 (en) | ||
| JPS6059610B2 (en) | Instruction processing method | |
| JPS6319058A (en) | Memory device | |
| JPS5939052B2 (en) | Information processing device and method | |
| JPH01125633A (en) | System for debugging multi-processing system | |
| WO2010109631A1 (en) | Information processing device, information processing method and information processing program | |
| JP2009169515A (en) | Computer system and system recovery device | |
| JPH03105630A (en) | Error correcting system | |
| KR19990057809A (en) | Error prevention system | |
| JPH0644238B2 (en) | Instruction re-execution control method | |
| JPH05120155A (en) | Microprogram controller | |
| JPH04181331A (en) | Instruction retry system | |
| JPH0553844A (en) | Information processor | |
| JPS6130296B2 (en) | ||
| JPH0481953A (en) | Memory device | |
| JPS59178547A (en) | Instruction retry system |