JPH08114647A - Tester - Google Patents

Tester

Info

Publication number
JPH08114647A
JPH08114647A JP6248152A JP24815294A JPH08114647A JP H08114647 A JPH08114647 A JP H08114647A JP 6248152 A JP6248152 A JP 6248152A JP 24815294 A JP24815294 A JP 24815294A JP H08114647 A JPH08114647 A JP H08114647A
Authority
JP
Japan
Prior art keywords
scan
circuit
test
signal
external
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
JP6248152A
Other languages
Japanese (ja)
Other versions
JP3594340B2 (en
Inventor
Sakae Mashima
栄 間嶋
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 JP24815294A priority Critical patent/JP3594340B2/en
Publication of JPH08114647A publication Critical patent/JPH08114647A/en
Application granted granted Critical
Publication of JP3594340B2 publication Critical patent/JP3594340B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: To test an LSI or printed wiring board different in scanning system with the same device by changing over an external scanning system and an internal control (JTAG) scanning system in a testing direction. CONSTITUTION: In order to perform a test using both of an external scanning system supplying a clock signal from an external circuit in order to perform external scanning and a JTAG scanning system, an external scanning circuit block and a JTAG scanning circuit block are changed over to be used. That is, in order to operate the LSI 30 of the JTAG scanning system with the external scanning system, a JTAG signal suppressing circuit 18, a control signal selection circuit 21 and a scanning output selecting circuit 22 are provided. By bringing the test mode signal being the scanning system selecting signal from the outside of the LSI 30 to an ON-state on a terminal EX, the signal of the JTAG scanning system is blocked. At the same time, the operation mode of a clock forming circuit 20 becomes the external scanning system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は試験装置に係り、特に外
部スキャンを行うためにクロック信号を外部回路より供
給する外部スキャン方式とIEEE準拠の内部制御スキャン
方式(JTAGスキヤン方式)の両方の試験を実行できるよ
うにする試験装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test apparatus, and particularly to a test for both an external scan method in which a clock signal is supplied from an external circuit to perform an external scan and an IEEE-compliant internal control scan method (JTAG scan method). The present invention relates to a test device that enables the execution of

【0002】[0002]

【従来の技術】一般に半導体集積回路などの試験では、
論理回路の規模の増加にともなって考え得る状態数が増
加し、論理回路の制御などがその増加した状態数に追従
できなくなるため、試験が行えなくなっていた。
2. Description of the Related Art Generally, in testing semiconductor integrated circuits,
The number of possible states increases with the increase in the scale of the logic circuit, and the control of the logic circuit cannot follow the increased number of states, so that the test cannot be performed.

【0003】特に入出力端子数に制限を受け、かつその
複雑な構造のために内部状態の直接的な観測が事実上不
可能になる論理回路を含む半導体集積回路においては、
論理回路の制御などが状態数ににさらに追従できなくな
るため、半導体集積回路の試験がさらに困難になってい
た。
In particular, in a semiconductor integrated circuit including a logic circuit which is limited in the number of input / output terminals and whose internal structure makes it virtually impossible to directly observe an internal state,
Since the control of the logic circuit and the like cannot follow the number of states further, the test of the semiconductor integrated circuit becomes more difficult.

【0004】そのため、従来からこの種の試験装置に
は、順序回路を疑似的に組合せて回路化したテスト回路
が用いられていた。このような試験装置には、たとえば
基板に実装されたICチップの試験のための、IEEE準拠
の内部制御スキャン方式であるJTAG(すなわち、Joi
nt Test Action Group)試験ポートを使用するものがあ
る。
Therefore, a test circuit in which a sequential circuit is pseudo-combined into a circuit has been used in this type of test apparatus. Such a test apparatus includes, for example, JTAG (that is, Joi) which is an internal control scan method based on IEEE for testing an IC chip mounted on a board.
nt Test Action Group) Some use test ports.

【0005】このJTAG方式で、the Institute of E
lectrical and Electronics Engineers,INC.により採用
され、またIEEE規格1149.1,IEEE規格試験アクセスポー
トおよび境界走査アーキテクチャーとして現在定義され
ている。
With this JTAG method, the Institute of E
adopted by Electrical and Electronics Engineers, INC. and is currently defined as IEEE Standard 1149.1, IEEE Standard Test Access Port and Boundary Scan Architecture.

【0006】またこのJTAGの開発、定義および応用
の概要は、IEEE Computer SocieityPress,Los Alamito
s,California(1990)により出版された試験アクセスポー
トおよび境界走査アーキテクチャー、著者C.M.Maunder
およびR.E.Tullossにおいて提供されている。
An outline of the development, definition and application of this JTAG is given in IEEE Computer SocieityPress, Los Alamito
Test Access Port and Boundary-Scan Architecture, author CM Maunder, published by S., California (1990).
And RETulloss.

【0007】図8はこのようなJTAGスキャン方式を
採用した半導体集積回路の試験装置の例である。この図
8において、LSI50〜52内部にはインストラクシ
ョンレジスタ(IR)とスキャンA/B相である2相の
クロックを生成するスキャンA/Bクロック生成回路を
含む制御信号生成回路50a〜52aを設け、外部回路
からのシーケンス信号によりLSI50〜52内部の制
御回路の状態を設定し、スキャンを行っている。
FIG. 8 shows an example of a semiconductor integrated circuit testing apparatus adopting such a JTAG scan system. In FIG. 8, control signal generation circuits 50a to 52a including an instruction register (IR) and a scan A / B clock generation circuit that generates a scan A / B phase two-phase clock are provided inside the LSIs 50 to 52, The states of the control circuits inside the LSIs 50 to 52 are set by a sequence signal from an external circuit and scanning is performed.

【0008】この図8において、ACKはAクロック信
号の入力端子で、BCKはBクロック信号の入力端子で
ある。またスキャン入力端子SIはスキャン信号を入力
する入力端子で、スキャン出力端子SOはスキャン信号
を出力する出力端子である。
In FIG. 8, ACK is an input terminal for the A clock signal and BCK is an input terminal for the B clock signal. The scan input terminal SI is an input terminal for inputting a scan signal, and the scan output terminal SO is an output terminal for outputting a scan signal.

【0009】さらにチェーンセレクトCSは、同一のス
キャンチェーンで接続する範囲を選択するチェーンセレ
クト入力端子で、テストモード選択信号入力端子TMは
テストモードを選択する信号の入力端子である。
Further, the chain select CS is a chain select input terminal for selecting a range to be connected in the same scan chain, and the test mode selection signal input terminal TM is an input terminal for a signal for selecting a test mode.

【0010】このJTAGスキャン方式を用いてLSI
50〜52の試験を行うため、LSI50〜52内ある
いは、プリント配線基板53に実装されたフリップフロ
ップFFなどを任意の値に設定するには、図9のフロー
チャートにより処理を行う必要がある。
LSI using this JTAG scan method
In order to perform the tests of 50 to 52, in order to set the flip-flop FF or the like mounted in the LSIs 50 to 52 or the printed wiring board 53 to an arbitrary value, it is necessary to perform the processing according to the flowchart of FIG.

【0011】すなわち、この図9に示すフローチャート
では、テストを行うための命令をセットするFF群(Ins
truction Resistor,IRレジスタという)を直列に接続し
たインストラクション・レジスタ・スキャン系のチェー
ン接続の活性化を行うため、まずスキャンモードの設定
およびJTAGテスト系制御回路であるタップTAPコ
ントローラの設定をする(ST100)。
That is, in the flow chart shown in FIG. 9, a group of FFs (Ins) for setting an instruction for a test is set.
In order to activate the chain connection of the instruction register scan system in which the truction resister (called IR register) is connected in series, first, the scan mode is set and the tap TAP controller which is the JTAG test system control circuit is set (ST100). ).

【0012】スキャンモードの設定およびタップTAP
コントローラの設定を行った後には、インストラクショ
ン・レジスタIRのスキャン動作を行うために、インス
トラクション・レジスタIRコードの設定およびテスト
クロック端子TCKからスキャンA/B相クロック端子
へ入力電圧を印加する(ST101)。
Scan mode setting and tap TAP
After the controller is set, in order to perform the scanning operation of the instruction register IR, the instruction register IR code is set and the input voltage is applied from the test clock terminal TCK to the scan A / B phase clock terminal (ST101). .

【0013】このIRコードの設定およびテストクロッ
ク端子TCKからスキャンA/Bクロック端子へ印加し
た後には、スキャンのチェーン接続の活性化を図るた
め、スキャンモードの設定とタップTAPコントローラ
の設定をする(ST102)。
After setting the IR code and applying it from the test clock terminal TCK to the scan A / B clock terminal, the scan mode and tap TAP controller are set in order to activate the scan chain connection. ST102).

【0014】このスキャンモードの設定およびタップT
APコントローラの設定をした後には、スキャン動作を
するために、スキャン入力端子に入力するスキャンイン
値の設定およびテストクロック端子TCKからスキャン
A/Bクロック端子へ入力電圧を印加する(ST10
1)。
Setting of this scan mode and tap T
After the AP controller is set, the scan-in value input to the scan input terminal is set and the input voltage is applied from the test clock terminal TCK to the scan A / B clock terminal in order to perform the scan operation (ST10).
1).

【0015】このスキャン入力端子に入力するスキャン
イン値設定信号およびテストクロック端子TCKからス
キャンA/Bクロック端子へ入力電圧を印加するとき、
以上に説明したフローチャートの処理を終了する。
When applying the scan-in value setting signal input to the scan input terminal and the input voltage from the test clock terminal TCK to the scan A / B clock terminal,
The process of the flowchart described above ends.

【0016】一方、図10に示す外部スキャン方式を採
用して試験を行う試験装置においては、スキャンをする
ための信号を外部回路から供給しており、LSI54〜
56の内部やプリント配線基板基板57に実装されたフ
リップフロップFFなどに任意の値を設定する。
On the other hand, in the test apparatus which employs the external scan method shown in FIG. 10 to perform a test, a signal for scanning is supplied from an external circuit, and the LSI 54-
Arbitrary values are set in the flip-flops FF and the like mounted inside 56 and the printed wiring board 57.

【0017】この図10において、タイミングクロック
入力端子TCKはタイミングクロックの入力端子を示
し、タイミング信号の入力端子TMSはタイミング信号
の入力端子を示すものである。
In FIG. 10, the timing clock input terminal TCK indicates a timing clock input terminal, and the timing signal input terminal TMS indicates a timing signal input terminal.

