JPS60252958A - Testing system of logical circuit - Google Patents

Testing system of logical circuit

Info

Publication number
JPS60252958A
JPS60252958A JP59109936A JP10993684A JPS60252958A JP S60252958 A JPS60252958 A JP S60252958A JP 59109936 A JP59109936 A JP 59109936A JP 10993684 A JP10993684 A JP 10993684A JP S60252958 A JPS60252958 A JP S60252958A
Authority
JP
Japan
Prior art keywords
data
input
output
scan
test
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
JP59109936A
Other languages
Japanese (ja)
Other versions
JPS64730B2 (en
Inventor
Tsuguhito Serizawa
芹沢 亜人
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 JP59109936A priority Critical patent/JPS60252958A/en
Publication of JPS60252958A publication Critical patent/JPS60252958A/en
Publication of JPS64730B2 publication Critical patent/JPS64730B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time for checking data inputting/outputting operation of input/output terminals and to reduce the number of connecting lines by providing scan flip-flop in each input/output circuit unit. CONSTITUTION:Scan flip-flops 35a-35c are provided in each input/output circuit unit (IOU)31, and necessary data are transmitted in series using small number of connecting lines to the flip-flop by scan in system, and distributed one by one by a decoder 34. Increase of time required for transmission in series makes distribution in series of data by scan in system in the second test controlling section 3a during scan in operation timing of the first test controlling section 2 possible by conditional expression of the number of normal data input/output terminals < the number of flip-flops of the object to be tested. Thus, the time for test does not increase by the reduction of the number of connecting lines.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は論理回路とりわけスキャンイン/アウト機能ン
有する高集積回路素子(LSI)あるいは複数の論理回
路素子ないしはLSIン塔載し該機能を備えた中間実装
体における論理回路の試験方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a logic circuit, particularly a highly integrated circuit element (LSI) having a scan-in/out function, or a plurality of logic circuit elements or an LSI integrated circuit having the scan-in/out function. This paper relates to a test method for logic circuits in intermediate packaging structures.

従来よりデンタルデータ処理システムは論理(ロ)路に
よって構成するが近年半導体特に集積化技術の発達に伴
い、半導体による多数の論理回路素子ン例えばマイクロ
プロセッサ(MPU)のような複雑な機能を1パ々−ジ
に実現すると共に低コストで提供されるようになり、多
くの産業分野においてデジタル制御機能として広く利用
されるようになった0 論理回路は機能的にはノア、ナンドのような組合せ回路
素子と複数の組合せ回路X相互に接続して得るラッチ、
レジスタ、フリップフロップ回路(FF)のような順序
回路ン組合せて実現する演算機能、データ保持ならびに
データ転送機能馨集不成して中央処理装置(CPU)の
ようなデータ処理システムン構成する。
Traditionally, dental data processing systems have been constructed using logic (ro) circuits, but in recent years, with the development of semiconductor integration technology in particular, many logic circuit elements using semiconductors, such as microprocessors (MPUs), have become capable of implementing complex functions in one package. Logic circuits are functionally similar to combinational circuits such as Noah and Nando. A latch obtained by interconnecting an element and a plurality of combinational circuits
Arithmetic functions, data retention, and data transfer functions realized by combining sequential circuits such as registers and flip-flop circuits (FF) constitute a data processing system such as a central processing unit (CPU).

コレ等のデータ処理システムはその信頼性、保守性ン向
上せしめるため、パリティチェック、自動誤訂正、再試
行、自己診断等の機能ン備える一方、LSIあるいは中
間実装体例えば印刷配線板等における機能の正常性ある
いは故障位置の指摘を容易にするため、通常のデータ処
理動作におけろそれ等の入力端子よりのデータ入力(P
 i)または出力端子よりのデータ出力(PO)とは別
に、該LSIあるいは中間実装体を構成するFFの任意
位置におけるデータン読出す(スキャンアウト)または
任意位置にデータケ書込む(スキャン42手段が広く尋
人されていることは周知の通りである。
In order to improve reliability and maintainability, data processing systems such as this are equipped with functions such as parity check, automatic error correction, retry, and self-diagnosis. In order to easily point out the normality or failure location, data input from these input terminals (P
i) Or, apart from the data output (PO) from the output terminal, data can be read out (scan out) at any position of the FF constituting the LSI or intermediate packaged body, or data can be written to any position (scan 42 means is widely used) It is well known that he is a stranger.

〔従来の技術〕[Conventional technology]

従来より上記スキャンイン/アウトによる試験方法はシ
フトレジスタ方式とアドレス方式に大別され、何れの場
合も■スキャンイン、 @ P i /P 。
Conventionally, the above-mentioned scan-in/out test methods have been broadly classified into shift register method and address method, and in both cases, ■ scan-in, @ P i /P.

による論理動作、Oスキャンアウトの順で実行される。The logic operation is performed in the following order: O scanout.

第2図(a)K従来および本発明の一実施例におけるア
ドレス方式によるスキャンイン/アウト機能ン備えた被
試験体となるLSI/中間実装体の構成側口。
FIG. 2(a) shows a configuration side port of an LSI/intermediate mounting body to be tested which is equipped with a scan-in/out function using an addressing method in the prior art and in one embodiment of the present invention.

第2図(b)Kそのスキャンアウトの対象単位となるス
キャンイン/アウト機能ン有するフリップフロップ回路
(FF)の接続偶因および第3図は従来におけるアドレ
ス方式による論理回路の試験方式によるブロック図ン示
す。
Figure 2(b) shows the connection contingencies of a flip-flop circuit (FF) with a scan-in/out function, which is the target unit for scan-out, and Figure 3 is a block diagram of a conventional logic circuit testing method using an addressing method. Show the button.

第3囚における被試験体1 i′!L S Iまたは複
数のLSIより構成される中間実装体例えば印刷配線板
のイメージであり、スキャンイン/アウトの対象となる
FFI〜11の個数nは数10から数1ρOOに達し、
各FFは第2図falにおけるデコーダ(DEC)に印
加される第1試験制御部2のスキャンイアFFアドレス
部22gのアドレスデータ(Sadl=m)1選択器(
MPX)に(Si)選択信号乞印加して選択送出せ。め
で、該。a d t−1c伴う、=2y″−個のFFが
逐一選択されると共に、スキャンインデータ記憶部(S
iデータMEM)21aからのデータな別途被試験体l
のCLK端子に印加されるスキャンインセットタイミン
グ信号(CLK)に従い該選択FFに設定するスキャン
インサイクルン実行する。
Test subject 1 i′ in prisoner 3! This is an image of an intermediate package such as a printed wiring board composed of an LSI or a plurality of LSIs, and the number n of FFIs to 11 to be scanned in/out reaches several tens to several 1ρOO,
Each FF has address data (Sadl=m) 1 selector (
Apply the (Si) selection signal to MPX) and send the selection signal. Congratulations. =2y''- FFs associated with a d t-1c are selected one by one, and the scan-in data storage unit (S
i-data MEM) data from 21a, separate test object l
A scan in cycle set to the selected FF is executed in accordance with a scan inset timing signal (CLK) applied to the CLK terminal of the selected FF.

ここで第1試験制御fll12より被試験体lに送出家
には受(1するための各バッファBUFFは単数として
示したがSadIS−m図のBUFFKついてはmビッ
トに対応するm個のBUFFにより構成されているもの
とする〇 このスキャンイン動作の後第2試験制御部3は被試験体
1の全データ入力端子Pil〜qに対し入出力回路ユニ
ット(IOU)列ン介し入力または出力期待値データ記
憶部(Pi/Poデータ厩M)32bの試験入力データ
(Pi)Y並列に印加すると共に入力または出力の選択
指示データン保持する入出力制御データ記憶部(入出力
制御データMEM)32 aより送出せしめて該l0U
31のトライステート回路(TSL)の選択端子(送出
すると共に、全データ出力端子Po+〜rに得られる出
力YIOU31のB UFFχ介しその排他的論理和回
路(FOR)に印加し出力期待値データ記憶部(Poデ
ータMEM)21bのデータと比較してその出カケアン
ド回路(AND)に印加する有効/無効指示データ記憶
部(PoマスクデータMEM)32cよりのマスクデー
タによりゲートして有効なEOHにおける一致/不一致
信号を送出せしめる。
Here, each buffer BUFF for transmitting data to the test object l from the first test control fl12 is shown as a single unit, but BUFFK in the SadIS-m diagram is composed of m BUFFs corresponding to m bits. After this scan-in operation, the second test control unit 3 sends input or output expected value data to all data input terminals Pil to q of the device under test 1 via the input/output circuit unit (IOU) column. The test input data (Pi) of the storage unit (Pi/Po data storage M) 32b is applied in parallel and sent from the input/output control data storage unit (input/output control data MEM) 32a that holds input or output selection instruction data. At least that l0U
The selection terminal of the tri-state circuit (TSL) of 31 (as well as the output obtained from all the data output terminals Po+ to r) is applied to the exclusive OR circuit (FOR) of the YIOU 31 through the B UFFχ and output expected value data storage unit. (Po data MEM) 21b and applied to the output AND circuit (AND) gated by the mask data from the valid/invalid instruction data storage section (Po mask data MEM) 32c to determine the match at the valid EOH. Causes a mismatch signal to be sent.

尚第2図(alにおける入力端子Pixxqならびに出
力端子pol〜rはそれぞれ専用端子として表示したが
、第3図に示すl0U31は入力または/および出力端
子の何れにも対応出来るよう構成されているものとする
Although the input terminal Pixxq and output terminals pol to r in FIG. 2 (al) are shown as dedicated terminals, l0U31 shown in FIG. shall be.

このように第2試験制御部3によるPi/PoデータM
EM32bからのデータ入出力による試験の後、第1試
験制御部1は被試験体1のFFI−nヶ再びスキャンア
ウトアドレス部22bよりスキャンアウト状態(So)
選択信号によるMPX23V介し、アドレスデータ(S
 a d 1−憎)の印加によりスキャンアウトして該
スキャン丁つン信号(SO)ン該制御部1のJによりス
キャンアウト期待値データ記憶部(SoデータMEM)
のデータと比較しANDによりスキャンアウト有効/無
効指示データ記憶部(SoマスクデータMEM)2]c
のマスクデータによりゲートとして有効エラー信号ン送
付せしめる。
In this way, the Pi/Po data M by the second test control section 3
After the test using data input/output from the EM32b, the first test control unit 1 returns the FFI-n of the test object 1 to the scanout state (So) from the scanout address unit 22b.
Address data (S
a d 1-h) is scanned out by the application of the scan signal (SO), and the scan-out expected value data storage unit (So data MEM) is generated by J of the control unit 1.
Scan-out valid/invalid instruction data storage unit (So mask data MEM) 2]c by comparing with the data of
The mask data allows the gate to send a valid error signal.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上のようにスキャンイン/アウト動作は第1試験制御
部2によるFFI−nへのSiデータの直列分配書込み
によるスキャンインサイクル、第2試験制御部3による
全入出力端子へのデータ入出力サイクルならびに第1試
験制御部2によるS。
As described above, the scan-in/out operation is a scan-in cycle in which the first test control unit 2 writes Si data in series to the FFI-n, and a data input/output cycle to all input/output terminals by the second test control unit 3. and S by the first test control section 2.

データの直列読出しによるスキャンアウトサイクル?実
行する。
Scanout cycle with serial readout of data? Execute.

ここで第1試験制御部2による動作は4〜10数本の信
号線による接続で済むがスキャンインおよびスキャンア
ウトサイクルにおいてそれぞれFFの数Nに匹敵するス
テップ数だけ要し、逆に第2試験制御部3によるデータ
入出力動作は2ステップ程度の少ステップが済むがその
接続線39の数はエラー信号用7除いても被試験体1に
近接する例、tばビンエレメント部分に設i1jるl0
U31と試験装置本体側に残る第2試験制御部3の他回
路との接続線390本数は例えば入出力端子数か102
4本存在すれば3,072本ンも必要とする欠点ン有し
ていた。
Here, the operation by the first test control unit 2 can be performed by connecting four to ten signal lines, but each scan-in and scan-out cycle requires a number of steps equal to the number N of FFs, and conversely, the second test The data input/output operation by the control unit 3 takes only about 2 steps, but the number of connection lines 39, excluding 7 for error signals, is in the example close to the test object 1, and is installed in the bin element part. l0
The number of connection wires between U31 and other circuits of the second test control section 3 remaining on the test equipment main body side is 390, for example, the number of input/output terminals or 102.
If there were 4 wires, it would have required 3,072 wires.

このことは入出力制御データMEM 32 a 、Pl
/PoデータMEM32b、Po?スクデータMEM3
2 cにも端子数に対応して予め記憶領域を割付ける必
要があるためこれ等の記憶領域が場合によっては無駄に
準備される場合も存在する。
This means that the input/output control data MEM 32 a, Pl
/Po data MEM32b, Po? School data MEM3
2c as well, it is necessary to allocate storage areas in advance in accordance with the number of terminals, so these storage areas may be prepared in vain depending on the situation.

このようなLSIや中間実装体を試験対象とする試験方
式や試験装置ではこれ等の多様化に対して接続線数が出
来るだけ少くて済み、記憶領域の割付6単なことが望ま
しい。本発明は以上の問題点ン解決する論理回路の試験
方式ケ提供しようとするものである。
In response to such diversification, it is desirable that the number of connection lines be as small as possible in a test method or test apparatus that tests such LSIs or intermediate mounted bodies, and that the storage area be allocated to 6 units. The present invention aims to provide a logic circuit testing method that solves the above problems.

〔問題点乞解決するための手段〕[Means to solve problems]

この目的は、該第2試験制御部は前記データ入出力動作
時に際し入力データビット7]’選択印加する手段、出
力データビットY受信する手段ならびに出力データビッ
トv期待値データビットと比較する手段よりなる入出力
回路ユニットy被試験体の入出力端子に対応して具備し
、該入出力回路ユニット毎に入力または出力動作ケ選択
指示する制御データビット、入力または出力期待値デー
タビットならびに照合比較の有効/無効ン指示するマス
クデータピットン一時保持する3ビット並列しジスタ、
該レジスタに転送すべき各データビットケ受信する3個
1組のスキャンインフリップフロップ回路および該フリ
ップフロップ回路を逐一選択するデ・コード手段を具備
してなり、第2試験制御部は第1試験制御部の実行する
スキャンイン動作タイミングにおいて、別途備えた記憶
手段に保持する入出力制御データ、入力または出力期待
値データならびにマスクデータ馨それぞれデコード手段
により的記入出力回路ユニットに対応する3個1組のフ
リップフロップ回路を逐一選択せしめてスキャンインし
、第1試験制御部のスキャンイン動作終了に伴い該フリ
ップフロップ回路の各データビラトラ該しジスタに転送
して、入出力回路ユニットに印加せしめ、各レジスタに
おけろ入出力制御データに従い入出力回路ユニットvし
て人力データピットン被試験体の入力端子に印加すると
共に、出力端子に得られる出力データピットン入出力回
路ユニットにおける該比較手段により期待値データビッ
トと比較し、その照合結果の不一致信号wWk理和出力
によりデータ入出力動作圧おけるトータルエラーとして
検出せしめる一万、該入出力回路ユニットにおけろ不一
致信号ン対応するフリップフロップ回路の1回路に帰還
して保持せしめ、引続き実行する第1試験制御部のスキ
ャンアウトタイミングにおいてデコード手段Zして行わ
しめるアドレススキャン動作により該フリップフロップ
回路の帰還保持信号ン送出せしめ不一致信号が得られた
出力端子ン識別する本発明を提供することによって達成
される。
This purpose is that the second test control section has a means for selectively applying input data bit 7', a means for receiving output data bit Y, and a means for comparing output data bit v with expected value data bit during the data input/output operation. The input/output circuit unit y is provided corresponding to the input/output terminal of the test object, and each input/output circuit unit is equipped with control data bits for instructing input or output operation selection, input or output expected value data bits, and collation/comparison data bits. A 3-bit parallel register that temporarily holds the mask data pitton that indicates whether it is valid or invalid.
The second test control section is equipped with a set of three scan-in flip-flop circuits that receive each data bit to be transferred to the register, and decoding means that selects the flip-flop circuits one by one. At the timing of the scan-in operation executed by the control section, a set of three input/output control data, input or output expected value data, and mask data held in a separately provided storage means are each stored by a decoding means corresponding to the input/output circuit unit. select and scan in the flip-flop circuits one by one, and upon completion of the scan-in operation of the first test control section, transfer the data to each register of the flip-flop circuit and apply it to the input/output circuit unit; In accordance with the input/output control data in each register, the input/output circuit unit v applies human data to the input terminal of the pitton under test, and the output data obtained at the output terminal is determined by the comparison means in the pitton input/output circuit unit. It is compared with the expected value data bit, and the mismatch signal wWk of the comparison result is detected as a total error in the data input/output operating pressure. The feedback holding signal of the flip-flop circuit is sent out by the address scan operation performed by the decoding means Z at the scan-out timing of the first test control section, which is subsequently executed, and a mismatch signal is obtained. This is achieved by providing the present invention which identifies output terminals.

〔作用〕[Effect]

本発明によれば第2試験制御部による被試験体のデータ
入出力端子に印加する信号を入出力端子周辺に設けたl
0U31に対応する接続線数の3倍によって直接データ
ン分配していたのに代り、該l0U31毎にスキャンF
Fケ設は該FFに対しスキャンイン方式によって必要デ
ータケ少数接新線によって直列に伝送してデコード手段
により逐一分配する。
According to the present invention, the signal applied to the data input/output terminal of the test object by the second test control section is provided around the input/output terminal.
Instead of directly distributing data by three times the number of connection lines corresponding to 0U31, scan F for each 10U31
The F units transmit necessary data serially to the FF using a scan-in method using a small number of access lines, and are distributed one by one by a decoding means.

直列伝送による時間の増加は通常データ入出力端子数く
被試験体のFF数であるところから第1試験制御部のス
キャンイン動作タイミング中に第2試験制御部における
該スキャンイン方式によるデータの直列分配ケ実行する
ことによって実質的な試験時間は従来の試験方式と変り
ないレベルに維持しつ\被試験体との接続線数ン効果的
に削減する試験方式を得ようとするものである。
The increase in time due to serial transmission is usually equal to the number of data input/output terminals multiplied by the number of FFs of the device under test. By carrying out the distribution test, the objective is to obtain a test method that maintains the actual test time at the same level as conventional test methods while effectively reducing the number of connection lines to the device under test.

〔実施例〕〔Example〕

以下図面馨参照しつ\本発明の一実施例により説明する
An embodiment of the present invention will be explained below with reference to the drawings.

第1図1blは本発明の一実施例における論理回路の試
験方式によるブロック図および第1図1blはその動作
タイミング7示すタイムチャートである。
FIG. 1 1bl is a block diagram of a logic circuit testing method according to an embodiment of the present invention, and FIG. 1 1bl is a time chart showing the operation timing 7 thereof.

全図ン通じて同一符号は同一の対象物を示す。従って被
試験体】および第1試験制御部2については従来と変り
なく、ま良第2試験制御部3aにおいても入出力回路ユ
ニッ1−IOU31は従来と変りない。
The same reference numerals indicate the same objects throughout the drawings. Therefore, the test object and the first test control section 2 are the same as before, and the input/output circuit unit 1-IOU31 of the second test control section 3a is also the same as before.

本発明05一実施例では両頂の要旨に述べたように従来
各入出力端子即ち対応するl0TJ31毎に入出力する
データケ直接接続線によっていたのに対して、第1試験
制御部2のスキャンインサイクル中に第2試験制御部3
aにおいてもスキャンイン方式により新たに設けたスキ
ャンFF 35 a + b +Cに対し入出力端子ア
ドレス部33によりデコーダ34ン介して逐一分配する
点が異なる。
In one embodiment of the present invention, as described in the summary of the two tops, the scan input of the first test control section 2 is different from the conventional method in which a direct connection line was used for inputting and outputting data for each input/output terminal, that is, for each corresponding l0TJ31. During the cycle, the second test control unit 3
A also differs in that the input/output terminal address section 33 distributes signals one by one to the newly provided scan FFs 35 a + b + C via the decoder 34 using the scan-in method.

デコーダ34は入出力端子アドレス部33のアドレス信
号Sad■に従いl0U31に対応するスキャンFF3
5a、b、cy逐一選択して入出力制御データMEM3
2 a a +入力または出力期待値データ記憶部(P
i/PoデータMEM)32bb、有効/無効指示デー
タ記憶部(PoマスクデータMEM)32ccからの入
出力制御データの5ii10■。
The decoder 34 scans the scan FF3 corresponding to l0U31 according to the address signal Sad■ of the input/output terminal address section 33.
5a, b, cy are selected one by one and input/output control data MEM3
2 a a + Input or output expected value data storage unit (P
5ii10■ of input/output control data from the i/Po data MEM) 32bb and the valid/invalid instruction data storage section (Po mask data MEM) 32cc.

Pj/PoデータのSiDのおよびPOマスクデータの
Sixσ)tスキャンインする。尚選択器(MPX)3
7はこのタイミングにおいてはSixωY選択している
。第1回出)のタイムチャートとでは0.0である。
Scan in SiD of Pj/Po data and Sixσ)t of PO mask data. In addition, selector (MPX) 3
7 selects SixωY at this timing. It is 0.0 with the time chart of the first edition).

通常入出力端子数く被試験体1のスキャンイン対象のF
F数であり、FF35a=cへの各データにおけるセッ
トタイミングCLKσ)を第1試験制御部2におけるス
キャンインセットタイミング(CLK)即ち第1図ゐ)
のeと共通にすれば第2試験制御部3のスキャンインは
第1試験制御部2に比較して短時間に終了する。
Normally, the number of input/output terminals is the F of the scan-in target of the test device 1.
The set timing CLKσ) for each data to FF35a=c is the scan inset timing (CLK) in the first test control unit 2, that is, the scan inset timing (CLK) in FIG.
If this is the same as e, the scan-in of the second test control section 3 will be completed in a shorter time than that of the first test control section 2.

第1試験制御部2のスキャンイン終了を待機し、その終
了に伴って@によりPi/Poセットタイミング信号ケ
全信号ケタレジスタ36a=cスキャm35a=cのデ
ータケ該レジスタに一斉に転送する。
It waits for the scan-in of the first test control section 2 to finish, and upon its completion, the Pi/Po set timing signal and the data of all signal digit registers 36a=c scan m35a=c are transferred to the corresponding register all at once.

ここで5ii10σ)によって入力χ指示する例えば1
1″か設定されていたレジスタ36aはTSL ’fオ
ンとしてレジスタ36b&Ci定されていた入力データ
SiDσ)が■によって被試験体1の入力端子PiKt
JJ加さttb。
Here, input χ is indicated by 5ii10σ). For example, 1
The register 36a, which was set to 1'', is set to TSL 'f on, and the input data SiDσ), which was set to the register 36b&Ci, is changed to the input terminal PiKt of the test object 1 by ■.
JJ kasa ttb.

従って被試験体1の内部論理回路における遅延ン伴うか
被試験体1の出力データが出力端子P。
Therefore, the output data of the device under test 1 is transmitted to the output terminal P, whether there is a delay in the internal logic circuit of the device under test 1 or not.

に得られl0U31のBUFFを介しEORに印加され
る。この時S i ilo fflにおいて出カケ指定
するよう0″が設定されてい1こ他のレジスタ36aに
対応するレジスタ36bにはPi/PoトタMFM32
bbからの出力期待値データPoかスキャンFF35b
から先のQpi/Poルミ/Poセットタイミングタ3
6bに得られており、肚レジスタ36cには同様にPO
マスクデータMEM32ccからのSIXσ)がセット
されているので、被試験体1の出力データはEORにお
いて出力期待値データP。
is obtained and applied to EOR via BUFF of l0U31. At this time, 0'' is set in S i Ilo ffl to specify the output, and the register 36b corresponding to the other register 36a has the Pi/Po total MFM 32.
Output expected value data Po from bb or scan FF35b
Qpi/Po Lumi/Po set timing data from 3
6b, and the PO register 36c is similarly obtained.
Since the mask data MEM32cc (SIXσ) is set, the output data of the test object 1 is the expected output value data P at EOR.

と照合され、ANDにおいてSixσ)により有効信号
としてゲートされた一致、不一致信号が出力される。
, and in the AND operation, a match/mismatch signal gated as a valid signal is output.

該一致、不一致信号はその信号ン縦続するB UF’F
出力側で論和和が得られるよう構成されており不一致信
号があればトータルエラー信号として■のように検出さ
れる。
The match/mismatch signal is cascaded with the signal BUF'F
It is configured to obtain a logical sum on the output side, and if there is a mismatch signal, it is detected as a total error signal as shown in (■).

一方不一致イぎ号か得られた該AND出力は対応す71
+MPX37に人力されろ。この時遅延回路■L)37
により遅延され1こエラーセットタイミングα(9)か
MPX37に00ように印加されており不一致信号はF
F35cにセットされる。
On the other hand, the AND output obtained from the mismatched signal is the corresponding 71
+ Let MPX37 do the work for you. At this time, the delay circuit ■L) 37
The error set timing α (9) is delayed by 1 and is applied to MPX37 as 00, and the mismatch signal is F.
Set to F35c.

この時点で■システムクロックが印加されて第1試験制
御部2はスキャンアウトサイクルン実行し、再び5oF
Fアドレス部22bよりSad+〜mが逐一送付されて
被試験体lにおけるFFIM−nの内容が逐一続出され
従来同様比較照合/マスク動作により■スキャンアウト
チェックを実行する。
At this point, the system clock is applied, and the first test control section 2 executes a scan-out cycle and returns to 5oF.
Sad+ to m are sent one by one from the F address section 22b, and the contents of FFIM-n in the test object 1 are output one by one, and the scan-out check (2) is executed by comparing and matching/masking operations as in the conventional method.

第2試験制御部3においては第1試験制御部2によるス
キャンアウトサイクルの実行中に再び入出力端子アドレ
ス部33はデコーダ34ン介しスキャンFF35a=c
ン逐一スキヤンアウトして■によるPoチェックビンデ
ータSomY送出せしめ不一致信号がANDより送出さ
れy、:1ou3i即ち出力端子ン識別する。
In the second test control section 3, during the execution of the scan out cycle by the first test control section 2, the input/output terminal address section 33 again sends the scan FF 35a=c via the decoder 34.
The check bin data SomY is scanned out one by one, and a mismatch signal is sent out from AND, and y, :1ou3i, that is, the output terminal is identified.

以上のように第2試験制御部3における各データンスキ
ャンFF35a=cにスキャンイン/アウトするタイミ
ングとしてデータ入出力サイクルの帥後における第1試
験制御部2によるスキャンイン/アウトサイクル期間中
に処理するので第2試験制御部3のデータ入出力サイク
ルにおける試験時間は従来と変りな〈従来と遜色ない試
験時間において被試験体lのスキャンイン/アウトによ
る試験ン実行することが出来る。
As described above, the timing for scanning in/out of each data scan FF 35a=c in the second test control unit 3 is determined during the scan in/out cycle period by the first test control unit 2 after the end of the data input/output cycle. Therefore, the test time in the data input/output cycle of the second test control section 3 is the same as that of the conventional method (tests can be executed by scanning in/out of the test object I in a test time comparable to that of the conventional method).

しかも従来に比較して被試験体1への入出力データの接
続線数が従来の接続線39からスキャンFF35a=c
へのスキャンイン用接続線39aに置換えられるので、
例えば従来の接続線39は前述の1.024本X3=3
,072本から接続線39aの3本に削減され、デコー
ダ34からの1,024=210による10本ならびに
タイミング信号線3本を加えた合計16本となり、第2
試験制御部2における長経路欠必要とする区間における
接続線数χ大幅に縮小することが出来る。
Moreover, compared to the conventional case, the number of connection lines for input/output data to the device under test 1 is reduced from the conventional connection line 39 to the scan FF 35a=c.
Since it is replaced with the scan-in connection line 39a to
For example, the conventional connection wire 39 is the aforementioned 1.024 wires x 3 = 3
, 072 to 3 connection lines 39a, and 10 lines due to 1,024=210 from the decoder 34 and 3 timing signal lines, resulting in a total of 16 lines.
The number of connecting wires χ in the section requiring long route interruption in the test control section 2 can be significantly reduced.

また入出力制御データMEM32 a a 、 P i
/P。
In addition, input/output control data MEM32 a a, P i
/P.

データMEM32bbならびにPoマスクテデー■M3
2ccに蓄積するデータもスキャンイン/アウト順に従
って1出力手段から直列に送出出来れば良いのでデータ
の出力手段も各々1024回路設ける必要もなくその記
憶領域も効率的に利用出来る2次的な効果が得られる。
Data MEM32bb and Po mask teddy M3
Since the data stored in the 2cc can be transmitted serially from one output means according to the scan-in/out order, there is no need to provide 1024 circuits for each data output means, and the secondary effect is that the storage area can be used efficiently. can get.

尚以上はアドレス方式によるスキャンイン/アウトによ
って説明したが第1または、/および第2試験制御部ン
他のソフトレジスタ方式によりて構成し被試験体1のス
キャンイン/アウトによる試験χ同様に実現することは
明白である。
Although the above explanation was based on scan-in/out using the address method, it is also possible to perform the test by scan-in/out of the test object 1 by configuring the first or/and second test control section using another soft register method. It is obvious to do so.

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

以上説明したように本発明によれば従来被試験体の入出
力端+7対象とするデータ入出力動作のためその試験時
間を従来に比較して増加せしめることなく接続線aを大
幅に縮小して被試験体の多様性に対し対応が容易な効率
の良い論理回路の試験方式ン提供することが出来る。
As explained above, according to the present invention, since the data input/output operation targets +7 input/output terminals of the conventional device under test, the connection line a can be significantly reduced without increasing the test time compared to the conventional method. It is possible to provide an efficient logic circuit testing method that can easily accommodate the diversity of test objects.

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

第1図(alは本発明の一実施例における論理回路の試
験方式によるブロック図、第1因由)はその動作タイミ
ングを示すタイムチャート、第2図falは従来および
本発明の一実施例における被試験体の構成側図、第2図
(b)はそのスキャン4フ7ア91機能馨有するフリッ
プフロップ回路(FF)の接続側図、および第3因は従
来におけるアドレス方式による論理回路の試験方式によ
るブロック図馨示す。図において、1は被試験体、2は
第1試験制御部、3,3aはwJ2試験制御部、21a
はスキ+ンイ7f’ −夕1etl’1lli(Sif
−夕MEM)、21bはスキャンアウト期待値データ記
憶部(SoデータMEM)、21Cは有効/無効指示デ
ータ記憶部(SoマスクデータMEM)、22aはスキ
ャンインFFアドレス部、22bはスキャンアウトFF
アドレス部、23は選択器(MPX)、31は入出力回
路ユニッ)(IOU) 、32aは入出力制御データ記
憶部、32bは入力または出力期待値データ記憶部(P
i/PoデータMEM)、32cは有効/無効指示デー
タ記憶部(Poマスクデーm)、33は入出力端子アド
レス部、34はデコーダ、353〜cはスキャンインF
F 136 a S−cはレンスタ、37は選択器(M
PX)、および39.39aは接続線である。
FIG. 1 (al is a block diagram of the logic circuit test method in one embodiment of the present invention, the first cause) is a time chart showing its operation timing, and FIG. Figure 2(b) is a side view of the structure of the test object, and Figure 2(b) is a connection side view of a flip-flop circuit (FF) having 4 scans and 91 functions. The block diagram is shown below. In the figure, 1 is the test object, 2 is the first test control section, 3, 3a is the wJ2 test control section, 21a
is skin + nii 7f' - evening 1etl'1lli (Sif
21b is a scan-out expected value data storage section (So data MEM), 21C is a valid/invalid instruction data storage section (So mask data MEM), 22a is a scan-in FF address section, and 22b is a scan-out FF
Address section, 23 is a selector (MPX), 31 is an input/output circuit unit (IOU), 32a is an input/output control data storage section, 32b is an input or output expected value data storage section (P
i/Po data MEM), 32c is a valid/invalid instruction data storage section (Po mask data m), 33 is an input/output terminal address section, 34 is a decoder, and 353 to c are scan-in F
F 136 a S-c is Lenstar, 37 is selector (M
PX), and 39.39a are connection lines.

Claims (1)

【特許請求の範囲】 被試験体の論理回路における各フリップフロップ回路に
データビットをスキャンイン/アウトしスキャンインデ
ータに対応する第1の期待値データと、照合する第1の
試験制御部と、データ入力端子に他の試験データを印加
しデータ出力端子に得られる出力データン第2の期待値
データと比較する第2の試験制御部よりなり、スキャン
イン。 データ入出力ならびにスキャンアウトヶ実行して両制御
部に得られる比較結果により被試験体における機能ン試
験するス←ンイン/アウト試験システムにありで、該第
2試験制御部は前記データ入出力動作時に際し入力デー
タビットヶ選択印加する手段、出力データピットン受信
する手段ならびに出力データピットン期待値データビッ
トと比較する手段よりなる入出力回路ユニツ+−V被試
験体の入出力端子に対応して具備し、該入出力回路ユニ
’yト毎に入力または出力動作ン選択指示する制御デー
タビット、入力または出力期待値データビットならびに
照合比較の有効/無効馨指示するマスクデータビットを
一時保持する3ビット並列レジスタ、該レジスタに転送
すべき各データビットケ受信する3個1組のスキャンイ
ンフリップフロップ回路および該フリップフロップ回路
を逐一選択するデ・コード手段を具備してなり、第2試
験制御部は第1試験制御部の実行するスキャンイン動作
タイミングにおいて、別途伽えた記憶手段に保持する入
出力制御データ、入力または出力期待値データならびに
マスクデータンそれぞれデコード手段により前記入出力
回路ユニットに対応する3個1組のフリップフロップ回
路ン逐−選択せしめてスキャンインし、第1試験制御部
のスキャンイン動作終了に伴い該フリップフロップ回路
の各データピットン核レジスタに転送して入出力回路ユ
ニットに印加せしめ各レジスタにおける入出力制御デー
タに従い入出力回路ユニットをして入カデータビットv
被試験体の入力端子に印加すると共に、出力端子に得ら
れる出力データピットヶ入出力回路ユニットにおける該
比較手段により期待値データビットと比較し、その照合
結果の不一致信号ン論理和出力によりデータ人出方動作
におけるトータルエラーとして検出せしめる一方、該入
出力回路ユニットにおける一致不一致信号乞対応するフ
リップフロップ回路の1回路に帰還して保持せしめ、引
き続き実行する第1試験制御部のスキャンアウトタイミ
ングにおいてデコード手段をして行わしめるアドレスス
キャン動作によす該フリップフロップ回路の帰還保持信
号ン送出せしめ不一致信号が得られた出力端子Z識別す
ることを特徴とする論理回路の試験方式。
[Scope of Claims] A first test control unit that scans data bits in and out of each flip-flop circuit in a logic circuit of a test object and compares them with first expected value data corresponding to the scan-in data; A second test control section applies other test data to the data input terminal and compares the output data obtained at the data output terminal with second expected value data, and scans in. There is a scan-in/out test system that performs data input/output and scan-out and performs a functional test on the test object based on the comparison results obtained from both control units, and the second test control unit performs the data input/output operation. An input/output circuit unit consisting of means for selectively applying input data bits, means for receiving output data pittons, and means for comparing output data pittons with expected value data bits is equipped corresponding to the input/output terminals of the +-V test object. and 3 bits that temporarily hold control data bits for instructing input or output operation selection, input or output expected value data bits, and mask data bits for instructing validation/invalidity of verification comparison for each input/output circuit unit. The second test control section comprises a parallel register, a set of three scan-in flip-flop circuits that receive each data bit to be transferred to the register, and decoding means for selecting the flip-flop circuits one by one. At the timing of the scan-in operation executed by the first test control section, the input/output control data, input or output expected value data, and mask data held in a separate storage means are respectively decoded by the decoding means into three corresponding to the input/output circuit units. A set of flip-flop circuits are selected one by one and scanned in, and upon completion of the scan-in operation of the first test control section, data is transferred to each pitton core register of the flip-flop circuit and applied to the input/output circuit unit. The input/output circuit unit outputs the input data bits according to the input/output control data in each register.
At the same time as applying voltage to the input terminal of the test object, the output data pit obtained at the output terminal is compared with the expected value data bit by the comparison means in the input/output circuit unit, and the difference signal of the comparison result is ORed to output the data output. While it is detected as a total error in the operation, the coincidence/mismatch signal in the input/output circuit unit is fed back to one of the corresponding flip-flop circuits and held, and the decoding means is activated at the scan-out timing of the first test control section to be subsequently executed. 1. A testing method for a logic circuit, characterized in that an output terminal Z from which a mismatch signal is obtained is identified by sending out a feedback holding signal of the flip-flop circuit through an address scan operation performed by the flip-flop circuit.
JP59109936A 1984-05-30 1984-05-30 Testing system of logical circuit Granted JPS60252958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59109936A JPS60252958A (en) 1984-05-30 1984-05-30 Testing system of logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59109936A JPS60252958A (en) 1984-05-30 1984-05-30 Testing system of logical circuit

Publications (2)

Publication Number Publication Date
JPS60252958A true JPS60252958A (en) 1985-12-13
JPS64730B2 JPS64730B2 (en) 1989-01-09

Family

ID=14522860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59109936A Granted JPS60252958A (en) 1984-05-30 1984-05-30 Testing system of logical circuit

Country Status (1)

Country Link
JP (1) JPS60252958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675333B1 (en) 1990-03-30 2004-01-06 Texas Instruments Incorporated Integrated circuit with serial I/O controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675333B1 (en) 1990-03-30 2004-01-06 Texas Instruments Incorporated Integrated circuit with serial I/O controller

Also Published As

Publication number Publication date
JPS64730B2 (en) 1989-01-09

Similar Documents

Publication Publication Date Title
US4488259A (en) On chip monitor
US6861866B2 (en) System on chip (SOC) and method of testing and/or debugging the system on chip
EP0095928A2 (en) Pipeline processing apparatus having a test function
JP3565863B2 (en) JTAG high impedance test mode
JPH0223891B2 (en)
US6055656A (en) Control register bus access through a standardized test access port
US6334198B1 (en) Method and arrangement for controlling multiply-activated test access port control modules
JPH0394183A (en) Testing method for semiconductor integrated circuit and circuit therefor
US5379308A (en) Apparatus for a bus-based integrated circuit test architecture
US5610927A (en) Integrated circuit control
US6816983B2 (en) Microprocessor internally provided with test circuit
JPS60252958A (en) Testing system of logical circuit
US6463562B1 (en) Semiconductor device including macros and its testing method
JP3094983B2 (en) System logic test circuit and test method
US20050028059A1 (en) Processor interface for test access port
JPH08292237A (en) Binary data output interface
US20040064763A1 (en) Apparatus and method for a trace system on a chip having multiple processing units
US4462029A (en) Command bus
JPH0444136A (en) Memory access controller
JPH02112777A (en) Semiconductor integrated circuit
JPH117800A (en) Semiconductor device and its monitoring burn-in method
KR20080039702A (en) System-on-a chip and test method thereof
JPH052056A (en) Output circuit
JPH03118652A (en) Integrated circuit
JPS6086630A (en) Address scan system