JPS5936853A - Operation processor - Google Patents

Operation processor

Info

Publication number
JPS5936853A
JPS5936853A JP57146367A JP14636782A JPS5936853A JP S5936853 A JPS5936853 A JP S5936853A JP 57146367 A JP57146367 A JP 57146367A JP 14636782 A JP14636782 A JP 14636782A JP S5936853 A JPS5936853 A JP S5936853A
Authority
JP
Japan
Prior art keywords
register
read
address
data
arithmetic
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
JP57146367A
Other languages
Japanese (ja)
Inventor
Yoshinobu Ikeda
池田 義伸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57146367A priority Critical patent/JPS5936853A/en
Publication of JPS5936853A publication Critical patent/JPS5936853A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2226Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test ALU

Abstract

PURPOSE:To detect a writing error without reducing processing speed and to improve the reliability of the titled device by writing an arithmetic result in a combined data reading/writing address and immediately comparing the written data with the read-out arithmetic result. CONSTITUTION:The storage address of an arithmetic result by the 1st micro- instruction is held in a storage address register 3. Four bits out of the 1st microinstruction in a microinstruction register 5 are held in an operation mode register 8 to specify the operation of an arithmetic unit 9. In the 1st machine cycle of the succeeding microinstruction, a comparator 12 compares the output data of the arithmetic unit 9 with the data read out by the address indicated by the register 3. If an error is detected in the compared result, a dissidence signal is outputted from a register memory 4. The output signal stops the operation processor to inform the generation of the writing error.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は演算処理装置に関する。[Detailed description of the invention] [Technical field to which the invention pertains] The present invention relates to an arithmetic processing device.

〔従来技術〕[Prior art]

従来、演算処理装置は、第1図に示すように、マイクロ
命令レジスタ5に保持されたマイクロ命令で示されるレ
ジスタメモリ4のアドレスをセレクタ6で選択すること
により、第1のマシンサイクルでレジスタメモリ4のデ
ータをレジスタ】に保持し、第2のマシンサイクルでレ
ジスタメモリ4のデータをレジスタ2に保持し、第3の
マシンサイクルで演a、装置9で演算した結果をレジス
タメモリ4に書込み、一つのマイクロ命令の実行が終了
するようになっていた。従ってレジスタメモリ4の書込
み時のエラーは検出されないが、又はパリティチェック
機能付きであれは、レジスタメモリ4に書込んだデータ
が必要になった時点でエラーを検出できるが、どの部分
のエラーか判断できないという欠点があった。
Conventionally, as shown in FIG. 1, an arithmetic processing device selects an address in the register memory 4 indicated by a microinstruction held in a microinstruction register 5 with a selector 6, thereby saving the register memory in the first machine cycle. In the second machine cycle, the data in the register memory 4 is held in the register 2, and in the third machine cycle, the result of the operation in the device 9 is written to the register memory 4. Execution of one microinstruction ended. Therefore, errors when writing to register memory 4 are not detected, or if the parity check function is included, errors can be detected when the data written to register memory 4 is needed, but it is difficult to determine which part of the error occurs. The drawback was that it couldn't be done.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、演算結果を格納するレジスタメモリに
データ読出し専用のアドレス端子と、データ書込み読出
し兼用のアドレス端子と、データ書込み端子と、前記デ
ータ読出し書込み兼用アドレスにより読出されたデータ
と前記書込みデータとを比較する比較器と、該比較器の
比較結果を出力する端子とを有するレジスタメモリを使
用し、演算結果をデータ読出し書込み兼用アドレスに盲
込み、この書込みデータを直ちに読出し演算結果と比較
し、比較結果が不一致であれば書込みエラー信号を出力
しエラー処理の制御信号とし、信頼性を高め、しかも処
理速度を落さない演算処FT!装置を提供することにあ
る。
An object of the present invention is to provide a register memory for storing calculation results with an address terminal exclusively used for data reading, an address terminal used for both data writing and reading, a data writing terminal, and the data read by the data read/write address and the data read from the data read/write address. Using a register memory that has a comparator that compares data and a terminal that outputs the comparison result of the comparator, the calculation result is stored in the data read/write address, and this written data is immediately read and compared with the calculation result. However, if the comparison results do not match, a write error signal is output and used as a control signal for error processing, increasing reliability and not slowing down processing speed. The goal is to provide equipment.

