JPS6167162A - Memory-checking circuit - Google Patents

Memory-checking circuit

Info

Publication number
JPS6167162A
JPS6167162A JP59187541A JP18754184A JPS6167162A JP S6167162 A JPS6167162 A JP S6167162A JP 59187541 A JP59187541 A JP 59187541A JP 18754184 A JP18754184 A JP 18754184A JP S6167162 A JPS6167162 A JP S6167162A
Authority
JP
Japan
Prior art keywords
circuit
address
write data
memory circuit
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
JP59187541A
Other languages
Japanese (ja)
Inventor
Keiichi Suzuki
啓一 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP59187541A priority Critical patent/JPS6167162A/en
Publication of JPS6167162A publication Critical patent/JPS6167162A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To check the validity of a memory circuit easily by saving labour for preparing a check program for the memory circuit and excluding an error caused by the manipulation by incorporating a check circuit in a memory circuit. CONSTITUTION:When turned to the test mode, an address-switching circuit 5 in a checking circuit incorporated in a memory circuit and a write data switching circuit 3 receive respectively a signal from a test mode terminal 1 and the circuit 5 switches the address from an address terminal in the circuit 5 and data from a write data terminal 2 is switched through the circuit 3. The output from the circuit 5 is applied to an address register 7 controlled by a clock 16 and the output from the register 7 is added with +1 through an adder 6 and the added output is returned to the registor 7 and applied to a memory circuit 8. The output from the circuit 3 is returned to the circuit 3 through a write data register 11 for receiving the pulse from a write pulse terminal 9 and sent concurrently to the circuit 8. The signal from a read-enable terminal 15 is applied to a read-data terminal 10 and to an error discriminating circuit 12 to check the validity of circuit 8 by such a simple circuit.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデータ処理装置などKおけるメモリ回路のエラ
ーチェック回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an error check circuit for a memory circuit in a data processing device or the like.

従来の技術 従来、データ処理装置などに含まれる論理回路のチェッ
クについては、この論理回路にテストデータを入力して
、専用の試験機で行っている。しかし、メモリ回路搭載
のパッケージに対しては、このテストデータを作成する
ための故障をシ為ミレーシ曹ンする場合、あらかじめ回
路全体をゲートレベルに分解し、故障定義を行うため、
通常のパッケージの数倍もの時間、すなわち大形コンビ
為−夕を用いても数十時間もの時間が必要となる。
BACKGROUND OF THE INVENTION Conventionally, logic circuits included in data processing devices and the like have been checked using a dedicated testing machine by inputting test data to the logic circuits. However, for packages equipped with memory circuits, when analyzing failures to create test data, the entire circuit must be disassembled to the gate level and failures defined.
It takes several times as much time as a normal package, that is, even if a large combination machine is used, it takes several tens of hours.

したがって現状では、人手によって入カバターンと正解
値を与えるプログ2ムを作成して、DA処IICデザイ
ンオートメーシ1ン)を行っている。
Therefore, at present, DA processing IIC design automation 1) is performed by manually creating a program that provides input patterns and correct answer values.

