JP2001307497A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JP2001307497A
JP2001307497A JP2000261307A JP2000261307A JP2001307497A JP 2001307497 A JP2001307497 A JP 2001307497A JP 2000261307 A JP2000261307 A JP 2000261307A JP 2000261307 A JP2000261307 A JP 2000261307A JP 2001307497 A JP2001307497 A JP 2001307497A
Authority
JP
Japan
Prior art keywords
address
data
memory cell
unit
holding
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
JP2000261307A
Other languages
Japanese (ja)
Inventor
Takeshi Hashizume
毅 橋爪
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000261307A priority Critical patent/JP2001307497A/en
Publication of JP2001307497A publication Critical patent/JP2001307497A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that as wiring or the like are physically processed after manufacturing in memory-repair technology of a fuse system in which a defective part of a memory cell section is replaced by a redundant part by physically separating a fuse, the cost is increased, and further, the manufacturing cost owing to a test itself of an incorporated large scale memory is increased. SOLUTION: This device is provided with a memory cell means having a normal port in which normal read/write operation is performed and a test port for test only, a data latch means for temporarily holding write-data written in the memory cell means from a normal port, a comparing means for reading out data written by the normal port in the memory cell means from the test port and comparing read-data with write-data held in the data latch means, a redundant means for holding write-data instead of the memory cell means, and an address holding means for holding information about an address indicating a place of the memory cell means in which write-data is written when noncoincidence occurs in coincidence-comparison by the comparing means.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は回路装置内に大規
模メモリ回路を搭載した半導体集積回路装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit device having a large-scale memory circuit mounted in a circuit device.

【0002】[0002]

【従来の技術】近年の半導体加工技術の進歩に従い、大
規模なメモリセル部が半導体集積回路装置に搭載される
ようになってきている。メモリセル部はロジックと比べ
て集積密度が高く、製造不良が発生しやすい個所であ
る。従来、このメモリセル部における製造時のメモリセ
ルの欠陥に対する救済方法としては、あらかじめ冗長な
領域(冗長部)を確保しておき、製造後に行うテストに
よりメモリセルが不良となったワード、ビットなどを、
あらかじめ用意してある冗長部と入れ替えるリペア技術
がある。このリペア技術としては、例えば、レーザーに
よって物理的にヒューズを切断してメモリセル部の故障
部分を切り離し、それを冗長部と入れ替えるヒューズ方
式のメモリリペア技術などがある。なお、従来の半導体
集積回路装置におけるメモリセルの欠陥に対する他の救
済例について開示された文献としては特開平4−372
798号公報がある。
2. Description of the Related Art In accordance with recent advances in semiconductor processing technology, large-scale memory cell units have been mounted on semiconductor integrated circuit devices. The memory cell portion is a portion where the integration density is higher than that of the logic and a manufacturing defect is likely to occur. Conventionally, as a remedy method for a defect of the memory cell in the memory cell portion at the time of manufacturing, a redundant area (redundant portion) is secured in advance, and a word, a bit, or the like in which the memory cell becomes defective in a test performed after manufacturing. To
There is a repair technique for replacing a redundant part prepared in advance. As this repair technique, for example, there is a fuse type memory repair technique in which a fuse is physically cut by a laser to separate a failed portion of a memory cell portion and replace it with a redundant portion. Japanese Patent Application Laid-Open No. 4-372 discloses a document which discloses another example of remedy for a memory cell defect in a conventional semiconductor integrated circuit device.
798 publication.

【0003】[0003]

【発明が解決しようとする課題】従来の半導体集積回路
装置は以上のように構成されているので、メモリセル部
の故障部分と冗長部とをヒューズの物理的な切り離しに
よって入れ替えるヒューズ方式のメモリリペア技術で
は、製造後に物理的に配線等を加工することになるの
で、コストが増大し、さらには内蔵大規模メモリのテス
ト自身による製造コストをも増大させるなどの課題があ
った。
Since the conventional semiconductor integrated circuit device is configured as described above, a fuse type memory repair for replacing a faulty portion of a memory cell portion and a redundant portion by physically disconnecting a fuse. In the technology, wiring and the like are physically processed after manufacturing, so that the cost is increased, and further, there is a problem that the manufacturing cost of the test of the built-in large-scale memory itself is also increased.

【0004】この発明は上記のような課題を解決するた
めになされたもので、コストの増大を伴わずに、メモリ
セル部の欠陥を救済することが可能な半導体集積回路装
置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a semiconductor integrated circuit device capable of relieving a defect in a memory cell portion without increasing cost. And

【0005】[0005]

【課題を解決するための手段】この発明に係る半導体集
積回路装置は、通常のリード/ライト動作が行われる通
常ポートと、テスト専用のテストポートとを有するメモ
リセル手段と、通常ポートよりメモリセル手段に書き込
まれるライトデータを一時保持するデータラッチ手段
と、メモリセル手段にその通常ポートより書き込まれた
データをテストポートより読み出し、そのリードデータ
とデータラッチ手段に保持されているライトデータとの
一致比較を行う比較手段と、比較手段による一致比較で
不一致となった場合に、メモリセル手段に代わってライ
トデータを保持する冗長手段と、比較手段による一致比
較で不一致となった場合に、ライトデータが書き込まれ
たメモリセル手段の場所を示すアドレスに関する情報を
保持するアドレス保持手段とを備えるものである。
SUMMARY OF THE INVENTION A semiconductor integrated circuit device according to the present invention includes a memory cell means having a normal port for performing a normal read / write operation, a test port dedicated to a test, and a memory cell from the normal port. Data latch means for temporarily holding write data written to the means, and data written to the memory cell means from its normal port are read from the test port, and the read data matches the write data held in the data latch means. A comparing means for performing comparison; a redundant means for holding write data in place of the memory cell means when the comparison by the comparing means results in a mismatch; Address holding information on an address indicating the location of the memory cell means in which is written It is intended and means.

【0006】この発明に係る半導体集積回路装置は、デ
ータラッチ手段が、それぞれ通常ポートよりメモリセル
手段に書き込まれるライトデータを一時保持する複数の
データラッチを有し、比較手段による一致比較で不一致
となったメモリセル手段のアドレスへの最初のリード動
作時に、データラッチ手段の該当するデータラッチに保
持されたデータを出力し、以降、そのアドレスへのライ
ト/リードの動作においては、比較手段による一致比較
を行うことなく、アドレス保持手段に保持されている該
当アドレスに対応するライトデータを保持している冗長
手段に直接アクセスするものである。
In the semiconductor integrated circuit device according to the present invention, the data latch means has a plurality of data latches each of which temporarily holds write data to be written from the normal port to the memory cell means. During the first read operation to the address of the changed memory cell means, the data held in the corresponding data latch of the data latch means is output, and thereafter, in the write / read operation to that address, the matching by the comparison means is performed. This is to directly access the redundant means holding the write data corresponding to the address held in the address holding means without performing the comparison.

【0007】この発明に係る半導体集積回路装置は、デ
ータラッチ手段が、通常ポートよりメモリセル手段に書
き込まれるライトデータを一時保持する1つのデータラ
ッチを有し、メモリセル手段へのライトデータのライト
動作時に、比較手段は一致比較を行い、不一致の場合に
は冗長手段はライトデータを保持し、アドレス保持手段
はライトデータが書き込まれたメモリセル手段の場所を
示すアドレスを保持し、比較手段による以後の一致比較
で一致となった場合には、アドレス保持手段に保持され
ているアドレスはクリアされるか若しくはアドレスがオ
ーバライト可能な状態となり、冗長手段に保持されてい
るライトデータはクリアされるか若しくはライトデータ
がオーバライト可能な状態となるものである。
In the semiconductor integrated circuit device according to the present invention, the data latch means has one data latch for temporarily holding write data written to the memory cell means from the normal port, and writes the write data to the memory cell means. In operation, the comparing means performs a match comparison, and in the case of a mismatch, the redundancy means holds the write data, the address holding means holds an address indicating the location of the memory cell means in which the write data has been written, and If a match is found in the subsequent match comparison, the address held in the address holding means is cleared or the address becomes overwritable, and the write data held in the redundant means is cleared. Alternatively, the write data is in a state where overwriting can be performed.

【0008】この発明に係る半導体集積回路装置は、デ
ータラッチ手段が、通常ポートよりメモリセル手段に書
き込まれるライトデータを一時保持する1つのデータラ
ッチを有し、メモリセル手段へのライトデータのライト
動作時に、冗長手段が該ライトデータを保持するととも
にアドレス保持手段はライトデータが書き込まれたメモ
リセル手段の場所を示すアドレスを保持し、比較手段は
一致比較を行い、不一致の場合には冗長手段はそのまま
ライトデータを保持し、アドレス保持手段はアドレスを
そのまま保持し、一致の場合には、アドレス保持手段に
保持されているアドレスはクリアされるか若しくはアド
レスがオーバライト可能な状態となり、冗長手段に保持
されているライトデータはクリアされるか若しくはライ
トデータがオーバライト可能な状態となるものである。
In the semiconductor integrated circuit device according to the present invention, the data latch means has one data latch for temporarily holding write data written to the memory cell means from the normal port, and writes the write data to the memory cell means. In operation, the redundancy means holds the write data, the address holding means holds an address indicating the location of the memory cell means in which the write data has been written, the comparison means performs a match comparison, and in the case of a mismatch, the redundancy means Holds the write data as it is, and the address holding means holds the address as it is. If the addresses match, the address held in the address holding means is cleared or the address becomes overwritable, and the redundant means The write data held in the And it serves as a site ready.

【0009】この発明に係る半導体集積回路装置は、リ
ード/ライト動作を行う時入力されたアドレスをデコー
ドし、冗長手段のワードラインを活性化するための第1
のデコーダと、メモリセル手段のワードラインを活性化
するための第2のデコーダとを備えたアドレスデコード
手段を備えており、アドレス保持手段はアドレスと同一
のアドレスを保持しているか否かを判定し、同一のアド
レスを保持しているならば、第1のデコーダは冗長手段
の該当するワードラインを活性化し、そうでないのなら
ば、第2のデコーダはメモリセル手段の該当するワード
ラインを活性化するものである。
A semiconductor integrated circuit device according to the present invention decodes an input address when performing a read / write operation, and activates a first word line for activating a word line of a redundant means.
And a second decoder for activating the word line of the memory cell means. The address holding means determines whether or not the same address as the address is held. If the same address is held, the first decoder activates the corresponding word line of the redundancy means; otherwise, the second decoder activates the corresponding word line of the memory cell means. It becomes something.

【0010】この発明に係る半導体集積回路装置は、冗
長手段がメモリセル手段の代わりをするのに必要な空き
がない場合、フルフラグ信号をアサートするものであ
る。
The semiconductor integrated circuit device according to the present invention asserts a full flag signal when there is no space necessary for the redundancy means to replace the memory cell means.

【0011】この発明に係る半導体集積回路装置は、冗
長手段がメモリセル手段の代わりをするのに必要な空き
がなく、さらに、比較手段による一致比較で不一致とな
った場合、オーバーフロー信号をアサートするものであ
る。
The semiconductor integrated circuit device according to the present invention asserts an overflow signal when there is no space necessary for the redundancy means to substitute for the memory cell means, and when the comparison means makes a mismatch, the overflow signal is asserted. Things.

【0012】この発明に係る半導体集積回路装置は、通
常のリード/ライト動作が行われる通常ポートと、テス
ト専用のテストポートとを有するメモリセル手段と、メ
モリセル手段の通常ポートより書き込まれるライトデー
タを一時保持するデータラッチ手段と、メモリセル手段
にその通常ポートより書き込まれたデータをテストポー
トより読み出し、そのリードデータとデータラッチに保
持されているライトデータとの一致比較をビット毎に行
う比較手段と、比較手段による一致比較で不一致となっ
た場合に、ライトデータが書き込まれたメモリセル手段
の場所を示すアドレスと、その不一致検出ビットに関す
る情報を保持するアドレス/ビット情報保持手段と、不
一致が検出されたアドレスに対する以後のリード動作で
は、不一致検出ビットについて、メモリセルから読み出
したデータを反転させて出力する手段とを備えるもので
ある。
A semiconductor integrated circuit device according to the present invention has a memory cell means having a normal port for performing a normal read / write operation, a test port dedicated for testing, and write data written from the normal port of the memory cell means. A data latch means for temporarily holding data, and a comparison in which data written to the memory cell means from the normal port is read out from the test port, and the read data is compared with the write data held in the data latch for each bit. An address indicating the location of the memory cell means to which the write data has been written, and an address / bit information holding means for holding information on the mismatch detection bit, when the match is not made by the comparison by the comparing means; In the subsequent read operation for the address where For bets, in which and means for inverting data read from the memory cell.

【0013】この発明に係る半導体集積回路装置は、そ
れぞれが個別にアドレスデコーダを有し、ライト動作時
同一の内容を有するように同一のライトデータが書き込
まれる、互いに構造が異なった3以上の奇数個のメモリ
セル部と、リード動作が行われ複数のアドレスデコーダ
に同一のアドレスが入力された場合、複数のメモリセル
部のそのアドレスによって指定された場所から読み出し
た奇数個のデータの多数決演算を行い、メモリセル手段
の欠陥の有無を判定し、多数決の結果をリードデータと
して出力する多数決選択手段とを備えるものである。
The semiconductor integrated circuit device according to the present invention has three or more odd numbers having different structures, each having an individual address decoder and writing the same write data so as to have the same contents at the time of a write operation. When the same address is input to a plurality of memory cell sections and a plurality of address decoders in which a read operation is performed, a majority operation of an odd number of data read from a location of the plurality of memory cell sections specified by the address is performed. And majority decision means for judging the presence or absence of a defect in the memory cell means and outputting the result of majority decision as read data.

【0014】この発明に係る半導体集積回路装置は、ラ
イト動作時に同一の内容を有するようにライトデータの
各ビットが書き込まれる、3以上の奇数個のメモリセル
を有するメモリセル手段と、メモリセル手段に書き込ま
れたライトデータに対してリード動作が行われた場合、
メモリセル手段の複数のメモリセルから読み出したデー
タの各ビットに対応する奇数個のビットデータの多数決
演算を行い、メモリセル手段の複数のメモリセルの欠陥
の有無を判定し、多数決の結果をリードデータとして出
力する多数決選択手段とを備えるものである。
A semiconductor integrated circuit device according to the present invention has a memory cell means having at least three odd-numbered memory cells into which respective bits of write data are written so as to have the same contents at the time of a write operation, and a memory cell means. If a read operation is performed on the write data written to
Performs a majority operation on odd-numbered bit data corresponding to each bit of data read from the plurality of memory cells of the memory cell unit, determines whether there is a defect in the plurality of memory cells of the memory cell unit, and reads the result of the majority decision Majority selection means for outputting as data.

【0015】この発明に係る半導体集積回路装置は、ラ
イト動作時同一の内容を有するように同一のライトデー
タが書き込まれる複数のメモリセル部と、ライトデータ
が複数のメモリセル部に書き込まれた際に、ライトデー
タのパリティビットを求め保持するパリティビット保持
手段と、リード動作時、複数のメモリセル部から読み出
された複数のデータの一致比較を行い、不一致となった
場合にはパリティビット保持手段に格納されたパリティ
ビットを確認して、正しい方のデータを選択して出力す
る比較手段とを備えるものである。
According to the semiconductor integrated circuit device of the present invention, a plurality of memory cell portions to which the same write data is written so as to have the same contents at the time of a write operation, and a case where the write data is written to a plurality of memory cell portions And a parity bit holding means for obtaining and holding a parity bit of the write data, and performing a match comparison of a plurality of data read from a plurality of memory cell parts during a read operation, and holding a parity bit when the data does not match. Comparing means for checking the parity bit stored in the means and selecting and outputting the correct data.

【0016】この発明に係る半導体集積回路装置は、少
なくとも1つのメモリブロックを備えた半導体集積回路
装置において、テストパターンとしてアドレスとデータ
のセットを生成する自己テストパターン生成手段を備え
ており、メモリブロックは、メモリセル手段と、該メモ
リセル手段に書き込んだライトデータを一旦保持するデ
ータラッチ手段と、メモリセル手段に書き込まれたデー
タを読み出してリードデータとライトデータの一致比較
を行う比較手段と、不一致が検出するとメモリセル手段
の代わりにそのデータを保持する冗長手段と、ライトデ
ータが書き込まれたメモリセル手段の場所を指定するア
ドレス情報を保持するアドレス保持手段と、メモリセル
手段のテスト時に、自己テストパターン生成手段からの
アドレスを選択して、メモリセル手段に送出するアドレ
ス入力セレクタと、メモリセル手段のテスト時に、自己
テストパターン生成手段からのデータを選択して、メモ
リセル手段に送出するデータ入力セレクタとを備えるも
のである。
A semiconductor integrated circuit device according to the present invention is a semiconductor integrated circuit device provided with at least one memory block, comprising self-test pattern generation means for generating a set of address and data as a test pattern. A memory cell means, a data latch means for temporarily holding write data written to the memory cell means, a comparison means for reading data written to the memory cell means and comparing read data and write data for coincidence; When a mismatch is detected, the redundancy means for holding the data instead of the memory cell means, the address holding means for holding the address information specifying the location of the memory cell means where the write data is written, Select the address from the self test pattern generation means An input selector for sending to the memory cell unit, during testing of the memory cell means, and selects the data from the self-test pattern generating means, in which and a data input selector to be transmitted to the memory cell unit.

【0017】この発明に係る半導体集積回路装置は、そ
れぞれ、メモリセル手段、比較手段、冗長手段、アドレ
ス保持手段、アドレス入力セレクタ、データ入力セレク
タを備えた複数のメモリブロックを有しており、複数の
メモリブロックをテストする時に、自己テストパターン
生成手段はアドレスとデータのセットをテストパターン
として複数のメモリブロックに送出し、各メモリブロッ
クはその冗長手段がメモリセル手段の代わりをするのに
必要な空きがない場合フルフラグ信号を出力し、当該装
置はさらに複数のメモリブロックからのフルフラグ信号
の論理和を演算するOR回路を備えるものである。
A semiconductor integrated circuit device according to the present invention includes a plurality of memory blocks each including a memory cell unit, a comparing unit, a redundant unit, an address holding unit, an address input selector, and a data input selector. When testing the memory blocks of the self-test pattern, the self-test pattern generation means sends a set of address and data to a plurality of memory blocks as a test pattern, and each memory block needs the redundant means to replace the memory cell means. When there is no free space, a full flag signal is output, and the device further includes an OR circuit for calculating the logical sum of the full flag signals from a plurality of memory blocks.

【0018】この発明に係る半導体集積回路装置は、そ
れぞれ、メモリセル手段、比較手段、冗長手段、アドレ
ス保持手段、アドレス入力セレクタ、データ入力セレク
タを備えた複数のメモリブロックを有しており、複数の
メモリブロックをテストする時に、自己テストパターン
生成手段はアドレスとデータのセットをテストパターン
として複数のメモリブロックに送出し、各メモリブロッ
クはその冗長手段がメモリセル手段の代わりをするのに
必要な空きがなくさらに比較手段による一致比較で不一
致となった場合オーバフロー信号を出力し、当該装置は
さらに前記複数のメモリブロックからのオーバフロー信
号の論理和を演算するOR回路を備えるものである。
A semiconductor integrated circuit device according to the present invention includes a plurality of memory blocks each including a memory cell unit, a comparing unit, a redundancy unit, an address holding unit, an address input selector, and a data input selector. When testing the memory blocks of the self-test pattern, the self-test pattern generation means sends a set of address and data to a plurality of memory blocks as a test pattern, and each memory block needs the redundant means to replace the memory cell means. If there is no free space and the comparison means makes a mismatch, the overflow signal is output. The device further includes an OR circuit for calculating the logical sum of the overflow signals from the plurality of memory blocks.

【0019】この発明に係る半導体集積回路装置は、メ
モリセル手段と、該メモリセル手段に書き込まれるライ
トデータを一時保持するデータラッチ手段と、メモリセ
ル手段に書き込んだデータを読み出して、リードデータ
とデータラッチ手段に保持されたライトデータの一致比
較を行う比較手段と、比較手段による一致比較で不一致
となった場合に、メモリセル手段に代わってライトデー
タを保持する冗長手段と、入力されたアドレスを保持す
るアドレス保持バッファメモリと、比較手段による一致
比較で不一致となった場合に、ライトデータが書き込ま
れたメモリセル手段の場所を示すアドレスに関する情報
を保持するアドレス保持手段と、リード/ライトともに
ディスエーブルである時、アドレス保持バッファメモリ
から入力されたアドレスを読み出して、メモリセル手段
へ送出するアドレス入力セレクタとを有しており、リー
ド/ライトともにディスエーブルである時、比較手段は
イネーブルされるものである。
According to the semiconductor integrated circuit device of the present invention, there is provided a memory cell means, a data latch means for temporarily holding write data written to the memory cell means, and reading data written to the memory cell means to read data. Comparing means for comparing the write data held in the data latch means for coincidence; redundancy means for holding the write data in place of the memory cell means when the comparison results in a mismatch; An address holding buffer memory for holding information about an address indicating a location of a memory cell means to which write data has been written when a match is found by the comparing means, and both a read / write operation. When disabled, the address input from the address holding buffer memory is disabled. Read the less, when has an address input selector to be sent to the memory cell unit is disabled for both read / write, comparison means is intended to be enabled.

【0020】この発明に係る半導体集積回路装置は、メ
モリセル手段と、使用頻度が高いデータ列や、処理時間
のかかるデータ列を保持する、メモリセル手段より容量
の少ないデータ列保持手段と、データ列保持手段のデー
タ列が保持されているアドレスを保持しており、使用頻
度が高いデータ列や、処理時間のかかるデータ列がアク
セスされた場合には、そのデータ列が保持されているア
ドレスをデータ列保持手段へ送出するアドレス情報保持
手段とを備えるものである。
A semiconductor integrated circuit device according to the present invention comprises a memory cell means, a data string holding means having a smaller capacity than the memory cell means for holding a frequently used data string or a data string requiring a long processing time, It holds the address where the data string of the column holding means is held, and when a frequently used data string or a data string that requires processing time is accessed, the address where the data string is held is stored. Address information holding means for sending to the data string holding means.

【0021】[0021]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による半
導体集積回路装置に搭載されたメモリブロックの構成を
示すブロック図である。図において、1は本来必要な量
のメモリセルが配列されたRAMのメモリセル部であ
り、通常のリード/ライト動作に用いられるリード/ラ
イトポート(通常ポート)と、テスト専用に用いるため
のリードポート(テストポート)の2つのポートを備え
ている。2はこのメモリセル部1内のメモリセルの一部
に欠陥があった場合に、その不良部分の機能を補うため
に用意された冗長部であり、通常のリード/ライト動作
に用いられるリード/ライトポート(通常ポート)と、
テスト専用に用いるためのリードポート(テストポー
ト)の2つのポートを備えている。3はメモリセル部1
および冗長部2の通常ポート用のアドレスデコーダ、4
はテストポート用のアドレスデコーダであり、5はテス
ト用のアドレスデコーダ4へのアドレスを一時的に保持
するアドレスラッチである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 1 denotes a memory cell portion of a RAM in which a required number of memory cells are originally arranged, and a read / write port (normal port) used for a normal read / write operation and a read / write port used only for a test. There are two ports (test ports). Reference numeral 2 denotes a redundant unit provided to supplement the function of the defective part when a part of the memory cell in the memory cell unit 1 has a defect. The read / write unit 2 is used for a normal read / write operation. Light port (normal port),
It has two ports, a read port (test port) for use exclusively for testing. 3 is a memory cell unit 1
And the address decoder for the normal port of the redundant unit 2, 4
Reference numeral denotes an address decoder for a test port, and reference numeral 5 denotes an address latch for temporarily holding an address to the test address decoder 4.

【0022】6はデータ入力端DIより入力されるデー
タを一時的に保持するデータラッチであり、7はこのデ
ータラッチ6に保持された書き込みデータと、1周期後
にメモリセル部1のテストポートから読み出されたデー
タとの比較を行う比較回路である。8はこの比較回路7
で不一致が検出された場合に、1周期前にアドレスデコ
ーダ3に印加された入力アドレスを保持する欠陥メモリ
セルアドレス保持部であり、メモリセル部1に欠陥が多
くて、準備したアドレスレジスタでは対応しきれない場
合には、OVF信号を発生させるようになっている。9
はメモリセル部1の通常ポートから読み出されたデータ
とデータラッチ6に保持されているデータの一方を選択
し、それをデータ出力端DOより出力するセレクタであ
る。なお、冗長部2は複数のメモリセル(図示せず)を
有し、データラッチ6は複数のラッチ(図示せず)を有
し、欠陥メモリセルアドレス保持部8は複数の欠陥メモ
リセルアドレス保持レジスタ(図示せず)を有してい
る。
Reference numeral 6 denotes a data latch for temporarily holding data input from the data input terminal DI. Reference numeral 7 denotes write data held in the data latch 6 and a test port of the memory cell unit 1 after one cycle. This is a comparison circuit that performs a comparison with the read data. 8 is the comparison circuit 7
Is a defective memory cell address holding unit that holds the input address applied to the address decoder 3 one cycle before when a mismatch is detected. If not, an OVF signal is generated. 9
Is a selector for selecting one of the data read from the normal port of the memory cell unit 1 and the data held in the data latch 6 and outputting it from the data output terminal DO. The redundant section 2 has a plurality of memory cells (not shown), the data latch 6 has a plurality of latches (not shown), and the defective memory cell address holding section 8 has a plurality of defective memory cell address holding sections. It has a register (not shown).

【0023】次に動作について説明する。動作におい
て、アドレスは、通常ポート用のアドレスデコーダ3に
直接入力されるとともに、テストポート用のアドレスデ
コーダ4の前に配置されたアドレスラッチ5にも入力さ
れる。ライト動作時には、アドレスラッチ5はメモリブ
ロックの外部から印加されたライト信号に応答して入力
されたアドレスを一時的に保持する。従って、メモリセ
ル部1のテストポートでは、通常ポートのライトアクセ
スの次の周期にデータの読み出しが行われる。このよう
に、テストポートからの読み出しは、通常ポートのライ
トアクセスの次の周期に行われるので、アドレスデコー
ダ4によるテストポート用のアドレスデコードは、通常
ポートのライト動作の後だけでもよく、アドレスラッチ
5でのアドレス保持を、通常ポートのライトアクセスの
次の周期のみに行うようにしてもよい。
Next, the operation will be described. In operation, the address is directly input to the address decoder 3 for the normal port, and also to the address latch 5 disposed before the address decoder 4 for the test port. At the time of a write operation, the address latch 5 temporarily holds an address input in response to a write signal applied from outside the memory block. Therefore, at the test port of the memory cell unit 1, data is read in the next cycle of the write access of the normal port. As described above, the read from the test port is performed in the next cycle of the write access of the normal port. Therefore, the address decoding for the test port by the address decoder 4 may be performed only after the write operation of the normal port. 5 may be held only in the next cycle of the normal port write access.

【0024】ライト動作時、データ入力端DIより入力
されたデータはデータラッチ6に一時的に保持されると
同時に、メモリセル部1の通常ポートにも入力されて、
入力アドレスで指定されるメモリセルに書き込まれる。
データラッチ6に保持されたデータは比較回路7によっ
て、1周期後にメモリセル部1のテストポートより読み
出されたデータと比較され、一致/不一致の判定が行わ
れる。両者が一致した場合、メモリセル部1の該当アド
レスに対するライト/リードは正常に行われたので、以
降、そのアドレスに対するアクセスはメモリセル部1の
該当アドレスを用いて行う。一方、両者が不一致の場合
には、メモリセル部1のそのアドレス部分に欠陥メモリ
セルが存在することになるので、当該アドレスを欠陥メ
モリセルアドレスとして欠陥メモリセルアドレス保持部
8に保持し、以降、そのアドレスに対するアクセスは冗
長部2を用いて行う。
At the time of a write operation, data input from the data input terminal DI is temporarily held in the data latch 6, and is also input to the normal port of the memory cell unit 1,
The data is written to the memory cell specified by the input address.
The data held in the data latch 6 is compared with the data read from the test port of the memory cell unit 1 after one cycle by the comparison circuit 7 to determine the match / mismatch. When the two match, the write / read to the corresponding address of the memory cell unit 1 has been performed normally, and thereafter, the access to the address is performed using the corresponding address of the memory cell unit 1. On the other hand, if they do not match, it means that a defective memory cell exists at that address portion of the memory cell unit 1, so that the address is held in the defective memory cell address holding unit 8 as a defective memory cell address. The access to the address is performed using the redundant unit 2.

【0025】ライト/リード動作が行われると、欠陥メ
モリセルアドレス保持部8は、通常ポート用のアドレス
デコーダ3に入力されたアドレスと等しい欠陥メモリセ
ルアドレスを保持しているか否かを判断し、欠陥メモリ
セルアドレスであれば、欠陥メモリセルアドレス保持部
8はヒット信号をアドレスデコーダ3へ送出し、アドレ
スデコーダ3にメモリセル部1の該当アドレスではな
く、冗長部2に対してライト/リード動作を行わせる。
なお、該当アドレスに最初に書き込んだデータはデータ
ラッチ6にも保持してあるので、最初のリードアクセス
はこのデータラッチ6に保持されているデータがデータ
出力端DOより出力される。
When the write / read operation is performed, the defective memory cell address holding unit 8 determines whether or not a defective memory cell address equal to the address input to the address decoder 3 for the normal port is held. If the address is a defective memory cell address, the defective memory cell address holding unit 8 sends a hit signal to the address decoder 3 so that the address decoder 3 performs a write / read operation not on the address of the memory cell unit 1 but on the redundant unit 2. Is performed.
Since the data written first to the corresponding address is also held in the data latch 6, the data held in the data latch 6 is output from the data output terminal DO in the first read access.

【0026】前述のように、冗長部2、データラッチ
6、欠陥メモリセルアドレス保持部8は、メモリセル部
1に存在するかもしれない複数の欠陥メモリセルに対処
するために、それぞれ複数のデータ保持要素を有してい
る。また、冗長部2を使用するアドレスに対するライト
動作が行われた際には、メモリセル部1のそのアドレス
には不良個所が存在する領域であることが既知であるた
め、データの一致比較を行わないように制御することも
可能である。メモリセル部1に欠陥が多くて欠陥メモリ
セルアドレス保持部8が準備したアドレス(即ちアドレ
スレジスタ)では対応しきれない場合には、欠陥メモリ
セルアドレス保持部8はOVF信号を出力し、半導体集
積回路装置に対してメモリ動作異常が発生したことを通
知する。
As described above, the redundant unit 2, the data latch 6, and the defective memory cell address holding unit 8 are each provided with a plurality of data to deal with a plurality of defective memory cells that may be present in the memory cell unit 1. It has a holding element. Further, when a write operation is performed on an address using the redundant unit 2, it is known that the address of the memory cell unit 1 is a region where a defective portion exists, so that data coincidence comparison is performed. It is also possible to control it not to be. When the memory cell unit 1 has many defects and the address (that is, the address register) prepared by the defective memory cell address storage unit 8 cannot handle the defect, the defective memory cell address storage unit 8 outputs an OVF signal, and Notify the circuit device that a memory operation error has occurred.

【0027】図2はこの実施の形態1におけるメモリブ
ロックの動作を周期毎に説明するための説明図である。
なお、この図2においては、説明の簡単化のために、冗
長部2は2つのメモリセル、データラッチ6は2つのラ
ッチ、欠陥メモリセルアドレス保持部8は2つのアドレ
スレジスタを有していると仮定する。以下、この図2に
従って、その動作を詳細に説明する。まず、1周期目に
おいて、メモリセル部1の通常ポートにアドレスAに対
する書き込みデータ(ライトデータ)が入力される。次
に2周期目において、前の周期(1周期目)に通常ポー
トに入力されたアドレスAに対するライトデータがデー
タラッチ6の一方のラッチ(1)に保持され、テストポ
ートから読み出されたメモリセル部1のアドレスAの読
み出しデータ(リードデータ)と、比較回路7にて一致
比較される。一致比較の結果、不一致が検出されると、
欠陥メモリセルアドレス保持部8の一方のアドレスレジ
スタ(1)にはアドレスAが保持される。一方、この2
周期目には、通常ポートにアドレスBに対するライトデ
ータの入力も行われる。
FIG. 2 is an explanatory diagram for explaining the operation of the memory block according to the first embodiment for each cycle.
In FIG. 2, for the sake of simplicity, redundant section 2 has two memory cells, data latch 6 has two latches, and defective memory cell address holding section 8 has two address registers. Assume that Hereinafter, the operation will be described in detail with reference to FIG. First, in the first cycle, write data (write data) for the address A is input to the normal port of the memory cell unit 1. Next, in the second cycle, the write data for the address A input to the normal port in the previous cycle (first cycle) is held in one latch (1) of the data latch 6, and the memory read from the test port is read. The read data (read data) at the address A of the cell section 1 is compared with the read data (compared by the comparator 7). If the match comparison finds a mismatch,
The address A is held in one address register (1) of the defective memory cell address holding unit 8. On the other hand, this 2
In the cycle, write data for the address B is also input to the normal port.

【0028】次に3周期目において、前の周期(2周期
目)に通常ポートに入力されたアドレスBに対するライ
トデータがデータラッチ6に保持される。この場合、第
1のラッチ(1)には欠陥メモリセルアドレスレジスタ
(1)に保持されたアドレスAに対する最初のライトデ
ータが保持されているので、アドレスBに対するライト
データは、代わりにデータラッチ6の他方のラッチ
(2)に保持される。この第2のラッチ(2)に保持さ
れたアドレスBに対するライトデータは、比較回路7で
テストポートから読み出されたメモリセル部1のアドレ
スBのリードデータと一致比較される。一致比較の結果
が一致であった場合、メモリセル部1のアドレスBに書
き込まれたデータが正常に読み出せたので、このデータ
の読み出しはメモリセル部1のデータが使用される。す
なわち、アドレスBは欠陥メモリセルアドレス保持部8
に保持されず、アドレスBに関するデータも冗長部2に
保持されない。また、第2のラッチ(2)はアドレスB
に関するデータを保持しておく必要がないので、次の周
期には他のデータでオーバーライト可能となる。一方、
この3周期目においては、通常ポートにアドレスCに対
するライトデータの入力も行われる。
Next, in the third cycle, the write data for the address B input to the normal port in the previous cycle (second cycle) is held in the data latch 6. In this case, since the first write data for the address A held in the defective memory cell address register (1) is held in the first latch (1), the write data for the address B is replaced with the data latch 6 instead. Is held in the other latch (2). The write data for the address B held in the second latch (2) is compared with the read data of the address B of the memory cell unit 1 read from the test port by the comparison circuit 7 for comparison. If the result of the match comparison is a match, the data written to the address B of the memory cell unit 1 has been normally read, and thus the data read from the memory cell unit 1 is used. That is, the address B is the defective memory cell address holding unit 8
, And the data related to the address B is not stored in the redundant unit 2. Also, the second latch (2) has the address B
Since there is no need to hold data on the related data, overwriting can be performed with other data in the next cycle. on the other hand,
In the third cycle, input of write data for address C is also performed to the normal port.

【0029】次に4周期目において、前の周期(3周期
目)に通常ポートに入力されたアドレスCに対するライ
トデータがデータラッチ6に保持される。この場合、第
1のラッチ(1)には欠陥メモリセルアドレスレジスタ
(1)に保持されたアドレスAに対する最初のライトデ
ータが保持され、第2のラッチ(2)はオーバーライト
可能となっているので、このアドレスCに対するライト
データは第2のラッチ(2)に保持される。このラッチ
(2)に保持されたアドレスCに対するライトデータ
は、比較回路7でテストポートから読み出されたメモリ
セル部1のアドレスCのリードデータと一致比較され
る。一致比較の結果、不一致であれば、そのアドレスC
が欠陥メモリセルアドレス保持部8の第2のアドレスレ
ジスタ(2)に保持される。一方、メモリセル部1の通
常ポートはこの4周期目において、アドレスAに対する
リード動作を行う。このアドレスAは欠陥メモリセルア
ドレスレジスタ(1)に保持されているアドレスと一致
し、かつ最初のライトデータに対するリードアクセスで
あるため、セレクタ9は第1のラッチ(1)に保持され
ているデータをアドレスAに対するリードデータとし
て、データ出力端DOより出力する。
Next, in the fourth cycle, write data for the address C input to the normal port in the previous cycle (third cycle) is held in the data latch 6. In this case, the first latch (1) holds the first write data for the address A held in the defective memory cell address register (1), and the second latch (2) can be overwritten. Therefore, the write data for the address C is held in the second latch (2). The write data for the address C held in the latch (2) is compared with the read data of the address C of the memory cell unit 1 read from the test port by the comparison circuit 7 for comparison. If the result of the match comparison is a mismatch, the address C
Is stored in the second address register (2) of the defective memory cell address storage unit 8. On the other hand, the normal port of the memory cell unit 1 performs the read operation for the address A in the fourth cycle. Since this address A matches the address held in the defective memory cell address register (1) and is a read access to the first write data, the selector 9 sets the data held in the first latch (1). Is output from the data output terminal DO as read data for the address A.

【0030】次に5周期目において、アドレスAに対す
る2回目のライト動作が通常ポートに対して行われる。
ここで、アドレスAは欠陥メモリセルアドレスとして第
1の欠陥メモリセルアドレスレジスタ(1)に保持され
ているので、このライトアクセスはメモリセル部1の該
当アドレスではなく、冗長部2の一方のメモリセル
(1)に対して実行される。このアドレスAに対するラ
イトデータは冗長部2の第1のメモリセル(1)に書き
込まれているので、第1のラッチ(1)に保持されてい
るアドレスAに対する前のライトデータはクリアされ
る。次に6周期目において、アドレスDに対するライト
データが通常ポートに入力される。
Next, in the fifth cycle, a second write operation for address A is performed for the normal port.
Here, since the address A is held as a defective memory cell address in the first defective memory cell address register (1), this write access is not performed at the corresponding address of the memory cell section 1 but at one memory of the redundant section 2. Performed on cell (1). Since the write data for the address A has been written to the first memory cell (1) of the redundant unit 2, the previous write data for the address A held in the first latch (1) is cleared. Next, in the sixth cycle, write data for the address D is input to the normal port.

【0031】次に7周期目において、前の周期(6周期
目)に通常ポートに入力されたアドレスDに対するライ
トデータが第1のラッチ(1)に保持される。このライ
トデータは比較回路7において、テストポートから読み
出されたメモリセル部1のアドレスDのリードデータと
一致比較される。一致比較の結果が一致であれば、メモ
リセル部1のアドレスDに書き込まれているデータが正
常に読み出せたことになるので、このデータの読み出し
はメモリセル部1のデータが使用される。すなわち、ア
ドレスDは欠陥メモリセルアドレス保持部8に保持せ
ず、このアドレスDに関するデータも冗長部2に保持さ
れない。したがって、第1のラッチ(1)はアドレスD
に関するデータを保持しておく必要がないので、次の周
期には他のデータでオーバーライト可能となる。一方、
この7周期目には、通常ポートを介してアドレスBに対
するリード動作を行う。このアドレスBは欠陥メモリセ
ルアドレスとして欠陥メモリセルアドレス保持部8に保
持されていないので、メモリセル部1を使用した通常の
読み出し動作が実行される。
Next, in the seventh cycle, the write data for the address D input to the normal port in the previous cycle (the sixth cycle) is held in the first latch (1). This write data is compared with the read data at the address D of the memory cell unit 1 read from the test port by the comparison circuit 7. If the result of the match comparison is a match, the data written in the address D of the memory cell unit 1 has been normally read, so that the data read from the memory cell unit 1 is used. That is, the address D is not held in the defective memory cell address holding unit 8, and data related to the address D is not held in the redundant unit 2. Therefore, the first latch (1) has the address D
Since there is no need to hold data on the related data, overwriting can be performed with other data in the next cycle. on the other hand,
In the seventh cycle, a read operation for the address B is performed via the normal port. Since the address B is not held in the defective memory cell address holding unit 8 as a defective memory cell address, a normal read operation using the memory cell unit 1 is performed.

【0032】次に8周期目において、アドレスCに対す
るリード動作が通常ポートに対して行われる。このアド
レスCは第2の欠陥メモリセルアドレスレジスタ(2)
に保持されているアドレスと一致し、かつアドレスCに
最初に書き込まれたライトデータに対するリードアクセ
スであるため、セレクタ9は第2のラッチ(2)に保持
されているデータをアドレスCに対するリードデータと
して、データ出力端DOより出力する。次に9周期目に
おいて、アドレスAに対するリード動作が通常ポートに
対して行われるが、アドレスAは第1の欠陥メモリセル
アドレスレジスタ(1)に保持されているため、冗長部
2の第1のメモリセル(1)に保持されているこのアド
レスAに対するライトデータが、セレクタ9を介してデ
ータ出力端DOより出力される。次に10周期目におい
て、アドレスCに対する2回目のライト動作が通常ポー
トに対して行われる。このアドレスCは第2の欠陥メモ
リセルアドレスレジスタ(2)に欠陥メモリセルアドレ
スとして保持されているアドレスと一致するので、冗長
部2の第2のメモリセル(2)に対してライトデータが
書き込まれる。
Next, in the eighth cycle, a read operation for the address C is performed for the normal port. This address C is stored in the second defective memory cell address register (2).
The selector 9 reads the data held in the second latch (2) from the read data corresponding to the address C because the read access to the write data that matches the address held in Is output from the data output terminal DO. Next, in the ninth cycle, the read operation for the address A is performed for the normal port. Since the address A is held in the first defective memory cell address register (1), the first operation of the redundant unit 2 is performed. The write data for the address A held in the memory cell (1) is output from the data output terminal DO via the selector 9. Next, in the tenth cycle, a second write operation for the address C is performed for the normal port. Since the address C matches the address held as the defective memory cell address in the second defective memory cell address register (2), the write data is written to the second memory cell (2) of the redundant unit 2. It is.

【0033】図3は上記図2に示すメモリブロックにお
けるライト動作の手順を示したフローチャートであり、
以下、この図3を用いて詳細に説明する。ライト動作が
行われる場合、まずステップST1において、そのライ
トアクセスが行われるアドレスが欠陥メモリセルアドレ
ス保持部8に保持されている欠陥メモリセルアドレスに
該当するか否かを確認する。その結果、該当しない場合
にはステップST2において、そのライトデータをデー
タラッチ6に保持するとともに、そのライトデータにつ
いて、ステップST3によるメモリセル部1の通常ポー
トへのライト、およびステップST4によるテストポー
トからのリードを行う。次にステップST5において、
比較回路7によるデータラッチ6に保持されたデータと
テストポートから読み出されたデータとの一致比較を行
い、ステップST6でその一致/不一致を判定する。判
定の結果、不一致であればステップST7に分岐して、
書き込み対象のアドレスを欠陥メモリセルアドレス保持
部8に欠陥メモリセルアドレスとして保持してから、ま
た一致であればそのまま、このライト動作を終了する。
FIG. 3 is a flowchart showing the procedure of a write operation in the memory block shown in FIG.
Hereinafter, this will be described in detail with reference to FIG. When the write operation is performed, first, in step ST1, it is confirmed whether or not the address at which the write access is performed corresponds to the defective memory cell address held in the defective memory cell address holding unit 8. As a result, if not applicable, in step ST2, the write data is held in the data latch 6, and the write data is written to the normal port of the memory cell unit 1 in step ST3 and from the test port in step ST4. Lead. Next, in step ST5,
The comparison circuit 7 compares the data held in the data latch 6 with the data read from the test port, and determines the match / mismatch in step ST6. If the result of the determination is that they do not match, the flow branches to step ST7,
After the write target address is held in the defective memory cell address holding unit 8 as the defective memory cell address, and if the addresses match, the write operation is terminated.

【0034】一方、ステップST1にて、ライトアクセ
スが行われるアドレスが、欠陥メモリセルアドレス保持
部8に保持されている欠陥メモリセルアドレスに該当す
ることが確認された場合、処理はステップST8に進
む。ステップST8において、ライトデータは比較回路
7による一致比較を行うことなしに冗長部2に書き込ま
れ、このライト動作を終了する。
On the other hand, if it is confirmed in step ST1 that the address to be subjected to the write access corresponds to the defective memory cell address held in the defective memory cell address holding section 8, the process proceeds to step ST8. . In step ST8, the write data is written to the redundant section 2 without performing the comparison by the comparison circuit 7, and the write operation is completed.

【0035】なお、この実施の形態1によれば、ライト
アクセスが行われるアドレスが、欠陥メモリセルアドレ
ス保持部8に保持されている欠陥メモリセルアドレスに
該当する場合、冗長部2に対してデータのライト/リー
ド動作が行われるので、メモリセル部1へのライト/リ
ード動作を停止することにより、消費電力の削減も併せ
て実現でき、また、比較回路7によるデータの一致比較
動作も行わずにすむため、さらなる消費電力の低減が可
能となる。
According to the first embodiment, when the address at which the write access is performed corresponds to the defective memory cell address held in the defective memory cell address holding unit 8, the data is sent to the redundant unit 2 Since the write / read operation is performed, the power consumption can be reduced by stopping the write / read operation to the memory cell unit 1, and the data match comparison operation by the comparison circuit 7 is not performed. As a result, power consumption can be further reduced.

【0036】以上のように、この実施の形態1によれ
ば、メモリセル部1に不良個所があっても、冗長部2に
よりその機能を置き換えることが可能なので、欠陥によ
って通常不良品となる半導体集積回路装置を救済するこ
とができ、歩留りを向上させることができ、また、テス
トポートと、比較回路7と欠陥メモリセルアドレス保持
部8を備えることによって、動作中にテストを実施して
ソフトウェア的に置き換え可能となるので、通常、メモ
リセルに欠陥のある半導体集積回路装置の救済の際に行
われている、出荷前のテストにて不良個所を特定した
り、レーザトリミングなどによりハードワイヤードに変
更を行う処理が不要となるため、テストコストの削減が
可能になるなどの効果が得られる。
As described above, according to the first embodiment, even if there is a defective portion in the memory cell portion 1, the function can be replaced by the redundant portion 2, so that the semiconductor which is normally defective due to the defect is obtained. The integrated circuit device can be rescued, the yield can be improved, and a test port, a comparison circuit 7 and a defective memory cell address holding unit 8 are provided, so that a test can be performed during operation and software It is possible to identify defective parts in pre-shipment tests, which are usually performed when repairing semiconductor integrated circuit devices with defective memory cells, or change to hard-wired by laser trimming etc. This eliminates the need for the process of performing the test, and provides effects such as a reduction in test cost.

【0037】また、故障検出はライトデータとリードデ
ータの一致比較により行っているので、故障か否かの判
断は保持データに依存する。即ち、保持データによって
は不良個所も擬似的に正常に動作する。例えば“0”固
定故障の個所に“0”を書き込んだ場合には置き換え不
要である。したがって、このようなデータは冗長部2に
保持する必要がなく、その分冗長部2の記憶容量を削減
することができチップコストの削減が可能となる。ま
た、未使用のアドレスについて冗長部2に置き換えるこ
とが不要であり、実際に使用するアドレス(領域)に対
してのみ救済を行えばよいので、チップコストを削減す
ることができる。さらに、一旦不一致を検出したら、そ
れ以降該当アドレスに対する一致比較を行う必要がない
ので、処理時間を短縮できる上に、比較回路7の動作率
を低下させ消費電力の低減が可能になる。また、欠陥メ
モリセルが多くて欠陥メモリセルアドレス保持部8およ
び冗長部2が対応できなくなった場合には、欠陥メモリ
セルアドレス保持部8はOVF信号を出力するので、デ
ータの保持を他のメモリなどへ振り分けてエラー処理な
どを行うことができるので、システムの誤動作を回避す
ることが可能になる。
Since the failure is detected by comparing the write data with the read data, the determination as to whether or not a failure depends on the held data. That is, depending on the held data, the defective part also operates normally in a pseudo manner. For example, when "0" is written at the location of the "0" fixed failure, replacement is unnecessary. Therefore, such data does not need to be held in the redundant unit 2, and the storage capacity of the redundant unit 2 can be reduced correspondingly, and the chip cost can be reduced. In addition, it is not necessary to replace unused addresses with the redundant unit 2, and only the addresses (areas) that are actually used need to be repaired, so that chip cost can be reduced. Furthermore, once a mismatch is detected, there is no need to perform a match comparison on the corresponding address thereafter, so that the processing time can be shortened, and the operation rate of the comparison circuit 7 is reduced to reduce power consumption. When the defective memory cell address holding unit 8 and the redundant unit 2 cannot cope with a large number of defective memory cells, the defective memory cell address holding unit 8 outputs an OVF signal. Error processing and the like can be performed by distributing the data to the like, so that malfunction of the system can be avoided.

【0038】実施の形態2.図4はこの発明の実施の形
態2による半導体集積回路装置に搭載されたメモリブロ
ックの構成を示すブロック図であり、図1の実施の形態
1によるものと同一または相当する部分には同一符号を
付してその説明を省略する。なお、この実施の形態2に
おけるデータラッチ6は一つのラッチのみで構成されて
いる点で、図1に示す実施の形態1のそれとは異なって
いる。
Embodiment 2 FIG. 4 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a second embodiment of the present invention. The same or corresponding parts as those in the first embodiment of FIG. The description is omitted here. The data latch 6 according to the second embodiment is different from that of the first embodiment shown in FIG. 1 in that the data latch 6 is constituted by only one latch.

【0039】ここで、基本的な動作は実施の形態1の場
合と同様であるため、重複する説明は省略する。ライト
動作時、データ入力端DIより入力されたライトデータ
はデータラッチ6に一旦保持されるとともに、メモリセ
ル部1の通常ポートにも入力される。データラッチ6に
保持されたデータと1周期後にメモリセル部1のテスト
ポートより読み出されたデータは比較回路7にて比較さ
れ、不一致の場合には比較回路7は不一致を示すヒット
信号を出力して欠陥メモリセルアドレス保持部8にその
アドレスを保持させるとともにデータラッチ6の保持し
ているデータを冗長部2に書き込む。
Here, the basic operation is the same as that of the first embodiment, and the duplicate description will be omitted. During a write operation, write data input from the data input terminal DI is temporarily held in the data latch 6 and also input to the normal port of the memory cell unit 1. The data held in the data latch 6 and the data read from the test port of the memory cell unit 1 after one cycle are compared by a comparator circuit 7. If the data does not match, the comparator circuit 7 outputs a hit signal indicating the mismatch. Then, the address is held in the defective memory cell address holding unit 8 and the data held in the data latch 6 is written in the redundant unit 2.

【0040】図5はこの実施の形態2におけるメモリブ
ロックの動作を周期毎に説明するための説明図である。
なお、この図5においては、説明の簡単化のために、冗
長部2は2つのメモリセルを有し、欠陥メモリセルアド
レス保持部8は2つのアドレスレジスタを有していると
仮定する。以下、この図5に従って、その動作を詳細に
説明する。まず、1周期目において、メモリセル部1の
通常ポートにアドレスAに対するライトデータが入力さ
れる。次に2周期目において、前の周期(1周期目)に
通常ポートに入力されたアドレスAに対するライトデー
タがデータラッチ6に保持され、テストポートから読み
出されたメモリセル部1のアドレスAのリードデータと
比較回路7で一致比較される。一致比較の結果、不一致
が検出されると、ヒット信号を欠陥メモリセルアドレス
保持部8および冗長部2へ送出する。その結果、第1の
欠陥メモリセルアドレスレジスタ(1)はアドレスAを
保持し、冗長部2の第1のメモリセル(1)はデータラ
ッチ6に一旦保持されたアドレスAに対するライトデー
タを保持する。一方、この2周期目には、通常ポートに
アドレスBに対するライトデータの入力も行われる。
FIG. 5 is an explanatory diagram for explaining the operation of the memory block according to the second embodiment for each cycle.
In FIG. 5, for the sake of simplicity, it is assumed that redundant unit 2 has two memory cells and defective memory cell address holding unit 8 has two address registers. Hereinafter, the operation will be described in detail with reference to FIG. First, in the first cycle, write data for the address A is input to the normal port of the memory cell unit 1. Next, in the second cycle, the write data for the address A input to the normal port in the previous cycle (first cycle) is held in the data latch 6, and the address A of the memory cell unit 1 read from the test port is read. The read data is compared with the comparison data by the comparison circuit 7. When a mismatch is detected as a result of the match comparison, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the first defective memory cell address register (1) holds the address A, and the first memory cell (1) of the redundant unit 2 holds the write data for the address A once held in the data latch 6. . On the other hand, in the second cycle, write data for address B is also input to the normal port.

【0041】次に3周期目において、前の周期(2周期
目)に通常ポートに入力されたアドレスBに対するライ
トデータがデータラッチ6に保持される。このデータラ
ッチ6の保持するアドレスBに対するライトデータは、
テストポートから読み出されたメモリセル部1のアドレ
スBのリードデータと比較回路7で一致比較される。一
致比較の結果が一致であった場合、メモリセル部1のア
ドレスBに書き込まれたデータが正常に読み出せたの
で、このデータの読み出しはメモリセル部1のデータが
使用される。すなわち、アドレスBは欠陥メモリセルア
ドレス保持部8に保持されず、このアドレスBに関する
データも冗長部2に保持されない。一方、この3周期目
では、通常ポートにアドレスCに対するライトデータの
入力も行われる。
Next, in the third cycle, the write data for the address B input to the normal port in the previous cycle (second cycle) is held in the data latch 6. The write data for the address B held by the data latch 6 is:
The read data at the address B of the memory cell unit 1 read from the test port is compared with the read data at the comparison circuit 7. If the result of the match comparison is a match, the data written to the address B of the memory cell unit 1 has been normally read, and thus the data read from the memory cell unit 1 is used. That is, the address B is not held in the defective memory cell address holding unit 8, and data relating to the address B is not held in the redundant unit 2. On the other hand, in the third cycle, input of write data for the address C is also performed to the normal port.

【0042】次に4周期目において、前の周期(3周期
目)に通常ポートに入力されたアドレスCに対するライ
トデータがデータラッチ6に保持される。このデータラ
ッチ6の保持するアドレスCに対するライトデータは、
テストポートから読み出されたメモリセル部1のアドレ
スCのリードデータと比較回路7で一致比較される。一
致比較の結果が不一致であれば、ヒット信号を欠陥メモ
リセルアドレス保持部8および冗長部2へ送出する。そ
の結果、第2の欠陥メモリセルアドレスレジスタ(2)
がアドレスCを保持し、冗長部2の第2のメモリセル
(2)はデータラッチ6に保持されていたアドレスCに
対するライトデータを保持する。一方、メモリセル部1
の通常ポートはこの4周期目において、アドレスAに対
するリード動作を行う。このアドレスAは第1の欠陥メ
モリセルアドレスレジスタ(1)に保持されているアド
レスと一致しているので、冗長部2の第1のメモリセル
(1)に保持されているデータをアドレスAに対するリ
ードデータとして、データ出力端DOより出力する。
Next, in the fourth cycle, write data for the address C input to the normal port in the previous cycle (third cycle) is held in the data latch 6. The write data for the address C held by the data latch 6 is:
The read data at the address C of the memory cell section 1 read from the test port is compared with the read data at the comparator 7. If the result of the match comparison is a mismatch, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the second defective memory cell address register (2)
Holds the address C, and the second memory cell (2) of the redundant unit 2 holds the write data for the address C held in the data latch 6. On the other hand, the memory cell unit 1
The normal port performs a read operation on the address A in the fourth cycle. Since this address A matches the address held in the first defective memory cell address register (1), the data held in the first memory cell (1) of the redundant unit 2 is transferred to the address A. The data is output from the data output terminal DO as read data.

【0043】次に5周期目において、アドレスAに対す
る2回目のライト動作が通常ポートに対して行われる。
ここで、アドレスAは第1の欠陥メモリセルアドレスレ
ジスタ(1)に保持されており、この第1の欠陥メモリ
セルアドレスレジスタ(1)に保持されたアドレスに対
するライト動作によって、第1の欠陥メモリセルアドレ
スレジスタ(1)および冗長部2の第1のメモリセル
(1)の保持データは一旦クリアされるか、若しくは第
1の欠陥メモリセルアドレスレジスタ(1)および冗長
部2の第1のメモリセル(1)は新しいデータがオーバ
ーライト可能な状態にされる。
Next, in the fifth cycle, a second write operation for address A is performed for the normal port.
Here, the address A is held in the first defective memory cell address register (1), and the first defective memory cell address is written by a write operation to the address held in the first defective memory cell address register (1). The data held in the cell address register (1) and the first memory cell (1) of the redundant unit 2 are cleared once, or the first defective memory cell address register (1) and the first memory of the redundant unit 2 Cell (1) is set to a state where new data can be overwritten.

【0044】次に6周期目において、前の周期(5周期
目)に通常ポートに入力されたアドレスAに対するライ
トデータがデータラッチ6に保持され、テストポートか
ら読み出されたメモリセル部1のアドレスAのリードデ
ータと比較回路7で一致比較される。一致比較の結果、
一致が検出されれば、メモリセル部1のアドレスAに書
き込まれたデータは正常に読み出されたことになるの
で、このデータの読み出しはメモリセル部1のデータが
使用され、アドレスAは欠陥メモリセルアドレス保持部
8に保持されず、このアドレスAに関するデータも冗長
部2に保持されない。一方、この6周期目では、通常ポ
ートにアドレスDに対するライトデータも入力される。
Next, in the sixth cycle, the write data corresponding to the address A input to the normal port in the previous cycle (fifth cycle) is held in the data latch 6, and the write data of the memory cell unit 1 read from the test port is read. The read data at the address A is compared with the comparison data by the comparison circuit 7. As a result of the match comparison,
If a match is detected, the data written to the address A of the memory cell unit 1 has been normally read. Therefore, this data is read using the data of the memory cell unit 1 and the address A is defective. Neither is held in the memory cell address holding unit 8, nor is data related to the address A held in the redundant unit 2. On the other hand, in the sixth cycle, write data for the address D is also input to the normal port.

【0045】次に7周期目において、前の周期(6周期
目)に通常ポートに入力されたアドレスDに対するライ
トデータがデータラッチ6に保持される。このデータラ
ッチ6の保持するアドレスDに対するライトデータは、
テストポートから読み出されたメモリセル部1のアドレ
スDのリードデータと比較回路7で一致比較される。一
致比較の結果が不一致であれば、ヒット信号を欠陥メモ
リセルアドレス保持部8および冗長部2へ送出する。そ
の結果、第1の欠陥メモリセルアドレスレジスタ(1)
がアドレスDを保持し、冗長部2の第1のメモリセル
(1)はデータラッチ6に保持されていたアドレスDに
対するライトデータを保持する。一方、メモリセル部1
の通常ポートはこの7周期目において、アドレスBに対
するリード動作を行う。このアドレスBは欠陥メモリセ
ルアドレス保持部8には保持されていないので、メモリ
セル部1を用いた通常のリード動作が行われ、メモリセ
ル部1のアドレスBに保持されているデータがリードデ
ータとしてデータ出力端DOより出力される。
Next, in the seventh cycle, the write data for the address D input to the normal port in the previous cycle (the sixth cycle) is held in the data latch 6. The write data for the address D held by the data latch 6 is
The read data at the address D of the memory cell unit 1 read from the test port is compared with the read data at the comparator 7. If the result of the match comparison is a mismatch, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the first defective memory cell address register (1)
Holds the address D, and the first memory cell (1) of the redundant unit 2 holds the write data for the address D held in the data latch 6. On the other hand, the memory cell unit 1
The normal port performs a read operation on the address B in the seventh cycle. Since this address B is not held in the defective memory cell address holding section 8, a normal read operation using the memory cell section 1 is performed, and the data held in the address B of the memory cell section 1 is read data. Is output from the data output terminal DO.

【0046】次に8周期目において、アドレスCに対す
るリード動作が通常ポートに対して行われる。このアド
レスCは第2の欠陥メモリセルアドレスレジスタ(2)
に保持されているアドレスと一致しているので、冗長部
2の第2のメモリセル(2)に保持されているライトデ
ータがデータ出力端DOよりリードデータとして出力す
る。次に9周期目において、アドレスAに対するリード
動作が通常ポートに対して行われるが、アドレスAは欠
陥メモリセルアドレス保持部8には保持されていないア
ドレスであるため、メモリセル部1のアドレスAに保持
されているデータがリードデータとしてデータ出力端D
Oより出力される。
Next, in the eighth cycle, a read operation for address C is performed for the normal port. This address C is stored in the second defective memory cell address register (2).
, The write data held in the second memory cell (2) of the redundant unit 2 is output from the data output terminal DO as read data. Next, in the ninth cycle, the read operation for the address A is performed for the normal port. However, since the address A is not held in the defective memory cell address holding unit 8, the address A of the memory cell unit 1 is read. Is held at the data output terminal D as read data.
Output from O.

【0047】次に10周期目において、アドレスCに対
する2回目のライト動作が通常ポートに対して行われ
る。このアドレスCは第2の欠陥メモリセルアドレスレ
ジスタ(2)に保持されているアドレスと一致するの
で、第2の欠陥メモリセルアドレスレジスタ(2)なら
びに冗長部2の第2のメモリセル(2)のデータを一旦
クリアされるか若しくは第2の欠陥メモリセルアドレス
レジスタ(2)ならびに冗長部2の第2のメモリセル
(2)をオーバライト可能な状態にした後、次の周期
(11周期目)においてテストポートからのリードデー
タとの一致比較が行われる。
Next, in the tenth cycle, a second write operation for address C is performed for the normal port. Since this address C matches the address held in the second defective memory cell address register (2), the second defective memory cell address register (2) and the second memory cell (2) of the redundant unit 2 Is temporarily cleared or after the second defective memory cell address register (2) and the second memory cell (2) of the redundant unit 2 are overwritable, the next cycle (eleventh cycle) In ()), a comparison is made with the read data from the test port.

【0048】図6は上記図5に示すメモリブロックにお
けるライト動作の手順を示したフローチャートであり、
以下、この図6を用いて詳細に説明する。ライト動作が
行われる場合、まずステップST11において、ライト
データをデータラッチ6に保持するとともに、そのライ
トデータについて、ステップST12によるメモリセル
部1の通常ポートへの書き込み、およびステップST1
3によるテストポートからの読み出しを行う。次にステ
ップST14において、比較回路7によるデータラッチ
6に保持されたデータとテストポートから読み出された
データとの一致比較を行い、ステップST15でその一
致/不一致を判定する。判定の結果、不一致であり欠陥
メモリセルアドレス保持部8および冗長部2にヒット信
号を出力するとステップST16に分岐して、欠陥メモ
リセルアドレス保持部8に書き込み対象のアドレスを欠
陥メモリセルアドレスとして保持させさらにライトデー
タを冗長部2に保持して、このライト動作を終了する。
また、一致であればステップST17に分岐して、欠陥
メモリセルアドレス保持部8の1つのアドレスレジスタ
が上記ライトデータのアドレスを保持しているならば、
これを保持しているアドレスレジスタの内容をクリアす
るか若しくはこのアドレスレジスタをオーバライト可能
な状態にする。さらに、冗長部2が対応するライトデー
タを保持しているならば、これがクリアされるか若しく
は冗長部2の対応するメモリセルがオーバライト可能な
状態にされる。そして、このライト動作を終了する。
FIG. 6 is a flowchart showing the procedure of the write operation in the memory block shown in FIG.
Hereinafter, this will be described in detail with reference to FIG. When a write operation is performed, first, in step ST11, write data is held in the data latch 6, and the write data is written to the normal port of the memory cell unit 1 in step ST12, and in step ST1.
3 is read from the test port. Next, in step ST14, the comparison circuit 7 compares the data held in the data latch 6 with the data read from the test port, and in step ST15, determines whether the data matches / mismatches. If the result of the determination is that there is a mismatch and a hit signal is output to the defective memory cell address holding unit 8 and the redundant unit 2, the process branches to step ST16, and the address to be written is held in the defective memory cell address holding unit 8 as the defective memory cell address. Then, the write data is held in the redundant section 2 and the write operation is completed.
If they match, the process branches to step ST17. If one address register of the defective memory cell address holding unit 8 holds the address of the write data,
The contents of the address register holding the address register are cleared, or the address register is set in an overwritable state. Further, if the redundant section 2 holds the corresponding write data, this is cleared or the corresponding memory cell of the redundant section 2 is set in a state where overwriting is possible. Then, the write operation ends.

【0049】以上のように、この実施の形態2によれ
ば、欠陥のある半導体集積回路装置を救済することがで
きて歩留りを向上させることが可能となり、動作中にテ
ストを実施してソフトウェア的に置き換えることでテス
トコストの削減がはかれ、また冗長部2の削減、未使用
アドレスの置き換え不要などによりチップコストを削減
でき、OVF信号に基づくエラー処理などにより、シス
テムの誤動作を回避することが可能になるなどの、実施
の形態1と同様の効果が得られる。
As described above, according to the second embodiment, a defective semiconductor integrated circuit device can be rescued, and the yield can be improved. Can reduce the test cost, reduce the redundant unit 2, eliminate the need to replace unused addresses, reduce the chip cost, and avoid the malfunction of the system by error processing based on the OVF signal. An effect similar to that of the first embodiment, such as being possible, is obtained.

【0050】さらに、ライト動作の度に、比較回路7が
一致/不一致の判定を行い、不一致の場合にデータラッ
チ6に保持したデータを冗長部2に転送する構成とした
ので、データラッチ6を複数組用意する必要がなくな
り、回路規模を削減することが可能となって、チップコ
ストの低減をはかることができる。また、一旦不一致と
なったアドレスに対しても、次に書き込まれたデータが
擬似的に不良でないと判定された場合には冗長部2を一
旦開放することができ、全体として少ない冗長部2で多
くの不良個所を救済することが可能となるため、これに
よってもチップコストの低減がはかれるという効果が得
られる。
Further, each time a write operation is performed, the comparison circuit 7 determines match / mismatch, and in the case of a mismatch, the data held in the data latch 6 is transferred to the redundant unit 2. There is no need to prepare a plurality of sets, the circuit scale can be reduced, and the chip cost can be reduced. Also, for the address that once becomes unmatched, if it is determined that the data written next is not pseudo-bad, the redundant portion 2 can be temporarily released, and the redundant portion 2 as a whole can be released. Since many defective parts can be relieved, the effect of reducing the chip cost can be obtained.

【0051】実施の形態3.図7はこの発明の実施の形
態3による半導体集積回路装置に搭載されたメモリブロ
ックの構成を示すブロック図であり、図4の上記実施の
形態2によるものと同一または相当する部分には同一符
号を付してその説明を省略する。この実施の形態3によ
るメモリブロックは、ライト動作時、データ入力端DI
より入力されたライトデータがデータラッチ6とともに
冗長部2に同時に書き込まれる点で、図4に示す実施の
形態2のそれとは異なっている。
Embodiment 3 FIG. FIG. 7 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a third embodiment of the present invention. In FIG. 7, the same or corresponding parts as those in the second embodiment shown in FIG. And the description is omitted. The memory block according to the third embodiment has a data input terminal DI during a write operation.
4 is different from that of the second embodiment shown in FIG. 4 in that the input write data is simultaneously written into the redundant unit 2 together with the data latch 6.

【0052】ここで、基本的な動作は実施の形態1の場
合と同様であるため、重複する説明は省略する。ライト
動作時、データ入力端DIより入力されたライトデータ
はデータラッチ6に一旦保持されるとともに、メモリセ
ル部1の通常ポートおよび冗長部2にも入力される。ま
た、入力されたアドレスは、欠陥メモリセルアドレス保
持部8に欠陥メモリセルアドレスとして保持される。デ
ータラッチ6に保持されたデータと1周期後にメモリセ
ル部1のテストポートより読み出されたデータは比較回
路7にて比較され、不一致の場合には不一致を示すヒッ
ト信号を欠陥メモリセルアドレス保持部8および冗長部
2へ送出し、その結果、欠陥メモリセルアドレス保持部
8に既に保持されているアドレスはそのまま保持させる
とともに、冗長部2に既に書き込まれたデータもそのま
ま保持させる。
Here, the basic operation is the same as that of the first embodiment, and a duplicate description will be omitted. During a write operation, write data input from the data input terminal DI is temporarily held in the data latch 6 and also input to the normal port of the memory cell unit 1 and the redundant unit 2. The input address is held in the defective memory cell address holding unit 8 as a defective memory cell address. The data held in the data latch 6 and the data read from the test port of the memory cell unit 1 after one cycle are compared by a comparison circuit 7. The address is already sent to the defective memory cell address holding unit 8 and the data already written in the redundant unit 2 is also held as it is.

【0053】図8はこの実施の形態3におけるメモリブ
ロックの動作を周期毎に説明するための説明図である。
なお、この図8においては、説明の簡単化のために、冗
長部2は2つのメモリセルを有し、欠陥メモリセルアド
レス保持部8は2つのアドレスレジスタを有していると
仮定する。以下、この図8を参照して動作を詳細に説明
する。まず、1周期目において、メモリセル部1の通常
ポートにアドレスAに対するライトデータが入力され
る。次に2周期目において、前の周期(1周期目)に通
常ポートに入力されたアドレスAに対するライトデータ
がデータラッチ6および冗長部2の第1のメモリセル
(1)に保持されるとともに、アドレスAは第1の欠陥
メモリセルアドレスレジスタ(1)に保持される。デー
タラッチ6に保持されたライトデータはテストポートか
ら読み出されたメモリセル部1のアドレスAのリードデ
ータと比較回路7で一致比較される。一致比較の結果、
不一致が検出されるとヒット信号を欠陥メモリセルアド
レス保持部8および冗長部2へ送出する。その結果、冗
長部2の第1のメモリセル(1)に書き込まれたライト
データはそのまま保持されるとともに、第1の欠陥メモ
リセルアドレスレジスタ(1)においてもアドレスAは
保持されたままとなる。一方、この2周期目には、通常
ポートにアドレスBに対するライトデータの入力も行わ
れる。
FIG. 8 is an explanatory diagram for explaining the operation of the memory block according to the third embodiment for each cycle.
In FIG. 8, for the sake of simplicity, it is assumed that redundant unit 2 has two memory cells and defective memory cell address holding unit 8 has two address registers. Hereinafter, the operation will be described in detail with reference to FIG. First, in the first cycle, write data for the address A is input to the normal port of the memory cell unit 1. Next, in the second cycle, the write data for the address A input to the normal port in the previous cycle (first cycle) is held in the data latch 6 and the first memory cell (1) of the redundant unit 2, and The address A is held in the first defective memory cell address register (1). The write data held in the data latch 6 is compared with read data of the address A of the memory cell unit 1 read from the test port by the comparison circuit 7. As a result of the match comparison,
When a mismatch is detected, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the write data written in the first memory cell (1) of the redundant unit 2 is held as it is, and the address A is also held in the first defective memory cell address register (1). . On the other hand, in the second cycle, write data for address B is also input to the normal port.

【0054】次に3周期目において、前の周期(2周期
目)に通常ポートに入力されたアドレスBに対するライ
トデータがデータラッチ6および冗長部2の第2のメモ
リセル(2)に保持される。また、アドレスBは第2の
欠陥メモリセルアドレスレジスタ(2)に保持される。
このデータラッチ6の保持するアドレスBに対するライ
トデータは、テストポートから読み出されたメモリセル
部1のアドレスBのリードデータと比較回路7で一致比
較される。一致比較の結果が一致であった場合、メモリ
セル部1のアドレスBに書き込まれたデータが正常に読
み出せたので、このデータの読み出しはメモリセル部1
のデータが使用される。したがって、このアドレスBに
関するライトデータは冗長部2の第2のメモリセル
(2)からクリアされるか若しくは冗長部2の第2のメ
モリセル(2)はオーバライト可能な状態とされる。同
様に、アドレスBは第2の欠陥メモリセルアドレスレジ
スタ(2)からクリアされるか若しくは第2の欠陥メモ
リセルアドレスレジスタ(2)はオーバライト可能な状
態とされる。一方、この3周期目では、通常ポートにア
ドレスCに対するライトデータの入力も行われる。
Next, in the third cycle, write data for the address B input to the normal port in the previous cycle (second cycle) is held in the data latch 6 and the second memory cell (2) of the redundant unit 2. You. The address B is held in the second defective memory cell address register (2).
The write data for the address B held by the data latch 6 is compared with the read data of the address B of the memory cell unit 1 read from the test port by the comparison circuit 7. If the result of the coincidence comparison is a match, the data written to the address B of the memory cell unit 1 has been read normally, and this data is read out from the memory cell unit 1.
Is used. Therefore, the write data relating to the address B is cleared from the second memory cell (2) of the redundant unit 2, or the second memory cell (2) of the redundant unit 2 is set in a state where overwriting is possible. Similarly, the address B is cleared from the second defective memory cell address register (2) or the second defective memory cell address register (2) is set in a state in which overwriting is possible. On the other hand, in the third cycle, input of write data for the address C is also performed to the normal port.

【0055】次に4周期目において、前の周期(3周期
目)に通常ポートに入力されたアドレスCに対するライ
トデータがデータラッチ6および冗長部2の第2のメモ
リセル(2)に保持される。また、アドレスCは第2の
欠陥メモリセルアドレスレジスタ(2)に保持される。
このデータラッチ6に保持されたアドレスCに対するラ
イトデータは、テストポートから読み出されたメモリセ
ル部1のアドレスCのリードデータと比較回路7で一致
比較される。一致比較の結果が不一致であれとヒット信
号を欠陥メモリセルアドレス保持部8および冗長部2へ
送出する。その結果、冗長部2の第2のメモリセル
(2)に書き込まれたライトデータはそのまま保持され
るとともに、第2の欠陥メモリセルアドレスレジスタ
(2)においてもアドレスCは保持されたままとなる。
一方、メモリセル部1の通常ポートはこの4周期目にお
いて、アドレスAに対するリード動作を行う。このアド
レスAは第1の欠陥メモリセルアドレスレジスタ(1)
に保持されているアドレスと一致しているので、冗長部
2の第1のメモリセル(1)に保持されているデータを
アドレスAに対するリードデータとして、データ出力端
DOより出力する。
Next, in the fourth cycle, write data for the address C input to the normal port in the previous cycle (third cycle) is held in the data latch 6 and the second memory cell (2) of the redundant unit 2. You. Further, the address C is held in the second defective memory cell address register (2).
The write data for the address C held in the data latch 6 is compared with read data of the address C of the memory cell unit 1 read from the test port by the comparison circuit 7. If the result of the match comparison is a mismatch, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the write data written in the second memory cell (2) of the redundant section 2 is held as it is, and the address C is also held in the second defective memory cell address register (2). .
On the other hand, the normal port of the memory cell unit 1 performs the read operation for the address A in the fourth cycle. This address A is the first defective memory cell address register (1)
Therefore, the data held in the first memory cell (1) of the redundant unit 2 is output from the data output terminal DO as read data for the address A.

【0056】次に5周期目において、アドレスAに対す
る2回目のライト動作が通常ポートに対して行われる。
ここで、アドレスAは第1の欠陥メモリセルアドレスレ
ジスタ(1)に保持されており、この第1の欠陥メモリ
セルアドレスレジスタ(1)に保持されたアドレスに対
するライト動作によって、第1の欠陥メモリセルアドレ
スレジスタ(1)および冗長部2の第1のメモリセル
(1)の保持データは一旦クリアされるか若しくは第1
の欠陥メモリセルアドレスレジスタ(1)および冗長部
2の第1のメモリセル(1)はオーバーライト可能な状
態にされる。
Next, in the fifth cycle, a second write operation for address A is performed for the normal port.
Here, the address A is held in the first defective memory cell address register (1), and the first defective memory cell is written by the write operation to the address held in the first defective memory cell address register (1). The data held in the cell address register (1) and the first memory cell (1) of the redundant unit 2 is temporarily cleared or
Of the defective memory cell address register (1) and the first memory cell (1) of the redundant unit 2 are made overwritable.

【0057】次に6周期目において、前の周期(5周期
目)に通常ポートに入力されたアドレスAに対するライ
トデータがデータラッチ6および冗長部2の第1のメモ
リセル(1)に保持されるとともに、アドレスAは第1
の欠陥メモリセルアドレスレジスタ(1)に保持され
る。データラッチ6に保持されたライトデータはテスト
ポートから読み出されたメモリセル部1のアドレスAの
リードデータと比較回路7で一致比較される。一致比較
の結果、一致が検出されれば、メモリセル部1のアドレ
スAに書き込まれたデータは正常に読み出されたことに
なるので、このデータの読み出しはメモリセル部1のデ
ータが使用される。したがって、このアドレスAに関す
るライトデータは冗長部2の第1のメモリセル(1)か
らクリアされるか若しくは冗長部2の第1のメモリセル
(1)はオーバライト可能な状態とされる。同様に、ア
ドレスAは第1の欠陥メモリセルアドレスレジスタ
(1)からクリアされるか若しくは第1の欠陥メモリセ
ルアドレスレジスタ(1)はオーバライト可能な状態と
される。一方、この6周期目では、通常ポートにアドレ
スDに対するライトデータも入力される。
Next, in the sixth cycle, write data for the address A input to the normal port in the previous cycle (fifth cycle) is held in the data latch 6 and the first memory cell (1) of the redundant unit 2. Address A is the first
In the defective memory cell address register (1). The write data held in the data latch 6 is compared with read data of the address A of the memory cell unit 1 read from the test port by the comparison circuit 7. As a result of the match comparison, if a match is detected, the data written to the address A of the memory cell unit 1 has been read normally, and the data read from the memory cell unit 1 is used. You. Therefore, the write data relating to the address A is cleared from the first memory cell (1) of the redundant unit 2 or the first memory cell (1) of the redundant unit 2 is set in a state where overwriting is possible. Similarly, the address A is cleared from the first defective memory cell address register (1), or the first defective memory cell address register (1) is set to a state in which overwriting is possible. On the other hand, in the sixth cycle, write data for the address D is also input to the normal port.

【0058】次に7周期目において、前の周期(6周期
目)に通常ポートに入力されたアドレスDに対するライ
トデータがデータラッチ6および冗長部2の第1のメモ
リセル(1)に保持される。また、アドレスDは第1の
欠陥メモリセルアドレスレジスタ(1)に保持される。
このデータラッチ6の保持するアドレスDに対するライ
トデータは、テストポートから読み出されたメモリセル
部1のアドレスDのリードデータと比較回路7で一致比
較される。一致比較の結果が不一致であればヒット信号
を欠陥メモリセルアドレス保持部8および冗長部2へ送
出する。その結果、冗長部2の第1のメモリセル(1)
に書き込まれたライトデータはそのまま保持されるとと
もに、第1の欠陥メモリセルアドレスレジスタ(1)に
おいてもアドレスDは保持されたままとなる。一方、メ
モリセル部1の通常ポートはこの7周期目において、ア
ドレスBに対するリード動作を行う。このアドレスBは
欠陥メモリセルアドレス保持部8には保持されていない
ので、メモリセル部1を用いた通常のリード動作が行わ
れ、メモリセル部1のアドレスBに保持されているデー
タがリードデータとしてデータ出力端DOより出力され
る。
Next, in the seventh cycle, the write data for the address D input to the normal port in the previous cycle (the sixth cycle) is held in the data latch 6 and the first memory cell (1) of the redundant unit 2. You. Further, the address D is held in the first defective memory cell address register (1).
The write data for the address D held by the data latch 6 is compared with read data of the address D of the memory cell unit 1 read from the test port by the comparator 7. If the result of the match comparison is a mismatch, a hit signal is sent to the defective memory cell address holding unit 8 and the redundant unit 2. As a result, the first memory cell (1) of the redundant unit 2
Is held as it is, and the address D is also held in the first defective memory cell address register (1). On the other hand, the normal port of the memory cell unit 1 performs the read operation for the address B in the seventh cycle. Since this address B is not held in the defective memory cell address holding section 8, a normal read operation using the memory cell section 1 is performed, and the data held in the address B of the memory cell section 1 is read data. Is output from the data output terminal DO.

【0059】次に8周期目において、アドレスCに対す
るリード動作が通常ポートに対して行われる。このアド
レスCは第2の欠陥メモリセルアドレスレジスタ(2)
に保持されているアドレスと一致しているので、データ
出力端DOよりリードデータとして出力する。次に9周
期目において、アドレスAに対するリード動作が通常ポ
ートに対して行われるが、アドレスAは欠陥メモリセル
アドレス保持部8には保持されていないアドレスである
ため、メモリセル部1のアドレスAに保持されているデ
ータがリードデータとしてデータ出力端DOより出力さ
れる。
Next, in the eighth cycle, the read operation for the address C is performed for the normal port. This address C is stored in the second defective memory cell address register (2).
Is output as read data from the data output terminal DO. Next, in the ninth cycle, the read operation for the address A is performed for the normal port. However, since the address A is not held in the defective memory cell address holding unit 8, the address A of the memory cell unit 1 is read. Is output from the data output terminal DO as read data.

【0060】次に10周期目において、アドレスCに対
する2回目のライト動作が通常ポートに対して行われ
る。このアドレスCは第2の欠陥メモリセルアドレスレ
ジスタ(2)に保持されているアドレスと一致するの
で、第2の欠陥メモリセルアドレスレジスタ(2)およ
び冗長部2の第2のメモリセル(2)のデータを一旦ク
リア若しくは第2の欠陥メモリセルアドレスレジスタ
(2)および冗長部2の第2のメモリセル(2)をオー
バライト可能な状態とした後、次の周期(11周期目)
においてテストポートからのリードデータとの一致比較
が行われる。
Next, in the tenth cycle, a second write operation for address C is performed for the normal port. Since this address C matches the address held in the second defective memory cell address register (2), the second defective memory cell address register (2) and the second memory cell (2) of the redundant unit 2 After once clearing the data or setting the second defective memory cell address register (2) and the second memory cell (2) of the redundant unit 2 to be overwritable, the next cycle (eleventh cycle)
, A match comparison with read data from the test port is performed.

【0061】図9は上記図8に示すメモリブロックにお
けるライト動作の手順を示したフローチャートであり、
以下、この図9を用いて詳細に説明する。ライト動作が
行われる場合、まず、ステップST61において、ライ
トデータをデータラッチ6および冗長部2に保持すると
ともに、入力アドレスが欠陥メモリセルアドレスとして
欠陥メモリセルアドレス保持部8に保持される。そのラ
イトデータについて、ステップST62によるメモリセ
ル部1の通常ポートへの書き込み、およびステップST
63によるテストポートからの読み出しを行う。次にス
テップST64において、比較回路7によるデータラッ
チ6に保持されたデータとテストポートから読み出され
たデータとの一致比較を行い、ステップST65でその
一致/不一致を判定する。判定の結果、不一致であれば
ステップST66に分岐して、既に欠陥メモリセルアド
レス保持部8に保持された欠陥メモリセルアドレスは保
持されたままとなり、さらに、ライトデータは冗長部2
に保持されたままとして、このライト動作を終了する。
また、一致であればステップST67に分岐して、冗長
部2に保持されているライトデータがクリアされるか若
しくはそのライトデータを保持している部分がオーバラ
イト可能な状態となる。同様に、欠陥メモリセルアドレ
ス保持部8に保持されている欠陥メモリセルアドレスは
クリアされるか若しくはそのアドレスを保持している部
分がオーバライト可能な状態となる。そして、このライ
ト動作を終了する。
FIG. 9 is a flowchart showing the procedure of a write operation in the memory block shown in FIG.
Hereinafter, this will be described in detail with reference to FIG. When a write operation is performed, first, in step ST61, write data is held in the data latch 6 and the redundant unit 2, and an input address is held in the defective memory cell address holding unit 8 as a defective memory cell address. The write data is written to the normal port of the memory cell unit 1 in step ST62, and
Reading from the test port by 63 is performed. Next, in step ST64, the comparison circuit 7 compares the data held in the data latch 6 with the data read from the test port, and in step ST65, determines the match / mismatch. If the result of the determination is a mismatch, the process branches to step ST66, where the defective memory cell address already held in the defective memory cell address holding unit 8 is still held, and the write data is stored in the redundant unit 2
, The write operation is terminated.
If they match, the process branches to step ST67 to clear the write data held in the redundant unit 2 or to make the portion holding the write data overwritable. Similarly, the defective memory cell address held in the defective memory cell address holding unit 8 is cleared, or the portion holding the address becomes overwritable. Then, the write operation ends.

【0062】以上のように、この実施の形態3によれ
ば、欠陥のある半導体集積回路装置を救済することがで
きて歩留りを向上させることが可能となり、動作中にテ
ストを実施してソフトウェア的に置き換えることでテス
トコストの削減がはかれ、また冗長部2の削減、未使用
アドレスの置き換え不要などによりチップコストを削減
でき、OVF信号に基づくエラー処理などにより、シス
テムの誤動作を回避することが可能になるなどの、実施
の形態1と同様の効果が得られる。
As described above, according to the third embodiment, a defective semiconductor integrated circuit device can be rescued, and the yield can be improved. Can reduce the test cost, reduce the redundant unit 2, eliminate the need to replace unused addresses, reduce the chip cost, and avoid the malfunction of the system by error processing based on the OVF signal. An effect similar to that of the first embodiment, such as being possible, is obtained.

【0063】さらに、ライト動作の度に、ライトデータ
を冗長部2へ転送する構成としたので、データラッチ6
を複数組用意する必要がなくなり、回路規模を削減する
ことが可能となって、チップコストの低減をはかること
ができる。また、一旦不一致となったアドレスに対して
も、次に書き込まれたデータが擬似的に不良でないと判
定された場合には冗長部2を一旦開放することができ、
全体として少ない冗長部2で多くの不良個所を救済する
ことが可能となるため、これによってもチップコストの
低減がはかれるという効果が得られる。
Further, since the write data is transferred to the redundant unit 2 every time a write operation is performed, the data latch 6
It is not necessary to prepare a plurality of sets, the circuit scale can be reduced, and the chip cost can be reduced. Also, with respect to the address that once becomes unmatched, when it is determined that the data written next is not pseudo-failure, the redundant unit 2 can be released once,
Since a large number of defective parts can be relieved with a small number of redundant parts 2 as a whole, the effect of reducing the chip cost can be obtained.