【0018】またスキャン信号入力端子SIはスキャン
信号を入力する入力端子で、スキャン信号出力端子SO
はスキャン信号を出力する出力端子である。さらにテス
トデータ出力端子TRSTはテストデータの出力端子
で、テストモード信号入力端子TMはテストモード信号
の入力端子である。
The scan signal input terminal SI is an input terminal for inputting a scan signal, and the scan signal output terminal SO.
Is an output terminal for outputting a scan signal. Further, the test data output terminal TRST is a test data output terminal, and the test mode signal input terminal TM is a test mode signal input terminal.

【0019】図10の試験装置では、LSI54〜56
や基板に実装されたフリップフロップFFなどに任意の
値に設定するときには、図11のフローチャートにより
処理を行う必要がある。
In the test apparatus of FIG. 10, the LSIs 54 to 56 are used.
When setting an arbitrary value to the flip-flop FF mounted on the board or the board, it is necessary to perform processing according to the flowchart of FIG.

【0020】すなわち、この図11に示すフローチャー
トでは、インストラクション・レジスタIRスキャンの
チェーン接続の活性化を図るため、まずスキャンモード
の設定およびチェーンセレクトの設定をする(ST11
0)。
That is, in the flowchart shown in FIG. 11, in order to activate the chain connection of the instruction register IR scan, first, the scan mode and the chain select are set (ST11).
0).

【0021】スキャンモードの設定およびループセレク
トの設定を行った後には、スキャン動作を行うために、
スキャンイン値設定およびテストクロックTCKからス
キャンA/Bクロック端子へ入力電圧を印加する(ST
101)。
After the scan mode and the loop select are set, in order to perform the scan operation,
Input an input voltage from the scan-in value setting and test clock TCK to the scan A / B clock terminal (ST
101).

【0022】このスキャンイン値設定およびテストクロ
ックTCKからスキャンA/Bクロック端子へスキャン
A/Bクロック信号端子に入力電圧を印加した後には、
以上に説明したフローチャートの処理を終了する。
After applying the input voltage to the scan A / B clock signal terminal from the scan-in value setting and the test clock TCK to the scan A / B clock terminal,
The process of the flowchart described above ends.

【0023】これにより、たとえば、LSI54〜56
や基板に実装されたフリップフロップFFなどを任意の
値に設定し、設定値にない場合には、LSI54〜56
に異常があることを試験することができる。
As a result, for example, the LSIs 54 to 56 can be used.
Or a flip-flop FF mounted on the substrate is set to an arbitrary value, and if the set value is not set, the LSIs 54 to 56
Can be tested for abnormalities.

【0024】以上に説明した試験装置の例としては、た
とえば内部制御方式を用いたものには、特開平5ー16
4826号公報または特開平5ー180911号公報な
どがあり、外部スキャン方式を用いたものには、特開昭
64ー68843号公報または特開昭61ー15587
4号公報などに記載されたものがある。
As an example of the test apparatus described above, for example, the one using the internal control system is disclosed in Japanese Patent Laid-Open No. 5-16.
4826 or JP-A-5-180911, and those using an external scanning system include JP-A-64-68843 or JP-A-61-158587.
Some of them are described in Japanese Patent Publication No. 4 and the like.

【0025】[0025]

【発明が解決しようとする課題】しかしながら、以上に
説明した試験装置では、システム開発時などにLSI、
プリント配線基板およびシステム全体の試験を行うが、
これらの試験方式が異なる時には、これらのLSI、プ
リント配線基板およびシステム全体の試験を一台の装置
によって試験をすることができなくなる。
However, in the test apparatus described above, the LSI,
Test the printed wiring board and the entire system,
When these test methods are different, it becomes impossible to test the LSI, the printed wiring board, and the entire system by one device.

【0026】たとえば、LSIの試験を内部制御(JT
AG)方式で行い、プリント配線基板およびシステムの
トータル試験が外部スキャン方式で行われるような場合
には、これらの試験を1台の試験装置で行うことが困難
になる。
For example, the LSI test is internally controlled (JT
AG) system, and when the total test of the printed wiring board and the system is carried out by the external scan system, it becomes difficult to carry out these tests with one test device.

【0027】そこで、本発明はこれらの課題にに鑑がみ
て成されたもので、システム開発時に外部スキャン方式
とJTAG方式のいずれの試験方式に切り換えることに
より、1台の装置によってスキャン方式の異となるLS
I、プリント配線基板およびシステム全体の試験をする
ことができる試験装置を提供することを目的とするもの
である。
Therefore, the present invention has been made in view of these problems, and by switching between the external scanning method and the JTAG testing method during system development, the scanning method can be changed by one device. LS
It is an object of the present invention to provide a test apparatus capable of testing I, a printed wiring board, and the entire system.

【0028】[0028]

【課題を解決するための手段】本発明は、前記課題を解
決するため、以下の手段を採用した。 (1)第1の発明の要旨 第1の発明では、外部スキャンを行うためにクロック信
号を外部回路より供給する外部スキャン方式とIEEE準拠
の内部制御スキャン方式であるJTAGスキヤン方式の両方
を用いて対象電子部品の診断や試験をするため、外部ス
キャンとJTAGスキャンの両方に切換えて使用できるよう
にする切換回路を設けたものである。
The present invention adopts the following means in order to solve the above problems. (1) Summary of the first invention In the first invention, both an external scan method of supplying a clock signal from an external circuit to perform an external scan and a JTAG scan method which is an IEEE-compliant internal control scan method are used. In order to diagnose and test the target electronic component, a switching circuit is provided to switch between external scanning and JTAG scanning for use.

【0029】この切換回路で外部スキャン方式を選択し
た場合には、外部装置からクロック信号を入力して対象
電子部品の診断や試験を行うために、たとえば対象電子
部品の部分を点の集合としてその対象電子部品に対し
て、たとえば水平方向または垂直方向に走査をおこなっ
て、対象電子部品の診断および試験を行う。
When the external scanning method is selected by this switching circuit, in order to input a clock signal from an external device to diagnose or test the target electronic component, for example, a portion of the target electronic component is set as a set of points. The target electronic component is scanned, for example, in the horizontal direction or the vertical direction to diagnose and test the target electronic component.

【0030】また切換回路でIEEE準拠のJTAGスキヤン方
式を選択した場合には、内部制御回路から入力した内部
制御信号によって対象電子部品の診断を行うために、た
とえば対象電子部品の部分を点の集合としてその対象電
子部品に対して、たとえば水平方向または垂直方向に走
査をおこなって、対象電子部品の診断および試験を行
う。
Further, when the IEEE compliant JTAG scanning method is selected in the switching circuit, in order to diagnose the target electronic component by the internal control signal input from the internal control circuit, for example, a part of the target electronic component is set as a set of dots. As a result, the target electronic component is scanned, for example, in the horizontal direction or the vertical direction to diagnose and test the target electronic component.

【0031】この試験装置では、外部スキャン方式と内
部制御(JTAG)スキャン方式のいずれかに切換回路で切
換えて使用することにより、外部スキャン方式でスキャ
ンさせるシステムまたはJTAGスキャン方式でスキャンさ
せるシステムなどの両方に使用することができる。
In this test apparatus, by switching between the external scan system and the internal control (JTAG) scan system by using the switching circuit, a system for scanning by the external scan system or a system for scanning by the JTAG scan system is used. Can be used for both.

【0032】これにより、外部スキャン方式でスキャン
させるシステムまたはJTAGスキャン方式でスキャンさせ
るシステムにおいて使用する対象電子部品の診断または
試験を1台の試験装置ですることができるので、対象電
子部品に応じて迅速に外部スキャン方式とJTAGスキャン
方式に切り換えることができるので、異なるスキャン方
式のシステム開発が便利になる。
As a result, the target electronic component used in the system for scanning by the external scan system or the system for scanning by the JTAG scan system can be diagnosed or tested by one test device. Since the external scan method and the JTAG scan method can be switched quickly, system development of different scan methods becomes convenient.

