JPH032680A - Semiconductor integrated circuit apparatus - Google Patents

Semiconductor integrated circuit apparatus

Info

Publication number
JPH032680A
JPH032680A JP1137879A JP13787989A JPH032680A JP H032680 A JPH032680 A JP H032680A JP 1137879 A JP1137879 A JP 1137879A JP 13787989 A JP13787989 A JP 13787989A JP H032680 A JPH032680 A JP H032680A
Authority
JP
Japan
Prior art keywords
test
input
data
circuit
semiconductor integrated
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.)
Granted
Application number
JP1137879A
Other languages
Japanese (ja)
Other versions
JP2695240B2 (en
Inventor
Junichi Shikatani
鹿谷 順一
Mitsugi Naito
内藤 貢
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1137879A priority Critical patent/JP2695240B2/en
Priority to DE69016509T priority patent/DE69016509T2/en
Priority to EP90109882A priority patent/EP0403821B1/en
Priority to US07/527,977 priority patent/US5040150A/en
Priority to KR1019900008022A priority patent/KR930008415B1/en
Publication of JPH032680A publication Critical patent/JPH032680A/en
Application granted granted Critical
Publication of JP2695240B2 publication Critical patent/JP2695240B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To reduce the number of external terminals required in inputting and outputting test signals and test data by providing a testing circuit within a chip to test a macrocell based on the test signals from outside. CONSTITUTION:A semiconductor integrated circuit apparatus 1 is built containing a random logic circuit 2, a single port RAM 3, external input terminals 4-9 and an external input/output terminal 10. Input data I00-I (b-1) on the side of the random logic circuit 2 divided in plurality are inputted into a selector as input from the normal mode side while external test input data TI00-TI (b-1) for the semiconductor integrated circuit apparatus 1 are inputted thereinto and these input data are selected by an MTM signal. In this manner, one macrocell (single port RAM) is divided by a number as specified and a testing of one macrocell is performed as if a plurality of macrocells exist thereby enabling limiting of the number of terminals required.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 本発明の原理説明      (第1〜7図)本発明の
第1実施例    (第8図)本発明の第2実施例  
  (第9.10図)本発明の第3実施例    (第
11.12図)本発明の第4実施例    (第13図
)発明の効果 〔概要〕 同一チップ内にランダムロジック回路とマクロセルとを
混載した半導体集積回路装置に関し、使用ゲート数の増
大を招(ことなく、試験用端子を大幅に低減させること
のできる半導体集積回路装置を提供することを目的とし
、 1チツプ内にランダムロジック回路とマクロセルを混載
した半導体集積回路装置において、前記チップ内に外部
からの試験信号に基づいて前記マクロセルの試験を行う
試験回路を設け、該試験回路は、1つのマクロセルを所
定のビット幅を有す。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Working Examples Explanation of the Principle of the Present Invention (Figures 1 to 7) The Present Invention First embodiment of the present invention (Fig. 8) Second embodiment of the present invention
(Figure 9.10) Third embodiment of the present invention (Figure 11.12) Fourth embodiment of the present invention (Figure 13) Effects of the invention [Summary] A random logic circuit and a macro cell are included in the same chip. The purpose of the present invention is to provide a semiconductor integrated circuit device that can significantly reduce the number of test terminals without increasing the number of gates used in a mixed semiconductor integrated circuit device. In a semiconductor integrated circuit device in which a macro cell is embedded, a test circuit for testing the macro cell based on an external test signal is provided in the chip, and the test circuit tests one macro cell with a predetermined bit width.

る複数のマクロセルに分割し、分割後のマクロセルに対
して前記試験を行うように構成されている。
The macrocell is divided into a plurality of macrocells, and the test is performed on the divided macrocell.

〔産業上の利用分野〕[Industrial application field]

本発明は、半導体集積回路装置に関し、詳しくは同一チ
ップ内にランダムロジック回路とRAM、ROMおよび
乗算器等のマクロセルとを混載した複合化半導体集積回
路装置に係り、特に、試験用端子を減少させることが可
能なマクロセルの試験回路の改良に関する。
The present invention relates to a semiconductor integrated circuit device, and more particularly to a composite semiconductor integrated circuit device in which a random logic circuit and macro cells such as RAM, ROM, and multipliers are mixed in the same chip, and in particular, it relates to a compound semiconductor integrated circuit device in which a random logic circuit and a macro cell such as a RAM, ROM, and a multiplier are mounted together on the same chip. This invention relates to improvements in macrocell test circuits that can be used to test macrocells.

近年の半導体製造技術の進歩に伴い、半導体集積回路1
個のチップ内に搭載できるゲート規模が飛躍的に大きく
なり、数万〜数十万ゲート搭載可能な半導体集積回路が
見られるようになってきた。
With recent advances in semiconductor manufacturing technology, semiconductor integrated circuits 1
The scale of gates that can be mounted on a single chip has increased dramatically, and semiconductor integrated circuits that can mount tens of thousands to hundreds of thousands of gates are now being seen.

しかし、1個のチップ内のランダムロジック部は多くて
も数万ゲート程度までであり、これ以上の規模になると
論理設計および論理検証が非常に難しくなる。そのため
、RAM、、ROM、乗算器、ALUなどのマクロセル
の搭載が必須となってきており、ビット幅の大きいマク
ロセルが搭載され。
However, the random logic section in one chip is limited to tens of thousands of gates at most, and logic design and logic verification become extremely difficult when the scale becomes larger than this. Therefore, it has become essential to install macro cells such as RAM, ROM, multipliers, and ALUs, and macro cells with large bit widths are installed.

た場合の試験方法が問題になってきている。The testing method used in these cases has become an issue.

〔従来の技術〕[Conventional technology]

従来、ランダムロジックとマクロセルを搭載した半導体
集積回路では、論理設計者(ユーザ)に試験回路作成と
試験パターンを作成してもらうことが多かった。すなわ
ち、ビット、ワード幅が変わるということはマクロセル
の大きさが変わってしまうことを意味し、その試験のた
めの試験回路も大きさが異なるため、論理設計者が試験
回路を作成することが一般的であった。しかし、マクロ
セルの搭載される種類や個数が増えると論理設計者の負
担が非常に大きくなってくることから、半導体ベンダ側
で試験を行う必要性が強くなってきた。
Conventionally, in semiconductor integrated circuits equipped with random logic and macro cells, logic designers (users) were often asked to create test circuits and test patterns. In other words, changing the bit or word width means changing the size of the macrocell, and the test circuit for that test also differs in size, so it is common for logic designers to create the test circuit. It was a target. However, as the types and number of macrocells installed increase, the burden on logic designers becomes extremely heavy, so there is an increasing need for semiconductor vendors to conduct testing.

半導体ベンダ側で試験を行うためには試験専用の回路が
必要であり、その方法として大きく分類すると二種類が
考えられる。1つはスキャンフリップフロップを利用し
てデータをシリアルに読み出す方法、もう1つは、被試
験マクロセルの全端子を外部端子から直接制御する方法
である。前者の方法は、スキャンフリップフロップをシ
リアルに組み込んでおき、通常モードの状態で外部から
シテスムクロックを与えてスキャンフリップフロップに
入力した後、スキャンモードに設定し、スキャンイン端
子を入力とし、スキャンアウト端子を出力としてスキャ
ンフリップフロップの数だけスキャンクロツタを与えて
データをシフトさせてシリアルに読み出すものである。
In order to conduct tests on the semiconductor vendor side, a circuit dedicated to testing is required, and there are two main types of methods for doing so. One method is to serially read data using scan flip-flops, and the other method is to directly control all terminals of the macrocell under test from external terminals. The former method is to incorporate a scan flip-flop serially, give a system clock externally in normal mode and input it to the scan flip-flop, then set it to scan mode, use the scan-in terminal as input, and set the scan-out terminal to the scan flip-flop. The terminal is used as an output, and a scan clock is applied as many times as there are scan flip-flops to shift the data and read it out serially.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の半導体集積回路装置に
あっては、前者の方法では使用する外部端子は少ないも
のの、スキャンフリップフロップを利用するための使用
ゲート数が増え、シリアル読み出しのため試験パターン
が多くなるという問題点があった。例えば、ピント、ワ
ード幅が46あるときは46個のスキャンフリップフロ
ップが必要になり、これらフリップフロップに用いるロ
ジック用の回路が非常に増え、RAMのテストには不向
きである。
However, in such conventional semiconductor integrated circuit devices, although the former method uses fewer external terminals, the number of gates used increases to utilize scan flip-flops, and the number of test patterns increases due to serial readout. There was a problem with that. For example, when the focus and word width are 46, 46 scan flip-flops are required, which greatly increases the number of logic circuits used for these flip-flops, making it unsuitable for testing RAM.

また、後者の方法では、使用ゲート数は少なく試験パタ
ーン数も少ないが、LSIの外部端子から直接マクロセ
ルにテストパターンを入力するため多くの外部端子が必
要となる。したがって、ビット数の多いRAM、ROM
、乗算器、ALUなどを使用した場合、試験に必要な端
子が、パッケージの端子数から電源端子をのぞいた使用
可能な端子数を超えることがある。また、試験用端子の
殆どはユーザ用端子と共用することができるが、共用端
子にすると共用した端子に負荷がつき遅延時間が増大し
て特性が悪(なり論理設計者の要求している特性が得ら
れなくなることがあり、実際に使用できる共用端子は、
かなり減少する。従来では、ビット幅も比較的短かった
ため、上記不具合はそれ程には問題となることはなかっ
たが、最近ではピント幅の非常に大きいマクロセルが混
載されるのに伴い試験用端子の増大が深刻な問題となっ
てきている。
Furthermore, in the latter method, the number of gates used is small and the number of test patterns is small, but a large number of external terminals are required because the test patterns are input directly from the external terminals of the LSI to the macrocell. Therefore, RAM and ROM with a large number of bits
, multiplier, ALU, etc., the number of terminals required for testing may exceed the number of usable terminals, which is the number of terminals on the package, excluding the power supply terminals. In addition, most of the test terminals can be shared with user terminals, but if they are shared, the shared terminals will be loaded, delay time will increase, and the characteristics will be poor (and the characteristics required by the logic designer). The common terminals that can actually be used are
It decreases considerably. In the past, the bit width was relatively short, so the above-mentioned problem did not pose much of a problem.However, recently, as macro cells with extremely large focus widths have been mixed together, the number of test terminals has increased seriously. This is becoming a problem.

そこで本発明は、使用ゲート数の増大を招くことなく、
試験用端子を大幅に低減させることのできる半導体集積
回路装置を提供することを目的としている。
Therefore, the present invention provides the following advantages: without increasing the number of gates used;
It is an object of the present invention to provide a semiconductor integrated circuit device that can significantly reduce the number of test terminals.

幅を有する複数のマクロセルに分υ1し、分割後のマク
ロセルに対してマクロセルの試験が行われる。
The macrocell is divided into a plurality of macrocells having a width υ1, and a macrocell test is performed on the macrocell after the division.

したがって、大きなビット幅を持つマクロセルのために
多数の試験用外部端子を用意する必要がなくなり、試験
信号および試験データを入出力する際に必要な外部端子
数が大幅に減少する。
Therefore, there is no need to prepare a large number of test external terminals for macrocells having a large bit width, and the number of external terminals required for inputting and outputting test signals and test data is significantly reduced.

C課題を解決するための手段〕 本発明による半導体集積回路装置は上記目的達成のため
、1チツプ内にランダムロジック回路とマクロセルを混
載した半導体集積回路装置において、前記チップ内に外
部からの試験信号に基づいて前記マクロセルの試験を行
う試験回路を設け、該試験回路は、1つのマクロセルを
所定のビット幅を有する複数のマクロセルに分割し、分
割後のマクロセルに対して前記試験を行うように構成す
る。
Means for Solving Problem C] In order to achieve the above-mentioned object, the semiconductor integrated circuit device according to the present invention is a semiconductor integrated circuit device in which a random logic circuit and a macro cell are mixedly mounted in one chip, and in which a test signal from an external source is inserted into the chip. A test circuit is provided that tests the macrocell based on the above, and the test circuit is configured to divide one macrocell into a plurality of macrocells having a predetermined bit width and to perform the test on the divided macrocell. do.

〔作用〕[Effect]

本発明では、1つのマクロセルを所定のピント〔実施例
〕 以下、本発明を図面に基づいて説明する。
In the present invention, one macro cell is brought into a predetermined focus [Example] The present invention will be described below with reference to the drawings.

1皿に皿 本発明は、1個のマクロセルを任意のビットに分割し複
数のマクロセルとして試験を行うことができるようにし
た試験専用回路を設け、マクロセルを外部から直接コン
トロールできるようにする。
The present invention provides a dedicated test circuit that can divide one macrocell into arbitrary bits and test them as a plurality of macrocells, thereby making it possible to directly control the macrocell from the outside.

そして、マクロテストモード信号M T Mを専用端子
とし、この信号によって通常モードかマクロセルの試験
モードかを選択するとともに、他のマクロセル試験に必
要な信号は、通常モードで使用する外部端子と共用にす
る。ここにいうマクロセルは複数のビット幅を有し、機
能ブロックが複数個あるものをいい、RAM、ROM、
乗算器、ALU等を示す。
The macro test mode signal MTM is used as a dedicated terminal, and this signal selects between normal mode and macro cell test mode, and other signals necessary for macro cell testing are shared with external terminals used in normal mode. do. The macrocell referred to here refers to a cell with multiple bit widths and multiple functional blocks, such as RAM, ROM,
Multipliers, ALUs, etc. are shown.

第1〜7図は本発明の基本原理を説明するための図であ
り、マクロセルとしてシングルポートRAMを用いた例
である。第1図において、1はランダムロジック回路2
、シングルポートRAM3を同一チップ内に混載した複
合化半導体集積回路(半導体集積回路装置)であり、半
導体集積回路装置1はランダムロジック回路2、シング
ルポートRAM3、外部入力端子4〜9、外部入出力端
子10、入力バッファ11〜13、双方向人出力バッフ
ァ14、マクロテストモード信号MTMによりランダム
ロジック回路2からの入力信号とマクロセルの試験用人
力信号を選択するセレクタ回路15〜18、ビットセレ
クト信号により後述すの出力データバス23にどのビッ
トのテスト用出力信号を出力するかを選択するバスドラ
イバ19.20、テスト回路専用アドレス・バス21、
テスト回路専用の入力データ・バス22およびテスト回
路専用の出力データ・バス23を含んで構成されている
1 to 7 are diagrams for explaining the basic principle of the present invention, and are examples in which a single port RAM is used as a macro cell. In FIG. 1, 1 is a random logic circuit 2
, a composite semiconductor integrated circuit (semiconductor integrated circuit device) in which a single-port RAM 3 is mounted on the same chip, and the semiconductor integrated circuit device 1 has a random logic circuit 2, a single-port RAM 3, external input terminals 4 to 9, and external input/output. Terminal 10, input buffers 11 to 13, bidirectional human output buffer 14, selector circuits 15 to 18 that select the input signal from the random logic circuit 2 and the human input signal for macro cell testing using the macro test mode signal MTM, and the bit select signal. A bus driver 19, 20 that selects which bit of the test output signal is to be output to the output data bus 23, which will be described later; a test circuit dedicated address bus 21;
It is configured to include an input data bus 22 dedicated to the test circuit and an output data bus 23 dedicated to the test circuit.

外部入力端子4〜9にはそれぞれRAMのテストモード
選択信号(Macro Te5t Mode) M T
 M、テストモード時のライトイネーブル信号(Tes
tWrite Enable) T W E 、テスト
モード時のビット分割試験を行う際の制御信号(Bit
 5elect) B SQ、BSI、テスト回路用ア
ドレス信号(TestAddress) T A、テス
ト回路用入力データ信号(Test Data Inp
ut)T Iが入力され、外部入出力端子IOからはテ
スト回路用出力データ信号(TestData 0ut
put) TOが出力される。また、31はテスト用ア
ドレス端子とランダムロジック回路用端子を共用にした
場合のランダムロジック回路用入力データ、32はテス
ト用人力データ端子とランダムロジック回路用端子を共
用にした場合のランダムロジック回路用入力データ、3
3はテスト用出力データ端子とランダムロジック回路用
端子を共用にした場合のランダムロジック回路用入力デ
ータ、34はランダムロジック回路側のライトイネーブ
ル信号、35はランダムロジック回路側のアドレス信号
、36.37はランダムロジック回路側の入力デ−夕信
号、38.39はランダムロジック回路側の出力データ
信号である。
External input terminals 4 to 9 each have a RAM test mode selection signal (Macro Te5t Mode) M T
M, write enable signal in test mode (Tes
tWrite Enable) T W E , control signal (Bit
5elect) B SQ, BSI, address signal for test circuit (TestAddress) T A, input data signal for test circuit (Test Data Inp
ut) T I is input, and the test circuit output data signal (TestData 0ut) is input from the external input/output terminal IO.
put) TO is output. In addition, 31 is the input data for the random logic circuit when the test address terminal and the random logic circuit terminal are shared, and 32 is the input data for the random logic circuit when the test human data terminal and the random logic circuit terminal are shared. Input data, 3
3 is the input data for the random logic circuit when the test output data terminal and the random logic circuit terminal are shared, 34 is the write enable signal on the random logic circuit side, 35 is the address signal on the random logic circuit side, 36.37 is an input data signal on the random logic circuit side, and 38.39 is an output data signal on the random logic circuit side.

アドレスバス21のピント幅はシングルボートトR・A
M3のアドレス本数と同じとしてシングルポートRAM
3に人力する。人力データバス22のビット幅はシング
ルポートRAM3のビット幅を分割したうち最大のビッ
ト幅を持つもので決まる。例えば、ビット幅15ビツト
のRAMを2分割したい場合、8ビツトと7ビツトに分
割できるため入力データパスのビット幅は8ビツトとな
る。出力データハス23も人力データバス22と同様に
ビット幅はRAMのビット幅を分割したうち最大のビッ
ト幅を持つもので決まる。RAMの場合には、入力デー
タと出力データのビット幅は同じである。なお、大力バ
ッファ11〜13は入力と入力の組み合わせであるが、
MTM信号で制御することにより、入力と双方向等どの
組み合わせでも可能である。
The focus width of the address bus 21 is single port R/A.
Single port RAM with the same number of addresses as M3
3. Manpower. The bit width of the human-powered data bus 22 is determined by dividing the bit width of the single port RAM 3 into one having the largest bit width. For example, if it is desired to divide a RAM with a bit width of 15 bits into two, the bit width of the input data path will be 8 bits because it can be divided into 8 bits and 7 bits. Similarly to the human-powered data bus 22, the bit width of the output data bus 23 is determined by dividing the bit width of the RAM into the largest bit width. In the case of RAM, the input data and output data have the same bit width. Note that the large power buffers 11 to 13 are a combination of inputs and inputs,
By controlling with MTM signals, any combination such as input and bidirectional is possible.

双方向人出力バッファ14も同様に出力と出力、出力と
双方向等の組み合わせが可能である。
Similarly, the bidirectional human output buffer 14 can be combined with output and output, output and bidirectional, etc.

また、第1図では図面が煩雑となるため、バッファ12
〜14は3個しか描かれていないが、実際は、バッファ
12〜14はアドレステスト入力データテスト出力デー
タの本数と同じ個数が必要である。
In addition, since the drawing in FIG. 1 is complicated, the buffer 12
Although only three buffers 12 to 14 are shown, in reality, the same number of buffers 12 to 14 as the number of address test input data test output data is required.

第2図はシングルポートRAM3のブロック図、第3図
はテスト回路を内蔵したシングルポートRAM3のブロ
ック図である。第2.3図において、シングルポートR
AM3は、バッファ41、アドレスバッファ42、アド
レス遷移検出回路(ATD)43、プリチャージ回路4
4、ロウデコーダ45、コラムデコーダ46、センスア
ンプ47、ライトアンプ48、コラムセレクト49およ
び記憶セルを行、列方向にマトリクス状に所定の容量で
配置したメモリセルアレイ50により構成されている。
FIG. 2 is a block diagram of the single port RAM 3, and FIG. 3 is a block diagram of the single port RAM 3 with a built-in test circuit. In Figure 2.3, single port R
AM3 includes a buffer 41, an address buffer 42, an address transition detection circuit (ATD) 43, and a precharge circuit 4.
4, a row decoder 45, a column decoder 46, a sense amplifier 47, a write amplifier 48, a column select 49, and a memory cell array 50 in which memory cells are arranged in a matrix in the row and column directions with a predetermined capacity.

バッファ41はデータの書き込み読み出しを制御するラ
イトイネーブル(t 号WEをバッファリングしてロウ
デコーダ45、コラムデコーダ46、センスアンプ47
、ライトアンプ48に出力し、アドレスバッファ42は
ロウアドレスとコラムアドレスとをマルチプレクスして
人力される外部アドレス(A00〜A+a−+))をバ
ッファリングするもので、外部アドレスはアドレス遷移
検出回路43、ロウデコーダ45およびコラムデコーダ
46に出力される。アドレス遷移検出回路43はアドレ
スバッファ42から送られてきた外部。
The buffer 41 is a write enable (t) that controls data writing and reading.
, to the write amplifier 48, and the address buffer 42 buffers the external address (A00 to A+a-+) manually entered by multiplexing the row address and column address, and the external address is output to the address transition detection circuit. 43, and is output to the row decoder 45 and column decoder 46. The address transition detection circuit 43 receives external data sent from the address buffer 42.

アドレスに基づいてその遷移状態を検出しこれをプリチ
ャージ回路44およびセンスアンプ47に伝える。プリ
チャージ回路44はこの検出結果に従ってメモリセルア
レイ50のデータ線をプリチャージする。ロウデコーダ
45は伝えられた外部アドレス若しくは内部アドレスを
デコードし、このデコード結果に従ってメモリセルアレ
イ50の多数のワード線のうちの1つを選択して活性化
させる。コラムデコーダ46は伝えられた外部アドレス
をデコードしてコラムセレクト49に出力する。ライト
アンプ48は外部からのデータ(I OO= I <−
1,)をバッファリングし、このデータをコラムセレク
ト49に出力するとともに、コラムデコーダ46からの
デコード結果に従ってメモリセルアレイ50の多数のビ
ット線のうちの1つを選択する。センスアンプ47はコ
ラムセレクト49を介して選択されたビット線の電位を
増幅してこのビット線に接続されたメモリセルのデータ
(DOO〜D!Il+−11)を読み出す。
The transition state is detected based on the address and transmitted to the precharge circuit 44 and sense amplifier 47. Precharge circuit 44 precharges the data line of memory cell array 50 according to this detection result. Row decoder 45 decodes the transmitted external address or internal address, and selects and activates one of the many word lines of memory cell array 50 according to the decode result. Column decoder 46 decodes the transmitted external address and outputs it to column select 49. The write amplifier 48 receives external data (I OO = I <-
1, ), and outputs this data to column select 49, and selects one of the many bit lines of memory cell array 50 according to the decoding result from column decoder 46. The sense amplifier 47 amplifies the potential of the bit line selected via the column select 49 and reads out the data (DOO to D!Il+-11) of the memory cell connected to this bit line.

第2図に示したシングルポートRAM3の内部。Inside of the single port RAM 3 shown in FIG.

構成自体は従来のものと同一構成であるが、シングルポ
ートRA M 3にはランダムロジック回路2からの信
号のほか、試験専用回路を介して外部端子から信号が入
出力される点で従来のものと異なっている。すなわち、
第3図に示すようにランダムロジック回路2側のライト
イネーブル信号WEおよびテストモード時のライトイネ
ーブル信号TWEはセレクタ51に入力され、テストモ
ード選択信号MTMにより選択されてバッファ41に出
力される。セレクタ52には通常モード側からの入力と
してランダムロジック回路2から外部アドレス八00〜
A(a−11が人力され、これらのアドレスはMTM信
号により選択される。また、セレクタ53には通常モー
ド側からの入力として複数に(本例では2つに)分割さ
れたランダムロジ1.り回路2側の入力データ100〜
I (b−1が入力されるとともに、半導体集積回路装
置1外部テスト人力デ−夕T!、、〜T I <b−1
,が入力され、これらの入力データはMTM信号により
選択される。一方、メモリセルアレイ50のデータはコ
ラムセレクト49゜およびセンスアンプ47を介してユ
ーザ側への出力DOO〜Dい−、、としてシングルボー
トRAM3外部に出力されるとともに、バスドライバ5
4に出力され、バスドライバ54はビットセレクト信号
BSに従って所定のビットのデータをテスト出力データ
TDOO〜TD(11−11として外部に出力する。
The configuration itself is the same as the conventional one, but in addition to the signals from the random logic circuit 2, the single port RAM 3 is different from the conventional one in that signals are input and output from the external terminal via the test-dedicated circuit. It is different from That is,
As shown in FIG. 3, the write enable signal WE on the random logic circuit 2 side and the write enable signal TWE in the test mode are input to the selector 51, selected by the test mode selection signal MTM, and output to the buffer 41. The selector 52 receives an external address 800~ from the random logic circuit 2 as an input from the normal mode side.
A (a-11) is input manually, and these addresses are selected by the MTM signal.The selector 53 also receives random logic 1. Input data 100 on the circuit 2 side
I (b-1 is input, and the semiconductor integrated circuit device 1 external test manual data T!, ...T I <b-1
, and these input data are selected by the MTM signal. On the other hand, the data of the memory cell array 50 is outputted to the outside of the single boat RAM 3 via the column select 49 and the sense amplifier 47 as outputs DOO to DII to the user side, and
The bus driver 54 outputs data of a predetermined bit to the outside as test output data TDOO to TD (11-11) in accordance with the bit select signal BS.

この場合、バスドライバ54に代えてセレクタを使用し
てもよい。上記セレクタ51、セレクタ52、セレクタ
53およびバスドライバ54は前述した第1図のセレク
タ回路18、セレクタ回路17、セレクタ回路15.1
6およびバスドライバ19.20にそれぞれ相当し、こ
れらは全体として試験回路を構成している。
In this case, a selector may be used instead of the bus driver 54. The selector 51, selector 52, selector 53, and bus driver 54 are the selector circuit 18, selector circuit 17, and selector circuit 15.1 shown in FIG.
6 and bus drivers 19 and 20, respectively, and these constitute a test circuit as a whole.

第4〜7図は第1図に示す原理説明図のタイミングチャ
ートであり、第5〜7図は第4図の詳細なタイミングチ
ャートである。第4図において、マクロテストモード選
択信号MTMを“L”にするとテストモードに入り、テ
スト時のライトイネーブル信号TWEを“L”′にした
とき書込可能になる。第4図(d)に示すようにあるア
ドレス(T A O0〜TAt−n  )が選択されて
いるとそのテストデータ(TTo。〜T I fn−1
1がシングルボートRAM3に書き込まれ(第4図(C
)参照)、次のサイクルでライトイネーブル信号TWB
を”H“にして続出状態に入ると第4図(C)に示すビ
ットセレクト(BSO〜BS L)の出力に応じてここ
で書き込まれたデータ(TDOO〜TDLm−11)あ
るいは(T D m−T Dfi−+ )が出力される
。具体的には、■のサイクルでは、“’AI”のアドレ
スに“’ I 1 ”のデータを書き込み、■のサイク
ルでは、“A1“のアドレスのデータをTD OT D
 (m−11端子からデータを読み出す。■のサイクル
では、“A2゛のアドレスに“I2゛のデータを書き込
み、■のサイクルでは、“A2パのアドレスのデータを
TDO〜T D (n−+ 、端子からデータを読み出
す。■〜■のサイクルではTDO〜T D (m−1)
端子を選択しており、m本のテスト用出力データ端子か
らデータを読み出す。この時、T D m−T D <
n −+ + の出力は無効(すなわち、Z(ハイイン
ピーダンス)状態とする)である。
4-7 are timing charts of the principle explanatory diagram shown in FIG. 1, and FIGS. 5-7 are detailed timing charts of FIG. 4. In FIG. 4, when the macro test mode selection signal MTM is set to "L", the test mode is entered, and when the write enable signal TWE during testing is set to "L"', writing becomes possible. As shown in FIG. 4(d), when a certain address (TAO0~TAt-n) is selected, the test data (TTo.~TIfn-1) is selected.
1 is written to the single boat RAM 3 (see Figure 4 (C
), the write enable signal TWB is activated in the next cycle.
When set to "H" to enter the successive state, the data written here (TDOO to TDLm-11) or (T D m -TDfi-+) is output. Specifically, in the cycle ■, the data of "'I 1" is written to the address of "'AI", and in the cycle of ■, the data of the address of "A1" is written as TD OT D.
(Read data from the m-11 terminal. In the cycle (■), write the data of "I2" to the address of "A2", and in the cycle of (■) write the data of the address of "A2" from TDO to T D (n-+ , reads data from the terminal. In cycles from ■ to ■, TDO to T D (m-1)
A terminal is selected, and data is read from m test output data terminals. At this time, T D m−T D <
The output of n −+ + is invalid (that is, it is in the Z (high impedance) state).

■〜■のサイクルではアドレスおよび入力データは同じ
であるが、出力端子はT D m−T D tn −1
>を選択しおり、(n−m)本のテスト用出力データ端
子からデータを読み出すことになる。この時、TD、〜
TD、、の出力は無効である。
In the cycles from ■ to ■, the address and input data are the same, but the output terminal is T D m - T D tn -1
> is selected, and data is read from (n−m) test output data terminals. At this time, TD, ~
The output of TD, , is invalid.

第5〜7図は、第4図の詳細タイミング図である。マク
ロテストモードのリードモードは第5図の■■■■のタ
イミングを表し、そのライトモードは第6図の■■■■
のタイミングを表す。マクロテストモード端子を“′H
°′にすると、第7図に示すように、通常モード(ユー
ザーモード)になる。
5-7 are detailed timing diagrams of FIG. 4. The read mode of the macro test mode represents the timing of ■■■■ in Figure 5, and its write mode represents the timing of ■■■■ in Figure 6.
represents the timing of Set the macro test mode terminal to “’H”
When set to °', the mode becomes normal mode (user mode) as shown in FIG.

本発明は、上述したように1個のマクロセル(第1図で
はシングルボートRAM3)を所定のビットに所定の数
だけ分割し、1個のマクロセルが恰も複数のマクロセル
が存在するかのようにして試験するようにしている。し
たがって、試験のために必要な端子数を制限することが
でき、特に、ピント幅の多分割を行った場合、テストに
必要な外部端子数を大幅に減少させることができる。
As described above, the present invention divides one macrocell (single port RAM 3 in FIG. 1) into a predetermined number of bits, and divides one macrocell into a predetermined number of bits, so that one macrocell functions as if there were a plurality of macrocells. I'm trying to test it. Therefore, the number of terminals required for testing can be limited, and especially when the focus width is multi-divided, the number of external terminals required for testing can be significantly reduced.

以下、上記基本原理に基づいて実施例を説明する。第8
図は本発明に係る半導体集積回路装置の第1実施例を示
す図であり、本実施例はマクロセルとしてシングルボー
トRAMを2個搭載した半導体集積回路装置に適用した
例である。本実施例の説明に当り第1〜3図に示す原理
説明図と同一構成部分には同一番号・同一符号を付して
いる。
Examples will be described below based on the above basic principle. 8th
The figure shows a first embodiment of a semiconductor integrated circuit device according to the present invention, and this embodiment is an example applied to a semiconductor integrated circuit device equipped with two single-board RAMs as macro cells. In explaining this embodiment, the same components as those in the principle explanatory diagrams shown in FIGS. 1 to 3 are given the same numbers and symbols.

第8図において、61は4ワード×4ビツトのシングル
ボートRAM、62は4ワード×8ビツトのシングルポ
ー)RAMであり、シングルボートRAM61.62は
図示しないランダムロジック回路に接続されている。試
験回路の接続状態を分かり易くするため、図示しないラ
ンダムロジック回路に接続される結線は省略しているが
、第1図に示す原理説明図の場合と同様にして接続され
る。4.5および63〜69は外部入力端子、70.7
1は外部出力端子であり、外部入力端子4にはテストモ
ード選択信号MTMが、外部入力端子5にはテストモー
ド時のライトイネーブル信号TWEが、外部入力端子6
3.64にはテスト回路用アドレス信号TA。
In FIG. 8, 61 is a 4 word x 4 bit single port RAM, 62 is a 4 word x 8 bit single port RAM, and the single port RAMs 61 and 62 are connected to a random logic circuit (not shown). In order to make the connection state of the test circuit easier to understand, the connections connected to the random logic circuit (not shown) are omitted, but the connections are made in the same manner as in the principle explanatory diagram shown in FIG. 4.5 and 63-69 are external input terminals, 70.7
1 is an external output terminal, the external input terminal 4 receives the test mode selection signal MTM, the external input terminal 5 receives the write enable signal TWE in the test mode, and the external input terminal 6 receives the test mode selection signal MTM.
3.64 is the test circuit address signal TA.

0〜TAIがそれぞれ人力されるとともに、各信号MT
MSTWE、、TAO1TAIはシングルボートRAM
61.62に並列に接続される。一方、外部入力端子6
5.66にはテスト回路用入力データ信号T10.TI
Iが入力され、TIO,Tllは分割するビット毎およ
び各RAM61.62に並列に接続される。また、外部
入力端子67にはRAM61.62を選択する被試験マ
クロセルの選択信号MSが入力され、外部入力端子68
.69にはテストモード時のビット分割試験を行う際の
制御信号B501BSIがそれぞれ入力される。MSお
よびBSOはイネーブル端子付デコーダ72を経由して
シングルボー)RAM61の所定のビットのテスト用出
力信号TDO−TD3を選択するバスドライハフ3.7
4に出力され、バスドライバ73.74はビット毎に分
割されて入力されたテスト用入力データ信号T10−T
I3に対応する形で出力されるテスト用出力信号TDO
−TD3を選択する。イネーブル端子付デコーダ72の
真理値表は第1表に示される。
0 to TAI are manually input, and each signal MT
MSTWE, TAO1TAI is single boat RAM
61 and 62 in parallel. On the other hand, external input terminal 6
5.66 is the test circuit input data signal T10. T.I.
I is input, and TIO and Tll are connected in parallel to each bit to be divided and to each RAM 61 and 62. Further, the selection signal MS of the macrocell under test for selecting the RAM 61.62 is input to the external input terminal 67, and the external input terminal 68
.. A control signal B501BSI for performing a bit division test in the test mode is input to 69, respectively. MS and BSO select the test output signal TDO-TD3 of a predetermined bit of the RAM 61 (single baud) via the decoder 72 with an enable terminal.
4, and the bus drivers 73 and 74 receive the test input data signal T10-T divided into bits and input.
Test output signal TDO output in a format corresponding to I3
-Select TD3. The truth table of the decoder with enable terminal 72 is shown in Table 1.

第1表 同様に、インバータ75を介して入力された被試験マク
ロセルの選択信号MSおよび制御信号B501BSIは
イネーブル端子付デコーダ76を経由してシングルボー
トRAM62の所定のビットのテスト用出力信号TDO
〜TD7を選択するバスドライバ77〜80に出力され
、バスドライバ77〜80はビット毎に分割されて入力
されたテスト用入力データ信号TTO〜TI7に対応す
る形で出力されるテスト用出力信号T−Do〜TD3を
選択する。
Similarly to Table 1, the selection signal MS and control signal B501BSI of the macrocell under test inputted via the inverter 75 are sent to the test output signal TDO of a predetermined bit of the single boat RAM 62 via the decoder 76 with an enable terminal.
The test output signal T is outputted to the bus drivers 77 to 80 that select TD7, and the test output signal T is output in a form corresponding to the input test input data signals TTO to TI7, which are divided into bits and input. -Select Do to TD3.

イネーブル端子付デコーダ76の真理値表は第2表に示
される。
The truth table of the decoder with enable terminal 76 is shown in Table 2.

第2表 ワード×2ビットのRAMが6個あると考えて試験を行
っている。
The test was conducted assuming that there were six RAMs of Table 2 words x 2 bits.

第3表 以上の構成において、本実施例の複合化半導体集積回路
1はシングルボートRA M61.62ヲ2 個搭載し
ており、シングルボートRAM61は4ワード×4ビツ
トを2分割し、シングルボー)RAM62の4ワード×
8ビツトを4分割している。したがって、シングルボー
トRA M61ではRA Mが2分割され、入力は2本
(2ビツト)づつ入り、出力は2本(2ビツト)づつペ
アにしてビットセレクトBSO,BSIで制御される。
In the configuration shown in Table 3 and above, the composite semiconductor integrated circuit 1 of this embodiment is equipped with two single-board RAMs 61 and 62, and the single-board RAM 61 is divided into 2 pieces of 4 words x 4 bits (single board). 4 words of RAM62
8 bits are divided into 4 parts. Therefore, in the single port RAM 61, the RAM is divided into two, inputs are input into each two (2 bits), and outputs are paired into two (2 bits) each and controlled by bit selects BSO and BSI.

また、シングルボー)RAM62ではRAMが4分割さ
れ、入力は2本づつ並列に入り、出力は2本づつペアに
してB501BSIで制御される。
In addition, in the single baud) RAM 62, the RAM is divided into four parts, inputs are input in parallel two by two, and outputs are paired two by two and controlled by the B501BSI.

このように、本実施例ではMS、B501BS1の信号
により第3表の真理値表に示すように4したがって、従
来の試験回路であれば複数のマクロセルが搭載されてい
て、その中にビット幅の非常に大きいマクロセルが存在
していると、このマクロセルに必要な端子数によってチ
ップ全体の試験用外部端子の数が決まってしまっていた
が、本実施例によればマクロセルを試験する場合に、任
意のビット幅に任意の数だけ分割できるので、大きいマ
クロセルのみビット幅の分割を行うことによってチップ
全体の試験用外部端子の数を削減することができ、マク
ロセルが1個だけ存在する場合でも、大小様々なマクロ
セルが複数個存在する場合でもチップ全体の試験用外部
端子の数ばあ。
In this way, in this embodiment, the signal of MS, B501BS1 is used as shown in the truth table of Table 3. Therefore, in the conventional test circuit, a plurality of macro cells are installed, and the bit width is When a very large macrocell exists, the number of external terminals for testing on the entire chip is determined by the number of terminals required for this macrocell, but according to this embodiment, when testing a macrocell, it is possible to Since it can be divided into an arbitrary number of bit widths, it is possible to reduce the number of external test terminals for the entire chip by dividing only large macrocells by bit width. Even if there are multiple macrocells of various types, the number of external terminals for testing the entire chip is limited.

まり増加しない。本実施例では8ビツトのシングルボー
トRAM62を4分割することにより、従来例では試験
データの入出力に関し8本必要とされていた外部端子を
2本に減らすことができる。実際にはマクロセルに8ビ
ツト以外の、例えば32ビツトのRAMが搭載されるこ
ともあり、このような場合従来ではマクロセレクト機能
を付けて外部端子を共用したとしても最終的には外部に
32ビツトで出力する必要があったが、本実施例ではビ
ット幅の大きいRAMであればある程その効果は顕著な
ものとなる。
It does not increase much. In this embodiment, by dividing the 8-bit single port RAM 62 into four parts, the number of external terminals required for inputting and outputting test data can be reduced to two, compared to eight in the conventional example. In reality, a macro cell may be equipped with a RAM other than 8 bits, for example, 32 bits, and in such cases, conventionally, even if a macro select function was added and external terminals were shared, the final result was an external 32-bit RAM. However, in this embodiment, the larger the bit width of the RAM, the more remarkable the effect becomes.

なお、本実施例では、バスドライバ54を使用している
がセレクタを使用してもよく、また、デコーダ72.7
6は使用しないで、外部から分割数分のピントセレクト
信号を設けて、それを直接制御してもよい。また、ビッ
トセレクト信号は2本になっているが、4分割以上する
には、ビットセレクト信号を3本、4本と増やせばよい
。また、分割数が多い場合はBS信号を増やしてデコー
ダでバスドライバをデコーダしてもよい。
In this embodiment, the bus driver 54 is used, but a selector may also be used, and the decoder 72.7
6 may be omitted, and focus select signals corresponding to the number of divisions may be provided externally to directly control them. Further, although there are two bit select signals, in order to divide the signal into four or more, the number of bit select signals may be increased to three or four. Furthermore, if the number of divisions is large, the number of BS signals may be increased and the bus driver may be decoded by a decoder.

第9.10図は本発明に係る半導体集積回路装置の第2
実施例を示す図であり、本実施例はマクロセルとしてシ
ングルボートRAMとROMの2個を搭載した例である
。第1〜3図に示した原理説明図および第8図に示した
第1実施例と同一構成部分には同一符号を付している。
Figure 9.10 shows the second part of the semiconductor integrated circuit device according to the present invention.
FIG. 2 is a diagram showing an embodiment, and this embodiment is an example in which two single-board RAMs and ROMs are mounted as macro cells. Components that are the same as those in the principle explanatory diagrams shown in FIGS. 1 to 3 and the first embodiment shown in FIG. 8 are given the same reference numerals.

第9図において、61は4ワード×4ビツトのシングル
ボー)RAM、81は4ワード×8ビツトのROMであ
り、シングルボートRAM61は4ワード×4ビツトを
2分割し、ROMS1は4ワード×8ビツトを4分割し
ている。第1O図はテスト回路を内蔵したR OMS1
のブロック図であり、この図において、アドレスバッフ
ァ82、アドレス遷移検出回路(ATD)83、ロウデ
コーダ84、コラムデコーダ85、記憶セルを行、列方
向にマトリクス状に所定の容量で配置したメモリセルア
レイ86、コラムセレクト87およびセンスアンプ88
により構成され、ROM81の内部構成自体は従来のも
のと同様であるため説明は省略する。
In Fig. 9, 61 is a 4 word x 4 bit single baud RAM, 81 is a 4 word x 8 bit ROM, the single baud RAM 61 is 4 words x 4 bits divided into two, and the ROMS1 is 4 words x 8 bits. The bit is divided into four parts. Figure 1O shows ROMS1 with a built-in test circuit.
In this figure, an address buffer 82, an address transition detection circuit (ATD) 83, a row decoder 84, a column decoder 85, and a memory cell array in which memory cells are arranged in a matrix in the row and column directions with a predetermined capacity are shown. 86, column select 87 and sense amplifier 88
The internal structure of the ROM 81 itself is the same as that of the conventional one, so a description thereof will be omitted.

マクロセルのテストモード信号MTM、テスト。Macro cell test mode signal MTM, test.

モード時のライトイネーブル信号TWEおよびテスト回
路用入力アドレス信号TAO1TAIはシングルボート
RA M61およびROMS1に並列に接続され、テス
ト回路用入力データTl01TIIは分割するシングル
ボートRAM61のビア)毎に並列に接続される。また
、テストモード時のビット分割試験を行う際の制御信号
B501BSIおよび被試験マクロセルの選択信号MS
はイネーブル端子付デコーダ72.76を経由してシン
グルボートRAM61およびROM81のマクロセルの
出力を選択する。第9図の回路の真理値表は第4表に示
される。
In the mode, the write enable signal TWE and the test circuit input address signal TAO1TAI are connected in parallel to the single port RAM61 and ROMS1, and the test circuit input data Tl01TII is connected in parallel to each via of the single port RAM61 to be divided. . In addition, the control signal B501BSI and the selection signal MS of the macrocell under test are used when performing a bit division test in the test mode.
selects the outputs of the macro cells of the single port RAM 61 and ROM 81 via decoders 72 and 76 with enable terminals. The truth table for the circuit of FIG. 9 is shown in Table 4.

(来夏、以下余白) 第4表 したがって、本実施例では、MS、BSO,BSlの信
号により4ワード×2ビツトのRAMが2個、4ワード
×2ビツトのROMが4個であると考えて試験を行うこ
とができ、第1実施例と同様の効果を得ることができる
(Next summer, blank space below) Table 4 Therefore, in this example, it is assumed that there are two 4-word x 2-bit RAMs and four 4-word x 2-bit ROMs depending on the MS, BSO, and BSl signals. The test can be carried out using the same method, and the same effects as in the first embodiment can be obtained.

第11.12図は本発明に係る半導体集積回路装置の第
3実施例を示す図であり、本実施例はマクロセルとして
シングルボートRAMと乗算器の2個を搭載した例であ
る。第1〜3図に示した原理説明図および第8図に示し
た第1実施例と同一構成部分には同一符号を付している
FIGS. 11 and 12 are diagrams showing a third embodiment of the semiconductor integrated circuit device according to the present invention, and this embodiment is an example in which two macro cells, a single port RAM and a multiplier, are mounted. Components that are the same as those in the principle explanatory diagrams shown in FIGS. 1 to 3 and the first embodiment shown in FIG. 8 are given the same reference numerals.

第11図において、61は4ワード×4ピントのシング
ルポートRAM、91は4ワード×4ビツトの乗算器で
あり、シングルポートRA MS1は4ワード×4ビツ
トを2分割し、乗算器91は4ワード×4ビツトを4分
割している第10図は乗算器91のブロック図であり、
この図において、乗算器91は乗数データAOO〜Af
t−11およびテスト回路用乗数データTAOO〜TA
ta−n が入力されこれら入力データをMTMに従っ
て選択するセレクタ92と、セレクタ92により選択さ
れた入力データをバッファリングするマルチプルバッフ
ァ93と、被乗数データB OO= B (fi−11
およびテスト回路用被乗数データTBOO−TBい−I
、が入力されこれら入力データをMTMに従って選択す
るセレクタ94と、ブースデコーダ95と、マルチプル
アレイ96と、アダー回路97と、により構成され、乗
算器91からの乗算結果はユーザ側の出力DOO〜D(
Lとして外部に出力されるとともに、バスドライバ54
に出力され、バスドライバ54はMSおよびBSに従っ
て所定のビットのデータをテスト出力データT D 0
0 =T D (L−11として外部に出力される。
In FIG. 11, 61 is a 4-word x 4-pin single port RAM, 91 is a 4-word x 4-bit multiplier, the single-port RAM MS1 divides 4 words x 4 bits into two, and the multiplier 91 is a 4-word x 4-bit multiplier. FIG. 10 is a block diagram of the multiplier 91, in which the word x 4 bits is divided into four.
In this figure, the multiplier 91 has multiplier data AOO to Af
t-11 and test circuit multiplier data TAOO~TA
a selector 92 which receives input data and selects these input data according to MTM, a multiple buffer 93 which buffers the input data selected by the selector 92, and multiplicand data B OO=B (fi-11
and test circuit multiplicand data TBOO-TB-I
, is input and selects these input data according to MTM, a Booth decoder 95, a multiple array 96, and an adder circuit 97. The multiplication result from the multiplier 91 is outputted to the user side DOO~D. (
It is output to the outside as L, and is also output to the bus driver 54.
The bus driver 54 outputs the test output data T D 0 to the test output data T D 0 according to the MS and BS.
0 = T D (outputted to the outside as L-11).

第11図に戻って、101〜104はクロックTCK1
〜TCK4が入力される外部入力端子、105〜108
はテスト入力データTl01TIIをクロックTCK 
1〜TCK4に同期してランチし、乗数TAO〜TA3
、被乗数TBO〜TB3として乗算器91に出力するラ
ッチ回路である。乗算器91はメモリセルとは違い入力
データの入力前にランチ又はフリップフロップ等の回路
を追加してテスト用クロック信号TCK 1〜TCK4
で制御する必要がある。
Returning to FIG. 11, 101 to 104 are clocks TCK1
~External input terminal where TCK4 is input, 105-108
is the test input data Tl01TII as the clock TCK
Launch in synchronization with 1~TCK4, multiplier TAO~TA3
, is a latch circuit that outputs multiplicands TBO to TB3 to the multiplier 91. Multiplier 91 differs from memory cells in that a circuit such as a launch or flip-flop is added before the input data is input to test clock signals TCK1 to TCK4.
need to be controlled.

マクロセルのテストモード信号MTM、テスト回路用入
力データ信号Tl0−TIIはシングルポートRAM6
1および乗算器91に並列に接続され、Tl01T■1
はさらに分割するシングルボートRA MS1のピント
毎に並列に接続される。また、テストモード時のライト
イネーブル信号TWEおよびテスト回路用人力データ信
号TAO,TAIはシングルポートRAM61のみに接
続される。
Macro cell test mode signal MTM and test circuit input data signals Tl0-TII are input to single port RAM6.
1 and multiplier 91 in parallel, Tl01T■1
are connected in parallel for each pin of the single port RAM MS1 that is further divided. Furthermore, the write enable signal TWE and test circuit manual data signals TAO and TAI in the test mode are connected only to the single port RAM 61.

MSおよびBSOはイネーブル端子付デコーダ72を経
由してシングルボートRA MS1の所定のビットのテ
スト用出力信号TDO〜TD3を選択するバスドライバ
73に出力され、インパーク75を介。
MS and BSO are outputted via a decoder 72 with an enable terminal to a bus driver 73 that selects test output signals TDO to TD3 of predetermined bits of the single port RAM MS1, and then via an impark 75.

して入力された被試験マクロセルの選択信号MSおよび
制御信号B501BSIはイネーブル端子付デコーダ1
09を経由して乗算器91の所定のビットのテスト用出
力信号TDO〜TD7を選択するバスドライバ77〜8
0に出力される。第11図の回路の真理値表は第5表で
示される。
The selection signal MS and control signal B501BSI of the macrocell under test are input to the decoder 1 with an enable terminal.
Bus drivers 77 to 8 select test output signals TDO to TD7 of predetermined bits of the multiplier 91 via bus drivers 77 to 8
Output to 0. The truth table for the circuit of FIG. 11 is shown in Table 5.

第5表 したがって、本実施例ではMS、B501BS1の信号
により4ワード×2ビツトのRAMが2個、出力2ビツ
トの乗算器が4個であると考えて試験を行うことができ
る。ALUの場合も乗算器と同様に接続することによっ
て端子数を減らして試験を行うことができる。
Table 5 Accordingly, in this embodiment, the test can be performed assuming that there are two 4-word x 2-bit RAMs and four 2-bit output multipliers based on the signals of the MS and B501BS1. In the case of an ALU, the number of terminals can be reduced and tests can be performed by connecting the ALU in the same way as the multiplier.

なお、上記各実施例では、マクロセルが2個の場合であ
るが、勿論これには限定されず、例えば第13図の第4
実施例に示すように、マクロセレクト信号を増やすこと
によりマクロセルが2個以上の場合でもよい。第13図
はテスト回路内蔵型シングルポートRAMIII、テス
ト回路内蔵型ROM112、テスト回路内蔵型乗算器1
13にテスト入力データTl0−Tl3、テスト入力ア
ドレスTAO〜TA2を接続し、テスト出力データTD
O1TDIを得るものである。但し、マクロセルのアド
レス端子は各マクロセルの端子に並列に接続し、マクロ
にアドレス端子の定義がない場合(乗算器、ALU等)
は接続しない。
In each of the above embodiments, the number of macro cells is two, but of course the number is not limited to this, and for example, the number of macro cells shown in FIG.
As shown in the embodiment, the number of macro cells may be two or more by increasing the number of macro select signals. Figure 13 shows a single port RAM III with a built-in test circuit, a ROM 112 with a built-in test circuit, and a multiplier 1 with a built-in test circuit.
13, test input data Tl0-Tl3 and test input addresses TAO-TA2 are connected to test output data TD.
This is to obtain O1TDI. However, the address terminal of the macro cell is connected in parallel to the terminal of each macro cell, and when there is no definition of the address terminal in the macro (multiplier, ALU, etc.)
is not connected.

また、上記各実施例ではピント幅は2ビツトになってい
るが、ビット幅はどのような大きさのものでもよいこと
は言うまでもなく、さらに1個のマクロセルで分割する
とビット幅が違っていても構わない。例えば、256ワ
ード×36ビツトのRAMを8ビット単位で分割する場
合、256ワード×。
Further, in each of the above embodiments, the focus width is 2 bits, but it goes without saying that the bit width may be of any size, and even if the bit width is different when divided into one macro cell. I do not care. For example, when dividing a 256 word x 36 bit RAM into 8 bit units, 256 words x 36 bits.

8ビットのRAMを4個、256ワード×4ビツトのR
AMを1個としてもよい。またシングルボートRAM3
、ROM81、乗算器91とそれらにテスト回路を外付
けしても同様である。
4 8-bit RAM, 256 words x 4 bits R
There may be one AM. Also single boat RAM3
, ROM 81, multiplier 91, and a test circuit externally attached thereto.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、マクロセルを試験する場合に、任意の
ビット幅で任意の数だけ分割しているので、大きいマク
ロセルのみビット幅の分割を行うことによってチップ全
体の試験用外部端子の数を大幅に削減することができる
According to the present invention, when testing a macrocell, it is divided into an arbitrary number of parts with an arbitrary bit width, so by dividing only large macrocells into bit widths, the number of external terminals for testing on the entire chip can be greatly reduced. can be reduced to

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

第1〜7図は本発明の詳細な説明するための図であり、 第1図はその全体構成図、 第2図はそのシングルボートRAMのブロック図、 第3図はそのテスト回路内蔵型シングルポートRAMの
ブロック図、 第4図はそのタイミングチャート、 第5図はマクロテスト時のり一ドモードのタイミングチ
ャート、 第6図はマクロテスト時のライトモードのタイミングチ
ャート、 第7図はユーザモードのタイミングチャート、第8図は
本発明に係る半導体集積回路装置の第1実施例を示すそ
の全体構成図、 第9.10図は本発明に係る半導体集積回路装置の第2
実施例を示す図であり、 第9図はその全体構成図、 第10図はそのテスト回路内蔵型ROMのブロック図、 第11.12図は本発明に係る半導体集積回路装置の第
3実施例を示す図であり、 第11図はその全体構成図、 第12図はそのテスト回路内蔵型乗算器のブロック図、 第13図は本発明に係る半導体集積回路装置の第4実施
例を示すマクロセルが2個以上の場合を説。 明するための図である。 1・・・・・・複合化半導体集積回路(半導体集積回路
装置)、 2・・・・・・ランダムロジック回路、3・・・・・・
シングルボートRAM (マクロセル)、4〜9.63
〜69.101〜104 ・・・・・・外部入力端子、 lO・・・・・・外部入出力端子、 11〜13・・・・・・入力バッファ、14・・・・・
・双方向人出力バッファ、15〜18・・・・・・セレ
クタ回路、19.20.54.73.74.77〜80
・−・・・・パスドライバ、 21・・・・・・アドレスバス、 22・・・・・・入力データパス、 23・・・・・・出力データパス、 31.32・・・・・・ランダムロジック回路用人力デ
ータ、 33・・・・・・ランダムロジック回路用入力データ、
34・・・・・−ライトイネーブル信号、35・・・・
・・アドレス信号、 36.37・・・・・・人力データ信号、38.39・
・・・・・出力データ信号、41・・・・・・バッファ
、 42.82・・・・・・アドレスバッファ、43.83
・・・・・・アドレス遷移検出回路、44・・・・・・
プリチャージ回路、 45.84・・・・・・ロウデコーダ、46.85・・
・・・・コラムデコーダ、47.88・・・・・・セン
スアンプ、48・・・・・・ライトアンプ、 49.87・・・・・・コラムセレクト、50・・・・
・・メモリセルアレイ、 51〜53・・・・・・セレクタ、 61.62・・・・・・シングルボートRAM (マク
ロセル)、 70.71・・・・・・外部出力端子、72.76・・
・・・・イネーブル端子付デコーダ、81・・・・・・
ROM (マクロセル)、91・・・・・・乗算器(マ
クロセル)、92.94・・・・・・セレクタ、 93・・・・・・マルチプルバッファ、95・・・・・
・ブースデコーダ、 96・・・・・・マルチプルアレイ、 97・・・・・・アダー回路、 105〜108・・−・・・ラッチ回路、IO2・・・
・・・イネーブル端子付デコーダ、111・・・・・・
テスト回路内蔵型シングルポートRAM(マクロセル)
、 112・・・・・・テスト回路内蔵型ROM (マクロ
セル)、113・・・・・・テスト回路内蔵型乗算器(
マクロセル)、MTM・・・・・・テストモード選択信
号、TWE・・・・・・テストモード時のライトイネー
ブル信号、TAO,TAI・・・・・・テスト回路用ア
ドレス信号、MS・・・・・・被試験マクロセルの選択
信号、B501BSI・・・・・・ビットセレクト信号
、TIO〜TI3・・・・・・テスト回路用入力データ
信号、TDO−TD3・・・・・・テスト用出力信号。 マクロテストモード マクロテストモード 、ライトモード ・リードモード 原理説明のマクロテスト時のリードモードのタイミング
チャート原理説明のマクロテスト時のライトモードのタ
イミングチャート第 図 第 図 ユーザモード 原理説明のユーザモードのタイミングチャート〇− ロロ H)−+
Figures 1 to 7 are diagrams for explaining the present invention in detail, Figure 1 is its overall configuration diagram, Figure 2 is a block diagram of its single board RAM, and Figure 3 is its single board RAM with built-in test circuit. Block diagram of the port RAM. Figure 4 is its timing chart. Figure 5 is the timing chart of the read mode during macro test. Figure 6 is the timing chart of write mode during macro test. Figure 7 is the timing chart of user mode. 8 is an overall configuration diagram showing the first embodiment of the semiconductor integrated circuit device according to the present invention, and FIG. 9.10 is a second embodiment of the semiconductor integrated circuit device according to the present invention.
9 is a diagram showing the overall configuration thereof, FIG. 10 is a block diagram of the test circuit built-in ROM, and FIGS. 11 and 12 are diagrams showing a third embodiment of the semiconductor integrated circuit device according to the present invention. FIG. 11 is an overall configuration diagram thereof, FIG. 12 is a block diagram of a multiplier with a built-in test circuit, and FIG. 13 is a macro cell showing a fourth embodiment of a semiconductor integrated circuit device according to the present invention. Explain the case where there are two or more. FIG. 1... Composite semiconductor integrated circuit (semiconductor integrated circuit device), 2... Random logic circuit, 3...
Single boat RAM (macrocell), 4 to 9.63
~69.101~104...External input terminal, lO...External input/output terminal, 11-13...Input buffer, 14...
・Bidirectional human output buffer, 15-18...Selector circuit, 19.20.54.73.74.77-80
...Path driver, 21...Address bus, 22...Input data path, 23...Output data path, 31.32... Manual data for random logic circuit, 33...Input data for random logic circuit,
34...-Write enable signal, 35...
...Address signal, 36.37...Manual data signal, 38.39.
...Output data signal, 41...Buffer, 42.82...Address buffer, 43.83
...Address transition detection circuit, 44...
Precharge circuit, 45.84...Row decoder, 46.85...
...Column decoder, 47.88...Sense amplifier, 48...Write amplifier, 49.87...Column select, 50...
...Memory cell array, 51-53...Selector, 61.62...Single boat RAM (macro cell), 70.71...External output terminal, 72.76...
...Decoder with enable terminal, 81...
ROM (macro cell), 91... Multiplier (macro cell), 92.94... Selector, 93... Multiple buffer, 95...
・Booth decoder, 96...Multiple array, 97...Adder circuit, 105-108...Latch circuit, IO2...
...Decoder with enable terminal, 111...
Single port RAM with built-in test circuit (macrocell)
, 112... ROM with built-in test circuit (macro cell), 113... Multiplier with built-in test circuit (
macrocell), MTM...Test mode selection signal, TWE...Write enable signal in test mode, TAO, TAI...Address signal for test circuit, MS... ... Macrocell under test selection signal, B501BSI... Bit select signal, TIO-TI3... Input data signal for test circuit, TDO-TD3... Output signal for test. Macro test mode Macro test mode, write mode/read mode Timing chart of read mode during macro test to explain principle Timing chart of write mode during macro test to explain principle Fig. 2 Fig. User mode Timing chart of user mode to explain principle 〇- Lolo H)-+

Claims (1)

【特許請求の範囲】[Claims] 1チップ内にランダムロジック回路とマクロセルを混載
した半導体集積回路装置において、前記チップ内に外部
からの試験信号に基づいて前記マクロセルの試験を行う
試験回路を設け、該試験回路は、1つのマクロセルを所
定のビット幅を有する複数のマクロセルに分割し、分割
後のマクロセルに対して前記試験を行うように構成され
たことを特徴とする半導体集積回路装置。
In a semiconductor integrated circuit device in which a random logic circuit and a macro cell are mixed in one chip, a test circuit for testing the macro cell based on an external test signal is provided in the chip, and the test circuit tests one macro cell. 1. A semiconductor integrated circuit device, wherein the semiconductor integrated circuit device is divided into a plurality of macro cells having a predetermined bit width, and the test is performed on the divided macro cells.
JP1137879A 1989-05-31 1989-05-31 Semiconductor integrated circuit device Expired - Fee Related JP2695240B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1137879A JP2695240B2 (en) 1989-05-31 1989-05-31 Semiconductor integrated circuit device
DE69016509T DE69016509T2 (en) 1989-05-31 1990-05-23 Integrated semiconductor circuit arrangement with test circuit.
EP90109882A EP0403821B1 (en) 1989-05-31 1990-05-23 Semiconductor integrated circuit device incorporating a test circuit
US07/527,977 US5040150A (en) 1989-05-31 1990-05-24 Semiconductor integrated circuit device
KR1019900008022A KR930008415B1 (en) 1989-05-31 1990-05-31 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1137879A JP2695240B2 (en) 1989-05-31 1989-05-31 Semiconductor integrated circuit device

Publications (2)

Publication Number Publication Date
JPH032680A true JPH032680A (en) 1991-01-09
JP2695240B2 JP2695240B2 (en) 1997-12-24

Family

ID=15208826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1137879A Expired - Fee Related JP2695240B2 (en) 1989-05-31 1989-05-31 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JP2695240B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5641599A (en) * 1979-09-12 1981-04-18 Ando Electric Co Ltd Address generation system of pattern generator
JPS6020399A (en) * 1983-07-15 1985-02-01 Nec Corp Testing method of semiconductor storage element
JPS6159697A (en) * 1984-08-30 1986-03-27 Fujitsu Ltd Gate array

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5641599A (en) * 1979-09-12 1981-04-18 Ando Electric Co Ltd Address generation system of pattern generator
JPS6020399A (en) * 1983-07-15 1985-02-01 Nec Corp Testing method of semiconductor storage element
JPS6159697A (en) * 1984-08-30 1986-03-27 Fujitsu Ltd Gate array

Also Published As

Publication number Publication date
JP2695240B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
US10281524B2 (en) Test partition external input/output interface control for test partitions in a semiconductor
EP0350538B1 (en) Memory device containing a static RAM memory that is adapted for executing a self-test, and integrated circuit containing such a device as an embedded static RAM memory
US4835729A (en) Single instruction multiple data (SIMD) cellular array processing apparatus with on-board RAM and address generator apparatus
US4783782A (en) Manufacturing test data storage apparatus for dynamically reconfigurable cellular array processor chip
US20060156104A1 (en) Wrapper testing circuits and method thereof for system-on-a-chip
US5040150A (en) Semiconductor integrated circuit device
EP0236643A2 (en) Cellular array processing apparatus employing multiple state logic for coupling to data buses
US4783732A (en) Two-wire/three-port RAM for cellular array processor
JPS6231439B2 (en)
KR100613030B1 (en) Register file and method for designing a register file
US5485467A (en) Versatile reconfigurable matrix based built-in self-test processor for minimizing fault grading
CN106771958B (en) Integrated circuit with low power scanning system
JPS59161744A (en) Scanning system of information processor
EP1763677B1 (en) Circuit arrangement and method of testing an application circuit provided in said circuit arrangement
US5379308A (en) Apparatus for a bus-based integrated circuit test architecture
JPH032680A (en) Semiconductor integrated circuit apparatus
US6510483B1 (en) Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports
JP3154444B2 (en) Test pattern generator
US5917832A (en) Self-test circuit and method utilizing interlaced scanning for testing a semiconductor memory device
US6900661B2 (en) Repairable finite state machines
CN117031256B (en) Chip testing system and method
GB2344184A (en) Testing integrated circuits
JPS59211146A (en) Scan-in method
JPS63108747A (en) Gate array integrated circuit
EP0157036A2 (en) Serial chip scan

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees