JPH01205357A - System for testing memory error detecting circuit - Google Patents

System for testing memory error detecting circuit

Info

Publication number
JPH01205357A
JPH01205357A JP63031227A JP3122788A JPH01205357A JP H01205357 A JPH01205357 A JP H01205357A JP 63031227 A JP63031227 A JP 63031227A JP 3122788 A JP3122788 A JP 3122788A JP H01205357 A JPH01205357 A JP H01205357A
Authority
JP
Japan
Prior art keywords
data
section
check
memory unit
memory
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
JP63031227A
Other languages
Japanese (ja)
Inventor
Tsuneyasu Inukai
常泰 犬飼
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63031227A priority Critical patent/JPH01205357A/en
Publication of JPH01205357A publication Critical patent/JPH01205357A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To test a memory error circuit by reading data corresponding respectively to the data part and the check bit part of a memory unit, and detecting the presence of the error of both read data. CONSTITUTION:When the optional data is written by the address of a testing area and testing data desired to write in the check bit part 12 is outputted to a write data line, it is selected by a data selecting part 7, and inputted to the bit part 12. In this state, a memory control part 10 controls a control line C so as to make the memory unit 1 perform a write operation, and writes the optional data in the data part 11 and the bit part 12. Then, by reading the data from the unit 1, the error informing function of a data checking part 3 and the data correcting function of a data correcting part 4 can be checked for all data patterns.

Description