【0064】実施の形態4.図10はこの発明の実施の
形態4による半導体集積回路装置に搭載されたメモリブ
ロックの構成を示すブロック図である。図において、1
0は複数のポートを有し、それらのうちの1つのリード
ポートをテストポートとするRAMのメモリセル部であ
り、図示の例では、AポートとBポートの2つのポート
を備え、Aポートを通常のリード/ライト動作に用いら
れる通常ポートとし、Bポートをテスト専用に用いるた
めのテストポートとしている。11はこのメモリセル部
10のAポート用のアドレスデコーダ、12はBポート
用のアドレスデコーダであり、13はBポート用のアド
レスデコーダ12へのアドレスを一時的に保持するアド
レスラッチである。
Embodiment 4 FIG. 10 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 4 of the present invention. In the figure, 1
Reference numeral 0 denotes a RAM memory cell unit having a plurality of ports, one of which is a read port serving as a test port. In the illustrated example, the memory cell unit includes two ports, an A port and a B port. A normal port used for normal read / write operations is used, and a B port is used as a test port for exclusive use for testing. Reference numeral 11 denotes an address decoder for port A of the memory cell unit 10, reference numeral 12 denotes an address decoder for port B, and reference numeral 13 denotes an address latch for temporarily holding an address to the address decoder 12 for port B.

【0065】14はデータ入力端DIより入力されるデ
ータを一時的に保持するデータラッチであり、15はこ
のデータラッチ14に保持された書き込みデータと、1
周期後にメモリセル部10のBポート(テストポート)
から読み出されたデータとの比較を行う比較回路であ
る。16はこの比較回路15で不一致が検出された場合
に、そのときのアドレスと不一致が検出されたビットに
関する情報とを保持し、以降、そのアドレスに対してリ
ードアクセスされた場合、上記保持情報に基づいて出力
データ制御信号を生成する欠陥メモリセルアドレス/ビ
ット情報保持部で、メモリセル部10に欠陥が多くて対
応しきれない場合にはOVF信号を発生させるようにな
っている。17は欠陥メモリセルアドレス/ビット情報
保持部16の生成した出力データ制御信号に応じて、メ
モリセル部10のAポート(通常ポート)から読み出さ
れたデータをそのままか、不良ビットを反転して補正
し、データ出力端DOより出力するためのセレクタであ
る。
Reference numeral 14 denotes a data latch for temporarily holding data input from the data input terminal DI. Reference numeral 15 denotes write data held in the data latch 14 and 1
B port (test port) of the memory cell unit 10 after the cycle
This is a comparison circuit that compares the data read from the data. 16 holds the address at that time when a mismatch is detected by the comparison circuit 15 and information on the bit at which the mismatch was detected. A defective memory cell address / bit information holding unit that generates an output data control signal based on the output data control signal generates an OVF signal when the memory cell unit 10 has many defects and cannot respond. Reference numeral 17 denotes the data read from the A port (normal port) of the memory cell unit 10 as it is, or inverts the defective bit according to the output data control signal generated by the defective memory cell address / bit information holding unit 16. This is a selector for correcting and outputting from the data output terminal DO.

【0066】次に動作について説明する。動作におい
て、アドレスは、アドレスデコーダ11に直接入力され
るとともに、アドレスデコーダ12の前には配置された
アドレスラッチ13にも入力されて一時的に保持され
る。このように、この実施の形態4においても、メモリ
セル部10のテストポートでは、通常ポートのライトア
クセスの次の周期にデータの読み出しが行われ、テスト
ポートからの読み出しは、通常ポートのライトアクセス
の次の周期に行うためのものであるために、アドレスデ
コーダ12によるテストポート用のアドレスデコード
は、通常ポートのライト動作の後だけでもよく、アドレ
スラッチ13でのアドレス保持を、通常ポートのライト
動作の次の周期のみに行うようにしてもよい。
Next, the operation will be described. In operation, an address is directly input to the address decoder 11 and is also input to an address latch 13 disposed before the address decoder 12 to be temporarily held. As described above, in the fourth embodiment as well, in the test port of the memory cell unit 10, data is read in the next cycle of the write access of the normal port. Therefore, the address decoding for the test port by the address decoder 12 may be performed only after the write operation of the normal port, and the address holding in the address latch 13 is performed by the write operation of the normal port. It may be performed only in the next cycle of the operation.

【0067】データ入力端DIより入力されたデータ
は、実施の形態1の場合と同様に、データラッチ14で
保持されるとともに、メモリセル部10の通常ポートに
も書き込みデータとして入力される。データラッチ14
に保持されたデータは、1周期後にメモリセル部10の
テストポートより読み出されたデータと、比較回路15
によって比較されて一致/不一致の判定が行われる。両
者が一致した場合、メモリセル部10の該当アドレスに
対するライト/リードは正常に行われたので、以降、そ
のアドレスに対するリード動作時においては、メモリセ
ル部10の該当アドレスからのリードデータがそのま
ま、セレクタ17を介してデータ出力端DOより出力さ
れる。
Data input from the data input terminal DI is held in the data latch 14 as in the first embodiment, and is also input to the normal port of the memory cell unit 10 as write data. Data latch 14
The data held in the comparator circuit 15 and the data read from the test port of the memory cell unit 10 after one cycle.
And a match / mismatch determination is made. If the two match, the write / read operation for the corresponding address of the memory cell unit 10 has been performed normally, so that the read data from the corresponding address of the memory cell unit 10 remains unchanged during the read operation for that address. The data is output from the data output terminal DO via the selector 17.

【0068】一方、両者が不一致であった場合には、メ
モリセル部10のそのアドレス部分に欠陥メモリセルが
存在することになるので、当該アドレスとその不一致検
出ビットの情報が欠陥メモリセルアドレス/ビット情報
保持部16に保持される。以降、そのアドレスに対する
リード動作においては、この欠陥メモリセルアドレス/
ビット情報保持部16が保持情報に基づいて発生する出
力データ制御信号に応じて、セレクタ17が不一致検出
ビットのデータを反転して反転したものを選択し、デー
タ出力端DOより出力する。
On the other hand, if they do not match, there is a defective memory cell at that address in the memory cell section 10, so that the address and the information on the mismatch detection bit are stored in the defective memory cell address / It is held in the bit information holding unit 16. Thereafter, in a read operation for that address, the defective memory cell address /
In response to the output data control signal generated by the bit information holding unit 16 based on the held information, the selector 17 inverts and inverts the data of the mismatch detection bit and outputs it from the data output terminal DO.

【0069】ここで、メモリセル部10に欠陥が多く
て、欠陥メモリセルアドレス/ビット情報保持部16が
準備したアドレスレジスタでは対応しきれない場合に
は、この欠陥メモリセルアドレス/ビット情報保持部1
6よりOVF信号を出力しシステム即ち半導体集積回路
装置に対してメモリ動作異常が発生したことを通知す
る。
Here, if the memory cell unit 10 has many defects and the address register prepared by the defective memory cell address / bit information holding unit 16 cannot handle the defect, the defective memory cell address / bit information holding unit 1
6 outputs an OVF signal to notify the system, that is, the semiconductor integrated circuit device, that a memory operation abnormality has occurred.

【0070】次に、欠陥メモリセルアドレス/ビット情
報保持部16による出力データ制御信号の生成動作につ
いて説明する。ここで、図11は欠陥メモリセルアドレ
ス/ビット情報保持部16の内部構成を示すブロック図
である。図において、20は比較回路15で不一致が検
出されたときのBポートアドレスを保存する複数の欠陥
メモリセルアドレスレジスタであり、21は不一致であ
ったビット情報を保存する、欠陥メモリセルアドレスレ
ジスタ20と同数のビット情報レジスタである。22は
不一致が検出された場合にセットされる、欠陥メモリセ
ルアドレスレジスタ20と同数の補正フラグである。2
3はメモリセル部10の読み出し動作時に、Aポートア
ドレスと欠陥メモリセルアドレスレジスタ20に保存さ
れたアドレスとを比較する、欠陥メモリセルアドレスレ
ジスタ20と同数のアドレス比較回路であり、24はこ
のアドレス比較回路23の比較結果に基づいてビット情
報レジスタ21の1つを選択し、それが保持している情
報に基づいて出力データ制御信号を生成するセレクタで
ある。25は比較回路回路からのライトデータの全ビッ
トに関する一致から不一致を示す信号に論理和演算を行
いその結果を補正フラグ22へ出力するOR回路、26
は全補正フラグ22の出力に論理積演算を行いその結果
をOVF信号として出力するAND回路である。
Next, the operation of generating an output data control signal by defective memory cell address / bit information holding unit 16 will be described. Here, FIG. 11 is a block diagram showing an internal configuration of the defective memory cell address / bit information holding unit 16. In the figure, reference numeral 20 denotes a plurality of defective memory cell address registers for storing a B port address when a mismatch is detected by the comparison circuit 15, and reference numeral 21 denotes a defective memory cell address register 20 for storing mismatched bit information. And the same number of bit information registers. Reference numeral 22 denotes the same number of correction flags as the number of defective memory cell address registers 20, which are set when a mismatch is detected. 2
Reference numeral 3 denotes an address comparison circuit for comparing the A port address with the address stored in the defective memory cell address register 20 during the read operation of the memory cell section 10, and the same number of address comparison circuits as the defective memory cell address register 20; The selector selects one of the bit information registers 21 based on a comparison result of the comparison circuit 23 and generates an output data control signal based on information held by the bit information register 21. An OR circuit 25 performs a logical OR operation on a signal indicating a match to a mismatch with respect to all bits of the write data from the comparison circuit circuit and outputs the result to the correction flag 22.
Is an AND circuit that performs a logical product operation on the outputs of all correction flags 22 and outputs the result as an OVF signal.

【0071】前述のように、メモリセル部10の通常ポ
ート(Aポート)に入力されるライトデータは、一旦デ
ータラッチ14に保持され、ライト動作の次の周期でテ
ストポート(Bポート)より読み出されたデータと、比
較回路15にて一致比較される。その結果、いずれかの
ビットに不一致が検出されると、欠陥メモリセルアドレ
ス/ビット情報保持部16において、補正フラグ22が
セットされ、その補正フラグ22が対応する欠陥メモリ
セルアドレスレジスタ20に、Aポートアドレスの前の
周期のアドレス、すなわち、アドレスラッチ13に一時
保持されていたBポートアドレスが欠陥メモリセルアド
レスとして保存される。また、この比較回路15の一致
比較によって不一致が検出されたビット情報を対応する
ビット情報レジスタ21に保存する。
As described above, the write data input to the normal port (A port) of the memory cell unit 10 is temporarily held in the data latch 14 and read from the test port (B port) in the next cycle of the write operation. The comparison data 15 is compared with the output data. As a result, when a mismatch is detected in any one of the bits, the correction flag 22 is set in the defective memory cell address / bit information holding unit 16 and the correction flag 22 stores the A in the corresponding defective memory cell address register 20. The address in the cycle before the port address, that is, the B port address temporarily held in the address latch 13 is stored as the defective memory cell address. Further, the bit information in which the mismatch is detected by the comparison of the comparison circuit 15 is stored in the corresponding bit information register 21.

【0072】その後、欠陥メモリセルアドレスレジスタ
20に保存されているアドレスに対して、通常ポートか
ら読み出し動作が行われると、アドレス比較回路23で
欠陥メモリセルアドレスレジスタ20に保存されている
欠陥メモリセルアドレスとAポートアドレスとの一致比
較を行う。アドレス比較回路23はAポートアドレスと
一致する欠陥メモリセルアドレスを保存した欠陥メモリ
セルアドレスレジスタ20があれば、セレクタ24を制
御して、この欠陥メモリセルアドレスレジスタ20に対
応するビット情報レジスタ21に保存されている補正デ
ータを、出力データ制御信号として出力する。
Thereafter, when a read operation is performed on the address stored in the defective memory cell address register 20 from the normal port, the address comparing circuit 23 causes the defective memory cell stored in the defective memory cell address register 20 to be read. A match between the address and the A port address is compared. If there is a defective memory cell address register 20 storing a defective memory cell address that matches the A port address, the address comparison circuit 23 controls the selector 24 to store the defective memory cell address in the bit information register 21 corresponding to the defective memory cell address register 20. The stored correction data is output as an output data control signal.

【0073】図12はこのような欠陥メモリセルアドレ
ス/ビット情報保持部16の動作手順を示すフローチャ
ートである。処理がスタートすると、まずステップST
21において、通常ポートであるAポートの動作がライ
ト動作であるかリード動作であるかを判別する。Aポー
トの動作がライト動作であった場合には、ステップST
22に分岐して、補正フラグ22がクリアである欠陥メ
モリセルアドレスレジスタ20とデータラッチ14に、
Aポートの現在のアドレスとデータとを取り込む。次
に、比較回路15は、ステップST23において、テス
トポートであるBポートより、直前のアドレスのデータ
を読み出し、ステップST24にてそのリードデータと
データラッチ14の保持データの比較を行う。その結
果、リードデータがデータラッチ14の保持データと全
てのビットで一致していれば補正は不要であるため、ス
テップST25において補正フラグ22をクリアして処
理を終了する。また、1ビットでも不一致があれば補正
が必要となるので、ステップST26で補正フラグ22
をセットし、不一致データのビット情報をビット情報レ
ジスタ21に取り込んで処理を終了する。
FIG. 12 is a flowchart showing the operation procedure of such a defective memory cell address / bit information holding unit 16. When the process starts, first, in step ST
At 21, it is determined whether the operation of the A port, which is a normal port, is a write operation or a read operation. If the operation of the A port is a write operation, step ST
22, the defective memory cell address register 20 in which the correction flag 22 is clear and the data latch 14
Fetch the current address and data of the A port. Next, in step ST23, the comparison circuit 15 reads the data of the immediately preceding address from the test port B, and compares the read data with the data held in the data latch 14 in step ST24. As a result, if the read data matches the data held in the data latch 14 in all the bits, no correction is necessary. Therefore, in step ST25, the correction flag 22 is cleared, and the process ends. Further, if even one bit does not match, correction is necessary.
Is set, the bit information of the mismatched data is taken into the bit information register 21, and the process is terminated.

【0074】一方、Aポートの動作がリード動作であっ
た場合にはステップST27に分岐する。このステップ
ST27では、リードアクセスされたアドレスが、補正
フラグ22がセットされている欠陥メモリセルアドレス
レジスタ20に保存されている欠陥メモリセルアドレス
と同一であった場合、ビット情報レジスタ21に保存さ
れているビット情報に基づいて、該当ビットの反転出力
のための出力データ制御信号が生成される。この出力デ
ータ制御信号はセレクタ17に送られ、セレクタ17は
メモリセル部10から読み出したデータの不一致ビット
のデータを反転させてデータを補正し、リードデータと
してデータ出力端DOより出力する。
On the other hand, if the operation of the A port is a read operation, the process branches to step ST27. In this step ST27, if the read-accessed address is the same as the defective memory cell address stored in the defective memory cell address register 20 in which the correction flag 22 is set, the address is stored in the bit information register 21. An output data control signal for inverting and outputting the corresponding bit is generated based on the bit information. The output data control signal is sent to the selector 17, and the selector 17 inverts the data of the mismatch bit of the data read from the memory cell unit 10, corrects the data, and outputs the data from the data output terminal DO as read data.

【0075】以上のように、この実施の形態4によれ
ば、半導体集積回路装置の歩留り向上がはかれ、テスト
コストやチップコストの削減も可能となり、システムの
誤動作を回避することができるなどの、実施の形態1と
同様の効果を奏する上、冗長部が不要となり、また不良
個所を含む複数ビット分のメモリセルの置き換えをせず
に補正の必要なビットのみを補正しているので、チップ
コストのさらなる削減が可能になるという効果も得られ
る。
As described above, according to the fourth embodiment, the yield of the semiconductor integrated circuit device can be improved, the test cost and the chip cost can be reduced, and the malfunction of the system can be avoided. In addition to the same effects as in the first embodiment, the redundant portion is not required, and only the bits that need to be corrected are corrected without replacing the memory cells of a plurality of bits including the defective portion. The effect that the cost can be further reduced is also obtained.

【0076】実施の形態5.図13はこの発明の実施の
形態5による半導体集積回路装置におけるアドレスデコ
ーダの構成を示すブロック図である。図において、図1
と同一の符号は実施の形態1によるものと同一の構成要
素を示しており、以下ではその説明を省略する。アドレ
スデコーダ3内において、30は冗長部2のワードライ
ンを活性化するための第1のデコーダであり、31はメ
モリセル部1のワードラインを活性化するための第2デ
コーダである。このように、この実施の形態5におい
て、アドレスデコーダ3はこれら第1のデコーダ30と
第2のデコーダ31とに分割されて構成されている。
Embodiment 5 FIG. 13 is a block diagram showing a configuration of an address decoder in a semiconductor integrated circuit device according to a fifth embodiment of the present invention. In the figure, FIG.
The same reference numerals denote the same components as in the first embodiment, and a description thereof will be omitted below. In the address decoder 3, reference numeral 30 denotes a first decoder for activating the word line of the redundant unit 2, and reference numeral 31 denotes a second decoder for activating the word line of the memory cell unit 1. As described above, in the fifth embodiment, the address decoder 3 is divided into the first decoder 30 and the second decoder 31.

【0077】図14はこの実施の形態5における動作の
手順を示すフローチャートである。メモリセル部1のリ
ードもしくはライトの動作が開始されると、まずステッ
プST31において、入力されたアドレスが欠陥メモリ
セルアドレス保持部8に保持されたアドレスと一致して
いるか否かの確認が行われる。その結果、それら両者が
一致していればメモリセル部1の該当アドレスは欠陥ビ
ットが存在することになるので、ステップST32にお
いて欠陥メモリセルアドレス保持部8より第1のデコー
ダ30にアドレスを送って、冗長部2の該当するアドレ
スのワードラインを活性化させ、冗長部2のリード/ラ
イトを行う。その時、欠陥メモリセルアドレス保持部8
から第2のデコーダ31への不一致信号をクリアするこ
とにより、メモリセル部1のワードラインの活性化を行
わない。
FIG. 14 is a flowchart showing the procedure of the operation in the fifth embodiment. When the read or write operation of the memory cell unit 1 is started, first, in step ST31, it is checked whether the input address matches the address held in the defective memory cell address holding unit 8. . As a result, if they match, the corresponding address of the memory cell unit 1 has a defective bit. Therefore, the address is sent from the defective memory cell address holding unit 8 to the first decoder 30 in step ST32. Then, the word line of the corresponding address of the redundant unit 2 is activated, and the read / write of the redundant unit 2 is performed. At that time, the defective memory cell address holding unit 8
The word line of the memory cell unit 1 is not activated by clearing the non-coincidence signal from the second decoder 31 to the second decoder 31.

【0078】一方、入力されたアドレスが欠陥メモリセ
ルアドレス保持部8に保持されたアドレスと不一致であ
れば、メモリセル部1の該当アドレスには欠陥ビットが
ないことになるので、ステップST33において、欠陥
メモリセルアドレス保持部8から第2のデコーダ31へ
の不一致信号をセットする。これによって、第2のデコ
ーダ31はメモリセル部1の該当アドレスのワードライ
ンを活性化させ、メモリセル部1のリード/ライト動作
を行う。なお、その時、欠陥メモリセルアドレス保持部
8から第1のデコーダ30にはアドレスが送られないた
め、冗長部2のワードラインは活性化されない。
On the other hand, if the input address does not match the address held in the defective memory cell address holding section 8, there is no defective bit in the corresponding address of the memory cell section 1, so that in step ST33, A mismatch signal from the defective memory cell address holding unit 8 to the second decoder 31 is set. As a result, the second decoder 31 activates the word line of the corresponding address of the memory cell unit 1 and performs the read / write operation of the memory cell unit 1. At this time, since no address is sent from the defective memory cell address holding unit 8 to the first decoder 30, the word line of the redundant unit 2 is not activated.

【0079】以上のように、この実施の形態5によれ
ば、実施の形態1と同様の効果に加えて、欠陥メモリセ
ルアドレスとの比較により、メモリセル部1のワードラ
インもしくは冗長部2のワードラインの一方のみを活性
化しているので、メモリセル部1のアドレスデコード回
路の規模を小さくすることができ、また、冗長部2を使
用する場合にはメモリセル部1は動作しないので、消費
電力を低減できるなどの効果が得られる。
As described above, according to the fifth embodiment, in addition to the same effect as in the first embodiment, the word line of the memory cell unit 1 or the redundant unit 2 is compared with the defective memory cell address. Since only one of the word lines is activated, the size of the address decode circuit of the memory cell unit 1 can be reduced. In addition, when the redundant unit 2 is used, the memory cell unit 1 does not operate, so that consumption is reduced. Effects such as reduction of power can be obtained.

【0080】実施の形態6.図15はこの発明の実施の
形態6による半導体集積回路装置の要部を示すブロック
図である。図において、40,41は図1、図4、図7
もしくは図10に示したものと同等のメモリブロックで
あり、ここでは欠陥メモリセルアドレス保持部8以外の
部分は図示を省略している。なお、この図15では欠陥
メモリセルアドレス保持部8について図示しているが、
欠陥メモリセルアドレス/ビット情報保持部16であっ
ても同様である。また、メモリブロックが40と41の
2組の場合を例示しているが、3組以上であっても差し
支えない。42はこれら各メモリブロック40,41を
制御するデータ処理部である。
Embodiment 6 FIG. FIG. 15 is a block diagram showing a main part of a semiconductor integrated circuit device according to a sixth embodiment of the present invention. In the figure, reference numerals 40 and 41 denote FIGS.
Alternatively, it is a memory block equivalent to that shown in FIG. 10, and here, parts other than the defective memory cell address holding unit 8 are not shown. Although FIG. 15 shows the defective memory cell address holding unit 8,
The same applies to the defective memory cell address / bit information holding unit 16. Also, the case where two sets of memory blocks 40 and 41 are illustrated, but three or more sets may be used. Reference numeral 42 denotes a data processing unit that controls the memory blocks 40 and 41.

【0081】メモリブロック40,41内において、8
は図1に同一符号を付して示した欠陥メモリセルアドレ
ス保持部であり、この欠陥メモリセルアドレス保持部8
内において、43はそのメモリブロック40または41
内に設けられた冗長部の複数のメモリセル(図示省略)
のそれぞれに対応して設けられ、不一致が検出されたと
きの欠陥メモリセルアドレスが保存される欠陥メモリセ
ルアドレスレジスタであり、44はそれら各欠陥メモリ
セルアドレスレジスタ43に対応して設けられ、不一致
が検出された場合にセットされる使用フラグである。4
5はこれら各使用フラグ44のAND論理をとって、デ
ータ処理部42へのフル(full)フラグ信号を生成
するAND回路である。
In the memory blocks 40 and 41, 8
Is a defective memory cell address holding unit shown by the same reference numeral in FIG.
43, its memory block 40 or 41
A plurality of redundant memory cells (not shown)
And a defective memory cell address register 44 for storing a defective memory cell address when a mismatch is detected. Reference numeral 44 denotes a defective memory cell address register provided for each of the defective memory cell address registers 43. Is a use flag that is set when is detected. 4
An AND circuit 5 generates the full flag signal to the data processing unit 42 by taking the AND logic of each of the use flags 44.

【0082】次に動作について説明する。動作におい
て、図示を省略した比較回路による一致比較の結果が不
一致、すなわち書き込み対象のメモリセルに欠陥がある
ことが検出された場合、欠陥メモリセルアドレス保持部
8の欠陥メモリセルアドレスレジスタ43の1つに、そ
の欠陥のあるメモリセルのアドレスを欠陥メモリセルア
ドレスとして保持するとともに、その欠陥メモリセルア
ドレスレジスタ43に対応する使用フラグ44に“1”
をセットする。使用フラグ44の全てに“1”がセット
されると、そのAND論理をとっているAND回路45
によりフルフラグ信号がアサートされる。このメモリブ
ロック40からのフルフラグ信号はデータ処理部42に
送られ、データ処理部42はフルフラグ信号がアサート
されると、他のメモリブロック41へ振り替えてライト
動作を実行する。
Next, the operation will be described. In the operation, when it is detected that the result of the match comparison by the comparison circuit (not shown) does not match, that is, when it is detected that the memory cell to be written has a defect, one of the defective memory cell address registers 43 of the defective memory cell address holding unit 8 is reset. Finally, the address of the defective memory cell is held as the defective memory cell address, and the use flag 44 corresponding to the defective memory cell address register 43 is set to "1".
Is set. When "1" is set to all of the use flags 44, an AND circuit 45 taking the AND logic thereof
Causes the full flag signal to be asserted. The full flag signal from the memory block 40 is sent to the data processing unit 42, and when the full flag signal is asserted, the data processing unit 42 switches to another memory block 41 and executes a write operation.

【0083】図16はそのようなメモリブロック41へ
の振り替えライト動作の手順を示すフローチャートであ
る。使用フラグ44への“1”セット動作の結果、全て
の使用フラグ44が“1”にセットされたか否かをステ
ップST41で判定する。その結果、全ての使用フラグ
44が“1”にセットされていた場合には、AND回路
45がステップST42においてフルフラグ信号をアサ
ートし、それをデータ処理部42へ送る。データ処理部
42はフルフラグ信号がアサートされたことを検知する
と、ステップST43において、次に行われるアクセス
がライト動作かリード動作などのライト動作以外かを識
別し、ライト動作以外であればそのままこのフラグ処理
を終了する。一方、次のアクセスがライト動作であれ
ば、欠陥メモリセルアドレス保持部8の欠陥メモリセル
アドレスレジスタ43は全て使用されているので、その
ライト動作が正常に行われない可能性があるため、デー
タ処理部42はステップST44においてメモリブロッ
ク41へのデータライト動作に変更し、一連のフラグ処
理を終了する。
FIG. 16 is a flowchart showing the procedure of such a transfer write operation to the memory block 41. In step ST41, it is determined whether or not all the use flags 44 are set to "1" as a result of the operation of setting the use flag 44 to "1". As a result, when all the use flags 44 are set to “1”, the AND circuit 45 asserts the full flag signal in step ST42 and sends it to the data processing unit 42. Upon detecting that the full flag signal has been asserted, the data processing unit 42 determines in step ST43 whether the next access is other than a write operation such as a write operation or a read operation. The process ends. On the other hand, if the next access is a write operation, since all of the defective memory cell address registers 43 of the defective memory cell address holding unit 8 are used, there is a possibility that the write operation may not be performed normally. The processing unit 42 changes the operation to the data write operation to the memory block 41 in step ST44, and ends a series of flag processing.

【0084】以上のように、この実施の形態6によれ
ば、実施の形態1と同様の効果に加えて、あらかじめ準
備してあった欠陥メモリセルアドレス保持部8(欠陥メ
モリセルアドレス/ビット情報保持部16)や冗長部2
で対応しきれなくなった場合、フルフラグ信号をアサー
トしてデータ処理部42に出力しているので、このフル
フラグ信号のアサートによってシステムに警告し、デー
タを他のメモリブロックに振り分けることが可能となる
ため、システムがエラー状態となるのを回避することが
できるという効果が得られる。
As described above, according to the sixth embodiment, in addition to the same effects as in the first embodiment, the previously prepared defective memory cell address holding unit 8 (defective memory cell address / bit information Holding section 16) and redundant section 2
Since the full flag signal is asserted and output to the data processing unit 42 when it is no longer possible to respond, the system can be warned by the assertion of the full flag signal and the data can be distributed to other memory blocks. This has the effect that the system can be prevented from being in an error state.

【0085】実施の形態7.なお、上記実施の形態6で
は、あらかじめ準備しておいた冗長部を使い切った場合
には、フルフラグ信号をアサートして、システムに対し
他のバッファヘの切り替え保持を警告するようにしたも
のについて説明したが、あらかじめ準備しておいた冗長
部を使い切り、さらに不一致処理が検出された場合に
は、OVF信号をアサートするようにしてもよい。
Embodiment 7 FIG. In the sixth embodiment described above, when the previously prepared redundant portion is used up, the full flag signal is asserted to warn the system to switch and hold another buffer. However, the OVF signal may be asserted when the redundant portion prepared in advance is used up and further when the mismatch processing is detected.

【0086】図17はそのようなこの発明の実施の形態
7による半導体集積回路装置の要部を示すブロック図で
あり、各部には図15の対応部分と同一符号を付してそ
の説明を省略する。なお、この実施の形態7において
は、AND回路45が、各使用フラグ44が全て“1”
となり、さらに図示を省略した比較回路によって不一致
処理の発生が検出された場合、それらのAND論理結果
より、データ処理部42へのOVF信号をアサートす
る。
FIG. 17 is a block diagram showing a main part of such a semiconductor integrated circuit device according to the seventh embodiment of the present invention. The same reference numerals as in FIG. 15 denote the respective parts, and a description thereof will be omitted. I do. In the seventh embodiment, the AND circuit 45 sets all the use flags 44 to “1”.
Further, when the occurrence of mismatch processing is detected by a comparison circuit (not shown), the OVF signal to the data processing unit 42 is asserted from the AND logic result.

