JPH0635695A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0635695A
JPH0635695A JP18706392A JP18706392A JPH0635695A JP H0635695 A JPH0635695 A JP H0635695A JP 18706392 A JP18706392 A JP 18706392A JP 18706392 A JP18706392 A JP 18706392A JP H0635695 A JPH0635695 A JP H0635695A
Authority
JP
Japan
Prior art keywords
instruction
data
signal
unit
odd
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
JP18706392A
Other languages
Japanese (ja)
Inventor
Shigenori Watari
亘  重範
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP18706392A priority Critical patent/JPH0635695A/en
Publication of JPH0635695A publication Critical patent/JPH0635695A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

PURPOSE:To realize a data processor in which the high speed of the processing of data or an instruction can be attained by adapting the error judging processing of the data or the instruction to the data processing speed of a processor. CONSTITUTION:An instruction fetch stage 7 fetches the data and a redundant signal 5 synchronously with the processing of a processor 10. The instruction fetch stage 7 supplies the fetched data and the redundant signal 5 to an even/odd judging circuit 12, and supplies the data to an instruction decode stage 8. The even/odd judging circuit 12 judges whether or not the data can be used from the data, redundant signal 5, and parity valid signal 4, and supplies an even/odd judged result signal 11 indicating the judged result to the decode stage 8. The decode stage 8 decodes the supplied data, and judges whether or not the data can be used from the even/odd judged result signal 11 supplied from the even/ odd judging circuit 12. When the data can not be used, the decode state 8 stops the decode. When the data can be used, the decode stage 8 supplies the decoded data or an instruction to an instruction executing stage 9.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、誤り判断符号が付加さ
れたデータ又は命令の読みだし等を行い、これらデータ
又は命令を実行するデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for reading out data or an instruction to which an error judgment code is added and executing the data or the instruction.

【0002】[0002]

【従来の技術】誤り判断符号が付加されたデータ又は命
令を読みだし、これらデータ又は命令に誤りがあるか否
かを判断するとともに、誤りが無い場合には、これらデ
ータ又は命令を実行するデータ処理装置がある。図5
は、上記データ処理装置の概略構成図である。図5にお
いて、プロセッサ100の命令実行段90から、読み出
すデータのアドレス信号が、アドレスバス3及びアドレ
スデコーダ2を介してメモリ1に供給される。すると、
このメモリ1から供給されたアドレスに対応するデータ
が、データ及び命令バス61に出力されるとともに、こ
のデータに付加された誤り判断符号である冗長信号50
が、外部判断回路150の偶奇判断回路120に供給さ
れる。この偶奇判断回路120は、冗長信号50とバス
6のデータとを比較し、データの正当性を判断する。そ
して、偶奇判断回路120は、データが正当ではない場
合には、アンド回路190の一方の入力端を「H」レベ
ルとする。また、命令フェッチ段70は、バス6上のデ
ータをフェッチすると、アンド回路190の他方の入力
端に供給するリードライト信号140を「H」レベルと
する。したがって、データに誤りがある場合には、アン
ド回路190の出力であるバスエラー信号130は、
「H」レベルとなる。このバスエラー信号130は、命
令フェッチ段70に供給されており、この信号130が
「H]レベルの場合には、命令フェッチ段70は、デー
タに誤りがあることを判断する。データに誤りがない場
合には、命令フェッチ段70でフェッチされたデータ
は、命令デコード段80を介して命令実行段90に供給
される。
2. Description of the Related Art Data or instructions to which an error judgment code is added are read out, and it is judged whether or not there is an error in these data or instructions, and if there is no error, data for executing these data or instructions. There is a processing device. Figure 5
FIG. 3 is a schematic configuration diagram of the data processing device. In FIG. 5, an address signal of data to be read is supplied from the instruction execution stage 90 of the processor 100 to the memory 1 via the address bus 3 and the address decoder 2. Then,
The data corresponding to the address supplied from the memory 1 is output to the data and instruction bus 61, and at the same time, the redundant signal 50 which is an error determination code added to this data.
Are supplied to the even / odd determination circuit 120 of the external determination circuit 150. The even / odd determination circuit 120 compares the redundant signal 50 with the data on the bus 6 to determine the validity of the data. If the data is not valid, the even-odd determination circuit 120 sets one input terminal of the AND circuit 190 to the “H” level. When the instruction fetch stage 70 fetches the data on the bus 6, the instruction fetch stage 70 sets the read / write signal 140 supplied to the other input end of the AND circuit 190 to the “H” level. Therefore, when there is an error in the data, the bus error signal 130 output from the AND circuit 190 is
It becomes "H" level. The bus error signal 130 is supplied to the instruction fetch stage 70, and when the signal 130 is at the “H” level, the instruction fetch stage 70 determines that there is an error in the data. If not, the data fetched by the instruction fetch stage 70 is supplied to the instruction execution stage 90 via the instruction decode stage 80.

【0003】図6は、偶奇判断回路120の回路構成例
である。この偶奇判断回路120は、NOT回路120
A〜120C,121A〜120C、AND回路122
A〜122D,OR回路123から構成されている。そ
して、バス6上のデータ60が、NOT回路120A及
び120Bに供給され、冗長信号50がNOT回路12
0Cに供給される。
FIG. 6 is a circuit configuration example of the even-odd determination circuit 120. The even / odd determination circuit 120 is a NOT circuit 120.
A to 120C, 121A to 120C, AND circuit 122
A to 122D and an OR circuit 123. Then, the data 60 on the bus 6 is supplied to the NOT circuits 120A and 120B, and the redundant signal 50 is sent to the NOT circuit 12.
It is supplied to 0C.

【0004】なお、上記データ処理装置の例としては、
特開平2ー44432号公報に記載された電子計算機の
制御方式、特開昭58ー181150号公報に記載され
た情報処理装置、又は特開昭56ー27456号公報に
記載された読み出しデータ転送方式等がある。
As an example of the data processing device,
Control system of electronic computer described in JP-A-2-44432, information processing device described in JP-A-58-181150, or read data transfer system described in JP-A-56-27456 Etc.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記データ
処理装置においては、データ又は命令処理の高速化が望
まれ、プロセッサ100自体のデータ又は命令処理は、
高速化されてきている。ところが、データ又は命令の誤
りを判断するための外部判断回路150については、処
理速度に限界があり、プロセッサ100の処理速度より
低速となっている。このため、プロセッサ100は、高
速処理能力がありながら、その処理速度は、低速の外部
判断回路150に適合させねばならず、データ処理装置
全体のデータ処理高速化が困難となっていた。
By the way, in the above data processing apparatus, it is desired to speed up data or instruction processing, and the data or instruction processing of the processor 100 itself is
It is getting faster. However, the external decision circuit 150 for deciding an error in the data or instruction has a limited processing speed, and is lower than the processing speed of the processor 100. Therefore, the processor 100 has to have a high-speed processing capability, but its processing speed must be adapted to the low-speed external determination circuit 150, which makes it difficult to speed up the data processing of the entire data processing apparatus.

【0006】そこで、データ処理装置を特開昭56ー2
7456号公報に記載されているように構成することが
考えられる。つまり、データの誤り判別の前に、データ
を外部論理装置に転送し、その後、エラー検出回路によ
り、データの誤り判別を実行する。そして、データに誤
りがあった場合には、誤りがあったことを外部論理装置
に伝達し、データの訂正が可能であれば、データを訂正
して外部論理装置に転送する。外部論理装置は、訂正さ
れたデータにより処理を再実行する。また、外部論理装
置は、先に供給されたデータが未処理であれば、訂正さ
れたデータに従って処理を実行する。このように構成し
て、データに誤りがない場合の、外部論理装置のデータ
処理を高速化することが考えられる。
Therefore, a data processor is disclosed in Japanese Patent Laid-Open No. 56-2.
It is conceivable to configure as described in Japanese Patent No. 7456. That is, the data is transferred to the external logic device before the error determination of the data, and then the error detection circuit executes the error determination of the data. If there is an error in the data, the fact that there is an error is transmitted to the external logical device, and if the data can be corrected, the data is corrected and transferred to the external logical device. The external logic unit re-executes the processing with the corrected data. If the previously supplied data is unprocessed, the external logic device performs the process according to the corrected data. With this configuration, it is possible to speed up the data processing of the external logic device when there is no error in the data.

【0007】しかしながら、外部論理装置のデータ処理
を単に高速化しただけでは、エラー検出回路と非同期と
なってしまい、データエラー発生時に、外部論理装置が
どのデータがエラーであるか判別不可能となってしま
う。したがって、外部論理装置のデータ処理速度は、エ
ラー検出回路の処理速度に適合されねばならず、データ
処理装置の処理速度高速化が困難であった。
However, simply increasing the speed of the data processing of the external logic device makes it asynchronous with the error detection circuit, and when the data error occurs, the external logic device cannot determine which data is the error. Will end up. Therefore, the data processing speed of the external logic device must be adapted to the processing speed of the error detection circuit, which makes it difficult to increase the processing speed of the data processing device.

【0008】本発明の目的は、データ又は命令の誤り判
断処理を、プロセッサのデータ処理速度に適合させ、デ
ータ又は命令の処理が高速化されたデータ処理装置を実
現することである。
An object of the present invention is to realize a data processing device in which error determination processing of data or instructions is adapted to the data processing speed of a processor and the processing of data or instructions is speeded up.

【0009】[0009]

【課題を解決するための手段】本発明は、上記目的を解
決するため、以下のように構成される。供給されるデー
タ又は命令を実行する命令実行部と、命令実行部から出
力されるアドレス信号をデコードし、出力するととも
に、冗長信号有効信号を出力するアドレスデコーダと、
データ及び命令を記憶し、データ又は命令読みだし時に
は、アドレスデコーダから出力されるアドレス信号に従
って、データ又は命令を出力するとともに、このデータ
又は命令の冗長信号を出力する記憶手段と、上記記憶手
段から出力されるデータ又は命令と、上記冗長信号とを
フェッチする命令フェッチ部と、上記命令フェッチ部に
フェッチされたデータ又は命令の2進化情報の1又は0
の合計数と、冗長信号と、アドレスデコーダから出力さ
れた冗長信号有効信号とに基づいて、データ又は命令が
使用可能か不可能かを示す偶奇判断結果信号を出力する
偶奇判断部と、偶奇判断部から出力される偶奇判断結果
信号に従って、命令フェッチ部にフェッチされたデータ
又は命令が使用可能か不可能かを判断し、使用可能の場
合には、上記データ又は命令をデコードし、上記命令実
行部に供給する命令デコード部と、を備える。
In order to solve the above-mentioned object, the present invention is configured as follows. An instruction execution unit that executes supplied data or instructions, an address decoder that decodes and outputs an address signal output from the instruction execution unit, and outputs a redundant signal valid signal,
Data and instructions are stored, and when reading out the data or instructions, the storage means outputs the data or instructions according to the address signal output from the address decoder, and outputs the redundant signal of the data or instructions, and the storage means. An instruction fetch unit that fetches the output data or instruction and the redundant signal, and 1 or 0 of binary information of the data or instruction fetched by the instruction fetch unit.
And an odd / odd judgment unit that outputs an even / odd judgment result signal indicating whether data or an instruction can be used or not, based on the total number of the redundant signals and the redundant signal and the redundant signal valid signal output from the address decoder. According to the even / odd judgment result signal output from the unit, it is judged whether the data or the instruction fetched by the instruction fetch unit can be used or not, and if the data or the instruction can be used, the data or the instruction is decoded and the instruction is executed. And an instruction decoding unit that supplies the unit.

【0010】また、供給されるデータ又は命令を実行す
る命令実行部と、命令実行部から出力されるアドレス信
号をデコードし、出力するアドレスデコーダと、データ
及び命令を記憶し、データ又は命令読みだし時には、ア
ドレスデコーダから出力されるアドレス信号に従って、
データ又は命令を出力するとともに、このデータ又は命
令の冗長信号を出力する記憶手段と、上記記憶手段から
出力されるデータ又は命令をフェッチする命令フェッチ
部と、上記記憶手段から出力されるデータ又は命令の2
進化情報の1又は0の合計数と、冗長信号とに基づい
て、データ又は命令が使用可能か不可能かを判断し、命
令フェッチ部の動作と同期して、データ又は命令が使用
可能か不可能かを示す判断信号を出力する判断部と、上
記判断部から出力される判断信号に従って、命令フェッ
チ部にフェッチされたデータ又は命令が使用可能か不可
能かを判断し、使用可能の場合には、上記データ又は命
令をデコードし、上記命令実行部に供給する命令デコー
ド部と、を備える。
Further, an instruction executing section for executing the supplied data or instruction, an address decoder for decoding and outputting an address signal output from the instruction executing section, a data and instruction are stored, and data or instruction is read out. Sometimes, according to the address signal output from the address decoder,
A storage unit that outputs data or an instruction and outputs a redundant signal of the data or the instruction, an instruction fetch unit that fetches the data or the instruction output from the storage unit, and the data or the instruction output from the storage unit Of 2
Based on the total number of 1 or 0 of the evolution information and the redundant signal, it is determined whether the data or the instruction is available or not, and the data or the instruction is available or not in synchronization with the operation of the instruction fetch unit. A determination unit that outputs a determination signal indicating whether it is possible, and according to the determination signal that is output from the determination unit, determines whether the data or instruction fetched by the instruction fetch unit is available or not, and if available, Includes an instruction decoding unit that decodes the data or instruction and supplies the instruction or execution unit with the instruction decoding unit.

【0011】[0011]

【作用】偶奇判断部は、最初のサイクルにて、データ又
は命令が使用可能か不可能かを判断する。そして、次の
サイクルにおいて、データ又は命令の偶奇判断結果信号
を命令デコード部に供給する。このとき、命令デコード
部は、偶奇判断部が判断したデータ又は命令を対象とし
てデコードを行っているので、偶奇判断部の判断結果と
デコード部の対象データとが正しく対応する。以降、偶
奇判断部は、命令デコード部がデコードしているデータ
又は命令の偶奇判断結果信号をデコード部に供給する。
これにより、命令フェッチ部は、偶奇判断部の判断結果
を待たずしてデータ又は命令を次段の命令デコード部に
転送することができる。
In the first cycle, the even-odd judgment unit judges whether the data or the instruction is usable or not. Then, in the next cycle, the even / odd determination result signal of the data or the instruction is supplied to the instruction decoding unit. At this time, since the instruction decoding unit decodes the data or the instruction determined by the even / odd determination unit as a target, the determination result of the even / odd determination unit and the target data of the decoding unit correspond correctly. After that, the even / odd determination unit supplies the data decoded by the instruction decoding unit or the even / odd determination result signal of the instruction to the decoding unit.
As a result, the instruction fetch unit can transfer the data or instruction to the instruction decode unit in the next stage without waiting for the determination result of the even / odd determination unit.

【0012】[0012]

【実施例】図1は、本発明の一実施例であるデータ処理
装置の概略構成図である。図1において、プロセッサ1
0は、命令フェッチ段7と、命令デコード段8と、命令
実行段9と、偶奇判断回路12と、を備えている。ま
た、1は、FIFO(First in first out)キャッシュ
メモリなどのメモリであり、このメモリ1には、プロセ
ッサ10が動作するために必要なデ−タ又は命令が格納
されている。また、このメモリ1は、アドレスデコ−ダ
2から供給されるアドレス信号に従って、必要なデ−タ
又は命令の読みだし及び書き込みができるものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic block diagram of a data processing apparatus according to an embodiment of the present invention. In FIG. 1, the processor 1
0 includes an instruction fetch stage 7, an instruction decode stage 8, an instruction execution stage 9, and an even / odd determination circuit 12. Further, 1 is a memory such as a FIFO (First in first out) cache memory, and this memory 1 stores data or instructions necessary for the processor 10 to operate. The memory 1 can read and write necessary data or instructions according to the address signal supplied from the address decoder 2.

【0013】命令実行段9からアドレスバス3を介して
アドレス信号がアドレスデコーダ2に供給される。する
と、アドレスデコーダ2は、デコードしたアドレス信号
をメモリ1に供給するとともに、後述する冗長信号5が
有効か無効かを示すパリティ有効信号4を偶奇判断回路
12に供給する。メモリ1は、供給されたアドレス信号
に対応するデータ又は命令を、データ及び命令バス6を
介して命令フェッチ段7に供給する。また、メモリ1
は,命令フェッチ段7に供給したデータ又は命令の冗長
信号5も命令フェッチ段7に供給する。
An address signal is supplied from the instruction execution stage 9 to the address decoder 2 via the address bus 3. Then, the address decoder 2 supplies the decoded address signal to the memory 1, and also supplies the parity valid signal 4 indicating whether the redundant signal 5 described later is valid or invalid to the even / odd determination circuit 12. The memory 1 supplies data or an instruction corresponding to the supplied address signal to the instruction fetch stage 7 via the data and instruction bus 6. Also, memory 1
Also supplies the redundant signal 5 of the data or instruction supplied to the instruction fetch stage 7 to the instruction fetch stage 7.

【0014】命令フェッチ段7は、プロセッサ10のパ
イプライン処理に同期して、データ又は命令と、冗長信
号5とをフェッチする。そして、命令フェッチ段7は、
フェッチしたデータ又は命令と、冗長信号5とを偶奇判
断回路12に供給するとともに、データ又は命令を命令
デコード段8に供給する。偶奇判断回路12は、データ
又は命令を構成する2進化情報の“1”又は“0”の数
と、冗長信号5の“1”又は“0”と、パリティ有効信
号4とからデータ又は命令が使用可能か不可能かを判断
する。そして、この判断結果を示す偶奇判断結果信号1
1を命令デコード段8に供給する。
The instruction fetch stage 7 fetches the data or instruction and the redundant signal 5 in synchronization with the pipeline processing of the processor 10. Then, the instruction fetch stage 7
The fetched data or instruction and the redundant signal 5 are supplied to the even / odd determination circuit 12, and the data or instruction is supplied to the instruction decoding stage 8. The even / odd determination circuit 12 determines whether the data or instruction is based on the number of “1” or “0” of the binary information forming the data or instruction, the redundancy signal 5 of “1” or “0”, and the parity valid signal 4. Determine if it is available or not. Then, the even-odd judgment result signal 1 indicating this judgment result
1 is supplied to the instruction decode stage 8.

【0015】命令デコード段8は、命令フェッチ段7か
ら供給されたデ−タ又は命令をデコードするとともに、
偶奇判断回路12から供給された偶奇判断結果信号11
により、デ−タ又は命令が使用可能か不可能かを判別す
る。データ又は命令が使用不可能であれば、デコード段
8は、デコードを停止する。データ又は命令が使用可能
であれば、命令デコード段8は、デコードしたデータ又
は命令を命令実行段9に供給する。そして、命令実行段
9は、命令デコード段8から供給されたデータ又は命令
に従ってプロセッサ10を動作させる。
The instruction decode stage 8 decodes the data or instruction supplied from the instruction fetch stage 7, and
Even / odd judgment result signal 11 supplied from the even / odd judgment circuit 12
Determines whether data or instructions are available. If the data or instruction is not available, the decode stage 8 stops decoding. If the data or instruction is available, the instruction decode stage 8 supplies the decoded data or instruction to the instruction execution stage 9. Then, the instruction execution stage 9 operates the processor 10 according to the data or the instruction supplied from the instruction decode stage 8.

【0016】図2は、図1の例の動作タイムチャートで
ある。図2において、(A)は、同期化クロック、
(B)は、アドレスバス3上のアドレス信号、(C)
は、バス6上のデータ、(D)は、冗長信号5を示す。
また、(E)は、命令フェッチ段7の動作、(F)は、
命令デコード段8の動作、(G)は、命令実行段9の動
作を示す。
FIG. 2 is an operation time chart of the example of FIG. In FIG. 2, (A) is a synchronization clock,
(B) is an address signal on the address bus 3, (C)
Indicates data on the bus 6, and (D) indicates the redundant signal 5.
Also, (E) is the operation of the instruction fetch stage 7, and (F) is
The operation of the instruction decode stage 8 and (G) show the operation of the instruction execution stage 9.

【0017】まず、時点To からT1 までの第1サイク
ルS1において、データAと冗長信号αとが、命令フェ
ッチ段7にフェッチされる。次に、時点T1 からT2 ま
での第2サイクルS2において、データBと冗長信号β
とが、命令フェッチ段7にフェッチされる。さらに、命
令デコード段8により、データAがデコードされる。そ
して、時点T2 からT3 までの第3サイクルS3におい
て、データCと冗長信号γとが、命令フェッチ段7にフ
ェッチされる。さらに、命令デコード段8により、デー
タBがデコードされ、命令実行段9により、データAの
処理が実行される。なお、20は、プロセッサセットア
ップタイムである。
First, in the first cycle S1 from time To to T1, the data A and the redundant signal α are fetched by the instruction fetch stage 7. Next, in the second cycle S2 from time T1 to time T2, the data B and the redundant signal β
And are fetched into the instruction fetch stage 7. Further, the instruction decoding stage 8 decodes the data A. Then, in the third cycle S3 from time T2 to time T3, the data C and the redundant signal γ are fetched by the instruction fetch stage 7. Further, the instruction decode stage 8 decodes the data B, and the instruction execution stage 9 executes the processing of the data A. 20 is a processor setup time.

【0018】ここで、偶奇判断回路12の動作を説明す
る。偶奇判断回路12は、第1サイクルS1にて、デー
タAが使用可能か不可能かを判断する。そして、第2サ
イクルS2において、データAの偶奇判断結果信号11
を命令デコード段8に供給する。このとき、命令デコー
ド段8は、データAを対象としてデコードを行っている
ので、対象とするデータは、上記偶奇判断結果信号11
と一致している。以降、偶奇判断回路12は、命令デコ
ード段8がデータBをデコードしているときには、デー
タBの偶奇判断結果信号11を出力し、データCのとき
には、データCの偶奇判断結果信号11を出力する。こ
れにより、プロセッサ10は、上記第1、第2、第3サ
イクル、・・・に同期してデータ処理を実行することが
できる。
Now, the operation of the even / odd determination circuit 12 will be described. The even / odd determination circuit 12 determines whether the data A is usable or impossible in the first cycle S1. Then, in the second cycle S2, the even / odd determination result signal 11 of the data A
Are supplied to the instruction decoding stage 8. At this time, since the instruction decode stage 8 is decoding the data A, the target data is the even-odd judgment result signal 11
Is consistent with Thereafter, the even / odd determination circuit 12 outputs the even / odd determination result signal 11 of the data B when the instruction decoding stage 8 is decoding the data B, and outputs the even / odd determination result signal 11 of the data C when the data is C. . As a result, the processor 10 can execute data processing in synchronization with the first, second, third cycles, ....

【0019】これに対して、図5の従来のデータ処理装
置を、図2のサイクルで動作させた場合を考えてみる。
図5の例の偶奇判断回路120は、第1サイクルS1に
て、データAが使用可能か不可能かを判断する。そし
て、第2サイクルS2において、バスエラー信号130
を命令フェッチ段70に供給する。このとき、命令フェ
ッチ段70は、データAではなく、データBをフェッチ
している。このため、データAの判断結果がデータBの
判断結果とする誤った判断が行われてしまう。このた
め、命令フェッチ段70は、第2サイクルまでデータA
を保持しておかねばならない。一方、図1の例の場合
は、第2サイクルにおいては、フェッチ段7は、データ
Bをフェッチすることができる。したがって、図1の例
のプロセッサ10のデータ処理は、図5の例におけるプ
ロセッサ100のデータ処理に比較して、大幅に高速化
されことが理解できる。
On the other hand, consider the case where the conventional data processing apparatus of FIG. 5 is operated in the cycle of FIG.
The even / odd determination circuit 120 in the example of FIG. 5 determines whether the data A is usable or impossible in the first cycle S1. Then, in the second cycle S2, the bus error signal 130
To the instruction fetch stage 70. At this time, the instruction fetch stage 70 is fetching the data B instead of the data A. Therefore, an erroneous determination is made that the determination result of the data A is the determination result of the data B. Therefore, the instruction fetch stage 70 keeps the data A until the second cycle.
Must be retained. On the other hand, in the case of the example of FIG. 1, the fetch stage 7 can fetch the data B in the second cycle. Therefore, it can be understood that the data processing of the processor 10 in the example of FIG. 1 is significantly accelerated as compared with the data processing of the processor 100 in the example of FIG.

【0020】以上のように、本発明の一実施例によれ
ば、データ又は命令の誤り判断処理を、プロセッサのデ
ータ処理速度に適合させ、データ又は命令の処理が高速
化されたデータ処理装置を実現することができる。
As described above, according to one embodiment of the present invention, there is provided a data processing device in which the error determination processing of data or instructions is adapted to the data processing speed of the processor and the processing of data or instructions is speeded up. Can be realized.

【0021】図3は、本発明の他の実施例であるデータ
処理装置の概略構成図であり、図1の例と同等なものに
は同一の符号が付されている。図3において、メモリ1
からの冗長信号5は、外部判断回路15の偶奇判断回路
12に供給される。この偶奇判断回路12には、データ
及び命令バス6からデータ又は命令も供給されている。
そして、この偶奇判断回路12の判断信号はアンド回路
13の一方の入力端に供給される。アンド回路13の他
方の入力端には、命令フェッチ段7からのリードライト
信号140が供給される。冗長信号が使用不可能の場合
には、アンド回路19からバスエラー信号13が同期回
路18に供給される。この同期回路18には、命令フェ
ッチ段7からの同期化信号17も供給される。そして、
この同期回路18により、プロセッサ10の動作に同期
した同期化エラー信号16が命令デコード段8に供給さ
れる。
FIG. 3 is a schematic block diagram of a data processing apparatus according to another embodiment of the present invention, in which components equivalent to those in FIG. 1 are designated by the same reference numerals. In FIG. 3, the memory 1
The redundant signal 5 from is supplied to the even / odd determination circuit 12 of the external determination circuit 15. The even / odd determination circuit 12 is also supplied with data or an instruction from the data / instruction bus 6.
The decision signal of the even / odd decision circuit 12 is supplied to one input terminal of the AND circuit 13. The read / write signal 140 from the instruction fetch stage 7 is supplied to the other input terminal of the AND circuit 13. When the redundant signal cannot be used, the AND circuit 19 supplies the bus error signal 13 to the synchronizing circuit 18. The synchronizing signal 17 from the instruction fetch stage 7 is also supplied to the synchronizing circuit 18. And
The synchronization circuit 18 supplies the synchronization error signal 16 synchronized with the operation of the processor 10 to the instruction decode stage 8.

【0022】図4は、図3の例の動作タイムチャートで
ある。図4において、(A)は、同期化クロック、
(B)は、アドレスバス3上のアドレス信号、(C)
は、バス6上のデータ、(D)は、冗長信号5を示す。
また、(E)は、同期化エラー信号16、(F)は、命
令フェッチ段7の動作、(G)は、命令デコード段8の
動作、(H)は、命令実行段9の動作を示す。
FIG. 4 is an operation time chart of the example of FIG. In FIG. 4, (A) is a synchronization clock,
(B) is an address signal on the address bus 3, (C)
Indicates data on the bus 6, and (D) indicates the redundant signal 5.
Further, (E) shows the synchronization error signal 16, (F) shows the operation of the instruction fetch stage 7, (G) shows the operation of the instruction decode stage 8, and (H) shows the operation of the instruction execution stage 9. .

【0023】まず、時点To からT1 までの第1サイク
ルS1において、データAが、命令フェッチ段7にフェ
ッチされる。次に、時点T1 からT2 までの第2サイク
ルS2において、データBが、命令フェッチ段7にフェ
ッチされる。さらに、命令デコード段8により、データ
Aがデコードされる。そして、時点T2 からT3 までの
第3サイクルS3において、データCが、命令フェッチ
段7にフェッチされる。さらに、命令デコード段8によ
り、データBがデコードされ、命令実行段9により、デ
ータAの処理が実行される。なお、20は、プロセッサ
セットアップタイムである。
First, in the first cycle S1 from the time points To to T1, the data A is fetched by the instruction fetch stage 7. Next, in the second cycle S2 from time T1 to time T2, the data B is fetched by the instruction fetch stage 7. Further, the instruction decoding stage 8 decodes the data A. Then, in the third cycle S3 from time T2 to time T3, the data C is fetched by the instruction fetch stage 7. Further, the instruction decode stage 8 decodes the data B, and the instruction execution stage 9 executes the processing of the data A. 20 is a processor setup time.

【0024】ここで、外部判断回路15の動作を説明す
る。第1サイクルS1にて、偶奇判断回路12は、デー
タAが使用可能か不可能かを判断し、バスエラー信号1
3が同期回路18に供給される。そして、第2サイクル
S2において、同期回路18は、同期化エラー信号16
(A・α)を命令デコード段8に供給する。このとき、
命令デコード段8は、データAを対象としてデコードを
行っているので、上記同期化エラー信号16の対象であ
るデータと一致している。以降、外部判断回路15は、
命令デコード段8がデータBをデコードしているときに
は、データBの同期化エラー信号16(B・β)を出力
し、データCのときには、データCの同期化エラー信号
16(C・γ)を出力する。これにより、プロセッサ1
0は、上記第1、第2、第3サイクル、・・・に同期し
てデータ処理を実行することができる。上述した図3の
例においても、図1の例と同様な効果を得ることができ
る。
Here, the operation of the external judgment circuit 15 will be described. In the first cycle S1, the even / odd determination circuit 12 determines whether the data A can be used or not, and the bus error signal 1
3 is supplied to the synchronizing circuit 18. Then, in the second cycle S2, the synchronization circuit 18 causes the synchronization error signal 16
(A · α) is supplied to the instruction decode stage 8. At this time,
Since the instruction decoding stage 8 is decoding the data A as a target, it matches the data that is the target of the synchronization error signal 16. After that, the external determination circuit 15
When the instruction decoding stage 8 is decoding the data B, the synchronization error signal 16 (B.beta.) Of the data B is output, and when the instruction C is the data C, the synchronization error signal 16 (C.γ) of the data C is output. Output. As a result, the processor 1
0 can execute data processing in synchronization with the first, second, third cycles, .... In the example of FIG. 3 described above, the same effect as that of the example of FIG. 1 can be obtained.

【0025】上述した例においては、データ又は命令の
読みだし時について説明したが、メモリ1へのデータ又
は命令の書き込みも行うことができる。つまり、図1及
び図3の例において、命令フェッチ段7から書き込むべ
きデータ又は命令と、その冗長信号とがバス6を介して
メモリ1に供給される。そして、メモリ1は、アドレス
デコーダ2から供給されたアドレスに上記データ又は命
令と、その冗長信号とを記憶するものである。
In the above-mentioned example, the reading of data or instructions was described, but writing of data or instructions to the memory 1 can also be performed. That is, in the example of FIGS. 1 and 3, the data or instruction to be written from the instruction fetch stage 7 and its redundant signal are supplied to the memory 1 via the bus 6. The memory 1 stores the above-mentioned data or instruction and its redundant signal at the address supplied from the address decoder 2.

【0026】なお、上述した本発明のデータ処理装置
は、例えば、MRI装置における画像処理等、その他多
くのものに適用することができる。特に、MRI装置に
おける画像処理に適用した場合には、画像処理を高速化
でき、検査時間の短縮化を図ることができる。
The above-described data processing apparatus of the present invention can be applied to many other things such as image processing in an MRI apparatus. In particular, when applied to the image processing in the MRI apparatus, the image processing can be speeded up and the inspection time can be shortened.

【0027】[0027]

【発明の効果】本発明は、以上のように構成されている
ので、以下のような効果がある。命令実行部と、アドレ
ス信号をデコードするとともに、冗長信号有効信号を出
力するアドレスデコーダと、アドレスデコーダからのア
ドレス信号に従って、データ又は命令を出力するととも
に、冗長信号を出力する記憶手段と、記憶手段からのデ
ータ又は命令と、冗長信号とをフェッチする命令フェッ
チ部と、命令フェッチ部にフェッチされたデータ又は命
令の2進化情報の1又は0の合計数と、冗長信号と、ア
ドレスデコーダからの冗長信号有効信号とに基づいて、
データ又は命令が使用可か否かを示す偶奇判断結果信号
を出力する偶奇判断部と、偶奇判断部からの偶奇判断結
果信号に従って、フェッチ部にフェッチされたデータ又
は命令が使用可か否かを判断し、使用可の場合には、デ
ータ又は命令をデコードし、命令実行部に供給する命令
デコード部と、を備える。したがって、データ又は命令
の誤り判断処理を、プロセッサのデータ処理速度に適合
させることができ、データ又は命令の処理が高速化され
たデータ処理装置を実現することができる。
Since the present invention is constructed as described above, it has the following effects. An instruction execution unit, an address decoder that decodes an address signal and outputs a redundant signal valid signal, a storage unit that outputs data or an instruction according to the address signal from the address decoder, and a redundant signal, and a storage unit Instruction fetch unit for fetching the data or instruction from the instruction and the redundant signal, the total number of 1 or 0 of the binary information of the data or instruction fetched by the instruction fetch unit, the redundant signal, and the redundancy from the address decoder. Based on the signal valid signal and
Whether the data or instruction fetched by the fetch unit is usable or not is determined according to the even / odd determination unit that outputs an even / odd determination result signal indicating whether or not the data or instruction is usable, and the even / odd determination result signal from the even / odd determination unit. And an instruction decoding unit that decodes the data or the instruction and supplies the decoded data or instruction to the instruction executing unit when the determination is possible. Therefore, the error determination processing of data or instructions can be adapted to the data processing speed of the processor, and the data processing device in which the processing of data or instructions is speeded up can be realized.