【0033】なお、JTAG方式は、米国電気電子技術
者協会((IEEE(the Institute of Electrical and Elec
tronics Engineers Inc.)に準拠した標準規格で、JT
AG(すなわち、Joint Test Action Group)試験ポート
を使用する方式である。
The JTAG system is based on the IEEE (the Institute of Electrical and Elec
tronics Engineers Inc.)
This method uses an AG (that is, Joint Test Action Group) test port.

【0034】このJTAG方式では、IEEE規格1149.1,I
EEE規格試験アクセスポートおよび境界走査アーキテク
チャーとして現在定義されている。またこのJTAGの
開発、定義および応用の概要は、IEEE Computer Sociei
tyPress,Los Alamitos,California(1990)により出版さ
れた試験アクセスポートおよび境界走査アーキテクチャ
ー、著者C.M.MaunderおよびR.E.Tullossにおいて提供さ
れている。 (2)第2の発明の要旨 第2の発明において対象電子部品は、半導体集積回路と
その半導体集積回路を実装するプリント配線基板であ
る。 (3)第3の発明の要旨 第3の発明において回路ブロック切換回路には、テスト
モード端子にテストモードに応じた電圧が印加されたと
き、対象電子部品に対して、たとえば水平方向または垂
町方向にスキャンをする範囲をスキャン範囲設定部で設
定し、このスキャン範囲設定部で設定された設定信号に
応答して外部スキャンにより、対象電子部品に対して、
たとえば水平方向または垂直方向にスキャンをして、前
記対象電子部品の診断または試験をする。 (4)第4の発明の要旨 第4の発明において回路ブロック切換回路には、テスト
モード端子にテストモードに応じた電圧が印加されない
とき、内部制御部から送出される内部制御信号に基づい
て対象電子部品に対して、たとえば水平方向または垂直
方向にスキャンをして、対象電子部品の診断または試験
をする。 (5)第5の発明の要旨 第4の発明において回路ブロック切換回路には、プリン
ト配線基板の試験を行うプリント配線基板試験端子を設
けた。
In this JTAG system, the IEEE standard 1149.1, I
Currently defined as an EEE standard test access port and boundary scan architecture. For an overview of the development, definition and application of this JTAG, see IEEE Computer Sociei.
Test access port and boundary scan architecture published by tyPress, Los Alamitos, California (1990), provided by authors CM Maunder and RETulloss. (2) Summary of the Second Invention In the second invention, the target electronic component is a semiconductor integrated circuit and a printed wiring board on which the semiconductor integrated circuit is mounted. (3) Summary of the third invention In the third invention, in the circuit block switching circuit, when a voltage according to the test mode is applied to the test mode terminal, for example, in the horizontal direction or the vertical direction with respect to the target electronic component. The range to be scanned in the direction is set by the scan range setting section, and in response to the setting signal set by this scan range setting section, by external scanning, for the target electronic component,
For example, scanning is performed in the horizontal direction or the vertical direction to diagnose or test the target electronic component. (4) Summary of the fourth invention In the fourth invention, the circuit block switching circuit is targeted based on the internal control signal sent from the internal control section when the voltage according to the test mode is not applied to the test mode terminal. The electronic component is scanned, for example, in the horizontal direction or the vertical direction to diagnose or test the target electronic component. (5) Summary of the fifth invention In the fourth invention, the circuit block switching circuit is provided with a printed wiring board test terminal for testing the printed wiring board.

【0035】[0035]

【作用】[Action]

(1)第1の発明では、外部装置から送出されるクロッ
ク信号により対象電子部品のスキャニングを行うため、
クロック信号を外部装置より供給する外部スキャン方式
とIEEE準拠の内部制御スキャン方式(JTAGスキヤン方
式)の両方を用いて対象電子部品などの診断や試験をす
るため、外部スキャン回路ブロックとJTAGスキャン回路
ブロックの両方に切換えて使用できるようにする。
(1) In the first invention, since the target electronic component is scanned by the clock signal sent from the external device,
An external scan circuit block and a JTAG scan circuit block are used to diagnose and test target electronic components using both an external scan method that supplies a clock signal from an external device and an IEEE-compliant internal control scan method (JTAG scan method). Switch to both so that they can be used.

【0036】このように、外部スキャン回路ブロックと
JTAGスキャン回路ブロックの両方に切換えて使用するこ
とにより、この1台の試験装置を用いれば、外部スキャ
ン回路ブロックで水平方向または垂直方向にスキャンさ
せるシステムまたは、JTAGスキャン回路ブロックで、た
とえば水平方向または垂直方向にスキャンさせるシステ
ムにおいても使用できるので、対象電子部品に応じて迅
速に外部スキャン回路ブロックとJTAGスキャン回路ブロ
ックに切り換えることができ、また使い勝手を良くする
ことができる。 (2)第2の発明では、対象電子部品である半導体集積
回路とその半導体集積回路を実装するプリント配線基板
の診断や試験をする。
In this way, the external scan circuit block and
By switching to both of the JTAG scan circuit blocks and using them, if this one test device is used, the system for causing the external scan circuit blocks to scan in the horizontal direction or the vertical direction, or in the JTAG scan circuit blocks, for example, in the horizontal direction or Since it can also be used in a system for scanning in the vertical direction, it can be quickly switched to the external scan circuit block and the JTAG scan circuit block according to the target electronic component, and the usability can be improved. (2) In the second invention, the semiconductor integrated circuit that is the target electronic component and the printed wiring board on which the semiconductor integrated circuit is mounted are diagnosed and tested.

【0037】これにより、半導体集積回路とその半導体
集積回路を実装するプリント配線基板に応じて迅速に診
断や試験をすることができる。 (3)第3の発明において回路ブロック切換回路では、
テストモード端子にテストモードに応じた電圧が印加さ
れたとき、対象電子部品に対して、たとえば水平方向ま
たは垂町方向にスキャンをする範囲をスキャン範囲設定
部で設定し、このスキャン範囲設定部で設定された設定
信号に応答して外部スキャン回路ブロックにより、対象
電子部品に対して、たとえば水平方向または垂直方向に
スキャンをして、対象電子部品の診断または試験をす
る。
Thus, it is possible to quickly diagnose and test according to the semiconductor integrated circuit and the printed wiring board on which the semiconductor integrated circuit is mounted. (3) In the third invention, in the circuit block switching circuit,
When a voltage according to the test mode is applied to the test mode pin, the scan range setting section sets the range for scanning the target electronic component in the horizontal or vertical direction. In response to the set signal that has been set, the external scan circuit block scans the target electronic component in, for example, the horizontal direction or the vertical direction to diagnose or test the target electronic component.

【0038】これにより、いわゆる外部スキャン方式を
採用しているシステムに適応した回路ブロックに速やか
に切り換えて対象電子部品の診断、試験をすることがで
きる。 (4)第4の発明において回路ブロック切換回路には、
テストモード端子にテストモードに応じた電圧が印加さ
れないとき、内部制御部から送出される内部制御信号に
基づいて対象電子部品に対して、たとえば水平方向また
は垂直方向にスキャンをして、対象電子部品の診断また
は試験をする。
As a result, it is possible to quickly switch to a circuit block suitable for a system adopting a so-called external scan system and diagnose and test the target electronic component. (4) In the fourth invention, the circuit block switching circuit includes
When the voltage according to the test mode is not applied to the test mode terminal, the target electronic component is scanned, for example, in the horizontal direction or the vertical direction based on the internal control signal sent from the internal control unit to scan the target electronic component. Diagnose or test.

【0039】このため、いわゆる内部制御スキャン方式
を採用しているシステムに適応した回路ブロックに速や
かに切り換えて、対象電子部品の診断、試験をすること
ができる。 (5)第4の発明において回路ブロック切換回路には、
プリント配線基板の試験を行うプリント配線基板試験端
子を設けることにより、プリント配線基板の試験もスム
ースに行うことができる。
Therefore, it is possible to quickly switch to a circuit block suitable for a system adopting the so-called internal control scan system and diagnose and test the target electronic component. (5) In the fourth invention, the circuit block switching circuit includes
By providing a printed wiring board test terminal for testing the printed wiring board, the printed wiring board can be tested smoothly.

【0040】[0040]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 (実施例1)第1の実施例を、図1ないし図3の回路図
に基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings. (Embodiment 1) A first embodiment will be described with reference to the circuit diagrams of FIGS.

【0041】〔実施例1の概要〕実施例1では、外部ス
キャンを行うためにクロック信号を外部回路より供給す
る外部スキャン方式とIEEE準拠の内部制御スキャン方式
(JTAGスキヤン方式)の両方を用いてLSIおよびLS
Iなどを実装するプリント板などの診断や試験をするた
め、外部スキャン回路ブロックとJTAGスキャン回路ブロ
ックの両方に切換えて使用する。
[Outline of First Embodiment] In the first embodiment, an external scan system in which a clock signal is supplied from an external circuit to perform an external scan and an internal control scan system conforming to the IEEE standard.
LSI and LS using both (JTAG scan method)
In order to diagnose and test a printed circuit board on which I etc. are mounted, it is used by switching to both the external scan circuit block and the JTAG scan circuit block.

【0042】このように、外部スキャン回路ブロックと
JTAGスキャン回路ブロックの両方に切換えて使用するこ
とで、外部スキャン回路ブロックでスキャンさせるシス
テムまたはJTAGスキャン回路ブロックでスキャンさせる
システムにおいても手軽に使用可能にし、システムの試
験、評価を迅速に行うことができる。 〔実施例1の内容〕この実施例1の構成を図1ないし図
3の回路図に基づいて説明する。
In this way, the external scan circuit block
By switching and using both JTAG scan circuit blocks, it can be easily used in a system that scans with an external scan circuit block or a system that scans with a JTAG scan circuit block, allowing quick system testing and evaluation. it can. [Contents of First Embodiment] The configuration of the first embodiment will be described with reference to the circuit diagrams of FIGS. 1 to 3.

【0043】図1は本発明試験装置の実施例1をLSI
に適用した場合の回路図、図2は図1の具体的な回路
図、図3は要部の詳細回路図である。この実施例では、
内部制御スキャン(JTAG)方式と外部スキャン方式
を用いて図1〜図3に示すLSI30、プリント配線基
板およびシステム全体の試験を行うため、JTAGスキ
ャン方式のLSI30に外部スキャン方式との切換を可
能にするテストモード入力端子EXを設けている。
FIG. 1 shows an LSI according to the first embodiment of the test apparatus of the present invention.
2 is a specific circuit diagram of FIG. 1, and FIG. 3 is a detailed circuit diagram of a main part. In this example,
The internal control scan (JTAG) method and the external scan method are used to test the LSI 30, the printed wiring board, and the entire system shown in FIGS. 1 to 3, so that the JTAG scan method LSI 30 can be switched to the external scan method. The test mode input terminal EX is provided.

【0044】なお、この実施例1において用いるJTA
G方式は、米国電気電子技術者協会((IEEE(the Instit
ute of Electrical and Electronics Engineers Inc.)
に準拠した標準規格で、JTAG(すなわち、Joint Tes
t Action Group)試験ポートを使用する方式である。
The JTA used in this Example 1 is used.
The G method is based on the Institute of Electrical and Electronics Engineers ((IEEE (the Instit
(ute of Electrical and Electronics Engineers Inc.)
JTAG (that is, Joint Tes
t Action Group) This method uses a test port.

【0045】このJTAG方式では、IEEE規格1149.1,I
EEE規格試験アクセスポートおよび境界走査アーキテク
チャーとして現在定義されている。またこのJTAGの
開発、定義および応用の概要は、IEEE Computer Sociei
tyPress,Los Alamitos,California(1990)により出版さ
れた試験アクセスポートおよび境界走査アーキテクチャ
ー、著者C.M.MaunderおよびR.E.Tullossにおいて提供さ
れている。
In this JTAG method, the IEEE standard 1149.1, I
Currently defined as an EEE standard test access port and boundary scan architecture. For an overview of the development, definition and application of this JTAG, see IEEE Computer Sociei.
Test access port and boundary scan architecture published by tyPress, Los Alamitos, California (1990), provided by authors CM Maunder and RETulloss.

【0046】さて、図1〜図3の回路の説明に戻ること
にする。図1〜図3において、LSI30上には、動作
モードを生成する動作モード生成回路19、クロックを
生成するクロック生成回路20、命令レジスタであるイ
ンストラクション・レジスタ16、制御信号を生成する
制御信号生成回路17、JTAG信号の信号レベルを確
認するJTAG信号サプレス回路18、制御信号を選択
する制御信号選択回路21およびスキャン出力を選択す
るスキャン出力選択回路22から成るテスト系回路1
0、フリップフロップの値により対象電子部品に対し
て、たとえば水平および垂直方向にスキャンをするスキ
ャンフリップフロップ11、そのスキャンフリップフロ
ップ11にゲート信号を供給してスキャンフリップフロ
ップ11を動作させるゲート回路23およびスキャン選
択回路22、制御信号選択回路の出力信号に基づいてス
キャンされたクロック信号を供給する入出力マクロ回路
15が設けられている。
Now, let us return to the description of the circuits shown in FIGS. 1 to 3, on the LSI 30, an operation mode generation circuit 19 that generates an operation mode, a clock generation circuit 20 that generates a clock, an instruction register 16 that is an instruction register, and a control signal generation circuit that generates a control signal. 17, a test system circuit 1 including a JTAG signal suppress circuit 18 for confirming the signal level of the JTAG signal, a control signal selection circuit 21 for selecting a control signal, and a scan output selection circuit 22 for selecting a scan output.
0, a scan flip-flop 11 that scans the target electronic component in the horizontal and vertical directions according to the value of the flip-flop, and a gate circuit 23 that supplies a gate signal to the scan flip-flop 11 to operate the scan flip-flop 11. Also provided are an input / output macro circuit 15 for supplying a clock signal scanned based on the output signals of the scan selection circuit 22 and the control signal selection circuit.

【0047】なお、図1および図2においてはテスト系
回路10を二点鎖線で囲んで表し、図3においてはテス
ト系回路10を1つのICで表している。図1および図
2に示す動作モード生成回路19では、テスト信号を入
力するテスト信号入力端子TM、テストモード信号を入
力するテストモード信号端子EXあるいはプリント配線
基板のテストをするプリント配線基板テスト信号入力端
子PTMなどから、テスト信号、テストモード信号ある
いはプリント配線基板テスト信号を入力して動作モード
生成出力をスキャン出力選択回路22、JTAG信号サ
プレス回路18あるいは制御信号選択回路21に入力す
る。
1 and 2, the test system circuit 10 is surrounded by a chain double-dashed line, and in FIG. 3, the test system circuit 10 is represented by one IC. In the operation mode generation circuit 19 shown in FIGS. 1 and 2, a test signal input terminal TM for inputting a test signal, a test mode signal terminal EX for inputting a test mode signal, or a printed wiring board test signal input for testing a printed wiring board. A test signal, a test mode signal or a printed wiring board test signal is input from the terminal PTM or the like, and an operation mode generation output is input to the scan output selection circuit 22, the JTAG signal suppress circuit 18 or the control signal selection circuit 21.

【0048】図1および図2に示すクロック生成回路2
0では、スキャンA/Bクロック信号を入力するスキャ
ンA/Bクロック信号入力端子などからA/Bクロック
生成出力を制御信号選択回路21に入力する。
Clock generation circuit 2 shown in FIGS. 1 and 2.
At 0, the A / B clock generation output is input to the control signal selection circuit 21 from the scan A / B clock signal input terminal for inputting the scan A / B clock signal.

【0049】一方、図1および図2に示すインストラク
ション・レジスタ16では、スキャンインSI入力端子
からスキャンイン信号が入力すると、JTAG信号サプ
レス回路18にレジスタ出力を供給する。
On the other hand, in the instruction register 16 shown in FIGS. 1 and 2, when the scan-in signal is input from the scan-in SI input terminal, the register output is supplied to the JTAG signal suppress circuit 18.

【0050】また図1および図2に示す制御信号生成回
路17には、テストデータイン端子TRST、テストク
ロック端子TCK、テストモードセレクタ端子TMSに
入力するテストデータイン信号、テストクロック信号お
よびテストモードセレクタ信号により動作する状態遷移
回路(図示省略)が設けられている。
The control signal generation circuit 17 shown in FIGS. 1 and 2 includes a test data-in signal TRST, a test clock terminal TCK, a test data-in signal input to the test mode selector terminal TMS, a test clock signal and a test mode selector. A state transition circuit (not shown) that operates according to signals is provided.

【0051】このため、この制御信号生成回路17で
は、LSI30の外部の外部装置からテストデータイン
端子TRST、テストクロック端子TCK、テストモー
ドセレクタ端子TMSに入力するテストデータイン信
号、テストクロック信号およびテストモードセレクタ信
号をあらかじめ決められた手順で入力することにより、
基本的な動作モードが設定される。
Therefore, in the control signal generating circuit 17, the test data-in signal, the test clock signal, and the test data input from the external device outside the LSI 30 to the test data-in terminal TRST, the test clock terminal TCK, and the test mode selector terminal TMS. By inputting the mode selector signal in a predetermined procedure,
The basic operating mode is set.

【0052】この制御信号生成回路17には、モード情
報の切換により動作する状態遷移回路(図示省略)にL
SI30のピンに専用スキャンFFの値を入力し、LS
I30のピンに入力された値に基づいて生成された制御
信号をスキャン出力選択回路22およびJTAG信号サ
プレス回路19に入力する。
The control signal generating circuit 17 includes a state transition circuit (not shown) which operates by switching the mode information.
Input the value of the dedicated scan FF to the SI30 pin and
The control signal generated based on the value input to the pin of I30 is input to the scan output selection circuit 22 and the JTAG signal suppress circuit 19.

【0053】また本実施例では、JTAGスキャン方式
のLSI30を外部スキャン方式で動作させるため、図
1および図2に示すJTAG信号サプレス回路18、制
御信号選択回路21およびスキャン出力選択回路22を
設けてLSI30の外部からのスキャン方式選択信号で
あるテストモード信号端子EXにテストモード信号をオ
ン状態(Hレベル電圧)にすることにより、JTAGス
キャン方式の信号を阻止する。
In this embodiment, since the JTAG scan type LSI 30 is operated by the external scan type, the JTAG signal suppress circuit 18, the control signal selecting circuit 21 and the scan output selecting circuit 22 shown in FIGS. 1 and 2 are provided. By turning on the test mode signal to the test mode signal terminal EX which is a scan mode selection signal from the outside of the LSI 30 (H level voltage), the JTAG scan system signal is blocked.

【0054】また本実施例では、これと同時に、スキャ
ンクロック生成回路20および入出力マクロ回路15の
動作モードを外部スキャン方式に適した値に設定して外
部スキャン方式と同等の動作を保証している。
Further, in the present embodiment, at the same time, the operation modes of the scan clock generation circuit 20 and the input / output macro circuit 15 are set to values suitable for the external scan system to guarantee the same operation as the external scan system. There is.

【0055】すなわち、本実施例では、LSI30のテ
ストモード信号入力端子EXから入力されたテストモー
ド信号をオン状態(Hレベル電圧)にすることにより、
JTAG信号サプレス回路21が制御信号生成回路18
からインストラクション・レジスタ16への制御信号を
非動作状態に設定するとともに、インストラクション・
レジスタ16から制御信号生成回路17へのレジスタデ
ータを非動作状態に設定する。
That is, in this embodiment, by turning on the test mode signal input from the test mode signal input terminal EX of the LSI 30 (H level voltage),
The JTAG signal suppress circuit 21 uses the control signal generation circuit 18
From the instruction register 16 to the instruction register 16 in the non-operational state,
The register data from the register 16 to the control signal generation circuit 17 is set to the non-operation state.

【0056】このときスキャン出力選択回路22では、
LSI30のテストモード信号入力端子EXから入力さ
れたテストモード信号をオン状態(Hレベル電圧)にす
ることにより、LSI30の外部からからのチェーンセ
レクト信号によりスキャンチェーンを選択する。
At this time, in the scan output selection circuit 22,
By turning on the test mode signal input from the test mode signal input terminal EX of the LSI 30 (H level voltage), the scan chain is selected by the chain select signal from the outside of the LSI 30.

【0057】また制御信号選択回路21では、LSI3
0のテストモード信号入力端子EXから入力されたテス
トモード信号をオン状態(Hレベル電圧)にするとき、
LSI30の外部から送出されるスキャン用のクロック
およびチェーンセレクト信号により、スキャンFF11
および入出力マクロ回路15へスキャンクロックを供給
するとともに、入出力マクロ回路15の動作モードを外
部スキャン方式と同様のモードに設定する。
Further, in the control signal selection circuit 21, the LSI 3
When the test mode signal input from the 0 test mode signal input terminal EX is turned on (H level voltage),
The scan FF 11 is driven by the scan clock and the chain select signal transmitted from the outside of the LSI 30.
Also, the scan clock is supplied to the input / output macro circuit 15, and the operation mode of the input / output macro circuit 15 is set to the same mode as the external scan method.

【0058】一方、LSI30の内部には、テスト系回
路10でテスト状態を規定するインストラクション・レ
ジスタ16とそのレジスタ16のインストラクション・
レジスタ値を解読し、スキャンクロックの生成、スキャ
ンパスの選択および入出力マクロの動作モードの選択を
する入出力マクロ回路15が設けられている。
On the other hand, inside the LSI 30, an instruction register 16 for defining a test state in the test system circuit 10 and an instruction register 16 for the register 16 are provided.
An input / output macro circuit 15 is provided for decoding a register value, generating a scan clock, selecting a scan path, and selecting an operation mode of an input / output macro.

【0059】この入出力マクロ回路15には、専用のス
キャンFF11が接続され、マクロ同士を接続したスキ
ャンチェーンが構成されるように成っている。また先に
説明した制御信号生成回路17には、モード情報の切換
により動作する状態遷移回路(図示省略)にLSI30
のピンに専用スキャンFFの値を入力し、LSI30の
ピンに入力された値に基づいて生成された制御信号をス
キャン出力選択回路22、JTAG信号サプレス回路1
9に入力することができる。
A dedicated scan FF 11 is connected to the input / output macro circuit 15 so that a scan chain is formed by connecting macros. Further, in the control signal generation circuit 17 described above, the LSI 30 has a state transition circuit (not shown) that operates by switching the mode information.
The value of the dedicated scan FF is input to the pin of, and the control signal generated based on the value input to the pin of the LSI 30 is used as the scan output selection circuit 22 and the JTAG signal suppress circuit 1.
9 can be entered.

【0060】この制御信号生成回路17には、先に説明
したようにテストデータイン端子TRST、テストクロ
ック端子TCK、テストモードセレクタ端子TMSに入
力するテストデータイン信号、テストクロック信号およ
びテストモードセレクタ信号により動作する状態遷移回
路でLSI30の外部の外部装置からこれらの信号をあ
らかじめ決められた手順で入力することにより、基本的
な動作モードが設定できるようになる。
In the control signal generation circuit 17, as described above, the test data in signal TRST, the test clock terminal TCK, the test data in signal input to the test mode selector terminal TMS, the test clock signal and the test mode selector signal are input. The basic operation mode can be set by inputting these signals from an external device outside the LSI 30 in a predetermined procedure in the state transition circuit that operates according to.

【0061】この中には、インストラクション・レジス
タ16へのスキャン動作モードがあり、最初にこのモー
ドに設定してインストラクション・レジスタ16の内部
に詳細な動作モード値をスキャンインする。
There is a scan operation mode for the instruction register 16 therein, and this mode is first set to scan a detailed operation mode value into the inside of the instruction register 16.

【0062】その後、制御信号生成回路17の状態遷移
回路をインストラクション・レジスタ16のレジスタ値
を解読するデコード動作モードに設定することにより、
複雑なスキャン動作やモード切換え制御を行う。
After that, the state transition circuit of the control signal generation circuit 17 is set to the decoding operation mode for decoding the register value of the instruction register 16,
Performs complex scan operation and mode switching control.

【0063】本実施例では、JTAGスキャン方式のL
SI30を外部スキャン方式で動作させるため、JTA
G信号サプレス回路18、制御信号選択回路21および
スキャン出力選択回路22を設け、LSI30の外部か
らのスキャン方式選択信号であるテストモード信号EX
信号により、JTAGスキャン方式の信号が入力される
のを阻止する。
In this embodiment, the JTAG scan type L is used.
Since SI30 is operated by the external scan method, JTA
The G signal suppress circuit 18, the control signal selection circuit 21, and the scan output selection circuit 22 are provided, and the test mode signal EX which is a scan method selection signal from the outside of the LSI 30 is provided.
The signal prevents a JTAG scan type signal from being input.

【0064】また本実施例では、これと同時に、スキャ
ンクロック生成回路20および入出力マクロ回路15の
動作モードを外部スキャン方式に適した値に設定して外
部スキャン方式と同等の動作を保証している。
Further, in the present embodiment, at the same time, the operation modes of the scan clock generation circuit 20 and the input / output macro circuit 15 are set to values suitable for the external scan system to guarantee the same operation as the external scan system. There is.

【0065】すなわち、本実施例では、LSI30のテ
ストモード信号入力端子EXから入力されたテストモー
ド信号をオン状態(Hレベル電圧)にすることにより、
JTAG信号サプレス回路21が制御信号生成回路18
からインストラクション・レジスタ16への制御信号を
非動作状態に設定するとともに、インストラクション・
レジスタ16から制御信号生成回路17へのレジスタデ
ータを非動作状態に設定する。
That is, in this embodiment, by turning on the test mode signal input from the test mode signal input terminal EX of the LSI 30 (H level voltage),
The JTAG signal suppress circuit 21 uses the control signal generation circuit 18
From the instruction register 16 to the instruction register 16 in the non-operational state,
The register data from the register 16 to the control signal generation circuit 17 is set to the non-operation state.

【0066】このときスキャン出力選択回路22では、
LSI30のテストモード信号入力端子EXから入力さ
れたテストモード信号をオン状態(Hレベル電圧)にす
ることにより、LSI30の外部からからのチェーンセ
レクト信号によりスキャンチェーンを選択する。
At this time, in the scan output selection circuit 22,
By turning on the test mode signal input from the test mode signal input terminal EX of the LSI 30 (H level voltage), the scan chain is selected by the chain select signal from the outside of the LSI 30.

【0067】また制御信号選択回路21では、LSI3
0のテストモード信号入力端子EXから入力されたテス
トモード信号をオン状態(Hレベル電圧)にするとき、
LSI30の外部から送出されるスキャン用のクロック
信号がゲート回路23を経てスキャンFF11に供給さ
れるとともにチェーンセレクト信号により、入出力マク
ロ回路15へスキャンクロックを供給することにより、
入出力マクロ回路15の動作モードを外部スキャン方式
と同様のモードに設定することができる。 (実施例1の動作)次に、実施例1の動作を図4ないし
図7に基づいて説明する。
Further, in the control signal selection circuit 21, the LSI 3
When the test mode signal input from the 0 test mode signal input terminal EX is turned on (H level voltage),
By supplying the scan clock signal sent from the outside of the LSI 30 to the scan FF 11 via the gate circuit 23 and supplying the scan clock to the input / output macro circuit 15 by the chain select signal,
The operation mode of the input / output macro circuit 15 can be set to the same mode as the external scan method. (Operation of First Embodiment) Next, the operation of the first embodiment will be described with reference to FIGS.

【0068】この動作説明においては先に説明した図1
ないし図3の回路図を参照して説明するものとする。な
お、図7はJTAG&外部スキャン方式の動作説明図で
ある。
In the explanation of this operation, FIG.
1 to 3 will be described with reference to the circuit diagram of FIG. Note that FIG. 7 is an operation explanatory diagram of the JTAG & external scan method.

【0069】この図7の動作説明図において、JTAG
スキャンLSI31、32とJTAG/外部スキャンL
SI33を用いている。 <外部スキャン方式>図4はLSI30が外部スキャン
方式で動作するか内部制御スキャン方式JTAG方式で
動作するかを回路ブロックを選択することにより、JT
AGスキャン回路ブロックを選択するか外部スキャン回
路ブロツクを選択するかの判断をする(ST10)。
In the operation explanatory view of FIG. 7, JTAG
Scan LSIs 31, 32 and JTAG / External scan L
SI33 is used. <External Scan Method> FIG. 4 shows the JT method by selecting the circuit block as to whether the LSI 30 operates in the external scan method or the internal control scan method JTAG method.
It is determined whether the AG scan circuit block or the external scan circuit block is selected (ST10).

【0070】ここで、たとえば、先に説明したようにJ
TAGスキャン方式から外部スキャン方式に変更する場
合には外部スキャン方式を選択して以下に説明するST
20からST22の設定を実行してから、LSI31〜
33の試験、このLSI31〜33を実装するプリント
配線基板の試験をする。
Here, for example, as described above, J
When changing from the TAG scan method to the external scan method, the external scan method is selected and ST described below is selected.
After performing the setting of ST22 from ST20,
33, the printed wiring board on which the LSIs 31 to 33 are mounted is tested.

【0071】図5はJTAGスキャン回路ブロックから
外部スキャン回路ブロックに回路ブロックを切り換える
場合の動作を説明するための説明図である。図4のST
19において、外部スキャン回路ブロツクを選択する
と、図1および図2のLSI31〜33のテストモード
端子EXにテストモード信号が入力されてオン状態(H
レベル電圧)になる(ST20)。
FIG. 5 is an explanatory diagram for explaining the operation when switching the circuit block from the JTAG scan circuit block to the external scan circuit block. ST in Figure 4
19, when the external scan circuit block is selected, a test mode signal is input to the test mode terminals EX of the LSIs 31 to 33 shown in FIGS.
Level voltage) (ST20).

【0072】図1および図2に示す動作モード生成回路
19では、テスト信号を入力するテスト信号入力端子T
M、テストモード信号を入力するテストモード信号端子
EXあるいはプリント配線基板のテストをするプリント
配線基板テスト信号入力端子PTMなどから、テスト信
号、テストモード信号あるいはプリント配線基板テスト
信号を入力して動作モード生成出力をスキャン出力選択
回路22あるいは制御信号選択回路21に入力する。
In the operation mode generation circuit 19 shown in FIGS. 1 and 2, the test signal input terminal T for inputting the test signal is input.
M, an operation mode by inputting a test signal, a test mode signal or a printed wiring board test signal from a test mode signal terminal EX for inputting a test mode signal or a printed wiring board test signal input terminal PTM for testing a printed wiring board The generated output is input to the scan output selection circuit 22 or the control signal selection circuit 21.

【0073】このとき、テスト系回路10では、スキャ
ンモードの設定およびチェーンセレクトの設定を行い、
スキャンチェーンの活発化をする(ST21)。このス
キャンチェーンの活発化をした後には、スキャンイン値
の設定およびスキャンA/Bクロック信号端子からA/
Bクロック電圧を印加する(ST22)。 これによ
り、外部スキャン回路ブロックを動作させることによ
り、JTAGスキャン回路ブロックの動作を停止させ
る。
At this time, in the test system circuit 10, the scan mode and the chain select are set,
Activate the scan chain (ST21). After activating this scan chain, set the scan-in value and set the scan A / B clock signal terminal to A /
A B clock voltage is applied (ST22). As a result, the external scan circuit block is operated to stop the operation of the JTAG scan circuit block.

【0074】すなわち、図1および図2に示すクロック
生成回路20では、スキャンA/Bクロック信号を入力
する図5などに示すスキャンA/Bクロック信号入力端
子A−CLK,B−CLKクロックなどからA/Bクロ
ック生成出力を制御信号選択回路21に入力する。
That is, in the clock generation circuit 20 shown in FIGS. 1 and 2, the scan A / B clock signal input terminals A-CLK and B-CLK clocks shown in FIG. The A / B clock generation output is input to the control signal selection circuit 21.

【0075】一方、図5などに示すインストラクション
・レジスタ16では、スキャンインSI入力端子からス
キャンイン信号が入力すると、JTAG信号サプレス回
路18にレジスタ出力を供給する。
On the other hand, in the instruction register 16 shown in FIG. 5 and the like, when the scan-in signal is input from the scan-in SI input terminal, the register output is supplied to the JTAG signal suppress circuit 18.

【0076】また図5などに示す制御信号生成回路17
には、テストデータイン端子TRST、テストクロック
端子TCK、テストモードセレクタ端子TMSに入力す
るテストデータイン信号、テストクロック信号およびテ
ストモードセレクタ信号により状態遷移回路(図示省
略)を動作する。
The control signal generation circuit 17 shown in FIG.
In addition, a state transition circuit (not shown) is operated by the test data-in signal TRST, the test clock terminal TCK, the test data-in signal input to the test mode selector terminal TMS, the test clock signal, and the test mode selector signal.

【0077】このため、この制御信号生成回路17で
は、LSI30の外部の外部装置からテストデータイン
端子TRST、テストクロック端子TCK、テストモー
ドセレクタ端子TMSに入力するテストデータイン信
号、テストクロック信号およびテストモードセレクタ信
号をあらかじめ決められた手順で入力することにより、
基本的な動作モードが設定される。
Therefore, in the control signal generating circuit 17, the test data-in signal, the test clock signal, and the test data input from the external device outside the LSI 30 to the test data-in terminal TRST, the test clock terminal TCK, and the test mode selector terminal TMS. By inputting the mode selector signal in a predetermined procedure,
The basic operating mode is set.

【0078】この制御信号生成回路17には、モード情
報の切換により動作する状態遷移回路(図示省略)にL
SI30のピンに専用スキャンFFの値を入力し、LS
I30のピンに入力された値に基づいて生成された制御
信号をスキャン出力選択回路22およびJTAG信号サ
プレス回路19に入力する。
The control signal generation circuit 17 includes a state transition circuit (not shown) which operates by switching the mode information.
Input the value of the dedicated scan FF to the SI30 pin and
The control signal generated based on the value input to the pin of I30 is input to the scan output selection circuit 22 and the JTAG signal suppress circuit 19.

【0079】また本実施例では、JTAGスキャン方式
のLSI30を外部スキャン方式で動作させるため、図
1および図2に示すJTAG信号サプレス回路18、制
御信号選択回路21およびスキャン出力選択回路22か
らなる図3に示すテスト系回路10を設けて、LSI3
0の外部からのスキャン方式選択信号であるテストモー
ド信号端子EXにテストモード信号を入力してオン状態
(Hレベル電圧)にすることにより、JTAGスキャン
方式の信号がLSI30のいずれの入力端子からもLS
I30に供給されないように阻止することができる。
Further, in the present embodiment, since the JTAG scan type LSI 30 is operated by the external scan type, a diagram including the JTAG signal suppress circuit 18, the control signal selecting circuit 21 and the scan output selecting circuit 22 shown in FIGS. The test system circuit 10 shown in FIG.
By inputting the test mode signal to the test mode signal terminal EX, which is a scan mode selection signal from the outside of 0, and turning it on (H level voltage), the signal of the JTAG scan method is output from any of the input terminals of the LSI 30. LS
It can be prevented from being supplied to I30.

【0080】また本実施例では、LSI30のテストモ
ード信号入力端子EXから入力されたテストモード信号
をオン状態(Hレベル電圧)にすることにより、JTA
G信号サプレス回路21が制御信号生成回路18からイ
ンストラクション・レジスタ16への制御信号を非動作
状態に設定するとともに、インストラクション・レジス
タ16から制御信号生成回路17へのレジスタデータを
非動作状態に設定する。
In this embodiment, the JTA is turned on by setting the test mode signal input from the test mode signal input terminal EX of the LSI 30 to the ON state (H level voltage).
The G signal suppress circuit 21 sets the control signal from the control signal generation circuit 18 to the instruction register 16 in a non-operating state, and sets the register data from the instruction register 16 to the control signal generation circuit 17 in a non-operating state. .

【0081】このときスキャン出力選択回路22では、
LSI30のテストモード信号入力端子EXから入力さ
れたテストモード信号をオン状態(Hレベル電圧)にす
ることにより、LSI30の外部からからのチェーンセ
レクト信号によりスキャンチェーンを選択する。
At this time, in the scan output selection circuit 22,
By turning on the test mode signal input from the test mode signal input terminal EX of the LSI 30 (H level voltage), the scan chain is selected by the chain select signal from the outside of the LSI 30.

【0082】また制御信号選択回路21では、テストモ
ード信号入力端子EXから入力されたテストモード信号
をオン状態(Hレベル電圧)にするとき、LSI31〜
33の外部から送出されるスキャン用のクロック信号が
ゲート回路23を経てスキャンFF11に供給されると
ともにチェーンセレクト信号により、入出力マクロ回路
15へスキャンクロックを供給することにより、入出力
マクロ回路15の動作モードを外部スキャン方式と同様
のモードに設定することができる。
Further, in the control signal selection circuit 21, when the test mode signal input from the test mode signal input terminal EX is turned on (H level voltage), the LSIs 31 to 31.
The clock signal for scanning sent from the outside of 33 is supplied to the scan FF 11 via the gate circuit 23, and the scan clock is supplied to the input / output macro circuit 15 by the chain select signal. The operation mode can be set to the same mode as the external scan method.

【0083】以上の処理をすることにより、LSI31
〜33の外部からスキャン方式選択信号であるテストモ
ードEX信号により、JTAGスキャン方式の信号をテ
スト系回路10に入力するのを阻止するとともに、スキ
ャンクロックおよび入出力マクロ回路15の動作モード
を外部スキャン方式に適した値に設定して外部スキャン
方式としての動作をも保証している。
By performing the above processing, the LSI 31
33 to 33, a test mode EX signal, which is a scan mode selection signal, prevents a JTAG scan system signal from being input to the test system circuit 10, and externally scans the operation mode of the scan clock and the input / output macro circuit 15. The value suitable for the method is set to guarantee the operation as an external scan method.

【0084】このため、外部スキャンを行うためにクロ
ック信号を外部回路より供給する外部スキャン方式とIE
EE準拠の内部制御スキャン方式(JTAGスキヤン方式)の
両方を用いて外部スキャン方式のLSIの診断や試験を
するため、外部スキャン回路ブロックに切換えて使用す
る。
For this reason, the external scan method in which a clock signal is supplied from an external circuit to perform an external scan and the IE
It is used by switching to the external scan circuit block in order to diagnose and test the LSI of the external scan system using both the EE-compliant internal control scan system (JTAG scan system).

【0085】このように、外部スキャン回路ブロックに
切換えて使用することで、外部スキャン回路ブロックで
スキャンさせるシステムにおいても手軽に使用可能に
し、システムの試験、評価を迅速に行うことができる。 <JTAGスキャン方式を選択した場合>次に図4のS
T10において、外部スキャン方式からJTAGスキャ
ン方式を選択したときには、テストモード信号入力端子
EXから入力されたテストモード信号をオフ状態(Lレ
ベル電圧)にする(ST31)。
As described above, by switching to the external scan circuit block for use, the system can be easily used even in a system in which scanning is performed by the external scan circuit block, and the system can be tested and evaluated quickly. <When JTAG scan method is selected> Next, S in FIG.
When the JTAG scan method is selected from the external scan methods at T10, the test mode signal input from the test mode signal input terminal EX is turned off (L level voltage) (ST31).

【0086】このときには、図6に示すインストラクシ
ョン・レジスタ16のスキャンチェーンを活発化するた
め、スキャンモードの設定と、TAPコントローラであ
る制御信号生成回路17のスキャンクロックCLK信号
により、スキャンFF11のを動作させる。
At this time, in order to activate the scan chain of the instruction register 16 shown in FIG. 6, the scan FF 11 is operated by the scan mode setting and the scan clock CLK signal of the control signal generation circuit 17 which is the TAP controller. Let

【0087】すなわち、ST31において、テストモー
ド信号端子EXから入力されたテストモード信号をオフ
状態(Lレベル電圧)にした後には、インストラクショ
ンレジスタ16に入力するスキャンチェーンの活性化を
図るため、スキャンモードを設定するとともに、TAP
コントローラである制御信号生成回路17の設定をする
(ST32)。
That is, in ST31, after the test mode signal input from the test mode signal terminal EX is turned off (L level voltage), the scan mode input to the instruction register 16 is activated to activate the scan mode. And set TAP
The control signal generation circuit 17 which is the controller is set (ST32).

【0088】スキャンモードを設定するとともに、TA
Pコントローラである制御信号生成回路17の設定をし
た後には、インストラクション・レジスタ16のスキャ
ン動作をするため、インストラクション(IR)コード
をインストラクション・レジスタ16に設定するととも
に、制御信号生成回路17にテストクロック端子TCK
よりテストクロック電圧をA/Bクロック端子に印加す
る(ST33)。
While setting the scan mode, TA
After the control signal generation circuit 17 which is a P controller is set, the instruction register 16 is scanned by the instruction register 16. Therefore, an instruction (IR) code is set in the instruction register 16 and a test clock is generated in the control signal generation circuit 17. Terminal TCK
A test clock voltage is applied to the A / B clock terminal (ST33).

【0089】インストラクション(IR)コードをイン
ストラクション・レジスタ16に設定するとともに、制
御信号生成回路17にテストクロック端子TCKよりテ
ストクロック電圧をA/Bクロック端子に印加した後に
は、スキャンモードの設定およびチェーンセレクトの設
定を行い、スキャンチェーンの活発化をする(ST3
3)。
After setting the instruction (IR) code in the instruction register 16 and applying the test clock voltage from the test clock terminal TCK to the control signal generating circuit 17 to the A / B clock terminal, the scan mode is set and the chain is set. Set the select and activate the scan chain (ST3
3).

【0090】このスキャンチェーンの活発化をした後に
は、スキャンイン値の設定およびスキャンA/Bクロッ
ク信号端子からA/Bクロック電圧を印加する(ST3
5)。 これにより、内部スキャン回路ブロックを動作
させることにより、外部スキャン回路ブロックの動作を
停止させる。
After the activation of the scan chain, the scan-in value is set and the A / B clock voltage is applied from the scan A / B clock signal terminal (ST3).
5). As a result, the internal scan circuit block is operated to stop the operation of the external scan circuit block.

【0091】すなわち、図1および図2に示すクロック
生成回路20では、スキャンA/Bクロック信号を入力
する図1などに示すスキャンA/Bクロック信号入力端
子A−CLK,B−CLKクロックなどからA/Bクロ
ック信号を入力する。
That is, in the clock generation circuit 20 shown in FIGS. 1 and 2, the scan A / B clock signal input terminals A-CLK and B-CLK clocks shown in FIG. Input A / B clock signal.

【0092】一方、図6などに示すインストラクション
・レジスタ16では、スキャンインSI入力端子からス
キャンイン信号が入力すると、JTAG信号サプレス回
路18にレジスタ出力を供給する。
On the other hand, in the instruction register 16 shown in FIG. 6 and the like, when the scan-in signal is input from the scan-in SI input terminal, the register output is supplied to the JTAG signal suppress circuit 18.

【0093】また図5などに示す制御信号生成回路17
には、テストデータイン端子TRST、テストクロック
端子TCK、テストモードセレクタ端子TMSに入力す
るテストデータイン信号、テストクロック信号およびテ
ストモードセレクタ信号により状態遷移回路(図示省
略)を動作する。
The control signal generation circuit 17 shown in FIG.
In addition, a state transition circuit (not shown) is operated by the test data-in signal TRST, the test clock terminal TCK, the test data-in signal input to the test mode selector terminal TMS, the test clock signal, and the test mode selector signal.

【0094】このため、この制御信号生成回路17で
は、LSI30の外部の外部装置からテストデータイン
端子TRST、テストクロック端子TCK、テストモー
ドセレクタ端子TMSに入力するテストデータイン信
号、テストクロック信号およびテストモードセレクタ信
号をあらかじめ決められた手順で入力することにより、
基本的な動作モードが設定される。
Therefore, in the control signal generation circuit 17, the test data-in signal, the test clock signal, and the test data input from the external device outside the LSI 30 to the test data-in terminal TRST, the test clock terminal TCK, and the test mode selector terminal TMS. By inputting the mode selector signal in a predetermined procedure,
The basic operating mode is set.

【0095】この制御信号生成回路17には、モード情
報の切換により動作する状態遷移回路(図示省略)にL
SI30のピンに専用スキャンFFの値を入力する。ま
た本実施例では、外部スキャン方式のLSI33を内部
制御スキャン方式で動作させるため、図1および図2に
示すJTAG信号サプレス回路18、制御信号選択回路
21およびスキャン出力選択回路22からなる図3に示
すテスト系回路10を設けて、LSI30の外部からの
スキャン方式選択信号であるテストモード信号端子EX
にテストモード信号を入力せずオフ状態(Lレベル電
圧)にすることにより、JTAGスキャン方式の信号が
LSI31〜33のいずれの入力端子からもLSI31
〜33に供給する。
The control signal generating circuit 17 includes a state transition circuit (not shown) which operates by switching the mode information.
Input the value of the dedicated scan FF to the pin of SI30. Further, in the present embodiment, since the external scan type LSI 33 is operated by the internal control scan type, the configuration shown in FIG. 3 including the JTAG signal suppress circuit 18, the control signal selecting circuit 21 and the scan output selecting circuit 22 shown in FIGS. By providing the test system circuit 10 shown, a test mode signal terminal EX which is a scan system selection signal from the outside of the LSI 30
By turning off the test mode signal without inputting the test mode signal (L level voltage), the signal of the JTAG scan system is supplied to the LSI 31 from any of the input terminals of the LSI 31 to 33.
To 33.

【0096】また本実施例では、LSI33のテストモ
ード信号入力端子EXから入力されなかったテストモー
ド信号がオフ状態(Lレベル電圧)になることにより、
JTAG信号サプレス回路21が制御信号生成回路18
からインストラクション・レジスタ16への制御信号を
動作状態に設定するとともに、インストラクション・レ
ジスタ16から制御信号生成回路17へのレジスタデー
タを動作状態に設定する。
In this embodiment, the test mode signal not input from the test mode signal input terminal EX of the LSI 33 is turned off (L level voltage).
The JTAG signal suppress circuit 21 uses the control signal generation circuit 18
The control signal from the instruction register 16 to the instruction register 16 is set to the operating state, and the register data from the instruction register 16 to the control signal generating circuit 17 is set to the operating state.

【0097】また制御信号生成回路17では、テストモ
ード信号入力端子EXから入力されなかったテストモー
ド信号をオフ状態(Lレベル電圧)にするとき、LSI
31〜33の外部から送出されるスキャン用のクロック
信号がゲート回路23を経てスキャンFF11に供給さ
れるとともにチェーンセレクト信号により、入出力マク
ロ回路15へスキャンクロックを供給することにより、
入出力マクロ回路15の動作モードを外部スキャン方式
と同様のモードに設定することができる。
Further, in the control signal generation circuit 17, when the test mode signal not input from the test mode signal input terminal EX is turned off (L level voltage), the LSI
By supplying a scan clock signal sent from outside 31-33 to the scan FF 11 via the gate circuit 23 and supplying a scan clock to the input / output macro circuit 15 by a chain select signal,
The operation mode of the input / output macro circuit 15 can be set to the same mode as the external scan method.

【0098】以上の処理をすることにより、LSI31
〜33の外部からスキャン方式選択信号であるテストモ
ードEX信号を印加しないよういすることにより、外部
スキャン方式の信号をテスト系回路10に入力するのを
阻止するとともに、スキャンクロックおよび入出力マク
ロ回路15の動作モードを内部制御スキャン方式に適し
た値に設定してJTAGスキャン方式としての動作をも
保証している。
By performing the above processing, the LSI 31
No. 33 to 33 does not apply the test mode EX signal, which is the scan mode selection signal, to prevent the signal of the external scan system from being input to the test system circuit 10, and the scan clock and the input / output macro circuit. The operation mode of 15 is set to a value suitable for the internal control scan system to guarantee the operation as the JTAG scan system.

【0099】このため、IEEE準拠の内部制御スキャン方
式(JTAGスキャン方式)を用いて内部制御スキャン方式
のLSIの診断や試験をするため、内部制御スキャン回
路ブロックに切換えて使用する。
Therefore, in order to diagnose and test the LSI of the internal control scan system by using the internal control scan system (JTAG scan system) conforming to IEEE, the internal control scan circuit block is used by switching.

【0100】このように、内部制御スキャン回路ブロッ
クに切換えて使用することで、内部制御スキャン回路ブ
ロックでスキャンさせるシステムにおいても手軽に使用
可能にし、システムの試験、評価を迅速に行うことがで
きる。 (実施例1の変形実施例1) 〔実施例1における変形実施例1の概要〕第1実施例の
変形実施例1としてLSIを実装するプリント配線基板
の試験を行う。このプリント配線基板のテスト方法が異
なる場合には、外部スキャン方式あるいは内部制御方式
のいずれかの方式に回路ブロックを切り換えて試験を行
う。 〔実施例1の変形実施例1の内容〕図1および図2にお
いて、プリント配線基板のテストをする場合には、先ず
テスト回路30の動作モード生成回路19のプリント配
線基板テスト端子PTMよりプリント配線基板テスト電
圧を、たとえばLSIのピンに印加して、プリント配線
基板の絶縁試験をする。
As described above, by switching to the internal control scan circuit block and using it, the system can be easily used even in a system in which the internal control scan circuit block scans, and the system can be tested and evaluated quickly. Modified Example 1 of Example 1 [Outline of Modified Example 1 of Example 1] As a modified example 1 of the first example, a test of a printed wiring board on which an LSI is mounted is tested. When the test method of this printed wiring board is different, the circuit block is switched to either the external scan method or the internal control method to perform the test. [Modifications of First Embodiment] In FIG. 1 and FIG. 2, when the printed wiring board is tested, the printed wiring is first made from the printed wiring board test terminal PTM of the operation mode generation circuit 19 of the test circuit 30. A board test voltage is applied to, for example, an LSI pin to perform an insulation test on the printed wiring board.

【0101】外部スキャン方式でプリント配線基板を試
験する場合には、たとえば図5の外部スキャン回路ブロ
ックを図4のST20〜ST22まで動作させてプリン
ト配線基板の絶縁試験をする。
When the printed wiring board is tested by the external scan method, for example, the external scan circuit block of FIG. 5 is operated from ST20 to ST22 of FIG. 4 to perform the insulation test of the printed wiring board.

【0102】一方、内部制御スキャン方式でプリント配
線基板を試験する場合には、たとえば図6の内部制御ス
キャン回路ブロックを図4のST31〜ST35まで動
作させてプリント配線基板の絶縁試験をする。
On the other hand, when the printed wiring board is tested by the internal control scan method, for example, the internal control scan circuit block of FIG. 6 is operated from ST31 to ST35 of FIG. 4 to perform the insulation test of the printed wiring board.

【0103】以上により、外部スキャン方式あるいは内
部制御方式のいずれかの方式に回路ブロックを切り換え
ることにより、外部スキャン方式で動作するプリント配
線基板あるいは内部制御スキャン方式で動作するプリン
ト配線基板であっても正常に動作するか否かを試験する
ことができる。 (実施例1の変形実施例2) 〔実施例1における変形実施例2の概要〕第1実施例の
変形実施例2としてシステム全体の試験を行う。
As described above, by switching the circuit block to either the external scan system or the internal control system, even a printed wiring board operating in the external scan system or a printed wiring board operating in the internal control scan system can be used. It can be tested whether it works properly. (Modification 2 of Embodiment 1) [Outline of Modification 2 of Embodiment 1] As a modification 2 of the first embodiment, a test of the entire system is performed.

【0104】このシステム全体のテスト方法が異なる場
合には、外部スキャン方式あるいは内部制御方式のいず
れかの方式に回路ブロックを切り換えて試験を行う。 〔実施例1の変形実施例2の内容〕図1および図2にお
いて、システム全体のテストをする場合には、先ずテス
ト回路30の動作モード生成回路19に設けるシステム
全体試験端子にシステム全体テスト端子(図示省略)よ
りシステム全体試験テスト電圧を印加する。
When the test method of the entire system is different, the circuit block is switched to either the external scan method or the internal control method to conduct the test. [Contents of Modified Embodiment 2 of First Embodiment] In FIGS. 1 and 2, when testing the entire system, first, the entire system test terminal provided in the operation mode generation circuit 19 of the test circuit 30 is connected to the entire system test terminal. A test voltage for the entire system is applied from (not shown).

【0105】またたとえば、外部スキャン方式でシステ
ム全体が正常動作するか否かを試験する場合には、図5
の外部スキャン回路ブロックを図4のST20〜ST2
2まで動作させて、たとえばシステム全体が正常に絶縁
されてるかなどの試験をする。
Further, for example, in the case of testing whether or not the entire system operates normally by the external scan method, the case shown in FIG.
The external scan circuit block of ST20 to ST2 in FIG.
Operate up to 2 to test, for example, whether the entire system is properly insulated.

【0106】一方、内部制御スキャン方式でシステム全
体が正常に絶縁されているかなどの試験をする場合に
は、図6の内部制御スキャン回路ブロックを図4のST
31〜ST35まで動作させてシステム全体が正常に絶
縁されていることを試験する。
On the other hand, in the case of testing whether the entire system is normally insulated by the internal control scan method, the internal control scan circuit block of FIG.
Test that the entire system is normally insulated by operating from 31 to ST35.

【0107】以上により、外部スキャン方式あるいは内
部制御方式のいずれかの方式に回路ブロックを切り換え
ることにより、外部スキャン方式で動作するシステムあ
るいは内部制御スキャン方式で動作するシステムであっ
ても正常に絶縁試験などの試験をすることができる。
As described above, by switching the circuit block to either the external scan system or the internal control system, the insulation test is normally performed even in the system operating in the external scan system or the system operating in the internal control scan system. You can do such tests.

【0108】[0108]

【発明の効果】第1の発明によれば、外部スキャン回路
ブロックとJTAGスキャン回路ブロックの両方に切換えて
使用することにより、この試験装置を用いれば、外部ス
キャン回路ブロックで水平方向または垂直方向にスキャ
ンさせるシステムまたは、JTAGスキャン回路ブロックで
水平方向または垂直方向にスキャンさせるシステムにお
いても使用できるので、対象電子部品に応じて迅速に外
部スキャン回路ブロックとJTAGスキャン回路ブロックに
切り換えることができ、また使い勝手を良くすることが
できるという効果を得ることができる。
According to the first aspect of the present invention, by switching and using both the external scan circuit block and the JTAG scan circuit block, by using this test device, the external scan circuit block can be moved horizontally or vertically. It can also be used in a system that scans or in a system that scans horizontally or vertically with a JTAG scan circuit block, so you can quickly switch to the external scan circuit block and the JTAG scan circuit block according to the target electronic component, and it is easy to use. It is possible to obtain the effect of being able to improve.

【0109】また第2の発明によれば、対象電子部品で
ある半導体集積回路とその半導体集積回路を実装するプ
リント配線基板の診断や試験をその半導体集積回路を実
装するプリント配線基板に応じて迅速に診断や試験をす
ることができるという効果も得ることができる。
According to the second invention, the semiconductor integrated circuit which is the target electronic component and the printed wiring board on which the semiconductor integrated circuit is mounted can be quickly diagnosed and tested according to the printed wiring board on which the semiconductor integrated circuit is mounted. It is also possible to obtain the effect that diagnosis and testing can be performed.

【0110】一方、第3の発明によれば、テストモード
端子にテストモードに応じた電圧が印加されたとき、対
象電子部品に対して水平方向または垂町方向にスキャン
をする範囲をスキャン範囲設定部で設定し、このスキャ
ン範囲設定部で設定された設定信号に応答して外部スキ
ャン回路ブロックにより、対象電子部品に対して水平方
向または垂直方向にスキャンをして、対象電子部品の診
断または試験をすることが速やかにできる効果が得らえ
る。
On the other hand, according to the third aspect of the invention, when the voltage according to the test mode is applied to the test mode terminal, the scan range is set to the range in which the target electronic component is scanned in the horizontal direction or the vertical direction. Section, and in response to the setting signal set by the scan range setting section, the external scan circuit block scans the target electronic component horizontally or vertically to diagnose or test the target electronic component. You can get the effect that you can quickly.

【0111】さらに、第4の発明によれば、テストモー
ド端子にテストモードに応じた電圧が印加されないと
き、いわゆる内部制御スキャン方式を採用しているシス
テムに適応した回路ブロックに速やかに切り換えて、対
象電子部品の診断、試験をすることができる。
Further, according to the fourth invention, when the voltage according to the test mode is not applied to the test mode terminal, the circuit block adapted to the system adopting the so-called internal control scan system is promptly switched to, It is possible to diagnose and test target electronic components.

【0112】また第5の発明によれば、プリント配線基
板の試験を行うプリント配線基板試験端子を設けること
により、プリント配線基板の試験もスムースに行うこと
ができる。
Further, according to the fifth invention, by providing the printed wiring board test terminal for testing the printed wiring board, the printed wiring board can be tested smoothly.

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

【図1】本発明の実施例の回路概要を示す回路図であ
る。
FIG. 1 is a circuit diagram showing a circuit outline of an embodiment of the present invention.

【図2】本発明の実施例の詳細回路図である。FIG. 2 is a detailed circuit diagram of an embodiment of the present invention.

【図3】本発明の実施例の要部を示す詳細回路図であ
る。
FIG. 3 is a detailed circuit diagram showing a main part of the embodiment of the present invention.

【図4】本発明の第1実施例の動作を説明するためのフ
ローチャートである。
FIG. 4 is a flow chart for explaining the operation of the first embodiment of the present invention.

【図5】本発明の実施例の一例である外部スキャン方式
の動作説明図である。
FIG. 5 is an operation explanatory diagram of an external scan system that is an example of an embodiment of the present invention.

【図6】本発明の実施例の一例である内部制御スキャン
方式の動作説明図である。
FIG. 6 is an operation explanatory diagram of an internal control scan method which is an example of an embodiment of the present invention.

【図7】本発明の実施例のの動作説明図である。FIG. 7 is an operation explanatory diagram of the embodiment of the present invention.

【図8】従来のテスト回路の回路図である。FIG. 8 is a circuit diagram of a conventional test circuit.

【図9】従来のテスト回路のフローチャートである。FIG. 9 is a flowchart of a conventional test circuit.

【図10】従来のテスト回路の回路図である。FIG. 10 is a circuit diagram of a conventional test circuit.

【図11】従来のテスト回路のフローチャートである。FIG. 11 is a flowchart of a conventional test circuit.

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

10 テスト系回路 11 スキャンFF 15 入出力マクロ回路 16 インストラクション・レジスタ 17 制御信号生成回路 18 JTAG信号サプレス回路 19 動作モード生成回路 20 クロック生成回路 21 制御信号選択回路 22 スキャン出力選択回路 23 ゲート回路 30 切換回路 31 JTAGスキャンLSI 32 JTAGスキャンLSI 33 JTAG /外部スキャンLSI 10 test system circuit 11 scan FF 15 input / output macro circuit 16 instruction register 17 control signal generation circuit 18 JTAG signal suppression circuit 19 operation mode generation circuit 20 clock generation circuit 21 control signal selection circuit 22 scan output selection circuit 23 gate circuit 30 switching Circuit 31 JTAG scan LSI 32 JTAG scan LSI 33 JTAG / external scan LSI

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 外部装置から送出された信号にしたが
って対象電子部品の試験を行うクロック信号を前記外部
装置より供給する外部スキャン回路ブロックと、回路内
部の制御回路から供給された内部制御信号により前記回
路内部の制御をして前記対象電子部品の試験をする内部
制御スキャン回路ブロックを用いて前記対象電子部品の
診断や試験をする装置において、 前記外部スキャン回路ブロックと前記内部制御スキャン
回路ブロックの両方に切換えて使用する回路ブロック切
換回路を設け、 前記回路ブロック切換回路は、前記外部スキャン回路ブ
ロックを用いて前記対象電子部品の診断や試験をすると
きには、その診断または試験をする前記対象電子部品を
スキャンする、外部クロック信号により外部スキャン設
定部で設定を行って外部スキャン回路ブロックに切換
え、 前記内部制御スキャン回路ブロックを用いて前記対象電
子部品の診断や試験をするときには、その診断または試
験をする前記対象電子部品をスキャンする、前記内部制
御部から送出される制御信号により内部制御スキャン設
定部で設定を行う内部制御スキャンの回路ブロックに切
換える、試験装置。
1. An external scan circuit block for supplying a clock signal for testing a target electronic component in accordance with a signal sent from an external device from the external device, and an internal control signal supplied from a control circuit inside the circuit. In an apparatus for diagnosing and testing the target electronic component by using an internal control scan circuit block that controls the inside of the circuit to test the target electronic component, both the external scan circuit block and the internal control scan circuit block A circuit block switching circuit to be used by switching to, the circuit block switching circuit, when performing the diagnosis or test of the target electronic component using the external scan circuit block, the target electronic component to be diagnosed or tested. To scan, set the external scan setting section according to the external clock signal and set the external scan When the target electronic component is diagnosed or tested using the internal control scan circuit block, the target electronic component to be diagnosed or tested is scanned, and is sent from the internal control unit. A test device that switches to the internal control scan circuit block that is set by the internal control scan setting unit by a control signal.
【請求項2】 前記対象電子部品は、半導体集積回路
とその半導体集積回路を実装するプリント配線基板であ
る、請求項1記載の試験装置。
2. The test apparatus according to claim 1, wherein the target electronic component is a semiconductor integrated circuit and a printed wiring board on which the semiconductor integrated circuit is mounted.
【請求項3】 前記回路ブロック切換回路には、テス
トモード端子にテストモードに応じた電圧が印加された
とき、前記対象電子部品をスキャンする範囲をスキャン
範囲設定部で設定し、 このスキャン範囲設定部で設定された設定信号に応答し
て前記外部スキャンを行う、 請求項1または請求項2記載の試験装置。
3. In the circuit block switching circuit, when a voltage according to a test mode is applied to a test mode terminal, a scan range setting unit sets a range for scanning the target electronic component, and the scan range setting unit sets the scan range. The test apparatus according to claim 1, wherein the external scan is performed in response to a setting signal set by the unit.
【請求項4】 前記回路ブロック切換回路には、テスト
モード端子にテストモードに応じた電圧が印加されない
とき、前記内部制御部から送出される内部制御信号に基
づいて前記対象電子部品をスキャンして、前記対象電子
部品の診断または試験をする、 請求項1ないし請求項3記載の試験装置。
4. The circuit block switching circuit scans the target electronic component based on an internal control signal sent from the internal control section when a voltage according to a test mode is not applied to a test mode terminal. The test apparatus according to claim 1, wherein the target electronic component is diagnosed or tested.
【請求項5】 前記回路ブロック切換回路には、プリ
ント配線基板の試験を行うプリント配線基板試験端子を
設けた、 請求項1ないし請求項4記載の試験装置。
5. The test apparatus according to claim 1, wherein the circuit block switching circuit is provided with a printed wiring board test terminal for testing a printed wiring board.
JP24815294A 1994-10-13 1994-10-13 Testing equipment Expired - Fee Related JP3594340B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24815294A JP3594340B2 (en) 1994-10-13 1994-10-13 Testing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24815294A JP3594340B2 (en) 1994-10-13 1994-10-13 Testing equipment

Publications (2)

Publication Number Publication Date
JPH08114647A true JPH08114647A (en) 1996-05-07
JP3594340B2 JP3594340B2 (en) 2004-11-24

Family

ID=17173999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24815294A Expired - Fee Related JP3594340B2 (en) 1994-10-13 1994-10-13 Testing equipment

Country Status (1)

Country Link
JP (1) JP3594340B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6060924A (en) * 1997-11-06 2000-05-09 Fujitsu Limited Semiconductor integrated circuit which contains scan circuits of different types
US7484155B2 (en) 2005-01-04 2009-01-27 Samsung Electronics Co., Ltd. Analog base-band test apparatus and method by enhanced combination of JTAG and memory in mobile communication system
US7752359B2 (en) 2005-11-25 2010-07-06 Sony Corporation Wireless-interface module and electronic apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6060924A (en) * 1997-11-06 2000-05-09 Fujitsu Limited Semiconductor integrated circuit which contains scan circuits of different types
US7484155B2 (en) 2005-01-04 2009-01-27 Samsung Electronics Co., Ltd. Analog base-band test apparatus and method by enhanced combination of JTAG and memory in mobile communication system
US7752359B2 (en) 2005-11-25 2010-07-06 Sony Corporation Wireless-interface module and electronic apparatus

Also Published As

Publication number Publication date
JP3594340B2 (en) 2004-11-24

Similar Documents

Publication Publication Date Title
US5428624A (en) Fault injection using boundary scan
KR100965463B1 (en) Semiconductor integrated circuit and testing method
WO2005003896A2 (en) Test standard interfaces and architectures
JP4012577B2 (en) Boundary scan element and communication apparatus using the same
US7013415B1 (en) IC with internal interface switch for testability
JPH07260883A (en) System tester
US6334198B1 (en) Method and arrangement for controlling multiply-activated test access port control modules
US20030126533A1 (en) Testing of circuit modules embedded in an integrated circuit
JPH09503302A (en) Method and apparatus for testing integrated circuits
JP2000162277A (en) Semiconductor integrated circuit
US20030046625A1 (en) Method and apparatus for efficient control of multiple tap controllers
US20030188237A1 (en) Method and apparatus for testing a circuit using a die frame logic analyzer
JPH08114647A (en) Tester
JP3310096B2 (en) Integrated circuit device
US6779142B1 (en) Apparatus and method for interfacing a high speed scan-path with slow-speed test equipment
JP3094983B2 (en) System logic test circuit and test method
US6357026B1 (en) System and method for at-speed interconnect tests
JPH0763821A (en) Test circuit
JP2869314B2 (en) Boundary scan circuit, boundary scan test circuit, and method of using the same
JP3072718B2 (en) Test method for an integrated circuit having a large number of I / O signals
US7051254B2 (en) Semiconductor integrated circuit device and method for designing a semiconductor integrated circuit device
US6092226A (en) Fabrication of test logic for level sensitive scan on a circuit
JP2002286806A (en) Scan test method for semiconductor device
JP2001004710A (en) Scan test circuit, automatic test pattern generator, scan test method, method for designing scan test circuit, automatic test pattern generating method, method for executing scan test circuit design
JP2003513287A (en) Scan test point monitoring system and method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040817

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040831

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110910

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120910

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees