JPS60201595A - Storage device for ease of check - Google Patents
Storage device for ease of checkInfo
- Publication number
- JPS60201595A JPS60201595A JP59054235A JP5423584A JPS60201595A JP S60201595 A JPS60201595 A JP S60201595A JP 59054235 A JP59054235 A JP 59054235A JP 5423584 A JP5423584 A JP 5423584A JP S60201595 A JPS60201595 A JP S60201595A
- Authority
- JP
- Japan
- Prior art keywords
- data
- rom
- bit
- cyclic code
- circuit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の利用分野〕
本発明は、自己テスト可能な記憶装置とくに固定記憶装
置(Read 0nly Memory : 以下RO
Mと呼ぶ)に関する。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a self-testable memory device, particularly a fixed memory device (hereinafter referred to as RO).
(referred to as M).
ROMの故障検査は、それに記憶されているデータをす
べて読み出し、そのデータを正しい値と比較するという
方法によって行なわれてきた。この方法で自己テスト可
能なROMを実現するとすれば、ROMの容量は2倍必
要なことになる。つまり、本来のROMと正しい値を記
憶しておくべきROMが必要となり、自己テス、・可能
ROMにするには、これらを同一集積回路上に入れなけ
ればならない。これでは、ハードウェアが大きくなって
しまう。ROM failure testing has been performed by reading all the data stored therein and comparing the data with correct values. If a self-testable ROM were to be realized using this method, the capacity of the ROM would be twice as large. In other words, an original ROM and a ROM for storing correct values are required, and in order to make the ROM capable of self-testing, these must be placed on the same integrated circuit. This results in increased hardware size.
上記の問題を解決する方法として、1981年のl5S
CC(International 5olid 5t
ate C1rcuitsConference)に於
いてMISR(Multi Input Sig+1a
tureRegister)を用いる方法が提案されて
いる(1983ISSCCDigest of pap
ers pp、176〜17g) 、しかしながら、こ
の方法に於いてはROMの2ビツト故障を完全に検出す
ることはできない。As a way to solve the above problem, the 1981 l5S
CC (International 5olid 5t
MISR (Multi Input Sig+1a
tureRegister) has been proposed (1983ISSCCDigest of pap
ers pp, 176-17g) However, this method cannot completely detect 2-bit failures in the ROM.
本発明の目的は1ビツト故障のみならず2ビツト故障も
検出可能な自己テスト可能なROMを提供することにあ
る。An object of the present invention is to provide a self-testable ROM that can detect not only 1-bit failures but also 2-bit failures.
以下、本発明を実施例により詳しく説明する。 Hereinafter, the present invention will be explained in detail with reference to Examples.
第1図は本発明を実施した自己テスト可能なROMの例
である。°ここで、1はアドレスカウンタ、2はROM
本体、3は並直列変換器、4は巡回符号検査回路、5は
制御回路、6は巡回符号検査回路の出力端子、7はRO
Mの故障検査を実行していることを示す信号の出力端子
、8は故障検査を開始させる信号を入力するための端子
、9は故障検査の結果を6の端子から取り出すことを可
能にするための信号の入力端子、10はクロック信号の
入力端子、11〜14は制御信号である。FIG. 1 is an example of a self-testable ROM embodying the present invention. °Here, 1 is the address counter, 2 is the ROM
Main body, 3 is a parallel-to-serial converter, 4 is a cyclic code check circuit, 5 is a control circuit, 6 is an output terminal of the cyclic code check circuit, 7 is RO
8 is a terminal for inputting a signal to start the fault test; 9 is for making it possible to take out the result of the fault test from the terminal 6; 10 is a clock signal input terminal, and 11 to 14 are control signals.
第2図は第1図の本発明の詳細な説明するためのタイム
チャートである。ここで、15は端子10から入力され
るクロック信号、16は端子8から入力される故障検査
の開始信号、17はアドレスカウンタ1をインクリメン
トする信号、18はROMの読み出し並びに並直列変換
器3へのROMデータのロード信号、19は巡回符号検
査回路6の動作を可能にする信号、20は端子9から入
力する信号で、巡回符号検査回路からデータを直列に端
子7へ出力させる信号である。なお、第1図の制御信号
は11が17の信号、12が18の信号、14が19お
よび20の信号に相当し、また、13はシフトクロック
で、入力クロック15に同じである。FIG. 2 is a time chart for explaining in detail the present invention shown in FIG. Here, 15 is a clock signal input from terminal 10, 16 is a failure check start signal input from terminal 8, 17 is a signal for incrementing address counter 1, and 18 is a signal for reading from ROM and for parallel/serial converter 3. 19 is a signal that enables the operation of the cyclic code check circuit 6; 20 is a signal that is input from the terminal 9, and is a signal that causes the cyclic code check circuit to serially output data to the terminal 7; 1, 11 corresponds to the signal 17, 12 corresponds to the signal 18, 14 corresponds to the signals 19 and 20, and 13 is a shift clock, which is the same as the input clock 15.
第1図の回路の動作を以下に説明する。まず、故障開始
信号16が入力されると、アドレスカウンタ1および巡
回符号検査回路がイニシャライズされ、制御回路5も動
作を開始する。制御回路の動作が開始すると、制御から
ROM2に対して読み出し信号18が出されて、ROM
のデータが並直列変換器3内のシフトレジスタへロード
される。The operation of the circuit of FIG. 1 will be explained below. First, when the failure start signal 16 is input, the address counter 1 and the cyclic code check circuit are initialized, and the control circuit 5 also starts operating. When the control circuit starts operating, a read signal 18 is issued from the control to the ROM2, and the ROM
data is loaded into the shift register in the parallel-to-serial converter 3.
このロードされたデータはクロック15によって直列デ
ータとして巡回符号検査回路4へ送られる。This loaded data is sent to the cyclic code check circuit 4 as serial data by the clock 15.
ROM2のデータが重複することなく、また、途切れる
ことなく巡回符号検査回路4へ送られるためにはROM
2はNクロックサイクル毎に読み出されねばならない。In order for the data in ROM2 to be sent to the cyclic code check circuit 4 without duplication or interruption, the ROM
2 must be read every N clock cycles.
ここで、NはROMの並列出力のビット数である。した
がって、ROM2の読み出し信号18はNクロックサイ
クル毎に出される。なお、第2図ではN=4となってい
る。さらに、ROM2のすべてのアドレスのデータを読
み出すために、アドレスカウンタ1は検査開始の信号1
6でゼロにイニシャライズされ、その後はNクロック周
期の信号17によって1つずつインクリメントされる。Here, N is the number of bits of parallel output of the ROM. Therefore, the ROM2 read signal 18 is issued every N clock cycles. In addition, in FIG. 2, N=4. Furthermore, in order to read data at all addresses in ROM 2, address counter 1 outputs test start signal 1.
6, and is then incremented by one by a signal 17 of N clock periods.
このインクリメント動作はROM2の容量であるWワー
ドの数だけ実行される。This increment operation is executed by the number of W words, which is the capacity of ROM2.
以上のようにして、ROMのデータはNXWビットの直
列のデータに変換され、巡回符号検査回路4へ入力され
る。巡回符号検査回路については、例えば宮用洋他著「
符号理論」 (昭晃堂)に詳しく述べられているのでこ
こでは説明を省略するが、ここで使用する生成多項式は
次の条件を満足するものとする。In the manner described above, the data in the ROM is converted into serial data of NXW bits and input to the cyclic code check circuit 4. Regarding the cyclic code check circuit, for example, see Hiroshi Miyayo et al.
The generator polynomial used here is assumed to satisfy the following conditions, although the explanation is omitted here because it is described in detail in "Coding Theory" (Shokodo).
条件;生成多項式は原始多項式であり、その次数をmと
すると、mは2”−1<NXWを満たすこと。ここで、
NXWはROMのデータの総ビット数である。Condition: The generator polynomial is a primitive polynomial, and its degree is m, and m satisfies 2''-1<NXW.Here,
NXW is the total number of bits of data in the ROM.
もし、巡回符号検査回路4の生成多項式が上記の条件を
満足するならば、ROMの中のいかなる2ビツトの故障
をも検出することが可能である。If the generating polynomial of the cyclic code check circuit 4 satisfies the above conditions, it is possible to detect any two-bit failure in the ROM.
例えば、ROMが10ビツトx1024ワードの構成を
しているとすれば、ROMの総ビット数は10240で
ある。このとき、m=14とすれば2−1 =1638
3であるので条件を満足する。したがって、次数14の
原始多項式としては、X″44十xx’+x+1がある
ので、これを巡回符号検査回路4の生成多項式とすれば
よい。For example, if the ROM has a configuration of 10 bits x 1024 words, the total number of bits in the ROM is 10,240. At this time, if m = 14, 2-1 = 1638
3, so the condition is satisfied. Therefore, since the primitive polynomial of degree 14 is X''440xx'+x+1, this can be used as the generating polynomial of the cyclic code checking circuit 4.
次に、巡回符号検査回路4に於いて、ROMの故障を検
出する方法について述べる。最も簡単な方法は、故障検
査を終了した後、第2図の20の信号を入力することに
より、巡回符号検査回路4のシフトレジスタに残ってい
るデータを外部にシリアルに読み出すことである。そし
て、これを順吹止しい値とシリアルに比較する。シリア
ル比較するので比較回路が簡単である。なお、第2図で
は20の信号は5クロツクサイクルしか、アクティベイ
トされていないが、実際にはm次の生成多項式にはmビ
ットのシフトレジスタが対応しているので、これを読み
出すためには少なくともmクロックサイクルが必要であ
る。この方法は、巡回符号検査回路のシフトレジスタに
残るべき正しい値を外で記憶しておき実際に得られる値
と比較する手間が必要である。Next, a method for detecting a ROM failure in the cyclic code checking circuit 4 will be described. The simplest method is to serially read out the data remaining in the shift register of the cyclic code check circuit 4 to the outside by inputting the signal 20 in FIG. 2 after completing the failure test. This is then serially compared with the correct value. Since serial comparison is performed, the comparison circuit is simple. Note that in Figure 2, signal 20 is activated for only 5 clock cycles, but in reality, an m-bit shift register corresponds to the m-th order generator polynomial, so in order to read it out, requires at least m clock cycles. This method requires the effort of storing the correct value that should remain in the shift register of the cyclic code checking circuit externally and comparing it with the actually obtained value.
この手間を簡単化するためには、正しい値が、すべてO
(またはすべて1)であればよい。このときは外部での
比較チェックは容易である。しかしながら、この場合、
第2図の端子6からはO(または1)だけの信号しか出
てこないので、もしこの端子が0(または1)に縮退故
障していたら故障検出ができない。To simplify this effort, it is necessary to set all correct values to O
(or all 1) is sufficient. In this case, an external comparison check is easy. However, in this case,
Since only an O (or 1) signal is output from the terminal 6 in FIG. 2, if this terminal is stuck at 0 (or 1), the failure cannot be detected.
これを避けるためには、正しい値は01・・・01(0
1の繰り返し)であるとよい。こうすると外でのチェッ
クも簡単であり、端子の縮退故障をも検出することがで
きる。もちろん、巡回符号検査回路4のシフトレジスタ
に01・・・01が残るようにするには、ROMの最後
のmビットをそのようになるように適当に決めてやる例
えば前出の例IOビットx 1024ワードのROMの
例では生成多項式は14次であったので、14ビツトの
データ、つまり最後の2ワードに適当な値に入れること
によって巡回符号検査回路のシフトレジスタに残る値が
01・・・01になるようにする。To avoid this, the correct value is 01...01(0
1). This makes it easy to check outside, and it is also possible to detect stuck-at terminal faults. Of course, in order for 01...01 to remain in the shift register of the cyclic code check circuit 4, the last m bits of the ROM must be appropriately determined so that the 01...01 remains in the shift register of the cyclic code check circuit 4. In the example of a 1024-word ROM, the generator polynomial was of degree 14, so by putting an appropriate value in the 14-bit data, that is, the last two words, the value remaining in the shift register of the cyclic code check circuit is 01... Set it to 01.
第3図に巡回符号検査回路の内容が01・・・01であ
ることをチェックする外部回路を示す。ここで、30.
31はDタイプFF、33は排他的論理和回路、34は
論理積(A N D)回路である。FIG. 3 shows an external circuit that checks whether the contents of the cyclic code checking circuit are 01...01. Here, 30.
31 is a D type FF, 33 is an exclusive OR circuit, and 34 is an AND (AND) circuit.
また、端子35には巡回符号のデータがシリアルに入力
され(第1図の端子6がつながれる)、36にはクロッ
ク信号(第1図の端子10、第2図の信号15)が入力
される。さらに、端子37へは巡回符号検査回路からデ
ータを読み出すことを可能とする信号(第1図の端子9
、第2図の信号20と同じ)を、端子38へはイニシャ
ライズ信号(第1図の端子8、第2図の信号16と同じ
)を入力する。Further, cyclic code data is serially input to the terminal 35 (terminal 6 in Figure 1 is connected), and a clock signal (terminal 10 in Figure 1, signal 15 in Figure 2) is input to 36. Ru. Furthermore, a signal (terminal 9 in FIG.
, the same as the signal 20 in FIG. 2), and an initialization signal (same as the terminal 8 in FIG. 1 and the signal 16 in FIG. 2) to the terminal 38.
第3図でフリップフロップ30はデータを1ビツトのク
ロックサイクル分だけ保持する働きをもつ。また、排他
的論理和33は、現在送られてくるデータが1ビツト前
と必ず反転したデータ(ただし、フリップフロップ30
の初期値に1に相当)であることをチェックし、もし、
そうでない場合があれば、すぐさまフリップフロップ3
1に1をセットする。したがって、フリップフロップ3
Iに1がセットされれば、巡回符号検査回路のデータが
01・・・01でなかったことを示す。In FIG. 3, flip-flop 30 has the function of holding data for one bit of clock cycle. In addition, the exclusive OR 33 is the data that the currently sent data is always inverted from the previous bit (however, the data sent from the flip-flop 30
(corresponds to the initial value of 1), and if
If not, immediately flip flop 3
Set 1 to 1. Therefore, flip-flop 3
If I is set to 1, it indicates that the data of the cyclic code check circuit is not 01...01.
一般に、mビットのデータを比較するには、m個のフリ
ップフロップと同じくm個の排他的論理和回路が必要で
あるので、第3図のチェック回路は非常に簡単な回路と
いうことができる。Generally, to compare m bits of data, m exclusive OR circuits as well as m flip-flops are required, so the check circuit shown in FIG. 3 can be said to be a very simple circuit.
以上の手段により、ROMのNXWビットのデータはm
ビットのデータに圧縮される。しかも、このmビットの
データは01・・・01という単純な形をしているため
、このパターンと一致するかしないかは容易に検査する
ことができる。そして、ROMの中に1ビツトまたは2
ビツトの故障があれば、このパターンが01・・・Ol
にならない。つまり、このような故障を容易に検出でき
るということになる。By the above means, data of NXW bit of ROM is m
Compressed into bit data. Moreover, since this m-bit data has a simple form of 01...01, it can be easily checked whether it matches this pattern or not. Then, 1 bit or 2 bits are stored in the ROM.
If there is a bit failure, this pattern will be 01...Ol.
do not become. This means that such failures can be easily detected.
以−ヒ、本発明によれば、ROMに、アドレスカウンタ
、並直列変換器および巡回符号検査回路を付加し、かつ
、R,OMの最終のmビット(mは巡回符号の生成多項
式の次数)を適当な値に設定することによって、1ビツ
トのみならず2ビツトの故障も検出可能な自己テスト可
能なROMを実現することができる。According to the present invention, an address counter, a parallel-to-serial converter, and a cyclic code checking circuit are added to the ROM, and the last m bits of R and OM (m is the degree of the cyclic code generating polynomial) By setting 0 to an appropriate value, it is possible to realize a self-testable ROM that can detect not only 1-bit but also 2-bit failures.
第1図は本発明によって構成した自己テスト可能なRO
M回路の例、第2図は第1図の自己テスト可能なROM
回路の動作を説明するタイムチャートである。第3図は
第1図の回路に用いる巡回a 1 口
¥:J 3 図
L1′> 間 I++ 偽 さ (
−18、\ 〜FIG. 1 shows a self-testable RO configured according to the present invention.
An example of an M circuit, Figure 2 is the self-testable ROM of Figure 1.
5 is a time chart illustrating the operation of the circuit. Figure 3 shows the circuit used in the circuit of Figure 1.
Claims (1)
記憶装置のアドレスをすべて指示できるアドレスカウン
タ、該記憶装置のデータ出力が入力される並直列変換器
および該並直列変換器の直列出力が入力される巡回符号
検査回路を有することを特徴とする検査容易な記憶装置
。 2、第1項記載の検査容易な記憶装置に於いて、そのす
べてのデータを並直列変換器により連続した直列データ
として巡回符号検査回路へ入力したときの、該巡回符号
回路内のシフトレジスタのデータパターンが0,1また
は1,0の繰り返しパターンになるように、記憶装置の
特定のアドレスに特定のデータを記憶させておくことを
特徴とする検査容易な記憶装置。[Claims] 1. In a memory device realized by a semiconductor integrated circuit, an address counter capable of indicating all addresses of the memory device, a parallel-to-serial converter to which data output of the memory device is input, and the parallel to serial converter to which data output of the memory device is input. 1. An easily testable storage device comprising a cyclic code test circuit to which the serial output of a serial converter is input. 2. In the testable storage device described in item 1, when all the data is input to the cyclic code checking circuit as continuous serial data by the parallel-to-serial converter, the shift register in the cyclic code checking circuit An easily testable storage device characterized in that specific data is stored at a specific address of the storage device so that the data pattern is a repeating pattern of 0, 1 or 1, 0.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59054235A JPS60201595A (en) | 1984-03-23 | 1984-03-23 | Storage device for ease of check |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59054235A JPS60201595A (en) | 1984-03-23 | 1984-03-23 | Storage device for ease of check |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS60201595A true JPS60201595A (en) | 1985-10-12 |
Family
ID=12964874
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59054235A Pending JPS60201595A (en) | 1984-03-23 | 1984-03-23 | Storage device for ease of check |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60201595A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0276400U (en) * | 1988-11-30 | 1990-06-12 |
-
1984
- 1984-03-23 JP JP59054235A patent/JPS60201595A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0276400U (en) * | 1988-11-30 | 1990-06-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5258986A (en) | Tightly coupled, low overhead RAM built-in self-test logic with particular applications for embedded memories | |
| US4782487A (en) | Memory test method and apparatus | |
| US5392302A (en) | Address error detection technique for increasing the reliability of a storage subsystem | |
| US4680733A (en) | Device for serializing/deserializing bit configurations of variable length | |
| US7398439B2 (en) | Semiconductor device with memory and method for memory test | |
| US6553530B1 (en) | Integrated circuit devices that include self-test apparatus for testing a plurality of functional blocks and methods of testing same | |
| US6158033A (en) | Multiple input signature testing & diagnosis for embedded blocks in integrated circuits | |
| JPS6232511B2 (en) | ||
| US6161206A (en) | Pattern generator for a semiconductor integrated circuit tester | |
| JP3186359B2 (en) | Physical address translation circuit | |
| EP0445826B1 (en) | Sequential logic circuit device | |
| CN100458717C (en) | Method for testing and/or operating memory and device with same | |
| CN100479067C (en) | Semiconductor memory device for build-in fault diagnosis | |
| JPH04178580A (en) | Self diagnostic device for semiconductor memory | |
| WO1998014954A1 (en) | Memory tester | |
| JPS60201595A (en) | Storage device for ease of check | |
| US7210083B2 (en) | System and method for implementing postponed quasi-masking test output compression in integrated circuit | |
| US20080013389A1 (en) | Random access memory including test circuit | |
| EP4307566A1 (en) | Testing of on-chip analog-mixed signal circuits using on-chip memory | |
| US7184545B2 (en) | Semiconductor integrated circuit and method of testing semiconductor integrated circuit | |
| WO2004113941A1 (en) | Test equipment | |
| KR100219041B1 (en) | A method for testing rom | |
| TW202133176A (en) | Test circuit and electronic device | |
| TWI243383B (en) | Built-in self test circuit employing a linear feedback shift register | |
| JP2588244B2 (en) | Semiconductor device |