JPH0752398B2 - Check circuit diagnostic device - Google Patents

Check circuit diagnostic device

Info

Publication number
JPH0752398B2
JPH0752398B2 JP62315835A JP31583587A JPH0752398B2 JP H0752398 B2 JPH0752398 B2 JP H0752398B2 JP 62315835 A JP62315835 A JP 62315835A JP 31583587 A JP31583587 A JP 31583587A JP H0752398 B2 JPH0752398 B2 JP H0752398B2
Authority
JP
Japan
Prior art keywords
memory
address
data
inspection information
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62315835A
Other languages
Japanese (ja)
Other versions
JPH01156834A (en
Inventor
浩道 伊藤
行宏 関
一 山上
淳 益子
斉 小林
成夫 小林
一彦 小森
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 JP62315835A priority Critical patent/JPH0752398B2/en
Publication of JPH01156834A publication Critical patent/JPH01156834A/en
Publication of JPH0752398B2 publication Critical patent/JPH0752398B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は情報処理装置における記憶装置に係り、特に誤
りをチェックする回路の診断装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device in an information processing device, and more particularly to a circuit diagnostic device for checking an error.

[従来の技術] 情報処理装置の記憶装置には、記憶素子(以下メモリと
称す)またはデータ転送経路に障害が発生した場合、該
障害によるデータの誤りを検出あるいは訂正するために
パリィチェックやECC(Error Correcting Code)を用い
るのが一般的である。これらの方式においては、データ
書込時に、書込データより生成した検査情報をデータと
ともにメモリに書込み、読出時に誤り検出または誤り検
出訂正を行ない、記憶装置の信頼を高めるようにしてい
る。
[Prior Art] In a storage device of an information processing device, when a failure occurs in a storage element (hereinafter referred to as a memory) or a data transfer path, a parity check or ECC is performed to detect or correct a data error due to the failure. (Error Correcting Code) is generally used. In these methods, the inspection information generated from the write data is written in the memory together with the data at the time of writing the data, and the error detection or the error detection / correction is performed at the time of the reading to improve the reliability of the storage device.

第3図は、パリティチェック方式による誤り検出回路を
持つ記憶装置の構成例を示したものである。同図におい
て、5はパリティジェネレータ、6はパリティビット、
8はメモリ、9はパリティチェッカー、10は書込デー
タ、11は読出データ、12は誤り検出信号である。
FIG. 3 shows an example of the configuration of a memory device having an error detection circuit based on the parity check method. In the figure, 5 is a parity generator, 6 is a parity bit,
Reference numeral 8 is a memory, 9 is a parity checker, 10 is write data, 11 is read data, and 12 is an error detection signal.

書込時には、書込データ10をもとにパリティジェネレー
タにより生成されたパリティビット6が検査情報として
書込データ10とともにメモリ8に書込まれる。読出時に
はパリティチェッカー9により1ビット誤りのチェック
を行なう。なお、パリティとは、データに含まれる“1"
の個数を反映したもので、データとパリティビット6に
含まれる“1"の数が奇数になるようにパリティビット6
を生成、チェックする場合を奇数パリティ方式と呼ぶ。
偶数パリティ方式についても同様である。
At the time of writing, the parity bit 6 generated by the parity generator based on the write data 10 is written in the memory 8 together with the write data 10 as inspection information. At the time of reading, the parity checker 9 checks for a 1-bit error. The parity is "1" included in the data.
The number of "1" included in the data and the parity bit 6 is reflected so that the parity bit 6
The case of generating and checking is called an odd parity method.
The same applies to the even parity method.

第3図に示されたようなパリティチェック方式を用いた
記憶装置において、メモリ8の誤りは、アルファ線障害
などごく稀にしか起こらない。そこでチェック回路自身
を診断するためには、誤ったデータあるいは検査情報を
チェック回路に入力して、疑似的に誤りを発生する手段
が必要である。パリティ方式に比べ、より信頼性の高い
ECC方式においても同様に、誤り検出および訂正回路を
診断するためには、誤ったデータあるいは検査情報を誤
り検出訂正回路に入力する必要がある。
In the storage device using the parity check method as shown in FIG. 3, an error in the memory 8 occurs only rarely due to an alpha ray failure. Therefore, in order to diagnose the check circuit itself, it is necessary to have means for inputting erroneous data or inspection information to the check circuit to generate a pseudo error. More reliable than parity method
Similarly in the ECC system, in order to diagnose the error detection and correction circuit, it is necessary to input erroneous data or inspection information to the error detection and correction circuit.

従来装置における上記誤り検出回路あるいは誤り検出訂
正回路の診断方法としては、特開昭57−146349号に記載
のように、誤ったデータ10あるいは検査情報をメモリ8
に書込む診断用ライト命令をCPU(中央処理装置)に設
ける方法がある。第4図にこの方法を実行するための構
成を示す。同図において、4は検査情報変更指令信号、
7は検査情報変更回路、13はCPU(中央処理装置)、17
は検査情報生成回路、18はチェック回路、19は検査情報
信号である。CPU13が診断用ライト命令を実行すると検
査情報変更指令信号4が出力され、書込データ10より検
査情報生成回路17で生成された検査情報は検査情報変更
回路7により誤った検査情報に変更され、メモリ8に書
込まれる。上述の診断用ライト命令で書込まれたアドレ
スを読出すと、メモリ8からは誤った検査情報が読出さ
れ、チェック回路18には誤った検査情報が入力されるの
でチェック回路18の動作を診断することができる。な
お、パリティ方式の場合では、検査情報生成回路17がパ
リティジェネレータ5に、チェック回路18がパリティチ
ェッカー9にそれぞれ相当する。
As a method of diagnosing the error detecting circuit or the error detecting / correcting circuit in the conventional apparatus, as described in JP-A-57-146349, erroneous data 10 or inspection information is stored in the memory 8.
There is a method of providing a diagnostic write command to be written in the CPU (central processing unit). FIG. 4 shows a configuration for executing this method. In the figure, 4 is an inspection information change command signal,
7 is an inspection information changing circuit, 13 is a CPU (central processing unit), 17
Is an inspection information generation circuit, 18 is a check circuit, and 19 is an inspection information signal. When the CPU 13 executes the diagnostic write command, the inspection information change command signal 4 is output, and the inspection information generated by the inspection information generation circuit 17 is changed from the write data 10 to the incorrect inspection information by the inspection information change circuit 7. It is written in the memory 8. When the address written by the above-described diagnostic write command is read, erroneous inspection information is read from the memory 8 and erroneous inspection information is input to the check circuit 18, so that the operation of the check circuit 18 is diagnosed. can do. In the case of the parity method, the check information generation circuit 17 corresponds to the parity generator 5 and the check circuit 18 corresponds to the parity checker 9.

また、特開昭61−23242号には、データを記憶するメモ
リ8に与えるアドレスとは異なったアドレスを、検査情
報を記憶するメモリに与える手段を設けることにより、
チェック回路18の検査を行なう方法が記載されている。
第5図にこの方法を実行するための構成を示し、第6図
にその動作説明に供する説明図を示す。第5図におい
て、データを記憶するデータメモリ16には、CPU13の出
力するアドレス線のA0〜A9が接続され、検査情報を記憶
する検査情報メモリ15には、CPU13の出力するアドレス
線のA0〜A8および、オアゲート14によりA9とA10の論理
和をとった信号が接続されている。
Further, in JP-A-61-23242, by providing a means for giving an address different from the address given to the memory 8 for storing data to the memory for storing the inspection information,
A method for inspecting the check circuit 18 is described.
FIG. 5 shows a configuration for executing this method, and FIG. 6 shows an explanatory diagram for explaining the operation. In FIG. 5, the data memory 16 for storing data is connected to address lines A0 to A9 output by the CPU 13, and the inspection information memory 15 for storing inspection information is connected to the address lines A0 to A9 for output of the CPU 13. A8 and the OR gate 14 connect signals obtained by ORing A9 and A10.

第6図は、第5図の回路におけるメモリマップを示した
ものである。上記回路では第6図のAおよびBで示され
るアドレス領域が通常の記憶アドレスとして割当てられ
る。同図においてAおよびBで示されるアドレス領域の
メモリはそれぞれA′およびB′で示されるイメージ領
域からも読み書きを行なうことができる。すなわち、同
図(a)はデータメモリ16のメモリマップの例であり、
400H(Hは16進数を示す)番地おきに同じメモリ番地が
イメージとして割当てられることを示している。同図
(b)は検査情報メモリ15のメモリマップの例である
が、第5図で示したように検査情報メモリ15に与えられ
るアドレスはデータメモリ16に与えられるアドレスとは
異なるため、400H〜5FFH番地にイメージとして割当てら
れるメモリ番地が、データメモリ16のメモリマップとは
異なることを示している。従って、0番地にデータおよ
びその検査情報の書込を行なった後、400H番地に先のデ
ータとは検査情報が異なるデータおよび検査情報を書込
むと、メモリアドレス0番地のデータは更新されるが、
該番地の検査情報は更新されない。従って、このような
書込を行なった後に該アドレスからの読出を行なえば、
誤った検査情報をチェック回路に入力でき、チェック回
路の診断が実施できる。
FIG. 6 shows a memory map in the circuit of FIG. In the above circuit, the address areas shown by A and B in FIG. 6 are assigned as ordinary memory addresses. In the figure, the memories in the address areas indicated by A and B can also read and write from the image areas indicated by A'and B ', respectively. That is, FIG. 7A is an example of the memory map of the data memory 16.
It shows that the same memory address is assigned as an image every 400H (H indicates a hexadecimal number). FIG. 6B shows an example of a memory map of the inspection information memory 15. However, since the address given to the inspection information memory 15 is different from the address given to the data memory 16 as shown in FIG. It is shown that the memory address assigned as an image to the 5FFH address is different from the memory map of the data memory 16. Therefore, if data and inspection information different from the previous data are written in address 400H after writing data and its inspection information in address 0, the data in memory address 0 is updated. ,
The inspection information of the address is not updated. Therefore, if reading from the address is performed after such writing,
Incorrect inspection information can be input to the check circuit, and the check circuit can be diagnosed.

[発明が解決しようとする問題点] 第4図に示した従来例は、診断用ライト命令によって任
意のアドレスに誤った検査情報を簡単に書込むことがで
きるため、診断用ライト命令とリード命令の二つの命令
を実行するだけでチェック回路7の診断が行なえるとい
う点で優れている。しかしながら、CPU13に特殊な命令
を設ける必要があり、汎用のマイクロプロセッサをCPU1
3として使用した情報処理装置では実施することができ
ない。
[Problems to be Solved by the Invention] In the conventional example shown in FIG. 4, since erroneous test information can be easily written to an arbitrary address by a diagnostic write instruction, a diagnostic write instruction and a read instruction can be written. It is excellent in that the check circuit 7 can be diagnosed only by executing the two instructions. However, it is necessary to provide special instructions to the CPU13, and a general-purpose microprocessor
It cannot be implemented by the information processing device used as 3.

また、第5図に示した従来例では、簡単なハードウェア
で誤った検査情報をメモリ8に書込めるという点で優れ
ているが、データメモリ16と検査情報メモリ15を個別の
素子で構成する必要があり、メモリ素子数低減のために
データと検査情報を同一メモリ素子に記憶することはで
きないという問題がある。
Further, the conventional example shown in FIG. 5 is excellent in that erroneous inspection information can be written in the memory 8 with simple hardware, but the data memory 16 and the inspection information memory 15 are composed of individual elements. There is a problem that data and inspection information cannot be stored in the same memory device in order to reduce the number of memory devices.

本発明の目的は、上記従来技術の問題点を解決し、記憶
装置の誤り検出および誤り検出訂正回路の診断を容易に
行なうことができるチェック回路の診断装置を提供する
ことにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a check circuit diagnosing device which solves the above-mentioned problems of the prior art and can easily perform error detection and error detection / correction circuit diagnosis of a memory device.

[問題点を解決するための手段] 上記目的を達成するために、本願第1の発明は、データ
に検査情報を付加してメモリに書き込み、該メモリから
読出されたデータの誤りを上記検査情報に基づいてチェ
ックするチェック回路の診断装置であって、第1のアド
レス領域が割り当てられたメモリと、上記第1のアドレ
ス領域のアドレス信号を受けて上記メモリの選択信号を
発生し、上記第1のアドレス領域以外の第2のアドレス
領域のアドレス信号を受けて上記メモリの選択信号を発
生すると共に変更指令信号を発生するアドレスデコーダ
と、上記メモリへの書込データを受けて、該書込データ
に対する検査情報を出力する検査情報発生手段と、上記
第2のアドレス領域への書込命令に基づき、上記アドレ
スデコーダから変更指令信号を受けて、書込データまた
は該書込データに対して上記検査情報発生手段により得
られた検査情報に変更を加える変更手段と、上記第1の
アドレス領域の読出し命令に基づき、上記メモリから読
みだされたデータおよび該データに対応する検査情報に
基づいて、該データの誤り検出を行なうチェック回路と
を備えたものである。
[Means for Solving Problems] In order to achieve the above object, the first invention of the present application adds inspection information to data and writes the same in a memory, and an error of data read from the memory is corrected by the inspection information. A check circuit diagnostic device for checking based on the above, wherein a memory to which a first address area is assigned and an address signal of the first address area are received to generate a selection signal for the memory. Address decoder for receiving the address signal of the second address area other than the address area for generating the memory selection signal and the change command signal, and the write data for the memory. Inspection information generating means for outputting inspection information to the second address area, and a change instruction signal from the address decoder based on the write instruction to the second address area, Write data or changing means for changing the write data to the check information obtained by the check information generating means; and data read from the memory based on a read command of the first address area. And a check circuit for detecting an error in the data based on the inspection information corresponding to the data.

また、本願第2の発明は、データに検査情報を付加して
メモリに書き込み、該メモリから読出されたデータの誤
りを上記検査情報に基づいてチェックするチェック回路
の診断装置であって、第1のアドレス領域が割り当てら
れたメモリと、上記第1のアドレス領域のアドレス信号
を受けて上記メモリの選択信号を発生し、上記第1のア
ドレス領域以外の第2のアドレス領域のアドレス信号を
受けて上記メモリの選択信号を発生すると共に変更指令
信号を発生するアドレスデコーダと、上記第1のアドレ
ス領域への書込命令に基づき、上記メモリへの書込デー
タに対する検査情報を出力する検査情報発生手段と、上
記第2のアドレス領域の読出し命令に基づき、上記アド
レスデコーダから変更指令信号を受けて、上記メモリか
ら読みだされたデータまたは該データに対応する検査情
報に変更を加える変更手段と、上記メモリから読みださ
れ、上記変更手段により一方が変更を受けた、データお
よび該データに対応する検査情報に基づいて、該データ
の誤り検出を行なうチェック回路とを備えたものであ
る。
A second invention of the present application is a diagnostic device for a check circuit, which adds inspection information to data, writes it in a memory, and checks an error of data read from the memory based on the inspection information. Receiving the address signal of the first address area and the memory to which the address area of the first address area is assigned, generating the selection signal of the memory, and receiving the address signal of the second address area other than the first address area. An address decoder for generating a selection signal for the memory and a change command signal, and a test information generating means for outputting test information for data written in the memory based on a write command for the first address area. And a change command signal from the address decoder based on the read command of the second address area, and the data read from the memory. Data or the inspection information corresponding to the data, and the data read based on the data read from the memory and one of which has been changed by the changing means and the inspection information corresponding to the data. And a check circuit for detecting the error.

[作用] 上記記憶装置には通常の記憶対象となる通常アドレス領
域と、検査情報を誤った情報に変更して書込を行なう診
断用アドレス領域が実質的に割当てられる。アドレスデ
コード回路は、記憶装置に対してデータ書込が行なわれ
た際、書込アドレスをデコードし、通常アドレス領域か
診断用アドレス領域かを判定する診断用アドレス領域に
対する書込であった場合には、上記アドレスデコード回
路から検査情報変更指令信号4が出力され、検査情報変
更回路7は該指令信号に従い検査情報を変更するので、
誤った検査情報がデータとともにメモリ8に書込まれ
る。
[Operation] The storage device is substantially allocated with a normal address area which is a normal storage target and a diagnostic address area in which the inspection information is changed to incorrect information for writing. The address decoding circuit decodes a write address when data is written to the storage device and determines whether the address is a diagnostic address area for determining whether it is a normal address area or a diagnostic address area. The inspection information change command signal 4 is output from the address decoding circuit, and the inspection information change circuit 7 changes the inspection information according to the command signal.
Wrong inspection information is written in the memory 8 together with the data.

上述の方法で書込まれたデータを、通常アドレス領域で
読出せば、誤った検査情報がメモリ8から読出されるた
め、チェック回路9の診断ができる。
If the data written by the above-described method is read in the normal address area, erroneous inspection information is read from the memory 8, so that the check circuit 9 can be diagnosed.

上記記憶装置へのデータ書込は通常通りに行ない、読出
時に診断用アドレスを用いて検査情報を変更するように
してもよい。また、検査情報ではなくデータの方を変更
してもよい。
The data may be written in the storage device as usual, and the inspection information may be changed using the diagnostic address at the time of reading. Further, the data may be changed instead of the inspection information.

[実施例] 〈第1実施例〉 本発明の第1実施例を第1図と第2図により説明する。[Embodiment] <First Embodiment> A first embodiment of the present invention will be described with reference to FIGS. 1 and 2.

第2図は、記憶装置に割当てられたアドレス領域を示し
ている。第1図は本発明を実施するための記憶装置の構
成図であり、2がアドレスデコード回路、3がメモリ選
択信号である。その他、第3図および第4図に示したブ
ロックと同様の機能を有するブロックには同一の符号を
付してある。
FIG. 2 shows an address area assigned to the storage device. FIG. 1 is a block diagram of a memory device for carrying out the present invention, in which 2 is an address decoding circuit and 3 is a memory selection signal. The other blocks having the same functions as those shown in FIGS. 3 and 4 are designated by the same reference numerals.

第2図に示すように記憶装置には0000H〜07FFHのアドレ
ス領域が割当てられており、このうち0000H〜03FFFHが
通常アドレス領域、04000H〜07FFFHがチェック回路診断
用領域である。
As shown in FIG. 2, an address area of 0000H to 07FFH is assigned to the storage device, of which 0000H to 03FFFH is a normal address area and 04000H to 07FFFH is a check circuit diagnostic area.

第1図において、パリティジェネレータ5は書込データ
10より検査情報としてパリティビット6を生成する。書
込が診断用領域に対して行なわれた場合は、アドレス信
号1のA0〜A14の全14ビットのうち、少なくとも上記の
3ビットA14,A13,A12が入力されるアドレスデコーダ2
から検査情報変更指令信号4が出力され、前述のパリテ
ィビット6は検査情報変更回路7により反転され、誤っ
た値を示すことになる。反転されたパリティビット6
は、書込データ10とともにメモリ8に書込まれる。メモ
リ8に入力されているアドレス信号1のうちメモリ8に
与えられる信号はA0〜A13の14ビットであるので診断用
領域への書込を行なった場合、実際には4000Hを引いた
メモリアドレスすなわち通常アドレス領域に書込まれ
る。
In FIG. 1, the parity generator 5 is the write data.
The parity bit 6 is generated from 10 as the check information. When the writing is performed in the diagnostic area, the address decoder 2 to which at least the above-mentioned 3 bits A14, A13, A12 of all 14 bits of A0 to A14 of the address signal 1 are input
The inspection information change command signal 4 is output from the device, and the above-mentioned parity bit 6 is inverted by the inspection information change circuit 7 to indicate an incorrect value. Inverted parity bit 6
Are written in the memory 8 together with the write data 10. Since the signal given to the memory 8 among the address signals 1 input to the memory 8 is 14 bits of A0 to A13, when writing to the diagnostic area, the memory address obtained by subtracting 4000H, that is, Normally written in the address area.

上述の記憶装置において、パリティチェッカー9のチェ
ックを行なうためには、診断用領域内の任意のアドレス
に書込を行なった後、該アドレスから4000Hを引いたア
ドレスの読出を行なえばよい。読出を行なった際、誤り
検出信号12が出力されれば、パリティジェネレータ5、
検査情報変更回路7、パリティチェッカー9は正常であ
ると判定することができる。
In order to check the parity checker 9 in the storage device described above, it is only necessary to write to an arbitrary address in the diagnostic area and then read the address obtained by subtracting 4000H from the address. If the error detection signal 12 is output during reading, the parity generator 5,
The inspection information changing circuit 7 and the parity checker 9 can be determined to be normal.

〈第2実施例〉 第7図に、本発明の他の実施例を示す。本実施例では、
メモリには常に正しいパリティビットを書込み、診断用
領域から読出を行なった際に、読出したパリティビット
を検査情報変更回路7により反転し、パリティチェッカ
ー9に入力する。そのために、検査情報変更回路7をメ
モリ8の前段から後段に移している。本実施例における
構成においては、メモリ8の書込時ではなく読出時に診
断用領域のアドレスを用いる以外、第1実施例で述べた
方法と同じ方法で、パリティジェネレータ5、検査情報
変更回路7、パリティチェッカー9の診断を行なうこと
ができる。
<Second Embodiment> FIG. 7 shows another embodiment of the present invention. In this embodiment,
When the correct parity bit is always written in the memory and read from the diagnostic area, the read parity bit is inverted by the inspection information changing circuit 7 and input to the parity checker 9. Therefore, the inspection information changing circuit 7 is moved from the front stage to the rear stage of the memory 8. In the configuration of the present embodiment, the parity generator 5, the inspection information changing circuit 7, and the parity information generator 5 are used in the same manner as the method described in the first embodiment except that the address of the diagnostic area is used when reading the memory 8 instead of when writing. The parity checker 9 can be diagnosed.

〈変形例〉 以上の実施例では、パリティ方式の誤り検出を行なう記
憶装置を例として挙げたが、ECC方式により誤りの検出
訂正を行なう記憶装置についても同様に実施することが
できる。また検査情報ではなく、データの方を変更する
ようにしてもよい。
<Modification> In the above embodiments, the storage device that performs the error detection by the parity method has been described as an example, but the same can be applied to the storage device that detects and corrects the error by the ECC method. The data may be changed instead of the inspection information.

なお、本発明では、診断用領域としてのアドレス領域が
必要であるが、近年のマイクロプロセッサ等では、その
アドレス空間が数M〜数GBと非常に広いため、問題とは
ならない。
Although the present invention requires an address area as a diagnostic area, it does not pose a problem in recent microprocessors and the like because the address space is very wide, from several M to several GB.

[発明の効果] 本発明によれば、記憶装置に用いるメモリ素子の構成に
制限されることなく、またCPUに特殊な命令を設けるこ
となく、誤り検出あるいは誤り検出訂正回路の診断を容
易に行なえる効果がある。また、メモリへのアクセスア
ドレスだけで診断用のアクセスか否かを判別するので、
新たに診断専用のモードを設ける必要がなく、診断モー
ドか否かを設定するためのI/Oレジスタおよび該I/Oレジ
スタ用のアドレス確保の必要もない。したがって、本発
明による診断機能を備えた記憶装置は、情報処理装置の
I/Oレジスタ使用の変更や、記憶装置へのI/Oレジスタ機
能追加のための信号線追加が不要であり、従来の記憶装
置と容易に置き換えることができる。さらに、通常の動
作時においても、記憶装置の正しいアドレス領域を逸脱
した領域へのアクセスは、診断領域へのアクセスとして
確実にエラーを発生させることができ、情報処理装置の
信頼性を向上させることができる。
According to the present invention, the error detection or the error detection / correction circuit can be easily diagnosed without being limited to the configuration of the memory element used for the storage device and without providing the CPU with a special instruction. There is an effect. Also, since it is determined whether the access is for diagnosis only by the access address to the memory,
It is not necessary to newly provide a mode dedicated to diagnosis, and it is not necessary to secure an I / O register for setting whether or not the mode is the diagnosis mode and an address for the I / O register. Therefore, the storage device having the diagnostic function according to the present invention is
It is not necessary to change the use of I / O registers or to add signal lines for adding I / O register functions to the storage device, and can easily replace the conventional storage device. Further, even during normal operation, accessing an area deviating from the correct address area of the storage device can surely generate an error as accessing the diagnostic area, and improve the reliability of the information processing device. You can

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は第1図に示した一実施例でのメモリマップ、第3
図は誤り検出回路を持つ記憶装置の構成を示すブロック
図、第4図および第5図は従来の装置の構成を示すブロ
ック図、第6図は第5図に示した従来例でのメモリマッ
プ、第7図は本発明の他の実施例の構成を示すブロック
図である。 1……アドレス信号 2……アドレスデコーダ 4……検査情報変更指令信号 5……パリティジェネレータ 7……検査情報変更回路 8……メモリ 9……パリティチェッカー 10……書込データ 11……読出データ 12……誤り検出信号
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a memory map in the embodiment shown in FIG. 1, and FIG.
FIG. 4 is a block diagram showing the configuration of a memory device having an error detection circuit, FIGS. 4 and 5 are block diagrams showing the configuration of a conventional device, and FIG. 6 is a memory map in the conventional example shown in FIG. FIG. 7 is a block diagram showing the configuration of another embodiment of the present invention. 1 ... Address signal 2 ... Address decoder 4 ... Inspection information change command signal 5 ... Parity generator 7 ... Inspection information change circuit 8 ... Memory 9 ... Parity checker 10 ... Write data 11 ... Read data 12 …… Error detection signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山上 一 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (72)発明者 益子 淳 神奈川県横浜市戸塚区吉田町292番地 日 立ビデオエンジニアリング株式会社内 (72)発明者 小林 斉 神奈川県横浜市戸塚区吉田町292番地 日 立ビデオエンジニアリング株式会社内 (72)発明者 小林 成夫 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 (72)発明者 小森 一彦 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 (56)参考文献 特開 昭62−84342(JP,A) 特開 昭62−210547(JP,A) 特公 昭55−28159(JP,B2) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hajime Yamagami 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Pref., Hitachi, Ltd. Microelectronics Equipment Development Laboratory (72) Inventor Atsushi Masuko Totsuka-ku, Yokohama-shi, Kanagawa 292 Yoshida-cho, Nippon Video Engineering Co., Ltd. (72) Inventor, Hitoshi Kobayashi, 292, Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa, Japan (72) In-house, Naruo Kobayashi, 1 Horiyamashita, Hadano, Kanagawa Hiritsu Manufacturing Co., Ltd. Kanagawa Plant (72) Inventor Kazuhiko Komori 1 Horiyamashita, Hadano City, Kanagawa Prefecture Hiritsu Manufacturing Co., Ltd. Kanagawa Plant (56) Reference JP-A-62-84342 (JP, A) JP-A-SHO 62-210547 (JP, A) JP-B-55-28159 (JP, B2)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】データに検査情報を付加してメモリに書き
込み、該メモリから読出されたデータの誤りを上記検査
情報に基づいてチェックするチェック回路の診断装置で
あって、 第1のアドレス領域が割り当てられたメモリと、 上記第1のアドレス領域のアドレス信号を受けて上記メ
モリの選択信号を発生し、上記第1のアドレス領域以外
の第2のアドレス領域のアドレス信号を受けて、上記第
1のアドレス領域で発生する上記選択信号で選択される
上記メモリ上の記憶領域と同一の記憶領域を選択する上
記メモリの選択信号を発生すると共に変更指令信号を発
生するアドレスデコーダと、 上記メモリへの書込データを受けて、該書込データに対
する検査情報を出力する検査情報発生手段と、 上記第2のアドレス領域への書込命令に基づき、上記ア
ドレスデコーダから変更指令信号を受けて、書込データ
または該書込データに対して上記検査情報発生手段によ
り得られた検査情報に変更を加える変更手段と、 上記第1のアドレス領域の読出し命令に基づき、上記メ
モリから読みだされたデータおよび該データに対応する
検査情報に基づいて、該データの誤り検出を行なうチェ
ック回路と、 を備えたことを特徴とするチェック回路の診断装置。
1. A diagnostic device of a check circuit for adding inspection information to data, writing the same in a memory, and checking an error of data read from the memory based on the inspection information, wherein the first address area is The selection signal for the memory is generated in response to the assigned memory and the address signal in the first address area, and the address signal in the second address area other than the first address area is received to generate the first signal. An address decoder for generating a selection signal for the memory and a change command signal for selecting the same storage area as the storage area on the memory selected by the selection signal generated in the address area of Inspection information generating means for receiving the write data and outputting inspection information for the write data, and based on the write command to the second address area, Changing means for receiving a change command signal from the address decoder and changing the write data or the check information obtained by the check information generating means for the write data; and a read instruction for the first address area. And a check circuit for detecting an error in the data based on the data read from the memory and the inspection information corresponding to the data.
【請求項2】データに検査情報を付加してメモリに書き
込み、該メモリから読出されたデータの誤りを上記検査
情報に基づいてチェックするチェック回路の診断装置で
あって、 第1のアドレス領域が割り当てられたメモリと、 上記第1のアドレス領域のアドレス信号を受けて上記メ
モリの選択信号を発生し、上記第1のアドレス領域以外
の第2のアドレス領域のアドレス信号を受けて、上記第
1のアドレス領域で発生する上記選択信号で選択される
上記メモリ上の記憶領域と同一の記憶領域を選択する上
記メモリの選択信号を発生すると共に変更指令信号を発
生するアドレスデコーダと、 上記第1のアドレス領域への書込命令に基づき、上記メ
モリへの書込データに対する検査情報を出力する検査情
報発生手段と、 上記第2のアドレス領域の読出し命令に基づき、上記ア
ドレスデコーダから変更指令信号を受けて、上記メモリ
から読みだされたデータまたは該データに対応する検査
情報に変更を加える変更手段と、 上記メモリから読みだされ、上記変更手段により一方が
変更を受けた、データおよび該データに対応する検査情
報に基づいて、該データの誤り検出を行なうチェック回
路と、 を備えたことを特徴とするチェック回路の診断装置。
2. A diagnostic device of a check circuit for adding inspection information to data, writing the same in a memory, and checking an error of the data read from the memory based on the inspection information, wherein the first address area is The selection signal for the memory is generated in response to the assigned memory and the address signal in the first address area, and the address signal in the second address area other than the first address area is received to generate the first signal. An address decoder for generating a selection signal for the memory and a change command signal for selecting the same storage area as the storage area on the memory selected by the selection signal generated in the address area, Inspection information generating means for outputting inspection information for write data to the memory based on a write command to the address area, and the second address area The change command signal from the address decoder on the basis of the read command to change the data read from the memory or the inspection information corresponding to the data, and the change means read from the memory. A check circuit diagnosing device comprising: a check circuit that detects an error in the data based on the data and the inspection information corresponding to the data, one of which has been changed by the means.
JP62315835A 1987-12-14 1987-12-14 Check circuit diagnostic device Expired - Lifetime JPH0752398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62315835A JPH0752398B2 (en) 1987-12-14 1987-12-14 Check circuit diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62315835A JPH0752398B2 (en) 1987-12-14 1987-12-14 Check circuit diagnostic device

Publications (2)

Publication Number Publication Date
JPH01156834A JPH01156834A (en) 1989-06-20
JPH0752398B2 true JPH0752398B2 (en) 1995-06-05

Family

ID=18070143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62315835A Expired - Lifetime JPH0752398B2 (en) 1987-12-14 1987-12-14 Check circuit diagnostic device

Country Status (1)

Country Link
JP (1) JPH0752398B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09190384A (en) * 1996-01-09 1997-07-22 Yokogawa Electric Corp Memory controller
JP5269932B2 (en) 2011-03-01 2013-08-21 株式会社東芝 Controller, data storage device and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6049341B2 (en) * 1978-08-18 1985-11-01 カシオ計算機株式会社 small electronic calculator
JPS58169255A (en) * 1982-03-31 1983-10-05 Fujitsu Ltd Generating device of error signal for diagnosis
JPS61110243A (en) * 1984-11-02 1986-05-28 Hitachi Ltd Diagnostic system for error correcting and detecting circuit
JPS6284342A (en) * 1985-10-08 1987-04-17 Mitsubishi Electric Corp Computer

Also Published As

Publication number Publication date
JPH01156834A (en) 1989-06-20

Similar Documents

Publication Publication Date Title
JP3039455B2 (en) Semiconductor memory device test method and semiconductor memory device
US4926426A (en) Error correction check during write cycles
JPH0752398B2 (en) Check circuit diagnostic device
JPS6011952A (en) Semiconductor memory device with error correcting means
JP3170145B2 (en) Memory control system
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JP2513615B2 (en) Storage device with ECC circuit
JPS60200352A (en) Memory diagnosis system
JPH045213B2 (en)
JP3576978B2 (en) Memory port, storage device, information processing system
JPH06149685A (en) Memory error recovering circuit
JP3045532B2 (en) Memory device
SU1065888A1 (en) Buffer storage
JPS6142304B2 (en)
JPS63753A (en) Test system for memory error checking and correcting circuit
SU1249590A1 (en) Storage with self-checking
JP2998282B2 (en) Memory device
JPS63177240A (en) Control system for memory diagnosis
JPS62226353A (en) Storage device with ras circuit
JPH0793225A (en) Memory check system
JPH0520215A (en) Information processor
JPS6161418B2 (en)
JPS63231553A (en) Partial writing system
JPS60101649A (en) Diagnosis device of electronic computer
JPS60258662A (en) Register file