JPH09251799A - Semiconductor integrated circuit and test method - Google Patents

Semiconductor integrated circuit and test method

Info

Publication number
JPH09251799A
JPH09251799A JP8056358A JP5635896A JPH09251799A JP H09251799 A JPH09251799 A JP H09251799A JP 8056358 A JP8056358 A JP 8056358A JP 5635896 A JP5635896 A JP 5635896A JP H09251799 A JPH09251799 A JP H09251799A
Authority
JP
Japan
Prior art keywords
test
memory cell
semiconductor integrated
bit line
integrated circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8056358A
Other languages
Japanese (ja)
Inventor
Toshiaki Igaki
利明 井垣
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP8056358A priority Critical patent/JPH09251799A/en
Publication of JPH09251799A publication Critical patent/JPH09251799A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable testing an incorporated memory at high speed and to reduce a manufacturing cost without degrading quality of a semiconductor product. SOLUTION: When a test is performed, a low-order address decoder 33 interrupts a bit line switch section 34 in accordance with a control signal 1 for a test. Also, a switch section 36 for a test is made continuity in accordance with a control signal 2 for a test, and electrically connects each bit line BL1 to BLn and corresponding terminals 6c1 to 6cn respectively. Further, a high-order address decoder 32 selects some word line based on an inputted address, and activates all memory cells on this word line. In this state, an user applies the prescribed voltage for a test to terminals 6c1 to 6cn , and tests simultaneously data stored by activated each memory cell depending on a value of a current made to flow in.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、1チップ
CPU(Central Processing Unit)など、メモリを搭載
した半導体集積回路に関し、特に、メモリに記憶したデ
ータをテストするテストモードを有する半導体集積回
路、および、そのテスト方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit equipped with a memory such as a one-chip CPU (Central Processing Unit), and more particularly to a semiconductor integrated circuit having a test mode for testing data stored in the memory, And the test method.

【0002】[0002]

【従来の技術】近年、半導体集積回路の集積度は益々向
上しており、ROM( Read-Only Memory )やRAM
( Random access Memory )などの記憶装置や、タイマ
部などの周辺回路をCPU(Central Processing Unit)
と同一のチップに設けた1チップマイコン(1チップマ
イクロコンピュータ)なども、広く使われている。上記
ROMを内蔵した1チップマイコンでは、書き込んだデ
ータをテストする際、全アドレス(アドレス空間全領
域)に渡って、全ビット(データビット幅)のデータ読
み出しを行ってテストを実施している。
2. Description of the Related Art In recent years, the degree of integration of semiconductor integrated circuits has improved more and more, and ROM (Read-Only Memory) and RAM
CPU (Central Processing Unit) for storage devices such as (Random access Memory) and peripheral circuits such as timer unit.
A one-chip microcomputer (one-chip microcomputer) provided on the same chip as is also widely used. In the one-chip microcomputer incorporating the ROM, when testing the written data, the data is read from all bits (data bit width) over all addresses (all areas of the address space) to perform the test.

【0003】具体的には、図4に示すように、各出力デ
ータビット毎に設けられたROM部50において、テス
トするアドレスが指定されると、上位アドレスデコーダ
52は、マトリクス状に配されたメモリセルC11ないし
mnからなるメモリセル部51のうち、当該アドレスに
対応するメモリセルCijに接続されているワードライン
WLi を選択し、該ワードラインWLi 上に配されてい
るメモリセルCij全てを活性化させる。さらに、下位ア
ドレスデコーダ53は、指定されたアドレスに対応する
メモリセルCijが接続されているビットラインBLj
認識し、各ビットラインBLと増幅部55との間に介在
するビットラインスイッチ部54のうち、該ビットライ
ンBLj の端部に設けられたビットラインスイッチBS
j を導通させる。この結果、所望のメモリセルCij
らの信号は、ビットラインスイッチBSWj を介して増
幅部55へ伝えられ、増幅部55は、この信号を増幅し
て、出力端子より出力する。以上の動作を、ROM部5
0の全アドレスに渡って繰り返すことによって、ROM
部50が記憶する全てのデータが、正常に書き込まれて
いるか否かをテストできる。
Specifically, as shown in FIG. 4, when an address to be tested is designated in the ROM section 50 provided for each output data bit, the upper address decoder 52 is arranged in a matrix. it is no memory cell C 11 in the memory cell portion 51 consisting of C mn, selects a word line WL i connected to the memory cell C ij corresponding to the address, it is arranged on the word line WL i memory Activate all cells C ij . Further, the lower address decoder 53 recognizes the bit line BL j to which the memory cell C ij corresponding to the designated address is connected, and the bit line switch unit interposed between each bit line BL and the amplification unit 55. Bit line switch BS provided at the end of the bit line BL j
Make W j conductive. As a result, the signal from the desired memory cell C ij is transmitted to the amplification section 55 via the bit line switch BSW j , and the amplification section 55 amplifies this signal and outputs it from the output terminal. The above operation is performed by the ROM unit 5
ROM by repeating over all addresses of 0
It is possible to test whether or not all the data stored in the unit 50 is normally written.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記構
成のROM部50では、書き込んだデータが正常か否か
を検出する場合、全てのアドレスを任意の順番で個々に
指定して、全てのビットのデータ読み出して検査する必
要がある。したがって、ROM部50の記憶容量が増加
すればする程、テスト時間が増加するという問題があ
る。近年では、半導体集積回路の集積度の向上に伴って
記憶容量が増加しており、テスト時間の増加が大きな問
題となっている。
However, in the ROM section 50 having the above configuration, when detecting whether or not the written data is normal, all the addresses are individually designated in an arbitrary order, and all the bits are written. It is necessary to read and inspect the data. Therefore, there is a problem that the test time increases as the storage capacity of the ROM unit 50 increases. In recent years, the storage capacity has increased as the integration degree of semiconductor integrated circuits has improved, and the increase in test time has become a major problem.

【0005】この問題を解決するために、例えば、特開
平4−328399号公報では、各メモリセルCijのデ
ータを読み出さず、複数のメモリセルCij…のシグネチ
ャーのみを読み出してメモリセルCij…をテストする半
導体集積回路が開示されている。上記半導体集積回路で
は、1ワードライン上のメモリセルCij…を一度に活性
化し、当該メモリセルセル群のデータを、シフトレジス
タ群(ラッチ回路群)へラッチする。さらに、データ圧
縮回路は、当該シフトレジスタ群からのデータを受け取
って圧縮し、当該ワードライン上のメモリセルCij…の
シグネチャーを取る。その後、データ圧縮回路は、該シ
グネチャーのみを出力端子より出力する。したがって、
使用者は、各ワードラインについて、出力されるシグネ
チャーが所望の値であるか否かによって、当該ワードラ
イン上のメモリセル群が記憶するデータをテストするこ
とができる。この結果、メモリセル部51が記憶するデ
ータをテストする際の所要時間は、データの圧縮率に応
じて短縮される。
In order to solve this problem, for example, in Japanese Unexamined Patent Publication No. 4-328399, the data of each memory cell C ij is not read, but only the signatures of a plurality of memory cells C ij are read and the memory cell C ij is read. A semiconductor integrated circuit for testing ... Is disclosed. In the semiconductor integrated circuit, the memory cells C ij on one word line are activated at one time, and the data in the memory cell group is latched in the shift register group (latch circuit group). Further, the data compression circuit receives and compresses the data from the shift register group, and takes the signature of the memory cells C ij ... On the word line. After that, the data compression circuit outputs only the signature from the output terminal. Therefore,
For each word line, the user can test the data stored in the memory cell group on the word line depending on whether the output signature has a desired value. As a result, the time required to test the data stored in the memory cell unit 51 is shortened according to the data compression rate.

【0006】ところが、上記構成の半導体集積回路で
は、データ圧縮を行っているため、データの不良を見逃
す可能性がある。したがって、半導体集積回路の品質が
低下するという問題が新たに生じ、上記課題の完全な解
決には至っていない。
However, in the semiconductor integrated circuit having the above-mentioned configuration, since data compression is performed, there is a possibility that data defects may be missed. Therefore, a new problem that the quality of the semiconductor integrated circuit is deteriorated occurs, and the above problem has not been completely solved.

【0007】加えて、メモリセル部51の有するトラン
ジスタは、一般に駆動能力が低いため、ビットラインの
データをシフトレジスタ群に転送する際、各ビットライ
ン毎に何らかの増幅回路が必要となる。さらに、データ
圧縮回路などを加える必要がある。この結果、半導体集
積回路の回路面積が増加し、その製造コストが上昇する
という問題も発生する。
In addition, since the transistors of the memory cell section 51 generally have low driving ability, some kind of amplifier circuit is required for each bit line when transferring the data of the bit line to the shift register group. Furthermore, it is necessary to add a data compression circuit and the like. As a result, the circuit area of the semiconductor integrated circuit increases and the manufacturing cost of the semiconductor integrated circuit also increases.

【0008】本発明は、上記の問題点を鑑みてなされた
ものであり、その目的は、半導体製品の品質を低下させ
ることなく、記憶したデータのテストを高速に行うこと
ができ、かつ、製造コストが低い半導体集積回路および
そのテスト方法を提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to test stored data at high speed without deteriorating the quality of semiconductor products, and to manufacture the same. An object of the present invention is to provide a low cost semiconductor integrated circuit and a test method thereof.

【0009】[0009]

【課題を解決するための手段】請求項1の発明に係る半
導体集積回路は、上記課題を解決するために、互いに直
交して配される複数のビットラインおよび複数のワード
ラインと、上記両ラインの各交差点に配され、両ライン
に接続されたメモリセルとを有する半導体集積回路にお
いて、以下の手段を講じたことを特徴としている。
In order to solve the above-mentioned problems, a semiconductor integrated circuit according to a first aspect of the present invention includes a plurality of bit lines and a plurality of word lines which are arranged orthogonal to each other, and both lines. In a semiconductor integrated circuit having memory cells arranged at the respective intersections and connected to both lines, the following means are taken.

【0010】すなわち、複数のテスト用端子と、各メモ
リセルの内容をテストするテストモード時に、同一ワー
ドライン上に配された複数のメモリセルを同時に活性化
する活性化手段と、上記各テスト用端子と各ビットライ
ンとの間に介在し、上記テストモード時に、各テスト用
端子と、活性化したメモリセルが接続されているビット
ラインとをそれぞれ電気的に接続するスイッチング手段
とを備えている。
That is, a plurality of test terminals, activation means for simultaneously activating a plurality of memory cells arranged on the same word line in a test mode for testing the contents of each memory cell, and each of the above-mentioned test terminals. A switching means is provided between the terminal and each bit line, and electrically connects each test terminal and the bit line to which the activated memory cell is connected in the test mode. .

【0011】なお、上記スイッチング手段は、各テスト
用端子とビットラインとが1対1に対応している場合、
スイッチなどから構成され、1対多に対応している場合
は、マルチプレクサなどを含んで構成される。
In the switching means, when the test terminals and the bit lines have a one-to-one correspondence,
It is composed of switches and the like, and in the case of one-to-many correspondence, it is composed of a multiplexer and the like.

【0012】上記構成において、活性化手段は、テスト
モード時に、例えば、テストするワードラインへ所定の
電圧を印加するなどして、該ワードラインに接続された
複数のメモリセルを活性化させる。また、スイッチング
手段は、例えば、スイッチを導通させたり、マルチプレ
クサに選択させたりして、各テスト用端子を対応するビ
ットラインと電気的に接続する。さらに、例えば、各テ
スト用端子へ電圧あるいは電流を供給するなどして、対
応するビットラインに接続されており、かつ活性化して
いるメモリセルの状態をテストする。
In the above structure, the activating means activates the plurality of memory cells connected to the word line in the test mode, for example, by applying a predetermined voltage to the word line to be tested. Further, the switching means electrically connects each test terminal to the corresponding bit line by, for example, making the switch conductive or causing the multiplexer to select the switch. Further, for example, by supplying a voltage or current to each test terminal, the state of the memory cell connected to the corresponding bit line and activated is tested.

【0013】それゆえ、複数のメモリセルの内容を同時
にテストすることができる。したがって、従来のよう
に、1つ1つのメモリセルに対して、アドレスを指定し
て内容をテストする半導体集積回路に比べて、メモリセ
ルのテストに要する時間を大幅に短縮することができ
る。また、従来のシグネチャーのみによって、メモリセ
ルの内容をテストする構成に比べて、テストの精度、す
なわち、半導体集積回路の品質を向上できる。
Therefore, the contents of multiple memory cells can be tested simultaneously. Therefore, as compared with the conventional semiconductor integrated circuit in which an address is designated for each memory cell to test the content, the time required for testing the memory cell can be significantly reduced. Further, the accuracy of the test, that is, the quality of the semiconductor integrated circuit can be improved as compared with the configuration in which the content of the memory cell is tested only by the conventional signature.

【0014】また、請求項2の発明に係る半導体集積回
路は、請求項1記載の発明の構成において、上記テスト
用端子とビットラインとは1対1に対応しており、上記
活性化手段は、上記テストモード時に、同一ワードライ
ン上に配された全てのメモリセルを活性化することを特
徴としている。
According to a second aspect of the present invention, in the semiconductor integrated circuit according to the first aspect of the invention, the test terminals and the bit lines have a one-to-one correspondence, and the activating means is In the test mode, all memory cells arranged on the same word line are activated.

【0015】各テストモードとビットラインとが1対1
に対応しているので、スイッチング手段は、構成が簡単
なスイッチなどにより、容易に実現することができる。
さらに、同一ワードライン上に配されたメモリセル全て
の内容を同時にテストできるので、ワードライン上に配
されたメモリセルの一部をテストする場合に比べて、テ
ストの所要時間をより短縮できる。
There is a one-to-one correspondence between each test mode and bit line.
Therefore, the switching means can be easily realized by a switch having a simple structure.
Further, since the contents of all the memory cells arranged on the same word line can be tested at the same time, the time required for the test can be further shortened as compared with the case of testing a part of the memory cells arranged on the word line.

【0016】さらに、請求項3の発明に係る半導体集積
回路のテスト方法は、請求項1記載の半導体集積回路の
テスト方法であって、上記テストモード時に、同一ワー
ドライン上に配された複数の上記メモリセルを同時に活
性化する工程と、活性化した上記メモリセルと対応する
上記テスト用端子とに設けられた上記スイッチング手段
を導通させる工程と、上記各テスト用端子へ所定の電圧
を同時に印加する工程と、電圧印加時に各テスト用端子
へ流れ込む電流を測定して、各テスト用端子に接続され
ている各メモリセルの状態を同時に測定する工程とを含
んでいることを特徴としている。
Furthermore, a semiconductor integrated circuit test method according to a third aspect of the present invention is the semiconductor integrated circuit test method according to the first aspect, wherein a plurality of memory cells are arranged on the same word line in the test mode. Simultaneously activating the memory cells, conducting the switching means provided in the activated memory cells and the corresponding test terminals, and simultaneously applying a predetermined voltage to each of the test terminals. And a step of measuring the current flowing into each test terminal when a voltage is applied and simultaneously measuring the state of each memory cell connected to each test terminal.

【0017】上記の方法によれば、各メモリセルに流れ
込む電流値によって、当該メモリセルの内容をテストす
るので、テスト用端子に接続される機器を駆動する場合
に比べて、メモリセルの駆動能力を低く抑えることがで
きる。したがって、従来と変わらず低い駆動能力のメモ
リセルを用いても、各メモリセルとテスト用端子との間
に増幅器を設ける必要がない。この結果、半導体集積回
路の構成を簡略にできる。これにより、テストの所要時
間が短く簡単な構成の半導体集積回路を実現できる。
According to the above method, the content of the memory cell is tested by the current value flowing into each memory cell, so that the driving capability of the memory cell is higher than that in the case of driving the device connected to the test terminal. Can be kept low. Therefore, even if a memory cell having a low driving capability as in the conventional case is used, it is not necessary to provide an amplifier between each memory cell and the test terminal. As a result, the structure of the semiconductor integrated circuit can be simplified. As a result, a semiconductor integrated circuit having a short test time and a simple structure can be realized.

【0018】一方、請求項4の発明に係る半導体集積回
路は、上記の課題を解決するために、互いに直交して配
される複数のビットラインおよび複数のワードライン
と、上記両ラインの各交差点に配され、両ラインに接続
されたメモリセルとを有する半導体集積回路において、
以下の手段を講じたことを特徴としている。
On the other hand, in order to solve the above-mentioned problems, a semiconductor integrated circuit according to a fourth aspect of the present invention has a plurality of bit lines and a plurality of word lines arranged orthogonally to each other, and each intersection of both lines. In a semiconductor integrated circuit having a memory cell connected to both lines,
It is characterized by the following measures.

【0019】すなわち、複数のテスト用端子と、各メモ
リセルの内容をテストするテストモード時に、同一ワー
ドライン上に配された複数のメモリセルを同時に活性化
する活性化手段と、上記各テスト用端子と各ビットライ
ンとの間に介在し、上記テストモード時に、活性化して
いるメモリセルが接続されているビットラインの信号を
個々に増幅し、対応する上記各テスト用端子へ出力する
増幅手段を備えている。
That is, a plurality of test terminals, activation means for simultaneously activating a plurality of memory cells arranged on the same word line in a test mode for testing the contents of each memory cell, and each of the above test An amplifying means which is interposed between the terminal and each bit line, individually amplifies the signal of the bit line connected to the activated memory cell in the test mode, and outputs the amplified signal to the corresponding test terminal. Is equipped with.

【0020】上記構成において、活性化手段は、請求項
1に係る活性化手段と同様に、テストモード時に、テス
トするワードラインに接続された複数のメモリセルを同
時に活性化させる。また、各増幅手段は、対応するビッ
トラインの信号を増幅し、例えば、電圧レベルの相違と
して、対応するテスト用端子へ出力する。
In the above structure, the activating means activates a plurality of memory cells connected to the word line to be tested at the same time in the test mode, similarly to the activating means according to the first aspect. Further, each amplification means amplifies the signal of the corresponding bit line and outputs it to the corresponding test terminal as a difference in voltage level, for example.

【0021】それゆえ、例えば、対応するテスト用端子
に出力される電圧レベルなどとして、活性化している各
メモリセルの内容を同時にテストできる。したがって、
従来のように、1つ1つのメモリセルに対して、アドレ
スを指定して内容をテストする半導体集積回路に比べ
て、メモリセルのテストに要する時間を大幅に短縮する
ことができる。
Therefore, the contents of each activated memory cell can be tested at the same time, for example, as the voltage level output to the corresponding test terminal. Therefore,
As compared with the conventional semiconductor integrated circuit in which an address is designated for each memory cell to test the contents, the time required for testing the memory cell can be significantly reduced.

【0022】加えて、また、各増幅手段がビットライン
の信号を増幅しているので、通常使用時におけるデータ
出力と同様に、例えば、電圧レベルの相違として、メモ
リセルの内容をテストできる。この結果、該半導体集積
回路をテストするテスト装置において、通常時のデータ
出力をテストする回路と、テストモード時におけるデー
タをテストする回路とを共用できる。この結果、請求項
1記載の半導体集積回路に比べて、半導体集積回路をテ
ストするテスト装置の構成を容易にできる。
In addition, since each amplifying means amplifies the signal on the bit line, the contents of the memory cell can be tested, for example, as a difference in voltage level, as in the data output during normal use. As a result, in the test device for testing the semiconductor integrated circuit, the circuit for testing the data output in the normal state and the circuit for testing the data in the test mode can be shared. As a result, the configuration of the test device for testing the semiconductor integrated circuit can be made easier than that of the semiconductor integrated circuit according to the first aspect.

【0023】[0023]

【発明の実施の形態】本発明の一実施形態について図1
ないし図3に基づいて説明すると以下の通りである。す
なわち、図2に示すように、本実施形態に係る1チップ
マイコン(半導体集積回路)1は、内部バスにて互いに
接続されたCPU2、ROM( Read-Only Memory )部
3、RAM( Random access Memory )4、およびタイ
マ部5と、制御対象機器やテスト装置などの外部機器
(図示せず)とデータを送受するためのポート群6とを
備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention.
The following is a description with reference to FIG. That is, as shown in FIG. 2, a one-chip microcomputer (semiconductor integrated circuit) 1 according to this embodiment includes a CPU 2, a ROM (Read-Only Memory) unit 3, and a RAM (Random access Memory) that are connected to each other by an internal bus. ) 4, a timer unit 5, and a group of ports 6 for transmitting and receiving data to and from external devices (not shown) such as controlled devices and test devices.

【0024】通常使用時には、該ポート群6は、制御対
象機器と接続されており、CPU2は、当該ポート群6
を介して受け取った制御対象機器のデータやタイマ部5
から得られる時間データに基づいて、ROM部3が記憶
する所定のプログラムを実行し、ポート群6を介して上
記制御対象機器を制御することができる。なお、RAM
4は、プログラムを実行する際の作業領域などとして用
いられる。
At the time of normal use, the port group 6 is connected to the controlled device, and the CPU 2 causes the port group 6 to be connected.
Data of the control target device received through the timer unit 5
Based on the time data obtained from the above, a predetermined program stored in the ROM section 3 can be executed to control the above-mentioned controlled device via the port group 6. In addition, RAM
Reference numeral 4 is used as a work area when the program is executed.

【0025】上記ポート群6には、上記ROM部3に記
憶したデータをテストするテストモード時において、制
御信号を印加する第1ポート群6aと、検証するアドレ
スをROM部3に指示する第2ポート群6bと、ROM
部3のデータをテストするための第3ポート群(テスト
用端子)6cとが設けられている。
A first port group 6a for applying a control signal to the port group 6 in the test mode for testing the data stored in the ROM section 3 and a second port group 6 for instructing the ROM section 3 to verify an address. Port group 6b and ROM
A third port group (test terminal) 6c for testing the data of the section 3 is provided.

【0026】本実施形態に係る1チップマイコン1で
は、通常の1チップマイコン同様、100〜200本以
上と、ROM部3の制御に必要な端子数30〜40本に
対して十分多くの端子がポート群6に設けられている。
したがって、テストモード時にのみ使用する上記ポート
群6a・6b・6cを上記ポート群6に設けても何ら支
障を生じない。
In the one-chip microcomputer 1 according to this embodiment, 100 to 200 or more are provided, which is a sufficiently large number for the number of terminals required to control the ROM section 3 of 30 to 40, as in a normal one-chip microcomputer. It is provided in the port group 6.
Therefore, even if the port groups 6a, 6b, 6c used only in the test mode are provided in the port group 6, no trouble occurs.

【0027】これらのポート群6a・6b・6cは、テ
ストモード時以外において、例えば、上記制御対象機器
への制御信号を伝えたり、ROM部3のデータそのもの
を出力したりするなど、他の用途に転用されている。ま
た、上記第3ポート群6cのうち、通常使用時におい
て、ROM部3のデータそのものを出力するポート群を
特に第4ポート群6dと称する。テストモード時と通常
使用時とで1チップマイコン1のポート群6を異なる用
途に使用することで、ポート群6の端子数を削減するこ
とができる。
These port groups 6a, 6b, 6c are used for other purposes such as transmitting a control signal to the above-mentioned controlled device or outputting the data itself of the ROM section 3 except in the test mode. Has been diverted to. Of the third port group 6c, the port group that outputs the data itself of the ROM section 3 during normal use is particularly referred to as a fourth port group 6d. The number of terminals of the port group 6 can be reduced by using the port group 6 of the one-chip microcomputer 1 for different purposes in the test mode and the normal use.

【0028】図1に示すように、ROM部3は、互いに
交差して配されている複数のワードラインWL1 ないし
WLm 、および、複数のビットラインBL1 ないしBL
n 、ならびに、両者の各交差点に配されたメモリセルC
11ないしCmnを有するメモリセル部31と、上記第2ポ
ート群6bあるいは上記CPU2などから指定されたア
ドレスに基づいて、上記各ワードラインWL1 ないしW
m のいずれかを選択する上位アドレスデコーダ(活性
化手段)32と、上記各ビットラインBL1 ないしBL
n の一端に設けられた各ビットラインスイッチBSW1
ないしBSWnからなるビットラインスイッチ部34
と、上記アドレスに基づいて、各ビットラインスイッチ
BSW1 ないしBSWn の導通/遮断を制御する下位ア
ドレスデコーダ33と、上記各ビットラインスイッチB
SW1 ないしBSWn からの信号を増幅して、上記第4
ポート群6dあるいは上記CPU2などへ出力する増幅
部35とを備えている。なお、以下では、上記各メモリ
セルC11ないしCmnのいずれかのように、複数ある部材
のうちの任意の部材を示す場合、例えば、メモリセルC
ijのように、添字i あるいは添字j を付して表示する。
As shown in FIG. 1, the ROM section 3 includes a plurality of word lines WL 1 to WL m and a plurality of bit lines BL 1 to BL arranged so as to intersect each other.
n , and the memory cell C arranged at each intersection of the two
Based on an address designated by the memory cell unit 31 having 11 to C mn and the second port group 6b or the CPU 2 or the like, the word lines WL 1 to W 1
An upper address decoder (activating means) 32 for selecting any one of L m and each of the bit lines BL 1 to BL
Each bit line switch BSW 1 provided at one end of n
To BSW n bit line switch unit 34
A lower address decoder 33 for controlling conduction / interruption of each bit line switch BSW 1 to BSW n based on the address, and each bit line switch B
The signal from SW 1 to BSW n is amplified to
It is provided with an amplification unit 35 for outputting to the port group 6d or the CPU 2 or the like. In the following, when any member among a plurality of members is shown like any of the memory cells C 11 to C mn , for example, the memory cell C
Like ij , display with subscript i or subscript j .

【0029】本実施形態に係るメモリセル部31では、
各メモリセルCijは、1つのセルトランジスタTrij
有しており、該セルトランジスタTrijのゲートは、隣
接するワードラインWLi に、ドレインは、隣接するビ
ットラインBLj に、それぞれ接続されている。なお、
各セルトランジスタTrijのソースは、接地されてい
る。
In the memory cell section 31 according to this embodiment,
Each memory cell C ij has one cell transistor Tr ij, the gate of the cell transistor Tr ij is the adjacent word lines WL i, drain the adjacent bit lines BL j, are connected ing. In addition,
The source of each cell transistor Tr ij is grounded.

【0030】また、上位アドレスデコーダ32は、図2
に示す第2ポート群6bあるいはCPU2などから指定
されたアドレスに基づいて、所望のメモリセルCijに接
続されたワードラインWLi へゲート電圧を印加する。
これにより、該ワードラインWLi に接続されている全
てのメモリセルCi1ないしCinを同時に活性化できる。
The high-order address decoder 32 is shown in FIG.
A gate voltage is applied to the word line WL i connected to the desired memory cell C ij based on the address designated by the second port group 6b shown in FIG.
As a result, all the memory cells C i1 to C in connected to the word line WL i can be activated at the same time.

【0031】さらに、上記下位アドレスデコーダ33
は、上記アドレスに基づいて、所望のメモリセルCij
接続されているビットラインスイッチBSWj を導通さ
せ、残余のビットラインスイッチBSWを遮断する。こ
れにより、活性化した上記メモリセルCi1ないしCin
うち、所望のアドレスのメモリセルCijのみが、上記ビ
ットラインスイッチBSWj を介して増幅部35と導通
する。
Further, the lower address decoder 33
Turns on the bit line switch BSW j connected to the desired memory cell C ij and cuts off the remaining bit line switch BSW based on the address. As a result, among the activated memory cells C i1 to C in , only the memory cell C ij at a desired address is electrically connected to the amplification unit 35 via the bit line switch BSW j .

【0032】一方、増幅部35は、各ビットラインスイ
ッチBSWj およびビットラインBLj を介して、選択
したメモリセルCijへ電流を供給する負荷用トランジス
タ35aと、該負荷用トランジスタ35aおよび各ビッ
トラインスイッチBSWの接続点の電位を増幅する増幅
器35bとを備えている。メモリセルCijがハイデータ
を記憶しているか、あるいは、ローデータを記憶してい
るかによって、負荷用トランジスタ35aから選択した
メモリセルCijへ流れ込む電流量は異なる。したがっ
て、ビットラインスイッチBSWj の出力電位は変化す
る。増幅器35bが当該電位を増幅することによって、
上記メモリセルCijに記憶されているデータを出力する
ことができる。
On the other hand, the amplifying section 35 includes a load transistor 35a for supplying a current to the selected memory cell C ij via each bit line switch BSW j and bit line BL j , the load transistor 35a and each bit. The amplifier 35b that amplifies the potential at the connection point of the line switch BSW is provided. The amount of current flowing from the load transistor 35a to the selected memory cell C ij differs depending on whether the memory cell C ij stores high data or low data. Therefore, the output potential of the bit line switch BSW j changes. By the amplifier 35b amplifying the potential,
The data stored in the memory cell C ij can be output.

【0033】本実施形態では、上記ROM部3は、例え
ば、2048×8ビットの容量を有しており、11ビッ
トで指定されたアドレスから、8ビットのデータを並列
に読み出す構成である。したがって、上記メモリセル部
31、ビットラインスイッチ34、および増幅部35
は、8つ設けられており、上位アドレスデコーダ32お
よび下位アドレスデコーダ33は、上記各回路部31・
34・35を、それぞれ制御している。また、2048
ビットの容量を有する各メモリセル部31は、32本の
ワードラインWLおよび8本のビットラインBLを備え
ている。したがって、ROM部3のデータ幅、すなわち
8本毎に、32本の端子6cj を必要となる。そこで、
本実施形態では、第4ポート群6dを含む第3ポート群
6c全体の端子数は、32本×8ビット=256本に設
定されている。なお、本実施形態に係る1チップマイコ
ン1では、ポート群6として、100〜200本以上の
端子が設けられているので、テストモード時にのみ、こ
れらの端子を第3ポート群6cに割り当てても、特に支
障を生じない。
In the present embodiment, the ROM section 3 has, for example, a capacity of 2048 × 8 bits, and is configured to read out 8-bit data in parallel from an address designated by 11 bits. Therefore, the memory cell unit 31, the bit line switch 34, and the amplification unit 35.
Are provided, and the high-order address decoder 32 and the low-order address decoder 33 include
34 and 35 are controlled respectively. Also, 2048
Each memory cell portion 31 having a bit capacity includes 32 word lines WL and 8 bit lines BL. Therefore, 32 terminals 6c j are required for the data width of the ROM section 3, that is, for every 8 terminals. Therefore,
In the present embodiment, the total number of terminals of the third port group 6c including the fourth port group 6d is set to 32 × 8 bits = 256. Since the 1-chip microcomputer 1 according to the present embodiment is provided with 100 to 200 or more terminals as the port group 6, even if these terminals are assigned to the third port group 6c only in the test mode. , Does not cause any problems.

【0034】さらに、本実施形態に係るROM部3は、
図2に示す第1ポート群6aなどから入力されるテスト
制御信号2に基づいて、各ビットラインBLの信号を第
3ポート群6cに出力するか否かを選択するテスト用ス
イッチSW(スイッチング手段)を備えており、これら
テスト用スイッチSW1 ないしSWn からテスト用スイ
ッチ部36が構成されている。各テスト用スイッチSW
j の一端は、対応するビットラインBLj と、ビットラ
インスイッチBSWj およびメモリセル部31の接続点
にて接続されており、他端は、図2に示す第3ポート群
6cに設けられた端子6cj に直接接続されている。
Further, the ROM section 3 according to the present embodiment is
A test switch SW (switching means) for selecting whether to output the signal of each bit line BL to the third port group 6c based on the test control signal 2 input from the first port group 6a shown in FIG. ), And the test switch section 36 is composed of these test switches SW 1 to SW n . Switch SW for each test
One end of j is connected to the corresponding bit line BL j at the connection point of the bit line switch BSW j and the memory cell section 31, and the other end is provided in the third port group 6c shown in FIG. It is directly connected to the terminal 6c j .

【0035】これにより、テスト制御信号2が入力され
た場合、テスト用スイッチSW1 ないしSWn が導通
し、各メモリセルCijと各端子6cj とをそれぞれ電気
的に接続できる。一方、テスト用制御信号2が入力され
ていない間、上記テスト用スイッチSW1 ないしSWn
は、遮断しており、上記第3ポート群6cとメモリセル
部31とを電気的に絶縁できる。したがって、増幅部3
5は、第3ポート群6cに接続されている機器に影響さ
れることなく、選択したメモリセルCijの信号を増幅で
きる。
As a result, when the test control signal 2 is input, the test switches SW 1 to SW n become conductive, and each memory cell C ij and each terminal 6c j can be electrically connected. On the other hand, while the test control signal 2 is not input, the test switches SW 1 to SW n
Are shut off, and the third port group 6c and the memory cell portion 31 can be electrically insulated. Therefore, the amplification unit 3
5 can amplify the signal of the selected memory cell C ij without being affected by the device connected to the third port group 6c.

【0036】また、本実施形態に係る下位アドレスデコ
ーダ33は、図2に示す第1ポート群6aなどからテス
ト制御信号1が入力された場合、各ビットラインスイッ
チ部34を遮断することができる。これにより、テスト
モード時において、メモリセル部31と増幅部35とを
絶縁できる。
Further, the lower address decoder 33 according to the present embodiment can shut off each bit line switch unit 34 when the test control signal 1 is input from the first port group 6a shown in FIG. As a result, the memory cell section 31 and the amplification section 35 can be insulated from each other in the test mode.

【0037】続いて、上記構成において、メモリセルの
テスト時の各部の動作を説明すると、以下の通りであ
る。
Next, the operation of each part at the time of testing the memory cell in the above structure will be described as follows.

【0038】すなわち、メモリセルをテストする際、使
用者は、図2に示す第1ポート群6aを介して、1チッ
プマイコン1へテスト用制御信号1およびテスト用制御
信号2を入力する。テスト用スイッチSW1 ないしSW
n は、テスト用制御信号2の指示に従い導通する。この
結果、各ビットラインBL1 ないしBLn は、対応する
端子6c1 ないし6cn と、それぞれ電気的に接続され
る。また、下位アドレスデコーダ33は、テスト用制御
信号1が入力されると、ビットラインスイッチBSW1
ないしBSWn を遮断させる。これにより、各ビットラ
インBLj は、増幅部35と電気的に絶縁される。
That is, when testing the memory cell, the user inputs the test control signal 1 and the test control signal 2 to the one-chip microcomputer 1 through the first port group 6a shown in FIG. Test switches SW 1 to SW
n conducts according to the instruction of the test control signal 2. As a result, the bit lines BL 1 to BL n are electrically connected to the corresponding terminals 6c 1 to 6c n , respectively. When the test control signal 1 is input, the lower address decoder 33 receives the bit line switch BSW 1
To BSW n are cut off. As a result, each bit line BL j is electrically insulated from the amplification unit 35.

【0039】この状態で、使用者は、図2に示す第2ポ
ート群6bを介して、テストするワードラインWLi
示すアドレスを入力する。上位アドレスデコーダ32
は、通常のデータ読み出し時と同様に、指定されたアド
レスに基づき、当該ワードラインWLi を選択し、例え
ば、ゲート電圧を印加するなどして、当該ワードライン
WLi に接続されている全てのメモリセルCi1ないしC
inを活性化させる。
In this state, the user inputs the address indicating the word line WL i to be tested through the second port group 6b shown in FIG. Upper address decoder 32
In the same manner as in normal data reading, all the word lines WL i connected to the word line WL i are selected by selecting the word line WL i based on the designated address and applying a gate voltage, for example. Memory cells C i1 to C
The in is activated.

【0040】さらに、使用者は、各端子6c1 ないし6
n を介して、上記メモリセルCi1ないしCinへ、テス
ト用の電圧を印加する。上記テスト用電圧は、メモリセ
ルCijがローレベルのデータを記憶している場合におけ
るセルトランジスタTrijのドレイン電圧よりも高く、
かつ、ハイレベルのデータを記憶している場合のドレイ
ン電圧よりも低く設定されている。したがって、メモリ
セルCijがハイレベルのデータを記憶している場合、セ
ルトランジスタTrijはオンせず、ビットラインBLj
には、電流が流れ込まない。一方、メモリセルCijがロ
ーレベルのデータを記憶している場合、セルトランジス
タTrijは、オンし、ビットラインBLj には、端子6
j を介して、外部より電流が流れ込む。
Further, the user can use the terminals 6c 1 to 6
through c n, to the memory cell C i1 not to C in, for applying a voltage for testing. The test voltage is higher than the drain voltage of the cell transistor Tr ij when the memory cell C ij stores low level data,
Moreover, the drain voltage is set to be lower than that when the high level data is stored. Therefore, when the memory cell C ij stores high-level data, the cell transistor Tr ij does not turn on and the bit line BL j
No current flows into the. On the other hand, when the memory cell C ij stores low level data, the cell transistor Tr ij is turned on, and the bit line BL j is connected to the terminal 6
An electric current flows from the outside through c j .

【0041】したがって、使用者は、アドレスを指定し
た後、図2に示す第3ポート群6cの端子6c1 ないし
6cn 流れ込む電流値を測定することによって、各メモ
リセルCi1ないしCinのデータがローであるかハイであ
るかを同時に判定できる。
Therefore, the user, after designating the address, measures the current value flowing into the terminals 6c 1 to 6c n of the third port group 6c shown in FIG. 2 to obtain the data of the memory cells C i1 to C in . It is possible to determine whether is low or high at the same time.

【0042】上位アドレスデコーダ32にワードライン
WL1 ないしWLm を順次選択させ、各ワードラインW
i 毎に同様の操作を行うことによって、使用者は、メ
モリセル部31が備える全てのメモリセルCijをテスト
できる。
The upper address decoder 32 is caused to sequentially select the word lines WL 1 to WL m , and each word line W
By performing the same operation for each L i , the user can test all the memory cells C ij included in the memory cell unit 31.

【0043】例えば、本実施形態に係るメモリセル部3
1では、ビットラインBLが32本、ワードラインWL
が64本設けられている。したがって、従来のように、
各メモリセルCij全てを順次テストする場合には、20
48回、アドレスを指定して出力データを検証しなけれ
ばならない。ところが、本実施形態では、各ワードライ
ンWLi 毎に、全てのビットラインBL1 ないしBLn
を同時にテストできる。したがって、アドレスを指定す
る回数は、ワードラインWLの本数、すなわち、64回
に削減できる。この結果、全てのメモリセルCijをテス
トする際の所要時間は、従来に比べて、1/32とな
り、大幅に短縮できる。
For example, the memory cell section 3 according to the present embodiment.
In 1, 32 bit lines BL and word lines WL
64 are provided. Therefore, as before,
When sequentially testing all the memory cells C ij , 20
The output data must be verified by specifying the address 48 times. However, in this embodiment, all the bit lines BL 1 to BL n are provided for each word line WL i.
Can be tested at the same time. Therefore, the number of times the address is designated can be reduced to the number of word lines WL, that is, 64 times. As a result, the time required to test all the memory cells C ij is 1/32 that of the conventional case, which can be greatly reduced.

【0044】以上のように、本実施形態に係るROM部
3は、互いに直交して配される複数のワードラインWL
およびビットラインBL、並びに、両者の各交差点に配
され、両ラインに接続されるメモリセルCijを有するメ
モリセル部31と、図2に示す第3ポート群6cと、各
メモリセルCijの内容をテストするテストモード時にお
いて、同一ワードラインWL上に配された複数のメモリ
セルCijを同時に活性化する上位アドレスデコーダ3
2、並びに、上記各第3ポート群6cに設けられた各端
子6cj と各ビットラインBLj との間に介在するビッ
トラインスイッチBSWj からなるテスト用スイッチ部
36とを備えている。
As described above, the ROM section 3 according to this embodiment has a plurality of word lines WL arranged orthogonally to each other.
And bit line BL, and a memory cell portion 31 having memory cells C ij arranged at each intersection of both and connected to both lines, a third port group 6c shown in FIG. 2, and each memory cell C ij . An upper address decoder 3 which simultaneously activates a plurality of memory cells C ij arranged on the same word line WL in a test mode for testing the contents.
2, and a test switch section 36 including a bit line switch BSW j interposed between each terminal 6c j provided in each third port group 6c and each bit line BL j .

【0045】上記構成において、テストモード時に、上
位アドレスデコーダ32は、例えば、指定されたワード
ラインWL上に配される複数のメモリセルCijを同時に
活性化する。さらに、例えば、テスト用制御信号2など
の指示に基づいて、上記各端子6cj に対応するビット
ラインスイッチBSWj が導通し、活性化した各メモリ
セルCijと各端子6cj とを電気的に接続する。
In the above structure, in the test mode, the upper address decoder 32 simultaneously activates, for example, the plurality of memory cells C ij arranged on the designated word line WL. Furthermore, for example, electrically based on the instructions such as test control signal 2, the bit line switch BSW j corresponding to each terminal 6c j becomes conductive, and the memory cell C ij activated and pin 6c j Connect to.

【0046】さらに、各端子6cj から所定の電圧を印
加し、各端子6cj に流れ込む電流値を測定するなどし
て、活性化したメモリセルCijが記憶しているデータを
判定する。この結果、複数のメモリセルCijの内容を同
時に判定できる。
[0046] Further, a prescribed voltage is applied from the terminals 6c j, such as by measuring the current value flowing to the respective terminals 6c j, determines data memory cell C ij activated is stored. As a result, the contents of the plurality of memory cells C ij can be determined at the same time.

【0047】それゆえ、従来のように、各メモリセルC
ijを順次読み出してテストする場合に比べて、ROM部
3のテスト時間を大幅に短縮できる。また、各メモリセ
ルCijのデータそのものを判定できるため、ワードライ
ンWL上のデータを圧縮し、そのシグネチャーにより内
容を判定する場合のように、ROM部3の信頼性を低下
させることがない。
Therefore, as in the conventional case, each memory cell C
The test time of the ROM section 3 can be significantly shortened as compared with the case where ij is sequentially read and tested. Moreover, since the data itself of each memory cell C ij can be determined, the reliability of the ROM section 3 is not lowered unlike the case where the data on the word line WL is compressed and the content is determined by the signature.

【0048】なお、本実施形態では、第3ポート群6c
として、ビットラインBLの本数と同じ個数の端子6c
j を設け、各ビットラインBLj と各端子6cj とが1
対1に対応しているが、これに限るものではない。1チ
ップマイコン1の有する端子数の制限などによって、テ
スト時に使用できる端子の本数が、メモリセル部31に
設けられたビットラインBLの本数よりも少ない場合に
は、例えば、1本の端子6cj にマルチプレクサなどを
介して、複数のビットラインBLを接続し、マルチプレ
クサによって、該端子6cj に接続されているビットラ
インBLを順次切り換えながら、各ビットラインBLを
テストしてもよい。あるいは、ビットラインスイッチな
どを介して、1本の端子6cj に複数のビットラインB
Lを接続し、接続したビットラインBLを1つずつオン
させながら、当該ビットラインBLをテストすることも
できる。
In this embodiment, the third port group 6c
As many terminals 6c as the number of bit lines BL
j , and each bit line BL j and each terminal 6c j is 1
Corresponding to one-to-one, but is not limited to this. When the number of terminals that can be used during the test is smaller than the number of bit lines BL provided in the memory cell section 31 due to the limitation of the number of terminals of the one-chip microcomputer 1, for example, one terminal 6c j It is also possible to connect a plurality of bit lines BL via a multiplexer or the like and test each bit line BL while sequentially switching the bit lines BL connected to the terminals 6c j by the multiplexer. Alternatively, a plurality of bit lines B may be connected to one terminal 6c j via a bit line switch or the like.
It is also possible to test the bit line BL by connecting L and turning on the connected bit lines BL one by one.

【0049】これらのように、テストするビットライン
BLをグループ分けした場合、グループの数、すなわ
ち、一度にテストするビットラインBLの数をnとする
と、テスト時間は、1/nに短縮できる。この場合、デ
ータをテストする際に必要な端子の数は、n本になる。
例えば、本実施形態と同様の構成で、1本の端子6cj
に2本のビットラインBLを接続する場合、第3ポート
群6cに必要な端子数は、128本となる。この場合、
同時に、16個のメモリセルCijの内容をテストできる
ので、テスト時間は、従来に比べて、1/16に短縮さ
れる。
When the bit lines BL to be tested are divided into groups as described above, if the number of groups, that is, the number of bit lines BL to be tested at one time is n, the test time can be shortened to 1 / n. In this case, the number of terminals required to test the data is n.
For example, with the same configuration as this embodiment, one terminal 6c j
When two bit lines BL are connected to each other, the number of terminals required for the third port group 6c is 128. in this case,
At the same time, since the contents of 16 memory cells C ij can be tested, the test time is shortened to 1/16 as compared with the conventional case.

【0050】ただし、各端子6cj と各ビットラインB
j とを1対1に対応させることによって、マルチプレ
クサが不要となる。また、テスト用制御信号2などによ
って導通/遮断が制御されるビットラインスイッチBS
j など、比較的簡単な構成の素子によりテスト用スイ
ッチ部36を実現できる。さらに、従来の圧縮回路を有
する半導体集積回路とは異なり、大きな回路面積が必要
となる増幅器をビットラインBL毎に設ける必要がな
い。この結果、1チップマイコン1の回路構成を簡略に
して、製造コストを低減できる。また、全てのビットラ
インBLに接続されたメモリセルCijの内容を同時にテ
ストできるため、1対多に対応している場合よりも、テ
スト時の所要時間をさらに短縮できる。
However, each terminal 6c j and each bit line B
By making one-to-one correspondence with L j , a multiplexer is unnecessary. Also, a bit line switch BS whose conduction / interruption is controlled by a test control signal 2 or the like
The test switch unit 36 can be realized by a relatively simple element such as W j . Further, unlike a semiconductor integrated circuit having a conventional compression circuit, it is not necessary to provide an amplifier that requires a large circuit area for each bit line BL. As a result, the circuit configuration of the 1-chip microcomputer 1 can be simplified and the manufacturing cost can be reduced. Further, since the contents of the memory cells C ij connected to all the bit lines BL can be tested at the same time, the time required for the test can be further shortened as compared with the case of one-to-many correspondence.

【0051】加えて、通常使用時とテストモード時と
で、上位アドレスデコーダ32の動作が同じになるた
め、従来の上位アドレスデコーダに特別な機能を付加す
ることなく、本実施形態に係る上位アドレスデコーダ3
2を容易に実現できる。
In addition, since the operation of the upper address decoder 32 is the same in the normal use and the test mode, the upper address decoder according to the present embodiment can be provided without adding a special function to the conventional upper address decoder. Decoder 3
2 can be easily realized.

【0052】また、本実施形態では、第3ポート群6c
に設けられた端子6cj に所定のテスト電圧を印加して
いるが、これに限るものではない。例えば、所定の電流
を印加して、各ビットラインBLj に発生する電圧値を
測定し、これに基づいて、メモリセルCijのデータがロ
ーであるかハイであるかのテストをしてもよい。また、
各メモリセルCijが各端子6cj に接続された機器を駆
動して発生する電圧レベルの相違などによっても、メモ
リセルCijの内容を判定できる。
Further, in the present embodiment, the third port group 6c
Although a predetermined test voltage is applied to the terminal 6c j provided at, the invention is not limited to this. For example, a predetermined current is applied to measure the voltage value generated in each bit line BL j , and based on this, it is tested whether the data in the memory cell C ij is low or high. Good. Also,
The contents of the memory cell C ij can be determined by the difference in the voltage level generated by driving the device connected to each terminal 6c j by each memory cell C ij .

【0053】ただし、各端子6cj に所定の電圧を印加
して、対応するメモリセルCijに流れ込む電流値により
当該メモリセルCijの内容を判定することによって、各
メモリセルCijに必要な駆動能力は、端子6cj に接続
された機器を駆動する場合に比べて、大幅に低減でき
る。
[0053] However, by applying a predetermined voltage to the terminals 6c j, by determining the content of the memory cell C ij by a current value flowing into the corresponding memory cell C ij, required for each memory cell C ij The driving capability can be significantly reduced as compared with the case of driving a device connected to the terminal 6c j .

【0054】なお、本実施形態では、各ビットラインB
j と増幅部35との間には、通常のデータ出力時にお
いて、全ビットラインBLから、増幅部35と接続され
るビットラインBLj を選択するビットラインスイッチ
部34が設けられている。テストモード時には、該ビッ
トラインスイッチ部34により、各ビットラインBLj
と増幅部35との間を遮断し、通常使用時には、上記テ
スト用スイッチ部36により、各ビットラインBLj
端子6cj との間を遮断する。これにより、通常使用時
およびテストモード時において、各メモリセルCijは、
増幅部35あるいは端子6cj の何れか一方のみと接続
される。したがって、従来と同程度の駆動能力を持つメ
モリセルCijを用いても、何ら支障無く、該メモリセル
ijのデータをアクセスあるいはテストできる。
In this embodiment, each bit line B
A bit line switch unit 34 is provided between L j and the amplification unit 35 to select the bit line BL j connected to the amplification unit 35 from all the bit lines BL during normal data output. In the test mode, the bit line switch unit 34 causes each bit line BL j
And the amplifier section 35 are cut off, and during normal use, the test switch section 36 cuts off between each bit line BL j and the terminal 6c j . As a result, in the normal use and the test mode, each memory cell C ij
It is connected to only one of the amplifier 35 and the terminal 6c j . Therefore, even if the memory cell C ij having the same driving ability as the conventional one is used, the data in the memory cell C ij can be accessed or tested without any trouble.

【0055】一方、図3に示すROM部3aのように、
図1に示すテスト用スイッチ部36に代えて、ビットラ
インBLj と、図2に示す第3ポート群6cに設けられ
た端子6cj との間にテスト用増幅部37を設けてもよ
い。なお、説明の便宜上、図1に示す部材と同一の機能
を有する部材には、同一の符号を付記して、その説明を
省略する。
On the other hand, like the ROM section 3a shown in FIG.
Instead of the test switch section 36 shown in FIG. 1, a test amplifying section 37 may be provided between the bit line BL j and the terminal 6c j provided in the third port group 6c shown in FIG. For convenience of explanation, members having the same functions as those shown in FIG. 1 will be designated by the same reference numerals, and the description thereof will be omitted.

【0056】上記テスト用増幅部37は、ビットライン
BL1 ないしBLn 毎に設けられた増幅器(増幅手段)
1 ないしAn により構成されている。各増幅器A
j は、対応するビットラインBLj において、メモリセ
ル部31とビットラインスイッチ部34との接続点の電
位を増幅して、対応する端子6cj へ出力できる。な
お、通常使用時において、データのアクセスを妨げない
ように、各増幅器Aj の入力インピーダンスは、十分高
く設定されている。
The test amplifying section 37 is an amplifier (amplifying means) provided for each of the bit lines BL 1 to BL n.
It is composed of A 1 to A n . Each amplifier A
In the corresponding bit line BL j , j can amplify the potential at the connection point between the memory cell unit 31 and the bit line switch unit 34 and output it to the corresponding terminal 6c j . Note that the input impedance of each amplifier A j is set sufficiently high so as not to hinder data access during normal use.

【0057】また、本実施形態に係るROM部3aで
は、上記テスト用スイッチ部36が除かれているので、
テスト用制御信号2が不要になる。したがって、図2に
示す第1ポート群6aは、テスト用制御信号2の入力用
端子を備えていない。
Further, in the ROM section 3a according to this embodiment, the test switch section 36 is omitted, so that
The test control signal 2 becomes unnecessary. Therefore, the first port group 6a shown in FIG. 2 does not include a terminal for inputting the test control signal 2.

【0058】上記構成においても、上記ROM部3と略
同様に、ROM部3aをテストする際、下位アドレスデ
コーダ33は、テスト用制御信号1の指示に基づいて、
全てのビットラインスイッチBSW1 ないしBSWn
遮断させる。このとき、増幅器A1 ないし増幅器A
n は、活性化しており、各ビットラインBL1 ないしB
n の信号をそれぞれ増幅して、端子6c1 ないし6c
n より出力している。
Also in the above configuration, when testing the ROM section 3a, the lower address decoder 33, based on the instruction of the test control signal 1, is similar to the ROM section 3 described above.
All bit line switches BSW 1 to BSW n are turned off. At this time, the amplifier A 1 to the amplifier A
n is activated, and each bit line BL 1 to B
The signals of L n are respectively amplified and the terminals 6c 1 to 6c
It outputs from n .

【0059】この状態で、アドレスを入力すると、上位
アドレスデコーダ32は、該アドレスに対応したワード
ラインWLi を選択し、メモリセルCi1ないしCinを活
性化させる。この結果、当該メモリセルCi1ないしCin
のデータは、第3ポート群6cに設けられた端子6c1
ないし6cn から出力され、これらのデータを同時にテ
ストすることができる。
When an address is input in this state, the upper address decoder 32 selects the word line WL i corresponding to the address and activates the memory cells C i1 to C in . As a result, the memory cells C i1 to C in
Data is for the terminal 6c 1 provided in the third port group 6c.
Through 6c n , these data can be tested simultaneously.

【0060】各ワードラインWLi 毎に、測定が終わる
と、アドレス指定を繰り返し、上位アドレスデコーダ3
2に全てのワードラインWL1 ないしWLm を順次選択
させる。これにより、メモリセル部31内の全てのメモ
リセルCijのデータを第3ポート群6cから出力してテ
ストできる。この結果、図1に示すROM部3と同様
に、ビットラインBLの本数をnとすると、本実施形態
に係るROM部3aでも、テスト時間は、1/nに短縮
できる。
After the measurement is completed for each word line WL i , the address designation is repeated and the upper address decoder 3
Let 2 sequentially select all word lines WL 1 to WL m . As a result, the data of all the memory cells C ij in the memory cell section 31 can be output from the third port group 6c and tested. As a result, if the number of bit lines BL is n, as in the ROM section 3 shown in FIG. 1, the ROM section 3a according to the present embodiment can reduce the test time to 1 / n.