【発明の詳細な説明】 〔(既  要〕 本発明は、メモリユニットに格納されたデータのエラー
を検出するエラー検出回路をテストするメモリエラー検
出回路テスト方式に関し、メモリユニットに任意のテス
ト用データを書き込むことができるようにし、メモリエ
ラーを検出する回路をテストする方式を提供することを
を目的とし、 記憶データを格納するデータ部と、該データに対応する
チェックデータを格納するチェックビット部とからなり
、書き込み禁止信号によってデータ部に入力するデータ
の書き込みを禁止する手段を有するメモリユニットと、
該メモリユニットのデータ部に入力するデータの一部と
、チェックビット生成部で生成した該入力データのチェ
ックデータを選択して前記チェックビット部に出力する
データ選択部と、前記メモリユニットのデータ部とチェ
ックビット部のそれぞれ対応するデータを読み出して、
読み出した両データのエラーの有無を検出するデータチ
ェック部とを備えて構成する。
[Detailed Description of the Invention] [(Already Required)] The present invention relates to a memory error detection circuit test method for testing an error detection circuit that detects errors in data stored in a memory unit. The purpose of the present invention is to provide a method for testing a circuit that detects memory errors by making it possible to write memory errors. a memory unit comprising means for inhibiting writing of data input to the data section by a write inhibit signal;
a data selection section that selects a part of the data input to the data section of the memory unit and check data of the input data generated by the check bit generation section and outputs the selected data to the check bit section; and a data section of the memory unit. and the corresponding data in the check bit section,
and a data check unit that detects whether or not there is an error in both read data.

〔産業上の利用分野〕[Industrial application field]

本発明は、メモリユニットに格納されたデータのエラー
を検出するエラー検出回路をテストするメモリエラー検
出回路テスト方式に関するものである。
The present invention relates to a memory error detection circuit test method for testing an error detection circuit that detects errors in data stored in a memory unit.

メモリユニットに格納されるデータは、データ処理装置
のプログラム、入出力するデータ、あるいは処理の中間
データ等であって、メモリユニットのエラーの発生は、
データ処理装置における処理データの信頼度を失わせる
The data stored in the memory unit is the program of the data processing device, input/output data, intermediate data of processing, etc., and the occurrence of an error in the memory unit is
The reliability of processed data in a data processing device is lost.

そのため、メモリユニットから読み出されるデータに対
して、ECC(Error  Check and ’
Correct) + あるいはパリティチエツクを行
ってエラー検出を行っている。
Therefore, ECC (Error Check and '
Correct) + Or a parity check is performed to detect errors.

これらのチエツク回路が十分に機能していないと、メモ
リユニットに格納されたデータの信頼度は保障されなく
なるので、チエツク回路は常に確実な機能の保障が要求
される。
If these check circuits do not function satisfactorily, the reliability of the data stored in the memory unit cannot be guaranteed, so the check circuits are required to always ensure reliable functionality.

〔従来の技術〕[Conventional technology]

第3図は従来のメモリエラーを検出回路のテスト方法を
説明する図である。
FIG. 3 is a diagram illustrating a conventional method of testing a memory error detection circuit.

以下、先ず、メモリデータのエラーが修復される過程を
説明する(第3図のチェックデータ用レジスタ5とデー
タ選択部6は無視し、メモリユニット1のチェックビッ
ト部12の出力はデータチェック部3に直結される)。
Below, we will first explain the process by which errors in memory data are repaired (ignoring the check data register 5 and data selection section 6 in FIG. 3, the output of the check bit section 12 of the memory unit 1 ).

第3図に示すように、メモリユニット1はデータ部11
とチェックビット部12とを有し、例えば16ビツトの
書き込みデータが入力すると、データ部11に書き込ま
れるとともに、チェックビット生成部2、例えばECC
回路であれば入力データ16ビツトに対する6ビツトの
冗長データをチェックデータとして生成する。
As shown in FIG. 3, the memory unit 1 includes a data section 11.
and a check bit section 12. When write data of, for example, 16 bits is input, it is written to the data section 11 and is also sent to the check bit generating section 2, for example, ECC.
In the case of a circuit, 6-bit redundant data for 16-bit input data is generated as check data.

そして、メモリユニット1のチェックビット部12に格
納される。
Then, it is stored in the check bit section 12 of the memory unit 1.

メモリユニットに格納されたデータは読み出される時、
データチェック部3でチエツクされ、エラーが検出され
ると、データチェック部3はエラー信号を発生して図示
しないエラー処理部に通知し、データ修正部4にはエラ
ー修正情報を送出する。
When data stored in a memory unit is read out,
When the data is checked by the data check section 3 and an error is detected, the data check section 3 generates an error signal and notifies an error processing section (not shown), and sends error correction information to the data correction section 4.

そして、S売み出されたデータに1ビツトのエラーが生
じていても、データ修正部4はデータチェック部3から
送出されたエラー修正情報に基づいてデータを修復する
Even if a 1-bit error occurs in the data sold by S, the data correction section 4 repairs the data based on the error correction information sent from the data check section 3.

次いで、このエラー検出回路のテスト方法を説明する。Next, a method of testing this error detection circuit will be explained.

第3図のようにチェックデータ用レジスタ5とデータ選
択部6を接続する。
As shown in FIG. 3, the check data register 5 and the data selection section 6 are connected.

そして、データ選択部6はデータチェック部3のテスト
の時、チェックデータ用レジスタ5に格納された任意の
データを選択し、メモリユニット1のデータ部11から
読み出したデータとチェックデータ用レジスタ6から読
み出したチェックデータがデータチェック部3に送出さ
れる。
Then, when testing the data check section 3, the data selection section 6 selects arbitrary data stored in the check data register 5, and selects the data read from the data section 11 of the memory unit 1 and the check data register 6. The read check data is sent to the data check section 3.

データチェック部3は、メモリユニットlのデータ部1
1から入力したデータとデータ選択部6から入力したデ
ータとの相応性をチエツクし、検出回路の検出機能を確
認する。
The data check section 3 is a data section 1 of the memory unit l.
The compatibility between the data input from 1 and the data input from the data selection section 6 is checked, and the detection function of the detection circuit is confirmed.

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

この従来の方式では、チェックデータ用レジスタ、デー
タ選択部を付加することになり、回路が複雑になるとと
もに、メモリユニットからのデータの読み出しタイミン
グと、チェックデータ用レジスタからの読み出しタイミ
ングとは通常界なるので、このタイミングを一致させる
のが困難である。
In this conventional method, a check data register and a data selection section are added, which increases the complexity of the circuit, and the timing of reading data from the memory unit and the timing of reading data from the check data register are usually within limits. Therefore, it is difficult to match this timing.

しかも、付加したチェックデータ用レジスタ、データ選
択部の制御が煩わしい。
Moreover, controlling the added check data register and data selection section is cumbersome.

本発明はこのような点に鑑みて創作されたものであって
、メモリユニットに任意のテスト用データを書き込むこ
とができるようにし、メモリエラーを検出する回路をテ
ストする方式を提供することを目的としている。
The present invention was created in view of the above points, and an object of the present invention is to provide a method for testing a circuit that detects memory errors by allowing arbitrary test data to be written in a memory unit. It is said that

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

上記した目的を達成するため、記憶データを格納するデ
ータ部と、チェックビット部とからなり、データ部に人
力するデータの書き込みを禁止する手段を有するメモリ
ユニットと、入力するデータの一部と、チェックビット
生成部で生成したチェックデータを選択して出力するデ
ータ選択部と、メモリユニットを制御するメモリ制御部
とからなり、前記メモリユニットから読み出したデータ
部とチェックデータ部のデータの相応性ををデータチェ
ック部で比較チエツクする。
In order to achieve the above object, a memory unit includes a data section for storing memory data and a check bit section, and has a means for prohibiting manual data writing to the data section, and a part of data to be input; It consists of a data selection section that selects and outputs the check data generated by the check bit generation section, and a memory control section that controls a memory unit, and checks the compatibility of data in the data section read from the memory unit and the check data section. Compare and check in the data check section.

〔作 用〕[For production]

通常のプログラム処理するアドレス領域(プログラム領
域)と、テスト用データのアドレス領域(テスト用領域
)の2つのアドレス領域からメモリユニットの1つのデ
ータをアクセスできるようにする。
One piece of data in a memory unit can be accessed from two address areas: an address area for normal program processing (program area) and an address area for test data (test area).

プログラム領域のアドレスでデータを書き込む場合、プ
ログラム領域/テスト用領域デコード回路によりプログ
ラム領域選択信号が送出され、メモリユニット内のデー
タ部には書き込みたいデータが書き込まれるとともに、
チェックビット部にはデータ部に書き込まれたデータに
相応するチェックデータが言き込まれる。
When writing data using a program area address, a program area selection signal is sent by the program area/test area decoding circuit, and the data to be written is written to the data area in the memory unit.
Check data corresponding to the data written in the data section is written into the check bit section.

エラー検出回路のテストに使用するテスト用領域でデー
タを書き込む場合、プログラム領域/テスト用領域デコ
ード回路により、テスト用領域選択信号が送出され、デ
ータ部には書き込み禁止信号によって書き込まれず、プ
ログラム領域で書かれたデータはそのままであるが、そ
のデータに対応するチェックビット部には任意のデータ
を書き込むことが可能である。
When writing data in the test area used for testing the error detection circuit, the program area/test area decoding circuit sends out a test area selection signal, and the data area is not written to due to the write prohibition signal, and data is not written in the program area. Although the written data remains unchanged, it is possible to write any data to the check bit section corresponding to that data.

このような操作によって、メモリユニット内のデータ部
、チェックビット部の全てのピットに任意のデータを書
き込むことができる。 そして、テストで、このメモリ
ユニットからテスト用データとして読み出した時、メモ
リ制御部の制御プログラムによって、読み出されたデー
タが経由するデータチェック部の動作確認が詳細且つ容
易に可能となる。
Through such operations, arbitrary data can be written to all pits in the data section and check bit section within the memory unit. When test data is read out from this memory unit in a test, the control program of the memory control section makes it possible to check in detail and easily the operation of the data check section through which the read data passes.

〔実施例〕〔Example〕

第1図は本発明のメモリエラー検出回路テスト方式の一
実施例の構成を示すブロック図、第2図はメモリユニッ
トの書き込み/読み出しを説明する図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the memory error detection circuit test method of the present invention, and FIG. 2 is a diagram illustrating writing/reading of a memory unit.

なお、全図を通じて同一符号は同一対象物を示す。Note that the same reference numerals indicate the same objects throughout the figures.

メモリユニット1は、プログラム領域とテスト用領域の
アドレスで同じ1つのデータをアクセスすることができ
る。
The memory unit 1 can access the same data using addresses in the program area and test area.

プログラム領域/テスト用領域デコード回路りはメモリ
ユニット1に両頭域からアクセスするアドレスが入力す
ると、そのアドレスがプログラム領域かテスト用領域か
を弁別してプログラム領域選択信号Pあるいはテスト用
領域選択信号Tをオア回路8を介してメモリ制御部10
へ送出する。
When an address to be accessed from the double-headed area is input to the memory unit 1, the program area/test area decoding circuit distinguishes whether the address is a program area or a test area and outputs a program area selection signal P or a test area selection signal T. Memory control section 10 via OR circuit 8
Send to.

テスト用領域からのアドレスはこのテスト用領域選択信
号Tはメモリユニット1の書き込み禁止信号にとなる。
For addresses from the test area, this test area selection signal T becomes a write inhibit signal for the memory unit 1.

プログラム領域のアドレスで任意のデータを書き込む場
合、データ部11に書き込みたいデータ(DBOO〜D
B15)16ビソトを書き込みデータ線に出力する〔第
2図(al参照〕。
When writing arbitrary data at the address of the program area, the data (DBOO to D
B15) Output 16 bits to the write data line [see FIG. 2 (al)].

メモリユニットlのデータ部11には直接そのデータが
人力される。
The data is directly entered into the data section 11 of the memory unit l.

一方、同じデータはチエツクピット生成部2でチェック
データ(CBO〜CB5)6ビツトが生成され、データ
選択部7でこのチェックデータが選択されて、メモリユ
ニット1のチェックビット部12に入力する。
On the other hand, for the same data, the check pit generator 2 generates 6 bits of check data (CBO to CB5), the data selector 7 selects this check data, and inputs it to the check bit section 12 of the memory unit 1.

即ち、この状態ではメモリ制御部10は制御線Cを制御
してメモリユニット1に書き込み動作をし、また、書き
込み禁止信号線には「0」となっており、データ部11
に書き込まれる。
That is, in this state, the memory control section 10 controls the control line C to perform a write operation in the memory unit 1, and the write inhibit signal line is set to "0", and the data section 11
will be written to.

次ぎにテスト用領域のアドレスで任意のデータを書き込
む場合は、チェックビット部12に書き込みたいテスト
用データ(DBOO〜DBO5)を書き込みデータ線に
出力すると、データ選択部7で選択され、チェックビッ
ト部12に入力する〔第2図(C1参照〕。
Next, when writing arbitrary data at the address of the test area, output the test data (DBOO to DBO5) that you want to write to the check bit section 12 to the write data line, it will be selected by the data selection section 7, and the check bit section 12 [see Figure 2 (C1)].

この状態でメモリ制御部10は制御線Cを制御してメモ
リユニット1に書き込み動作をさせる。
In this state, the memory control section 10 controls the control line C to cause the memory unit 1 to perform a write operation.

但し、書き込み禁止信号線には「1」となっており、デ
ータ部11には何も書き込まれず、もとのデータが残っ
て、チェックビット部12にのみ書き込まれる。
However, the write inhibit signal line is set to "1" and nothing is written to the data section 11, the original data remains and is written only to the check bit section 12.

上記したように、メモリユニット1のデータ部11、チ
ェックビット部12は共に任意のデータが書き込むこと
ができる。
As described above, arbitrary data can be written to both the data section 11 and the check bit section 12 of the memory unit 1.

−そして、メモリユニット1からデータのj売み出しを
行うことによって、データチエ’)り部3のエラー通知
機能およびデータ修正部4のデータ修正機能が全てのデ
ータパターンについてチエツク可能となる〔第2図(b
)〕。
- Then, by selling the data from the memory unit 1, the error notification function of the data checking section 3 and the data correction function of the data correction section 4 can check all data patterns. Figure (b
)].

なお、データチェック部3は、FCCとパリティチエツ
ク等があるが、データ修正機能がないパリティチエツク
の場合は、データ修正部4は接続されない。
The data check section 3 includes an FCC and a parity check, but in the case of a parity check without a data correction function, the data correction section 4 is not connected.

また、オア回路8によってプログラム領域選択信号、テ
スト用領域選択信号いずれの信号でもメモリ制御部10
が駆動される。
Also, the OR circuit 8 allows the memory control unit 10 to receive either the program area selection signal or the test area selection signal.
is driven.

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

以−F述べてきたように、本発明によれば、メモリ制御
部が行う制御プログラムによって僅かな付加回路でエラ
ー検出回路の十分なテスト効果を得ることができ、更に
テスト工数の削減、ハードウェアの信頼性の向上に顕著
な効果があり、工業的には極めて有用である。
As described above, according to the present invention, it is possible to obtain a sufficient test effect of the error detection circuit with a small amount of additional circuitry by using the control program executed by the memory control unit, and furthermore, the number of test steps can be reduced, and the hardware It has a remarkable effect on improving reliability, and is extremely useful industrially.

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

第1図は本発明のメモリエラー検出回路テスト方式の一
実施例の構成を示すブロック図、第2図はメモリユニッ
トの書き込み/読み出しを説明する図、 第3図は従来のメモリエラー抄出回路のテスト方法を説
明する図である。 図において、 ■はメモリユニット、 2はチェックビット生成部、 3はデータチェック部、 7はデータ選択部、 10はメモリ制御部、 l】はデータ部、 12はチェックビット部を示す。 (a)葛j込汗 (b) 客を々1スし WiZ  図
FIG. 1 is a block diagram showing the configuration of an embodiment of the memory error detection circuit test method of the present invention, FIG. 2 is a diagram explaining writing/reading of a memory unit, and FIG. 3 is a diagram of a conventional memory error extraction circuit. It is a figure explaining a test method. In the figure, 2 is a memory unit, 2 is a check bit generation section, 3 is a data check section, 7 is a data selection section, 10 is a memory control section, 1 is a data section, and 12 is a check bit section. (a) Sweating with kudzu (b) Scratching customers and WiZ diagram

Claims (1)

【特許請求の範囲】[Claims] 記憶データを格納するデータ部(11)と、該データに
対応するチェックデータを格納するチェックビット部(
12)とからなり、書き込み禁止信号によってデータ部
(11)に入力するデータの書き込みを禁止する手段を
有するメモリユニット(1)と、該メモリユニット(1
)のデータ部(11)に入力するデータの一部と、チェ
ックビット生成部(2)で生成した該入力データのチェ
ックデータを選択して前記チェックビット部(12)に
出力するデータ選択部(7)と、前記メモリユニット(
1)のデータ部(11)とチェックビット部(12)の
それぞれ対応するデータを読み出して、読み出した両デ
ータのエラーの有無を検出するデータチェック部(3)
とを備えたことを特徴とするメモリエラー検出回路テス
ト方式。
A data section (11) that stores memory data, and a check bit section (11) that stores check data corresponding to the data.
12), the memory unit (1) has means for inhibiting writing of data input to the data section (11) by a write inhibit signal, and the memory unit (1)
), a data selection section ( 7) and the memory unit (
A data check unit (3) reads the corresponding data of the data section (11) and check bit section (12) of 1) and detects whether or not there is an error in both of the read data.
A memory error detection circuit test method comprising:
JP63031227A 1988-02-12 1988-02-12 System for testing memory error detecting circuit Pending JPH01205357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63031227A JPH01205357A (en) 1988-02-12 1988-02-12 System for testing memory error detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63031227A JPH01205357A (en) 1988-02-12 1988-02-12 System for testing memory error detecting circuit

