JP2002014141A - Testing circuit for lsi provided with functional block, and testing method therefor - Google Patents

Testing circuit for lsi provided with functional block, and testing method therefor

Info

Publication number
JP2002014141A
JP2002014141A JP2000197108A JP2000197108A JP2002014141A JP 2002014141 A JP2002014141 A JP 2002014141A JP 2000197108 A JP2000197108 A JP 2000197108A JP 2000197108 A JP2000197108 A JP 2000197108A JP 2002014141 A JP2002014141 A JP 2002014141A
Authority
JP
Japan
Prior art keywords
functional block
test
register
lsi
cpu
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
JP2000197108A
Other languages
Japanese (ja)
Inventor
Tetsuji Tsunekawa
哲爾 恒川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000197108A priority Critical patent/JP2002014141A/en
Publication of JP2002014141A publication Critical patent/JP2002014141A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a testing circuit capable of testing functional blocks individually from the outside or a CPU, irrespective of the number of functional blocks included in an LSI and the number of terminals thereof. SOLUTION: Test data and test sequence required for test operation are set in a register, in an input signal region of the functional block to be tested from the outside of the LSI or the CPU. A test input signal is given to the functional block due to the setting into the register in the input signal region, and the functional block performs testing operations, so that a test output signal outputted from the functional block is set as output data in a register in an output signal region. The output data set in the register in the output signal region is read sequentially and is compared with an expected value to verify the operation of the functional block from the outside or from the CPU.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はLSIのテスト回路
に係り、特にIP(Intellectual Property:知的資産)
としての機能ブロックを備えるLSIのテスト回路に関
するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an LSI test circuit, and more particularly to an IP (Intellectual Property).
The present invention relates to an LSI test circuit having a function block as a test circuit.

【0002】[0002]

【従来の技術】IPとしての機能ブロックを備える従来
のLSIのテスト回路には、LSIが具備する各機能ブ
ロックの入出力端子をLSIの外部ピンに接続し、マル
チプレクサを用いて各機能ブロックの入出力信号を選択
することによりIPの機能検証を行うものがある。
2. Description of the Related Art In a conventional LSI test circuit having a functional block as an IP, an input / output terminal of each functional block provided in the LSI is connected to an external pin of the LSI, and a multiplexer is used to input and output each functional block. In some cases, IP functions are verified by selecting an output signal.

【0003】しかし、この方法を用いれば、LSIの外
部ピンの数がLSIが具備する機能ブロックの入出力端
子数よりも少ない場合には、各機能ブロック単体のテス
トができなくなるという問題があった。また、1チップ
のLSIに内蔵される機能ブロックの数が多い場合に
は、機能ブロックの入出力信号をマルチプレクサにより
選択して外部ピンからテストすることが困難になるとい
う問題があった。
However, if this method is used, if the number of external pins of the LSI is smaller than the number of input / output terminals of the functional blocks provided in the LSI, there is a problem that a test of each functional block cannot be performed. . In addition, when the number of function blocks incorporated in one chip LSI is large, there is a problem that it is difficult to select input / output signals of the function block by a multiplexer and test the signals from external pins.

【0004】また、各機能ブロックに対して、テスト容
易化のためバウンダリスキャンデザインを適用し、各機
能ブロック単体のテストを行う方法もあるが、この方法
によればテストに要する時間が長くなるばかりでなく、
機能ブロックのテストデータに対してCPUからシーケ
ンスを設けてテストデータを設定し、テスト結果を期待
値と比較することにより、機能ブロックの機能検証を行
うことは不可能であった。
There is also a method in which a boundary scan design is applied to each functional block to facilitate the test, and a test of each functional block alone is performed. However, according to this method, the time required for the test becomes longer. But not
It has not been possible to verify the function of the functional block by providing a sequence for the test data of the functional block from the CPU, setting the test data, and comparing the test result with an expected value.

【0005】[0005]

【発明が解決しようとする課題】上記したように、従来
のIPとしての機能ブロックを備えるLSIのテスト回
路は、LSIに内蔵される各機能ブロックの端子数がL
SIの外部ピンの数を越える場合には、各機能ブロック
単体のテストが不可能となり、LSIに内蔵される機能
ブロック数が多い場合には、マルチプレクサにより選択
してLSIの外部ピンからテストすることが困難になる
という問題があった。
As described above, in a conventional LSI test circuit having a functional block as an IP, the number of terminals of each functional block built in the LSI is L.
If the number of external pins exceeds the number of external pins of the SI, it is impossible to test each functional block alone. If the number of functional blocks built in the LSI is large, select a multiplexer to test from the external pins of the LSI. There was a problem that it became difficult.