【0061】加えて、テスト用増幅部37は、メモリセ
ルCijのデータを増幅して、各端子6cj から出力す
る。したがって、上記ROM部3のように第3ポート群
6cに流れ込む微小な電流値を測定せず、1チップマイ
コン1の他のポート群6と同様に、第3ポート群6cの
出力電圧によって、メモリセル部31のデータをテスト
できる。この結果、1チップマイコン1をテストする際
に、各ポート群6に接続されるテスト機器(図示せず)
において、メモリセル部31のデータをテストする回路
と、通常時のデータ出力をテストする回路とを共用でき
る。したがって、上記ROM部3に比べて、ROM部3
aをテストする際に使用するテスト装置の構成を簡単に
できる。
In addition, the test amplifier 37 amplifies the data in the memory cell C ij and outputs it from each terminal 6c j . Therefore, unlike the ROM section 3, the minute current value flowing into the third port group 6c is not measured, and like the other port groups 6 of the one-chip microcomputer 1, the output voltage of the third port group 6c causes the memory The data in the cell part 31 can be tested. As a result, test equipment (not shown) connected to each port group 6 when testing the one-chip microcomputer 1
In, the circuit for testing the data in the memory cell portion 31 and the circuit for testing the data output in the normal state can be shared. Therefore, as compared with the ROM section 3, the ROM section 3
The configuration of the test device used when testing a can be simplified.

【0062】なお、本実施形態でも、テスト用増幅部3
7に設けられた増幅器Aj の数、および、第3ポート群
6cに設けられた端子6cj の数は、ビットラインBL
j の数と同じに設定されているが、これに限るものでは
ない。例えば、複数の増幅器Aの出力をセレクタを介し
て、1つの端子に接続し、各増幅器Aの出力を順次切り
換えながら、該端子より出力してもよい。この場合、各
端子に接続した増幅器Aの数の最大値をmとすると、テ
スト時間は、従来に比べ、m/nに短縮できる。ただ
し、端子6cj および増幅器Aj と、ビットラインBL
j とを1対1に対応させることによって、同一ワードラ
インWL上の全てのメモリセルCijを同時にテストでき
るために、テスト時の所要時間をさらに削減できると共
に、セレクタなどが不要になるため、1チップマイコン
1の構成をさらに簡略化できる。
Also in this embodiment, the test amplifying section 3 is used.
The number of amplifiers A j provided in 7 and the number of terminals 6c j provided in the third port group 6c are equal to the number of bit lines BL.
It is set to the same as the number of j , but it is not limited to this. For example, the outputs of the plurality of amplifiers A may be connected to one terminal via a selector, and the output of each amplifier A may be output sequentially from the terminals while sequentially switching. In this case, if the maximum value of the number of amplifiers A connected to each terminal is m, the test time can be shortened to m / n as compared with the conventional case. However, the terminal 6c j, the amplifier A j, and the bit line BL
By associating j with one-to-one, all the memory cells C ij on the same word line WL can be tested at the same time, the time required for the test can be further reduced, and a selector or the like becomes unnecessary. The configuration of the one-chip microcomputer 1 can be further simplified.

【0063】なお、上記各実施形態では、1チップマイ
コンに本発明を適用した場合について説明しているが、
これに限るものではない。例えば、ROMやRAMな
ど、マトリクス状に配されるメモリセルCijを備えた半
導体集積回路であれば、上記各実施形態と同様の効果が
得られる。ただし、1チップマイコンのように、通常、
ROMなどの制御に必要な端子数に比べて、十分多くの
端子を備えている半導体集積回路に本発明を適用した場
合、テスト用に端子を増加させる必要がないため、特に
効果が大きい。
In each of the above embodiments, the case where the present invention is applied to a one-chip microcomputer has been described.
It is not limited to this. For example, a semiconductor integrated circuit including memory cells C ij arranged in a matrix, such as ROM and RAM, can achieve the same effects as those of the above embodiments. However, like a one-chip microcomputer,
When the present invention is applied to a semiconductor integrated circuit having a sufficient number of terminals as compared with the number of terminals required for controlling a ROM or the like, it is not necessary to increase the number of terminals for testing, so that the effect is particularly great.

【0064】[0064]

【発明の効果】請求項1の発明に係る半導体集積回路
は、以上のように、複数のテスト用端子と、各メモリセ
ルの内容をテストするテストモード時に、同一ワードラ
イン上に配された複数のメモリセルを同時に活性化する
活性化手段と、上記各テスト用端子と各ビットラインと
の間に介在し、上記テストモード時に、各テスト用端子
と、活性化したメモリセルが接続されているビットライ
ンとをそれぞれ電気的に接続するスイッチング手段とを
備えている構成である。
As described above, the semiconductor integrated circuit according to the invention of claim 1 has a plurality of test terminals and a plurality of test terminals arranged on the same word line in the test mode for testing the contents of each memory cell. Activating means for simultaneously activating the memory cells, and interposed between the test terminals and the bit lines, and the test terminals and the activated memory cells are connected in the test mode. And a switching means for electrically connecting each to the bit line.

【0065】それゆえ、複数のメモリセルの内容を同時
にテストすることができる。さらに、1つ1つのメモリ
セルに対して、アドレスを指定して内容をテストする半
導体集積回路と同様のテストの精度を保つことができ
る。この結果、半導体集積回路の品質を落とすことな
く、テスト時の所要時間を大幅に短縮できるという効果
を奏する。
Therefore, the contents of multiple memory cells can be tested simultaneously. Further, it is possible to maintain the same test accuracy as that of a semiconductor integrated circuit in which an address is designated and a content is tested for each memory cell. As a result, the time required for the test can be significantly reduced without degrading the quality of the semiconductor integrated circuit.

【0066】請求項2の発明に係る半導体集積回路は、
以上のように、請求項1記載の発明の構成において、上
記テスト用端子とビットラインとは1対1に対応してお
り、上記活性化手段は、上記テストモード時に、同一ワ
ードライン上に配された全てのメモリセルを活性化する
構成である。
A semiconductor integrated circuit according to the invention of claim 2 is
As described above, in the structure according to the first aspect of the present invention, the test terminals and the bit lines are in one-to-one correspondence, and the activation means are arranged on the same word line in the test mode. This is a configuration in which all the memory cells that have been activated are activated.

【0067】それゆえ、スイッチング手段は、スイッチ
などにより、容易に実現できる。この結果、従来の圧縮
回路を有する半導体集積回路に比べて構成を簡単にでき
るという効果を奏する。さらに、ワードライン上に配さ
れたメモリセルの一部をテストする場合に比べて、テス
トの所要時間をより短縮できるという効果を併せて奏す
る。
Therefore, the switching means can be easily realized by a switch or the like. As a result, there is an effect that the configuration can be simplified as compared with the conventional semiconductor integrated circuit having the compression circuit. In addition, the time required for the test can be further shortened as compared with the case where a part of the memory cells arranged on the word line is tested.

【0068】請求項3の発明に係る半導体集積回路のテ
スト方法は、以上のように、請求項1記載の半導体集積
回路のテスト方法であって、上記テストモード時に、同
一ワードライン上に配された複数の上記メモリセルを同
時に活性化する工程と、活性化した上記メモリセルと対
応する上記テスト用端子とに設けられた上記スイッチン
グ手段を導通させる工程と、上記各テスト用端子へ所定
の電圧を同時に印加する工程と、電圧印加時に各テスト
用端子へ流れ込む電流を測定して、各テスト用端子に接
続されている各メモリセルの状態を同時に測定する工程
とを含んでいる構成である。
As described above, the semiconductor integrated circuit testing method according to the third aspect of the present invention is the semiconductor integrated circuit testing method according to the first aspect, wherein the semiconductor integrated circuits are arranged on the same word line in the test mode. A step of simultaneously activating a plurality of the memory cells, a step of conducting the switching means provided in the activated memory cells and the corresponding test terminals, and a predetermined voltage to each of the test terminals. And a step of simultaneously measuring the state of each memory cell connected to each test terminal by measuring the current flowing into each test terminal when a voltage is applied.

【0069】上記の方法によれば、各メモリセルに流れ
込む電流値によって、当該メモリセルの内容をテストす
るので、従来と変わらず低い駆動能力のメモリセルを用
いても、各メモリセルとテスト用端子との間に増幅器を
設ける必要がない。これにより、テストの所要時間が短
く、かつ、簡単な構成の半導体集積回路を実現できると
いう効果を奏する。
According to the above method, the content of the memory cell is tested by the value of the current flowing into each memory cell. Therefore, even if a memory cell with a low driving capability is used as in the prior art, each memory cell and test It is not necessary to provide an amplifier between the terminals. As a result, it is possible to achieve a semiconductor integrated circuit having a short test time and a simple structure.