Publications (1)

Publication Number Publication Date
JPH01205357A true JPH01205357A (en) 1989-08-17

Family

ID=12325531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63031227A Pending JPH01205357A (en) 1988-02-12 1988-02-12 System for testing memory error detecting circuit

Country Status (1)

Country Link
JP (1) JPH01205357A (en)

Similar Documents

Publication Publication Date Title
NL8600217A (en) DATA PROCESSING DEVICE CONTAINING A MEMORY DEVICE EQUIPPED WITH A COINCIDENCE CIRCUIT WHICH IS SWITCHABLE IN AN ERROR RECOGNITION AND COINCIDENCE MODE.
JPH01205357A (en) System for testing memory error detecting circuit
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JP2910692B2 (en) Testing method of random access memory
JPH0520215A (en) Information processor
JPH02207355A (en) Memory readout system
JP2998282B2 (en) Memory device
JPS63753A (en) Test system for memory error checking and correcting circuit
JPH0528056A (en) Memory device
JPH0338752A (en) Storage device
JPH0546487A (en) Detector for erroneous mounting of file panel
JPH01309421A (en) Error correction system
JPS6223337B2 (en)
JPH03126147A (en) Test system for external storage device
JPH0240727A (en) Error detecting and correcting device
JPH0553924A (en) System for testing storage device
JPH0752398B2 (en) Check circuit diagnostic device
JPH0325646A (en) Parity error discriminating system
JPH04341998A (en) Memory circuit
JPH02171991A (en) Control method for ic card
JPH08221282A (en) Parity generation and check circuit
JPH0217553A (en) Storage device with ras circuit
JPH01191245A (en) Memory test system
JPH01307852A (en) Detection of connection abnormality of memory unit
JPH01297733A (en) System for diagnosing error detection circuit