JPH04248195A - Read-only memory and method for testing this memory - Google Patents

Read-only memory and method for testing this memory

Info

Publication number
JPH04248195A
JPH04248195A JP3007346A JP734691A JPH04248195A JP H04248195 A JPH04248195 A JP H04248195A JP 3007346 A JP3007346 A JP 3007346A JP 734691 A JP734691 A JP 734691A JP H04248195 A JPH04248195 A JP H04248195A
Authority
JP
Japan
Prior art keywords
state
signal
level
address
memory cell
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
JP3007346A
Other languages
Japanese (ja)
Inventor
Shoichi Yoshizaki
昇一 吉崎
Katsuji Satomi
勝治 里見
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electronics 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 Matsushita Electronics Corp filed Critical Matsushita Electronics Corp
Priority to JP3007346A priority Critical patent/JPH04248195A/en
Publication of JPH04248195A publication Critical patent/JPH04248195A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow the detection of faults of all memory cells without depending on the data built into the memory cells. CONSTITUTION:Transistors 6 which maintain all bit lines 5 at an H level and transistors 7 which maintain all the bit lines 5 at an L level are provided separately from an ordinary reading out state. The operations in which the three states; the 1st state of the H level, the 2nd state of the L level and the test state to execute ordinary reading out constitute one cycle in order of the 1st state, the test state, the 2nd state, and the test state are executed with all addresses. The respective bit line signals always invert in logic level at either of the time of the transfer from the 1st state to the test state or the time of the transfer from the 2nd state to the test state and, therefore, such a fault that the memory cells are fixed at the off state and fail to attain the on state and such a fault that the memory cells are disconnected from the bit lines are detected.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、読み出し専用メモリお
よびそのテスト方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a read-only memory and a test method thereof.

【0002】0002

【従来の技術】近年、高性能の電気機器を短期間で開発
する要求が高まり、読み出し専用メモリ(以下ROMと
いう)においては、その使い易さや高速であることから
、プリチャージ動作を必要としない非同期型ROMが利
用されるようになってきた。
[Background Art] In recent years, the demand for developing high-performance electrical equipment in a short period of time has increased, and read-only memory (hereinafter referred to as ROM) does not require a precharge operation due to its ease of use and high speed. Asynchronous ROMs have come into use.

【0003】以下、従来のROMおよびそのテスト方法
について説明する。図4は従来のROMのブロック図を
示し、1はローデコーダ、2はメモリセル、3はカラム
セレクタ、4はワード線、5はビット線、aはアドレス
信号、bはデータ信号である。
[0003] A conventional ROM and its testing method will be explained below. FIG. 4 shows a block diagram of a conventional ROM, in which 1 is a row decoder, 2 is a memory cell, 3 is a column selector, 4 is a word line, 5 is a bit line, a is an address signal, and b is a data signal.

【0004】このように構成されたROMについて、以
下その動作を説明する。まず、アドレス信号aがローデ
コーダ1とカラムセレクタ3に入力される。ローデコー
ダ1はアドレス信号aによって、全ワード線4のうち1
本のみをイネーブル、その他をディセーブルにする。次
に、メモリセル2のうち、接続しているワード線4がイ
ネーブルとなっているメモリセル2のデータが読み出さ
れ、ビット線5に現れる。次に、カラムセレクタ3がア
ドレス信号aに対応するビット線5を選択する。その結
果カラムセレクタ3よりデータ信号bが出力される。
The operation of the ROM thus configured will be explained below. First, address signal a is input to row decoder 1 and column selector 3. Row decoder 1 selects one of all word lines 4 by address signal a.
Enable only books and disable others. Next, among the memory cells 2, the data of the memory cells 2 to which the connected word line 4 is enabled is read out and appears on the bit line 5. Next, column selector 3 selects bit line 5 corresponding to address signal a. As a result, the column selector 3 outputs the data signal b.

【0005】図5は従来のROMのテスト方法の信号波
形図である。aはアドレス信号、bはデータ信号、ck
 ,cl ,cm ,cn は全ビット線の信号から例
として4つを抜き出した信号である。また、AD(N)
,AD(N+1)はそれぞれN番地、N+1番地を示す
アドレス信号、D(N),D(N+1)はそれぞれN番
地、N+1番地から読み出されたデータ信号を示す。
FIG. 5 is a signal waveform diagram of a conventional ROM testing method. a is address signal, b is data signal, ck
, cl , cm , and cn are signals extracted from all the bit line signals as an example. Also, AD(N)
, AD(N+1) are address signals indicating addresses N and N+1, respectively, and D(N) and D(N+1) indicate data signals read from addresses N and N+1, respectively.