【0087】次に動作について説明する。動作におい
て、実施の形態6の場合と同様に、書き込み対象のメモ
リセルに欠陥があって、比較回路(図示省略)の一致比
較で不一致が検出された場合、欠陥メモリセルアドレス
レジスタ43の1つに、その欠陥のあるメモリセルのア
ドレスを欠陥メモリセルアドレスとして保持するととも
に、その欠陥メモリセルアドレスレジスタ43に対応す
る使用フラグ44に“1”をセットする。使用フラグ4
4の全てに“1”がセットされた後、さらに比較回路7
にて不一致が検出されると、それらのAND論理をとっ
ているAND回路45によりOVF信号がアサートされ
る。このメモリブロック40からのOVF信号はデータ
処理部42に送られ、データ処理部42はOVF信号ア
サートされると、他のメモリブロック41へ振り替えて
ライト動作を実行する。
Next, the operation will be described. In the operation, as in the case of the sixth embodiment, if a memory cell to be written has a defect and a mismatch is detected by a comparison comparison (not shown) of a comparison circuit (not shown), one of the defective memory cell address registers 43 is detected. Then, the address of the defective memory cell is held as the defective memory cell address, and the use flag 44 corresponding to the defective memory cell address register 43 is set to "1". Use flag 4
After "1" is set to all of the counters 4, the comparison circuit 7
When an inconsistency is detected by the AND circuit 45, the OVF signal is asserted by the AND circuit 45 which takes the AND logic. The OVF signal from the memory block 40 is sent to the data processing unit 42, and when the OVF signal is asserted, the data processing unit 42 switches to another memory block 41 and executes a write operation.

【0088】図18はそのようなメモリブロック41へ
の振り替えライト動作の手順を示すフローチャートであ
る。使用フラグ44への“1”セット動作によって、全
ての使用フラグ44が“1”にセットされた後、比較回
路7において、さらに不一致が検出されたか否かをステ
ップST51で判定する。その結果、全ての使用フラグ
44が“1”にセットされ、さらに不一致が検出された
場合には、AND回路45がステップST52において
OVF信号をアサートし、それをデータ処理部42に送
る。データ処理部42はこのOVF信号がアサートされ
たことを検知すると、ステップST53において、次の
アクセスがライト動作かリード動作かの識別を行う。
FIG. 18 is a flowchart showing the procedure of such a transfer write operation to the memory block 41. After all the use flags 44 are set to "1" by the operation of setting the use flag 44 to "1", in the comparison circuit 7, it is determined whether or not further mismatch is detected in step ST51. As a result, all the use flags 44 are set to "1", and if a mismatch is detected, the AND circuit 45 asserts the OVF signal in step ST52 and sends it to the data processing unit 42. When detecting that the OVF signal has been asserted, the data processing unit 42 determines in step ST53 whether the next access is a write operation or a read operation.

【0089】判別の結果、次のアクセスがリード動作で
あれば、データ処理部42はそのままこのフラグ処理を
終了する。一方、次のアクセスがライト動作であれば、
データ処理部42はこのメモリブロック40に対するラ
イト動作は正常に行われなかったものと判断して、ステ
ップST54において、同一データによるメモリブロッ
ク41へのライト動作などのエラー処理を実行して、一
連のフラグ処理を終了する。なお、上記エラー処理は、
データ処理部42がシステムの動作を停止させ、メモリ
ブロック40に不具合が発生したことをシステム外に通
知するような処理であってもよい。
As a result of the determination, if the next access is a read operation, the data processing section 42 ends this flag processing as it is. On the other hand, if the next access is a write operation,
The data processing unit 42 determines that the write operation to the memory block 40 has not been performed normally, and executes an error process such as a write operation to the memory block 41 with the same data in step ST54 to execute a series of operations. The flag processing ends. The error processing is
The processing may be such that the data processing unit 42 stops the operation of the system and notifies the outside of the system that a failure has occurred in the memory block 40.

【0090】以上のように、この実施の形態7によれ
ば、あらかじめ準備してあった欠陥メモリセルアドレス
保持部8(欠陥メモリセルアドレス/ビット情報保持部
16)や冗長部2で対応しきれない場合、OVF信号を
アサートしてデータ処理部42に出力しているので、こ
のOVF信号のアサートによってライトデータを他のメ
モリブロック41に再書き込みするなどのエラー処理を
実施することが可能となるため、システムの誤動作を回
避することができ、また、使用フラグ44が全て“1”
にセットされた後でも、その後のデータ不一致が発生す
るまでのライト動作はメモリブロック40を使用するこ
とができるため、データ処理部42の実行するメモリブ
ロック41を使用した例外処理の頻度を減少させること
が可能となって、システムの性能低下を抑制できるなど
の効果が得られる。
As described above, according to the seventh embodiment, the defective memory cell address holding unit 8 (defective memory cell address / bit information holding unit 16) and the redundant unit 2 which have been prepared in advance can cope with. If not, the OVF signal is asserted and output to the data processing unit 42, so that the assertion of the OVF signal makes it possible to perform error processing such as rewriting the write data to another memory block 41. Therefore, malfunction of the system can be avoided, and the use flags 44 are all "1".
Even after being set to, the memory block 40 can be used for the subsequent write operation until data mismatch occurs, so that the frequency of exception processing using the memory block 41 executed by the data processing unit 42 is reduced. It is possible to obtain effects such as suppression of system performance degradation.

【0091】実施の形態8.上記各実施の形態のメモリ
ブロックは複数のデータを単に記憶する1つのみのメモ
リセル部を備えた。これに対して、この実施の形態8に
よるメモリブロックは奇数個のメモリセル部を備え、こ
れらのメモリセル部が同一の内容を有するようにライト
動作時にその各々に同一データを記憶させ、読み出した
リードデータの多数決演算にて、メモリセルの不良個所
を検出するものである。
Embodiment 8 FIG. The memory block of each of the above embodiments has only one memory cell unit that simply stores a plurality of data. On the other hand, the memory block according to the eighth embodiment has an odd number of memory cell sections, and the same data is stored and read in each of the memory cells during a write operation so that these memory cell sections have the same contents. This is to detect a defective portion of a memory cell by majority operation of read data.

【0092】図19はそのようなこの発明の実施の形態
8による半導体集積回路装置の要部を示すブロック図で
ある。図において、50,51,52は3つ用意され、
互いに異なる構造をしたメモリセル部である。なお、こ
こではメモリセル部50〜52の3つを用意した場合に
ついて例示しているが、3つ以上の奇数個であればよ
い。53,54,55はそれら各メモリセル部50〜5
2に対応して個別に用意されたアドレスデコーダであ
る。56はそれら各メモリセル部50〜52の同一アド
レスの場所から読み出されたデータの多数決演算を行う
多数決選択回路である。
FIG. 19 is a block diagram showing a main part of such a semiconductor integrated circuit device according to the eighth embodiment of the present invention. In the figure, three 50, 51, 52 are prepared,
These are memory cell sections having different structures. Although the case where three of the memory cell units 50 to 52 are prepared is illustrated here, an odd number of three or more is sufficient. Reference numerals 53, 54 and 55 denote memory cell units 50 to 5 respectively.
2 are address decoders individually prepared for the respective address decoders. Reference numeral 56 denotes a majority selection circuit that performs a majority operation on data read from the same address of each of the memory cell units 50 to 52.

【0093】ライト動作を実施する場合、まず、データ
入力端DIから各メモリセル部50〜52にライトデー
タを、アドレス入力端Aからアドレスデコーダ53〜5
5にライトアドレスをそれぞれ入力する。メモリセル部
50では対応するアドレスデコーダ53でデコードされ
たアドレスに、入力されたライトデータを記憶する。同
様に、メモリセル部51では対応するアドレスデコーダ
54でデコードされたアドレスに、メモリセル部52で
は対応するアドレスデコーダ55でデコードされたアド
レスに、それぞれ入力されたライトデータを記憶する。
なお、これら各メモリセル部50〜52に書き込まれる
データは同一のデータである。
When performing a write operation, first, write data is applied to each of the memory cell units 50 to 52 from the data input terminal DI, and the address decoders 53 to 5 are applied from the address input terminal A.
5 is input with a write address. In the memory cell unit 50, the input write data is stored at the address decoded by the corresponding address decoder 53. Similarly, the memory cell unit 51 stores the input write data at the address decoded by the corresponding address decoder 54, and the memory cell unit 52 stores the input write data at the address decoded by the corresponding address decoder 55.
The data written in each of the memory cell units 50 to 52 is the same data.

【0094】次に、アドレス入力端Aに前述のアドレス
を入力してリード動作を行う。各メモリセル部50〜5
2では対応するアドレスデコーダ53〜55でデコード
されたアドレスよりそれぞれデータリードが行われる。
読み出されたデータは多数決選択回路56に入力され多
数決演算が行われる。その結果、全てのリードデータが
一致すれば、各メモリセル部50〜52の該当アドレス
には欠陥がないものと判定する。また、2つのリードデ
ータが一致しており、もう1つのリードデータが異なっ
ていれば、その少数(1つ)のリードデータが読み出さ
れたメモリセル部の該当アドレスに欠陥があると判定す
る。
Next, the aforementioned address is input to the address input terminal A to perform a read operation. Each memory cell unit 50-5
In 2, the data is read from the addresses decoded by the corresponding address decoders 53 to 55, respectively.
The read data is input to the majority selection circuit 56 and a majority operation is performed. As a result, if all the read data match, it is determined that the corresponding address of each of the memory cell units 50 to 52 has no defect. If the two read data match and the other read data is different, it is determined that the corresponding address of the memory cell portion from which a small number (one) of the read data has been read has a defect. .

【0095】以上のように、この実施の形態8によれ
ば、3つのメモリセル部50〜52からのリードデータ
により多数決選択しているので、メモリセル部50〜5
2に不良個所があっても容易に検出できるため、歩留り
を向上でき、多数決選択回路56により動的に比較して
いるので、あらかじめテストして不良個所を特定するこ
とが不要となって、テストコストが削減可能である。多
数決論理により選択されたデータを出力する構成にして
いるので、レーザトリミングなどのH/Wによる変更処
理が不要となって、コストを削減できるばかりか、構造
の違う奇数のメモリセル部50〜52により構成されて
いるので、メモリセル部50〜52の構造に起因する不
良の検出が可能となり、さらに、アドレスデコーダ53
〜55を各メモリセル部50〜52に対して準備してい
るので、各メモリセル部50〜52の不良ばかりでな
く、アドレスデコーダ53〜55の不良に関してもリペ
ア可能になるなどの効果が得られる。
As described above, according to the eighth embodiment, the majority is selected based on the read data from the three memory cell units 50 to 52, so that the memory cell units 50 to 5 are selected.
2 can be easily detected even if there is a defective portion, so that the yield can be improved, and the dynamic comparison is performed by the majority decision selection circuit 56, so that it is not necessary to specify a defective portion by performing a test in advance. Costs can be reduced. Since the configuration is such that data selected by majority logic is output, change processing by H / W such as laser trimming is not required, so that costs can be reduced and not only the odd-numbered memory cell sections 50 to 52 having different structures. , It is possible to detect a defect caused by the structure of the memory cell units 50 to 52, and furthermore, the address decoder 53
To 55 are prepared for each of the memory cell units 50 to 52, so that not only the failure of each of the memory cell units 50 to 52 but also the failure of the address decoders 53 to 55 can be repaired. Can be

【0096】実施の形態9.また、同一の内容を有する
ようにライト動作時に同一データが記憶される奇数個の
メモリセル部と、リードデータの多数決演算にてメモリ
セル部の不良個所を検出する多数決選択回路の代わり
に、本発明の実施の形態9による半導体集積回路装置
は、各アドレスについて、同一の内容を有するようにラ
イト動作時に同一データが記憶される奇数個のメモリセ
ルを有するメモリセル部と、それらの各メモリセルから
読み出したリードデータの多数決演算を行って、メモリ
セルの不良個所を検出する多数決選択回路とを備えたも
のである。即ち、メモリセル部は必要量の3倍のメモリ
セルを備えている。
Embodiment 9 FIG. Also, instead of an odd number of memory cell sections storing the same data at the time of a write operation so as to have the same contents and a majority selection circuit for detecting a defective portion of the memory cell section by majority operation of read data, A semiconductor integrated circuit device according to a ninth embodiment of the present invention provides a memory cell unit having an odd number of memory cells in which the same data is stored during a write operation so as to have the same contents for each address, and the respective memory cells And a majority selection circuit for performing a majority operation on read data read from the memory cell and detecting a defective portion of the memory cell. That is, the memory cell section has three times as many memory cells as necessary.

【0097】図20はそのようなこの発明の実施の形態
9による半導体集積回路装置の要部を示すブロック図で
ある。図において、60はメモリセル部であり、61は
そのアドレスデコーダである。62,63,64はメモ
リセル部60内のメモリセルであり、メモリセル部60
の各アドレス毎に、ライトデータの各ビットについて3
つの1ビットメモリセルが設けられており、隣接する3
つのメモリセル62〜64には同一のデータが保持され
ている。65,66,67はこれら各メモリセル62〜
64に保持されているデータを読み出すためのビットラ
インであり、68はこれら各ビットライン65〜67よ
り読み出されたデータの多数決演算を行う多数決選択回
路である。
FIG. 20 is a block diagram showing a main part of a semiconductor integrated circuit device according to a ninth embodiment of the present invention. In the figure, reference numeral 60 denotes a memory cell unit, and reference numeral 61 denotes its address decoder. Reference numerals 62, 63, and 64 denote memory cells in the memory cell unit 60.
3 for each bit of the write data for each address of
One 1-bit memory cell is provided,
One memory cell 62 to 64 holds the same data. 65, 66, and 67 represent these memory cells 62 to
A bit line for reading the data held in 64 is a majority selection circuit for performing a majority operation on the data read from these bit lines 65 to 67.

【0098】ライト動作を実施する場合、まず、データ
入力端DIからメモリセル部60にライトデータを、ア
ドレス入力端Aからアドレスデコーダ61にライトアド
レスをそれぞれ入力する。メモリセル部60ではこの入
力されたライトデータの各ビットを、アドレスデコーダ
61でデコードされたアドレスの3つのメモリセルの各
セットに記憶する。ここで、メモリセル部60の各アド
レスは、各ビットについて3つのメモリセルを有してい
る。例えば、隣接した1ビットメモリセル62〜64に
データ入力端DIから入力された同一のライトデータの
各ビットが記憶される。
When performing a write operation, first, write data is input from the data input terminal DI to the memory cell unit 60, and a write address is input from the address input terminal A to the address decoder 61. In the memory cell unit 60, each bit of the input write data is stored in each set of three memory cells of the address decoded by the address decoder 61. Here, each address of the memory cell unit 60 has three memory cells for each bit. For example, each bit of the same write data input from the data input terminal DI is stored in the adjacent one-bit memory cells 62 to 64.

【0099】次に、アドレス入力端Aに前述のアドレス
を入力してリード動作を行う。メモリセル部60ではア
ドレスデコーダ61でデコードされたアドレスによって
データリードが行われ、隣接した3ビットのメモリセル
62〜64からは同一に書き込まれたデータが読み出さ
れる。このようにして、隣接する3ビットのメモリセル
62〜64から読み出されたデータは、それぞれのビッ
トライン65〜67にて多数決選択回路68に入力さ
れ、多数決演算が行われる。その結果、それら3ビット
のリードデータが一致すれば、該当ビットには欠陥がな
いものと判定する。また、2つのリードデータが一致し
ており、もう1つのリードデータが異なっていれば、そ
の少数(1つ)のリードデータが読み出されたビットに
欠陥があると判定する。
Next, the aforementioned address is input to the address input terminal A to perform a read operation. In the memory cell section 60, data is read based on the address decoded by the address decoder 61, and the same written data is read from the adjacent 3-bit memory cells 62 to 64. In this way, the data read from the adjacent 3-bit memory cells 62 to 64 are input to the majority selection circuit 68 via the respective bit lines 65 to 67, and the majority operation is performed. As a result, if the read data of the three bits match, it is determined that the corresponding bit has no defect. If the two read data match and the other read data is different, it is determined that the bit from which a small number (one) of the read data is read has a defect.

【0100】なお、上記説明では、各アドレスが必要量
の3倍のメモリセル数を有するメモリセル部60を用い
たものを示したが、3以上の奇数倍であればよく、ま
た、多数決選択回路68では隣接するビットライン65
〜67からのリードデータの多数決演算を行っている
が、近傍のビットラインであれば必ずしも隣接している
ものでなくともよい。
In the above description, the memory cell unit 60 in which each address has three times the required number of memory cells is shown. However, it is sufficient if the address is an odd multiple of three or more. In the circuit 68, the adjacent bit line 65
Although the majority operation of the read data from .about.67 is performed, the adjacent bit lines need not necessarily be adjacent.

【0101】以上のように、この実施の形態9によれ
ば、メモリセル部60に不良個所があっても、多数決選
択により容易に検出できるため歩留りを向上でき、動的
比較によりあらかじめテストし不良個所を特定する必要
がないので、テストコストを削減できる。多数決論理に
より選択されたデータを出力しているので、レーザトリ
ミングなどのH/Wによる変更処理が不要となってコス
ト削減がはかれ、多数決比較されるビットライン65〜
67が近傍(隣接)に存在できるため、配線が短く済
み、消費電力の低下、高速化等の性能向上が可能となる
などの効果が得られる。
As described above, according to the ninth embodiment, even if there is a defective portion in the memory cell portion 60, the yield can be improved because it can be easily detected by majority decision, and the defective portion can be tested in advance by dynamic comparison. Since there is no need to specify a location, test costs can be reduced. Since the data selected by the majority logic is output, change processing by H / W such as laser trimming is not required, cost can be reduced, and the bit lines 65 to 65 to be compared by majority decision.
Since the 67 can be present in the vicinity (adjacent), effects such as shortening of wiring, reduction in power consumption, and improvement in performance such as high speed can be obtained.

【0102】実施の形態10.同一の内容を有するよう
にライト時に同一データが書き込まれる奇数個のメモリ
セル部または奇数個のメモリセルを有するメモリセル
と、リードデータの多数決演算にてメモリセル部の不良
個所を検出して多数決の結果を出力する多数決選択回路
との代わりに、本発明の実施の形態10による半導体集
積回路装置は、同一の内容を有するようにライト動作時
に同一データが記憶される2つのメモリセル部と、これ
らのメモリセル部から読み出されたデータが不一致の場
合、パリティビットを確認して正しい方のデータを出力
する比較回路とを備えたものである。
Embodiment 10 FIG. An odd-numbered memory cell part or a memory cell having an odd-numbered memory cell into which the same data is written at the time of writing so as to have the same contents, and a majority decision by detecting a defective part of the memory cell part by majority operation of read data. Instead of the majority selection circuit that outputs the result of (1), the semiconductor integrated circuit device according to the tenth embodiment of the present invention includes two memory cell units storing the same data during a write operation so as to have the same contents, When the data read from these memory cell units do not match, a comparator circuit is provided for checking the parity bit and outputting the correct data.

【0103】図21はそのようなこの発明の実施の形態
10による半導体集積回路装置の要部を示すブロック図
である。図において、70,71は同一のアドレスを持
つメモリセル部であり、72はこれら2つのメモリセル
部70,71のアドレスをデコードするアドレスデコー
ダである。73はメモリセル部70,71の各アドレス
毎に、ライト動作時に求めたライトデータのパリティを
保持するパリティビット保持部であり、74は2つのメ
モリセル部70,71からのリードデータの一致比較を
行い、不一致が検出された場合にパリティビット保持部
73を確認して正しい方のデータを出力する比較回路で
ある。
FIG. 21 is a block diagram showing a main portion of such a semiconductor integrated circuit device according to the tenth embodiment of the present invention. In the figure, 70 and 71 are memory cell units having the same address, and 72 is an address decoder for decoding the addresses of these two memory cell units 70 and 71. Reference numeral 73 denotes a parity bit holding unit that holds parity of write data obtained at the time of a write operation for each address of the memory cell units 70 and 71, and 74 denotes a comparison of coincidence of read data from the two memory cell units 70 and 71. And a comparator circuit for checking the parity bit holding unit 73 and outputting the correct data when a mismatch is detected.

【0104】ライト動作を実施する場合、データ入力端
DIより入力されたライトデータは、メモリセル部70
および71の、アドレスデコーダ72にてデコードされ
たアドレスにそれぞれ書き込まれる。従って、これらメ
モリセル部70,71の同一アドレスには同一のデータ
が記憶される。その時、パリティビット保持部73は、
このライトデータのパリティを計算して上記アドレスに
対応した部分に保持する。次に、アドレスデコーダ72
に入力された前述のアドレスによって、メモリセル部7
0および71から該当アドレスのデータリードが行われ
る。このリードデータは比較回路74に入力されて一致
比較される。その結果、それら2面のメモリセル部7
0,71のリードデータが不一致であった場合、比較回
路74は該当するパリティビット保持部73を確認し
て、正しい方のデータをデータ出力端DOより出力す
る。
When the write operation is performed, the write data input from the data input terminal DI is stored in the memory cell unit 70.
And 71 are written to the addresses decoded by the address decoder 72, respectively. Therefore, the same data is stored in the same address of these memory cell units 70 and 71. At that time, the parity bit holding unit 73
The parity of the write data is calculated and held in a portion corresponding to the address. Next, the address decoder 72
According to the address input to the memory cell unit 7,
From 0 and 71, data reading of the corresponding address is performed. This read data is input to the comparison circuit 74 and is compared for coincidence. As a result, the memory cell portion 7 on those two surfaces
If the read data of 0 and 71 do not match, the comparison circuit 74 checks the corresponding parity bit holding unit 73 and outputs the correct data from the data output terminal DO.

【0105】以上のように、この実施の形態10によれ
ば、メモリセルに不良個所があっても複数のメモリセル
部70,71のリードデータとパリティビット保持部7
3により補正されるので、歩留りを向上させることがで
き、動的に比較しているので、あらかじめテストして不
良個所を特定する必要がなく、テストコストの削減が可
能である。複数のメモリセル部70,71とパリティビ
ット保持部73を用いて補正を行っているので、レーザ
トリミングなどのH/Wによる変更処理が不要で、コス
トの削減が可能であり、また、2面のメモリセル部7
0,71のリードデータを比較すればよいので、多数決
選択を行う場合に比べてメモリセル部が少なくて済み、
チップ面積の削減、チップコストの低減がはかれるなど
の効果がある。
As described above, according to the tenth embodiment, even if there is a defective portion in the memory cell, the read data and the parity bit holding portion 7 of the plurality of memory cell portions 70 and 71 are provided.
3, the yield can be improved, and since the comparison is made dynamically, there is no need to specify a defective portion by performing a test in advance, and the test cost can be reduced. Since the correction is performed using the plurality of memory cell units 70 and 71 and the parity bit holding unit 73, a change process by H / W such as laser trimming is not required, and cost can be reduced. Memory cell section 7
Since it is sufficient to compare the read data of 0 and 71, the number of memory cell portions can be reduced as compared with the case of performing majority selection.
This has the effect of reducing the chip area and chip cost.

【0106】実施の形態11.図22はこの発明の実施
の形態11による半導体集積回路装置に搭載されたメモ
リブロックの構成を示すブロック図である。図におい
て、1はメモリセル部、2は冗長部、3はアドレスデコ
ーダ、6はデータラッチ、7は比較回路、8は欠陥メモ
リセルアドレス保持部、9はセレクタであり、これらは
図1に同一符号を付して示した、実施の形態1における
それらと同等のものである。また、80はトリガ信号に
基づいてテストパターンのアドレスとデータのセットを
生成する自己テストパターン生成部である。81はこの
自己テストパターン生成部80の発生するテストパター
ンのアドレスとアドレス入力端Aから入力されるアドレ
スの一方を選択して、メモリセル部1のアドレスとする
アドレス入力セレクタである。82は自己テストパター
ン生成部80の発生するテストパターンのデータとデー
タ入力端DIから入力されるデータの一方を選択して、
メモリセル部1に入力するデータ入力セレクタである。
なお、この実施の形態11はアドレスデコーダ4および
アドレスラッチ5を削除し、これら自己テストパターン
生成部80、アドレス入力セレクタ81、データ入力セ
レクタ82を備えている点で、実施の形態2とは異なっ
ている。
Embodiment 11 FIG. FIG. 22 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 11 of the present invention. In the figure, 1 is a memory cell unit, 2 is a redundant unit, 3 is an address decoder, 6 is a data latch, 7 is a comparison circuit, 8 is a defective memory cell address holding unit, and 9 is a selector, which are the same as those in FIG. These are the same as those in Embodiment 1 indicated by the reference numerals. Reference numeral 80 denotes a self-test pattern generation unit that generates a set of test pattern addresses and data based on a trigger signal. Reference numeral 81 denotes an address input selector that selects one of the address of the test pattern generated by the self-test pattern generation unit 80 and the address input from the address input terminal A and uses the selected address as the address of the memory cell unit 1. 82 selects one of the data of the test pattern generated by the self test pattern generation unit 80 and the data input from the data input terminal DI,
This is a data input selector to be input to the memory cell unit 1.
The eleventh embodiment differs from the second embodiment in that the address decoder 4 and the address latch 5 are eliminated, and a self-test pattern generator 80, an address input selector 81, and a data input selector 82 are provided. ing.

【0107】次に動作について説明する。動作におい
て、自己テストパターン生成部80はパワーON、テス
トモード、リセットなどの入力があると、それをトリガ
信号として自己テスト動作をスタートさせ、任意のテス
トパターンのアドレスおよびデータのセットを生成す
る。このトリガ信号のアサートによって自己テストモー
ドに至った場合、アドレス入力セレクタ81およびデー
タ入力セレクタ82は、自己テストが終了するまで、自
己テストパターン生成部80から出力されるテストパタ
ーンのアドレスあるいはデータの選択を行う。この自己
テストパターン生成部80の生成したテストパターンの
アドレス/データセットがメモリセル部1に入力されて
いる間、メモリブロックは連続的にライト動作を実行す
る。
Next, the operation will be described. In operation, when there is an input such as power ON, test mode, or reset, the self-test pattern generation unit 80 starts the self-test operation using the input as a trigger signal, and generates an address and data set of an arbitrary test pattern. When the self test mode is reached by the assertion of the trigger signal, the address input selector 81 and the data input selector 82 select the address or data of the test pattern output from the self test pattern generation unit 80 until the self test is completed. I do. While the address / data set of the test pattern generated by the self-test pattern generation unit 80 is being input to the memory cell unit 1, the memory block continuously performs the write operation.

【0108】このように、メモリセル部1にテストパタ
ーンのデータが入力されると、実施の形態1におけるラ
イト動作の場合と同様に、メモリセル部1から読み出さ
れたデータと書き込まれたテストパターンのデータとの
一致比較が行われる。不一致が検出された場合にはメモ
リセル部1に欠陥があるものとして、以降冗長部2が処
理をするそのアドレスを欠陥メモリセルアドレス保持部
8に欠陥メモリセルアドレスとして保存する。以降、メ
モリセル部1のその不良個所に対するリードアクセスが
なされた場合、この欠陥メモリセルアドレス保持部8に
保存された欠陥メモリセルアドレスにより指定される冗
長部2のメモリセルからデータが読み出される。
As described above, when the test pattern data is input to the memory cell unit 1, the data read from the memory cell unit 1 and the written test data are written in the same manner as in the write operation in the first embodiment. A match comparison with the pattern data is performed. If a mismatch is detected, it is determined that the memory cell unit 1 has a defect, and the address to be processed by the redundant unit 2 is stored in the defective memory cell address holding unit 8 as a defective memory cell address. Thereafter, when a read access is made to the defective portion of the memory cell unit 1, data is read from the memory cell of the redundant unit 2 specified by the defective memory cell address stored in the defective memory cell address holding unit 8.

【0109】このようなテスト動作を、パワーON時や
リセット時、また特別に設けたテストモードを実施する
ことにより行えば、メモリセル部1の欠陥が多く準備し
た欠陥メモリセルアドレス保持部8、ならびに冗長部2
に不足があるか否かを、OVF信号の観測によって通常
の動作に先立って確認することが可能となり、出荷前の
GO/NGテストとして使用することが可能となる。ま
た、その期間においては、トリガ信号のアサートによる
テストモードの設定とOVF信号の観測のみを行えばよ
い。
If such a test operation is carried out at the time of power-on or reset, or by executing a specially provided test mode, the defective memory cell address holding unit 8, which has prepared many defects in the memory cell unit 1, And redundant part 2
Can be confirmed prior to normal operation by observing the OVF signal, and it can be used as a GO / NG test before shipment. In that period, only the setting of the test mode by the assertion of the trigger signal and the observation of the OVF signal need be performed.

【0110】なお、上記説明では、自己テストパターン
生成部80の生成するテストパターンのアドレス/デー
タセットとして、あらかじめ定義したマーチ(MARC
H)やチェッカー(CHECKER)パターンなどによ
るアルゴリズミックなものを用いた場合について示した
が、本発明ではテストパターンの期待値の発生ならびに
その期待値とテストパターンとの比較が不要であるた
め、テストパターンとしては、乱数的に生成したアドレ
ス/データセットを用いることも可能である。
In the above description, the previously defined march (MARC) is used as the address / data set of the test pattern generated by the self-test
H) and an algorithmic checker (CHECKER) pattern are used. However, in the present invention, it is unnecessary to generate the expected value of the test pattern and to compare the expected value with the test pattern. As the pattern, an address / data set generated as a random number can be used.

