JPH03166626A - Information processor - Google Patents

Information processor

Info

Publication number
JPH03166626A
JPH03166626A JP1307245A JP30724589A JPH03166626A JP H03166626 A JPH03166626 A JP H03166626A JP 1307245 A JP1307245 A JP 1307245A JP 30724589 A JP30724589 A JP 30724589A JP H03166626 A JPH03166626 A JP H03166626A
Authority
JP
Japan
Prior art keywords
instruction
buffer
instruction buffer
circuit
abnormality
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
JP1307245A
Other languages
Japanese (ja)
Inventor
Seiichi Hiraoka
精一 平岡
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1307245A priority Critical patent/JPH03166626A/en
Publication of JPH03166626A publication Critical patent/JPH03166626A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To prevent the processing of an information processor from being stopped even if abnormality is generated in a part of an instruction buffer by bringing the instruction buffer in which abnormality is generated to degeneracy, in the case abnormality is generated in a part of plural instruction buffers, and continuing the processing by using the instruction buffer in which no abnormality is generated. CONSTITUTION:In the case abnormality is generated in a first instruction buffer 1, this instruction buffer 1 is brought to degeneracy, and by the degeneracy operation, a first instruction buffer degeneracy bit BR1 is set, effective bits B3, B4 corresponding to a second instruction buffer 2 are reset, and a pointer in an instruction selecting circuit 7 is set to an instruction C3. Since a second instruction buffer 2 becomes empty, an instruction fetch request is outputted from an instruction fetch control circuit 13. A storage circuit 18 which receives the request makes an instruction data effective signal 19 significant and outputs instruction data. By this instruction data, a second instruction buffer empty detecting circuit 12 becomes significant. In such a way, even if abnormality is generated in a first instruction buffer 1, the processing is continued by using a second instruction buffer 2.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、複数の命令バッファを有する情報処理装置
の信頼性向上に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to improving the reliability of an information processing device having a plurality of instruction buffers.

〔従来の技術) 第2図は従来の情報処理装置の命令読出し部を示す図で
あり、図において、(1)と(2)は各々2命令CI,
C2とC3,C4を格納できる第1の命令バツファと第
2の命令バツファ、(3)は命令バツファに格納された
命令からデコードする命令を選択するための命令データ
選択回路、(4)は各々命令C1〜C4が有効であるこ
とを示す有効ビットBINB4を発生する有効ビット発
生器、(5)は有効ビットからデコードする命令に対応
した有効ビットを選択するための有効ビット選択回路、
(6)は命令データ選択回路(3)及び有効ビット選択
回路(5)により選択された有効な命令をデコードする
ための命令デコード回路、(ア)は命令デコード回路(
6)から完了信号を受け、次の命令を選択するための命
令選択回路、(10)は命令選択回路(7)の出力を受
けデコードの完了した命令の有効ビットをリセットする
ための完了命令無効化回路、(11)と(l2)は各々
第1と第2の命令バッファ(1) , (2)が空であ
ることを検知するための第1と第2の命令バッファ空検
知回路、(13)は命令フェッチ制御回路、(14)は
第1と第2の命令バッファ(1) , (2)の両方が
空になり、次の命令フエツチにより命令データが第1の
命令バツファ(1)に格納されることを検知し、命令選
択回路(7)のポインタを命令CIにセットするための
ポインタリセット回路、(15)は第2の命令バッファ
(2)が空で第1の命令バッファ(1)が空でない時に
のみ第2の命令バッファ(2)へ命令データを格納する
ための第2の命令バッファ選択回路、(16)と(17
)は各々第1の命令バッファ(1)と第2の命令バッフ
ァ(2)へ命令データを格納し、対応した有効ビットを
セットするための第1と第2の命令バッファ格納制御回
路、(l8)は記憶装置、(l9)は記憶装置(18)
から命令データが送り出されていることを示す命令デー
タ有効信号、(20)は命令データを送るための命令デ
ータバス、(2l)は第1の命令バッファ(1)又は第
2の命令バッファ(2)に異常が発生した場合、異常を
報告するための異常報告回路である。
[Prior Art] FIG. 2 is a diagram showing an instruction reading section of a conventional information processing device. In the figure, (1) and (2) are two instructions CI,
A first instruction buffer and a second instruction buffer that can store C2, C3, and C4, (3) an instruction data selection circuit for selecting an instruction to be decoded from the instructions stored in the instruction buffer, and (4) each A valid bit generator that generates a valid bit BINB4 indicating that the instructions C1 to C4 are valid; (5) a valid bit selection circuit for selecting a valid bit corresponding to the instruction to be decoded from the valid bits;
(6) is an instruction decode circuit for decoding the valid instruction selected by the instruction data selection circuit (3) and the valid bit selection circuit (5); (a) is the instruction decode circuit (
6) is an instruction selection circuit for receiving a completion signal and selecting the next instruction; (10) is a completed instruction invalidation circuit for receiving the output of the instruction selection circuit (7) and resetting the valid bit of the instruction that has been decoded. (11) and (l2) are first and second instruction buffer empty detection circuits (11) and (12) for detecting that the first and second instruction buffers (1) and (2) are empty, respectively. 13) is an instruction fetch control circuit, and (14) is when both the first and second instruction buffers (1) and (2) are emptied, and the instruction data is transferred to the first instruction buffer (1) by the next instruction fetch. A pointer reset circuit (15) detects that the second instruction buffer (2) is empty and sets the pointer of the instruction selection circuit (7) to the instruction CI. a second instruction buffer selection circuit (16) and (17) for storing instruction data in the second instruction buffer (2) only when the instruction buffer (1) is not empty;
) are first and second instruction buffer storage control circuits (l8) for storing instruction data in the first instruction buffer (1) and second instruction buffer (2) and setting corresponding valid bits, respectively; ) is a storage device, (l9) is a storage device (18)
(20) is an instruction data bus for sending instruction data; (2l) is a first instruction buffer (1) or a second instruction buffer (2); ) is an abnormality reporting circuit that reports the abnormality when it occurs.

次に動作について説明する。第1と第2の命令バッファ
(1) . (2)が空である場合、第1と第2の命令
バッファ空検知回路(l1)と(12)の両方が有意に
なり、命令フエツチ制御回路(13)から記憶装置(1
8)に対して命令フエツチのリクエストが出る。
Next, the operation will be explained. First and second instruction buffers (1). (2) is empty, both the first and second instruction buffer empty detection circuits (l1) and (12) become significant, and the instruction fetch control circuit (13) to the storage device (l1) becomes significant.
A command fetch request is issued to 8).

リクエストを受けた記憶装置(l8)は、命令データ有
効信号(I9)を有意にし、命令データパス(2Q)に
命令データを出力する。第1と第2の命令バッファ空検
知回路(11)と(12)の両方が有意になっているた
め、第2の命令バッファ選択回路(15)により、第1
の命令バッファ格納制御回路(16)のみ有意になり、
命令データを第1の命令バッファ(1)へ格納され、有
効ビット81.82がセットざれる。
The storage device (18) that received the request makes the instruction data valid signal (I9) significant and outputs the instruction data to the instruction data path (2Q). Since both the first and second instruction buffer empty detection circuits (11) and (12) have become significant, the second instruction buffer selection circuit (15)
Only the instruction buffer storage control circuit (16) becomes significant,
The instruction data is stored in the first instruction buffer (1) and valid bits 81 and 82 are set.

第1の命令バッファ1(l)に格納された命令C1は命
令データ選択回路(3)により選択され、命令デコード
回路(6)に送られる。また、命令01に対応した有効
ビットB1も有効ビット選択回路(5)により選択され
、命令デコード(6)に送られる。命令デコード回路(
6)に送られた命令C1は有効ビットB1により有効で
あることが確認されデコードされる。
The instruction C1 stored in the first instruction buffer 1(l) is selected by the instruction data selection circuit (3) and sent to the instruction decoding circuit (6). Further, the valid bit B1 corresponding to instruction 01 is also selected by the valid bit selection circuit (5) and sent to the instruction decode (6). Instruction decoding circuit (
The instruction C1 sent to step 6) is confirmed to be valid by the valid bit B1 and is decoded.

デコードが完了すると、デコード完了信号が命令デコー
ド回路(6)から命令選択回路(7)へ送られ、次命令
である命令C2を選択する。命令C2を選択する信号を
受けた完了命令無効化回路(10)は命令CIのデコー
ドが完了したことを検知し、有効ビット8lをリセット
する。命令C2を選択する信号を受けた命令データ選択
回路(3)及び有効ビット選択回路(5)は命令C2及
び有効ビットBlを命令デコード回路(6)へ送る。
When the decoding is completed, a decoding completion signal is sent from the instruction decoding circuit (6) to the instruction selection circuit (7), which selects the next instruction, instruction C2. The completed instruction invalidation circuit (10) which received the signal selecting the instruction C2 detects that the decoding of the instruction CI is completed and resets the valid bit 8l. The instruction data selection circuit (3) and valid bit selection circuit (5) that have received the signal for selecting the instruction C2 send the instruction C2 and the valid bit Bl to the instruction decoding circuit (6).

第1の命令バッファ(1)へ命令データが格納され、有
効ビットBl及びB2がセットされた時には、第2の命
令バッファ(2)は空で、有効ビットB3,B4はセッ
トされていないので、第2の命令バツファ空検知回路(
12)が有意になり、命令フエツチ制御回路(13)か
ら命令フエツチリクエストが記憶装置(18)へ出る。
When instruction data is stored in the first instruction buffer (1) and valid bits Bl and B2 are set, the second instruction buffer (2) is empty and valid bits B3 and B4 are not set. Second instruction buffer empty detection circuit (
12) becomes significant, and an instruction fetch request is issued from the instruction fetch control circuit (13) to the storage device (18).