【0006】本発明は上記の問題点を解決すべくなされ
たもので、LSIに内蔵されるIPとしての機能ブロッ
クの数や機能ブロックの端子数にかかわらず、LSIの
外部又はCPUからシーケンスを設けてテストデータを
設定することができる機能ブロックを備えたLSIのテ
スト回路を提供することを目的とする。
The present invention has been made to solve the above problems, and a sequence is provided from outside the LSI or from the CPU irrespective of the number of function blocks as IP built in the LSI and the number of terminals of the function blocks. It is an object of the present invention to provide an LSI test circuit provided with a functional block capable of setting test data by using the LSI.

【0007】[0007]

【課題を解決するための手段】本発明のIPとしての機
能ブロックを備えるLSIのテスト回路は、テストの対
象とする機能ブロックの入力部と出力部とに、それぞれ
前記機能ブロックのテスト入力データとテスト出力デー
タとを一時記憶するレジスタを具備することを特徴とす
る。LSIの外部から、又はLSIに内蔵されるCP
U、メモリから、入力部のレジスタに書き込まれたテス
トデータを用いて前記機能ブロックのテストを行い、テ
スト結果を出力部のレジスタに一時記憶し、これを期待
値と比較すればIPとしての機能ブロックの機能検証を
することができる。
According to the present invention, an LSI test circuit having a function block as an IP includes an input section and an output section of the function block to be tested. A register for temporarily storing test output data is provided. CP from outside of LSI or embedded in LSI
U. The function block is tested by using the test data written from the memory to the register of the input unit, the test result is temporarily stored in the register of the output unit, and the result is compared with an expected value. The function of the block can be verified.

【0008】具体的には本発明の機能ブロックを備えた
LSIのテスト回路は、機能ブロックの入力部に接続さ
れた第1のレジスタと、前記機能ブロックの出力部に接
続された第2のレジスタとを備え、前記第1、第2のレ
ジスタは、それぞれ外部バスからアクセス可能なもので
あって、前記第1のレジスタは、外部から入力された前
記機能ブロックのテストデータを一時記憶した後、外部
から付与された一定のシーケンスに従って前記テストデ
ータを前記機能ブロックに入力する機能を有し、前記第
2のレジスタは、前記機能ブロックから出力される前記
テストデータによる前記機能ブロックのテスト結果を一
時記憶し、前記第2のレジスタに一時記憶されたテスト
結果を期待値と比較することにより前記機能ブロックの
動作状態の検証をすることを特徴とする。
More specifically, an LSI test circuit having a functional block according to the present invention includes a first register connected to an input section of the functional block, and a second register connected to an output section of the functional block. Wherein the first and second registers are each accessible from an external bus, and the first register temporarily stores test data of the functional block input from the outside, A function of inputting the test data to the function block in accordance with a given sequence given from the outside; the second register temporarily stores a test result of the function block based on the test data output from the function block; Verification of the operating state of the functional block by comparing the test result temporarily stored in the second register with an expected value. And wherein the Rukoto.

【0009】また、本発明の機能ブロックを備えたLS
Iのテスト回路は、CPU及び前記CPUの入出力デー
タを記憶するメモリと、前記CPUにより制御される機
能ブロックと、前記機能ブロックの入力部に接続された
第1のレジスタと、前記機能ブロックの出力部に接続さ
れた第2のレジスタとを備え、前記第1、第2のレジス
タは、前記CPUからアクセス可能なものであって、前
記第1のレジスタは、前記CPUにより前記メモリから
一定のシーケンスに従って読み出された前記機能ブロッ
クのテストデータを一時記憶した後、前記テストデータ
を前記機能ブロックに入力する機能を有し、前記第2の
レジスタは、前記機能ブロックから出力される前記テス
トデータによる前記機能ブロックのテスト結果を一時記
憶し、前記第2のレジスタに一時記憶されたテスト結果
を前記CPUを用いて前記メモリに記憶された期待値と
比較することにより前記機能ブロックの動作状態の検証
をすることを特徴とする。
An LS having a functional block according to the present invention is also provided.
The I test circuit includes a CPU and a memory for storing input / output data of the CPU, a functional block controlled by the CPU, a first register connected to an input unit of the functional block, A second register connected to an output unit, wherein the first and second registers are accessible from the CPU, and the first register is a fixed register from the memory by the CPU. A function of temporarily storing test data of the functional block read in accordance with a sequence, and then inputting the test data to the functional block, wherein the second register stores the test data output from the functional block And temporarily stores the test result temporarily stored in the second register using the CPU. It characterized by verification of the operating state of the function block by comparing the expected value stored in the memory Te.