【0070】請求項4の発明に係る半導体集積回路は、
以上のように、複数のテスト用端子と、各メモリセルの
内容をテストするテストモード時に、同一ワードライン
上に配された複数のメモリセルを同時に活性化する活性
化手段と、上記各テスト用端子と各ビットラインとの間
に介在し、上記テストモード時に、活性化しているメモ
リセルが接続されているビットラインの信号を個々に増
幅し、対応する上記各テスト用端子へ出力する増幅手段
を備えている構成である。
A semiconductor integrated circuit according to the invention of claim 4 is
As described above, a plurality of test terminals, an activation means for simultaneously activating a plurality of memory cells arranged on the same word line in the test mode for testing the contents of each memory cell, and each of the above test An amplifying means which is interposed between the terminal and each bit line, individually amplifies the signal of the bit line connected to the activated memory cell in the test mode, and outputs the amplified signal to the corresponding test terminal. It is a configuration provided with.

【0071】それゆえ、従来のように、1つ1つのメモ
リセルに対して、アドレスを指定して内容をテストする
半導体集積回路に比べて、テストの精度を落とすことな
く、テスト時の所要時間を大幅に短縮できるという効果
を奏する。
Therefore, as compared with the conventional semiconductor integrated circuit in which an address is specified for each memory cell to test the contents, the time required for the test can be reduced without lowering the accuracy of the test. The effect of being able to greatly shorten is produced.

【0072】加えて、また、各増幅手段がビットライン
の信号を増幅しているので、通常使用時におけるデータ
出力と同様にメモリセルの内容をテストできる。この結
果、請求項1記載の半導体集積回路に比べて、半導体集
積回路をテストするテスト装置の構成を容易にできると
いう効果を併せて奏する。
In addition, since each amplifying means amplifies the signal on the bit line, the contents of the memory cell can be tested in the same manner as the data output during normal use. As a result, as compared with the semiconductor integrated circuit according to the first aspect, there is an effect that the configuration of the test device for testing the semiconductor integrated circuit can be made easier.

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

【図1】本発明の一実施形態を示すものであり、ROM
部を示す回路図である。
1 shows an embodiment of the present invention, a ROM
It is a circuit diagram which shows a part.

【図2】上記ROM部を内蔵する1チップマイコンの要
部を示すブロック図である。
FIG. 2 is a block diagram showing a main part of a one-chip microcomputer incorporating the ROM section.

【図3】本発明の他の実施形態を示すものであり、RO
M部を示す回路図である。
FIG. 3 shows another embodiment of the present invention, in which RO
It is a circuit diagram which shows the M section.

【図4】従来例を示すものであり、ROM部を示す回路
図である。
FIG. 4 illustrates a conventional example and is a circuit diagram illustrating a ROM unit.

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

1 1チップマイコン(半導体集積回
路) 6c 第3ポート群(テスト用端子) 32 上位アドレスデコーダ(活性化手
段) A1 〜An 増幅器(増幅手段) BL1 〜BLn ビットライン BSW1 〜BSWn ビットラインスイッチ(スイッチ
ング手段) C11〜Cmn メモリセル WL1 〜WLm ワードライン
1 1-chip microcomputer (semiconductor integrated circuit) 6c Third port group (test terminal) 32 Upper address decoder (activating means) A 1 to An amplifier (amplifying means) BL 1 to BL n Bit line BSW 1 to BSW n Bit line switch (switching means) C 11 to C mn memory cell WL 1 to WL m word line

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】互いに直交して配される複数のビットライ
ンおよび複数のワードラインと、 上記両ラインの各交差点に配され、両ラインに接続され
たメモリセルとを有する半導体集積回路において、 複数のテスト用端子と、 各メモリセルの内容をテストするテストモード時に、同
一ワードライン上に配された複数のメモリセルを同時に
活性化する活性化手段と、 上記各テスト用端子と各ビットラインとの間に介在し、
上記テストモード時に、各テスト用端子と、活性化した
メモリセルが接続されているビットラインとをそれぞれ
電気的に接続するスイッチング手段とを備えていること
を特徴とする半導体集積回路。
1. A semiconductor integrated circuit having a plurality of bit lines and a plurality of word lines arranged orthogonal to each other, and a memory cell arranged at each intersection of the both lines and connected to the both lines. Of the test terminals and the activation means for simultaneously activating a plurality of memory cells arranged on the same word line in the test mode for testing the contents of each memory cell, the above-mentioned test terminals and each bit line, Intervenes between
A semiconductor integrated circuit comprising: each of the test terminals in the test mode and a switching means for electrically connecting the bit line to which the activated memory cell is connected.
【請求項2】上記テスト用端子とビットラインとは1対
1に対応しており、 上記活性化手段は、上記テストモード時に、同一ワード
ライン上に配された全てのメモリセルを活性化すること
を特徴とする請求項1記載の半導体集積回路。
2. The test terminals and the bit lines correspond to each other on a one-to-one basis, and the activation means activates all the memory cells arranged on the same word line in the test mode. The semiconductor integrated circuit according to claim 1, wherein:
【請求項3】上記テストモード時に、同一ワードライン
上に配された複数の上記メモリセルを同時に活性化する
工程と、 活性化した上記メモリセルと対応する上記テスト用端子
とに設けられた上記スイッチング手段を導通させる工程
と、 上記各テスト用端子へ所定の電圧を同時に印加する工程
と、 電圧印加時に各テスト用端子へ流れ込む電流を測定し
て、各テスト用端子に接続されている各メモリセルの状
態を同時に測定する工程とを含んでいることを特徴とす
る請求項1記載の半導体集積回路のテスト方法。
3. A step of simultaneously activating a plurality of the memory cells arranged on the same word line in the test mode, and the test terminal provided corresponding to the activated memory cells. A step of conducting the switching means, a step of simultaneously applying a predetermined voltage to each of the test terminals, and a step of measuring a current flowing into each of the test terminals at the time of applying a voltage, and measuring each memory connected to each of the test terminals. 2. The method for testing a semiconductor integrated circuit according to claim 1, further comprising the step of simultaneously measuring the state of cells.
【請求項4】互いに直交して配される複数のビットライ
ンおよび複数のワードラインと、 上記両ラインの各交差点に配され、両ラインに接続され
たメモリセルとを有する半導体集積回路において、 複数のテスト用端子と、 各メモリセルの内容をテストするテストモード時に、同
一ワードライン上に配された複数のメモリセルを同時に
活性化する活性化手段と、 上記各テスト用端子と各ビットラインとの間に介在し、
上記テストモード時に、活性化しているメモリセルが接
続されているビットラインの信号を個々に増幅し、対応
する上記各テスト用端子へ出力する増幅手段を備えてい
ることを特徴とする半導体集積回路。
4. A semiconductor integrated circuit having a plurality of bit lines and a plurality of word lines arranged orthogonally to each other, and memory cells arranged at respective intersections of the both lines and connected to the both lines. Of the test terminals and the activation means for simultaneously activating a plurality of memory cells arranged on the same word line in the test mode for testing the contents of each memory cell, the above-mentioned test terminals and each bit line, Intervenes between
In the test mode, the semiconductor integrated circuit is provided with an amplifying unit that individually amplifies a signal of a bit line to which an activated memory cell is connected and outputs the amplified signal to each corresponding test terminal. .
JP8056358A 1996-03-13 1996-03-13 Semiconductor integrated circuit and test method Pending JPH09251799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8056358A JPH09251799A (en) 1996-03-13 1996-03-13 Semiconductor integrated circuit and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8056358A JPH09251799A (en) 1996-03-13 1996-03-13 Semiconductor integrated circuit and test method

Publications (1)

Publication Number Publication Date
JPH09251799A true JPH09251799A (en) 1997-09-22

Family

ID=13025030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8056358A Pending JPH09251799A (en) 1996-03-13 1996-03-13 Semiconductor integrated circuit and test method

Country Status (1)

Country Link
JP (1) JPH09251799A (en)

Similar Documents

Publication Publication Date Title
EP0055129B1 (en) Semiconductor memory device
KR960001300B1 (en) Semiconductor memory device
US6457141B1 (en) Semiconductor device with embedded memory cells
KR0172347B1 (en) Parallel test circuit of semiconductor memory equipment
JPH0729394A (en) Method and equipment for testing of semiconductor memory containing redundant memory cell
US6442717B1 (en) Parallel bit testing circuits and methods for integrated circuit memory devices including shared test drivers
KR100464940B1 (en) Semiconductor memory device of parallel test mode
EP1707973B1 (en) Semiconductor device and method for testing semiconductor device
US5615166A (en) Semiconductor memory integrated circuit
JPH09251799A (en) Semiconductor integrated circuit and test method
KR970012789A (en) Semiconductor memory device capable of externally checking the test mode in operation
US5675539A (en) Method and circuit for testing memories in integrated circuit form
JPH06223596A (en) Parallel testing circuit
JPH0687360B2 (en) Semiconductor memory device
JPS59175094A (en) Semiconductor memory
KR100293067B1 (en) Roll call tester
KR100627515B1 (en) Memory device and test method thereof
KR100537115B1 (en) Semiconductor memory device
US5781484A (en) Semiconductor memory device
JPS59112500A (en) Semiconductor memory device
JP3367404B2 (en) Fuse circuit and semiconductor memory device
KR100370173B1 (en) Integrated circuit of semiconductor device
JP3145982B2 (en) Semiconductor memory device and redundant cell address detecting method
JPH04248195A (en) Read-only memory and method for testing this memory
JPH0317899A (en) Semiconductor memory