リクエストを受けた記憶装置(l8)は、命令データ有
効信号(19)を有意にし、命令データバス(20)に
命令データを出力する。第2の命令バッファ空検知回路
(l2)の有意になっているので第2の命令バッファ選
択回路(15)が有意になり、第2の命令バツファ格納
制御回路(工7)が有意になり、命令データは第2の命
令バツファ(2)へ格納され、有効ビット83.84が
セットされる。
The storage device (18) that received the request makes the instruction data valid signal (19) significant and outputs the instruction data to the instruction data bus (20). Since the second instruction buffer empty detection circuit (l2) has become significant, the second instruction buffer selection circuit (15) has become significant, and the second instruction buffer storage control circuit (step 7) has become significant. The instruction data is stored in the second instruction buffer (2) and valid bits 83, 84 are set.

命令デコード回路(6)へ送られた命令C2はデコード
され、デコード完了信号が命令選択回路(7)へ送られ
る。命令選択回路(7)は次命令である命令C3を選択
する信号を出力する。命令C3を選択する信号を受けた
完了命令無効化回路(10)は有効ビットB2をリセッ
トする。命令C3を選択ずる信号を受けた命令データ選
択回路(3)及び有効ビット選択回路(5)は命令03
および有効ビットB3を命令デコード回路(6)へ送る
Instruction C2 sent to the instruction decode circuit (6) is decoded, and a decode completion signal is sent to the instruction selection circuit (7). The instruction selection circuit (7) outputs a signal for selecting the next instruction, instruction C3. The completed instruction invalidation circuit (10) that receives the signal selecting the instruction C3 resets the valid bit B2. The instruction data selection circuit (3) and valid bit selection circuit (5) that received the signal to select instruction C3 select instruction 03.
and valid bit B3 are sent to the instruction decode circuit (6).

命令C2のデコードが完了し、有効ビットB2がリセッ
トされると、第1の命令バツファ空検知回路(11)が
有意になり、命令フエツチ制御回路(l3)から命令フ
ェッチリクエストが出力され、記憶装置(l8)から命
令データが送られ、第1の命令バツファ(1)へ命令デ
ータが格納され、対応した有効ビットBl,B2がセッ
トされる。
When the decoding of the instruction C2 is completed and the valid bit B2 is reset, the first instruction buffer empty detection circuit (11) becomes significant, an instruction fetch request is output from the instruction fetch control circuit (l3), and the storage device Command data is sent from (l8), stored in the first command buffer (1), and corresponding valid bits B1 and B2 are set.

以下、同様の動作の繰り返しにより、Cl−C2−C3
−C4→Clの順に順次デコードされていく。ただし、
命令02のデコードが完了した時に、第2の命令バッフ
ァ空検知回路(12)が有意になったことにより出され
た命令フエツチによる命令データが第2の命令バッ7 
7 (.2)へ格納されていない場合、第1と第2の命
令空検知回路(l1)と(l2)の両方が有意になるた
め、ポインタリセット回路(l4)が有意になり、命令
選択回路(7)では、命令C1選択する。又、この時は
、第2の命令バッファ選択回路(15)により、第1の
命令バッフ7格納制御回路(16)のみ有意になり、命
令データは、第1の命令バッファ(1)へ格納され、有
効ビットBl,82がセットされる。
Thereafter, by repeating the same operation, Cl-C2-C3
−C4 → Cl are sequentially decoded. however,
When the decoding of instruction 02 is completed, the second instruction buffer empty detection circuit (12) becomes significant, and the instruction data generated by the instruction fetch is transferred to the second instruction buffer 7.
7 (.2), both the first and second instruction empty detection circuits (l1) and (l2) become significant, so the pointer reset circuit (l4) becomes significant and the instruction is selected. In the circuit (7), the instruction C1 is selected. Also, at this time, only the first instruction buffer 7 storage control circuit (16) becomes significant by the second instruction buffer selection circuit (15), and the instruction data is stored in the first instruction buffer (1). , valid bit Bl, 82 is set.

上記のような動作の途中で第1または第2の命令バッフ
ァにおいて、異常が検知されると異常報告回路(2l)
より異常が報告され、情報処理装置は命令読み出し部の
異常により処理を停止する。
If an abnormality is detected in the first or second instruction buffer during the above operation, the abnormality reporting circuit (2l)
An abnormality is reported, and the information processing device stops processing due to the abnormality in the instruction reading section.

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

