JPH04352239A - Data processor - Google Patents

Data processor

Info

Publication number
JPH04352239A
JPH04352239A JP3126325A JP12632591A JPH04352239A JP H04352239 A JPH04352239 A JP H04352239A JP 3126325 A JP3126325 A JP 3126325A JP 12632591 A JP12632591 A JP 12632591A JP H04352239 A JPH04352239 A JP H04352239A
Authority
JP
Japan
Prior art keywords
data
register
error
auxiliary
ecc
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
JP3126325A
Other languages
Japanese (ja)
Inventor
Yoshiharu Ono
大野 義治
Masashi Takada
高田 真至
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP3126325A priority Critical patent/JPH04352239A/en
Publication of JPH04352239A publication Critical patent/JPH04352239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To improve the use efficiency of hardware in mounting units by realizing an error correcting circuit which is reduced in connection signal performance among the mounting units and to decrease the hardware quantity by allowing plural control memories to share the error correcting circuit. CONSTITUTION:The data processor is equipped with a data register 2 which holds data with an ECC(error correction code) and an auxiliary data register 6 which can store the data with the ECC. Further, the system is equipped with an error correcting means 7 which refers to the ECC data transferred to the auxiliary data register 6, corrects an error if there is the error, and supplies it to the auxiliary data register 6 and an inspecting means 4 which inspects an error of data in the data register 2; and the ECC data in the data register 2 is transferred to the auxiliary data register 6 in response to the report from the inspecting means 4, and then transferred to the data register 2 after the error of the data with the ECC is corrected.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はデータ処理装置に関し、
特にエラー訂正符号を付加したマイクロプログラムに制
御されるデータ処理装置におけるエラー訂正に関する。
[Industrial Application Field] The present invention relates to a data processing device.
In particular, the present invention relates to error correction in a data processing device controlled by a microprogram to which an error correction code is added.

【0002】0002

【従来の技術】エラー訂正符号技術は元来、ディジタル
データ通信における信号伝送路の誤りを訂正する技術と
して発展してきたが、電子計算機を初めとするデータ処
理分野における高信頼性要求のへの対策として各種のデ
ータ処理機器のメモリ装置に採用されている。高信頼性
を実現する他の手段として、エラー訂正符号技術を制御
記憶へ適用する手法がある。制御記憶はWilkesに
より提唱されて以来、多くのデータ処理装置にて採用さ
れており、Hussun著「Micro  progr
am  theory  and  princepl
es」(Copyright  1962  pren
tice−hall)等の文献により汎く知られている
。また制御記憶に誤り訂正符号を適用する技術は特公昭
62−027417号公報にて記述されている。この誤
り訂正符号技術では元データから誤り訂正符号を生成し
て元データと共に制御記憶に保持しておき読出時に誤り
の有無をcheckするもので、誤り検出/訂正回路に
おいてはデータ部と誤り訂正符号部を参照することが必
須である。 従って誤り検出/訂正回路は多数の信号の接続を必要と
する。
[Background Art] Error correction code technology was originally developed as a technology for correcting errors in signal transmission paths in digital data communications, but it has also been developed as a countermeasure for high reliability requirements in the data processing field, including electronic computers. It is used as a memory device in various data processing equipment. Another means of achieving high reliability is to apply error correction code technology to control storage. Since control memory was proposed by Wilkes, it has been adopted in many data processing devices, and is described in "Micro program memory" by Hussun.
am theory and princepl
es” (Copyright 1962 pren
It is widely known from the literature such as Tice-Hall. Further, a technique for applying an error correction code to control memory is described in Japanese Patent Publication No. 62-027417. This error correction code technology generates an error correction code from original data, stores it in control memory together with the original data, and checks the presence or absence of errors when reading out the data.In the error detection/correction circuit, the data part and the error correction code are It is essential to refer to the section. Therefore, error detection/correction circuits require multiple signal connections.

【0003】一方、近年LSI技術は急速に発展し、L
SIに内蔵するゲート数は飛躍的に増加した。しかしな
がらLSIの入出力ピンの数の増加は物理寸法の制約か
らゲート数の増加よりもはるかに小さいのが現状であっ
て、多数の入出力ピンを費す回路をLSI化した場合、
LSI内のゲートを十分に使用できず結果として資源の
有効的利用の観点から非効率なLSIとならざるを得な
かった。
On the other hand, LSI technology has developed rapidly in recent years, and
The number of gates built into SI has increased dramatically. However, the increase in the number of LSI input/output pins is currently much smaller than the increase in the number of gates due to physical size constraints, and when a circuit that requires a large number of input/output pins is converted into an LSI,
The gates within the LSI could not be used sufficiently, resulting in an LSI that was inefficient in terms of effective use of resources.

【0004】0004

【発明が解決しようとする課題】上述した従来の誤り訂
正回路は、多数の信号を使用する為、LSI化する際に
は制御記憶と同じLSIに配置せざるを得なかったので
、LSIのゲート数制御により誤り訂正回路を制御記憶
LSIに配置できない場合、誤り訂正回路を採用しない
かまたは使用ゲート数の少い誤り訂正回路LSIを使用
せざるを得なかった。その為、前者では信頼性の低下,
後者では金物量の増加と原価の増加を招くという欠点が
あった。さらには、従来の誤り訂正回路は信号接続数が
多数である為、誤り訂正回路は制御記憶対応に設ける必
要があり、金物量の削減と原価の低減を困難にしていた
[Problems to be Solved by the Invention] The conventional error correction circuit described above uses a large number of signals, so when converting it into an LSI, it had to be placed on the same LSI as the control memory. When an error correction circuit cannot be placed in a control storage LSI due to number control, it is necessary to either not employ an error correction circuit or to use an error correction circuit LSI that uses a small number of gates. Therefore, in the former case, reliability decreases,
The latter had the disadvantage of increasing the amount of gold and the cost. Furthermore, since the conventional error correction circuit has a large number of signal connections, it is necessary to provide the error correction circuit for control storage, making it difficult to reduce the amount of hardware and cost.

【0005】また、複数の制御メモリを内蔵するデータ
処理装置においては、前述のようなLSIの入出力信号
数の制約により、制御メモリ毎に誤り訂正回路を設けざ
るを得ず、誤り訂正回路を制御メモリ間で共用すること
を困難にしていた。
Furthermore, in a data processing device incorporating a plurality of control memories, it is necessary to provide an error correction circuit for each control memory due to the above-mentioned restriction on the number of input/output signals of the LSI. This made it difficult to share control memory between devices.

【0006】[0006]

【課題を解決するための手段】本発明のデータ処理装置
は誤り訂正コード(ECC)付データを保持するデータ
レジスタと、該ECC付データを格納可能な補助データ
レジスタと、前記データレジスタ内のデータを前記補助
データレジスタへ移送する第1転送手段と、前記補助デ
ータレジスタ内のデータを前記データレジスタへ転送す
る第2転送手段と、前記補助データレジスタ内のECC
データを参照し、誤りが存在する場合誤りを訂正して前
記補助データレジスタへ供給する誤り訂正手段と、前記
データレジスタ内データの誤りを検査する検査手段と、
該検査手段からの検出報告に応答して前記第1転送手段
に前記データレジスタ内のECC付データを前記補助デ
ータレジスタへ移送させ、該転送後のECC付データの
誤りを前記誤り訂正手段にて訂正した後に、前記第2転
送手段に指示しデータレジスタへ転送せしめる制御手段
とを有する。
[Means for Solving the Problems] A data processing device of the present invention includes a data register that holds data with an error correction code (ECC), an auxiliary data register that can store the data with the ECC, and data in the data register. a first transfer means for transferring the data in the auxiliary data register to the auxiliary data register; a second transfer means for transferring the data in the auxiliary data register to the data register; and an ECC in the auxiliary data register.
an error correction means that refers to the data, corrects the error if an error exists, and supplies the corrected data to the auxiliary data register; and a checking means that checks the data in the data register for errors;
In response to the detection report from the inspection means, the first transfer means transfers the ECC data in the data register to the auxiliary data register, and the error correction means corrects errors in the ECC data after the transfer. and control means for instructing the second transfer means to transfer the data to the data register after correction.

【0007】本発明に係る他のデータ処理装置はECC
付データを保持する複数のデータレジスタと、該複数の
データレジスタ内の各々のデータの誤りを検査する複数
の検査手段と、該ECC付データを格納可能なデータ幅
を有する補助データレジスタと、該補助データレジスタ
内のECC付データの誤りを訂正し該補助データへ供給
する誤り訂正回路と、前記データレジスタから1つのレ
ジスタを選択して保持するデータを補助データレジスタ
へ移送する第1転送手段と、前記補助データレジスタか
ら前記のデータレジスタの1つを選択して保持するデー
タを移送する第2転送手段と前記検査手段からの誤り報
告信号に応答して該誤り報告信号に対応する前記データ
レジスタを選択して保持するデータを該補助レジスタへ
移送するように前記第1転送手段へ指示し、前記誤り訂
正回路が誤りを訂正したデータを前記補助データレジス
タから前記のデータレジスタへ選択的に移送する制御回
路とを有する。
Another data processing device according to the present invention is an ECC
a plurality of data registers for holding data with ECC, a plurality of checking means for checking errors in each data in the plurality of data registers, an auxiliary data register having a data width capable of storing the data with ECC; an error correction circuit that corrects errors in data with ECC in an auxiliary data register and supplies the auxiliary data; and a first transfer means that selects one register from the data registers and transfers the held data to the auxiliary data register. , a second transfer means for selecting one of said data registers from said auxiliary data register and transferring the data therein; and said data register corresponding to said error report signal in response to said error report signal from said checking means. instructing the first transfer means to select and transfer the held data to the auxiliary register, and selectively transfer the data whose errors have been corrected by the error correction circuit from the auxiliary data register to the data register. and a control circuit.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0009】図1は本発明の一実施例を示すブロック図
である。図1において、制御メモリ1はデータとデータ
に対応したエラー訂正符号(以下の説明ではECCと呼
ぶ)を対にして、アドレスレジスタ(CAR)3によっ
てアドレスされる記憶位置に保持し、制御メモリ1の出
力を読出レジスタ(CSR)2に送出する。読出レジス
タ(CSR)2はシフト機能付きフリップフロップ群に
よって構成され、シフト入力端子(SI)とシフト出力
端子(SO)を備えている。またCSR2は並列入力と
して制御メモリ2の出力を受信するとともに、前述のフ
リップフロップ群の保持する値を並列出力として演算ユ
ニット8へ供給し、演算ユニット8の動作を制御する。 さらにCSR2の並列出力は誤り検出回路4に送信され
、誤り検出回路4にて誤りチェックされる。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, a control memory 1 stores data and an error correction code (hereinafter referred to as ECC) corresponding to the data as a pair in a storage location addressed by an address register (CAR) 3. The output is sent to the read register (CSR) 2. The read register (CSR) 2 is composed of a group of flip-flops with a shift function, and includes a shift input terminal (SI) and a shift output terminal (SO). Further, the CSR 2 receives the output of the control memory 2 as a parallel input, and supplies the values held by the aforementioned flip-flop group as a parallel output to the arithmetic unit 8, thereby controlling the operation of the arithmetic unit 8. Furthermore, the parallel outputs of the CSR 2 are sent to an error detection circuit 4, where they are checked for errors.

【0010】この誤り検出方式は採用したECCによる
、例えばSEC/DED方式を採用すれば、特公昭62
−032821号公報のような回路を使用することにな
る。誤り検出回路4は誤りを検出した場合、制御回路5
に報告する。制御回路5はこの誤り報告信号に応答して
、信号線104を介して演算ユニット8およびCAR3
の更新を抑止させるとともに、CSR2の並列入力端子
からのデータ入力を抑止する。
[0010] This error detection method is based on the adopted ECC, for example, if the SEC/DED method is adopted, the
A circuit such as that disclosed in Japanese Patent No. 032821 will be used. When the error detection circuit 4 detects an error, the control circuit 5
Report to. The control circuit 5 responds to this error report signal to the arithmetic unit 8 and the CAR 3 via the signal line 104.
The update of CSR2 is suppressed, and data input from the parallel input terminal of CSR2 is suppressed.

【0011】一方、図1の中央の一転鎖線は実装単位の
境界を示しており、実装単位としてはLSIもしくはプ
リント板の適切な形態を選択することが望ましい。制御
回路5は制御信号103を介してCSR2および補助デ
ータレジスタ(AUXR)6のシフト機能を制御する。 AUXR6は、CSR2のシフト出力端子(SO)から
出力された、シフトデータ信号線101を経由して直列
的に送出されるデータを受信するシフト入力端子(SI
)と、AUXR6内のデータをシフトデータ信号線10
2を経由してCSR2のシフト入力端子(SI)に送出
するシフト出力端子(SO)を備えるとともに、AUX
R6のフリップフロップ数はCSR2のフリップフロッ
プ数と同一の値で構成され、両レジスタ間のシフト転送
により過不足なく保持するデータを交換可能な構成とな
っている。さらにAUXR6は保持するデータを並列に
入出力する端子を備えている。データパス107を介し
てエラー訂正回路(EDAC)7はAUXR6の全フリ
ップフロップ内のデータを一時に参照できる。このED
AC7はECC付データの誤りを訂正するように構成さ
れている。EDACの具体的な構成は採用されたECC
方式に依存する。例えば、1ビット誤り訂正2ビット誤
り検出(SEC/DED)方式であれば、特公昭62−
032821号公報に記載のような回路を使用できる。 EDAC7の出力はデータパス108を介してAUXR
6の並列入力端子から誤り訂正データとして入力される
On the other hand, the dashed line in the center of FIG. 1 indicates the boundary of the mounting unit, and it is desirable to select an appropriate form of LSI or printed board as the mounting unit. Control circuit 5 controls the shift functions of CSR 2 and auxiliary data register (AUXR) 6 via control signal 103. AUXR6 is a shift input terminal (SI
) and shift the data in AUXR6 to the data signal line 10.
It is equipped with a shift output terminal (SO) that sends out to the shift input terminal (SI) of CSR2 via AUX
The number of flip-flops in R6 is the same as the number of flip-flops in CSR2, and the structure is such that data held in just the right amount can be exchanged by shift transfer between both registers. Furthermore, AUXR6 is provided with a terminal for inputting and outputting held data in parallel. Via the data path 107, the error correction circuit (EDAC) 7 can refer to the data in all flip-flops of AUXR6 at once. This ED
AC7 is configured to correct errors in ECC data. The specific configuration of EDAC is the adopted ECC.
Depends on the method. For example, if the 1-bit error correction 2-bit error detection (SEC/DED) method is used,
A circuit such as that described in Japanese Patent No. 032821 can be used. The output of EDAC 7 is sent to AUXR via data path 108.
The error correction data is inputted from the parallel input terminals 6 to 6 as error correction data.

【0012】ここで制御メモリから読み出されたCSR
2内のデータに誤りがある場合に、誤り検出および訂正
を行う機構を説明する。CSR2の出力は誤り検出回路
4により検査され、誤り検出回路4は誤りの存在を制御
回路5に報告し、制御回路5はCAR3および演算ユニ
ット8内の状態の更新を抑止するとともにCSR2の並
列入力端子からのデータ入力を抑止する。続いて制御回
路5は制御信号線103を介してCSR2とAUXR6
にシフト指示を両レジスタ内のデータが交換される迄に
送出し続ける。AUXR6に移送された誤りを含んだデ
ータはEDAC7により誤りを訂正され、AUXR6に
送出される。制御回路5は制御線105を介して並列入
力端子から訂正済データのストローブを指示する。続い
て制御回路5は制御線103を介してCSR2とAUX
R6にシフト指示を送り、両レジスタの内容をシフトデ
ータ信号線101と102を介して交換する。その結果
として誤り訂正済データがCSR2に格納される。この
時点で制御回路5は、信号線104を介して抑止してい
たCAR3,演算ユニット8,およびCSR2の並列入
力側の更新動作を再開させる。この結果、データ処理装
置は制御メモリ1からの読出データにあたかも誤りが無
かったかのように動作を継続できる。
[0012] Here, the CSR read from the control memory
A mechanism for detecting and correcting errors when there is an error in the data in 2 will be explained. The output of CSR2 is checked by an error detection circuit 4, which reports the presence of an error to a control circuit 5, which inhibits updating of the states in CAR3 and arithmetic unit 8, and also controls the parallel input of CSR2. Suppresses data input from the terminal. Subsequently, the control circuit 5 connects CSR2 and AUXR6 via the control signal line 103.
Shift instructions are continued to be sent until the data in both registers are exchanged. The error-containing data transferred to AUXR6 has its errors corrected by EDAC7, and is sent to AUXR6. The control circuit 5 instructs to strobe the corrected data from the parallel input terminals via the control line 105. Subsequently, the control circuit 5 connects CSR2 and AUX via the control line 103.
A shift instruction is sent to R6, and the contents of both registers are exchanged via shift data signal lines 101 and 102. As a result, error corrected data is stored in CSR2. At this point, the control circuit 5 restarts the update operation of the parallel input sides of the CAR 3, the arithmetic unit 8, and the CSR 2, which had been inhibited, via the signal line 104. As a result, the data processing device can continue operating as if there were no errors in the data read from the control memory 1.

【0013】また、図1において、CSR2とAUXR
6の間はシフトデータパスを介してデータを移送してい
るが、シフト構成とすることにより移送時間が増加する
欠点がある。
[0013] Also, in FIG. 1, CSR2 and AUXR
6, data is transferred via the shift data path, but the shift configuration has the disadvantage that the transfer time increases.

【0014】図2は図1の欠点を緩和する第2の実施例
としてセレクタを用いた部分データ移送方式を示す。図
2において、第2の実施例のデータレジスタ(C2SR
)10と補助データレジスタ(A2UXR)11は部分
書込(図では4分割)可能なレジスタであり、セレクタ
(S2EL)12とセレクタ(S3EL)13はC2S
R10とA2UX811の各々4分割されたデータの一
つを選択する。このセレクタ(S2ELとS3EL)と
部分書込機能を用いることによって、実装単位間のデー
タ転送をシフト動作よりは高速にかつ、全データを一時
に転送するよりも少い信号線で実現できる。
FIG. 2 shows a partial data transfer method using selectors as a second embodiment that alleviates the drawbacks of FIG. In FIG. 2, a data register (C2SR
) 10 and the auxiliary data register (A2UXR) 11 are registers that can be partially written (divided into four in the figure), and the selector (S2EL) 12 and selector (S3EL) 13 are registers that can be partially written (divided into four in the figure).
One of the four divided data of R10 and A2UX811 is selected. By using the selectors (S2EL and S3EL) and the partial write function, data transfer between mounting units can be realized faster than a shift operation and with fewer signal lines than transferring all data at once.

【0015】図1ないし図2に示す実施例の構成によれ
ば、実装単位間に跨がる接続信号数を低減した誤り訂正
回路を実現でき、その結果として実装単位内に配置する
論理回路を柔軟に選択可能となる為、使用効率を向上さ
せ、原価を低減させる効果がある。
According to the configuration of the embodiment shown in FIGS. 1 and 2, it is possible to realize an error correction circuit in which the number of connection signals spanning between mounting units is reduced, and as a result, the number of logic circuits arranged within the mounting unit can be reduced. Since it can be selected flexibly, it has the effect of improving usage efficiency and reducing cost.

【0016】図3は本発明の第3の実施例を示す、2個
の制御メモリを有するデータ処理装置のブロック図であ
る。図3において、マイクロプログラム制御の演算機構
17,マイクロプログラム制御の演算機構18および誤
り訂正機構19から構成され、これら3者は相異なる実
装単位に収納されている。また演算機構18と19は同
じデータ幅のマイクロプログラムにより制御され、付加
された誤り訂正コード(ECC)の生成方法も同じであ
る。さらに両演算機構は平行に動作可能である。
FIG. 3 is a block diagram of a data processing device having two control memories, showing a third embodiment of the present invention. In FIG. 3, it is composed of a microprogram-controlled arithmetic mechanism 17, a microprogram-controlled arithmetic mechanism 18, and an error correction mechanism 19, and these three are housed in different mounting units. Furthermore, the arithmetic units 18 and 19 are controlled by microprograms having the same data width, and the method of generating the added error correction code (ECC) is also the same. Moreover, both arithmetic mechanisms can operate in parallel.

【0017】次に各々の機構の構成を説明する。演算機
構17を制御するマイクロプログラムは元データにEC
Cを付加した形式で制御メモリ(C3S)21に格納さ
れており、アドレスレジスタ(C3AR)23によって
アドレスを指定される。C3S21より読出されたEC
C付データはシフト機能付きフリップフロップ(以下F
Fと略す)によって構成されたデータレジスタ(C3S
R)22にセットされ、C3SR22の出力は演算ユニ
ット(E3XU)28を制御するとともに、誤り検出回
路(E3CK)24に送出され、誤り検査される。誤り
検査方式は採用したECC方式に従う。例えばSEC/
DED方式を採用すれば特公昭62−032821号公
報のような回路を使用することになる。E3CK24は
検出した誤りを制御回路(C3NT)25に報告する。 制御回路(C3NT)25は信号線114を介してC3
AR23とE3XR28の状態更新を抑止するとともに
、C3S21からの読出データを並列に入力する機能を
抑止したり、これらの抑止を解除する。また、C3NT
25はE3CK24より受信した誤り検出信号に応答し
て、誤り訂正機構19に内蔵された制御回路(CONT
)41に誤り訂正要求信号を送出する。
Next, the configuration of each mechanism will be explained. The microprogram that controls the arithmetic mechanism 17 uses EC on the original data.
It is stored in the control memory (C3S) 21 in a format with C appended, and the address is specified by the address register (C3AR) 23. EC read from C3S21
Data with C is a flip-flop with shift function (hereinafter F
A data register (abbreviated as F) is configured by a data register (C3S
R) 22, and the output of the C3SR 22 controls the arithmetic unit (E3XU) 28 and is sent to the error detection circuit (E3CK) 24 for error checking. The error checking method follows the adopted ECC method. For example, SEC/
If the DED method is adopted, a circuit such as that disclosed in Japanese Patent Publication No. 62-032821 will be used. The E3CK 24 reports the detected error to the control circuit (C3NT) 25. The control circuit (C3NT) 25 connects C3 via the signal line 114.
In addition to inhibiting the status updates of AR23 and E3XR28, the function of inputting read data from C3S21 in parallel is inhibited, or these inhibitions are canceled. Also, C3NT
25 responds to the error detection signal received from the E3CK 24 and operates a control circuit (CONT
) 41 to send an error correction request signal.

【0018】演算機構18は演算機構17を写像した構
成を有する。即ち、制御メモリ(C4S)31はC3S
21に対応し、データレジスタ(C4SR)32はC3
SR22に、アドレスレジスタ(C4AR)33はC3
AR23に、誤り検査回路(E4CK)34はE3CK
33に制御回路(C4NT)35はC3NT25に対応
し、各々は対応する機能ならびに接続関係を有する。
The arithmetic mechanism 18 has a configuration that is a mapping of the arithmetic mechanism 17. That is, the control memory (C4S) 31 is a C3S
21, and the data register (C4SR) 32 corresponds to C3.
SR22, address register (C4AR) 33 is C3
In the AR23, the error check circuit (E4CK) 34 is E3CK.
33 and a control circuit (C4NT) 35 correspond to the C3NT 25, each having corresponding functions and connection relationships.

【0019】一方、誤り訂正機構19はC3S822の
シフト出力端子(SO)からのシフトデータパス111
とC4SR32のシフト出力端子(SO)からのシフト
データパス161とを制御回路(CONT)41からの
制御信号によって切替えるセレクタ40と、セレクタ4
0の出力をシフト入力データとし、シフト出力端子(S
O)からの出力データをシフトデータパス112を介し
てC3SR22のシフト入力端子(S1)とC4SR3
2のシフト入力端子(S2)に供給するとともに保持す
るデータの全ビットデータを並列に入/出力する端子を
有し、C3SR22およびC4SR35と同じビット数
のFFで構成された補助データレジスタ(A3UXR)
26と、このA3UXR26の並列データ出力信号を参
照し、誤りがあれば、誤りを訂正しA3UXR26の並
列データ入力端子へ供給する誤り訂正回路(EDAC)
27と、制御回路(CONT)41とから構成される。
On the other hand, the error correction mechanism 19 uses the shift data path 111 from the shift output terminal (SO) of the C3S822.
and a shift data path 161 from a shift output terminal (SO) of C4SR32 by a control signal from a control circuit (CONT) 41;
The output of 0 is used as shift input data, and the shift output terminal (S
Shift the output data from C3SR22 through the data path 112 to the shift input terminal (S1) of C3SR22 and C4SR3.
The auxiliary data register (A3UXR) has a terminal that inputs/outputs all bits of data to be supplied to the shift input terminal (S2) of C2 and held in parallel, and is composed of FFs with the same number of bits as C3SR22 and C4SR35.
26, and an error correction circuit (EDAC) that refers to the parallel data output signal of A3UXR26, corrects the error if there is an error, and supplies it to the parallel data input terminal of A3UXR26.
27 and a control circuit (CONT) 41.

【0020】図3に示すデータ処理装置の誤り訂正動作
を説明する。S3S21からC3SR22へ読み出され
たデータはE3CK24にて検査される。E3CK24
は誤りを検出すると、誤り検出信号をC3NT25へ送
出する。C3NT25は信号線114を介して、E3X
U28とE3AR23の更新を抑止しかつC3S21か
らC3SR22への読出を抑止するとともに、CONT
41へ誤り訂正要求を送出する。CONT41は演算機
構18からの誤り訂正要求の処理中であればC3NT2
5からの訂正要求に対する処理を待たせる。CONT4
1は誤り訂正要求処理中でない場合は、直ちにC3NT
25からの訂正要求を受けつけ、CONT41はセレク
タ40をC3SR22からのシフトデータパス111を
選択させると共に、C3SR22とA3UXR26にシ
フト動作指示を送りC3SR22内の誤りを含むデータ
をA3UXR26へ転送する。E3DAC27は特公昭
62−032821号公報のごとき構成の誤り訂正回路
であり、A3UXR26の並列出力を介して送られて誤
りデータを参照して誤り訂正を実施したデータを出力し
、A3UXR26の並列入力端子へ供給する。CONT
41はA3UXR26にこの訂正済データを格納するよ
うに指示した後、A3UXR26とC3SR22に指示
してシフトデータパス112を介して誤り訂正後のデー
タをC3SR22に移送する。この後、CONT4はC
3NT25へ誤り訂正完了を通知する。C3NT25は
この完了通知を受けると、C3AR23,E3XU28
,C3SR22に対する抑止動作を終了させる。この結
果、演算機構17はあたかも誤りが無かったかのように
動作を継続できる。
The error correction operation of the data processing apparatus shown in FIG. 3 will be explained. The data read from S3S21 to C3SR22 is checked by E3CK24. E3CK24
When detecting an error, it sends an error detection signal to the C3NT25. C3NT25 connects E3X via signal line 114.
In addition to suppressing updates of U28 and E3AR23 and reading from C3S21 to C3SR22, CONT
The error correction request is sent to 41. If CONT41 is processing an error correction request from arithmetic unit 18, C3NT2
The processing for the correction request from No. 5 is made to wait. CONT4
1, if the error correction request is not being processed, the C3NT immediately
CONT41 receives the correction request from C3SR25, causes selector 40 to select shift data path 111 from C3SR22, sends a shift operation instruction to C3SR22 and A3UXR26, and transfers the data containing errors in C3SR22 to A3UXR26. The E3DAC27 is an error correction circuit configured as in Japanese Patent Publication No. 62-032821, and outputs error-corrected data by referring to error data sent via the parallel outputs of the A3UXR26, and outputs error-corrected data to the parallel input terminals of the A3UXR26. supply to CONT
41 instructs A3UXR 26 to store this corrected data, and then instructs A3UXR 26 and C3SR 22 to transfer the error-corrected data to C3SR 22 via shift data path 112. After this, CONT4 is C
3NT25 is notified of the completion of error correction. When C3NT25 receives this completion notification, C3AR23 and E3XU28
, terminates the inhibiting operation for C3SR22. As a result, the arithmetic mechanism 17 can continue operating as if no error had occurred.

【0021】一方、C4S31からC4SR32へ読み
出したデータに誤りがあった場合には演算機構18内の
各ブロックは、上述の演算機構17と同様の動作を行い
、C4NT35がC4AR33とE4XU38とC4A
R32の並列入力を抑止、CONT41へ誤り訂正要求
を送出する。CONT41はこの誤り要求を受けるとセ
レクタ40をC4SR32からのシフトデータパス16
1を選択するように制御し、C4SR32とA3UXR
26に指示し、C4SR32のデータをA3UXR26
へ転送し、E3DAC17を用いて誤りデータを訂正し
、A3UXR26へ格納する。次いで、CONT41は
A3UXR26からシフトデータパス112を介してC
4SR32へ訂正済データを移送した後、C4NT35
に訂正完了通知を送付する。C4NT35はC4AR3
3,E4XU38,C4SR32に対する抑止動作を終
了させ、動作を再開させる。
On the other hand, if there is an error in the data read from the C4S31 to the C4SR32, each block in the arithmetic unit 18 performs the same operation as the arithmetic unit 17 described above, and the C4NT35 reads the C4AR33, E4XU38, and C4A
Parallel input to R32 is suppressed and an error correction request is sent to CONT41. Upon receiving this error request, CONT41 shifts selector 40 to shift data path 16 from C4SR32.
1, C4SR32 and A3UXR
26 and transfer the data of C4SR32 to A3UXR26.
The error data is corrected using the E3DAC 17 and stored in the A3UXR 26. CONT41 then transfers C from A3UXR26 via shift data path 112.
After transferring the corrected data to 4SR32, C4NT35
A correction completion notice will be sent to. C4NT35 is C4AR3
3. Finish the inhibiting operation for E4XU38 and C4SR32 and restart the operation.

【0022】図3に述べた発明の構成によれば、複数の
制御メモリ間で一つの誤り訂正回路を共有するという金
物量の少い構成を制御メモリと誤り訂正回路間の信号数
を大幅に増加させること無く実現することによって、低
価格で信頼性の高いデータ処理装置を実現できる。
According to the configuration of the invention shown in FIG. 3, the configuration in which one error correction circuit is shared between a plurality of control memories, which requires a small amount of hardware, can be realized by greatly reducing the number of signals between the control memory and the error correction circuit. By realizing this without increasing the number, a low-cost and highly reliable data processing device can be realized.

【0023】[0023]

【発明の効果】以上説明したように本発明は実装単位間
を跨がる接続信号性を低減した誤り訂正回路を実現する
ことにより、実装単位内のハードウェアの使用効率を向
上させ、結果として原価を低減できる効果がある。
[Effects of the Invention] As explained above, the present invention improves the efficiency of using hardware within a mounting unit by realizing an error correction circuit that reduces connection signal quality across mounting units, and as a result, This has the effect of reducing costs.

【0024】さらに本発明は、図3のごとき構成が可能
となる為、複数の制御メモリ間で誤り訂正回路を共有す
ることによりハードウェア量を削減できる効果がある。
Furthermore, since the present invention enables the configuration shown in FIG. 3, it has the effect of reducing the amount of hardware by sharing the error correction circuit between a plurality of control memories.

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

【図1】本発明のデータ処理装置を示すブロック図であ
る。
FIG. 1 is a block diagram showing a data processing device of the present invention.

【図2】部分データ移送方式を示す説明図である。FIG. 2 is an explanatory diagram showing a partial data transfer method.

【図3】複数の制御メモリ間で誤り訂正回路を共用する
本発明のデータ処理装置のブロック図である。
FIG. 3 is a block diagram of a data processing device of the present invention in which an error correction circuit is shared between a plurality of control memories.

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

1    制御メモリ 2    データレジスタ(CSR) 3    アドレスレジスタ(CAR)4    誤り
検出回路 5    制御回路 6    補助データレジスタ 7    誤り訂正回路(EDAC) 8    演算ユニット
1 Control memory 2 Data register (CSR) 3 Address register (CAR) 4 Error detection circuit 5 Control circuit 6 Auxiliary data register 7 Error correction circuit (EDAC) 8 Arithmetic unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  誤り訂正コード(ECC)付データを
保持するデータレジスタと、該ECC付データを格納可
能な補助データレジスタと、前記データレジスタ内のデ
ータを前記補助データレジスタへ移送する第1転送手段
と、前記補助データレジスタ内のデータを前記データレ
ジスタへ転送する第2転送手段と、前記補助データレジ
スタ内のECCデータを参照し、誤りが存在する場合誤
りを訂正して前記補助データレジスタへ供給する誤り訂
正手段と、前記データレジスタ内データの誤りを検査す
る検査手段と、該検査手段からの検出報告に応答して前
記第1転送手段に前記データレジスタ内のECC付デー
タを前記補助データレジスタへ移送させ、該転送後のE
CC付データの誤りを前記誤り訂正手段にて訂正した後
に、前記第2転送手段に指示しデータレジスタへ転送せ
しめる制御手段とを有することを特徴とするデータ処理
装置。
1. A data register that holds data with an error correction code (ECC), an auxiliary data register capable of storing the data with the ECC, and a first transfer for transferring data in the data register to the auxiliary data register. means, second transfer means for transferring the data in the auxiliary data register to the data register, referring to the ECC data in the auxiliary data register, correcting the error if an error exists, and transmitting the data to the auxiliary data register; an error correcting means for supplying error correction means; a checking means for checking errors in the data in the data register; Transfer to the register, and E after the transfer
A data processing device comprising: control means for instructing the second transfer means to transfer the CC-attached data to the data register after the errors in the CC-attached data are corrected by the error correction means.
【請求項2】  ECC付データを保持する複数のデー
タレジスタと、該複数のデータレジスタ内の各々のデー
タの誤りを検査する複数の検査手段と、該ECC付デー
タを格納可能なデータ幅を有する補助データレジスタと
、該補助データレジスタ内のECC付データの誤りを訂
正し該補助データへ供給する誤り訂正回路と、前記デー
タレジスタから1つのレジスタを選択して保持するデー
タを補助データレジスタへ移送する第1転送手段と、前
記補助データレジスタから前記のデータレジスタの1つ
を選択して保持するデータを移送する第2転送手段と前
記検査手段からの誤り報告信号に応答して該誤り報告信
号に対応する前記データレジスタを選択して保持するデ
ータを該補助レジスタへ移送するように前記第1転送手
段へ指示し、前記誤り訂正回路が誤りを訂正したデータ
を前記補助データレジスタから前記のデータレジスタへ
選択的に移送する制御回路とを有するデータ処理装置。
2. A plurality of data registers that hold data with ECC, a plurality of checking means for checking errors in each data in the plurality of data registers, and a data width capable of storing the data with ECC. an auxiliary data register, an error correction circuit that corrects errors in data with ECC in the auxiliary data register and supplies the auxiliary data, and selects one register from the data registers and transfers the held data to the auxiliary data register. a first transfer means for selecting one of said data registers from said auxiliary data register and transferring data to be held; and said error report signal in response to an error report signal from said checking means. instructs the first transfer means to select the data register corresponding to the auxiliary data register and transfer the held data to the auxiliary register; A data processing device having a control circuit for selectively transferring data to a register.
JP3126325A 1991-05-30 1991-05-30 Data processor Pending JPH04352239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3126325A JPH04352239A (en) 1991-05-30 1991-05-30 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3126325A JPH04352239A (en) 1991-05-30 1991-05-30 Data processor

Publications (1)

Publication Number Publication Date
JPH04352239A true JPH04352239A (en) 1992-12-07

Family

ID=14932395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3126325A Pending JPH04352239A (en) 1991-05-30 1991-05-30 Data processor

Country Status (1)

Country Link
JP (1) JPH04352239A (en)

Similar Documents

Publication Publication Date Title
US7444540B2 (en) Memory mirroring apparatus and method
US7237144B2 (en) Off-chip lockstep checking
JP2996440B2 (en) Diagnosis method of data processing system
US5553249A (en) Dual bus adaptable data path interface system
US7418559B2 (en) Address snoop method and multi-processor system
JP2006190257A (en) Data transfer device and its method
US7162545B2 (en) Duplexed processor system
US8621281B2 (en) Information processing apparatus and control method
JPH05100879A (en) Device and method for maintaining integrity of control information
US8291270B2 (en) Request processing device, request processing system, and access testing method
JPH04352239A (en) Data processor
JPH09134314A (en) Memory access controller
JPS6238953A (en) Main storage device for compression of partial write access
JPS6312303B2 (en)
JPH0773114A (en) Memory control circuit for space digital computer
JPH0444136A (en) Memory access controller
KR0179760B1 (en) Output data check circuit of programmable logic controller
JP3741077B2 (en) Data transfer device
JPH04162161A (en) Storage controller
JPH0638239B2 (en) Error correction mechanism
JP2502185B2 (en) Processor
JP3473746B2 (en) Data transmission / reception circuit
JP2010010897A (en) Multiplexer synchronization processing device, and multiplexer synchronization processing method
JP2000020338A (en) Memory network device and trace buffer control system therefor
JPH01158554A (en) Data processing system providing dma device