【0028】また、本発明は、命令実行部と、命令実行
部からのアドレス信号をデコードし、出力するアドレス
デコーダと、アドレスデコーダからのアドレス信号に従
って、データ又は命令と冗長信号とを出力する記憶手段
と、記憶手段からのデータ又は命令をフェッチする命令
フェッチ部と、記憶手段からのデータ又は命令の2進化
情報の1又は0の合計数と冗長信号とに基づいて、デー
タ又は命令が使用可か否かを判断し、命令フェッチ部に
同期して、データ又は命令が使用可か否かを示す判断信
号を出力する判断部と、判断部からの判断信号に従っ
て、命令フェッチ部にフェッチされたデータ又は命令が
使用可か否かを判断し、使用可の場合には、データ又は
命令をデコードし、命令実行部に供給する命令デコード
部と、を備える。したがって、上述と同様に、データ又
は命令の誤り判断処理を、プロセッサのデータ処理速度
に適合させることができ、データ又は命令の処理が高速
化されたデータ処理装置を実現することができる。
Further, according to the present invention, an instruction executing section, an address decoder for decoding and outputting an address signal from the instruction executing section, and a memory for outputting data or an instruction and a redundant signal according to the address signal from the address decoder. Means, an instruction fetch unit for fetching data or instructions from the storage means, and the data or instructions can be used based on the total number of 1 or 0 of the binary information of the data or instructions from the storage means and the redundant signal. Whether the data is fetched or not is fetched by the instruction fetch unit according to the determination signal output from the determination unit and the determination unit that outputs a determination signal indicating whether the data or the instruction is usable in synchronization with the instruction fetch unit. An instruction decoding unit that determines whether or not the data or instruction can be used, and if the data or instruction is usable, decodes the data or instruction and supplies the instruction or decoding unit with the instruction decoding unit. Therefore, similarly to the above, it is possible to adapt the data or instruction error determination processing to the data processing speed of the processor, and to realize a data processing device in which the data or instruction processing is speeded up.

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

【図1】本発明の一実施例の概略構成図である。FIG. 1 is a schematic configuration diagram of an embodiment of the present invention.

【図2】図1の例の動作タイムチャートである。FIG. 2 is an operation time chart of the example of FIG.

【図3】本発明の他の実施例の概略構成図である。FIG. 3 is a schematic configuration diagram of another embodiment of the present invention.

【図4】図3の例の動作タイムチャートである。FIG. 4 is an operation time chart of the example of FIG.

【図5】データ処理装置の従来例の概略構成図である。FIG. 5 is a schematic configuration diagram of a conventional example of a data processing device.

【図6】偶奇判断回路の一例の回路図である。FIG. 6 is a circuit diagram of an example of an even / odd determination circuit.

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