この方法によると、Dλ処理は数分と短か(、Yシンタ
イムの節約にはなるが、人がプログラムを作成するので
その工数が多くかか〕、かつ間違いの発生も多くなると
いう欠点があった。
This method has the drawbacks that the Dλ processing is only a few minutes (it saves time, but it takes a lot of man-hours because the program is created by a person), and there are many errors. there were.

これに関する事項としては、例えば「情報処理voz、
 22&8 J (情報処理学会誌Aug、1981)
770〜776頁、山田昭彦他2名著「論理回路の試験
1診断」K記載されている。
Matters related to this include, for example, "information processing voz,
22 & 8 J (Information Processing Society of Japan Aug, 1981)
Pages 770 to 776, written by Akihiko Yamada et al., "Logic Circuit Test 1 Diagnosis" K.

発明が解決しようとする問題点 本発明の目的は、上記の欠点すなわち、チェックプログ
ラム作成の工数が多くかかること、および間違い発生が
生じること等の問題点を解決する“メモリチェック回路
を提供することKある0問題点を解決するための手段 本発明は上述の問題点を解決するために、メモリ回路の
アドレス入力部分に、アドレス切換回路と加算回路と、
アドレスレジスタとを有し、テストモード信号によって
、アドレス切換回路は外部から与えられるアドレス信号
を、加算回路でクロックごとに+1加算されるアドレス
信号に切換えてアドレスレジスタに入力し、このアドレ
スレジスタの出力がクロックパルスごとにメモリ回路の
アドレスを順次+1加算する手段と、メモリ回路のライ
トデータ入力部分に、ライトデータ切換回路とライトデ
ータレジスタとを有し、アドレスの場合と同じくテスト
モード信号によって、ライトデータ切換回路は外部から
与えられたライトデータ信号を、ライトデータレジスタ
のコンプレメント出力データ信号に切換え、ま九ライト
レジスタはメモリ回路に入力したライトデータを受けて
、メモリ回路のライトパルスと同期して動作して入力信
号のコンブレメ/ト信号を再びメモリ回路のライト用デ
ータとして入力する手段と、メモリ回路の出力部分に、
排他的論理和回路からなるエラー判定回路を有し、リー
ドデータのエラーを判定する手段とを設けた構成を採用
するものである。
Problems to be Solved by the Invention An object of the present invention is to provide a "memory check circuit" that solves the above-mentioned drawbacks, such as the large number of man-hours required to create a check program and the occurrence of errors. Means for Solving K0 Problems In order to solve the above-mentioned problems, the present invention provides an address switching circuit and an adder circuit in the address input portion of the memory circuit.
In response to the test mode signal, the address switching circuit switches an externally applied address signal to an address signal that is incremented by +1 for each clock in an adder circuit and inputs it to the address register, and outputs the address register. has a means for sequentially adding +1 to the address of the memory circuit for each clock pulse, and a write data switching circuit and a write data register in the write data input section of the memory circuit, and the write operation is performed by the test mode signal as in the case of the address. The data switching circuit switches the externally applied write data signal to the complement output data signal of the write data register, and the write register receives the write data input to the memory circuit and synchronizes with the write pulse of the memory circuit. means for inputting the combination signal of the input signal as write data to the memory circuit again; and an output portion of the memory circuit;
The present invention employs a configuration including an error determination circuit consisting of an exclusive OR circuit, and means for determining errors in read data.

作用 本発明は上述のように構成し九ので、テストモードの場
合、アドレスレジスタと+1加算回路とくよってメモリ
回路へのアドレスが順次1つづつ進ミ、この各アドレス
中にライトパルス端子からり回路の各セルに書惠込まれ
る0そして、メモリ回路の出力はこの2つのデータパタ
ーンを読み出してエラー判定回路で排他的論理和をチェ
ックすることKよって、メモリ回路の各セルが0を1に
誤るエラーおよび1をOに誤るエラーの両方がチェック
される。
Operation Since the present invention is constructed as described above, in the test mode, the addresses to the memory circuit are sequentially incremented by 1 by the address register and the +1 addition circuit, and the circuit from the write pulse terminal is inserted into each address. Then, the output of the memory circuit reads these two data patterns and checks the exclusive OR in the error judgment circuit. Therefore, each cell of the memory circuit mistakes 0 as 1. Both errors and 1-to-O errors are checked.

実施例 次に、本発明の実施例について図面を参照して詳細に説
明する。
Embodiments Next, embodiments of the present invention will be described in detail with reference to the drawings.

本発明の一実施例をブロック図で示す第1図を参照する
と、本発明のメモリチェック回路は、アドレス入力につ
いては、アドレス端子4かも、テストモード端子1の信
号によって切換えられるアドレス切換回路5と、アドレ
スレジスタ7とを任て、メモリ回路8に接続され、また
アドレスレジスタ7の出力は+1加算回路6を通ってア
ドレス切換・回路5にもどされ入力されている。次にデ
ータ書キ込みについては、ライトデータ幻子2から、テ
ストモード端子1の信号によって切換えられるライトデ
ータ切換回路3を経てメモリ回路8に結ばれている。メ
モリ回路8の出力はリードデータ端子10および工2−
判定回路7、に接続される。またメモリ回路8へのライ
トデータ入力は、ライトデータレジスタ11を経て、そ
のコンプレメント値がライトデータ切換回路3にもどさ
れて入力されている。ライトパルスの入力線は、ライト
パルス端子9からメモリ回路8とライトデータレジスタ
11に結ばれておル、工2−判定回路12は制御端子1
4によって制御されて、その出力はエラ一端子13に出
力される。またリードイネーブル端子15をメモリ回路
8に設けである。
Referring to FIG. 1 which shows a block diagram of an embodiment of the present invention, the memory check circuit of the present invention has an address terminal 4 for address input, and an address switching circuit 5 which is switched by a signal from a test mode terminal 1. , address register 7, and are connected to a memory circuit 8, and the output of the address register 7 is passed through a +1 adder circuit 6, returned to the address switching circuit 5, and input thereto. Next, for data writing, the write data phantom 2 is connected to the memory circuit 8 via a write data switching circuit 3 which is switched by a signal from the test mode terminal 1. The output of the memory circuit 8 is connected to the read data terminal 10 and the terminal 2-
The determination circuit 7 is connected to the determination circuit 7. Further, write data input to the memory circuit 8 is passed through a write data register 11, and its complement value is returned and input to the write data switching circuit 3. The write pulse input line is connected from the write pulse terminal 9 to the memory circuit 8 and the write data register 11.
4, and its output is output to the error terminal 13. A read enable terminal 15 is also provided in the memory circuit 8.

次に本実施例の動作について説明する。まず、テストモ
ード端子11にテストモードでない状態に指定して、ラ
イトデータ端子2およびアドレス端子4に最初の値を入
力する。そして、アドレスはクロック16を1つ進める
ことくよりアドレスレジスタ7に入力、ライトパルス端
子9からライトパルスを1つ入れることによシ、2イト
データがメモリ回路8内に書き込まれる。この時メモリ
回路8の出力は、エラー判定回路12でエラーにならな
いようにリードイネーブル端子1sをイネーブルでない
状態にする。外部よシデータとアドレスを取)込み終る
と、テストモード端子1をテストモード側にし、ライト
パルスをさらに1発いれる。
Next, the operation of this embodiment will be explained. First, the test mode terminal 11 is designated to be in a non-test mode state, and initial values are input to the write data terminal 2 and address terminal 4. Then, the address is input to the address register 7 by advancing the clock 16 by one, and by inputting one write pulse from the write pulse terminal 9, 2-ite data is written into the memory circuit 8. At this time, the output of the memory circuit 8 disables the read enable terminal 1s to prevent an error from occurring in the error determination circuit 12. After reading the external data and address, set the test mode terminal 1 to the test mode side and apply one more write pulse.