【0010】好ましくは前記LSIのテスト回路は、前
記機能ブロックをテストするテストデータ及びテストデ
ータのシーケンスと前記テスト結果の期待値とを前記メ
モリ上にプログム情報として記録することにより、前記
CPUが前記LSIのテスト回路を起動して前記メモリ
上のプログラム情報を読み出し、テスト対象とする前記
機能ブロックのテストを自動的に行うことが可能である
ことを特徴とする。
Preferably, the test circuit of the LSI records the test data for testing the functional block, a sequence of the test data, and an expected value of the test result as program information on the memory, so that the CPU can It is characterized in that it is possible to activate a test circuit of an LSI, read out program information in the memory, and automatically perform a test of the functional block to be tested.

【0011】また、好ましくは前記LSIのテスト回路
において、前記第2のレジスタに一時記憶された前記機
能ブロックのテスト結果が前記LSIの通常動作期間中
前記第2のレジスタに保持され、前記LSIの通常動作
期間中及び通常動作期間後において前記機能ブロックの
テスト結果を検証可能とすることを特徴とする。
Preferably, in the LSI test circuit, a test result of the functional block temporarily stored in the second register is held in the second register during a normal operation period of the LSI, and The test result of the functional block can be verified during the normal operation period and after the normal operation period.

【0012】本発明の機能ブロックを備えたLSIのテ
スト方法は、機能ブロックの入力部に接続された第1の
レジスタ及び前記機能ブロックの出力部に接続された第
2のレジスタをバス配線を介してアクセスするステップ
と、前記機能ブロックのテストデータを前記第1のレジ
スタに一時記憶するステップと、前記機能ブロックのテ
ストシーケンスに従って、前記第1のレジスタに一時記
憶された前記テストデータを読み出して前記機能ブロッ
クに入力するステップと、前記機能ブロックから出力さ
れる前記機能ブロックのテスト結果を前記第2のレジス
タに一時記憶するステップと、前記第2のレジスタに一
時記憶されたテスト結果を前記機能ブロックのテスト結
果の期待値と比較するステップを含むことを特徴とす
る。
According to a method of testing an LSI having a functional block according to the present invention, a first register connected to an input section of a functional block and a second register connected to an output section of the functional block are connected via a bus line. Accessing the test block; temporarily storing test data of the functional block in the first register; reading the test data temporarily stored in the first register in accordance with a test sequence of the functional block; Inputting to the functional block, temporarily storing the test result of the functional block output from the functional block in the second register, and storing the test result temporarily stored in the second register in the functional block. And comparing the test result with an expected value of the test result.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を詳細に説明する。図1は、本発明の実施の形
態に係るCPU及びIPとしての複数の機能ブロックを
備えたLSIの構成を示す図である。ここでIPとは、
LSIが内蔵する特定機能を備えた機能ブロックの知的
資産のことであり、LSI及びその派生品の開発に際
し、長い開発期間を要する機能ブロックの設計、製造及
びテストに関する全ての資料が知的資産として引き継が
れ、新製品の開発に再利用されるものである。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a diagram illustrating a configuration of an LSI including a plurality of functional blocks as a CPU and an IP according to an embodiment of the present invention. Here, IP is
This is the intellectual property of functional blocks with specific functions built into the LSI, and all materials related to the design, manufacture and testing of functional blocks that require a long development time when developing LSI and its derivatives are intellectual assets. It has been taken over and reused in the development of new products.