1 メモリ 2 アドレスレコーダ 3 アドレスバス 4 冗長信号有効信号 5 冗長信号 6 データ及び命令バス 7 命令フェッチ段 8 命令デコード段 9 命令実行段 10 プロセッサ 11 偶奇判断結果信号 12 偶奇判断回路 13 バスエラー信号 15 外部判断回路 16 同期化エラー信号 17 同期化信号 18 同期回路 1 memory 2 address recorder 3 address bus 4 redundant signal valid signal 5 redundant signal 6 data and instruction bus 7 instruction fetch stage 8 instruction decode stage 9 instruction execution stage 10 processor 11 even / odd decision circuit 12 even / odd decision circuit 13 bus error signal 15 external Judgment circuit 16 Synchronization error signal 17 Synchronization signal 18 Synchronization circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 供給されるデータ又は命令を実行する命
令実行部と、 命令実行部から出力されるアドレス信号をデコードし、
出力するとともに、冗長信号有効信号を出力するアドレ
スデコーダと、 データ及び命令を記憶し、データ又は命令読みだし時に
は、アドレスデコーダから出力されるアドレス信号に従
って、データ又は命令を出力するとともに、このデータ
又は命令の冗長信号を出力する記憶手段と、 上記記憶手段から出力されるデータ又は命令と、上記冗
長信号とをフェッチする命令フェッチ部と、 上記命令フェッチ部にフェッチされたデータ又は命令の
2進化情報の1又は0の合計数と、冗長信号と、アドレ
スデコーダから出力された冗長信号有効信号とに基づい
て、データ又は命令が使用可能か不可能かを示す偶奇判
断結果信号を出力する偶奇判断部と、 偶奇判断部から出力される偶奇判断結果信号に従って、
命令フェッチ部にフェッチされたデータ又は命令が使用
可能か不可能かを判断し、使用可能の場合には、上記デ
ータ又は命令をデコードし、上記命令実行部に供給する
命令デコード部と、 を備えることを特徴とするデータ
処理装置。
1. An instruction executing unit for executing supplied data or an instruction, and an address signal output from the instruction executing unit,
An address decoder that outputs a redundant signal valid signal while outputting, stores data and an instruction, and outputs the data or the instruction according to the address signal output from the address decoder when reading the data or the instruction. Storage means for outputting a redundancy signal of an instruction, data or instruction output from the storage means, an instruction fetch unit for fetching the redundancy signal, and binary information of data or instruction fetched by the instruction fetch unit 1 or 0, the redundant signal, and the redundant signal valid signal output from the address decoder to output an even-odd determination result signal indicating whether the data or the instruction can be used or not. According to the even / odd judgment result signal output from the even / odd judgment unit,
An instruction decoding unit that determines whether the data or instruction fetched by the instruction fetch unit is available or not, and if the data or instruction is available, decodes the data or instruction and supplies the instruction or execution unit with the instruction decoding unit; A data processing device characterized by the above.
【請求項2】 供給されるデータ又は命令を実行する命
令実行部と、 命令実行部から出力されるアドレス信号をデコードし、
出力するアドレスデコーダと、 データ及び命令を記憶し、データ又は命令読みだし時に
は、アドレスデコーダから出力されるアドレス信号に従
って、データ又は命令を出力するとともに、このデータ
又は命令の冗長信号を出力する記憶手段と、 上記記憶手段から出力されるデータ又は命令をフェッチ
する命令フェッチ部と、 上記記憶手段から出力されるデータ又は命令の2進化情
報の1又は0の合計数と、冗長信号とに基づいて、デー
タ又は命令が使用可能か不可能かを判断し、命令フェッ
チ部の動作と同期して、データ又は命令が使用可能か不
可能かを示す判断信号を出力する判断部と、 上記判断部から出力される判断信号に従って、命令フェ
ッチ部にフェッチされたデータ又は命令が使用可能か不
可能かを判断し、使用可能の場合には、上記データ又は
命令をデコードし、上記命令実行部に供給する命令デコ
ード部と、 を備えることを特徴とするデータ処理装
置。
2. An instruction executing section for executing supplied data or an instruction, and an address signal output from the instruction executing section,
An address decoder for outputting and data and instructions are stored, and when reading out the data or instructions, the storage means for outputting the data or instructions according to the address signal output from the address decoder and outputting the redundant signal of the data or instructions. An instruction fetch unit that fetches data or an instruction output from the storage unit, a total number of 1 or 0 of binary information of the data or instruction output from the storage unit, and a redundant signal, A determination unit that determines whether the data or instruction is available or not, and outputs a determination signal indicating whether the data or instruction is available or unavailable in synchronization with the operation of the instruction fetch unit, and is output from the determination unit. According to the determination signal that is made, it is determined whether the data or instruction fetched by the instruction fetch unit can be used, and if it is available, An instruction decoding unit that decodes the data or instruction and supplies the instruction or execution unit to the instruction execution unit.
【請求項3】 請求項1又は請求項2記載のデータ処理
装置において、データ又は命令書き込み時には、命令フ
ェッチ部から上記記憶手段にデータ又は命令とこのデー
タ又は命令の冗長信号とを上記記憶手段に供給し、この
記憶手段は,供給されたデータ又は命令と冗長信号と
を、アドレスデコーダからのアドレス信号が示すアドレ
スに記憶することを特徴とするデータ処理装置。
3. The data processing device according to claim 1 or 2, when writing data or an instruction, the instruction fetch unit stores the data or the instruction and the redundant signal of the data or the instruction in the storage means. The data processing device is characterized in that the storage means stores the supplied data or instruction and the redundant signal at the address indicated by the address signal from the address decoder.
JP18706392A 1992-07-14 1992-07-14 Data processor Pending JPH0635695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18706392A JPH0635695A (en) 1992-07-14 1992-07-14 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18706392A JPH0635695A (en) 1992-07-14 1992-07-14 Data processor

Publications (1)

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

Family

ID=16199505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18706392A Pending JPH0635695A (en) 1992-07-14 1992-07-14 Data processor

Country Status (1)

Country Link
JP (1) JPH0635695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185176B2 (en) 2002-06-03 2007-02-27 Matsushita Electric Industrial Co., Ltd, Processor executing SIMD instructions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185176B2 (en) 2002-06-03 2007-02-27 Matsushita Electric Industrial Co., Ltd, Processor executing SIMD instructions

Similar Documents

Publication Publication Date Title
US4961162A (en) Multiprocessing system for performing floating point arithmetic operations
US6760835B1 (en) Instruction branch mispredict streaming
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
US7146490B2 (en) Processing system and method for efficiently enabling detection of data hazards for long latency instructions
EP0223150B1 (en) Information processing apparatus
US5421026A (en) Data processor for processing instruction after conditional branch instruction at high speed
JPH0635695A (en) Data processor
JPH11110214A (en) Command control system and method for the same
EP0374598B1 (en) Control store addressing from multiple sources
EP0334131B1 (en) Data processor performing operation on data having length shorter than one-word length
US6425047B1 (en) Process containing address decoders suited to improvements in clock speed
JP2004510248A (en) FIFO write / LIFO read trace buffer with software and hardware loop compression
JP2894438B2 (en) Pipeline processing equipment
JP3569811B2 (en) Data processing device having pipeline processing function
JPH0950376A (en) Data processor
JPH06131180A (en) Instruction processing system and instruction processor
JPH05100883A (en) Semiconductor device for processing data
JPH05181742A (en) Store merge control system
JP2000020309A (en) Digital signal processor
JP3242474B2 (en) Data processing device
JP2005010995A (en) Multiprocessor system and process for dealing with trouble of write-back thereof
JPH0248733A (en) Information processor
JP2636513B2 (en) Storage device and method
JPH0784827A (en) Trace device
JPH03164945A (en) Data processor