以後クロック1発とライトパルス2発を入れることを繰
シ返すことにより、メモリ回路8の各アドレスに初期値
が書き込まれる。各アドレスに全て書き終ると、エラー
判定回路12を有効に働かせるようにリードイネーブル
端子1sをイネーブル状態にし、再びクロック1発に対
し、ライトパルス2発を入力することをアドレス分繊シ
返す。
Thereafter, the initial value is written to each address of the memory circuit 8 by repeating the input of one clock and two write pulses. When all the data has been written to each address, the read enable terminal 1s is enabled so as to make the error determination circuit 12 work effectively, and the address division is returned to input two write pulses for one clock.

途中でメモリ回路8内にエラーが存在すると、エラー判
定回路12によりエラ一端子13にエラー状態を示す信
号が出力される。ライトデータとしてのパターンには、
一般に知られているデータのビット幅が4ピツトの場合
1010又は0101パターンが最適であるが、その他
のパターンも用いることができる。
If an error exists in the memory circuit 8 during the process, the error determination circuit 12 outputs a signal indicating the error state to the error terminal 13. The pattern as light data includes
When the generally known data bit width is 4 pits, the 1010 or 0101 pattern is optimal, but other patterns can also be used.

次に、データのビット幅が4ピツトの例について、第2
図、第3図のタイムチャート図を用いて更に詳細に説明
する。
Next, for an example where the data bit width is 4 pits, the second
This will be explained in more detail using the time charts shown in FIGS.