【0014】特に、本明細書におけるIPとしての機能
ブロックの知的資産には、機能ブロックの機能検証を行
うためのテストデータやテストシーケンス、及びテスト
結果の期待値等が含まれるため、以下の実施の形態に述
べる本発明の機能ブロックのテスト装置及びテスト方法
を用いれば、IPとしての機能ブロックをLSI及びそ
の派生品開発に再利用する際、テストに関して引き継が
れた既知の知的資産の有効利用を図ることにより、開発
コストの削減に寄与することができる。
In particular, the intellectual assets of a functional block as an IP in this specification include test data and a test sequence for verifying the function of the functional block, and expected values of the test result. When the functional block test apparatus and the test method of the present invention described in the embodiments are used, when an IP functional block is reused in the development of an LSI and its derivatives, effective use of known intellectual assets inherited with respect to the test can be effectively performed. Utilization can contribute to reduction of development costs.

【0015】図1(a)は、データバスを介してCPU
に接続されたIP1、IP2、IP3等の複数のIPか
らなる本発明の構成部分を示す図である。ここで、IP
1、IP2、IP3等は、それぞれIPとしての機能ブ
ロックである。図1(b)には通常動作においてアクセ
スされるIP1のレジスタ領域と、IP1のテストに際
して用いられる入力信号領域及び出力信号領域がIP1
の部分拡大図として示されている。なお、IP2、IP
3等も同様に構成されている。
FIG. 1A shows a state where a CPU is connected via a data bus.
FIG. 2 is a diagram showing a configuration part of the present invention composed of a plurality of IPs such as IP1, IP2, IP3, etc. Where IP
1, IP2, IP3, etc. are each a functional block as IP. FIG. 1B shows a register area of the IP1 accessed in the normal operation, and an input signal area and an output signal area used in the test of the IP1.
Is shown as a partially enlarged view of FIG. In addition, IP2, IP
3 and the like are similarly configured.

【0016】図1(c)には、前記入力信号領域におけ
るフリップフロップFF1からなる第1レジスタと、前
記出力信号領域におけるフリップフロップFF2からな
る第2レジスタと、マルチプレクサMUXと、IP1の
本体部がそれぞれ示されている。
FIG. 1C shows a first register including a flip-flop FF1 in the input signal area, a second register including a flip-flop FF2 in the output signal area, a multiplexer MUX, and a main body of IP1. Each is shown.

【0017】ここで、IP1のテスト動作において、入
力端子1から一定のシーケンスでテストデータが入力さ
れ、出力端子2からIP1のテスト結果が出力される。
また、入力端子3及び出力端子4は、IP1の通常動作
における入出力端子であり、マルチプレクサMUXによ
りIP1のテスト動作と通常動作とが互いに切り替えら
れる。
In the test operation of IP1, test data is input from input terminal 1 in a fixed sequence, and a test result of IP1 is output from output terminal 2.
The input terminal 3 and the output terminal 4 are input / output terminals in the normal operation of the IP1, and the multiplexer MUX switches between the test operation and the normal operation of the IP1.

【0018】このように、本発明の機能ブロックを備え
るLSIのテスト回路及びテスト方法において、IPと
しての各機能ブロックは、LSIの通常動作時にアクセ
スされるIPのレジスタ領域と、各機能ブロックのテス
ト動作時にアクセスされるテスト領域とをそれぞれ備
え、このテスト領域は入力信号領域と出力信号領域から
なり、入力信号領域の中にFF1から構成される第1レ
ジスタを備え、出力信号領域の中にFF2から構成され
る第2レジスタを備えている。
As described above, in the LSI test circuit and test method including the functional blocks according to the present invention, each functional block as an IP includes a register area of the IP accessed during normal operation of the LSI and a test of each functional block. A test area to be accessed during operation; the test area includes an input signal area and an output signal area; a first register including FF1 in the input signal area; and FF2 in an output signal area. And a second register comprising:

【0019】LSIのテスト動作において、例えばテス
ト対象とするIP1の入力信号領域における第1レジス
タFF1に、IP1が動作するようにシーケンスを組ん
で、LSIの外部からテストデータが設定される。
In the test operation of the LSI, for example, a test data is set from outside the LSI in a sequence so that the IP1 operates in the first register FF1 in the input signal area of the IP1 to be tested.

【0020】入力端子1を介してLSIの外部から第1
レジスタFF1に設定されたテストデータは、一定のシ
ーケンスでIP1をテスト動作させ、第2レジスタFF
2にテスト結果が出力データとして設定される。
A first external signal from the LSI via the input terminal 1
The test data set in the register FF1 causes the IP1 to perform a test operation in a fixed sequence, and the second register FF
2, the test result is set as output data.