従来の情報処理装置は以上のように構成されているので
、その内部に保有する複数の命令バ・ソファの内の一つ
でも異常が発生すると、命令の処理を停止しなければな
らないという問題点があった。
Since conventional information processing devices are configured as described above, the problem is that if an abnormality occurs in one of the plurality of instruction buses held within the device, instruction processing must be stopped. was there.

この発明は、上記のような問題点を解消するためになさ
れたもので、複数の命令バツファの内、ある命令バッフ
ァで異常が発生した場合でも異常の発生した命令バッフ
ァだけを縮退できるとともに、異常の発生した命令バッ
ファ以外の命令バッファを使用して命令の処理を継続で
きる情報処理装置を得ることを目的とする。
This invention was made to solve the above-mentioned problems. Even if an error occurs in one instruction buffer among multiple instruction buffers, only the instruction buffer in which the error has occurred can be degraded, and the error can be removed. It is an object of the present invention to provide an information processing device that can continue processing instructions using an instruction buffer other than the instruction buffer in which the error occurred.

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

この発明に係る情報処理装置は、記憶装置から送出され
る命令データを格納する複数の命令バツファを有する情
報処理装置において、各命令バツフ7毎に異常を検知し
、異常が発生した場合、異常の発生した命令バッファを
縮退し、異常発生した命令バッファ以外の命令バツファ
を使用して処理を継続する制御手段を備えたものである
An information processing device according to the present invention is an information processing device having a plurality of instruction buffers for storing instruction data sent from a storage device, in which an abnormality is detected for each instruction buffer 7, and when an abnormality occurs, an abnormality is detected. The apparatus is equipped with a control means for degenerating the instruction buffer in which the abnormality has occurred and continuing processing using an instruction buffer other than the instruction buffer in which the abnormality has occurred.

〔作用〕[Effect]

この発明における情報処理装置は、制御手段により、異
常の発生した命令バツファを検知し、異常発生している
命令バツファを識別するとともに、異常の発生した命令
バツファを縮退し、異常の発生した命令バッファ以外の
命令バツファを使用して、処理を継続する。
The information processing device according to the present invention uses the control means to detect an instruction buffer in which an abnormality has occurred, identify the instruction buffer in which an abnormality has occurred, degenerate the instruction buffer in which an abnormality has occurred, and degenerate the instruction buffer in which an abnormality has occurred. Processing continues using a different instruction buffer.

〔実施例〕〔Example〕

以下、この発明の一実施例を第2図と同一部分は同一符
号を付して示す第1図について説明する。第1図におい
て、(22)は各々第1と第2の命令バッファ(1)と
(2)に異常が検知された時にその情報を保持するため
の第1と第2の命令バッファ縮退ビット8RlとBR2
を送出する縮退ビット発生器、(23)は縮退された命
令バッファを使用しないよう命令選択回路(7)の出力
の命令バッファ選択部分を縮退していない命令バッファ
に固定するための縮退選択回路で、完了命令無効化回路
(10)は命令選択回路(7)及び縮退制御回路(23
)の出力を受けデコードの完了した命令の有効ビットを
リセットするようになされている。
Hereinafter, an embodiment of the present invention will be described with reference to FIG. 1, in which the same parts as in FIG. 2 are denoted by the same reference numerals. In FIG. 1, (22) are first and second instruction buffer degeneration bits 8Rl for holding information when an abnormality is detected in the first and second instruction buffers (1) and (2), respectively. and BR2
The degenerate bit generator (23) is a degenerate selection circuit for fixing the instruction buffer selection portion of the output of the instruction selection circuit (7) to a non-degenerate instruction buffer so as not to use the degenerate instruction buffer. , the completed instruction invalidation circuit (10) is connected to the instruction selection circuit (7) and degeneration control circuit (23).
) and resets the valid bit of the decoded instruction.

また、(24),  (25)は各々第1と第2の命令
バツファ(1)と(2)が縮退されている時に、第1と
第2の命令バッファ空検知回路(11) , (12)
の出力を無効化するための第1と第2の命令バツファ縮
退回路で、その出力を受ける命令バツファ格納選択回路
(l5)は命令バッファ(2)が空で縮退されてなく、
命令バッファ(1)が空でない時、もしくは命令バッフ
ァ(1)が縮退されている時に命令バッファ(2)へ命
令データを格納するようになされている。さらに、(2
6)は命令バッファ(1)と(2)の両方に異常が発生
した場合、異常を報告するための異常報告回路である。
Furthermore, (24) and (25) are the first and second instruction buffer empty detection circuits (11) and (12) when the first and second instruction buffers (1) and (2) are degenerated, respectively. )
The instruction buffer storage selection circuit (l5) receiving the output of the first and second instruction buffer degeneration circuits for invalidating the output of the instruction buffer (2) is empty and not degenerated,
Instruction data is stored in the instruction buffer (2) when the instruction buffer (1) is not empty or when the instruction buffer (1) is degenerated. Furthermore, (2
6) is an abnormality reporting circuit for reporting an abnormality when an abnormality occurs in both instruction buffers (1) and (2).