ステップ1(第2図の初期設定時) はじめに、2イトデータとして外部よりA(1010)
を人力し、入力アドレスも外部よシ0番号(オール0)
1:入力する。テストモード信号を非テストモード側(
0)にして、クロック1発とライトパルス1発を入力す
る。さらにテストモード信号をテストモード@(1)に
しライトパルス1発金いれる。これでθ番地にA(01
01)が書き込まれる。以後すべてのアドレスにクロッ
ク1発とライトパルス2発をくシかえずことにより、各
アドレスに人(0101)が書き込まれ初期設定が完了
する。なお、このステップでは工2−を検出しないので
、メモリ回路8に設けられているリードイネーブル端子
15はイネーブルでない状態にする。
Step 1 (initial settings in Figure 2) First, A (1010) is input from the outside as 2-byte data.
manually, and the input address is also an external 0 number (all 0).
1: Enter. Test mode signal to non-test mode side (
0) and input one clock and one write pulse. Furthermore, the test mode signal is set to test mode @(1) and one write pulse is fired. Now A(01
01) is written. Thereafter, one clock and two write pulses are applied to all addresses, thereby writing ``person'' (0101) to each address and completing the initial setting. Incidentally, since the signal 2- is not detected in this step, the read enable terminal 15 provided in the memory circuit 8 is set to a non-enabled state.

ステップ2(第3図のエラー検出時) 初期設定によりアドレスか〒巡し、クロックによシ再び
先頭のアドレス(O番地)を示すと、前に書き込まれ次
位A(0101)が読み出される。
Step 2 (when an error is detected in FIG. 3) According to the initial settings, the addresses are cycled through, and when the clock indicates the first address (address O) again, the next address A (0101) written previously is read out.

この時以降、エラー判定可能にするために、リードイネ
ーブル端子151にイネーブル状態にする。
After this time, the read enable terminal 151 is enabled in order to enable error determination.

Aを読み出して、排他的論理和回路のエラー判定回路1
2でエラーが判定される。
Read A and execute error judgment circuit 1 of exclusive OR circuit.
2, an error is determined.

ステップ3(第3図) クロック後の最初の2イトパルスで初期設定時に書込ま
れたコンプレメントの値A(1010)がメ七り回路8
1C書き込まれ読み出される。人のエラー判定を同様に
行う。
Step 3 (Fig. 3) The complement value A (1010) written at the time of initial setting with the first 2-ite pulse after the clock is input to the input circuit 8.
1C is written and read. Perform human error judgment in the same way.

ステップ4(第3図) 2番目のライトパルスによ、9A(0101)がメモリ
回路8に書き込まれる。人のエラー判定を同様に行う。
Step 4 (FIG. 3) 9A (0101) is written into the memory circuit 8 by the second write pulse. Perform human error judgment in the same way.

なお以上の説明では、データ4ピツトの場合について述
べたが、その他の任意のビット数の場合も同様に説明さ
れる。但し、データビットの数が奇数の場合には、工2
−判定回路12にもうけられたビット幅制御端子14に
よってライトパルスの1発目と2発目とで1ビツトの異
る値を追加入力し偶数幅とし、かつ正常の場合に排他的
論理和がOとなるようにして判定を可能くする。
In the above explanation, the case of 4 data bits has been described, but the case of any other arbitrary number of bits can be similarly explained. However, if the number of data bits is odd,
- By using the bit width control terminal 14 provided in the judgment circuit 12, a different value of 1 bit is additionally input between the first and second write pulses to make the width even, and if normal, the exclusive OR is performed. The determination is made so that the result is O.

