JPH05241868A - Testing system of memory error correction/detection circuit - Google Patents

Testing system of memory error correction/detection circuit

Info

Publication number
JPH05241868A
JPH05241868A JP3009801A JP980191A JPH05241868A JP H05241868 A JPH05241868 A JP H05241868A JP 3009801 A JP3009801 A JP 3009801A JP 980191 A JP980191 A JP 980191A JP H05241868 A JPH05241868 A JP H05241868A
Authority
JP
Japan
Prior art keywords
data
input
memory
output
output buffer
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.)
Withdrawn
Application number
JP3009801A
Other languages
Japanese (ja)
Inventor
Yozo Igi
洋三 井木
Kenji Fujizono
賢治 藤園
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 JP3009801A priority Critical patent/JPH05241868A/en
Publication of JPH05241868A publication Critical patent/JPH05241868A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To make it possible to reduce the number of input terminals by unnecessitating the exclusive data line for check bit data by writing check bit data in a memory by using a data line. CONSTITUTION:Input/output buffers 3, 4 receive the low-order half data DL of data and divides the data into either one by a selector signal. An input/output buffer 6 receives the high-order half data DH of data, the input/output thereof is connected commonly to the output of the input/output buffer 4 and is controlled by a test signal. An input/output buffer 10 receives the high-order half data DH of data, fetches the part thereof and is controlled by the test signal. In a memory 1, an ECC circuit 2 and a data line are connected, and the reading and writing in at least two kinds of data width where the input/output buffer 10 and an error bit line are connected becomes possible. When a memory 1 is used in a short data width, a check bit is transmitted from the high-order half data DH of data and is enabled to be inputted/outputted via the input/ output buffer 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はメモリエラー訂正・検出
回路(以下ECC回路と略す)の動作の正常性を試験す
るメモリエラー訂正・検出回路の試験システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory error correction / detection circuit test system for testing the normality of the operation of a memory error correction / detection circuit (hereinafter referred to as an ECC circuit).

【0002】[0002]