次に動作について説明する。Next, the operation will be explained.

第1と第2の命令バッファ(1)と(2)の両方が異常
なく動作している時の動作は、第1と第2の命令バッフ
ァ(1) , (2)が空である場合、第1と第2の命
令バッファ空検知回路(l1)と(12)の両方が有意
になり、命令フエツチ制御回路(13)から記憶装置(
l8)に対して命令フェッチのリクエストが出る。リク
エストを受けた記憶装置(l8)は命令データ有効信号
(19)を有意にし、命令データパス(20)に命令デ
ータを出力する。第1と第2の命令バツファ空検知回路
(1l)と(l2)の両方が有意になっているため第2
の命令バッファ選択回路(l5)により第1の命令バッ
ファ1格納制御回路(16)のみ有意になり、命令デー
タは第1の命令バツファ(1)へ格納され、有効ビット
B1及びB2がセットされる,命令バッファ(1)に格
納された命令c1は命令データ選択回路(3)により選
択されて命令デコード回路(6)に送られる。また、命
令CIに対応した有効ビットB1も有効ビット選択回路
(5)により選択されて命令デコード回路(6)に送ら
れる。命令デコード回路(6)に送られた命令C1は有
効ビットB1により有効であることが確認され、デコー
ドされる。
The operation when both the first and second instruction buffers (1) and (2) are operating without any abnormality is as follows: When the first and second instruction buffers (1) and (2) are empty, Both the first and second instruction buffer empty detection circuits (l1) and (12) become significant, and the instruction fetch control circuit (13) to the storage device (
An instruction fetch request is issued to 18). The storage device (18) that received the request makes the instruction data valid signal (19) significant and outputs the instruction data to the instruction data path (20). Since both the first and second instruction buffer empty detection circuits (1l) and (l2) are significant, the second
Only the first instruction buffer 1 storage control circuit (16) becomes significant by the instruction buffer selection circuit (l5) of , the instruction data is stored in the first instruction buffer (1), and valid bits B1 and B2 are set. , the instruction c1 stored in the instruction buffer (1) is selected by the instruction data selection circuit (3) and sent to the instruction decoding circuit (6). Further, the valid bit B1 corresponding to the instruction CI is also selected by the valid bit selection circuit (5) and sent to the instruction decoding circuit (6). The instruction C1 sent to the instruction decode circuit (6) is confirmed to be valid by the valid bit B1 and is decoded.

デコードが完了すると、デコード完了信号が命令デコー
ド回路(6)から命令選択回路(7)へ送られ、次命令
である命令02を選択する。命令C2を選択する信号を
受けた完了命令無効化回路(10)は命令C1のデコー
ドが完了したことを検知し、有効ビットB1をリセット
する。命令C2を選択する信号を受けた命令データ選択
回路(3)及び有効ビット選択回路(5)は命令02及
び有効ビットB2を命令デコード回路(6)へ送る。
When the decoding is completed, a decoding completion signal is sent from the instruction decoding circuit (6) to the instruction selection circuit (7), which selects the next instruction, instruction 02. The completed instruction invalidating circuit (10) which receives the signal selecting the instruction C2 detects that the decoding of the instruction C1 is completed and resets the valid bit B1. The instruction data selection circuit (3) and valid bit selection circuit (5), which have received the signal for selecting the instruction C2, send the instruction 02 and the valid bit B2 to the instruction decoding circuit (6).

また、第1の命令バッファ(1)へ命令データが格納さ
れ、有効ビットBl及び62セットされた時には、第2
の命令バッファ(2)は空で、有効ビットB3,B4は
セットされていないので、第2の命令バッファ空検知回
路(l2)が有意になり、命令フェッチ制御回路(13
)から命令フェッチリクエストが記憶装置(l8)へ出
る。リクエストを受けた記憶装置(18)は命令データ
有効信号を有意にし、命令データパス(20)に命令デ
ータを出力する。第2の命令のバッファ空検知回路(1
2)のみ有意になっているので、第2の命令バッファ選
択回路(l5)が有意になり、第2の命令バッファ格納
制御回路(17)が有意になり、命令データは第2の命
令バッファ(2)へ格納され、有効ビットB3,B4が
セットされる。
Furthermore, when the instruction data is stored in the first instruction buffer (1) and the valid bit B1 and 62 are set, the second
The instruction buffer (2) is empty and the valid bits B3 and B4 are not set, so the second instruction buffer empty detection circuit (l2) becomes significant and the instruction fetch control circuit (13) becomes significant.
), an instruction fetch request is issued to the storage device (l8). The storage device (18) that received the request makes the command data valid signal significant and outputs the command data to the command data path (20). Second instruction buffer empty detection circuit (1
Since only 2) has become significant, the second instruction buffer selection circuit (l5) has become significant, the second instruction buffer storage control circuit (17) has become significant, and the instruction data is stored in the second instruction buffer ( 2), and valid bits B3 and B4 are set.