【0021】この第2レジスタに設定された出力データ
が出力端子2を介して外部から読み出され、期待値と比
較することによりIP1の機能が検証される。同様なテ
スト動作をIP2、IP3等に対して繰り返すことによ
り、システムLSIが内蔵するIPとしての全ての機能
ブロックの機能を検証することができる。
The output data set in the second register is read from the outside via the output terminal 2 and is compared with an expected value to verify the function of IP1. By repeating the same test operation for IP2, IP3, and the like, it is possible to verify the functions of all the function blocks as IP built in the system LSI.

【0022】このようすれば、LSIに内蔵される機能
ブロックのテスト入力信号は入力信号領域で設定するこ
とができ、機能ブロックのテスト動作における出力信号
の状態は出力信号領域を調べることにより検証すること
ができるので、LSIチップのピン数や機能ブロックの
端子数にかかわらず、対象とする機能ブロックのテスト
を行うことができる。
In this way, the test input signal of the functional block built in the LSI can be set in the input signal area, and the state of the output signal in the test operation of the functional block is verified by examining the output signal area. Therefore, the target functional block can be tested regardless of the number of pins of the LSI chip or the number of terminals of the functional block.

【0023】上記の実施の形態では、LSIの外部から
テストデータ及びテストシーケンスが与えられる場合に
ついて説明したが、LSIが内蔵する機能ブロックのテ
ストは必ずしもLSIの外部から行うものに限定されな
い。
In the above embodiment, the case where the test data and the test sequence are provided from outside the LSI has been described. However, the test of the functional blocks incorporated in the LSI is not necessarily performed by the outside of the LSI.

【0024】次に、上記実施の形態の変形例として、L
SIを構成するCPUやメモリを用いて、LSIが内蔵
する機能ブロックのテストを内部的に行う場合について
説明する。
Next, as a modification of the above embodiment, L
A case where a test of a functional block built in an LSI is internally performed using a CPU and a memory constituting the SI will be described.

【0025】図1に示すLSIのテスト動作において、
CPUがテスト対象とするIP1の第1レジスタFF1
に、IP1が動作するようにシーケンスを組んでテスト
データを設定する。このとき、前記テストデータ及びテ
ストシーケンスはLSIのメモリ領域(図示せず)にあ
らかじめプログラム情報として書き込まれたものを使用
することができる。
In the test operation of the LSI shown in FIG.
First register FF1 of IP1 to be tested by CPU
Then, test data is set in a sequence so that IP1 operates. At this time, the test data and the test sequence may be those previously written as program information in a memory area (not shown) of the LSI.

【0026】CPUから第1レジスタFF1に設定され
たテストデータは、IP1の本体部を動作させ、その出
力信号がIP1の第2レジスタFF2にテスト結果を示
す出力データとして設定される。
The test data set in the first register FF1 by the CPU activates the main body of IP1, and its output signal is set in the second register FF2 of IP1 as output data indicating the test result.

【0027】CPUは、逐次第2レジスタに設定された
出力データを読み出し、メモリ領域に書き込まれた期待
値と比較することにより、IP1の動作を検証する。同
様なテスト動作をIP2、IP3等に対して繰り返すこ
とにより、LSIが内蔵するIPとしての全ての機能ブ
ロックの機能を検証することができる。
The CPU verifies the operation of IP1 by reading out the output data set in the two registers and comparing it with the expected value written in the memory area. By repeating the same test operation for IP2, IP3, and the like, it is possible to verify the functions of all the function blocks as IP built in the LSI.

【0028】このように、テストデータ、テストシーケ
ンス及びテスト結果の期待値をあらかじめメモリ領域に
プログラミングしておけば、CPUがテストを起動し、
IPとしての機能ブロックのテストを、IPとして引き
継がれたテスト情報を十分に活用しながら自動的に行う
ことができる。
As described above, if the test data, the test sequence, and the expected value of the test result are programmed in the memory area in advance, the CPU starts the test,
The test of the function block as the IP can be automatically performed while fully utilizing the test information inherited as the IP.

【0029】また、出力信号領域のFF2からなる第2
レジスタには、機能ブロックの出力信号データが格納さ
れ、LSIの通常動作期間中及び通常動作期間後も前記
出力信号データが保持されるため、機能ブロックが実際
にLSIに組み込まれた後も、前記出力信号領域をチェ
ックすることにより各機能ブロックの動作状態を再確認
することができる。
Further, the second signal FF2 in the output signal area
The register stores the output signal data of the functional block, and holds the output signal data during and after the normal operation period of the LSI. Therefore, even after the functional block is actually incorporated in the LSI, By checking the output signal area, the operation state of each functional block can be confirmed again.

【0030】なお本発明は上記の実施の形態に限定され
ることはない。以上にのべた実施の形態では、IPとし
ての機能ブロックを内蔵するLSIにおいて、前記機能
ブロックの動作を検証するテスト回路及びテスト方法に
ついて説明したが、テストの対象とする機能ブロック
は、必ずしもIPである必要はない。通常LSIに内蔵
される一般の機能ブロックに対しても同様に実施するこ
とができる。その他本発明の要旨を逸脱しない範囲で種
々変形して実施することができる。
The present invention is not limited to the above embodiment. In the embodiments described above, the test circuit and the test method for verifying the operation of the functional block in the LSI having the functional block as the IP have been described. However, the functional block to be tested is not necessarily the IP. No need to be. The same can be applied to general functional blocks built in a normal LSI. In addition, various modifications can be made without departing from the scope of the present invention.

【0031】[0031]

【発明の効果】上述したように、本発明のIPとしての
機能ブロックを内蔵するシステムLSIのテスト回路に
よれば、次のような効果が得られる。
As described above, according to the test circuit of the system LSI incorporating the function block as the IP of the present invention, the following effects can be obtained.

【0032】(1)機能ブロックを動作させるテストデ
ータ、テストシーケンス及びテスト結果の期待値をメモ
リ上にプログラミングすることにより、CPUがテスト
回路を起動して対象とする機能ブロックのテストを自動
的に実行することができるため、IPとして引き継がれ
た機能ブロックのテストに関する知的資産を容易に活用
することができる。
(1) The test data for operating the functional block, the test sequence, and the expected value of the test result are programmed in the memory, so that the CPU activates the test circuit and automatically tests the target functional block. Since it can be executed, intellectual assets related to the test of the functional block inherited as IP can be easily utilized.

【0033】(2)機能ブロックの入力信号は、各機能
ブロックに含まれる入力信号領域を用いて設定すること
ができ、また、出力信号の状態は、出力信号領域を用い
て確認することができるので、チップのピン数によらず
に対象とする機能ブロックのテストを行うことができ
る。
(2) The input signals of the functional blocks can be set by using the input signal areas included in each functional block, and the state of the output signals can be confirmed by using the output signal areas. Therefore, the target functional block can be tested regardless of the number of pins of the chip.

【0034】(3)出力信号領域には機能ブロックの出
力信号データが格納されているため、機能ブロックが実
際にLSIに組み込まれた後も、前記出力信号領域をチ
ェックすることにより各機能ブロックの動作状態を再確
認することができるので、特にLSIが仕様通りに動作
しない場合に、各機能ブロックの出力信号領域をチェッ
クすることにより不具合を特定することが容易になる。
(3) Since the output signal data of the functional block is stored in the output signal area, the output signal area is checked by checking the output signal area even after the functional block is actually incorporated in the LSI. Since the operation state can be reconfirmed, particularly when the LSI does not operate as specified, it is easy to identify a defect by checking the output signal area of each functional block.

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

【図1】本発明の実施の形態に係るCPUと複数の機能
ブロックを内蔵したシステムLSIの構成を示す図であ
って、(a)はデータバスを介してCPUに接続された
複数の機能ブロックからなる本発明の構成部分を示す
図。(b)はシステムLSIの通常動作時にアクセスさ
れるIP1のレジスタ領域と、テスト動作時に用いられ
る入力信号領域と出力信号領域の構成を示す図。(c)
は前記入出力信号領域のレジスタFF1、FF2、マル
チプレクサMUX、及びIP1の本体部との接続を示す
図。
FIG. 1 is a diagram showing a configuration of a system LSI incorporating a CPU and a plurality of function blocks according to an embodiment of the present invention, wherein (a) shows a plurality of function blocks connected to the CPU via a data bus; The figure which shows the component part of this invention which consists of. FIG. 3B is a diagram illustrating a configuration of a register area of IP1 accessed during a normal operation of the system LSI, and an input signal area and an output signal area used during a test operation. (C)
FIG. 3 is a diagram showing connections between the input / output signal area, registers FF1 and FF2, a multiplexer MUX, and a main body of IP1.

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