【0111】また、上記説明では、欠陥メモリセルアド
レス保持部8からOVF信号を出力するものを示した
が、実施の形態6で説明したフルフラグ信号を出力する
ようにしてもよいことはいうまでもない。
In the above description, the case where the OVF signal is output from the defective memory cell address holding unit 8 has been described. However, it goes without saying that the full flag signal described in the sixth embodiment may be output. Absent.

【0112】以上のように、この実施の形態11によれ
ば、冗長部2による置き換えによって歩留りが向上し、
あらかじめ不良個所の特定を不要としてテストコストを
削減し、冗長部2の削減を可能としてチップコストを削
減し、未使用のアドレスの置き換えが不要となり、レー
ザトリミングなどのH/Wによる変更処理を不要として
コストの削減を可能にし、データの保持を他のメモリな
どへ振り分けてエラー処理などを行うことでシステムの
誤動作を回避することが可能となるなどの、上記実施の
形態1と同一の効果がある。
As described above, according to the eleventh embodiment, the yield is improved by replacement with redundant portion 2,
It is not necessary to identify defective parts in advance, thereby reducing test costs, reducing redundant parts 2 and reducing chip costs, eliminating the need to replace unused addresses, and eliminating H / W change processing such as laser trimming. As a result, the same effects as those of the first embodiment can be achieved. For example, it is possible to reduce the cost, and it is possible to avoid the malfunction of the system by distributing the data holding to another memory or the like and performing error processing. is there.

【0113】さらに、このテスト動作をパワーON時や
リセット時、また特別に設けたテストモードを実行する
ことによって行えば、OVF信号の観測によって、あら
かじめ準備した欠陥メモリセルアドレス保持部8や冗長
部2に不足が生じるか否かを、通常の動作に先立って確
認することが可能となり、出荷前のテストが可能とな
り、その間、トリガ信号のアサートによるテストモード
の設定と、OVF信号/フルフラグ信号の観測のみを行
えばよいので、さらなるテストコストの削減をはかるこ
とができ、また一致比較はあらかじめ準備された期待値
でなくライト/リードデータで行うので、自己テストの
ための回路が簡単かつ小面積で実現できるなどの効果も
得られる。
Further, if this test operation is performed at the time of power-on or reset, or by executing a specially provided test mode, the observation of the OVF signal allows the defective memory cell address holding unit 8 and the redundant unit prepared in advance. 2 can be checked prior to normal operation, and a test before shipment can be performed. During that time, a test mode is set by assertion of a trigger signal, and an OVF signal / full flag signal is Since only observations need to be made, the test cost can be further reduced. Also, since the match comparison is performed using write / read data instead of the expected value prepared in advance, the circuit for self-test is simple and has a small area. Also, the effect that can be realized by is obtained.

【0114】実施の形態12.この発明の実施の形態1
2による半導体集積回路装置は、複数のメモリブロック
で共用され且つこれらの外部に配置された自己テストパ
ターン生成部80を備えたものである。図23はこの実
施の形態12による半導体集積回路装置の要部を示すブ
ロック図である。図において、90,91,92,93
は図22に示した実施の形態11によるものと同等のメ
モリブロックであるが、自己テストパターン生成部80
を個別に有していない点でそれとは異なっている。94
はこれら各メモリブロック90〜93にて共通に使用さ
れ、それらにテストパターンのアドレス/データセット
を供給する自己テストパターン生成部である。95は各
メモリブロック90〜93より出力されるOVF信号の
論理和演算を行い、それをチップ外部に出力させるOR
回路である。
Embodiment 12 FIG. Embodiment 1 of the present invention
The semiconductor integrated circuit device according to No. 2 includes a self-test pattern generation unit 80 shared by a plurality of memory blocks and arranged outside these memory blocks. FIG. 23 is a block diagram showing a main part of a semiconductor integrated circuit device according to the twelfth embodiment. In the figure, 90, 91, 92, 93
Is a memory block equivalent to that according to the eleventh embodiment shown in FIG.
In that it does not have an individual 94
Is a self-test-pattern generating unit that is commonly used in these memory blocks 90 to 93 and supplies test pattern addresses / data sets to them. An OR 95 performs an OR operation on the OVF signals output from the memory blocks 90 to 93 and outputs the OR operation to the outside of the chip.
Circuit.

【0115】各メモリブロック90〜93はそれぞれ、
共通に使用される自己テストパターン生成部94の発生
するテストパターンのアドレス/データセットを受け取
る。そして、各メモリブロック90〜93は上記実施の
形態11のメモリブロックと同様に動作する。すなわ
ち、各メモリブロック90〜93は検出された不良個所
の情報を欠陥メモリセルアドレス保持部8に保持し、以
降、この欠陥メモリセルアドレス保持部8に保持された
情報に基づいて、不良個所は冗長部2のメモリセルを置
き換えて使用する。あるメモリブロックにおいて、冗長
部2に不足が生じると、欠陥メモリセルアドレス保持部
8はOVF信号を発生しOR回路95を介してチップ外
にOVF信号を出力する。なお、テストパーンは乱数的
に生成できるので、仕様(ビット・ワードサイズ)の異
なる複数のメモリブロックで共有可能である。
Each of the memory blocks 90 to 93 is
It receives the address / data set of the test pattern generated by the commonly used self test pattern generation unit 94. Each of the memory blocks 90 to 93 operates similarly to the memory block of the eleventh embodiment. That is, each of the memory blocks 90 to 93 holds the information on the detected defective portion in the defective memory cell address holding section 8, and thereafter, based on the information held in the defective memory cell address holding section 8, The memory cells of the redundant unit 2 are used in replacement. When a shortage occurs in the redundant section 2 in a certain memory block, the defective memory cell address holding section 8 generates an OVF signal and outputs the OVF signal to the outside of the chip via the OR circuit 95. Since the test pattern can be generated in a random manner, it can be shared by a plurality of memory blocks having different specifications (bit / word size).

【0116】なお、上記説明では、欠陥メモリセルアド
レス保持部8からOVF信号を出力するものを示した
が、実施の形態6で説明したフルフラグ信号を出力する
ようにしてもよいことはいうまでもない。
In the above description, the case where the OVF signal is output from the defective memory cell address holding unit 8 has been described, but it goes without saying that the full flag signal described in the sixth embodiment may be output. Absent.

【0117】以上のように、この実施の形態12によれ
ば、上記実施の形態11における効果の他に、自己テス
トパターン生成部94などの自己テストのための回路は
複数のメモリブロック90〜93で共通使用しているの
で、付加回路規模が少なくて済むため、チップコストの
削減がはかれ、OVF信号/フルフラグ信号は複数のメ
モリブロック90〜93の論理和出力となるので、回路
信号線の削減が可能となり、自己テストパターン生成部
94でテストパターンのみを生成し、一致比較はそれぞ
れのメモリブロック90〜93毎に行っているので、構
成の異なるメモリブロック90〜93で自己テストパタ
ーン生成部94を共通使用することが可能になるなどの
効果が得られる。
As described above, according to the twelfth embodiment, in addition to the effects of the eleventh embodiment, a circuit for a self test such as a self test pattern generation unit 94 includes a plurality of memory blocks 90 to 93. Since the circuit is commonly used, the size of the additional circuit can be reduced, the chip cost can be reduced, and the OVF signal / full flag signal becomes the logical sum output of the plurality of memory blocks 90 to 93. Since the self-test pattern generation unit 94 generates only the test pattern and the comparison is performed for each of the memory blocks 90 to 93, the self-test pattern generation unit 94 uses the memory blocks 90 to 93 having different configurations. An effect such as the fact that it becomes possible to commonly use 94 is obtained.

【0118】実施の形態13.図24はこの発明の実施
の形態13による半導体集積回路装置に搭載されたメモ
リブロックの構成を示すブロック図である。図におい
て、1は1ポートのRAMから成るメモリセル部、2は
冗長部、3はアドレスデコーダ、6はデータラッチ、7
は比較回路、8は欠陥メモリセルアドレス保持部、9は
セレクタ、81はアドレス入力セレクタであり、これら
は図22に同一符号を付して示した実施の形態11にお
けるそれらと同等のものである。また、83はこのメモ
リブロックに入力されるアドレスを保持するための、複
数ワードを持った1RWメモリによるアドレス保持バッ
ファメモリである。なお、ライトデータは常時冗長部2
に書き込まれるようになっている。
Embodiment 13 FIG. FIG. 24 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 13 of the present invention. In the figure, reference numeral 1 denotes a memory cell unit composed of a one-port RAM, 2 denotes a redundant unit, 3 denotes an address decoder, 6 denotes a data latch, and 7 denotes a data latch.
Is a comparison circuit, 8 is a defective memory cell address holding unit, 9 is a selector, and 81 is an address input selector, which are the same as those in the eleventh embodiment indicated by the same reference numerals in FIG. . An address holding buffer memory 83 is a 1RW memory having a plurality of words for holding an address input to the memory block. The write data is always stored in the redundant unit 2.
Is written to.

【0119】リード/ライトの動作を制御するための信
号としてリードイネーブル(RE)信号とライトイネー
ブル(WE)信号とが用いられる。また、この実施の形
態13で用いられているメモリセル部1は、前述のよう
にリード/ライトポートを1ポートしか備えていないの
で、ライト動作の次の周期で、直前のライトデータの一
致比較が必ず行えるとは限らない。そこで、該当するア
ドレスがアドレス保持バッファメモリ83に、ライトデ
ータがデータラッチ6にそれぞれ保存される。
A read enable (RE) signal and a write enable (WE) signal are used as signals for controlling the read / write operation. Further, since the memory cell section 1 used in the thirteenth embodiment has only one read / write port as described above, in the next cycle of the write operation, the match of the immediately preceding write data is compared. Is not always possible. Therefore, the corresponding address is stored in the address holding buffer memory 83, and the write data is stored in the data latch 6.

【0120】RE信号およびWE信号がともにディスエ
ーブルであり、かつアドレス保持バッファメモリ83に
テストすべきアドレスが保持されている場合、アドレス
入力セレクタ81はアドレス保持バッファメモリ83か
らのアドレスを選択してアドレスデコーダ3に出力す
る。これによってメモリセル部1の該当アドレスから読
み出されたデータと、データラッチ6に保持しておいた
データとの一致比較を比較回路7で行い、不一致が検出
された場合、そのアドレスを欠陥メモリセルアドレス保
持部8に保持しておく。なお、この一致比較、欠陥メモ
リセルアドレスの保持は実施の形態2の場合と同様に実
行される。
When both the RE signal and the WE signal are disabled and the address to be tested is held in the address holding buffer memory 83, the address input selector 81 selects an address from the address holding buffer memory 83 to select the address. Output to the address decoder 3. As a result, the comparison circuit 7 compares the data read from the corresponding address in the memory cell unit 1 with the data held in the data latch 6, and if a mismatch is detected, the address is replaced with the defective memory. It is stored in the cell address storage unit 8. Note that this match comparison and holding of the defective memory cell address are performed in the same manner as in the second embodiment.

【0121】図25はこの実施の形態13におけるメモ
リブロックの動作を周期毎に説明するための説明図であ
る。この図25には、各周期毎に、このメモリブロック
におけるシステム動作、ならびに内部で行われるテスト
動作、およびアドレス保持バッファメモリ83に保持さ
れるアドレスが示されている。以下、この図25をもと
にその動作について詳細に説明する。まず、1周期目に
おいて、アドレスAに対してライト動作が行われる。こ
のライト動作によってアドレス保持バッファメモリ83
にはアドレスデータ“A”が保持され、データラッチ6
にはライトデータが保持される。次の2周期目では、リ
ードならびにライトの動作は行われていないので、RE
信号およびWE信号がディスエーブルとなっている。こ
の期間に、アドレス保持バッファメモリ83に保持され
たアドレスデータが“A”に基づいて、メモリセル部1
のアドレスAのメモリセルからデータを読み出し、その
リードデータとデータラッチ6に保持しておいたデータ
との一致比較が比較回路7で行われる。その結果、不一
致が検出されれば、そのデータを冗長部2に保存させ、
そのアドレスデータを欠陥メモリセルアドレスとして欠
陥メモリセルアドレス保持部8に保持させる。また、一
致比較の結果が一致であれば、欠陥メモリセルアドレス
保持部8にはアドレスを保持させない。
FIG. 25 is an explanatory diagram for describing the operation of the memory block according to the thirteenth embodiment for each cycle. FIG. 25 shows a system operation in this memory block, a test operation performed internally, and an address held in the address holding buffer memory 83 for each cycle. Hereinafter, the operation will be described in detail with reference to FIG. First, a write operation is performed on the address A in the first cycle. By this write operation, the address holding buffer memory 83
Holds address data “A”, and data latch 6
Holds write data. In the next second cycle, read and write operations are not performed.
The signal and the WE signal are disabled. During this period, the address data held in the address holding buffer memory 83 is based on “A” and the memory cell unit 1
The data is read from the memory cell at the address A, and the comparison circuit 7 compares the read data with the data held in the data latch 6. As a result, if a mismatch is detected, the data is stored in the redundant unit 2,
The address data is held in the defective memory cell address holding unit 8 as a defective memory cell address. If the result of the match comparison is a match, the address is not held in the defective memory cell address holding unit 8.

【0122】次に3周期目において、アドレスAに対す
るリード動作が行われる。このアドレスAに対するリー
ドデータとしては、上記2周期目で行われたテスト動作
の結果が不一致であった場合、上記欠陥メモリセルアド
レスにより示される冗長部2の対応するメモリセルから
読み出したデータが出力され、一致であった場合にはメ
モリセル部1のアドレスAから読み出したデータが出力
される。なお、2周期目でアドレスAに対するテスト動
作は完了しているので、3周期目ではアドレス保持バッ
ファメモリ83に保持されたアドレスデータ“A”はク
リアされる。次の4周期目ではリード/ライト動作は行
われておらず、RE信号およびWE信号がディスエーブ
ルとなっているが、アドレス保持バッファメモリ83も
クリアされているので、比較回路7による一致比較の処
理も行われない。
Next, in the third cycle, a read operation for address A is performed. When the result of the test operation performed in the second cycle does not match as the read data for the address A, data read from the corresponding memory cell of the redundant unit 2 indicated by the defective memory cell address is output. If they match, the data read from the address A of the memory cell unit 1 is output. Since the test operation for the address A is completed in the second cycle, the address data “A” held in the address holding buffer memory 83 is cleared in the third cycle. In the next fourth cycle, the read / write operation is not performed, and the RE signal and the WE signal are disabled. However, since the address holding buffer memory 83 is also cleared, the comparison circuit 7 performs the match comparison. No processing is performed.

【0123】次に5周期目においてアドレスBに対する
ライト動作が行われると、1周期目と同様にしてアドレ
ス保持バッファメモリ83にアドレスデータ“B”が保
持され、データラッチ6にそのライトデータが保持され
る。さらに6周期目においてアドレスCに対するライト
動作が行われると、アドレス保持バッファメモリ83に
は前の5周期目に保持したアドレスデータ“B”ととも
に、このアドレスデータ“C”が保持され、データラッ
チ6にもそのライトデータが保持される。7周期目にリ
ード/ライト動作が行われていなければ、2周期目と同
様に、アドレス保持バッファメモリ83に保持されたア
ドレスBに対するデータの一致比較を行う。さらに8周
期目にリード/ライト動作が行われていなければ同様
に、アドレス保持バッファメモリ83に保持されたアド
レスCに対するデータの一致比較を行う。また、アドレ
スデータBがアドレス保持バッファメモリ83からクリ
アされる。
Next, when a write operation to address B is performed in the fifth cycle, address data "B" is held in address holding buffer memory 83 in the same manner as in the first cycle, and the write data is held in data latch 6. Is done. Further, when the write operation for the address C is performed in the sixth cycle, the address data “C” is held in the address holding buffer memory 83 together with the address data “B” held in the previous fifth cycle. The write data is also held. If the read / write operation has not been performed in the seventh cycle, the data is compared with the address B held in the address holding buffer memory 83 in the same manner as in the second cycle. Further, if the read / write operation has not been performed in the eighth cycle, the data is compared with the address C held in the address holding buffer memory 83 in the same manner. Further, the address data B is cleared from the address holding buffer memory 83.

【0124】以降、ライト動作が行われると、アドレス
保持バッファメモリ83にライト対象のアドレスデータ
を、データラッチ6にデータをそれぞれ保持させ、ライ
トもしくはリードが行われない、RE信号およびWE信
号がディスイネーブルの周期になったとき、保持してお
いたアドレス/データについて一致比較を行い、一致比
較が終了したアドレス保持バッファメモリ83のアドレ
スデータ、およびデータラッチ6のデータをクリアす
る。
Thereafter, when a write operation is performed, the address data to be written is held in the address holding buffer memory 83 and the data is held in the data latch 6, and the RE signal and the WE signal are not written or read. When the enable period is reached, a match comparison is performed for the held addresses / data, and the address data in the address holding buffer memory 83 and the data in the data latch 6 for which the match comparison has been completed are cleared.

【0125】なお、上記説明では、リード/ライトの制
御信号としてRE信号ならびにWE信号を用いたものを
示したが、それらに代えて、RW信号とCS信号(モジ
ュール選択信号)を用いることも可能である。
In the above description, the signal using the RE signal and the WE signal as the read / write control signal has been described, but the RW signal and the CS signal (module selection signal) may be used instead. It is.

【0126】以上のように、この実施の形態13によれ
ば、冗長部2による置き換えで歩留りが向上し、事前に
不良個所の特定を不要としてテストコストを削減し、冗
長部2の削減を可能としてチップコストを削減し、未使
用アドレスの置き換えが不要となり、H/Wによる変更
処理を不要としてコストの削減を可能にし、データの保
持を他のメモリなどへ振り分けることでシステムの誤動
作の回避が可能となるなどの、実施の形態1と同一の効
果がある。
As described above, according to the thirteenth embodiment, the yield is improved by replacing the redundant portion 2, the test cost can be reduced by not specifying the defective portion in advance, and the redundant portion 2 can be reduced. As a result, the replacement of unused addresses is not required, the change processing by H / W is not required, the cost can be reduced, and the malfunction of the system can be avoided by distributing data retention to other memories. There are the same effects as in the first embodiment, such as the possibility of becoming possible.

【0127】さらに、リード/ライト動作していない周
期を利用してリペア処理を行っているので、1ポートの
メモリセル部1でも対応可能となり、また一般的に1ポ
ートメモリの方が小面積で実現できるので、チップの小
型化、低コストがはかれるなどの効果が得られる。
Further, since the repair process is performed using the cycle in which the read / write operation is not performed, the 1-port memory cell unit 1 can cope with the repair process. Since it can be realized, effects such as miniaturization of the chip and low cost can be obtained.

【0128】実施の形態14.図26はこの発明の実施
の形態14による半導体集積回路装置に搭載されたメモ
リブロックを示すブロック図である。図において、10
0は主たるデータ記憶部であるメモリセル部であり、1
01はこのメモリセル部100のアドレスデコーダであ
る。102はアクセス頻度の高いデータ列もしくはアク
セス速度を速めたいデータ列が保持される、上記メモリ
セル部100より容量の少ない、複数のメモリセルを含
むデータ列保持部である。103はデータ列が格納され
るデータ列保持部102の場所を指定するアドレス情報
を保持するアドレス情報保持部である。104はこのデ
ータ列保持部102から読み出したデータとメモリセル
部100から読み出したデータの一方を選択し、それを
データ出力端DOより出力するセレクタである。
Embodiment 14 FIG. FIG. 26 is a block diagram showing a memory block mounted on a semiconductor integrated circuit device according to Embodiment 14 of the present invention. In the figure, 10
Reference numeral 0 denotes a memory cell unit serving as a main data storage unit, and 1
Reference numeral 01 denotes an address decoder of the memory cell unit 100. Reference numeral 102 denotes a data string holding unit that holds a frequently accessed data string or a data string whose access speed is to be increased and has a smaller capacity than the memory cell unit 100 and includes a plurality of memory cells. Reference numeral 103 denotes an address information holding unit that holds address information that specifies the location of the data string holding unit 102 where the data string is stored. A selector 104 selects one of the data read from the data string holding unit 102 and the data read from the memory cell unit 100, and outputs the selected data from the data output terminal DO.

【0129】あらかじめ定義されたデータ列、例えばA
LL“0”やALL“1”、またこのメモリブロックが
命令メモリとして使用される場合はノップ(NOP)な
どの使用頻度が高いものはデータ列保持部102に保持
しておく。このように、これらのデータ列は、サイズの
大きなメモリセル部100ではなく、サイズの小さなデ
ータ列保持部102に保持しておいたデータ列の中から
読み出すことによって、消費電力の低減をはかってい
る。同様に、演算処理命令などの処理時間がかかるデー
タ列もデータ列保持部102に保持しておき、サイズの
大きなメモリセル部100ではなく、データ列保持部1
02よりデータ列を読み出すことによって、命令読み出
しのアクセス時間を高速化して、実行サイクル中の演算
処理のための割り当て時間を増加させる。
A predefined data sequence, for example, A
LL “0” and ALL “1”, and when the memory block is used as an instruction memory, frequently used ones such as a nop (NOP) are held in the data string holding unit 102. As described above, these data strings are read from the data strings held in the small-sized data string holding unit 102 instead of the large-sized memory cell unit 100 to reduce power consumption. I have. Similarly, a data string that requires processing time, such as an operation processing instruction, is also held in the data string holding unit 102, and the data string holding unit 1 is used instead of the memory cell unit 100 having a large size.
By reading the data string from the address 02, the access time of the instruction read is shortened, and the allocated time for the arithmetic processing during the execution cycle is increased.

【0130】このデータ列保持部102に保持されてい
るデータ列のアクセス時間を短縮するためには、アドレ
ス入力端Aからのアドレス情報をメモリセル部100の
アドレスデコーダ101よりも先にアドレス情報保持部
103に入力する。また、アクセス時間を高速化するた
めに、データ出力端DOの近傍、すなわちセレクタ10
4の近傍にデータ列保持部102を配置している。
In order to shorten the access time of the data string held in the data string holding section 102, the address information from the address input terminal A is held before the address information is held in the memory cell section 100. Input to the unit 103. Further, in order to shorten the access time, the vicinity of the data output terminal DO, that is, the selector 10 is used.
4, a data string holding unit 102 is arranged.

【0131】なお、データ列保持部102をアクセスす
る場合、アドレス情報保持部103はデータ列保持部1
02に対して、保持している該当アドレスを供給すると
ともに、セレクタ104を制御して、データ列保持部1
02からのリードデータを選択して、それをデータ出力
端DOより出力させる。その時、アドレス情報保持部1
03からアドレスデコーダ101へのアドレス情報の伝
播を停止させて、メモリセル部100ならびにアドレス
デコーダ101を非動作状態にさせる。また、クロック
同期式動作するものであれば、メモリセル部100に対
する制御クロックを停止させることにより、メモリセル
部100ならびにアドレスデコーダ101を非動作状態
にさせる。アドレス情報保持部103はこれらの動作の
制御を行うための機能も備えている。
When accessing the data string holding unit 102, the address information holding unit 103 stores the data string holding unit 1
02 is supplied to the data string holding unit 1 while controlling the selector 104 to supply the corresponding address.
02 is selected and output from the data output terminal DO. At that time, the address information holding unit 1
The transmission of the address information from the address decoder 03 to the address decoder 101 is stopped, and the memory cell unit 100 and the address decoder 101 are brought into a non-operating state. In addition, if it operates in a clock-synchronous manner, the control clock for the memory cell unit 100 is stopped so that the memory cell unit 100 and the address decoder 101 are made inoperative. The address information holding unit 103 also has a function for controlling these operations.

【0132】なお、上記データ列保持部102は、RA
Mを用いて使用状態に応じたデータ列を保持するように
してもよいし、また、あらかじめアクセス頻度の高いデ
ータ列やアクセス速度を高めたいデータ列が分かってい
る場合にはROMを用いるようにしてもよい。
Note that the data string holding unit 102
M may be used to hold a data string corresponding to the use state, or a ROM may be used if a frequently accessed data string or a data string whose access speed is to be increased is known in advance. You may.

【0133】以上のように、この実施の形態14によれ
ば、使用頻度が高いデータ列、もしくは高速のアクセス
が要求されるデータ列が保持されているデータ列保持部
102は、メモリセル部100よりも容量が小さいの
で、データ伝播経路の配線容量が少なくて済み、また、
データ列保持部102をデータ出力端DOの近傍に配置
することにより配線容量をより少なくすることができる
ため、アクセスの高速化をはかることが可能となり、デ
ータ列保持部102をアクセスする場合にはメモリセル
部100を非アクセスとすることにより、容量の大きな
メモリセル部100の充放電を行わなくて済むため、消
費電力の削減も可能となり、さらに、データ列保持部1
02としてROMを用いた場合、チップ面積を削減でき
るなどの効果が得られる。
As described above, according to the fourteenth embodiment, data string holding section 102 holding a frequently used data string or a data string required to be accessed at high speed is replaced with memory cell section 100. Is smaller, the wiring capacity of the data propagation path is smaller, and
By arranging the data string holding unit 102 in the vicinity of the data output terminal DO, the wiring capacity can be further reduced, so that the access can be speeded up. By not accessing the memory cell unit 100, it is not necessary to charge and discharge the memory cell unit 100 having a large capacity, so that power consumption can be reduced.
When a ROM is used as 02, effects such as a reduction in chip area can be obtained.

【0134】本発明の精神及び範囲から逸脱することな
く本発明の広範囲の異なる実施態様が構成され得る。本
発明は、特許請求の範囲において規定されたもの以外
は、その特定の実施態様に制約されるものではない。
A wide variety of different embodiments of the present invention can be constructed without departing from the spirit and scope of the present invention. The invention is not limited to the specific embodiments except as defined in the claims.

【0135】[0135]

【発明の効果】以上のように、この発明によれば、通常
のリード/ライト動作が行われる通常ポートと、テスト
専用のテストポートとを有するメモリセル手段と、通常
ポートより前記メモリセル手段に書き込まれるライトデ
ータを一時保持するデータラッチ手段と、メモリセル手
段にその通常ポートより書き込まれたデータをテストポ
ートより読み出し、そのリードデータとデータラッチ手
段に保持されているライトデータとの一致比較を行う比
較手段と、比較手段による一致比較で不一致となった場
合に、メモリセル手段に代わってライトデータを保持す
る冗長手段と、比較手段による一致比較で不一致となっ
た場合に、ライトデータが書き込まれたメモリセル手段
の場所を示すアドレスに関する情報を保持するアドレス
保持手段とを備えるので、メモリセル手段に不良個所が
あっても、冗長手段によりその機能を置き換えることが
可能なので、欠陥によって通常不良品となる半導体集積
回路装置を救済することができ、歩留りを向上させるこ
とができ、また、テストポートと、比較手段とアドレス
保持手段を備えることによって、動作中にテストを実施
してソフトウェア的に置き換え可能となるので、通常、
メモリセルに欠陥のある半導体集積回路装置の救済の際
に行われている、出荷前のテストにて不良個所を特定し
たり、レーザトリミングなどによりハードワイヤードに
変更を行う処理が不要となるため、テストコストの削減
が可能になるなどの効果がある。
As described above, according to the present invention, a memory cell means having a normal port for performing a normal read / write operation, a test port dedicated to a test, and a normal port to the memory cell means. Data latch means for temporarily holding write data to be written, and data written to the memory cell means from its normal port are read from the test port, and the read data is compared with the write data held in the data latch means. The comparing means to be performed, the redundancy means for holding the write data in place of the memory cell means when there is a mismatch in the match comparison by the comparing means, and the write data in the case where there is no match in the match comparison by the comparing means. Address holding means for holding information related to an address indicating the location of the memory cell means. Therefore, even if there is a defective portion in the memory cell means, its function can be replaced by the redundant means, so that the semiconductor integrated circuit device which is normally defective due to the defect can be rescued, and the yield can be improved. In addition, by providing a test port, a comparing unit and an address holding unit, a test can be performed during operation and replaced by software.
Since the process of repairing a semiconductor integrated circuit device having a defective memory cell, identifying a defective portion in a test before shipping, or performing hard wired change by laser trimming or the like is not required, This has the effect of reducing test costs.

【0136】この発明によれば、データラッチ手段が、
それぞれ通常ポートよりメモリセル手段に書き込まれる
ライトデータを一時保持する複数のデータラッチを有
し、比較手段による一致比較で不一致となったメモリセ
ル手段のアドレスへの最初のリード動作時に、データラ
ッチ手段の該当するデータラッチに保持されたデータを
出力し、以降、そのアドレスへのライト/リードの動作
においては、比較手段による一致比較を行うことなく、
アドレス保持手段に保持されている該当アドレスに対応
するライトデータを保持している冗長手段に直接アクセ
スするので、一旦不一致を検出したら、それ以降該当ア
ドレスに対する一致比較を行う必要がないので、処理時
間を短縮できる上に、比較手段の動作率を低下させ消費
電力の低減が可能になるという効果がある。また、欠陥
メモリセルが多くてアドレス保持手段および冗長手段が
対応できなくなった場合には、アドレス保持手段はオー
バーフロー信号を出力するので、データの保持を他のメ
モリなどへ振り分けてエラー処理などを行うことができ
るので、システムの誤動作を回避することが可能になる
という効果がある。
According to the present invention, the data latch means comprises:
A plurality of data latches for temporarily storing write data to be written into the memory cell means from the normal port; And outputs the data held in the corresponding data latch. Thereafter, in the operation of writing / reading to that address, the comparison means does not perform the coincidence comparison.
Since the redundant means holding the write data corresponding to the address held in the address holding means is directly accessed, once a mismatch is detected, there is no need to perform a match comparison on the corresponding address thereafter. In addition to the shortening, there is an effect that the operation rate of the comparison unit is reduced and the power consumption can be reduced. When the address holding means and the redundancy means cannot cope with a large number of defective memory cells, the address holding means outputs an overflow signal. Therefore, the data holding is distributed to another memory or the like, and error processing is performed. Therefore, there is an effect that a malfunction of the system can be avoided.