命令デコード回路(6)へ送られた命令02はデコード
され、デコード完了信号が命令選択回路(7)へ送られ
る。命令選択回路(7)では次命令である命令C3を選
択する信号を出力する。命令03を選択する信号を受け
た完了命令無効化回路(10)は有効ビットB2をリセ
ットする。命令C3を選択する信号を受けた命令データ
選択回路(3)及び有効ビット選択回路(5)は命令C
3及び有効ビットB3を命令デコード回路(6)へ送る
Instruction 02 sent to the instruction decode circuit (6) is decoded, and a decode completion signal is sent to the instruction selection circuit (7). The instruction selection circuit (7) outputs a signal for selecting the next instruction, instruction C3. Upon receiving the signal selecting instruction 03, the completed instruction invalidation circuit (10) resets the valid bit B2. The instruction data selection circuit (3) and valid bit selection circuit (5) which received the signal to select the instruction C3 select the instruction C3.
3 and valid bit B3 to the instruction decode circuit (6).

命令C2のデコードが完了し、有効ビットB2がリセッ
トされると、第1の命令バッファ空検知回路(11)が
有意になり、命令フェッチ制御回路(13)から命令フ
ェッチリクエストが出力され、記憶装置(18)から命
令データが送られ、第1の命令バッファ<1)へ命令デ
ータが格納され、対応した有効ビットBl,B2がセッ
トされる。
When decoding of instruction C2 is completed and valid bit B2 is reset, the first instruction buffer empty detection circuit (11) becomes significant, an instruction fetch request is output from the instruction fetch control circuit (13), and the storage device Command data is sent from (18), stored in the first command buffer <1), and corresponding valid bits B1 and B2 are set.

以下、同様の動作の繰り返しにより、命令C1→C2→
C3→C4→C1の順に順次デコードされていく。
Thereafter, by repeating the same operation, instructions C1→C2→
The signals are decoded in the order of C3→C4→C1.

但し、命令C2のデコードが完了した時に第2の命令バ
ッファ空検知回路(12)が有意になったことにより出
された命令フェッチによる命令データが第2の命令バッ
ファ(2)へ格納されていない場合、第1と第2の命令
バッファ空検知回路(11) , (12)の両方が有
意になるため、ポインタリセット回路(14)が有意に
なり、命令選択回路(7)では命令C1を選択する。又
、この時は第2の命令バツファ選択回路(l5)により
第1の命令バツファ格納IJ御回路(l6)のみ有意に
なり、命令データは命令バッファC1へ格納され、有効
ビットBl,B2がセットされる。
However, when the decoding of instruction C2 is completed, the second instruction buffer empty detection circuit (12) becomes significant, and the instruction data generated by the instruction fetch is not stored in the second instruction buffer (2). In this case, both the first and second instruction buffer empty detection circuits (11) and (12) become significant, so the pointer reset circuit (14) becomes significant, and the instruction selection circuit (7) selects the instruction C1. do. Also, at this time, only the first instruction buffer storage IJ control circuit (l6) becomes significant by the second instruction buffer selection circuit (l5), the instruction data is stored in the instruction buffer C1, and valid bits Bl and B2 are set. be done.

上記のような動作の途中で、第1の命令バッファ(1)
に異常が発生した場合、この命令バッファ(1)が縮退
される。縮退勤作により第1の命令バッファ縮退ビット
BRIがセットされ、第2の命令バッファ(2)に対応
した有効ビットB3,B4がリセットされ、命令選択回
路(7)内のポインタは命令C3にセットされる。第2
の命令バッファ(2)が空になるので命令フェッチ制御
回路(13)から命令フエツチリクエストが出る。リク
エストを受けた記憶装置(18)は命令データ有効信号
(l9)を有意にし命令データを出力する。この時、有
効ビットB1及びB2がリセット状態にあり、第1の命
令バッファ空検知回路(11)が有意であったとしても
、第1の命令バッファ縮退回路(24)により無効化さ
せるので、第1の命令バッファ(1)が空でない状態と
同じ動作をする。従って、記憶装置(18)より出力さ
れた命令データは第2の命令バツファ(2)へ格納され
、有効ビットB3,B4がセットされる。
During the above operation, the first instruction buffer (1)
If an abnormality occurs in the instruction buffer (1), this instruction buffer (1) is degraded. Due to the degeneracy operation, the first instruction buffer degeneration bit BRI is set, the valid bits B3 and B4 corresponding to the second instruction buffer (2) are reset, and the pointer in the instruction selection circuit (7) is set to the instruction C3. be done. Second
Since the instruction buffer (2) becomes empty, an instruction fetch request is issued from the instruction fetch control circuit (13). Upon receiving the request, the storage device (18) makes the instruction data valid signal (19) significant and outputs the instruction data. At this time, even if valid bits B1 and B2 are in the reset state and the first instruction buffer empty detection circuit (11) is significant, the first instruction buffer degeneration circuit (24) invalidates the valid bits. The operation is the same as when the instruction buffer 1 (1) is not empty. Therefore, the instruction data output from the storage device (18) is stored in the second instruction buffer (2), and valid bits B3 and B4 are set.