1…テスト動作時の入力端子 2…テスト動作時の出力端子 3…通常動作時の入力端子 4…通常動作時の出力端子 1: Input terminal during test operation 2: Output terminal during test operation 3: Input terminal during normal operation 4: Output terminal during normal operation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 機能ブロックの入力部に接続された第1
のレジスタと、前記機能ブロックの出力部に接続された
第2のレジスタとを備え、前記第1、第2のレジスタ
は、それぞれ外部バスからアクセス可能なものであっ
て、 前記第1のレジスタは、外部から入力された前記機能ブ
ロックのテストデータを一時記憶した後、外部から付与
された一定のシーケンスに従って前記テストデータを前
記機能ブロックに入力する機能を有し、 前記第2のレジスタは、前記機能ブロックから出力され
る前記テストデータによる前記機能ブロックのテスト結
果を一時記憶し、前記第2のレジスタに一時記憶された
テスト結果を期待値と比較することにより前記機能ブロ
ックの動作状態を検証することを特徴とする機能ブロッ
クを備えたLSIのテスト回路。
A first block connected to an input section of the functional block;
And a second register connected to an output unit of the functional block, wherein the first and second registers are each accessible from an external bus, and the first register is Having a function of temporarily storing test data of the functional block input from the outside, and then inputting the test data to the functional block according to a fixed sequence given from the outside; A test result of the functional block based on the test data output from the functional block is temporarily stored, and the operation result of the functional block is verified by comparing the test result temporarily stored in the second register with an expected value. An LSI test circuit comprising a functional block.
【請求項2】 CPU及び前記CPUの入出力データを
記憶するメモリと、 前記CPUにより制御される機能ブロックと、 前記機能ブロックの入力部に接続された第1のレジスタ
と、 前記機能ブロックの出力部に接続された第2のレジスタ
とを備え、 前記第1、第2のレジスタは、前記CPUからアクセス
可能なものであって、 前記第1のレジスタは、前記CPUにより前記メモリか
ら一定のシーケンスに従って読み出された前記機能ブロ
ックのテストデータを一時記憶した後、前記テストデー
タを前記機能ブロックに入力する機能を有し、 前記第2のレジスタは、前記機能ブロックから出力され
る前記テストデータによる前記機能ブロックのテスト結
果を一時記憶し、前記第2のレジスタに一時記憶された
テスト結果を前記CPUを用いて前記メモリに記憶され
た期待値と比較することにより前記機能ブロックの動作
状態を検証することを特徴とする機能ブロックを備えた
LSIのテスト回路。
2. A CPU and a memory for storing input / output data of the CPU, a function block controlled by the CPU, a first register connected to an input section of the function block, and an output of the function block And a second register connected to the unit, wherein the first and second registers are accessible from the CPU, and the first register is a fixed sequence from the memory by the CPU. Has a function of temporarily storing test data of the functional block read in accordance with the above, and then inputting the test data to the functional block. The test result of the functional block is temporarily stored, and the test result temporarily stored in the second register is used by the CPU. A test circuit for verifying an operation state of the function block by comparing the operation state of the function block with an expected value stored in the memory.
【請求項3】 前記LSIのテスト回路は、前記機能ブ
ロックをテストするテストデータ及びテストデータのシ
ーケンスと前記テスト結果の期待値とを前記メモリ上に
プログム情報として記録することにより、前記CPUが
前記LSIのテスト回路を起動して前記メモリ上のプロ
グラム情報を読み出し、テスト対象とする前記機能ブロ
ックのテストを自動的に行うことを特徴とする請求項2
記載の機能ブロックを備えたLSIのテスト回路。
3. The test circuit of the LSI records test data for testing the functional block, a sequence of test data, and an expected value of the test result as program information on the memory, so that the CPU can 3. The method according to claim 2, wherein a test circuit of an LSI is started to read out program information on the memory, and a test of the functional block to be tested is automatically performed.
An LSI test circuit comprising the functional blocks described above.
【請求項4】 前記LSIのテスト回路において、前記
第2のレジスタに一時記憶された前記機能ブロックのテ
スト結果が前記LSIの通常動作期間中前記第2のレジ
スタに保持され、前記LSIの通常動作期間中及び通常
動作期間後において前記機能ブロックのテスト結果を検
証可能とすることを特徴とする請求項1乃至3のいずれ
か1つに記載の機能ブロックを備えたLSIのテスト回
路。
4. In the LSI test circuit, a test result of the functional block temporarily stored in the second register is held in the second register during a normal operation period of the LSI, and a normal operation of the LSI is performed. 4. The LSI test circuit according to claim 1, wherein a test result of the functional block can be verified during a period and after a normal operation period.
【請求項5】 機能ブロックの入力部に接続された第1
のレジスタ及び前記機能ブロックの出力部に接続された
第2のレジスタをバス配線を介してアクセスするステッ
プと、 前記機能ブロックのテストデータを前記第1のレジスタ
に一時記憶するステップと、 前記機能ブロックのテストシーケンスに従って、前記第
1のレジスタに一時記憶された前記テストデータを読み
出して前記機能ブロックに入力するステップと、 前記機能ブロックから出力される前記機能ブロックのテ
スト結果を前記第2のレジスタに一時記憶するステップ
と、 前記第2のレジスタに一時記憶されたテスト結果を前記
機能ブロックのテスト結果の期待値と比較するステップ
と、 を含むことを特徴とする機能ブロックを備えたLSIの
テスト方法。
5. A first circuit connected to an input of a functional block.
Accessing a second register connected to an output unit of the functional block and a register of the functional block via a bus line; temporarily storing test data of the functional block in the first register; Reading the test data temporarily stored in the first register and inputting the test data to the functional block according to the test sequence of the following; and storing the test result of the functional block output from the functional block in the second register. Temporarily storing the test result, and comparing the test result temporarily stored in the second register with an expected value of the test result of the functional block. .
JP2000197108A 2000-06-29 2000-06-29 Testing circuit for lsi provided with functional block, and testing method therefor Pending JP2002014141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000197108A JP2002014141A (en) 2000-06-29 2000-06-29 Testing circuit for lsi provided with functional block, and testing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000197108A JP2002014141A (en) 2000-06-29 2000-06-29 Testing circuit for lsi provided with functional block, and testing method therefor