【従来の技術】図4は従来システムの構成例を示す図で
ある。図において、1は少なくとも2種類のデータ幅で
の読み書きができるメモリである。該メモリ1は例え
ば、図5に示すような構成となっている。図に示すメモ
リはD0〜D15までの16ビット幅構成である。この
メモリの番地指定は8ビット毎に行われ、最初の8ビッ
トD0〜D7に番地0(#0)を、次の8ビットD8〜
D15には番地1(#1)を割り当てている。
2. Description of the Related Art FIG. 4 is a diagram showing a configuration example of a conventional system. In the figure, 1 is a memory capable of reading and writing with at least two types of data widths. The memory 1 has a structure as shown in FIG. 5, for example. The memory shown has a 16-bit width configuration of D0 to D15. The address designation of this memory is performed every 8 bits, and the address 0 (# 0) is assigned to the first 8 bits D0 to D7 and the next 8 bits D8 to
Address 1 (# 1) is assigned to D15.

【0003】ここで、データの単位(データ幅)を8ビ
ット構成として扱う場合には番地は#0,#1,#2…
というように1ずつ更新されるが、ここでのメモリ1は
データの単位(データ幅)が16ビット構成としても用
いることができるようになっている。この場合の番地指
定は#0,#2,#4…というように増加していく。
When the data unit (data width) is treated as an 8-bit structure, the addresses are # 0, # 1, # 2 ...
Thus, the memory 1 here can be used even if the unit of data (data width) is 16 bits. In this case, the address designation is increased as # 0, # 2, # 4 ....

【0004】2はメモリ1に正常にデータが書き込まれ
たかどうかを判定すると共に、エラーがあった時には訂
正も行うことができるECC回路である。3はデータバ
スの下半分DB00〜DB07と接続される入出力バッ
ファ、4は同じくデータバスの下半分DB00〜DB0
7と接続される入出力バッファである。これら入出力バ
ッファ3,4はアドレスバスの最下位バスAB00のデ
ータ及びその反転信号(インバータ5の出力)で切り換
え制御が行われる。
Reference numeral 2 denotes an ECC circuit which can determine whether or not the data has been normally written in the memory 1 and can correct it when an error occurs. Reference numeral 3 denotes an input / output buffer connected to the lower half of the data bus DB00 to DB07, and 4 also denotes lower half of the data bus DB00 to DB0.
It is an input / output buffer connected to 7. The switching control of these input / output buffers 3 and 4 is performed by the data of the least significant bus AB00 of the address bus and its inverted signal (output of the inverter 5).

【0005】入出力バッファ3及び4の他方の側はEC
C回路2と接続されている。このように入出力バッファ
3,4を2個設けているのは、8ビットのデータバスで
16ビットのデータを扱う場合に、時分割方式でメモリ
1にデータを書き込む必要があるからである。つまり、
AB00が“0”の時に、入出力バッファ3がセレクト
されて下位8ビットデータを取り込み、AB00が
“1”の時に入出力バッファ4がセレクトされて上位8
ビットデータを取り込む。この結果、ECC回路2には
時分割で16ビットデータが入力されることになる。
EC on the other side of the input / output buffers 3 and 4
It is connected to the C circuit 2. The reason why the two input / output buffers 3 and 4 are provided is that data must be written to the memory 1 in a time division manner when 16-bit data is handled by the 8-bit data bus. That is,
When AB00 is "0", the input / output buffer 3 is selected to capture lower 8-bit data, and when AB00 is "1", the input / output buffer 4 is selected and upper 8 bits are selected.
Capture bit data. As a result, 16-bit data is input to the ECC circuit 2 in a time division manner.

【0006】6はデータ幅が16ビット(ワード)指定
の時の上位8ビットDB08〜DB15と接続される入
出力バッファである。ワード指定の時にはワードアクセ
ス信号により入出力バッファ6がアクティブになる。従
って、ワード指定時には、入出力バッファ3から下位8
ビットが、入出力バッファ6から上位8ビットがセレク
トされ、ECC回路2に入ることになる。
Reference numeral 6 denotes an input / output buffer connected to the upper 8 bits DB08 to DB15 when the data width is designated as 16 bits (word). When a word is designated, the word access signal activates the input / output buffer 6. Therefore, when a word is specified, the lower 8 bits from the input / output buffer 3
The upper 8 bits of the bits are selected from the input / output buffer 6 and enter the ECC circuit 2.

【0007】7はチェックビット用のスルーデータCH
B0〜CHB5の6ビットと接続される入出力バッファ
である。この入出力バッファ7はECCスルーモード指
定信号から制御を受ける。つまり、このECCTHモー
ド指定信号が“1”の時に、該入出力バッファ7はアク
ティブとなり、チェックビットCHB0〜CHB5を通
す。このECCTHモード指定信号はECC回路2にも
入っている。そして、ECCTHモード信号が“1”に
なると、ECC回路2の内部からのチェックビットCB
0〜CB5の出力は禁止される。この結果、入出力バッ
ファ7を通過したビットがメモリ1に書き込まれること
になる。
7 is a through data CH for check bit
It is an input / output buffer connected to 6 bits of B0 to CHB5. The input / output buffer 7 is controlled by the ECC through mode designating signal. That is, when the ECCTH mode designation signal is "1", the input / output buffer 7 becomes active and passes the check bits CHB0 to CHB5. This ECCTH mode designation signal is also input to the ECC circuit 2. When the ECCTH mode signal becomes "1", the check bit CB from the inside of the ECC circuit 2
The outputs of 0 to CB5 are prohibited. As a result, the bits that have passed through the input / output buffer 7 are written in the memory 1.

【0008】ECC回路2は下位8ビット端子MD00
〜MD07がメモリ1と接続され、上位8ビットMD0
8〜MD15がメモリ1と接続されている。更に、EC
C回路内部で作成されるチェックビットCB0〜CB5
がメモリ1と接続されている。このチェックビット線に
は、前述したように入出力バッファ7の出力も共通接続
されている。このように構成されたシステムの動作を説
明すれば、以下のとおりである。 (通常のメモリの読み書き動作)データ線が8ビットの
場合にはAB00信号で入出力バッファ3,4を切り分
けて使用する。つまり、下位8ビットデータはAB00
=“0”の時に入出力バッファ3を介してECC回路2
に入力し、上位8ビットデータはAB00=“1”の時
に入出力バッファ4を介してECC回路2に入力する。
データ線が16ビットの場合には、入出力バッファ3を
介して下位8ビットをECC回路2に入力し、ワードア
クセス信号によりアクティブになった入出力バッファ6
により上位8ビットをECC回路2に入力する。
The ECC circuit 2 has a lower 8-bit terminal MD00.
~ MD07 is connected to the memory 1 and the upper 8 bits MD0
8 to MD15 are connected to the memory 1. Furthermore, EC
Check bits CB0 to CB5 created inside the C circuit
Are connected to the memory 1. As described above, the output of the input / output buffer 7 is also commonly connected to this check bit line. The operation of the system configured as described above will be described below. (Normal memory read / write operation) When the data line is 8 bits, the input / output buffers 3 and 4 are separated by the AB00 signal and used. That is, the lower 8-bit data is AB00.
ECC circuit 2 through input / output buffer 3 when = "0"
The upper 8-bit data is input to the ECC circuit 2 via the input / output buffer 4 when AB00 = “1”.
When the data line is 16 bits, the lower 8 bits are input to the ECC circuit 2 via the input / output buffer 3, and the input / output buffer 6 activated by the word access signal.
Then, the upper 8 bits are input to the ECC circuit 2.

【0009】ECC回路2はこれらデータを受けると、
内部でチェックビットCB0〜CB5を作成し、受信し
たデータと共に、それぞれのデータ線からメモリ1に書
き込む。この時のメモリ1のデータビット数は、チェッ
クビットも含めて22ビットになっている。
When the ECC circuit 2 receives these data,
Check bits CB0 to CB5 are created internally, and the check bits CB0 to CB5 are written in the memory 1 from the respective data lines together with the received data. At this time, the number of data bits of the memory 1 is 22 bits including the check bits.

【0010】メモリ1に書き込まれているデータを読出
す時には、ECC回路2はチェックビットも含めて読出
し、所定のアルゴリズムを用いてチェックビットを検討
し、メモリの読出しエラーがあるかどうかチェックす
る。
When reading the data written in the memory 1, the ECC circuit 2 also reads the check bits, examines the check bits using a predetermined algorithm, and checks whether there is a memory read error.

【0011】エラーがない場合には、メモリ1から読出
したデータを入出力バッファ3,4を用いて時分割出力
するか、ワード指定の時には、入出力バッファ3,6か
ら16ビットデータを出力する。
When there is no error, the data read from the memory 1 is output by time division using the input / output buffers 3 and 4, or when the word is designated, 16 bit data is output from the input / output buffers 3 and 6. ..

【0012】次にエラーがあった場合について考える。
1ビットエラーの時には誤り位置まで分かり、エラー訂
正を行う。2ビットエラーの場合にはエラーの訂正はで
きないが、エラーがあったことを示すエラー信号を出力
する。 (ECC回路の試験時の動作)ECC回路2の正常性を
試験する場合には、ECCスルーモードに設定する。従
って、ECCTHモード指定信号を“1”にする。この
結果、ECC回路2のチェックビットCB0〜CB5の
出力が禁止される。代わりに、入出力バッファ7がアク
ティブになり、外部からチェックビットデータが取り込
まれ、メモリ1に与えられ、書き込まれる。一方、通常
のデータは、前述したように、8ビットデータ線の場合
と16ビットデータ線の場合で異なるルートを通ってE
CC回路2に入り、ECC回路2から出力されメモリ1
に書き込まれる。
Next, consider the case where there is an error.
When there is a 1-bit error, the error position is known and error correction is performed. In the case of a 2-bit error, the error cannot be corrected, but an error signal indicating that there is an error is output. (Operation During Testing of ECC Circuit) When testing the normality of the ECC circuit 2, the ECC through mode is set. Therefore, the ECCTH mode designation signal is set to "1". As a result, output of the check bits CB0 to CB5 of the ECC circuit 2 is prohibited. Instead, the input / output buffer 7 becomes active, and the check bit data is fetched from the outside, given to the memory 1, and written. On the other hand, as described above, normal data passes through different routes between the 8-bit data line and the 16-bit data line, and
Enter the CC circuit 2 and output from the ECC circuit 2 to the memory 1
Written in.

【0013】メモリ1に書き込んだデータを読出す場合
には、ECCTHモード指定を解除する。この結果、メ
モリ1から読み出されたデータとチェックビットデータ
はECC回路2に取り込まれる。ここで、予めメモリエ
ラーとなるようなチェックビットデータをスルーモード
でメモリ1に書き込んでおくものとする。ECC回路2
の動作が正常であれば、該ECC回路2は一定のアルゴ
リズムによりメモリエラーを検出してエラー信号を出力
する。若し、チェックビットをメモリエラーとなるよう
に書き込んでおいたにも拘らずエラー信号が出力されな
い場合には、ECC回路2に異常があることになる。こ
のようにして、ECC回路2の正常性を試験することが
できる。
When reading the data written in the memory 1, the ECCTH mode designation is canceled. As a result, the data read from the memory 1 and the check bit data are taken into the ECC circuit 2. Here, it is assumed that check bit data that causes a memory error is written in the memory 1 in the through mode in advance. ECC circuit 2
If the operation is normal, the ECC circuit 2 detects a memory error by a certain algorithm and outputs an error signal. If the error signal is not output even though the check bit is written so as to cause a memory error, the ECC circuit 2 has an abnormality. In this way, the normality of the ECC circuit 2 can be tested.

【0014】[0014]

【発明が解決しようとする課題】前述した従来回路で
は、チェックビット用のインタフェース回路が必要であ
り、メモリのデータ幅が拡大する中でこの入出力信号線
を専用に設けるのは困難になっている。つまり、図4に
示す回路を1枚のプリント板に複数組設ける場合に、コ
ネクタの端子数が不足してくる。従って、図4に示すよ
うな6ビットのチェックビット線を設けることが困難に
なってくる。データ線自体は最低でも8ビットは必要で
あり、このデータ線は減らすことができない。従って、
チェックビット線の増加が問題となってくる。
In the above-mentioned conventional circuit, the interface circuit for the check bit is necessary, and it becomes difficult to provide this input / output signal line for exclusive use as the data width of the memory increases. There is. That is, when a plurality of sets of the circuit shown in FIG. 4 are provided on one printed board, the number of terminals of the connector becomes insufficient. Therefore, it becomes difficult to provide a 6-bit check bit line as shown in FIG. The data line itself requires at least 8 bits, and this data line cannot be reduced. Therefore,
The increase of check bit lines becomes a problem.

【0015】本発明はこのような課題に鑑みてなされた
ものであって、入出力端子数を減らすことができるメモ
リエラー訂正・検出回路の試験システムを提供すること
を目的としている。
The present invention has been made in view of the above problems, and an object thereof is to provide a test system for a memory error correction / detection circuit which can reduce the number of input / output terminals.

【0016】[0016]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図4と同一のものは、同一の符号を付し
て示す。図において、3,4はデータの下位半分データ
DLを受け、セレクト信号によりいずれか一方に切り分
ける第1及び第2の入出力バッファ、6はデータの上位
半分データDHを受け、その入出力が前記第2の入出力
バッファ4の出力と共通接続され、試験信号により制御
される第3の入出力バッファ、10は前記データの上位
半分データDHを受け、その一部を取り込み、前記試験
信号により制御される第4の入出力バッファである。
FIG. 1 is a block diagram showing the principle of the present invention. The same parts as those in FIG. 4 are designated by the same reference numerals. In the figure, 3 and 4 receive the lower half data DL of the data, and the first and second input / output buffers that divide the data into either one by the select signal, and 6 receive the upper half data DH of the data, the input / output of which is the above-mentioned. The third input / output buffer 10, which is commonly connected to the output of the second input / output buffer 4 and is controlled by the test signal, receives the upper half data DH of the data, takes in a part of the data DH, and controls it by the test signal. This is a fourth input / output buffer that is

【0017】2は前記第1及び第2の入出力バッファ
3,4と接続されてメモリエラー訂正・検出を行うEC
C回路、1は該ECC回路2とデータ線が接続されると
共に、前記第4の入出力バッファ10とエラーチェック
ビット線が接続される少なくとも2種類のデータ幅での
読み書きが可能なメモリである。
An EC 2 is connected to the first and second input / output buffers 3 and 4 and performs memory error correction / detection.
A C circuit 1 is a memory which is connected to the ECC circuit 2 and a data line and is connected to the fourth input / output buffer 10 and an error check bit line, and which is capable of reading and writing with at least two kinds of data widths. ..

【0018】[0018]

【作用】前記メモリ1が短いデータ幅で使用される時
に、データの上半分データDHからチェックビットを送
出し、第4の入出力バッファ10を経由してメモリ1に
入出力できるようにする。これにより、チェックビット
専用のデータ線が不要になり、入出力端子数を減らすこ
とができる。
When the memory 1 is used with a short data width, a check bit is sent from the upper half data DH of the data so that the check bit can be input to and output from the memory 1 via the fourth input / output buffer 10. This eliminates the need for a data line dedicated to the check bit, and reduces the number of input / output terminals.

【0019】[0019]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0020】図2は本発明の一実施例を示す構成ブロッ
ク図である。図1と同一のものは、同一の符号を付して
示す。図において、3,4はデータの下位半分データD
H(B00〜DB07)を受け、セレクト信号によりい
ずれか一方に切り分ける第1及び第2の入出力バッフ
ァ、6はデータの上位半分データ(DB08〜DB1
5)を受け、その入出力が前記第2の入出力バッファ4
の出力と共通接続され、試験信号により制御される第3
の入出力バッファ、10は前記データの上位半分データ
DHを受け、その一部(DB08〜DB13の6ビッ
ト)を取り込み、前記試験信号により制御される第4の
入出力バッファである。
FIG. 2 is a configuration block diagram showing an embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals. In the figure, 3 and 4 are the lower half data D of the data
First and second input / output buffers which receive H (B00 to DB07) and are separated into one by a select signal, and 6 are upper half data (DB08 to DB1)
5), and its input / output is the second input / output buffer 4
Third output commonly connected to and controlled by a test signal
The input / output buffer 10 is a fourth input / output buffer which receives the upper half data DH of the above data, takes in a part of it (6 bits of DB08 to DB13), and is controlled by the test signal.

【0021】アドレス信号AB00は第2の入出力バッ
ファ4に入り、その反転信号はインバータ3aから入出
力バッファ3に入っている。
The address signal AB00 enters the second input / output buffer 4, and its inverted signal enters the input / output buffer 3 from the inverter 3a.

【0022】2は前記第1及び第2の入出力バッファ
3,4と接続されてメモリエラー訂正・検出を行うEC
C回路、1は該ECC回路2とデータ線が接続されると
共に、前記第4の入出力バッファ10とエラーチェック
ビット線が接続される少なくとも2種類のデータ幅での
読み書きが可能なメモリである。
An EC 2 is connected to the first and second input / output buffers 3 and 4 and performs memory error correction / detection.
A C circuit 1 is a memory which is connected to the ECC circuit 2 and a data line and is connected to the fourth input / output buffer 10 and an error check bit line, and which is capable of reading and writing with at least two kinds of data widths. ..

【0023】10aはECCTHモード信号と単体試験
モード信号を受けるアンドゲート、10bは単体モード
信号を反転するインバータである。アンドゲート10a
の出力は第4の入出力バッファ10に入力されている。
11はチェックビット6ビットを保持するチェックビッ
トレジスタ(以下CBレジスタという)、11aはEC
CTHモード指定信号及び単体試験モード信号の反転信
号を受けるアンドゲート、11bはCBレジスタ11の
出力を受ける3ステートバッファである。アンドゲート
11aの出力はバッファ11bの制御信号として入って
いる。このように構成された回路の動作を説明すれば、
以下のとおりである。
Reference numeral 10a is an AND gate for receiving the ECCTH mode signal and the unit test mode signal, and 10b is an inverter for inverting the unit mode signal. AND gate 10a
Is output to the fourth input / output buffer 10.
11 is a check bit register (hereinafter referred to as CB register) that holds 6 check bits, and 11a is an EC
An AND gate that receives the CTH mode designation signal and the inverted signal of the unit test mode signal, and 11b is a three-state buffer that receives the output of the CB register 11. The output of the AND gate 11a is input as a control signal for the buffer 11b. Explaining the operation of the circuit configured in this way,
It is as follows.

【0024】通常のメモリ1の読み書き動作は、図4に
示す従来回路と同様である。即ち、入出力バッファ3及
び4(又は6)の16ビットデータはECC回路2に入
り、これにチェックビット6ビットが付加された形で、
メモリ1に書き込まれる。メモリ読出し時には、ECC
回路2は読出したチェックビットをもとにメモリエラー
の有無をチェックする。メモリエラーがある場合に、訂
正できる場合には訂正し、訂正できない場合でもエラー
信号を出力する。
The normal read / write operation of the memory 1 is similar to that of the conventional circuit shown in FIG. That is, the 16-bit data of the input / output buffers 3 and 4 (or 6) enters the ECC circuit 2, and the check bit 6 bits are added to this,
Written to memory 1. ECC when reading memory
The circuit 2 checks whether or not there is a memory error based on the read check bit. If there is a memory error, it is corrected if it can be corrected, and an error signal is output even if it cannot be corrected.

【0025】次に、ECC回路2の試験時の動作につい
て説明する。 (1)メモリカード単体として試験する場合 この時には、ECCTHモード信号と単体試験モード信
号によりECCTHモード指定と単体試験モードに設定
する。この時、それぞれのモード信号は“1”になる。
この結果、アンドゲート10aの出力は“1”になり第
4の入出力バッファ10をアクティブにする。この時、
アンドゲート11aの出力は“0”となり、3ステート
バッファ11bをハイインピーダンスに設定してCBレ
ジスタ11の出力を禁止している。また、ECCTHモ
ード信号はECC回路2に入り内部のチェックビットC
B0〜CB5の出力を禁止している。
Next, the operation of the ECC circuit 2 during the test will be described. (1) When testing as a single memory card At this time, the ECCTH mode designation and the single test mode are set by the ECCTH mode signal and the single test mode signal. At this time, each mode signal becomes "1".
As a result, the output of the AND gate 10a becomes "1" and activates the fourth input / output buffer 10. At this time,
The output of the AND gate 11a becomes "0", and the 3-state buffer 11b is set to high impedance to prohibit the output of the CB register 11. The ECCTH mode signal enters the ECC circuit 2 and the internal check bit C
The output of B0 to CB5 is prohibited.

【0026】この状態で、メモリ試験機(図示せず)か
らDB00〜DB07に試験データを、DB08〜DB
13にチェックビットを乗せて出力する。DB00〜D
B07からの試験データは、入出力バッファ3を経てE
CC回路2に入る。そして、ECC回路2のMD00〜
MD07から出力されてメモリ1に入る。
In this state, the memory tester (not shown) sends test data to DB00 to DB07 and DB08 to DB07.
A check bit is added to 13 and output. DB00-D
The test data from B07 passes through the input / output buffer 3 to E
Enter the CC circuit 2. Then, MD00 of the ECC circuit 2
It is output from MD07 and enters the memory 1.

【0027】一方、DB08〜DB13から入るチェッ
クビットは入出力バッファ10を経てメモリ1に直接入
る。そして、メモリ1には8ビット+6ビットのデータ
として書き込まれる。
On the other hand, the check bits input from DB08 to DB13 directly enter the memory 1 via the input / output buffer 10. Then, it is written in the memory 1 as data of 8 bits + 6 bits.

【0028】メモリ1にデータ及びチェックビットを書
き込んだら、ECCTH及び単体試験モードを解除す
る。この結果、これらモード信号は“0”になる。EC
CTHモード信号が“0”になると、ECC回路2の内
部チェックビットの動作が可能となる。この時にも、C
Bレジスタ11の出力は禁止されたままである。
After writing the data and the check bit in the memory 1, the ECCTH and the unit test mode are released. As a result, these mode signals become "0". EC
When the CTH mode signal becomes "0", the operation of the internal check bit of the ECC circuit 2 becomes possible. Also at this time, C
The output of the B register 11 remains prohibited.

【0029】この状態で、メモリ1からデータを読出し
てECC回路2内に取り込む。この時、ECC回路2の
チェックビット端子CB0〜CB5はアクティブとなっ
ているので、メモリ1から読み出されたチェックビット
もECC回路2に取り込まれる。そして、ECC回路2
は取り込んだデータのエラーチェックを行う。
In this state, the data is read from the memory 1 and taken into the ECC circuit 2. At this time, since the check bit terminals CB0 to CB5 of the ECC circuit 2 are active, the check bits read from the memory 1 are also fetched into the ECC circuit 2. And the ECC circuit 2
Performs error check on the imported data.

【0030】ここで、予めDB08〜DB13から与え
るチェックビットにエラーデータを与えておくと、EC
C回路2の動作が正常な場合には、該ECC回路2はエ
ラー信号を出力する。これにより、ECC回路の正常性
を判別することができる。また、本発明によればデータ
線DB08〜DB13を用いてチェックビットを与える
ようにしているので、新たにチェックビット専用のデー
タ線を設ける必要がない。 (2)システム上で試験をする場合 この場合には、予めCBレジスタ11にチェックビット
用のデータを書き込んでおく。そして、ECCTHモー
ドのみ指定してデータの書き込みを行う。ECCTHモ
ード信号のみ“1”であるので、アンドゲート10aの
出力は“0”となり、第4の入出力バッファ10は切り
離される。一方、アンドゲート11aが“1”となり、
3ステートバッファ11bがアクティブとなる。従っ
て、メモリ1にはDB00〜DB07からのデータに加
えて、CBレジスタ11の出力が書き込まれることにな
る。
Here, if error data is given to the check bits given from DB08 to DB13 in advance, EC
When the operation of the C circuit 2 is normal, the ECC circuit 2 outputs an error signal. This makes it possible to determine the normality of the ECC circuit. Further, according to the present invention, since the check bit is provided by using the data lines DB08 to DB13, it is not necessary to newly provide a data line dedicated to the check bit. (2) When a test is performed on the system In this case, check bit data is written in the CB register 11 in advance. Then, data is written by designating only the ECCTH mode. Since only the ECCTH mode signal is "1", the output of the AND gate 10a becomes "0" and the fourth input / output buffer 10 is disconnected. On the other hand, the AND gate 11a becomes "1",
The 3-state buffer 11b becomes active. Therefore, the output of the CB register 11 is written to the memory 1 in addition to the data from DB00 to DB07.

【0031】読出し時には、ECCTHモードを解除し
てECC回路2にメモリ1の内容を読出して取り込め
ば、正常性の試験を行うことができる。この場合には、
CBレジスタ11にデータ線からチェックビットデータ
を書き込むようにしておけば、メモリ試験機からではな
く、システムとしてECC回路の試験が可能となる。
At the time of reading, if the ECCTH mode is released and the contents of the memory 1 are read and loaded into the ECC circuit 2, the normality test can be performed. In this case,
If the check bit data is written in the CB register 11 from the data line, the ECC circuit can be tested as a system, not from the memory tester.

【0032】図3は本発明の実施例の詳細構成例を示す
図で、ECC回路の入力段の構成を示している。図2と
同一のものは、同一の符号を付して示す。図において、
20はゲート回路であり、各種制御信号(AB00,ワ
ードアクセス指定信号,メモリリード指定信号,ECC
スルーモード指定信号及び単体試験モード指定信号)を
受けて、それぞれの入出力バッファ3,4,6,10の
制御信号を出力している。図のからの対応する番号
同志が接続されている。その制御信号の機能は、図2の
実施例と同じである。
FIG. 3 is a diagram showing a detailed configuration example of the embodiment of the present invention, showing the configuration of the input stage of the ECC circuit. The same parts as those in FIG. 2 are designated by the same reference numerals. In the figure,
Reference numeral 20 is a gate circuit for various control signals (AB00, word access designation signal, memory read designation signal, ECC
In response to the through mode designating signal and the unit test mode designating signal), the control signals of the respective input / output buffers 3, 4, 6, 10 are output. The corresponding numbers from the figure are connected to each other. The function of the control signal is the same as that of the embodiment shown in FIG.

【0033】CBレジスタ11にはDB00〜DB07
のデータのうちの6ビットが入っており、システム試験
時にはデータ線にチェックビットデータを乗せてCBレ
ジスタ11にラッチさせておく。このような構成とする
ことにより、チェックビットデータをシステム側から任
意に設定することができる。
The CB register 11 has DB00 to DB07.
6 bits of the data are stored in the CB register 11, and the check bit data is placed on the data line and latched in the CB register 11 during the system test. With such a configuration, the check bit data can be arbitrarily set from the system side.

【0034】[0034]

【発明の効果】以上、詳細に説明したように、本発明に
よればデータ線を使用してチェックビットデータをメモ
リに書き込むようにしているので、チェックビットデー
タ用の専用のデータ線が不要になり、入出力端子数を減
らすことができる。
As described above in detail, according to the present invention, since the check bit data is written in the memory by using the data line, the dedicated data line for the check bit data is unnecessary. Therefore, the number of input / output terminals can be reduced.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 2 is a configuration block diagram showing an embodiment of the present invention.

【図3】本発明の実施例の詳細構成例を示す回路図であ
る。
FIG. 3 is a circuit diagram showing a detailed configuration example of an embodiment of the present invention.

【図4】従来システムの構成例を示す図である。FIG. 4 is a diagram showing a configuration example of a conventional system.

【図5】メモリの構成例を示す図である。FIG. 5 is a diagram showing a configuration example of a memory.

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

1 メモリ 2 ECC回路 3,4,6,10 入出力バッファ 1 memory 2 ECC circuit 3, 4, 6, 10 input / output buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データの下位半分データDLを受け、セ
レクト信号によりいずれか一方に切り分ける第1及び第
2の入出力バッファ(3),(4)と、 データの上位半分データDHを受け、その入出力が前記
第2の入出力バッファ(4)の出力と共通接続され、試
験信号により制御される第3の入出力バッファ(6)
と、 前記データの上位半分データDHを受け、その一部を取
り込み、前記試験信号により制御される第4の入出力バ
ッファ(10)と、 前記第1及び第2の入出力バッファ(3),(4)と接
続されてメモリエラー訂正・検出を行うECC回路
(2)と、 該ECC回路(2)とデータ線が接続されると共に、前
記第4の入出力バッファ(10)とエラーチェックビッ
ト線が接続される少なくとも2種類のデータ幅での読み
書きが可能なメモリ(1)とを具備し、 前記メモリ(1)が短いデータ幅で使用される時に、使
用されないデータビットを使用してエラーチェックビッ
トを第4の入出力バッファ(10)を経由して入出力で
きるように構成したことを特徴とするメモリエラー訂正
・検出回路の試験システム。
1. The first and second input / output buffers (3) and (4) for receiving the lower half data DL of the data and dividing into either one by a select signal, and the upper half data DH of the data, and A third input / output buffer (6) whose input / output is commonly connected to the output of the second input / output buffer (4) and controlled by a test signal
A fourth input / output buffer (10) which receives the upper half data DH of the data and fetches a part of the data DH and is controlled by the test signal; and the first and second input / output buffers (3), An ECC circuit (2) connected to (4) for memory error correction / detection, the ECC circuit (2) is connected to a data line, and the fourth input / output buffer (10) and an error check bit are connected. A memory (1) capable of reading and writing with at least two kinds of data widths to which lines are connected, and when the memory (1) is used with a short data width, an error is caused by using unused data bits. A test system for a memory error correction / detection circuit, characterized in that check bits can be input / output via a fourth input / output buffer (10).
【請求項2】 ECC回路(2)のチェックビットを任
意に発生可能なチェックビットレジスタ(11)を設
け、任意のデータのチェックビットのメモリ(1)への
書き込みができるようにしたことを特徴とする請求項1
記載のメモリエラー訂正・検出回路の試験システム。
2. A check bit register (11) capable of arbitrarily generating a check bit of an ECC circuit (2) is provided so that a check bit of arbitrary data can be written in a memory (1). Claim 1
Test system for the described memory error correction / detection circuit.
JP3009801A 1991-01-30 1991-01-30 Testing system of memory error correction/detection circuit Withdrawn JPH05241868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3009801A JPH05241868A (en) 1991-01-30 1991-01-30 Testing system of memory error correction/detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3009801A JPH05241868A (en) 1991-01-30 1991-01-30 Testing system of memory error correction/detection circuit

Publications (1)

Publication Number Publication Date
JPH05241868A true JPH05241868A (en) 1993-09-21

Family

ID=11730297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3009801A Withdrawn JPH05241868A (en) 1991-01-30 1991-01-30 Testing system of memory error correction/detection circuit

Country Status (1)

Country Link
JP (1) JPH05241868A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656322B2 (en) 2007-09-14 2010-02-02 Oki Semiconductor Co., Ltd. Semiconductor memory device having error correction function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656322B2 (en) 2007-09-14 2010-02-02 Oki Semiconductor Co., Ltd. Semiconductor memory device having error correction function

Similar Documents

Publication Publication Date Title
KR920003322A (en) Semiconductor memory with improved test mode
JPH0212445A (en) Storage device
JPH05241868A (en) Testing system of memory error correction/detection circuit
JPS63217452A (en) Setting system for memory access timing
US6535992B1 (en) DRAM auto-swapping device
JPS63241649A (en) Microcomputer system
JPS62242258A (en) Storage device
US5586129A (en) Parity bit memory simulator
US6185649B1 (en) System for correcting an illegal addressing signal by changing a current bit from one to zero if a bit immediately left adjacent to the current bit is zero
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH10214206A (en) Information processor
KR100401542B1 (en) Apparatus for testing pcb
JP2704062B2 (en) Information processing device
JPS6167162A (en) Memory-checking circuit
JPH1196793A (en) Semiconductor memory test device
JP3092179B2 (en) Semiconductor integrated circuit
JPH08221282A (en) Parity generation and check circuit
JPH0612270A (en) Test circuit
JPH0528056A (en) Memory device
JPS636642A (en) Detecting device for card packing state
JPH0573437A (en) Memory parity circuit
JPH05307900A (en) Semiconductor memory element
JPH05241900A (en) Program operation confirmation system of computer
JPH0218647A (en) Cache memory test method
JPH0554641A (en) Semiconductor memory device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514