第2の命令バッファ(2)へ格納された命令は、まず、
命令選択回路(7)により命令C3が選択され命令デ・
コード回路(6)へ送られてデコードされる。命令C3
はデコードが完了すると、デコード完了信号が命令デコ
ード回路(6)から命令選択回路(7)へ送られ、命令
C4が選択され有効ビットB3がリセットされる。
The instructions stored in the second instruction buffer (2) are first
Instruction C3 is selected by the instruction selection circuit (7) and the instruction
The signal is sent to the code circuit (6) and decoded. Command C3
When decoding is completed, a decoding completion signal is sent from the instruction decoding circuit (6) to the instruction selection circuit (7), instruction C4 is selected, and valid bit B3 is reset.

同様の動作で命令C4のデコードが完了すると、命令選
択回路(7)の出力は命令CIを示すが、縮退制御回路
(23)により命令選択回路(7)の出力の命令バッフ
ァ選択部分が第2の命令バッファ(2)に固定されてい
るため、出力を受け取る命令データ選択回路(3)  
有効ビット選択回路(5)及び完了命令無効化回路(l
O)は、命令C3を示す信号を受け取る。
When the decoding of instruction C4 is completed in the same manner, the output of the instruction selection circuit (7) indicates instruction CI, but the degeneration control circuit (23) changes the instruction buffer selection portion of the output of the instruction selection circuit (7) to the second Since it is fixed to the instruction buffer (2), the instruction data selection circuit (3) that receives the output
Valid bit selection circuit (5) and completed instruction invalidation circuit (l
O) receives a signal indicating instruction C3.

命令C4のデコードが完了し、命令C3が選択されると
、完了命令無効化回路(10)は有効ビットB4をリセ
ットする。これにより第2の命令バッファ空検知回路(
12)が有意になるので、命令フエツチ制御回路(l3
)から命令フエツチリクエストが出力され、記憶装置(
18)と命令データを出力する。出力された命令データ
は、上記動作と同様の動作で第2の命令バッファ(2)
へ格納される。
When the decoding of the instruction C4 is completed and the instruction C3 is selected, the completed instruction invalidation circuit (10) resets the valid bit B4. This causes the second instruction buffer empty detection circuit (
12) becomes significant, the instruction fetch control circuit (l3
), an instruction fetch request is output from the storage device (
18) and outputs the command data. The output instruction data is transferred to the second instruction buffer (2) in the same manner as above.
is stored in

このように、第1の命令バッファ(1)に異常が発生し
ても第2の命令バッファ(2)を使用して処理を継続す
ることが可能である。また、第2の命令バッファア(2
)に異常が発生した場合も同様の動作で第1の命令バッ
ファ(1)のみを使用して処理を継続することが可能で
ある。
In this way, even if an abnormality occurs in the first instruction buffer (1), it is possible to continue processing using the second instruction buffer (2). Also, the second instruction buffer (2
), it is possible to continue processing using only the first instruction buffer (1) in a similar manner.

なお、上記実施例では、命令バッファを2個としたが、
複数であれば幾つでもよく、又、命令バッファに入る命
令の数は2命令としたが、命令フェッチで読み出す命令
の数、バッファの構造により幾つでもよいのは勿論であ
る。さらに、命令バッファ縮退の単位を命令バッファ毎
としたが、複数の命令パッファを複数のグループに分け
、複数の命令バッファをまとめて縮退しても良い。
Note that in the above embodiment, there are two instruction buffers, but
Any number may be used as long as there is a plurality of instructions, and although the number of instructions entering the instruction buffer is set to two, it goes without saying that the number may be any number depending on the number of instructions read out by instruction fetch and the structure of the buffer. Furthermore, although the unit of instruction buffer degeneration is each instruction buffer, a plurality of instruction buffers may be divided into a plurality of groups, and a plurality of instruction buffers may be degenerated all at once.