Publications (1)

Publication Number Publication Date
JP2002014141A true JP2002014141A (en) 2002-01-18

Family

ID=18695486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000197108A Pending JP2002014141A (en) 2000-06-29 2000-06-29 Testing circuit for lsi provided with functional block, and testing method therefor

Country Status (1)

Country Link
JP (1) JP2002014141A (en)

Similar Documents

Publication Publication Date Title
US6122762A (en) Memory interface device and method for supporting debugging
JPH05108396A (en) Processor circuit
US20040130944A1 (en) Programming flash memory via a boundary scan register
JPH1183956A (en) Integrated circuit
JPH10143390A (en) Processing system with test mechanism
US6862704B1 (en) Apparatus and method for testing memory in a microprocessor
US6978406B2 (en) System and method for testing memory arrays
US7627794B2 (en) Apparatus and method for discrete test access control of multiple cores
JP3198997B2 (en) Microcomputer and burn-in test method thereof
JP2002014141A (en) Testing circuit for lsi provided with functional block, and testing method therefor
JP3094983B2 (en) System logic test circuit and test method
JP2000346905A (en) Semiconductor device and method for testing the same
JP4176944B2 (en) Semiconductor integrated circuit and recording medium
EP1083435A2 (en) Integrated circuit test apparatus
JPS646489B2 (en)
JPH0843494A (en) Electronic circuit
JP2002365337A (en) Test circuit and digital circuit
JPH05151017A (en) Microcomputer
JP3102600B2 (en) IC tester
JPH06222946A (en) Integrated circuit and testing method for the same
JP3698269B2 (en) LSI delay measurement method
JP2933028B2 (en) Semiconductor integrated circuit inspection equipment
JP3017174B1 (en) Memory inspection method and memory inspection device
US7403437B2 (en) ROM test method and ROM test circuit
US20040123194A1 (en) Systems and methods for testing tri-state bus drivers