【0006】次に、このように構成されたROMのテス
ト方法について説明する。まず、アドレス信号aをN番
地を示すアドレスAD(N)とする。するとN番地に対
応するワード線4のみイネーブルとなり、このワード線
4に接続しているメモリセル2から読み出されたデータ
がビット線に現れる。図5では全ビット線信号から4本
を例として示している。この例ではビット線信号ck 
が“L”レベル、ビット線信号cl が“L”レベル、
ビット線信号cm が“H”レベル、ビット線信号cn
 が“H”レベルとなっている。そして、カラムセレク
タ3が全ビット線信号からアドレス信号AD(N)に対
応するビット線信号を選択することにより、データ信号
bはD(N)となる。D(N)を期待値と比較すること
により、AD(N)番地のテストをすることができる。
[0006] Next, a method of testing a ROM configured as described above will be explained. First, address signal a is assumed to be address AD(N) indicating address N. Then, only the word line 4 corresponding to the N address is enabled, and the data read from the memory cell 2 connected to this word line 4 appears on the bit line. In FIG. 5, four bit line signals are shown as an example from all the bit line signals. In this example, the bit line signal ck
is at “L” level, bit line signal cl is at “L” level,
Bit line signal cm is “H” level, bit line signal cn
is at “H” level. Then, the column selector 3 selects the bit line signal corresponding to the address signal AD(N) from all the bit line signals, so that the data signal b becomes D(N). The AD(N) address can be tested by comparing D(N) with the expected value.