【0137】この発明によれば、データラッチ手段が、
通常ポートよりメモリセル手段に書き込まれるライトデ
ータを一時保持する1つのデータラッチを有し、メモリ
セル手段へのライトデータのライト動作時に、比較手段
は一致比較を行い、不一致の場合には冗長手段はライト
データを保持し、アドレス保持手段はライトデータが書
き込まれたメモリセル手段の場所を示すアドレスを保持
し、比較手段による以後の一致比較で一致となった場合
には、アドレス保持手段に保持されているアドレスはク
リアされるか若しくはアドレスがオーバライト可能な状
態となり、冗長手段に保持されているライトデータはク
リアされるか若しくはライトデータがオーバライト可能
な状態となるので、データラッチを複数組用意する必要
がなくなり、回路規模を削減することが可能となって、
チップコストの低減をはかることができる。また、欠陥
のある半導体集積回路装置を救済することができて歩留
りを向上させることが可能となり、動作中にテストを実
施してソフトウェア的に置き換えることでテストコスト
の削減がはかれ、冗長手段の削減、未使用アドレスの置
き換え不要などによりチップコストを削減でき、オーバ
ーフロー信号に基づくエラー処理などにより、システム
の誤動作を回避することが可能になるという効果があ
る。
According to the present invention, the data latch means
One write latch temporarily holds write data to be written to the memory cell means from the normal port, and the comparison means performs a match comparison during a write operation of the write data to the memory cell means. Holds the write data, and the address holding means holds the address indicating the location of the memory cell means in which the write data is written, and holds the address in the address holding means if a match is found in the subsequent match comparison by the comparing means. The written address is cleared or the address becomes overwritable, and the write data held in the redundant means is cleared or the write data becomes overwritable. There is no need to prepare a set, and the circuit scale can be reduced.
Chip cost can be reduced. In addition, it is possible to remedy a defective semiconductor integrated circuit device and improve the yield, and to reduce the test cost by performing a test during operation and replacing it with software, thereby reducing the redundant means. This has the effect of reducing chip cost by reducing the number of unused addresses and eliminating the need to replace unused addresses, and by enabling error processing based on overflow signals to avoid malfunction of the system.

【0138】この発明によれば、データラッチ手段が、
通常ポートよりメモリセル手段に書き込まれるライトデ
ータを一時保持する1つのデータラッチを有し、メモリ
セル手段へのライトデータのライト動作時に、冗長手段
が該ライトデータを保持するとともにアドレス保持手段
はライトデータが書き込まれたメモリセル手段の場所を
示すアドレスを保持し、比較手段は一致比較を行い、不
一致の場合には冗長手段はそのままライトデータを保持
し、アドレス保持手段はアドレスをそのまま保持し、一
致の場合には、アドレス保持手段に保持されているアド
レスはクリアされるか若しくはアドレスがオーバライト
可能な状態となり、冗長手段に保持されているライトデ
ータはクリアされるか若しくはライトデータがオーバラ
イト可能な状態となるので、データラッチを複数組用意
する必要がなくなり、回路規模を削減することが可能と
なって、チップコストの低減をはかることができる。ま
た、一旦不一致となったアドレスに対しても、次に書き
込まれたデータが擬似的に不良でないと判定された場合
には冗長手段を一旦開放することができ、全体として少
ない冗長手段で多くの不良個所を救済することが可能と
なるため、これによってもチップコストの低減がはかれ
るという効果がある。
According to the present invention, the data latch means
One data latch for temporarily holding write data written to the memory cell means from the normal port is provided. When the write data is written to the memory cell means, the redundancy means holds the write data and the address holding means sets the write data. The address indicating the location of the memory cell means in which the data is written is held, the comparing means performs a match comparison, and if not, the redundant means holds the write data as it is, the address holding means holds the address as it is, In the case of a match, the address held in the address holding means is cleared or the address becomes overwritable, and the write data held in the redundant means is cleared or the write data is overwritten. Since it is possible, there is no need to prepare multiple sets of data latches. , It can be made possible to reduce the circuit scale, reduce the chip cost. Also, for the address that once becomes unmatched, if it is determined that the data written next is not pseudo-failure, the redundant means can be temporarily released, and many redundant means can be used with less redundant means as a whole. Since defective portions can be relieved, this also has the effect of reducing the chip cost.

【0139】この発明によれば、リード/ライト動作を
行う時入力されたアドレスをデコードし、冗長手段のワ
ードラインを活性化するための第1のデコーダと、メモ
リセル手段のワードラインを活性化するための第2のデ
コーダとを備えたアドレスデコード手段を備えており、
アドレス保持手段はアドレスと同一のアドレスを保持し
ているか否かを判定し、同一のアドレスを保持している
ならば、第1のデコーダは冗長手段の該当するワードラ
インを活性化し、そうでないのならば、第2のデコーダ
はメモリセル手段の該当するワードラインを活性化する
ので、欠陥のある半導体集積回路装置を救済することが
できて歩留りを向上させることが可能となり、動作中に
テストを実施してソフトウェア的に置き換えることでテ
ストコストの削減がはかれ、また冗長手段の削減、未使
用アドレスの置き換え不要などによりチップコストを削
減でき、オーバーフロー信号に基づくエラー処理などに
より、システムの誤動作を回避することが可能になると
いう効果がある。
According to the present invention, the first decoder for decoding the address inputted when performing the read / write operation and activating the word line of the redundancy means, and activating the word line of the memory cell means Address decoding means provided with a second decoder for performing
The address holding means determines whether or not the same address as the address is held. If the same address is held, the first decoder activates the corresponding word line of the redundancy means, and if not, the first decoder activates the corresponding word line. Then, the second decoder activates the corresponding word line of the memory cell means, so that the defective semiconductor integrated circuit device can be rescued, the yield can be improved, and the test can be performed during operation. Implementing software replacement reduces test costs.It also reduces chip costs by reducing redundant means and eliminating the need to replace unused addresses.Error handling based on overflow signals can reduce system malfunctions. There is an effect that it is possible to avoid.

【0140】この発明によれば、冗長手段がメモリセル
手段の代わりをするのに必要な空きがない場合、フルフ
ラグ信号をアサートするので、フルフラグ信号のアサー
トによってシステムに警告し、データを他のメモリブロ
ックに振り分けることが可能となるため、システムがエ
ラー状態となるのを回避することができるという効果が
ある。
According to the present invention, when the redundancy means does not have enough space to substitute for the memory cell means, the full flag signal is asserted, so that the assertion of the full flag signal alerts the system and the data is transferred to another memory. Since it is possible to sort the data into blocks, there is an effect that the system can be prevented from being in an error state.

【0141】この発明によれば、冗長手段がメモリセル
手段の代わりをするのに必要な空きがなく、さらに、比
較手段による一致比較で不一致となった場合、オーバー
フロー信号をアサートするので、オーバーフロー信号の
アサートによってエラー処理を実施することが可能とな
るため、システムの誤動作を回避することができ、ま
た、冗長手段がメモリセル手段の代わりをするのに必要
な空きがなくなった後でも、その後のデータ不一致が発
生するまでのライト動作はメモリセル手段を使用するこ
とができるため、エラー処理の頻度を減少させることが
可能となって、システムの性能低下を抑制できるなどの
効果がある。
According to the present invention, when there is no space necessary for the redundancy means to replace the memory cell means, and when the comparison means makes a mismatch, the overflow signal is asserted. It is possible to perform error processing by the assertion of, so that malfunction of the system can be avoided, and even after the redundancy means has run out of space necessary to replace the memory cell means, Since the memory cell means can be used for the write operation until the data mismatch occurs, it is possible to reduce the frequency of error processing, and to suppress the decrease in system performance.

【0142】この発明によれば、通常のリード/ライト
動作が行われる通常ポートと、テスト専用のテストポー
トとを有するメモリセル手段と、メモリセル手段の通常
ポートより書き込まれるライトデータを一時保持するデ
ータラッチ手段と、メモリセル手段にその通常ポートよ
り書き込まれたデータをテストポートより読み出し、そ
のリードデータとデータラッチに保持されているライト
データとの一致比較をビット毎に行う比較手段と、比較
手段による一致比較で不一致となった場合に、ライトデ
ータが書き込まれたメモリセル手段の場所を示すアドレ
スと、その不一致検出ビットに関する情報を保持するア
ドレス/ビット情報保持手段と、不一致が検出されたア
ドレスに対する以後のリード動作では、不一致検出ビッ
トについて、メモリセルから読み出したデータを反転さ
せて出力する手段とを備えるので、冗長手段が不要とな
り、また不良個所を含む複数ビット分のメモリセル手段
の置き換えをせずに補正の必要なビットのみを補正して
いるので、チップコストのさらなる削減が可能になると
いう効果がある。
According to the present invention, a memory cell unit having a normal port for performing a normal read / write operation, a test port dedicated to a test, and write data written from the normal port of the memory cell unit are temporarily held. A data latch unit; and a comparison unit that reads data written to the memory cell unit from the normal port from the test port, and compares the read data with the write data held in the data latch for each bit. When a mismatch is found in the match comparison by the means, an address indicating the location of the memory cell means in which the write data is written, an address / bit information holding means for holding information on the mismatch detection bit, and a mismatch are detected. In the subsequent read operation for the address, Means for inverting the data read from the cell and outputting the inverted data, eliminating the need for redundant means, and correcting only the bits that need to be corrected without replacing the memory cell means for a plurality of bits including the defective part. Therefore, there is an effect that the chip cost can be further reduced.

【0143】この発明によれば、それぞれが個別にアド
レスデコーダを有し、ライト動作時同一の内容を有する
ように同一のライトデータが書き込まれる、互いに構造
が異なった3以上の奇数個のメモリセル部と、リード動
作が行われ複数のアドレスデコーダに同一のアドレスが
入力された場合、複数のメモリセル部のそのアドレスに
よって指定された場所から読み出した奇数個のデータの
多数決演算を行い、メモリセル手段の欠陥の有無を判定
し、多数決の結果をリードデータとして出力する多数決
選択手段とを備えるので、メモリセル手段に不良個所が
あっても容易に検出できるため、歩留りを向上でき、多
数決選択手段により動的に比較しているので、あらかじ
めテストして不良個所を特定することが不要となって、
テストコストが削減可能であるという効果がある。ま
た、多数決論理により選択されたデータを出力する構成
にしているので、レーザトリミングなどのH/Wによる
変更処理が不要となって、コストを削減できるばかり
か、構造の違う奇数のメモリセル手段により構成されて
いるので、メモリセル手段の構造に起因する不良の検出
が可能となり、さらに、アドレスデコーダをメモリセル
手段に対して準備しているので、メモリセル手段の不良
ばかりでなく、アドレスデコーダの不良に関してもリペ
ア可能になるなどの効果がある。
According to the present invention, three or more odd-numbered memory cells having different structures, each having an individual address decoder and writing the same write data so as to have the same contents at the time of a write operation. When the same address is input to a plurality of address decoders and a plurality of address decoders perform a majority operation of an odd number of data read from a location specified by the address in a plurality of memory cell units, Means for judging the presence or absence of a defect in the means and outputting the result of the majority decision as read data, so that even if there is a defective portion in the memory cell means, the yield can be improved, and the majority can be improved. , It is not necessary to test in advance to identify defective parts,
The effect is that the test cost can be reduced. Further, since the data selected by the majority logic is output, the change processing by H / W such as laser trimming is not required, and the cost can be reduced, and the odd memory cell means having a different structure can be used. With this configuration, it is possible to detect a defect caused by the structure of the memory cell means. Further, since the address decoder is prepared for the memory cell means, not only the defect of the memory cell means but also the defect of the address decoder is obtained. There is an effect that repair can be performed even for a defect.

【0144】この発明によれば、ライト動作時に同一の
内容を有するようにライトデータの各ビットが書き込ま
れる、3以上の奇数個のメモリセルを有するメモリセル
手段と、メモリセル手段に書き込まれたライトデータに
対してリード動作が行われた場合、メモリセル手段の複
数のメモリセルから読み出したデータの各ビットに対応
する奇数個のビットデータの多数決演算を行い、メモリ
セル手段の複数のメモリセルの欠陥の有無を判定し、多
数決の結果をリードデータとして出力する多数決選択手
段とを備えるので、メモリセル手段に不良個所があって
も、多数決選択により容易に検出できるため歩留りを向
上でき、動的比較によりあらかじめテストし不良個所を
特定する必要がないので、テストコストを削減できると
いう効果がある。また、多数決論理により選択されたデ
ータを出力しているので、レーザトリミングなどのH/
Wによる変更処理が不要となってコスト削減がはかれ、
多数決比較されるビットラインが近傍(隣接)に存在で
きるため、配線が短く済み、消費電力の低下、高速化等
の性能向上が可能となるなどの効果がある。
According to the present invention, each bit of the write data is written so as to have the same contents at the time of the write operation, the memory cell means having three or more odd-numbered memory cells, and the data written to the memory cell means. When a read operation is performed on the write data, a majority operation is performed on the odd-numbered bit data corresponding to each bit of the data read from the plurality of memory cells of the memory cell unit, and the plurality of memory cells of the memory cell unit are operated. And a majority decision means for judging the presence or absence of a defect in the memory cell and outputting the result of the majority decision as read data. Since there is no need to test in advance and specify a defective portion by means of a comparison, there is an effect that the test cost can be reduced. Also, since the data selected by the majority logic is output, H / H such as laser trimming is output.
The change processing by W becomes unnecessary, and the cost is reduced,
Since the bit lines to be subjected to the majority decision can be in the vicinity (adjacent), there are effects that the wiring can be shortened, the power consumption can be reduced, and the performance can be improved such as speeding up.

【0145】この発明によれば、ライト動作時同一の内
容を有するように同一のライトデータが書き込まれる複
数のメモリセル部と、ライトデータが複数のメモリセル
部に書き込まれた際に、ライトデータのパリティビット
を求め保持するパリティビット保持手段と、リード動作
時、複数のメモリセル部から読み出された複数のデータ
の一致比較を行い、不一致となった場合にはパリティビ
ット保持手段に格納されたパリティビットを確認して、
正しい方のデータを選択して出力する比較手段とを備え
るので、メモリセル手段に不良個所があっても複数のメ
モリセル部のリードデータとパリティビットにより補正
されるので、歩留りを向上させることができ、動的に比
較しているので、あらかじめテストして不良個所を特定
する必要がなく、テストコストの削減が可能であるとい
う効果がある。また、複数のメモリセル部とパリティビ
ットを用いて補正を行っているので、レーザトリミング
などのH/Wによる変更処理が不要で、コストの削減が
可能であり、また、2面のメモリセル部のリードデータ
を比較すればよいので、多数決選択を行う場合に比べて
メモリセル部が少なくて済み、チップ面積の削減、チッ
プコストの低減がはかれるなどの効果がある。
According to the present invention, a plurality of memory cell portions to which the same write data is written so as to have the same contents at the time of a write operation, and when the write data is written to the plurality of memory cell portions, And a parity bit holding unit that determines and holds the parity bit of a plurality of data read out from a plurality of memory cell units during a read operation. Check the parity bit
Since comparison means for selecting and outputting the correct data is provided, even if there is a defect in the memory cell means, it is corrected by the read data and the parity bits of the plurality of memory cell parts, so that the yield can be improved. Since the comparison is made dynamically, there is no need to specify a defective portion by performing a test in advance, and the test cost can be reduced. Further, since the correction is performed by using the plurality of memory cell units and the parity bit, a change process by H / W such as laser trimming is not required, and the cost can be reduced. Since it is sufficient to compare the read data, the memory cell portion can be reduced as compared with the case of performing majority selection, and there are effects such as reduction in chip area and reduction in chip cost.

【0146】この発明によれば、少なくとも1つのメモ
リブロックを備えた半導体集積回路装置において、テス
トパターンとしてアドレスとデータのセットを生成する
自己テストパターン生成手段を備えており、メモリブロ
ックは、メモリセル手段と、該メモリセル手段に書き込
んだライトデータを一旦保持するデータラッチ手段と、
メモリセル手段に書き込まれたデータを読み出してリー
ドデータとライトデータの一致比較を行う比較手段と、
不一致が検出するとメモリセル手段の代わりにそのデー
タを保持する冗長手段と、ライトデータが書き込まれた
メモリセル手段の場所を指定するアドレス情報を保持す
るアドレス保持手段と、メモリセル手段のテスト時に、
自己テストパターン生成手段からのアドレスを選択し
て、メモリセル手段に送出するアドレス入力セレクタ
と、メモリセル手段のテスト時に、自己テストパターン
生成手段からのデータを選択して、メモリセル手段に送
出するデータ入力セレクタとを備えるので、冗長手段に
よる置き換えによって歩留りが向上し、あらかじめ不良
個所の特定を不要としてテストコストを削減し、冗長手
段の削減を可能としてチップコストを削減し、未使用の
アドレスの置き換えが不要となり、レーザトリミングな
どのH/Wによる変更処理を不要としてコストの削減を
可能にし、データの保持を他のメモリなどへ振り分けて
エラー処理などを行うことでシステムの誤動作を回避す
ることが可能となるという効果がある。さらに、このテ
スト動作をパワーON時やリセット時、また特別に設け
たテストモードを実行することによって行えば、オーバ
ーフロー信号の観測によって、あらかじめ準備したアド
レス保持手段や冗長手段に不足が生じるか否かを、通常
の動作に先立って確認することが可能となり、出荷前の
テストが可能となり、その間、トリガ信号のアサートに
よるテストモードの設定と、オーバーフロー信号/フル
フラグ信号の観測のみを行えばよいので、さらなるテス
トコストの削減をはかることができ、また一致比較はあ
らかじめ準備された期待値でなくライト/リードデータ
で行うので、自己テストのための回路が簡単かつ小面積
で実現できるなどの効果もある。
According to the present invention, in a semiconductor integrated circuit device having at least one memory block, a self-test pattern generating means for generating a set of an address and data as a test pattern is provided. Means, data latch means for temporarily holding write data written in the memory cell means,
Comparing means for reading data written in the memory cell means and comparing read data with write data for coincidence;
When a mismatch is detected, the redundancy means for holding the data instead of the memory cell means, the address holding means for holding the address information specifying the location of the memory cell means where the write data is written,
An address input selector for selecting an address from the self-test pattern generating means and sending it to the memory cell means, and selecting and sending data from the self-test pattern generating means to the memory cell means when testing the memory cell means Since it has a data input selector, the yield is improved by replacement with redundant means, test costs are reduced by eliminating the need for identifying defective parts in advance, chip costs are reduced by reducing redundant means, and unused addresses are reduced. This eliminates the need for replacement and eliminates the need for H / W change processing such as laser trimming, thereby reducing costs and avoiding system malfunctions by distributing data retention to other memories and performing error processing. There is an effect that it becomes possible. Further, if this test operation is performed at the time of power-on or reset, or by executing a specially provided test mode, it is determined whether or not the address holding means and the redundant means prepared in advance become insufficient due to the observation of the overflow signal. Can be checked prior to normal operation, and a test before shipment can be performed. During that time, it is only necessary to set the test mode by asserting the trigger signal and observe the overflow signal / full flag signal. Since the test cost can be further reduced, and the match comparison is performed using write / read data instead of the expected value prepared in advance, there is an effect that a circuit for the self-test can be realized simply and with a small area. .

【0147】この発明によれば、それぞれ、メモリセル
手段、比較手段、冗長手段、アドレス保持手段、アドレ
ス入力セレクタ、データ入力セレクタを備えた複数のメ
モリブロックを有しており、複数のメモリブロックをテ
ストする時に、自己テストパターン生成手段はアドレス
とデータのセットをテストパターンとして複数のメモリ
ブロックに送出し、各メモリブロックはその冗長手段が
メモリセル手段の代わりをするのに必要な空きがない場
合フルフラグ信号を出力し、当該装置はさらに複数のメ
モリブロックからのフルフラグ信号の論理和を演算する
OR回路を備えるので、自己テストパターン生成手段な
どの自己テストのための回路は複数のメモリブロックで
共通使用していることから、付加回路規模が少なくて済
むため、チップコストの削減がはかれ、オーバーフロー
信号/フルフラグ信号は複数のメモリブロックの論理和
出力となるので、回路信号線の削減が可能となるという
効果がある。
According to the present invention, each memory block includes a plurality of memory blocks including a memory cell unit, a comparing unit, a redundant unit, an address holding unit, an address input selector, and a data input selector. When testing, the self-test pattern generation means sends a set of address and data as a test pattern to a plurality of memory blocks, and each memory block has no space necessary for its redundant means to replace the memory cell means. Since the apparatus further includes an OR circuit that outputs a full flag signal and calculates the logical sum of the full flag signals from a plurality of memory blocks, a circuit for a self test such as a self test pattern generation unit is common to a plurality of memory blocks. Since it is used, the size of the additional circuit can be reduced, Reduction of bets is Hakare, since the overflow signal / full flag signal is a logic sum output of the plurality of memory blocks, there is an effect that it is possible to reduce the circuit signal line.

【0148】この発明によれば、それぞれ、メモリセル
手段、比較手段、冗長手段、アドレス保持手段、アドレ
ス入力セレクタ、データ入力セレクタを備えた複数のメ
モリブロックを有しており、複数のメモリブロックをテ
ストする時に、自己テストパターン生成手段はアドレス
とデータのセットをテストパターンとして複数のメモリ
ブロックに送出し、各メモリブロックはその冗長手段が
メモリセル手段の代わりをするのに必要な空きがなくさ
らに比較手段による一致比較で不一致となった場合オー
バフロー信号を出力し、当該装置はさらに前記複数のメ
モリブロックからのオーバフロー信号の論理和を演算す
るOR回路を備えるので、自己テストパターン生成手段
でテストパターンのみを生成し、一致比較はそれぞれの
メモリブロック毎に行っているので、構成の異なるメモ
リブロックで自己テストパターン生成手段を共通使用す
ることが可能になるなどの効果がある。
According to the present invention, each of the plurality of memory blocks includes a memory cell unit, a comparing unit, a redundant unit, an address holding unit, an address input selector, and a data input selector. At the time of testing, the self-test pattern generating means sends a set of address and data to a plurality of memory blocks as a test pattern, and each memory block has no space necessary for its redundant means to replace the memory cell means. If the comparison results in a mismatch, the overflow signal is output, and the device further includes an OR circuit for calculating the logical sum of the overflow signals from the plurality of memory blocks. Only for each memory block Because doing, there are effects such as it is possible to commonly use the self-test pattern generating means in different memory blocks of the structure.

【0149】この発明によれば、メモリセル手段と、該
メモリセル手段に書き込まれるライトデータを一時保持
するデータラッチ手段と、メモリセル手段に書き込んだ
データを読み出して、リードデータとデータラッチ手段
に保持されたライトデータの一致比較を行う比較手段
と、比較手段による一致比較で不一致となった場合に、
メモリセル手段に代わってライトデータを保持する冗長
手段と、入力されたアドレスを保持するアドレス保持バ
ッファメモリと、比較手段による一致比較で不一致とな
った場合に、ライトデータが書き込まれたメモリセル手
段の場所を示すアドレスに関する情報を保持するアドレ
ス保持手段と、リード/ライトともにディスエーブルで
ある時、アドレス保持バッファメモリから入力されたア
ドレスを読み出して、メモリセル手段へ送出するアドレ
ス入力セレクタとを有しており、リード/ライトともに
ディスエーブルである時、比較手段はイネーブルされる
ので、冗長手段による置き換えで歩留りが向上し、事前
に不良個所の特定を不要としてテストコストを削減し、
冗長手段の削減を可能としてチップコストを削減し、未
使用アドレスの置き換えが不要となり、H/Wによる変
更処理を不要としてコストの削減を可能にし、データの
保持を他のメモリなどへ振り分けることでシステムの誤
動作の回避が可能となるという効果がある。さらに、リ
ード/ライト動作していない周期を利用してリペア処理
を行っているので、1ポートのメモリセル部1でも対応
可能となり、また一般的に1ポートメモリの方が小面積
で実現できるので、チップの小型化、低コストがはかれ
るなどの効果がある。
According to the present invention, the memory cell means, the data latch means for temporarily holding write data to be written to the memory cell means, and the data written to the memory cell means are read out, and the read data and the data latch means are read out. A comparison unit that compares the held write data and a comparison unit.
A redundancy means for holding write data in place of the memory cell means, an address holding buffer memory for holding an input address, and a memory cell means to which the write data is written when the comparison by the comparison means results in a mismatch. And an address input selector for reading an address input from the address holding buffer memory when both reading and writing are disabled and sending it to the memory cell means. When both reading and writing are disabled, the comparing means is enabled. Therefore, the yield is improved by replacing with the redundant means, and it is not necessary to specify a defective portion in advance, thereby reducing the test cost.
By reducing the redundant means, the chip cost is reduced, the replacement of the unused address becomes unnecessary, the change processing by H / W becomes unnecessary, the cost can be reduced, and the data retention is distributed to other memories. There is an effect that a malfunction of the system can be avoided. Further, since the repair process is performed using the cycle in which the read / write operation is not performed, the 1-port memory cell unit 1 can cope with the repair process. In general, the 1-port memory can be realized with a smaller area. This has the effect of reducing the size and cost of the chip.

【0150】この発明によれば、メモリセル手段と、使
用頻度が高いデータ列や、処理時間のかかるデータ列を
保持する、メモリセル手段より容量の少ないデータ列保
持手段と、データ列保持手段のデータ列が保持されてい
るアドレスを保持しており、使用頻度が高いデータ列
や、処理時間のかかるデータ列がアクセスされた場合に
は、そのデータ列が保持されているアドレスをデータ列
保持手段へ送出するアドレス情報保持手段とを備えるの
で、使用頻度が高いデータ列、もしくは高速のアクセス
が要求されるデータ列が保持されているデータ列保持手
段は、メモリセル手段よりも容量が小さいことから、デ
ータ伝播経路の配線容量が少なくて済み、また、データ
列保持手段をデータ出力端の近傍に配置することにより
配線容量をより少なくすることができるため、アクセス
の高速化をはかることが可能となり、データ列保持手段
をアクセスする場合にはメモリセル手段を非アクセスと
することにより、容量の大きなメモリセル手段の充放電
を行わなくて済むため、消費電力の削減も可能となり、
さらに、データ列保持手段としてROMを用いた場合、
チップ面積を削減できるなどの効果がある。
According to the present invention, the memory cell means, the data string holding means having a smaller capacity than the memory cell means, and holding the data string which is frequently used or the data string which requires a long processing time. When an address holding a data string is held, and a frequently used data string or a data string requiring a long processing time is accessed, the address holding the data string is stored in a data string holding unit. Data address holding means for sending frequently used data strings or data strings requiring high-speed access, since the capacity is smaller than that of the memory cell means. The wiring capacity of the data propagation path can be reduced, and the wiring capacity can be reduced by arranging the data string holding means near the data output end. Therefore, it is possible to speed up the access, and when accessing the data string holding means, the memory cell means is not accessed so that the large capacity memory cell means is not charged / discharged. Power consumption can be reduced,
Further, when a ROM is used as the data string holding means,
This has the effect of reducing the chip area.

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

【図1】 この発明の実施の形態1による半導体集積回
路装置に搭載されたメモリブロックの構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a first embodiment of the present invention.

【図2】 実施の形態1におけるメモリブロックの動作
を周期毎に説明するための説明図である。
FIG. 2 is an explanatory diagram for describing an operation of a memory block in Embodiment 1 for each cycle.

【図3】 実施の形態1におけるメモリブロックのライ
ト動作の手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure of a write operation of a memory block according to the first embodiment;

【図4】 この発明の実施の形態2による半導体集積回
路装置に搭載されたメモリブロックの構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a second embodiment of the present invention.

【図5】 実施の形態2におけるメモリブロックの動作
を周期毎に説明するための説明図である。
FIG. 5 is an explanatory diagram for describing an operation of a memory block in a second embodiment for each cycle;

【図6】 実施の形態2におけるメモリブロックのライ
ト動作の手順を示すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of a write operation of a memory block according to the second embodiment;

【図7】 この発明の実施の形態3による半導体集積回
路装置に搭載されたメモリブロックの構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a third embodiment of the present invention.