(発明の効果) 以上のように、この発明によれば、複数の命令バッファ
の一部に異常が発生した場合、異常の発生した命令バッ
ファを縮退し、異常の発生していない命令バッファを使
用して処理を継続できるようにしたので、命令バッファ
の一部に異常が発生しても情報処理装置の処理を停止さ
せることがない信頼性の高い情報処理装置が得られる。
(Effects of the Invention) As described above, according to the present invention, when an error occurs in some of a plurality of instruction buffers, the instruction buffer in which the error occurs is degraded, and the instruction buffer in which the error does not occur is used. Since it is possible to continue the processing by the instruction buffer, it is possible to obtain a highly reliable information processing device in which the processing of the information processing device does not stop even if an abnormality occurs in a part of the instruction buffer.

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

第1図はこの発明の一実施例による情報処理装置の命令
読み出し部を示す図、第2図は従来の情報処理装置の命
令読み出し部を示す図である。 (1) , (2)は命令バッファ、(3)は命令デー
タ選択回路、(4)は有効ビット発生器、(5)は有効
ビット選択回路、(6)は命令デコード回路、(7)は
命令選択回路、(10)は完了命令無効化回路、(11
) , (12)は命令パッファ空検知回路、(13)
は命令フェッチ制御回路、(l4)はポインタリセット
回路、(15)は命令バッファ選択回路、(16) ,
 (17)は命令格納制御回路、(18)は記憶回路、
(19)は命令データ有効信号、(20)は命令データ
バス、(22)は縮退ビット発生器、(23)は縮退制
御回路、(24),(25)は命令バッファ縮退回路、
(26)は異常報告回路。 尚、図中同一符号は同一又は相当部分を示す。
FIG. 1 is a diagram showing an instruction reading section of an information processing apparatus according to an embodiment of the present invention, and FIG. 2 is a diagram showing an instruction reading section of a conventional information processing apparatus. (1) and (2) are instruction buffers, (3) are instruction data selection circuits, (4) are valid bit generators, (5) are valid bit selection circuits, (6) are instruction decoding circuits, and (7) are An instruction selection circuit (10) is a completed instruction invalidation circuit (11)
), (12) is the instruction puffer empty detection circuit, (13)
is an instruction fetch control circuit, (l4) is a pointer reset circuit, (15) is an instruction buffer selection circuit, (16),
(17) is an instruction storage control circuit, (18) is a storage circuit,
(19) is an instruction data valid signal, (20) is an instruction data bus, (22) is a degeneration bit generator, (23) is a degeneration control circuit, (24) and (25) are instruction buffer degeneration circuits,
(26) is an abnormality reporting circuit. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims]  記憶装置から送出される命令データを格納する複数の
命令バッファを有する情報処理装置において、各命令バ
ッファ毎に異常を検知し、異常が発生した場合、異常の
発生した命令バッファを縮退し、異常発生した命令バッ
ファ以外の命令バッファを使用して処理を継続する制御
手段を備えたことを特徴とする情報処理装置。
In an information processing device that has multiple instruction buffers that store instruction data sent from a storage device, an abnormality is detected for each instruction buffer, and when an abnormality occurs, the instruction buffer in which the abnormality has occurred is degraded and the abnormality is detected. 1. An information processing apparatus comprising: a control means for continuing processing using an instruction buffer other than the instruction buffer that has been used.
JP1307245A 1989-11-27 1989-11-27 Information processor Pending JPH03166626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1307245A JPH03166626A (en) 1989-11-27 1989-11-27 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1307245A JPH03166626A (en) 1989-11-27 1989-11-27 Information processor

Publications (1)

Publication Number Publication Date
JPH03166626A true JPH03166626A (en) 1991-07-18

Family

ID=17966783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1307245A Pending JPH03166626A (en) 1989-11-27 1989-11-27 Information processor

Country Status (1)

Country Link
JP (1) JPH03166626A (en)

Similar Documents

Publication Publication Date Title
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US4139148A (en) Double bit error correction using single bit error correction, double bit error detection logic and syndrome bit memory
JPS61156954A (en) Buffer memory system
JPS63184146A (en) Information processor
JPH03166626A (en) Information processor
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JP2993099B2 (en) Redundant memory device
JP2979962B2 (en) Failure detection system
JPH02297235A (en) Memory data protecting circuit
JPS60101649A (en) Diagnosis device of electronic computer
JPS6180427A (en) Information processor
JPH02302855A (en) Memory control system
JPS61224044A (en) Error check circuit
JPH01116747A (en) Cache lsi
JPH0514293B2 (en)
JPH0331953A (en) Information processor
JPH01194035A (en) Address parity checking system for information processor
JPH0561777A (en) Memory control circuit
JPH05181757A (en) Address incoincidence detecting circuit
WO1985002925A1 (en) Computer controlled systems
JPS6218943B2 (en)
JPS59207080A (en) Control device of cache memory
JPH01156834A (en) Diagnosing system for check circuit
JPS59119454A (en) Fault reporting system of information processing device
JPH0520200A (en) Error processing system for address conversion buffer