JP2711536B2 - Test method for multiport RAM - Google Patents
Test method for multiport RAMInfo
- Publication number
- JP2711536B2 JP2711536B2 JP62065231A JP6523187A JP2711536B2 JP 2711536 B2 JP2711536 B2 JP 2711536B2 JP 62065231 A JP62065231 A JP 62065231A JP 6523187 A JP6523187 A JP 6523187A JP 2711536 B2 JP2711536 B2 JP 2711536B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- port
- test
- data
- port ram
- 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
Links
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】
〔概要〕
ポート毎のアドレス・レジスタのN個のビット(2ポ
ートの場合は1ビット、3〜4ポートの場合は2ビッ
ト)をポート毎に異なる値にし、複数のポートから同一
アドレスをアクセスしないようにして試験を行う多重ポ
ートRAMの試験方法である。
〔産業上の利用分野〕
本発明は、多重ポートRAMの試験方法に関するもので
ある。
〔従来の技術〕
MarchingやWalking、Gallopingなど種々のテスト・パ
ターンを1ポートRAMに供給しながら、1ポートRAMの試
験を行う方法が知られている。
〔解決しようとする問題点〕
従来のメモリ試験方法は1ポートRAMに対するもので
あり、従来のメモリ試験方法をそのまま多重ポートRAM
に適用しても、多重ポートRAMの試験を行うことが出来
ない。何故ならば、複数のポートから同時に多重ポート
RAMをアクセスする場合、アドレスの重複が生ずる可能
性があり、アドレスの重複が生ずると、被試験対象の多
重ポートRAMの記憶内容が期待値と違った値になる可能
性があるからである。
本発明は、この点に鑑みて創作されたものであって、
多重ポートRAMの試験を確実に行い得るようになった多
重ポートRAMの試験方法を提供することを目的としてい
る。
〔問題点を解決するための手段〕
第1図は本発明の原理図である。多重ポートRAMは、
メモリ・プレーン2と、複数の読み/欠きポートDout,D
inと、ポート毎のアドレス・レジスタ1−0,1−1とを
有している。なお、図示の例は2ポートRAMを示してい
る。
図示の例では、ポート0のアドレス・レジスタ1−0
の最下位ビットの値は0に固定され、ポート1のアドレ
ス・レジスタ1−1最下位ビットの値は1に固定されて
いる。アドレス・レジスタ1−0の最下位ビットが0に
固定されるとアドレス0,2,4,…がポート0側に割り付け
られ、アドレス・レジスタ1−1の最下位ビットが1に
固定されるとアドレス1,3,5,…がポート1側に割り付け
られる。アドレス・レジスタの最下位ビットの値を固定
し残りのビット位置の値を変化させながら、ポート毎に
書込み動作を含むテスト・パターンを与え、試験を行
う。
〔実例例〕
第2図は2ポートRAMを説明するための図である。同
図において、1−0と1−1はアドレス・レジスタ、2
はメモリ・プレーン、3は制御部をそれぞれ示してい
る。図示の例では説明を簡単にするため、アドレスは4
ビット構成とされている。A0ないしA3はポート0側のア
ドレスを示し、B0ないしB3はポート1側のアドレスを示
す。メモリ・プレーン2は4行4列のものであり、アド
レスのビット0と1の値に従って4個の行の中の1個が
選択され、アドレスのビット2と3の値に従って、選択
された行の中の4個のデータの中の1個が選択される。
第3図はテスト・パターンの例を示す図である。この
例においては、0番地に「0」データが書き込まれ、次
に1番地に「0」データが書き込まれ、以下同様な処理
が15番地まで行われる。15番地に「0」データが書き込
まれた後、0番地のデータが読み出されて読出データが
「0」であることを確認後、同番地のデータを「1」に
書き直し、次に1番地のデータが読み出されて読出デー
タが「0」であることを確認後、同番地のデータを
「1」に書き直し、以下同様な処理が15番地まで行われ
る。15番地に「1」が書き込まれた後、0番地のデータ
が読み出されて読出データが「1」であることを確認
後、同番地のデータを「0」に書き直し、次に1番地の
データが読み出されて読出データが「1」であることを
確認後、同番地のデータを「0」に書き直し、以下同様
な処理が15番地まで行われる。
第4図はテスト・システムの例を示す図である。同図
においては、4はメイン・コントローラ、5−0と5−
1はパターン・ジェネレータ、6は2ポートRAMをそれ
ぞれ示している。メイン・コントローラ4は、パターン
・ジェネレータへのテスト・プログラムのロードやパタ
ーン・ジェネレータへのテスト・パターンの制御などを
行う。パターン・ジェネレータは、アドレスの生成やデ
ータの生成、読出データと期待値との比較、2ポートRA
Mの読み/欠き制御などを行う。
第5図はパターン・ジェネレータ5−0の処理の一部
の例を示す図である。この処理はテスト・プログラムに
基づいてなされる。
変数Nに0111をセットする。
アドレスAを0000に初期設定し、「0」データを書
込む。
アドレスAを+1し、「0」データを書き込む。
アドレスAがNか否かを調べ、Noのときはに戻
り、Yesのときはの処理を行う。
アドレスAを0000に初期設定し、読出しを行い、読
出データが「0」であれば、同一番地に「1」データを
書き込む。
アドレスAを+1し、読出しを行い、読出データが
「0」であれば、同一番地に「1」データを書き込む。
アドレスAがNであるか否かを調べる。Noのときは
の処理を行う。Yesのときは次の処理(図示せず)を
行う。
パターン・ジェネレータ5−1では、変数Nに1111を
セットし、アドレスBに初期値1000をセットすれば良
い。このように、ビット固定したままで各ポートよりポ
ート毎に異なったテスト・パターンを与えることによ
り、メモリ・プレーン上のビット間の干渉等まで用意に
調べることが可能となる。なお、この実施例では固定値
とされるビットは最下位ビットとされているが、固定値
とされるビットの位置を順次変化させて試験を行うこと
により、より完璧な試験を行うことが出来る。
〔発明の効果〕
以上の説明から明らかなように、本発明によれば、1
ポートRAMと同様なテスト・パターンを用いて、多重ポ
ートRAMの試験を行うことが出来る。DETAILED DESCRIPTION OF THE INVENTION [Overview] N bits (1 bit for 2 ports, 2 bits for 3 to 4 ports) of an address register for each port are set to different values for each port, and This is a test method for a multi-port RAM that performs a test without accessing the same address from a port. The present invention relates to a method for testing a multi-port RAM. 2. Description of the Related Art A method of testing a one-port RAM while supplying various test patterns such as Marching, Walking, and Galloping to the one-port RAM is known. [Problems to be Solved] The conventional memory test method is for a one-port RAM, and the conventional memory test method is directly used for a multi-port RAM.
Cannot be tested for multi-port RAM. Because multiple ports from multiple ports at the same time
This is because, when accessing the RAM, there is a possibility that the address may be duplicated, and if the address is duplicated, the storage content of the multi-port RAM to be tested may have a value different from an expected value. The present invention has been made in view of this point,
An object of the present invention is to provide a test method for a multi-port RAM, which can reliably perform a test for the multi-port RAM. [Means for Solving the Problems] FIG. 1 is a principle diagram of the present invention. Multi-port RAM,
Memory plane 2 and multiple read / missing ports D out , D
in and address registers 1-0 and 1-1 for each port. The illustrated example shows a two-port RAM. In the illustrated example, port 0 address registers 1-0
Is fixed to 0, and the value of the least significant bit of the address register 1-1 of port 1 is fixed to 1. When the least significant bit of the address register 1-0 is fixed to 0, addresses 0, 2, 4,... Are assigned to the port 0 side, and when the least significant bit of the address register 1-1 is fixed to 1. Addresses 1, 3, 5,... Are allocated to the port 1 side. A test is performed by providing a test pattern including a write operation for each port while fixing the value of the least significant bit of the address register and changing the value of the remaining bit positions. [Example] FIG. 2 is a diagram for explaining a two-port RAM. In the figure, 1-0 and 1-1 are address registers, 2
Indicates a memory plane, and 3 indicates a control unit. In the example shown, the address is 4 to simplify the description.
It has a bit configuration. A 0 to A 3 indicate addresses on the port 0 side, and B 0 to B 3 indicate addresses on the port 1 side. The memory plane 2 is of 4 rows and 4 columns, and one of the four rows is selected according to the value of bits 0 and 1 of the address, and the selected row is selected according to the values of bits 2 and 3 of the address. Is selected from among the four data items. FIG. 3 is a diagram showing an example of a test pattern. In this example, “0” data is written at address 0, then “0” data is written at address 1, and the same processing is performed up to address 15. After "0" data is written to address 15, the data at address 0 is read, and after confirming that the read data is "0", the data at the same address is rewritten to "1" and then address 1 Is read, and after confirming that the read data is "0", the data at the same address is rewritten to "1", and the same processing is performed up to address 15. After "1" is written to address 15, the data at address 0 is read, and after confirming that the read data is "1", the data at the same address is rewritten to "0". After reading the data and confirming that the read data is "1", the data at the same address is rewritten to "0", and the same processing is performed up to address 15. FIG. 4 is a diagram showing an example of a test system. In the figure, 4 is the main controller, 5-0 and 5-
1 indicates a pattern generator, and 6 indicates a 2-port RAM. The main controller 4 loads a test program to the pattern generator, controls a test pattern to the pattern generator, and the like. The pattern generator can generate addresses and data, compare read data with expected values, and use 2-port RA.
Performs M read / miss control. FIG. 5 is a diagram showing an example of a part of the processing of the pattern generator 5-0. This processing is performed based on a test program. 0111 is set to the variable N. Address A is initialized to 0000, and "0" data is written. Address A is incremented by 1, and “0” data is written. It is checked whether or not the address A is N. If the result is No, the process returns to the step S. The address A is initialized to 0000, read is performed, and if the read data is “0”, “1” data is written to the same address. The address A is incremented by one, and reading is performed. If the read data is "0", "1" data is written to the same address. It is checked whether or not the address A is N. If No, perform the processing of. If Yes, the following processing (not shown) is performed. In the pattern generator 5-1, the variable N is set to 1111 and the address B is set to the initial value 1000. In this way, by giving a different test pattern for each port from each port while the bits are fixed, it is possible to easily check the interference between bits on the memory plane. In this embodiment, the fixed value bit is the least significant bit, but a more complete test can be performed by sequentially changing the position of the fixed value bit and performing the test. . [Effect of the Invention] As is clear from the above description, according to the present invention, 1
Using a test pattern similar to that of the port RAM, a test of the multi-port RAM can be performed.
【図面の簡単な説明】
第1図は本発明の原理図、第2図は2ポートRAMを説明
するための図、第3図はテスト・パターンの例を示す
図、第4図はテスト・システムの例を示す図、第5図は
パターン・ジェネレータの処理の例を示す図である。
1−0と1−1……アドレス・レジスタ、2……メモリ
・プレーン、3……制御部、4……メイン・コントロー
ラ、5−0と5−1……パターン・ジェネレータ、6…
…2ポートRAM。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram for explaining a 2-port RAM, FIG. 3 is a diagram showing an example of a test pattern, and FIG. FIG. 5 is a diagram showing an example of a system, and FIG. 5 is a diagram showing an example of processing of a pattern generator. 1-0 and 1-1 ... address register, 2 ... memory plane, 3 ... control unit, 4 ... main controller, 5-0 and 5-1 ... pattern generator, 6 ...
... 2 port RAM.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭53−114621(JP,A) 特開 昭62−143151(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-53-114621 (JP, A) JP-A-62-143151 (JP, A)
Claims (1)
ート毎のアドレスを生成するアドレス・レジスタのn個
を有する多重ポートRAMの試験方法であって、 ポート毎のアドレス・レジスタにおけるN個(2N-1<n
≦2N)のビット位置の値をポート毎に相違せしめ、 各ポートのアドレス・レジスタにおける上記N個のビッ
ト位置の値を固定し残りのビット位置の値を変化させな
がら、各ポート毎に書込み動作を含むテスト・パターン
を与えて試験を行う ことを特徴とする多重ポートRAMの試験方法。(57) [Claims] A test method for a multi-port RAM having a memory plane, n read / write ports, and n address registers for generating addresses for each port, comprising: N (2 N− 1 <n
≤ 2 N ) The value of the bit position is made different for each port, and the value of the above-mentioned N bit positions in the address register of each port is fixed, and the value of the remaining bit positions is changed, and written for each port. A test method for a multi-port RAM, characterized in that a test is performed by giving a test pattern including an operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62065231A JP2711536B2 (en) | 1987-03-18 | 1987-03-18 | Test method for multiport RAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62065231A JP2711536B2 (en) | 1987-03-18 | 1987-03-18 | Test method for multiport RAM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63229549A JPS63229549A (en) | 1988-09-26 |
| JP2711536B2 true JP2711536B2 (en) | 1998-02-10 |
Family
ID=13280932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62065231A Expired - Lifetime JP2711536B2 (en) | 1987-03-18 | 1987-03-18 | Test method for multiport RAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2711536B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53114621A (en) * | 1977-03-17 | 1978-10-06 | Fujitsu Ltd | Test equipment for memory having plural ports |
-
1987
- 1987-03-18 JP JP62065231A patent/JP2711536B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63229549A (en) | 1988-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0492624B1 (en) | Semiconductor integrated circuit | |
| US6070256A (en) | Method and apparatus for self-testing multi-port RAMs | |
| US4958346A (en) | Memory testing device | |
| GB2075730A (en) | Refresch and error detection and correction technique for a data processing system | |
| JP2003229000A5 (en) | ||
| JP2002216499A (en) | Test system for address multiplexer memory with serial access function | |
| JP2711536B2 (en) | Test method for multiport RAM | |
| JPH05342113A (en) | Embedded system RAM failure detection method | |
| JP2954666B2 (en) | Memory check method | |
| JP2824853B2 (en) | Pattern data writing method | |
| JPH0311435B2 (en) | ||
| JPS59101100A (en) | Data comparing system | |
| JPH023147B2 (en) | ||
| JPH06349299A (en) | Memory test result collection method and memory test device | |
| JP2723541B2 (en) | Inspection method for FIFO memory | |
| JPS6167162A (en) | Memory-checking circuit | |
| JPH07220499A (en) | Pattern generator | |
| JPH03252575A (en) | Self-diagnostic rom | |
| JP3021577B2 (en) | RAM test circuit | |
| JPH06348545A (en) | Memory control system of simulator | |
| JPS63314660A (en) | Cache test system | |
| JPH03252576A (en) | Self-diagnostic rom | |
| JPS634500A (en) | Ram device with test circuit | |
| JPS62272164A (en) | Testing equipment for semiconductor memory | |
| JPS6340972A (en) | Memory control system |