〔発明の構成〕[Structure of the invention]

本発明によると、演算装置と、該演′に装置の第1及び
第2の入力データを一時的に保持する第1および第2の
レジスタと、演算結果を格納するレジスタメモリの書込
みアドレスを一時保持する第3のレジスタと、読出専用
のアドレスの端子、該読出専用のアドレスにより読出さ
れるデータの読出端子、読出し書込み兼用のアドレスの
端子、データ書込み端子、及び前記読出し書込み兼用ア
ドレスにより読出されたデータと前記書込み端子のデー
タを比較する比較器I及び該比較器の比較結果を出力す
る端子を有するレジスタメモリと、前記演算装置の演算
モードを保持する演算モードレジスタとを含み、実行中
の1つ前のマイクロ命令で設定されたアドレスを前記第
3のレジスタに保持し実行中の命令の第1のマシンサイ
クルで比較結果によりレジスタメモリの書込みエラーを
検出できるようにしたことを特徴とする演舞処理装置が
得られる。
According to the present invention, an arithmetic device, first and second registers that temporarily hold first and second input data of the device, and a write address of a register memory that stores arithmetic results are temporarily set. a third register to hold, a read-only address terminal, a read terminal for data read by the read-only address, a read/write address terminal, a data write terminal, and a data write terminal for data read by the read/write address; a register memory having a comparator I that compares the written data with the data of the write terminal, a register memory having a terminal that outputs the comparison result of the comparator, and an arithmetic mode register that holds the arithmetic mode of the arithmetic unit; The address set by the previous microinstruction is held in the third register, and a write error in the register memory can be detected from the comparison result in the first machine cycle of the instruction being executed. A performance processing device is obtained.

第2図は不発明の一実施例のブロック図、第3図はその
g作を説明するタイムチャート、第4図は第2図中のレ
ジスタメモリの詳細を示すもので、第2図で1は第1の
レジスタ/%2は第2のレジスタ、3は第3のレジスタ
、4はレジスタメモリ、5はマイクロ命令レジスタ、7
けリードアドレスセレクタ、8は演算モードレジスタ、
9は演算装置である。また第4図中11は出力ドライツ
ク、12は比較器、13は読出専用のアドレス端子、1
4は咳読出専用のアドレスによシ読出されるデータの読
出端子、15は読出し書込み兼用のアドレス端子、16
はデータ書込み端子、及び17は前記読出し書込み兼用
アドレスにより読出されたデータの読出端子である。マ
イクロ命令がマイクロ命令レジスタ5に保持されると、
命令毎にファンクションコードがデコードされ、萌紀マ
イクロ命令レジスタ5に保持されている命令の動作が決
定される。
Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is a time chart explaining the g operation, and Fig. 4 shows details of the register memory in Fig. 2. is the first register/%2 is the second register, 3 is the third register, 4 is the register memory, 5 is the microinstruction register, 7
8 is the read address selector, 8 is the calculation mode register,
9 is a calculation device. In Fig. 4, 11 is an output drive, 12 is a comparator, 13 is a read-only address terminal, 1
4 is a read terminal for data read from an address exclusively for reading, 15 is an address terminal for both reading and writing, and 16
1 is a data write terminal, and 17 is a read terminal for data read by the read/write address. When the microinstruction is held in the microinstruction register 5,
The function code is decoded for each instruction, and the operation of the instruction held in the Moeki microinstruction register 5 is determined.

第3図に示す第1のマイクロ命令(al (INS’l
”(11)が前記マイクロ命令レジスタ5に保持される
と、3つのマシンサイクル(第3図(b) )で命令の
実行が行われる。先ず、第1のマシンサイクルで32ビ
ツトのマイクロ命令レジスタ5の内8ビットがセレクタ
7を通してレジスタメモリ4のリードアドレスとなシ、
読出されたデータがレジスタ1に保持される(第3図(
C))。このリードアドレスは演算結果の格納アドレス
となる為レジスタ3に保持される(第3図(f))。又
、前記マイクロ命令レジスタ5内の4ビツトが演算モー
ドレジスタ8に保持され(第3図(i))、演算装#9
の動作を指示する。次に第2のマシンサイクルでマイク
ロ命令レジスタ5の内の前記8ビツトとは別の8ビツト
がセレクタ7を通してレジスタメモリ4のアドレスとな
シ、読出され/ヒデータがレジスタ2に保持される(@
3図(d))。次に第3のマシンサイクルでは演算動作
が行われ(第3図(e))、第3図(11)の書込みパ
ルスでレジスタメモリ4のレジスタ3で示すアドレスに
書込まれる。これでマイクロ命令11 (IN8 T(
it)の実行は完了する。
The first microinstruction (al (INS'l
"(11) is held in the microinstruction register 5, the instruction is executed in three machine cycles (FIG. 3(b)). First, in the first machine cycle, the 32-bit microinstruction register is 8 bits out of 5 become the read address of register memory 4 through selector 7,
The read data is held in register 1 (see Figure 3 (
C)). This read address is held in the register 3 because it becomes the storage address for the calculation result (FIG. 3(f)). In addition, 4 bits in the microinstruction register 5 are held in the operation mode register 8 (FIG. 3(i)), and the operation unit #9
instructs the operation of Next, in the second machine cycle, 8 bits other than the above 8 bits in the microinstruction register 5 are read out through the selector 7 as an address in the register memory 4, and the data is held in the register 2 (@
Figure 3(d)). Next, in the third machine cycle, an arithmetic operation is performed (FIG. 3(e)), and data is written to the address indicated by the register 3 of the register memory 4 using the write pulse shown in FIG. 3(11). Now microinstruction 11 (IN8 T(
The execution of it) is completed.

次いでマイクロ命令レジスタ5に第3図(a)のマイク
ロ命令(I N 81’ (z))が保持され[I N
 8 i’ (ll)同様に実行される。マイクロ命令
(I N 8 T (2))の第1のマシンサイクルで
は(INST(IJ)の演算モードが演算モードレジス
タ8に、又、(INST(iマイクロ命令の格納アドレ
スがレジスタ3に保持されでおり、演算装置90出力テ
ータとレジスタ3の示すアドレスで読出されたテークが
第4図に示す比較器12で比較され、比較結果にエラー
かある時1j不一致信号(第3図(g))としてレジス
タメモリ4から出力される。この出力信号により演算処
理装置が停止し書込みエラーが発生したことを知らせる
Next, the microinstruction (I N 81' (z)) shown in FIG. 3(a) is held in the microinstruction register 5 and [I N
8 i' (ll) is similarly executed. In the first machine cycle of the microinstruction (I N 8 T (2)), the operation mode of (INST(IJ) is held in the operation mode register 8, and the storage address of the (INST(i) microinstruction is held in register 3. Then, the output data of the arithmetic unit 90 and the take read at the address indicated by the register 3 are compared by the comparator 12 shown in FIG. is outputted from the register memory 4 as .This output signal causes the arithmetic processing unit to stop and informs that a write error has occurred.

〔発明の効果〕〔Effect of the invention〕

本発明は以上説明したように処理速度を落すことなく、
レジスタメモリに書込んだ演算結果が正しくなければ不
一致信号を出力し、書込みエラーを早期に発見でき信頼
性を高める効果がある。
As explained above, the present invention does not reduce processing speed,
If the calculation result written to the register memory is incorrect, a mismatch signal is output, which has the effect of detecting a write error early and improving reliability.

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

第1図は従来の一例を示すブロック図、第2図は本発明
の一実施例を示すブロック図、第3図は本発明の動作を
示すタイツ、チャート、第4図は本発明で使用するレジ
スタメモリの一例のブロック図である。 1・・・・・・第1のレジスタ、2・・・・・・第2の
レジスタ、3・・・・・・第3のレジスタ、4・・・・
・・レジスタメモリ、5・・・・・・マイクロ命令レジ
スタ、7・・・・・リー ドアドレスセレクタ、8・・
・・・演算モードレジスタ、9・・・・・・演算装置、
11・・・・・出方ドライバ、12・・・山比較器。 箭1@ 一較綬キa号 第 2 @ 1弓五とテプ 第 4面
Fig. 1 is a block diagram showing an example of the conventional technology, Fig. 2 is a block diagram showing an embodiment of the present invention, Fig. 3 is a tights and chart showing the operation of the present invention, and Fig. 4 is a block diagram showing an example of the present invention. FIG. 2 is a block diagram of an example of a register memory. 1...First register, 2...Second register, 3...Third register, 4...
...Register memory, 5...Micro instruction register, 7...Read address selector, 8...
... Arithmetic mode register, 9... Arithmetic device,
11...Output driver, 12...Mountain comparator.箭1@ Ichikyo Ribbon A No. 2@ 1 Yugo and Taepu, page 4

Claims (1)

【特許請求の範囲】[Claims] 演算装置と、該演算装置の第1及び第2の入力データを
一時的に保持する第1および第2のレジスタと、演算結
果を格納するレジスタメモリの書込みアドレスを一時保
持する第3のレジスタと、読出専用のアドレスの端子、
該読出専用のアドレスによシ読出されるデータの読出端
子、読出し書込み兼用のアドレスの端子、データ書込み
端子、及び前記読出し書込み兼用アドレスによシ読出さ
れたデータと前記書込み端子のデータを比較する比較器
及び該比較器の比較結果を出力する端子を有するレジス
タメモリと、前記演算装置の演算モードを保持する演算
モードレジスタとを含み、実行中のl′l)前のマイク
ロ命令で設定されたアドレスを前記第3のレジスタに保
持し実行中の命令の第1のマシンサイクルで比較結果に
ょシレジスタメモリの書込みエラーを検出できるように
したことを特徴とする演算処理装置。
an arithmetic device, first and second registers that temporarily hold first and second input data of the arithmetic device, and a third register that temporarily holds a write address of a register memory that stores a calculation result. , read-only address terminal,
Compare the read terminal of the data read by the read-only address, the terminal of the read/write address, the data write terminal, and the data read by the read/write address and the data of the write terminal. It includes a register memory having a comparator and a terminal for outputting the comparison result of the comparator, and an arithmetic mode register that holds the arithmetic mode of the arithmetic unit, which was set by the previous microinstruction during execution. An arithmetic processing device characterized in that an address is held in the third register and a write error in the register memory can be detected as a comparison result in the first machine cycle of an instruction being executed.
JP57146367A 1982-08-24 1982-08-24 Operation processor Pending JPS5936853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57146367A JPS5936853A (en) 1982-08-24 1982-08-24 Operation processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57146367A JPS5936853A (en) 1982-08-24 1982-08-24 Operation processor

Publications (1)

Publication Number Publication Date
JPS5936853A true JPS5936853A (en) 1984-02-29

Family

ID=15406113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57146367A Pending JPS5936853A (en) 1982-08-24 1982-08-24 Operation processor

Country Status (1)

Country Link
JP (1) JPS5936853A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61263727A (en) * 1985-05-20 1986-11-21 Diafoil Co Ltd Lateral extending of film
JPH03129523A (en) * 1989-07-11 1991-06-03 Tandem Comput Inc Method and device for processing data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61263727A (en) * 1985-05-20 1986-11-21 Diafoil Co Ltd Lateral extending of film
JPH03129523A (en) * 1989-07-11 1991-06-03 Tandem Comput Inc Method and device for processing data

Similar Documents

Publication Publication Date Title
US3518413A (en) Apparatus for checking the sequencing of a data processing system
KR900002604B1 (en) Restoring method and apparatus for the error of processor
JPH0581143A (en) Device and method of checking address and content of memory address
JPS5938677B2 (en) Control word transfer control device
JPS5936853A (en) Operation processor
JPH11232211A (en) Dma control device and its method
JPS60181851A (en) Partial writing control system
JPS58115565A (en) Data processor
JP2536238B2 (en) Information processing device
JPS60214043A (en) Pipeline control circuit
JPS5939777B2 (en) control storage
JPS58186851A (en) Error checking device
JP3153063B2 (en) Micro program controller
JPS61246841A (en) Information processor
JPS59129995A (en) Storage device
JPS6261974B2 (en)
JPS6161418B2 (en)
JPS63216150A (en) Storage device
JPS6158049A (en) Error detection
JPH01166144A (en) Debugging system for firmware program
JPH0194447A (en) Diagnosing circuit
JPS59226941A (en) Arithmetic processor
JPH05173779A (en) Digital arithmetic integrated circuit
JPS62130436A (en) Trace controller
JPS61160149A (en) Data processor