【0007】次にアドレス信号をN+1番地を示すアド
レスAD(N+1)とすると、上述と同様にデータ信号
bはD(N+1)となり、期待値と比較する。このよう
な動作をアドレス0番地から最終番地まで行う方法が、
従来のROMのテスト方法である。
Next, when the address signal is set to address AD(N+1) indicating address N+1, the data signal b becomes D(N+1) as described above, and is compared with the expected value. The method to perform this kind of operation from address 0 to the final address is
This is a conventional ROM test method.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、ビット線信号はメモリセルに書き込まれ
ているデータとアドレス信号で決定されるので、いった
んROMにデータを書き込まれると、カラムセレクタ3
が取り込むビット線信号の状態を外部より任意に設定で
きない。このため、テスト時に、アドレス信号をAD(
N)番地からAD(N+1)番地に変えたとき、信号の
論理レベルが変化しないビット線があれば、このビット
線に接続しているアドレスAD(N+1)番地のメモリ
セルの故障は検出できない。
However, in the conventional configuration described above, the bit line signal is determined by the data written in the memory cell and the address signal, so once the data is written in the ROM, the column selector 3
The state of the bit line signal taken in cannot be arbitrarily set externally. Therefore, during testing, the address signal is AD(
If there is a bit line in which the logic level of the signal does not change when changing from the address AD(N+1) to the address AD(N+1), a failure in the memory cell at the address AD(N+1) connected to this bit line cannot be detected.

【0009】すなわち、図5において、アドレスAD(
N)番地のテスト時のビット線信号cl は、“L”レ
ベルであり、アドレスAD(N+1)番地のテスト時で
も“L”レベルである。このため、アドレスAD(N+
1)番地でビット線信号cl に“L”を出力するメモ
リセルが、オフ状態に固定されていてオン状態にはなら
ないような故障や、メモリセルがビット線と断線してい
るような故障は検出できない。これは、アドレスAD(
N)番地テスト時のビット線のチャージがアドレスAD
(N+1)番地テスト時に残っており、メモリセルがオ
フ状態か、あるいはメモリセルがビット線と断線してい
ても、カラムセレクタの入力が“L”状態となり、デー
タ信号も“L”が出力され、期待値と一致してしまうか
らである。
That is, in FIG. 5, address AD(
The bit line signal cl is at the "L" level when testing the address AD(N+1), and is also at the "L" level when testing the address AD(N+1). Therefore, address AD(N+
1) Failures such as a memory cell that outputs "L" to the bit line signal cl at an address are fixed in the off state and will not turn on, or a failure where the memory cell is disconnected from the bit line Undetectable. This is the address AD (
N) Charge of bit line during address test is address AD
(N+1) address remains during the test, and even if the memory cell is off or the memory cell is disconnected from the bit line, the input of the column selector will be in the "L" state and the data signal will also be output as "L". This is because the value matches the expected value.

【0010】また、ビット線信号cn でも同様であり
、アドレスAD(N)番地テスト時には“H”レベル、
アドレスAD(N+1)番地でも“H”レベルとなって
おり、アドレスAD(N+1)番地のメモリセルがオフ
状態に固定されていてオン状態にはならないような故障
や、またメモリセルがビット線と断線しているような故
障は検出できない。
The same applies to the bit line signal cn, and when testing the address AD(N), the bit line signal cn is at "H"level;
Address AD(N+1) is also at "H" level, and there is a failure such that the memory cell at address AD(N+1) is fixed in the off state and will not turn on, or the memory cell is connected to the bit line. Failures such as disconnected wires cannot be detected.

【0011】本発明は上記従来の問題点を解決するもの
で、メモリセルに書き込まれたデータに依存せず、すべ
てのメモリセルの故障を検出することのできるROMお
よびそのテスト方法を提供することを目的とするもので
ある。
The present invention solves the above-mentioned conventional problems, and provides a ROM and its testing method that can detect failures in all memory cells without depending on the data written in the memory cells. The purpose is to

【0012】0012

【課題を解決するための手段】上記課題を解決するため
に本発明のROMは、通常の読み出し状態とは別に、全
ビット線の各論理レベルを互いに反転状態の2状態に設
定する回路を備えたものである。
[Means for Solving the Problems] In order to solve the above problems, the ROM of the present invention includes a circuit that sets each logic level of all bit lines to two mutually inverted states, in addition to the normal read state. It is something that

【0013】また本発明のROMのテスト方法は、全ビ
ット線の各論理レベルを設定する第1の状態と、第1の
状態で設定した全ビット線の各論理レベルを反転する第
2の状態と、1つのアドレスに対応するメモリセルのデ
ータを読み出して期待値と比較し判定するテスト状態を
備え、第1の状態、テスト状態、第2の状態、テスト状
態の順で1サイクルとする動作を全アドレスについて行
うものである。
Further, the ROM testing method of the present invention includes a first state in which each logic level of all bit lines is set, and a second state in which each logic level of all bit lines set in the first state is inverted. and a test state in which the data of a memory cell corresponding to one address is read and compared with an expected value to make a determination, and the operation consists of one cycle in the order of the first state, test state, second state, and test state. is performed for all addresses.

【0014】[0014]

【作用】この構成によってテスト状態の直前に全ビット
線を2状態に設定することができ、しかも上記2状態で
は全ビット線が互いに反転状態にあるので、全ビット線
を設定する第1の状態、テスト状態、第1の状態に対し
て全ビット線を反転する第2の状態、テスト状態の順で
1サイクルとする動作を行うと、各ビット線は、1サイ
クルのうちの2回のテスト状態のうちのどちらか一方で
、必ず読み出すアドレスのメモリセルに内蔵されたデー
タと反転状態になるので、メモリセルがオフ状態になっ
たままオン状態にはならないような故障や、メモリセル
がビット線と断線しているような故障を検出できる。
[Operation] With this configuration, all the bit lines can be set to two states immediately before the test state, and since all the bit lines are in an inverted state in the above two states, the first state in which all the bit lines are set is , a test state, a second state in which all bit lines are inverted with respect to the first state, and a test state are performed in the order of one cycle, and each bit line is tested twice in one cycle. One of these states will always be the inverse of the data stored in the memory cell at the address to be read, so there may be a failure where the memory cell remains off but does not turn on, or the memory cell is in a bit state. It is possible to detect faults such as wire breaks.

【0015】[0015]

【実施例】以下本発明の一実施例について、図面を参照
しながら説明する。図1は本発明の第1の実施例におけ
るROMのブロック図を示す。図1において、1はロー
デコーダ、2はメモリセル、3はカラムセレクタ、4は
ワード線、5はビット線、aはアドレス信号、bはデー
タ信号であり、図4のものと同じである。さらに、6は
Pチャネルトランジスタ、7はNチャネルトランジスタ
、8はANDゲート、dは全ビット線をHレベルにチャ
ージする信号、eは全ビット線をLレベルにディスチャ
ージする信号、fは全ワード線をディセーブルとする信
号であり、Pチャネルトランジスタ6のソースおよびド
レインは電源およびビット線5に接続され、Nチャネル
トランジスタ7のソースおよびドレインはグランドおよ
びビット線5に接続され、全ビット線5をHレベルにチ
ャージする信号dはPチャネルトランジスタ6のゲート
に入力され、全ビット線5をLレベルにディスチャージ
する信号eはNチャネルトランジスタ7のゲートに入力
され、さらに、ANDゲート8の入力にはローデコーダ
1の各出力と全ワード線4をディセーブルするための信
号fとが入力され、ANDゲートの出力はそれぞれ各ワ
ード線4に入力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a ROM in a first embodiment of the invention. In FIG. 1, 1 is a row decoder, 2 is a memory cell, 3 is a column selector, 4 is a word line, 5 is a bit line, a is an address signal, and b is a data signal, which are the same as those in FIG. Furthermore, 6 is a P-channel transistor, 7 is an N-channel transistor, 8 is an AND gate, d is a signal that charges all bit lines to H level, e is a signal that discharges all bit lines to L level, f is all word lines The source and drain of P-channel transistor 6 are connected to the power supply and bit line 5, the source and drain of N-channel transistor 7 are connected to ground and bit line 5, and all bit lines 5 are A signal d for charging to H level is input to the gate of P channel transistor 6, a signal e for discharging all bit lines 5 to L level is input to the gate of N channel transistor 7, and further, to the input of AND gate 8. Each output of the row decoder 1 and a signal f for disabling all word lines 4 are input, and the output of the AND gate is input to each word line 4, respectively.

【0016】このように構成された本実施例のROMに
ついて、以下その動作を説明する。まず、通常の読み出
し状態のときは、信号dをHレベル、信号eをLレベル
、信号fをHレベルにして、Pチャネルトランジスタ6
、Nチャネルトランジスタ7をともにオフ状態に設定し
、ローデコーダ1のイネーブル出力をワード線に印加可
能に設定しておく。アドレス信号aはローデコーダ1と
カラムセレクタ3に入力される。ローデコーダ1はアド
レス信号aによって、全ワード線4のうち1本のみをイ
ネーブル、その他をディセーブルとする。次に、メモリ
セル2のうち接続しているワード線4がイネーブルとな
っているメモリセル2のデータが読み出され、ビット線
5に現れる。次に、カラムセレクタ3がアドレス信号a
に対応するビット線5を選択する。その結果カラムセレ
クタ3よりデータ信号bが出力される。
The operation of the ROM of this embodiment constructed as described above will be explained below. First, in a normal read state, the signal d is set to H level, the signal e is set to L level, and the signal f is set to H level, and the P channel transistor 6
, N-channel transistors 7 are both set to the off state, and the enable output of the row decoder 1 is set so as to be applied to the word line. Address signal a is input to row decoder 1 and column selector 3. The row decoder 1 enables only one of all the word lines 4 and disables the others in response to the address signal a. Next, data of the memory cells 2 to which the connected word line 4 is enabled among the memory cells 2 is read out and appears on the bit line 5. Next, the column selector 3 selects the address signal a.
The bit line 5 corresponding to the bit line 5 is selected. As a result, the column selector 3 outputs the data signal b.

【0017】次に全ビット線をHレベルに設定するには
、信号dをLレベル、信号eをLレベル、信号fをLレ
ベルとする。こうすることにより、ワード線4はすべて
ディセーブルとなり、メモリセル2はどれも選択されな
い。信号eをLに設定しているので、Nチャネルトラン
ジスタ7はオフ状態である。また信号dをLレベルに設
定しているので、Pチャネルトランジスタ6はオン状態
となっているので、全ビット線5がHレベルとなる。
Next, to set all bit lines to H level, signal d is set to L level, signal e is set to L level, and signal f is set to L level. By doing this, all word lines 4 are disabled and none of the memory cells 2 are selected. Since the signal e is set to L, the N-channel transistor 7 is in an off state. Furthermore, since the signal d is set to the L level, the P channel transistor 6 is in the on state, so that all bit lines 5 are at the H level.

【0018】全ビット線をLレベルに設定するには、信
号dをHレベル、信号eをHレベル、信号fをLレベル
とする。Nチャネルトランジスタ7はオン状態、Pチャ
ネルトランジスタ6はオフ状態となり、ワード線4はデ
ィセーブル状態となるので、全ビット線5がLレベルと
なる。
To set all bit lines to L level, signal d is set to H level, signal e is set to H level, and signal f is set to L level. N-channel transistor 7 is on, P-channel transistor 6 is off, and word line 4 is disabled, so all bit lines 5 are at L level.

【0019】以上のように本実施例によれば、信号d、
信号e、信号fにより、全ビット線5をHレベル、Lレ
ベルとの互いに反転する2状態に設定することができる
。次に本実施例における、ROMのテスト方法について
、図面を参照しながら説明する。図2は本発明のROM
のテスト方法の信号波形図を示し、ROMは図1に示す
実施例の構成とする。
As described above, according to this embodiment, the signals d,
With the signals e and f, all bit lines 5 can be set to two mutually inverted states of H level and L level. Next, a ROM testing method in this embodiment will be explained with reference to the drawings. Figure 2 shows the ROM of the present invention.
A signal waveform diagram of the test method is shown, and the ROM has the configuration of the embodiment shown in FIG.

【0020】図2において、aはアドレス信号、bはデ
ータ信号、ck ,cl ,cm ,cn は全ビット
線の信号から例として4つを抜き出した信号、dは全ビ
ット線をHレベルにする信号、eは全ビット線をLレベ
ルとする信号、fは全ワード線をディセーブルとする信
号である。またAは全ビット線を設定する第1の状態、
Bは全ビット線を第1状態に対して反転する第2状態、
Cはデータ信号bを期待値と比較し判定するテスト状態
である。また、AD(N),AD(N+1)はそれぞれ
N番地、N+1番地を示すアドレス信号、D(N),D
(N+1)はそれぞれN番地、N+1番地から読み出さ
れたデータ信号を示す。
In FIG. 2, a is an address signal, b is a data signal, ck, cl, cm, cn are signals extracted from all bit line signals as an example, and d is a signal that sets all bit lines to H level. The signal e is a signal that sets all bit lines to L level, and the signal f is a signal that disables all word lines. Also, A is the first state in which all bit lines are set,
B is a second state in which all bit lines are inverted with respect to the first state;
C is a test state in which the data signal b is compared with an expected value and determined. In addition, AD(N) and AD(N+1) are address signals indicating addresses N and N+1, respectively, and D(N) and D
(N+1) indicates data signals read from addresses N and N+1, respectively.

【0021】このように構成された本実施例のROMの
テスト方法について以下その動作を説明する。まず信号
d、信号e、信号fにより全ビット線をHレベルとする
。この状態が第1の状態Aである。次に信号d、信号e
、信号fをそれぞれHレベル、Lレベル、Hレベルとし
通常の読み出し状態とする。アドレス信号aにAD(N
)を入力すると、データ信号bはD(N)となる。 データ信号D(N)を期待値と比較し判定する。この状
態がテスト状態Cである。このとき、ビット線はアドレ
スN番地に対応するメモリセルのデータが現れている。 本実施例では、ビット線信号ck ,cl ,cm ,
cn はそれぞれLレベル,Lレベル、Hレベル,Hレ
ベルとなっているとする。次に信号d、信号e、信号f
により、全ビット線をLレベルとする。この状態が第2
の状態Bである。第1の状態Aと第2の状態Bでは全ビ
ット線の論理レベルが反転状態にある。次にテスト状態
Cとする。上記の第1の状態A、テスト状態C、第2の
状態B、テスト状態Cの順で1サイクルとする動作をア
ドレス信号aを変えながら全アドレスについて行う。
The operation of the method for testing the ROM of this embodiment configured as described above will be described below. First, all bit lines are set to H level by signals d, e, and f. This state is the first state A. Next, signal d, signal e
, signal f are set to H level, L level, and H level, respectively, to enter a normal read state. AD(N) to address signal a
), the data signal b becomes D(N). A determination is made by comparing the data signal D(N) with an expected value. This state is test state C. At this time, the data of the memory cell corresponding to address N appears on the bit line. In this embodiment, bit line signals ck, cl, cm,
It is assumed that cn are at L level, L level, H level, and H level, respectively. Next, signal d, signal e, signal f
As a result, all bit lines are set to L level. This state is the second
This is state B. In the first state A and the second state B, the logic levels of all bit lines are inverted. Next, test state C is assumed. The operation in which the above-mentioned first state A, test state C, second state B, and test state C constitute one cycle is performed for all addresses while changing the address signal a.

【0022】以上のように本実施例によれば、各ビット
線信号は、第1の状態Aからテスト状態Cに移るときか
、あるいは第2の状態Bからテスト状態Cに移るときの
どちらか一方で必ず論理レベルが反転する。このため、
メモリセルがオフ状態に固定していてオン状態にはなら
ないような故障、およびメモリセルがビット線と断線し
ているような故障を検出することができる。
As described above, according to this embodiment, each bit line signal is activated either when moving from the first state A to the test state C or when moving from the second state B to the test state C. On the other hand, the logic level is always reversed. For this reason,
It is possible to detect a failure in which a memory cell is fixed in an off state and does not turn on, and a failure in which a memory cell is disconnected from a bit line.

【0023】なお、本実施例ではアドレス信号aをAD
(N)、AD(N+1)というように、順に1ずつ大き
くしているが、これはどのような順で行ってもよい。ま
た、本実施例では、第1の状態Aで全ビット線信号をH
レベル、第2の状態Bで全ビット線信号をLレベルとし
ているが、各ビット線信号が第1の状態Aと第2の状態
Cでそれぞれ反転関係にあれば、どのような信号を用い
てもよい。
Note that in this embodiment, the address signal a is
(N), AD(N+1), etc., and are increased by 1, but this may be done in any order. Furthermore, in this embodiment, all bit line signals are set to H in the first state A.
All bit line signals are set to L level in the second state B, but if each bit line signal is in an inverted relationship in the first state A and the second state C, what kind of signals should be used? Good too.

【0024】図3は本発明の第2の実施例におけるRO
Mのブロック図である。1はローデコーダ、2はメモリ
セル、3はカラムセレクタ、4はワード線、5はビット
線、aはアドレス信号、bはデータ信号であり、図1の
もとと同じである。さらに、20はデータ“0”を書き
込んだメモリセル、21はデータ“1”を書き込んだメ
モリセル、40はメモリセル20に接続するワード線、
41はメモリセル21に接続するワード線、gはメモリ
セル2をアクセスするか、メモリセル20またはメモリ
セル21をアクセスするかを決める追加のアドレス信号
であり、アドレス信号gをHレベル、アドレス信号aの
最下位ビットをLにするとワード線41がイネーブルと
なり、アドレス信号gをHレベル、アドレス信号aの最
下位ビットをHにするとワード線40がイネーブルとな
る。
FIG. 3 shows the RO in the second embodiment of the present invention.
It is a block diagram of M. 1 is a row decoder, 2 is a memory cell, 3 is a column selector, 4 is a word line, 5 is a bit line, a is an address signal, and b is a data signal, which are the same as in FIG. Furthermore, 20 is a memory cell in which data "0" is written, 21 is a memory cell in which data "1" is written, 40 is a word line connected to the memory cell 20,
41 is a word line connected to the memory cell 21, and g is an additional address signal that determines whether to access memory cell 2, memory cell 20, or memory cell 21. When the least significant bit of a is set to L, the word line 41 is enabled, and when the address signal g is set to H level and the least significant bit of address signal a is set to H, the word line 40 is enabled.

【0025】このように構成されたROMについて、以
下その動作を説明する。アドレス信号gをHレベル、ア
ドレス信号aの最下位ビットをLレベルとすることによ
りワード線41がイネーブルとなり、メモリセル21が
選択される。メモリセル21にはデータ“1”が書き込
まれているので、ビット線5はすべてHレベルとなる。 また、アドレス信号gを“H”レベル、アドレス信号a
の最下位ビットをHレベルとすることによりワード線4
0がイネーブルとなり、メモリセル20が選択される。 メモリセル20にはデータ“0”が書き込まれているの
で、ビット線5はすべてLレベルとなる。通常の読み出
し状態ではアドレス信号gはLレベルとしておく。
The operation of the ROM thus configured will be explained below. By setting address signal g to H level and setting the least significant bit of address signal a to L level, word line 41 is enabled and memory cell 21 is selected. Since data "1" is written in the memory cell 21, all bit lines 5 are at H level. In addition, the address signal g is set to "H" level, and the address signal a is set to "H" level.
By setting the least significant bit of word line 4 to H level,
0 is enabled and the memory cell 20 is selected. Since data "0" is written in the memory cell 20, all bit lines 5 are at L level. In a normal read state, the address signal g is kept at L level.

【0026】以上のように本第2の実施例によれば、ア
ドレス信号gとメモリセル20,21 を追加すること
により、全ビット線5をHレベル、“L”レベルの互い
に反転する2状態に設定することができる。また追加回
路を従来の回路と同じ構成とすることにより、半導体の
レイアウト時に同じパターンの繰返しとなり、設計が容
易となる利点もある。
As described above, according to the second embodiment, by adding the address signal g and the memory cells 20, 21, all the bit lines 5 can be put into two states, H level and "L" level, which are mutually inverted. Can be set to . Furthermore, by making the additional circuit have the same configuration as the conventional circuit, the same pattern is repeated during semiconductor layout, which has the advantage of facilitating design.

【0027】なお本実施例ではメモリセル20に書き込
まれたデータを“0”、メモリセル21に書き込まれた
データを“1”としたが、メモリセル20に書き込まれ
たデータとメモリセル21に書き込まれたデータが互い
に反転関係にあれば、他のデータとしてもよい。たとえ
ば1本のワード線40にメモリセル20が8個接続して
いる構成のROMであればメモリセル20に書き込まれ
たデータが、ローデコーダ側から順に“0010110
1”であれば、メモリセル21に書き込むデータをロー
デコーダ側から順に“11010010”とすればよい
In this embodiment, the data written to the memory cell 20 is "0" and the data written to the memory cell 21 is "1", but the data written to the memory cell 20 and the data written to the memory cell 21 are Other data may be used as long as the written data are in an inverse relationship to each other. For example, if a ROM has a configuration in which eight memory cells 20 are connected to one word line 40, the data written to the memory cells 20 will be sequentially written as "0010110" from the row decoder side.
1", the data to be written into the memory cell 21 may be set to "11010010" sequentially from the row decoder side.

【0028】また本実施例ではワード線40,41 の
選択をアドレス信号aの最下位ビットで行っているが、
これはどのビットに割りつけてもよい。
In this embodiment, the word lines 40 and 41 are selected using the least significant bit of the address signal a.
This can be assigned to any bit.

【0029】[0029]

【発明の効果】以上のように、本発明のROMは、全ビ
ット線をそれぞれ反転状態にある第1の状態と第2の状
態の2状態に設定することができ、本発明のROMのテ
スト方法は、第1の状態、テスト状態、第2の状態、テ
スト状態の順で1サイクルとする動作を全アドレスに対
して行うことにより、各アドレスでの第1の状態からテ
スト状態に移るときか、第2の状態からテスト状態に移
るときのどちらか一方で必ず全ビット線の各ビット線信
号が反転するので、メモリセルがオフ状態に固定したま
まオン状態にならない故障や、メモリセルとビット線が
断線している故障が検出できるというすぐれたROMお
よびそのテスト方法を実現できるものである。
As described above, the ROM of the present invention can set all bit lines to two states, the first state and the second state, which are inverted states, and the ROM of the present invention can be easily tested. The method is to perform an operation for all addresses in which one cycle consists of the first state, test state, second state, and test state, so that when moving from the first state to the test state at each address, Since each bit line signal of all bit lines is always inverted either when the state is changed from the second state to the test state, it may occur that the memory cell is stuck in the off state and does not turn on, or that the memory cell This makes it possible to realize an excellent ROM and its testing method that can detect failures in which bit lines are disconnected.

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

【図1】本発明の一実施例におけるROMのブロック図
である。
FIG. 1 is a block diagram of a ROM in an embodiment of the present invention.

【図2】同ROMのテスト方法における信号波形図であ
る。
FIG. 2 is a signal waveform diagram in the same ROM testing method.

【図3】本発明の第2の実施例におけるROMのブロッ
ク図である。
FIG. 3 is a block diagram of a ROM in a second embodiment of the invention.

【図4】従来のROMのブロック図である。FIG. 4 is a block diagram of a conventional ROM.

【図5】従来のROMのテスト方法における信号波形図
である。
FIG. 5 is a signal waveform diagram in a conventional ROM testing method.

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

1                        
ローデコーダ2                  
      メモリセル3             
           カラムセレクタ4      
                  ワード線5  
                      ビット
線6                       
 Pチャネルトランジスタ7            
            Nチャネルトランジスタ8 
                       AN
Dゲート20                   
     データ“0”を書き込んだメモリセル 21                       
 データ“1”を書き込んだメモリセル 40                       
 メモリセル20に接続するワード線 41                       
 メモリセル21に接続するワード線 a                        
アドレス信号b                  
      データ信号ck ,cl ,cm ,cn
     全ビット線信号から例として4つを抜き出し
た信号 d                        
全ビット線をHレベルにする信号 e                        
全ビット線をLレベルにする信号 f                        
全ワード線をディセーブルとする信号 g                        
追加のアドレス信号A               
         全ビット線を設定する第1の状態 B                        
全ビット線を第1の状態に対して反転する第2の状態 C                        
データ信号を期待値と比較し判定するテスト状態
1
Low decoder 2
memory cell 3
Column selector 4
word line 5
bit line 6
P-channel transistor 7
N-channel transistor 8
AN
D gate 20
Memory cell 21 written with data “0”
Memory cell 40 written with data “1”
Word line 41 connected to memory cell 20
Word line a connected to memory cell 21
address signal b
Data signals ck, cl, cm, cn
Signal d extracted from all bit line signals as an example of four signals
Signal e that sets all bit lines to H level
Signal f that sets all bit lines to L level
Signal g to disable all word lines
Additional address signal A
First state B that sets all bit lines
A second state C that inverts all bit lines with respect to the first state.
Test condition where the data signal is compared and judged with the expected value

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  メモリセルに書き込まれているデータ
によらずに、任意に全ビット線の各論理レベルを互いに
反転状態の2状態に設定する回路を備えた読み出し専用
メモリ。
1. A read-only memory comprising a circuit that arbitrarily sets each logic level of all bit lines to two mutually inverted states, regardless of data written in a memory cell.
【請求項2】  任意の全ビット線の各論理レベルを互
いに反転状態の2状態に設定する回路がアドレスデコー
ダとメモリセルで構成されていることを特徴とする請求
項1記載の読み出し専用メモリ。
2. The read-only memory according to claim 1, wherein the circuit for setting each logic level of all arbitrary bit lines to two mutually inverted states is composed of an address decoder and a memory cell.
【請求項3】  全ビット線の各論理レベルを設定する
第1の状態と、上記第1の状態で設定した上記全ビット
線の各論理レベルを反転する第2の状態と、1つのアド
レスに対応するメモリセルのデータを読み出して期待値
と比較し判定するテスト状態を備え、上記第1の状態、
上記テスト状態、上記第2の状態、上記テスト状態の順
で1サイクルとする動作を全アドレスについて行うこと
を特徴とする読み出し専用メモリのテスト方法。
3. A first state in which each logic level of all the bit lines is set, a second state in which each logic level of all the bit lines set in the first state is inverted, and one address. The test state includes a test state in which the data of the corresponding memory cell is read out and compared with an expected value to determine the first state,
A method for testing a read-only memory, characterized in that an operation in which the test state, the second state, and the test state are performed in the order of one cycle is performed for all addresses.
JP3007346A 1991-01-25 1991-01-25 Read-only memory and method for testing this memory Pending JPH04248195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3007346A JPH04248195A (en) 1991-01-25 1991-01-25 Read-only memory and method for testing this memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3007346A JPH04248195A (en) 1991-01-25 1991-01-25 Read-only memory and method for testing this memory

Publications (1)

Publication Number Publication Date
JPH04248195A true JPH04248195A (en) 1992-09-03

Family

ID=11663390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3007346A Pending JPH04248195A (en) 1991-01-25 1991-01-25 Read-only memory and method for testing this memory

Country Status (1)

Country Link
JP (1) JPH04248195A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0757498A (en) * 1993-08-12 1995-03-03 Nippon Motorola Ltd Microcomputer with easily testing circuit
JP2011517004A (en) * 2008-04-03 2011-05-26 サイデンス コーポレーション Test circuit for unprogrammed OTP memory array
CN104272122A (en) * 2011-11-08 2015-01-07 赛登斯公司 Test cells for an unprogrammed OTP memory array

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0757498A (en) * 1993-08-12 1995-03-03 Nippon Motorola Ltd Microcomputer with easily testing circuit
JP2837615B2 (en) * 1993-08-12 1998-12-16 日本モトローラ株式会社 Microcomputer with test facilitation circuit
JP2011517004A (en) * 2008-04-03 2011-05-26 サイデンス コーポレーション Test circuit for unprogrammed OTP memory array
CN104272122A (en) * 2011-11-08 2015-01-07 赛登斯公司 Test cells for an unprogrammed OTP memory array

Similar Documents

Publication Publication Date Title
EP0264893B1 (en) Semiconductor memory
US6046946A (en) Method and apparatus for testing multi-port memory using shadow read
US5305284A (en) Semiconductor memory device
US5638331A (en) Burn-in test circuit and method in semiconductor memory device
US6501692B1 (en) Circuit and method for stress testing a static random access memory (SRAM) device
US5185722A (en) Semiconductor memory device having a memory test circuit
EP0253161B1 (en) Testing circuit for random access memory device
US5483493A (en) Multi-bit test circuit of semiconductor memory device
EP0622809B1 (en) Method for stress testing decoders and periphery circuits in memory arrays
EP0622803B1 (en) Address buffer
US4897817A (en) Semiconductor memory device with a built-in test circuit
US5914903A (en) Semiconductor memory device
US5629943A (en) Integrated circuit memory with double bitline low special test mode control from output enable
JPH06111597A (en) Semiconductor memory device
JPH01147385A (en) Device for structural insection of integrated circuit
US5285419A (en) Read/write memory with improved test mode data compare
US5623447A (en) Semiconductor memory device having a plurality of I/O terminal groups
US5373509A (en) Semiconductor memory device and method of testing the same
US6269033B1 (en) Semiconductor memory device having redundancy unit for data line compensation
US5561639A (en) Semiconductor memory device with high speed detect function
US5365482A (en) Semiconductor memory device with provision of pseudo-acceleration test
JPH04248195A (en) Read-only memory and method for testing this memory
KR100272942B1 (en) Semiconductor memory device capable of reading/writing data from/into arbitrary memory cell in i/o compression mode
US6704229B2 (en) Semiconductor test circuit for testing a semiconductor memory device having a write mask function
US6256257B1 (en) Memory device including a burn-in controller for enabling multiple wordiness during wafer burn-in