【図8】 実施の形態3におけるメモリブロックの動作
を周期毎に説明するための説明図である。
FIG. 8 is an explanatory diagram for describing an operation of a memory block according to a third embodiment for each cycle.

【図9】 実施の形態3におけるメモリブロックのライ
ト動作の手順を示すフローチャートである。
FIG. 9 is a flowchart illustrating a procedure of a write operation of a memory block according to the third embodiment;

【図10】 この発明の実施の形態4による半導体集積
回路装置に搭載されたメモリブロックの構成を示すブロ
ック図である。
FIG. 10 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to a fourth embodiment of the present invention.

【図11】 実施の形態4における欠陥メモリセルアド
レス/ビット情報保持部の内部構成を示すブロック図で
ある。
FIG. 11 is a block diagram showing an internal configuration of a defective memory cell address / bit information holding unit according to a fourth embodiment;

【図12】 実施の形態4における欠陥メモリセルアド
レス/ビット情報保持部の動作手順を示すフローチャー
トである。
FIG. 12 is a flowchart illustrating an operation procedure of a defective memory cell address / bit information holding unit according to the fourth embodiment;

【図13】 この発明の実施の形態5による半導体集積
回路装置におけるアドレスデコーダの構成を示すブロッ
ク図である。
FIG. 13 is a block diagram showing a configuration of an address decoder in a semiconductor integrated circuit device according to a fifth embodiment of the present invention.

【図14】 実施の形態5におけるリード/ライトの動
作手順を示すフローチャートである。
FIG. 14 is a flowchart showing a read / write operation procedure according to the fifth embodiment.

【図15】 この発明の実施の形態6による半導体集積
回路装置の要部を示すブロック図である。
FIG. 15 is a block diagram showing a main part of a semiconductor integrated circuit device according to a sixth embodiment of the present invention.

【図16】 実施の形態6におけるフラグ処理の動作手
順を示すフローチャートである。
FIG. 16 is a flowchart showing an operation procedure of a flag process according to the sixth embodiment.

【図17】 この発明の実施の形態7による半導体集積
回路装置の要部を示すブロック図である。
FIG. 17 is a block diagram showing a main part of a semiconductor integrated circuit device according to a seventh embodiment of the present invention.

【図18】 実施の形態7におけるフラグ処理の動作手
順を示すフローチャートである。
FIG. 18 is a flowchart illustrating an operation procedure of a flag process according to the seventh embodiment.

【図19】 この発明の実施の形態8による半導体集積
回路装置の要部を示すブロック図である。
FIG. 19 is a block diagram showing a main part of a semiconductor integrated circuit device according to an eighth embodiment of the present invention.

【図20】 この発明の実施の形態9による半導体集積
回路装置の要部を示すブロック図である。
FIG. 20 is a block diagram showing a main part of a semiconductor integrated circuit device according to a ninth embodiment of the present invention.

【図21】 この発明の実施の形態10による半導体集
積回路装置の要部を示すブロック図である。
FIG. 21 is a block diagram showing a main part of a semiconductor integrated circuit device according to a tenth embodiment of the present invention.

【図22】 この発明の実施の形態11による半導体集
積回路装置に搭載されたメモリブロックの構成を示すブ
ロック図である。
FIG. 22 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 11 of the present invention.

【図23】 この発明の実施の形態12による半導体集
積回路装置の要部を示すブロック図である。
FIG. 23 is a block diagram showing a main part of a semiconductor integrated circuit device according to a twelfth embodiment of the present invention.

【図24】 この発明の実施の形態13による半導体集
積回路装置に搭載されたメモリブロックの構成を示すブ
ロック図である。
FIG. 24 is a block diagram showing a configuration of a memory block mounted on a semiconductor integrated circuit device according to Embodiment 13 of the present invention.

【図25】 実施の形態13におけるメモリブロックの
動作を周期毎に説明するための説明図である。
FIG. 25 is an explanatory diagram for describing an operation of a memory block in a thirteenth embodiment for each cycle;

【図26】 この発明の実施の形態14による半導体集
積回路装置の要部を示すブロック図である。
FIG. 26 is a block diagram showing a main part of a semiconductor integrated circuit device according to a fourteenth embodiment of the present invention.

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

1 メモリセル部、2 冗長部、3 アドレスデコー
ダ、4 アドレスデコーダ、5 アドレスラッチ、6
データラッチ、7 比較回路、8 欠陥メモリセルアド
レス保持部、9 セレクタ、10 メモリセル部、11
アドレスデコーダ、12 アドレスデコーダ、13
アドレスラッチ、14 データラッチ、15 比較回
路、16 欠陥メモリセルアドレス/ビット情報保持
部、17 セレクタ、20 欠陥メモリセルアドレスレ
ジスタ、21 ビット情報レジスタ、22 補正フラ
グ、23 アドレス比較回路、24 セレクタ、25
OR回路、26 AND回路、30 第1のデコーダ、
31 第2デコーダ、40,41メモリブロック、42
データ処理部、43 欠陥メモリセルアドレスレジス
タ、44 使用フラグ、45 AND回路、50,5
1,52 メモリセル部、53,54,55 アドレス
デコーダ、56 多数決選択回路、60 メモリセル
部、61 アドレスデコーダ、62,63,64 メモ
リセル、65,66,67 ビットライン、68 多数
決選択回路、70,71 メモリセル部、72アドレス
デコーダ、73 パリティビット保持部、74 比較回
路、80 自己テストパターン生成部、81 アドレス
入力セレクタ、82 データ入力セレクタ、83 アド
レス保持バッファメモリ、90,91,92,93 メ
モリブロック、94 自己テストパターン生成部、95
OR回路、100 メモリセル部、101 アドレス
デコーダ、102 データ列保持部、103 アドレス
情報保持部、104 セレクタ。
1 memory cell section, 2 redundant section, 3 address decoder, 4 address decoder, 5 address latch, 6
Data latch, 7 comparison circuit, 8 defective memory cell address holding section, 9 selector, 10 memory cell section, 11
Address decoder, 12 Address decoder, 13
Address latch, 14 data latch, 15 comparison circuit, 16 defective memory cell address / bit information holding unit, 17 selector, 20 defective memory cell address register, 21 bit information register, 22 correction flag, 23 address comparison circuit, 24 selector, 25
OR circuit, 26 AND circuit, 30 first decoder,
31 second decoder, 40, 41 memory block, 42
Data processing unit, 43 defective memory cell address register, 44 use flag, 45 AND circuit, 50, 5
1, 52 memory cell units, 53, 54, 55 address decoders, 56 majority selection circuits, 60 memory cell units, 61 address decoders, 62, 63, 64 memory cells, 65, 66, 67 bit lines, 68 majority selection circuits, 70, 71 memory cell section, 72 address decoder, 73 parity bit holding section, 74 comparison circuit, 80 self test pattern generation section, 81 address input selector, 82 data input selector, 83 address holding buffer memory, 90, 91, 92, 93 memory block, 94 self-test pattern generator, 95
OR circuit, 100 memory cell unit, 101 address decoder, 102 data string holding unit, 103 address information holding unit, 104 selector.

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 通常のリード/ライト動作が行われる通
常ポートと、テスト専用のテストポートとを有するメモ
リセル手段と、 通常ポートより前記メモリセル手段に書き込まれるライ
トデータを一時保持するデータラッチ手段と、 前記メモリセル手段にその通常ポートより書き込まれた
データをテストポートより読み出し、そのリードデータ
と前記データラッチ手段に保持されている前記ライトデ
ータとの一致比較を行う比較手段と、 前記比較手段による一致比較で不一致となった場合に、
前記メモリセル手段に代わって前記ライトデータを保持
する冗長手段と、 前記比較手段による一致比較で不一致となった場合に、
前記ライトデータが書き込まれた前記メモリセル手段の
場所を示すアドレスに関する情報を保持するアドレス保
持手段とを備えた半導体集積回路装置。
1. A memory cell means having a normal port for performing a normal read / write operation, a test port dedicated to a test, and a data latch means for temporarily holding write data written from the normal port to the memory cell means. Comparing means for reading data written to the memory cell means from the normal port from a test port, and comparing the read data with the write data held in the data latch means; and If a match does not match,
A redundancy unit that holds the write data in place of the memory cell unit; and
A semiconductor integrated circuit device comprising: address holding means for holding information on an address indicating a location of the memory cell means in which the write data is written.
【請求項2】 データラッチ手段は、それぞれ通常ポー
トよりメモリセル手段に書き込まれるライトデータを一
時保持する複数のデータラッチを有し、 比較手段による一致比較で不一致となった前記メモリセ
ル手段のアドレスへの最初のリード動作時に、前記デー
タラッチ手段の該当するデータラッチに保持されたデー
タを出力し、 以降、そのアドレスへのライト/リードの動作において
は、前記比較手段による一致比較を行うことなく、アド
レス保持手段に保持されている該当アドレスに対応する
ライトデータを保持している冗長手段に直接アクセスす
る請求項1記載の半導体集積回路装置。
2. The data latch means includes a plurality of data latches each of which temporarily holds write data to be written to the memory cell means from a normal port, and an address of the memory cell means that has become inconsistent in the comparison by the comparison means. At the time of the first read operation, the data held in the corresponding data latch of the data latch means is output. Thereafter, in the operation of writing / reading to the address, the comparison by the comparison means is not performed. 2. The semiconductor integrated circuit device according to claim 1, wherein the redundant means holding the write data corresponding to the address held in the address holding means is directly accessed.
【請求項3】 データラッチ手段は、通常ポートよりメ
モリセル手段に書き込まれるライトデータを一時保持す
る1つのデータラッチを有し、 前記メモリセル手段へのライトデータのライト動作時
に、比較手段は一致比較を行い、不一致の場合には冗長
手段は前記ライトデータを保持し、アドレス保持手段は
前記ライトデータが書き込まれた前記メモリセル手段の
場所を示すアドレスを保持し、 前記比較手段による以後の一致比較で一致となった場合
には、前記アドレス保持手段に保持されている前記アド
レスはクリアされるか若しくは前記アドレスがオーバラ
イト可能な状態となり、前記冗長手段に保持されている
前記ライトデータはクリアされるか若しくは前記ライト
データがオーバライト可能な状態となる請求項1記載の
半導体集積回路装置。
3. The data latch means has one data latch for temporarily holding write data written to the memory cell means from a normal port, and the comparison means matches when the write data is written to the memory cell means. A comparison is made, and if they do not match, the redundancy unit holds the write data, the address holding unit holds an address indicating the location of the memory cell unit where the write data is written, and a subsequent match by the comparison unit. If the comparison indicates a match, the address held in the address holding means is cleared or the address becomes overwritable, and the write data held in the redundant means is cleared. 2. The semiconductor integrated circuit according to claim 1, wherein the write data is written or the write data becomes overwritable. Apparatus.
【請求項4】 データラッチ手段は、通常ポートよりメ
モリセル手段に書き込まれるライトデータを一時保持す
る1つのデータラッチを有し、 前記メモリセル手段へのライトデータのライト動作時
に、冗長手段が該ライトデータを保持するとともにアド
レス保持手段は前記ライトデータが書き込まれた前記メ
モリセル手段の場所を示すアドレスを保持し、比較手段
は一致比較を行い、不一致の場合には前記冗長手段はそ
のまま前記ライトデータを保持し、前記アドレス保持手
段は前記アドレスをそのまま保持し、一致の場合には、
前記アドレス保持手段に保持されている前記アドレスは
クリアされるか若しくは前記アドレスがオーバライト可
能な状態となり、前記冗長手段に保持されている前記ラ
イトデータはクリアされるか若しくは前記ライトデータ
がオーバライト可能な状態となる請求項1記載の半導体
集積回路装置。
4. The data latch means has one data latch for temporarily holding write data written to a memory cell means from a normal port, and the redundant means is provided when the write data is written to the memory cell means. While holding the write data, the address holding unit holds an address indicating the location of the memory cell unit in which the write data is written, and the comparison unit performs a match comparison. Data, and the address holding means holds the address as it is.
The address held in the address holding means is cleared or the address becomes overwritable, and the write data held in the redundant means is cleared or the write data is overwritten. 2. The semiconductor integrated circuit device according to claim 1, wherein said device is enabled.
【請求項5】 リード/ライト動作を行う時入力された
アドレスをデコードし、冗長手段のワードラインを活性
化するための第1のデコーダと、メモリセル手段のワー
ドラインを活性化するための第2のデコーダとを備えた
アドレスデコード手段を備えており、 アドレス保持手段は前記アドレスと同一のアドレスを保
持しているか否かを判定し、同一のアドレスを保持して
いるならば、前記第1のデコーダは前記冗長手段の該当
するワードラインを活性化し、そうでないのならば、前
記第2のデコーダは前記メモリセル手段の該当するワー
ドラインを活性化する請求項1記載の半導体集積回路装
置。
5. A first decoder for decoding an address inputted when performing a read / write operation and activating a word line of a redundancy means, and a first decoder for activating a word line of a memory cell means. Address decoding means provided with the first and second decoders. The address holding means determines whether or not the same address as the address is held. 2. The semiconductor integrated circuit device according to claim 1, wherein said decoder activates a corresponding word line of said redundant means, and if not, said second decoder activates a corresponding word line of said memory cell means.
【請求項6】 冗長手段がメモリセル手段の代わりをす
るのに必要な空きがない場合、フルフラグ信号をアサー
トする請求項1記載の半導体集積回路装置。
6. The semiconductor integrated circuit device according to claim 1, wherein the full flag signal is asserted when there is no space necessary for the redundancy means to replace the memory cell means.
【請求項7】 冗長手段がメモリセル手段の代わりをす
るのに必要な空きがなく、さらに比較手段による一致比
較で不一致となった場合、オーバーフロー信号をアサー
トする請求項1記載の半導体集積回路装置。
7. The semiconductor integrated circuit device according to claim 1, wherein an overflow signal is asserted when there is no space necessary for the redundancy means to substitute for the memory cell means and when the comparison means makes a mismatch in the comparison. .
【請求項8】 通常のリード/ライト動作が行われる通
常ポートと、テスト専用のテストポートとを有するメモ
リセル手段と、 前記メモリセル手段の通常ポートより書き込まれるライ
トデータを一時保持するデータラッチ手段と、 前記メモリセル手段にその通常ポートより書き込まれた
データをテストポートより読み出し、そのリードデータ
とデータラッチに保持されている前記ライトデータとの
一致比較をビット毎に行う比較手段と、 前記比較手段による一致比較で不一致となった場合に、
前記ライトデータが書き込まれた前記メモリセル手段の
場所を示すアドレスと、その不一致検出ビットに関する
情報を保持するアドレス/ビット情報保持手段と、 前記不一致が検出されたアドレスに対する以後のリード
動作では、前記不一致検出ビットについて、メモリセル
から読み出したデータを反転させて出力する手段とを備
えた半導体集積回路装置。
8. A memory cell means having a normal port for performing a normal read / write operation and a test port dedicated to a test, and a data latch means for temporarily holding write data written from the normal port of the memory cell means. Comparing means for reading data written to the memory cell means from the normal port from a test port, and performing bit-by-bit matching comparison between the read data and the write data held in a data latch; If there is a mismatch in the match comparison by means,
An address indicating the location of the memory cell unit in which the write data is written, an address / bit information holding unit for holding information on a mismatch detection bit thereof, and a subsequent read operation for the address where the mismatch is detected, Means for inverting and outputting data read from a memory cell for a mismatch detection bit.
【請求項9】 それぞれが個別にアドレスデコーダを有
し、ライト動作時同一の内容を有するように同一のライ
トデータが書き込まれる、互いに構造が異なった3以上
の奇数個のメモリセル部と、 リード動作が行われ前記複数のアドレスデコーダに同一
のアドレスが入力された場合、前記複数のメモリセル部
のそのアドレスによって指定された場所から読み出した
奇数個のデータの多数決演算を行い、メモリセル手段の
欠陥の有無を判定し、多数決の結果をリードデータとし
て出力する多数決選択手段とを備えた半導体集積回路装
置。
9. An odd number of three or more memory cell units having different structures, each having an address decoder individually, and the same write data is written so as to have the same contents at the time of a write operation. When an operation is performed and the same address is input to the plurality of address decoders, a majority operation is performed on an odd number of data read from a location specified by the address in the plurality of memory cell units, and A semiconductor integrated circuit device comprising: majority decision means for judging the presence or absence of a defect and outputting the result of majority decision as read data.
【請求項10】 ライト動作時に同一の内容を有するよ
うにライトデータの各ビットが書き込まれる、3以上の
奇数個のメモリセルを有するメモリセル手段と、 前記メモリセル手段に書き込まれたライトデータに対し
てリード動作が行われた場合、前記メモリセル手段の前
記複数のメモリセルから読み出したデータの各ビットに
対応する奇数個のビットデータの多数決演算を行い、前
記メモリセル手段の前記複数のメモリセルの欠陥の有無
を判定し、多数決の結果をリードデータとして出力する
多数決選択手段とを備えた半導体集積回路装置。
10. A memory cell unit having three or more odd-numbered memory cells in which each bit of write data is written so as to have the same contents at the time of a write operation; When a read operation is performed on the plurality of memory cells of the memory cell unit, a majority operation is performed on odd-numbered bit data corresponding to each bit of data read from the plurality of memory cells of the memory cell unit. A semiconductor integrated circuit device comprising: majority decision means for judging the presence or absence of a cell defect and outputting the result of majority decision as read data.
【請求項11】 ライト動作時同一の内容を有するよう
に同一のライトデータが書き込まれる複数のメモリセル
部と、 ライトデータが前記複数のメモリセル部に書き込まれた
際に、前記ライトデータのパリティビットを求め保持す
るパリティビット保持手段と、 リード動作時、前記複数のメモリセル部から読み出され
た複数のデータの一致比較を行い、不一致となった場合
には前記パリティビット保持手段に格納されたパリティ
ビットを確認して、正しい方のデータを選択して出力す
る比較手段とを備えた半導体集積回路装置。
11. A plurality of memory cell portions to which the same write data is written so as to have the same contents in a write operation, and a parity of the write data when the write data is written to the plurality of memory cell portions. A parity bit holding unit that obtains and holds bits; and performs a match comparison of a plurality of data read from the plurality of memory cell units during a read operation, and when the data does not match, stores the data in the parity bit holding unit. And a comparing means for checking the parity bit and selecting and outputting the correct data.
【請求項12】 少なくとも1つのメモリブロックを備
えた半導体集積回路装置において、 テストパターンとしてアドレスとデータのセットを生成
する自己テストパターン生成手段を備えており、 前記メモリブロックは、メモリセル手段と、該メモリセ
ル手段に書き込んだライトデータを一旦保持するデータ
ラッチ手段と、前記メモリセル手段に書き込まれたデー
タを読み出してリードデータと前記ライトデータの一致
比較を行う比較手段と、不一致が検出すると前記メモリ
セル手段の代わりにそのデータを保持する冗長手段と、
前記ライトデータが書き込まれた前記メモリセル手段の
場所を指定するアドレス情報を保持するアドレス保持手
段と、前記メモリセル手段のテスト時に、前記自己テス
トパターン生成手段からのアドレスを選択して、前記メ
モリセル手段に送出するアドレス入力セレクタと、前記
メモリセル手段のテスト時に、前記自己テストパターン
生成手段からのデータを選択して、前記メモリセル手段
に送出するデータ入力セレクタとを備えた半導体集積回
路装置。
12. A semiconductor integrated circuit device comprising at least one memory block, comprising: a self-test pattern generating means for generating a set of an address and data as a test pattern; wherein the memory block comprises: a memory cell means; Data latch means for temporarily holding the write data written to the memory cell means, comparison means for reading the data written to the memory cell means and comparing read data with the write data for coincidence; Redundant means for retaining the data in place of the memory cell means;
An address holding unit for holding address information specifying a location of the memory cell unit in which the write data is written; and an address from the self-test pattern generation unit for selecting the memory when testing the memory cell unit. A semiconductor integrated circuit device comprising: an address input selector for transmitting to a cell unit; and a data input selector for selecting data from the self-test pattern generating unit and transmitting the selected data to the memory cell unit when testing the memory cell unit. .
【請求項13】 それぞれ、メモリセル手段、比較手
段、冗長手段、アドレス保持手段、アドレス入力セレク
タ、データ入力セレクタを備えた複数のメモリブロック
を有しており、前記複数のメモリブロックをテストする
時に、自己テストパターン生成手段はアドレスとデータ
のセットをテストパターンとして前記複数のメモリブロ
ックに送出し、前記各メモリブロックはその冗長手段が
前記メモリセル手段の代わりをするのに必要な空きがな
い場合フルフラグ信号を出力し、当該装置はさらに前記
複数のメモリブロックからのフルフラグ信号の論理和を
演算するOR回路を備えた請求項12記載の半導体集積
回路装置。
13. Each of the plurality of memory blocks includes a memory cell unit, a comparing unit, a redundancy unit, an address holding unit, an address input selector, and a data input selector. The self-test pattern generating means sends the set of address and data as a test pattern to the plurality of memory blocks, and the memory blocks do not have enough space for their redundant means to replace the memory cell means. 13. The semiconductor integrated circuit device according to claim 12, wherein the device outputs a full flag signal, and the device further comprises an OR circuit for calculating a logical sum of the full flag signals from the plurality of memory blocks.
【請求項14】 それぞれ、メモリセル手段、比較手
段、冗長手段、アドレス保持手段、アドレス入力セレク
タ、データ入力セレクタを備えた複数のメモリブロック
を有しており、前記複数のメモリブロックをテストする
時に、自己テストパターン生成手段はアドレスとデータ
のセットをテストパターンとして前記複数のメモリブロ
ックに送出し、前記各メモリブロックはその冗長手段が
前記メモリセル手段の代わりをするのに必要な空きがな
くさらに前記比較手段による一致比較で不一致となった
場合オーバフロー信号を出力し、当該装置はさらに前記
複数のメモリブロックからのオーバフロー信号の論理和
を演算するOR回路を備えた請求項12記載の半導体集
積回路装置。
14. Each of the plurality of memory blocks includes a memory cell unit, a comparing unit, a redundancy unit, an address holding unit, an address input selector, and a data input selector. The self-test pattern generating means sends a set of address and data to the plurality of memory blocks as a test pattern, and each of the memory blocks has no space necessary for its redundant means to substitute for the memory cell means. 13. The semiconductor integrated circuit according to claim 12, wherein an overflow signal is output when there is a mismatch in the comparison by said comparing means, and said apparatus further comprises an OR circuit for calculating a logical sum of the overflow signals from said plurality of memory blocks. apparatus.
【請求項15】 メモリセル手段と、 該メモリセル手段に書き込まれるライトデータを一時保
持するデータラッチ手段と、 前記メモリセル手段に書き込んだデータを読み出して、
リードデータと前記データラッチ手段に保持されたライ
トデータの一致比較を行う比較手段と、 前記比較手段による一致比較で不一致となった場合に、
前記メモリセル手段に代わって前記ライトデータを保持
する冗長手段と、 入力されたアドレスを保持するアドレス保持バッファメ
モリと、 前記比較手段による一致比較で不一致となった場合に、
前記ライトデータが書き込まれた前記メモリセル手段の
場所を示すアドレスに関する情報を保持するアドレス保
持手段と、 リード/ライトともにディスエーブルである時、前記ア
ドレス保持バッファメモリから前記入力されたアドレス
を読み出して、前記メモリセル手段へ送出するアドレス
入力セレクタとを有しており、 リード/ライトともにディスエーブルである時、前記比
較手段はイネーブルされる半導体集積回路装置。
15. A memory cell means, a data latch means for temporarily holding write data written to the memory cell means, and reading data written to the memory cell means,
A comparing means for comparing the read data with the write data held in the data latch means; and
A redundancy unit that holds the write data in place of the memory cell unit; an address holding buffer memory that holds an input address;
Address holding means for holding information relating to an address indicating the location of the memory cell means in which the write data has been written; and when both reading and writing are disabled, reading the input address from the address holding buffer memory And an address input selector for sending to the memory cell means, and when both reading and writing are disabled, the comparing means is enabled.
【請求項16】 メモリセル手段と、 使用頻度が高いデータ列や、処理時間のかかるデータ列
を保持する、前記メモリセル手段より容量の少ないデー
タ列保持手段と、 前記データ列保持手段のデータ列が保持されているアド
レスを保持しており、前記使用頻度が高いデータ列や、
処理時間のかかるデータ列がアクセスされた場合には、
そのデータ列が保持されているアドレスを前記データ列
保持手段へ送出するアドレス情報保持手段とを備えた半
導体集積回路装置。
16. A memory cell unit, a data column holding unit having a smaller capacity than the memory cell unit for holding a frequently used data column or a data column requiring a long processing time, and a data column of the data column holding unit. Is held, and the frequently used data string,
If a time-consuming data string is accessed,
A semiconductor integrated circuit device having address information holding means for sending an address holding the data string to the data string holding means.
JP2000261307A 2000-02-16 2000-08-30 Semiconductor integrated circuit device Pending JP2001307497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000261307A JP2001307497A (en) 2000-02-16 2000-08-30 Semiconductor integrated circuit device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000-38773 2000-02-16
JP2000038773 2000-02-16
JP2000261307A JP2001307497A (en) 2000-02-16 2000-08-30 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JP2001307497A true JP2001307497A (en) 2001-11-02

Family

ID=26585514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000261307A Pending JP2001307497A (en) 2000-02-16 2000-08-30 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JP2001307497A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006027920A1 (en) * 2004-09-08 2006-03-16 Nec Corporation Nonvolatile semiconductor storage device
US7123527B2 (en) 2003-03-20 2006-10-17 Kabushiki Kaisha Toshiba Redundancy fuse circuit
US7265596B2 (en) 2005-03-31 2007-09-04 Hynix Semiconductor Inc. Data latch circuit of semiconductor device
US7411845B2 (en) 2005-08-30 2008-08-12 Elpida Memory, Inc. Redundancy circuit and semiconductor apparatus having the redundancy circuit
US7449931B2 (en) 2005-09-21 2008-11-11 Elpida Memory, Inc. Duty ratio adjustment
JP2012128922A (en) * 2010-12-17 2012-07-05 Toshiba Corp Semiconductor memory device and method of testing the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7123527B2 (en) 2003-03-20 2006-10-17 Kabushiki Kaisha Toshiba Redundancy fuse circuit
WO2006027920A1 (en) * 2004-09-08 2006-03-16 Nec Corporation Nonvolatile semiconductor storage device
JP4798379B2 (en) * 2004-09-08 2011-10-19 日本電気株式会社 Nonvolatile semiconductor memory device
US7265596B2 (en) 2005-03-31 2007-09-04 Hynix Semiconductor Inc. Data latch circuit of semiconductor device
US7411845B2 (en) 2005-08-30 2008-08-12 Elpida Memory, Inc. Redundancy circuit and semiconductor apparatus having the redundancy circuit
US7449931B2 (en) 2005-09-21 2008-11-11 Elpida Memory, Inc. Duty ratio adjustment
JP2012128922A (en) * 2010-12-17 2012-07-05 Toshiba Corp Semiconductor memory device and method of testing the same

Similar Documents

Publication Publication Date Title
US6259639B1 (en) Semiconductor integrated circuit device capable of repairing defective parts in a large-scale memory
JP4062247B2 (en) Semiconductor memory device
US6408401B1 (en) Embedded RAM with self-test and self-repair with spare rows and columns
JP3274332B2 (en) Controller / mass memory embedded semiconductor integrated circuit device, test method and use method thereof, and semiconductor integrated circuit device and test method therefor
US7770067B2 (en) Method for cache correction using functional tests translated to fuse repair
US5758056A (en) Memory system having defective address identification and replacement
CN108899061B (en) Memory built-in self-test method and system in power supply normally-open chip
US6922798B2 (en) Apparatus and methods for providing enhanced redundancy for an on-die cache
JPH10302497A (en) Substitution method of faulty address, semiconductor memory device, semiconductor device
US20150074494A1 (en) Self-repair device
US20030214865A1 (en) Semiconductor memory having multiple redundant columns with offset segmentation boundaries
JP4353329B2 (en) Semiconductor memory device and test method thereof
CN116580746B (en) Fuse unit for memory array, processing method of fuse unit and memory array
JP2003338200A (en) Semiconductor integrated circuit device
US20050057985A1 (en) Method and apparatus for dynamically hiding a defect in an embedded memory
US8694838B2 (en) Cache memory, processor, and production methods for cache memory and processor
US7065694B2 (en) Adaptive runtime repairable entry register file
US7013414B2 (en) Test method and test system for semiconductor device
US20070177425A1 (en) A method and apparatus for repairing embedded memory in an integrated circuit
JP2001307497A (en) Semiconductor integrated circuit device
US20080072121A1 (en) Method and Apparatus For Repairing Defective Cell for Each Cell Section Word Line
KR20080010868A (en) Built in self test and built in self repair system
US7457996B2 (en) Semiconductor integrated circuit capable of testing with small scale circuit configuration
JP2001043698A (en) Self-inspection circuit and self-inspection method for built-in memory array
JP4009461B2 (en) Semiconductor device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060123