発明の詳細 な説明し九ように、本発明によれば、メそす回路にチェ
ック回路を内蔵するように構成したので、メモリ回路の
チェックプログラムの作成の工数、および人手による誤
シを排除して、簡単にメモリ回路の正当性を調べること
ができや効果がある0
As described in the detailed description of the invention, according to the present invention, the check circuit is built into the memory circuit, thereby eliminating the man-hours required to create a check program for the memory circuit and eliminating manual errors. This is an effective way to easily check the validity of memory circuits.

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

第1図は本発明の一実施例を示すブロック図、第2図は
その初期設定時のタイムチャート図、第3図は同じくエ
ラー検出時のタイムチャート図である。 1・・・・・・テストモード端子、2・・・・・・ライ
トデータ端子、3・・・・・・ライトデータ切換回路、
4・・・・・・アドレス端子、5・・・・・・アドレス
切換回路、6・・・・・・+1加算回路、7・・・・・
・アドレスレジスタ、8・・・・・・メモリ回路、9・
・・・・・ライトパルス端子、10・・・・・・+7−
ドデータ端子、11・・・・・・ライトデータレジスタ
、12・・・・・・工2−判定回路、13・・・・・・
工2一端子、14・・・・・・ビット幅制御端子、15
・・・・・・リードイネ茶I図 彷斯設定の叶 7 )−Lス     O/      2     
3峯 2  図 エラー杉し七の曙 アに−1−ス    θ      /      2
     3¥−3′l¥I
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart at the time of initial setting, and FIG. 3 is a time chart at the time of error detection. 1...Test mode terminal, 2...Write data terminal, 3...Write data switching circuit,
4...Address terminal, 5...Address switching circuit, 6...+1 addition circuit, 7...
・Address register, 8...Memory circuit, 9・
...Light pulse terminal, 10...+7-
write data terminal, 11... write data register, 12... work 2-judgment circuit, 13...
Terminal 21, 14...Bit width control terminal, 15
・・・・・・Lead rice tea I drawings set leaves 7)-LS O/ 2
3-mine 2 Figure error Sugi Shishichi no Akebono-1-s θ/2
3¥-3'l¥I

Claims (1)

【特許請求の範囲】[Claims] メモリ回路へのアドレス入力に際し、アドレス切換回路
と、加算回路と、アドレスレジスタとを備え、テストモ
ード信号による前記アドレス切換回路の切換作用により
、外部から与えられるアドレス信号を、前記加算回路に
よりクロックごとに+1加算されたアドレス信号に変換
して、前記アドレスレジスタに入力し、この出力をメモ
リ回路のアドレスに入力する手段と、メモリ回路へのラ
イトデータ入力に際し、ライトデータ切換回路と、ライ
トデータレジスタとを備え、前記テストモード信号によ
る前記ライトデータ切換回路の切換作用により、外部か
ら与えられるライトデータ信号のコンプレメント(補数
)信号が前記ライトデータレジスタから出力されて、ラ
イトパルス到来時前記メモリ回路に入力され、次いで前
記ライトデータレジスタは前記メモリ回路に入力したラ
イトデータを受けとり、そのコンプレメント出力を次の
ライトパルスで再びメモリ回路のライトデータに入力す
る手段と、メモリ回路からの出力に際し、エラー判定回
路によりリードデータのエラーを判定する手段を備え、
アドレスを順次1つづつ進め各アドレスごとにライトパ
ルスを2回入れることを繰り返すことにより、最初与え
られたデータパターンと、そのコンプレメントパターン
とを、メモリ回路の各アドレスに書き込み、次いでその
各アドレスの記憶パターン値を読み出してパターンのエ
ラーを判定する機能を備えていることを特徴とするメモ
リチェック回路。
When inputting an address to a memory circuit, an address switching circuit, an addition circuit, and an address register are provided, and by the switching action of the address switching circuit in response to a test mode signal, the address signal given from the outside is inputted clock by clock by the addition circuit. a means for converting the address signal into an address signal in which +1 is added to the address signal, inputting it to the address register, and inputting this output to the address of the memory circuit; a write data switching circuit and a write data register for inputting write data to the memory circuit; By the switching action of the write data switching circuit by the test mode signal, a complement signal of an externally applied write data signal is output from the write data register, and when a write pulse arrives, the memory circuit and then the write data register receives the write data input to the memory circuit, and inputs the complement output thereof to the write data of the memory circuit again in the next write pulse, and upon output from the memory circuit, Equipped with means for determining errors in read data using an error determination circuit,
By sequentially advancing the address one by one and repeating the application of a write pulse twice for each address, the first given data pattern and its complement pattern are written to each address of the memory circuit, and then each address A memory check circuit characterized in that it has a function of reading a stored pattern value and determining an error in the pattern.
JP59187541A 1984-09-07 1984-09-07 Memory-checking circuit Pending JPS6167162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59187541A JPS6167162A (en) 1984-09-07 1984-09-07 Memory-checking circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59187541A JPS6167162A (en) 1984-09-07 1984-09-07 Memory-checking circuit

Publications (1)

Publication Number Publication Date
JPS6167162A true JPS6167162A (en) 1986-04-07

Family

ID=16207889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59187541A Pending JPS6167162A (en) 1984-09-07 1984-09-07 Memory-checking circuit

Country Status (1)

Country Link
JP (1) JPS6167162A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126740A (en) * 1987-11-11 1989-05-18 Nec Corp Pseudo circuit
JPH03103953A (en) * 1989-09-19 1991-04-30 Fujitsu Ltd Cache memory testing system
US6782498B2 (en) 2000-01-13 2004-08-24 Renesas Technology Corp. Semiconductor memory device allowing mounting of built-in self test circuit without addition of interface specification

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126740A (en) * 1987-11-11 1989-05-18 Nec Corp Pseudo circuit
JPH03103953A (en) * 1989-09-19 1991-04-30 Fujitsu Ltd Cache memory testing system
US6782498B2 (en) 2000-01-13 2004-08-24 Renesas Technology Corp. Semiconductor memory device allowing mounting of built-in self test circuit without addition of interface specification

Similar Documents

Publication Publication Date Title
US4369511A (en) Semiconductor memory test equipment
US5561671A (en) Self-diagnostic device for semiconductor memories
JPH04178580A (en) Self diagnostic device for semiconductor memory
JPS6167162A (en) Memory-checking circuit
JPS6152758A (en) Memory error detecting device
JPH05342113A (en) Fault detecting method for ram for built in system
JP2551601B2 (en) Memory check circuit
JP3165131B2 (en) Test method and test circuit for semiconductor integrated circuit
JPH04157535A (en) Register inspecting method
JPS63753A (en) Test system for memory error checking and correcting circuit
SU1376121A2 (en) Device for recording and checking programmed read-only memory
JPH11288598A (en) Test device for semiconductor memory
JPH03269900A (en) Semiconductor integrated circuit
JPH04147500A (en) Test circuit for semiconductor integrated circuit
JPS63163542A (en) Test circuit
JPH11120800A (en) Flash memory built-in information processing system
JPS634500A (en) Ram device with test circuit
JPH02105230A (en) Semiconductor integrated circuit
JPS63136238A (en) Microprogram control device
JPS63155347A (en) Auxiliary circuit for diagnosis of memory
JPH02113500A (en) Checking method for semiconductor integrated circuit
JPH05241868A (en) Testing system of memory error correction/detection circuit
JPH02144642A (en) Test circuit for memory
JPS6130356B2 (en)
JPH0593764A (en) Inspecting apparatus for logic circuit