JP2002323541A - Boundary scan register - Google Patents

Boundary scan register

Info

Publication number
JP2002323541A
JP2002323541A JP2001130045A JP2001130045A JP2002323541A JP 2002323541 A JP2002323541 A JP 2002323541A JP 2001130045 A JP2001130045 A JP 2001130045A JP 2001130045 A JP2001130045 A JP 2001130045A JP 2002323541 A JP2002323541 A JP 2002323541A
Authority
JP
Japan
Prior art keywords
signal
input
analog
terminal
output
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.)
Abandoned
Application number
JP2001130045A
Other languages
Japanese (ja)
Inventor
Naoki Matsushima
直樹 松島
Keiichi Busujima
圭一 毒島
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2001130045A priority Critical patent/JP2002323541A/en
Publication of JP2002323541A publication Critical patent/JP2002323541A/en
Abandoned legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a macro cell capable of testing an analogue signal wiring. SOLUTION: In a test mode, a control signal TDI is inputted in an input terminal 32, and is converted into an analogue signal by a D/A 37, and an analogue output signal AO is outputted from an output terminal through a selector 38. Thereby, the analogue signal for a test can be outputted to a signal wiring or the like connected to the output terminal 35. On the other hand, an analogue input signal AI of the input terminal 31 is converted into a digital signal by an A/D 33, is fed to a parallel input terminal PI of a register 34, and is held in parallel by the register 34 in accordance with a control signal SFT. The digital signal held by the resister 34 is sequentially shifted in accordance with a timing of a control signal TCK, is read out, and is outputted as a control signal TDO from the output terminal 35. Thus, whether the signal wiring connected to the input terminal 31 is good or not is tested by analyzing the control signal TDO.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、JTAG(Joint
Test Action Group)試験システム対応のデバイスに組み
込まれるバウンダリ・スキャン・レジスタ(以下、「マ
クロセル」という)に関するものである。
The present invention relates to a JTAG (Joint
Test Action Group) relates to a boundary scan register (hereinafter, referred to as a “macro cell”) incorporated in a device compatible with a test system.

【0002】[0002]

【従来の技術】従来、プリント基板の試験としては、生
け花で使う剣山のような針山を、試験対象のプリント基
板に搭載されたデバイスの端子等に押し当てて行う、
“インサーキット・テスト手法”が主流となっていた。
しかし、デバイスの高集積化とプリント基板の高密度実
装により、デバイスの端子数が増加すると共に端子の間
隔が狭くなってきている。このため、テスト針の間隔よ
りも端子の間隔の方が狭くなり、試験が極めて困難にな
るという状態が発生している。更に、BGA(BallGrid
Array)パッケージでは、パッケージの裏面にボール状
の端子が配置されているので、プリント基板に表面実装
した後では、パッケージの端子にテスト針を当てること
が不可能である。このような事態を救うための新しい試
験方法として登場したのが、IEEE1149.1で標
準化されたJTAG試験である。
2. Description of the Related Art Conventionally, as a test of a printed circuit board, a needle mountain such as a sword used for ikebana is pressed against a terminal or the like of a device mounted on a printed circuit board to be tested.
The “in-circuit test method” was the mainstream.
However, due to high integration of devices and high-density mounting of printed circuit boards, the number of terminals of the device is increasing and the interval between terminals is becoming narrower. For this reason, the interval between the terminals is narrower than the interval between the test needles, and a state in which the test becomes extremely difficult has occurred. Furthermore, BGA (BallGrid
In an Array) package, since ball-shaped terminals are arranged on the back surface of the package, it is impossible to apply a test needle to the package terminals after surface mounting on a printed circuit board. The JTAG test standardized by IEEE1149.1 has emerged as a new test method to save such situations.

【0003】JTAG試験は、予めJTAG対応の回路
が組み込まれたIC等のデバイスを搭載したプリント基
板を試験の対象とし、デバイス内の試験用の回路を駆動
して、そのプリント基板の良否を判定する試験方法であ
る。
In the JTAG test, a printed circuit board on which a device such as an IC in which a JTAG-compatible circuit is pre-installed is mounted, and a test circuit in the device is driven to judge the quality of the printed circuit board. This is a test method.

【0004】図2は、JTAG試験システムの概念を説
明するための構成図である。この図2に示すように、J
TAG試験システムは、試験装置1と試験対象のプリン
ト基板2を、TAP(Test Access Port)と呼ばれる直
列インタフェースで接続したものである。TAPは、T
DI(Test Data In),TDO(Test DataOut),TC
K(Test Clock),TMS(Test Mode Select),TR
ST(Test Reset)の5つの制御信号で構成されてい
る。
FIG. 2 is a configuration diagram for explaining the concept of the JTAG test system. As shown in FIG.
In the TAG test system, a test apparatus 1 and a printed circuit board 2 to be tested are connected by a serial interface called a TAP (Test Access Port). TAP is T
DI (Test Data In), TDO (Test DataOut), TC
K (Test Clock), TMS (Test Mode Select), TR
It is composed of five control signals ST (Test Reset).

【0005】制御信号TDIは、試験装置1からプリン
ト基板2に対して、試験用のデータを直列に与える信号
である。制御信号TDOは、プリント基板2からのデー
タを、試験装置1へ出力する信号である。制御信号TC
Kは、試験装置1からプリント基板2に対して、データ
の入出力等のタイミングを与えるためのクロック信号で
ある。制御信号TMSは、試験装置1からプリント基板
2に対して、試験動作を制御する命令を与えるための信
号である。制御信号TRSTは、試験装置1から、プリ
ント基板2を非同期に初期化するためのリセット信号で
ある。
The control signal TDI is a signal that gives test data from the test apparatus 1 to the printed circuit board 2 in series. The control signal TDO is a signal for outputting data from the printed circuit board 2 to the test apparatus 1. Control signal TC
K is a clock signal for giving a timing such as data input / output from the test apparatus 1 to the printed circuit board 2. The control signal TMS is a signal for giving a command for controlling a test operation from the test apparatus 1 to the printed circuit board 2. The control signal TRST is a reset signal for asynchronously initializing the printed circuit board 2 from the test apparatus 1.

【0006】試験装置1は、通常パーソナル・コンピュ
ータが用いられ、このパーソナル・コンピュータに、制
御信号TDI等を入出力するためのJTAG制御ボード
と、制御プログラムを設けた構成となっている。また、
試験装置1は、制御信号TDIとして出力する試験用の
データを作成する試験データ作成ツールと、プリント基
板2から出力される制御信号TDOを解読して、このプ
リント基板2の良否を判定する試験結果解析ツール等の
ソフトウエアを備えている。
The test apparatus 1 is usually a personal computer, which is provided with a JTAG control board for inputting and outputting a control signal TDI and the like, and a control program. Also,
The test apparatus 1 includes a test data creation tool for creating test data to be output as a control signal TDI, and a test result for decoding a control signal TDO output from the printed circuit board 2 and determining whether the printed circuit board 2 is defective. It has software such as analysis tools.

【0007】一方、試験対象のプリント基板2には、試
験装置1からの試験ケーブルを接続するためのコネクタ
3が設けられると共に、JTAG対応の複数のIC(In
tegrated Circuit)10が搭載されている。
On the other hand, the printed circuit board 2 to be tested is provided with a connector 3 for connecting a test cable from the test apparatus 1 and a plurality of JTAG-compliant ICs (In
integrated circuit) 10 is mounted.

【0008】各IC10は、それぞれ本来の機能を実行
する内部論理回路11と、この内部論理回路11に対す
る本来の信号を入出力するための複数の端子12を有し
ている。更に、各IC10は、試験用の制御信号TD
I,TMS,TCK,TRSTが入力される端子13,
14,15,16と、制御信号TDOを出力する端子1
7を備えている。
Each IC 10 has an internal logic circuit 11 for executing an original function, and a plurality of terminals 12 for inputting / outputting an original signal to / from the internal logic circuit 11. Further, each IC 10 has a control signal TD for testing.
A terminal 13 to which I, TMS, TCK, and TRST are inputted;
14, 15, 16 and a terminal 1 for outputting a control signal TDO
7 is provided.

【0009】端子14,15,16にはTAPコントロ
ーラ18が接続され、端子13には命令レジスタ(IN
−REG)19aが接続され、端子13,14間にはバ
イパス・レジスタ(BP−REG)19bが接続されて
いる。また、内部論理回路11と各端子12との間に
は、それぞれマクロセル20が設けられている。
A TAP controller 18 is connected to terminals 14, 15, and 16, and an instruction register (IN) is connected to terminal 13.
-REG) 19a, and a bypass register (BP-REG) 19b is connected between the terminals 13 and 14. A macro cell 20 is provided between the internal logic circuit 11 and each terminal 12.

【0010】TAPコントローラ18は、端子15から
与えられる制御信号TCKの立ち上がりで、端子14の
制御信号TMSをサンプリングし、この制御信号TMS
の論理値“0”/“1”と現在の状態に従って、予め設
定された次の状態へ遷移するステートマシンである。遷
移した状態に応じて、TAPコントローラ18から各レ
ジスタ19a,19bやマクロセル20に対して、図示
しない各種の制御信号が出力されるようになっている。
The TAP controller 18 samples the control signal TMS at the terminal 14 at the rise of the control signal TCK supplied from the terminal 15, and controls the control signal TMS.
Is a state machine that transits to a preset next state according to the logical value “0” / “1” of the current state. Various control signals (not shown) are output from the TAP controller 18 to the registers 19a and 19b and the macro cell 20 in accordance with the transition state.

【0011】命令レジスタ19aは、端子13から与え
られる制御信号TDI中の命令ビットを読み込んで解読
するもので、これによりTAPコントローラ18に各種
の機能を実行させることができる。また、バイパス・レ
ジスタ19bは、マクロセル20を通さずに、端子13
から入力される制御信号TDIを、最短経路で端子17
へ制御信号TDOとして出力するための、バイパス経路
を提供するものである。
The instruction register 19a reads and decodes instruction bits in a control signal TDI supplied from the terminal 13, and thereby allows the TAP controller 18 to execute various functions. Also, the bypass register 19b is connected to the terminal 13 without passing through the macrocell 20.
The control signal TDI input from the
And a bypass path for outputting the control signal TDO to the control circuit.

【0012】マクロセル20は、IC10の内部論理回
路11と入出力用の端子12との間に挿入されるもの
で、試験モード時には、このIC10内のすべてのマク
ロセル20が一連に接続されて、端子12の信号を順次
転送するためのシフト・レジスタを構成することができ
るようになっている。このシフト・レジスタの最初のマ
クロセル20の入力側は端子13に接続され、最後のマ
クロセル20の出力側が端子17に接続されている。
The macro cell 20 is inserted between the internal logic circuit 11 of the IC 10 and the input / output terminal 12. In the test mode, all the macro cells 20 in the IC 10 are connected in series, A shift register for sequentially transferring twelve signals can be configured. The input side of the first macrocell 20 of this shift register is connected to terminal 13 and the output side of the last macrocell 20 is connected to terminal 17.

【0013】プリント基板2に搭載された複数のIC1
0(この図では、IC10,10 のみ表示)の入出
力用の端子12の間は、複数の信号配線4で接続されて
いる。また、各IC10の端子14,15,16は、そ
れぞれコネクタ3から制御信号TMS,TCK,TRS
Tが共通に与えられるように接続されている。
A plurality of ICs 1 mounted on a printed circuit board 2
0 (in this figure, IC101, 10 2Only display)
The power terminals 12 are connected by a plurality of signal wires 4.
I have. The terminals 14, 15, 16 of each IC 10 are
Control signals TMS, TCK, TRS from connector 3 respectively
They are connected so that T is given in common.

【0014】一方、各IC10の端子13,17は、デ
イジーチェーン接続されている。即ち、コネクタ3から
制御信号TDIがIC10の端子13に与えられ、こ
のIC10の端子17から出力される制御信号TDO
が、次のIC10の端子13に、制御信号TDIとし
て与えられる。更に、IC10の端子17から出力さ
れる制御信号TDOが、コネクタ3を介して試験装置1
へ制御信号TDOとして出力されるようになっている。
On the other hand, terminals 13 and 17 of each IC 10 are connected in a daisy chain. That is, the control signal TDI from the connector 3 is applied to the IC 10 1 of terminal 13, a control signal TDO output from the IC 10 1 terminal 17
But the next IC 10 2 of terminal 13, is supplied as a control signal TDI. Furthermore, the control signal TDO output from IC 10 2 to terminal 17, the test device through the connector 3 1
Is output as a control signal TDO.

【0015】図3は、図2中のIC10における従来の
マクロセル20の構成図である。このマクロセル20
は、内部論理回路11または入力用の端子12から入力
データXIが与えられる入力端子21と、前段のマクロ
セル等から制御信号TDIが与えられる入力端子22を
有している。入力端子21,22は、セレクタ(SE
L)23の端子A,Bにそれぞれ接続されている。セレ
クタ23は、TAPコントローラ18から端子Cに与え
られるシフト信号SFTによって制御され、端子A,B
のいずれか一方の信号を選択して、端子Oに出力するも
のである。セレクタ23の端子Oは、フリップ・フロッ
プ(以下、「FF」という)24の端子Dに接続されて
いる。
FIG. 3 is a configuration diagram of a conventional macro cell 20 in the IC 10 in FIG. This macro cell 20
Has an input terminal 21 to which input data XI is supplied from the internal logic circuit 11 or the input terminal 12, and an input terminal 22 to which a control signal TDI is supplied from a preceding macro cell or the like. The input terminals 21 and 22 are connected to a selector (SE
L) 23 are connected to terminals A and B, respectively. The selector 23 is controlled by a shift signal SFT provided from the TAP controller 18 to the terminal C, and the terminals A and B
Is selected and output to the terminal O. A terminal O of the selector 23 is connected to a terminal D of a flip-flop (hereinafter, referred to as “FF”) 24.

【0016】FF24は、端子CKに与えられる制御信
号TCKの立ち上がりのタイミングで、端子Dの信号を
保持して端子Qに出力するものである。FF24の端子
Qは、後段のマクロセル等に制御信号TDOを出力する
出力端子25に接続されると共に、セレクタ26の端子
Bに接続されている。セレクタ26の端子Aは入力端子
21に接続され、端子Cには試験モードと通常モードを
切り替えるためのモード信号MODがTAPコントロー
ラ18から与えられるようになっている。そして、セレ
クタ26の端子Oは出力端子27に接続され、この出力
端子27から内部論理回路11または出力用の端子12
へ出力データXOが出力されるようになっている。
The FF 24 holds the signal at the terminal D and outputs it to the terminal Q at the rising timing of the control signal TCK applied to the terminal CK. The terminal Q of the FF 24 is connected to an output terminal 25 that outputs a control signal TDO to a subsequent macro cell or the like, and is also connected to a terminal B of a selector 26. The terminal A of the selector 26 is connected to the input terminal 21, and a mode signal MOD for switching between the test mode and the normal mode is supplied to the terminal C from the TAP controller 18. The terminal O of the selector 26 is connected to the output terminal 27. The output terminal 27 connects the internal logic circuit 11 or the output terminal 12 to the output terminal 27.
The output data XO is output to the

【0017】このようなJTAG試験システムにおい
て、通常モードが設定されると、各IC10のTAPコ
ントローラ18から与えられるモード信号MODによっ
て、各マクロセル20内のセレクタ26が端子A側に切
り替えられる。これにより、マクロセル20の端子21
と端子27が接続され、各IC10の内部論理回路11
と入出力用の端子12が直接接続されて通常の動作が行
われる。
In the JTAG test system, when the normal mode is set, the selector 26 in each macro cell 20 is switched to the terminal A by the mode signal MOD given from the TAP controller 18 of each IC 10. Thereby, the terminal 21 of the macro cell 20
And the terminal 27 are connected to the internal logic circuit 11 of each IC 10.
And the input / output terminal 12 are directly connected to perform a normal operation.

【0018】一方、試験モードが設定されると、モード
信号MODによって、各マクロセル20内のセレクタ2
6が端子B側に切り替えられ、IC10の内部論理回路
11と入出力用の端子12が切り離される。
On the other hand, when the test mode is set, the selector 2 in each macro cell 20 is operated by the mode signal MOD.
6 is switched to the terminal B side, and the internal logic circuit 11 of the IC 10 and the input / output terminal 12 are disconnected.

【0019】更に、各IC10のTAPコントローラ1
8から与えられるシフト信号SFTによって、セレクタ
23が端子A側に切り替えられると、入力端子21の入
力データXIが、このセレクタ23を介してFF24の
端子Dに与えられる。ここで、制御信号TCKが立ち上
がると、入力データXIはFF24に保持され、端子2
5に制御信号TDOとして出力される。
Further, the TAP controller 1 of each IC 10
When the selector 23 is switched to the terminal A side by the shift signal SFT given from 8, the input data XI of the input terminal 21 is given to the terminal D of the FF 24 via the selector 23. Here, when the control signal TCK rises, the input data XI is held in the FF 24 and
5 is output as a control signal TDO.

【0020】その後、シフト信号SFTによってセレク
タ23が端子B側に切り替えられると、入力端子22の
制御信号TDIが、このセレクタ23を介してFF24
の端子Dに与えられる。これにより、IC10内のすべ
てのマクロセル20がデイジーチェーン接続され、シフ
ト・レジスタが構成される。また、各IC10の間も信
号配線4によって接続されているので、プリント基板2
上のすべてのIC10のマクロセル20がデイジーチェ
ーン接続され、一連のシフト・レジスタが形成される。
Thereafter, when the selector 23 is switched to the terminal B side by the shift signal SFT, the control signal TDI of the input terminal 22 is transmitted through the selector 23 to the FF 24.
Of the terminal D. As a result, all the macro cells 20 in the IC 10 are daisy-chain-connected to form a shift register. Further, since the respective ICs 10 are also connected by the signal wiring 4, the printed circuit board 2
The macrocells 20 of all the above ICs 10 are daisy-chained to form a series of shift registers.

【0021】ここで、試験装置1から制御信号TCKの
タイミングに従って制御信号TDIを与える。これによ
り、制御信号TDIが各IC10内のマクロセル20の
FF24に順次転送されると共に、これらのFF24に
保持されていたデータが順次読み出されてコネクタ3に
制御信号TDOとして出力される。試験装置1では、試
験用のデータを制御信号TDIとして出力し、プリント
基板2から読み出された制御信号TDOを解析すること
により、このプリント基板2上の信号配線4の良否を判
定することができる。
Here, the control signal TDI is applied from the test apparatus 1 in accordance with the timing of the control signal TCK. As a result, the control signal TDI is sequentially transferred to the FFs 24 of the macrocells 20 in each IC 10, and the data held in these FFs 24 is sequentially read out and output to the connector 3 as the control signal TDO. The test apparatus 1 outputs test data as a control signal TDI and analyzes the control signal TDO read from the printed circuit board 2 to determine the quality of the signal wiring 4 on the printed circuit board 2. it can.

【0022】[0022]

【発明が解決しようとする課題】しかしながら、従来の
マクロセル20では、次のような課題があった。即ち、
端子21に与えられる入力信号XIは、論理値“0”/
“1”のディジタル信号を前提としている。このため、
アナログ信号に適用することができず、アナログの信号
配線を試験することが不可能であった。
However, the conventional macro cell 20 has the following problems. That is,
The input signal XI applied to the terminal 21 has a logical value “0” /
It is assumed that the digital signal is "1". For this reason,
It could not be applied to analog signals, making it impossible to test analog signal wiring.

【0023】本発明は、前記従来技術が持っていた課題
を解決し、アナログの信号配線を試験することができる
マクロセルを提供するものである。
The present invention solves the problems of the prior art and provides a macrocell capable of testing analog signal wiring.

【0024】[0024]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、プリント基板の信号配線を試験するため
に、該プリント基板に搭載されるデバイス中の内部回路
と入出力端子との間に設けられ、通常モード時には該内
部回路と該入出力端子とを接続し、試験モード時には該
内部回路または該入出力端子の信号を順次シフトして転
送するように接続されるマクロセルを次のように構成し
ている。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a method for testing a signal wiring on a printed circuit board, which comprises connecting an internal circuit in a device mounted on the printed circuit board to an input / output terminal. A macro cell is provided between the internal circuit and the input / output terminal in the normal mode, and is connected to sequentially transfer the signal of the internal circuit or the input / output terminal in the test mode. It is configured as follows.

【0025】即ち、このマクロセルは、内部回路または
入出力端子のアナログ信号をディジタル信号に変換する
アナログ/ディジタル変換手段と、前段のマクロセルか
らの信号と前記アナログ/ディジタル変換手段で変換さ
れたディジタル信号とが与えられ、制御信号によって保
持モードが指定されたときに該ディジタル信号を保持
し、該制御信号によって転送モードが指定されたときに
は該保持したディジタル信号と該前段のマクロセルから
の信号をクロック信号に従って順次シフトして出力する
シフト手段と、前記シフト手段から順次出力される信号
を並列データに変換する直列/並列変換手段と、前記直
列/並列変換手段で変換された並列データをアナログ信
号に変換するディジタル/アナログ変換手段と、前記通
常モード時には前記内部回路または入出力端子のアナロ
グ信号を選択し、前記試験モード時には前記ディジタル
/アナログ変換手段で変換されたアナログ信号を選択し
て前記入出力端子または内部回路に出力する選択手段を
備えている。
That is, the macro cell includes an analog / digital conversion means for converting an analog signal of an internal circuit or an input / output terminal into a digital signal, a signal from a macro cell in a preceding stage and a digital signal converted by the analog / digital conversion means. When the holding mode is designated by the control signal, the digital signal is held, and when the transfer mode is designated by the control signal, the held digital signal and the signal from the preceding macrocell are clocked by the clock signal. , A serial / parallel converter for converting a signal sequentially output from the shift unit into parallel data, and a parallel data converted by the serial / parallel converter into an analog signal. Digital / analog conversion means for performing Select the analog signal parts circuit or output terminal, wherein the test mode comprises a selection means for outputting to the output terminal or internal circuit selects the converted analog signal by the digital / analog converter.

【0026】本発明によれば、以上のようにマクロセル
を構成したので、次のような作用が行われる。試験モー
ドにおいて、制御信号によって保持モードが指定される
と、アナログ/ディジタル変換手段でディジタル信号に
変換された内部回路または入出力端子のアナログ信号
が、シフト手段に保持される。次に、制御信号によって
転送モードが指定されると、シフト手段に保持されたデ
ィジタル信号と前段のマクロセルからの信号が、クロッ
ク信号に従って順次シフトして出力される。シフト手段
から順次出力されるディジタル信号は、直列/並列変換
手段によって並列データに変換され、ディジタル/アナ
ログ変換手段によってアナログ信号に変換される。更
に、ディジタル/アナログ変換手段で変換されたアナロ
グ信号は、選択手段にで選択されて入出力端子または内
部回路に出力される。
According to the present invention, since the macro cell is configured as described above, the following operation is performed. In the test mode, when the holding mode is designated by the control signal, the analog signal of the internal circuit or the input / output terminal converted into the digital signal by the analog / digital converting means is held in the shift means. Next, when the transfer mode is designated by the control signal, the digital signal held by the shift means and the signal from the preceding macrocell are sequentially shifted and output according to the clock signal. The digital signals sequentially output from the shift means are converted into parallel data by the serial / parallel conversion means, and are converted into analog signals by the digital / analog conversion means. Further, the analog signal converted by the digital / analog conversion means is selected by the selection means and output to an input / output terminal or an internal circuit.

【0027】通常モードでは、内部回路または入出力端
子のアナログ信号が、選択手段によって選択され、入出
力端子または内部回路に出力される。
In the normal mode, an analog signal of the internal circuit or the input / output terminal is selected by the selection means and output to the input / output terminal or the internal circuit.

【0028】[0028]

【発明の実施の形態】図1は、本発明の実施形態を示す
マクロセル30の構成図であり、図2中のアナログ信号
に対するマクロセルとして、図3のマクロセル20と混
在して用いられるものである。
FIG. 1 is a block diagram of a macro cell 30 showing an embodiment of the present invention, which is used as a macro cell for an analog signal in FIG. 2 together with a macro cell 20 in FIG. .

【0029】このマクロセル30は、IC10の内部論
理回路11または入力用の端子12からアナログの入力
信号AIが与えられる入力端子31と、前段のマクロセ
ルまたは端子13から制御信号TDIが与えられる入力
端子32を有している。入力端子31は、アナログ/デ
ィジタル変換手段(例えば、アナログ/ディジタル変換
器、以下、「A/D」という)33の入力側に接続され
ている。A/D33は、入力側に与えられたアナログ信
号をディジタル信号に変換して、例えば8ビットの並列
信号として出力するものである。A/D33の出力側
は、シフト手段(例えば、レジスタ(REG))34の
並列入力端子PIに接続されている。
The macro cell 30 has an input terminal 31 to which an analog input signal AI is supplied from the internal logic circuit 11 or the input terminal 12 of the IC 10, and an input terminal 32 to which a control signal TDI is supplied from the preceding macro cell or terminal 13. have. The input terminal 31 is connected to an input side of an analog / digital converter (for example, an analog / digital converter, hereinafter, referred to as “A / D”) 33. The A / D 33 converts an analog signal supplied to the input side into a digital signal and outputs the digital signal as, for example, an 8-bit parallel signal. The output side of the A / D 33 is connected to a parallel input terminal PI of a shift means (for example, a register (REG)) 34.

【0030】レジスタ34は、並列入力端子PIと直列
入力端子SIを有する、8ビットの並列入力直列出力型
シフトレジスタである。このレジスタ34は、制御端子
PLに与えられるシフト信号SFTがレベル“H”の
時、並列入力端子PIに与えられる8ビットのディジタ
ル信号を保持するようになっている。またシフト信号S
FTがレベル“L”の時、レジスタ34は、クロック端
子CKに与えられる制御信号TCKの立ち上がりのタイ
ミングで、直列入力端子SIに与えられる制御信号TD
Iと保持しているディジタル信号を、順次1ビットずつ
シフトして、出力端子SOから直列に出力するようにな
っている。レジスタ34の出力端子SOは、制御信号T
DOを出力するための出力端子35と、直列/並列変換
手段(例えば、直列/並列変換器、以下、「S/P」と
いう)36の入力側に接続されている。
The register 34 is an 8-bit parallel input serial output type shift register having a parallel input terminal PI and a serial input terminal SI. When the shift signal SFT applied to the control terminal PL is at level "H", the register 34 holds an 8-bit digital signal applied to the parallel input terminal PI. Also, the shift signal S
When FT is at level “L”, the register 34 controls the control signal TD applied to the serial input terminal SI at the rising timing of the control signal TCK applied to the clock terminal CK.
The digital signal held as I is sequentially shifted one bit at a time, and output in series from an output terminal SO. The output terminal SO of the register 34 receives the control signal T
An output terminal 35 for outputting a DO is connected to an input side of a serial / parallel converter (for example, a serial / parallel converter, hereinafter, referred to as “S / P”) 36.

【0031】S/P36は、直列入力並列出力型の8ビ
ットのシフトレジスタで、クロック端子CKに与えられ
る制御信号TCKの立ち上がりのタイミングで、入力側
の信号を保持して1ビットずつ順次シフトするものであ
る。S/P36に保持された8ビットのディジタル信号
は、並列に出力されるようになっている。S/P36の
出力側には、ディジタル/アナログ変換手段(例えば、
ディジタル/アナログ変換器、以下、「D/A」とい
う)37が接続されている。D/A37は、入力側に与
えられた8ビットのディジタル信号を電圧に変換し、ア
ナログ信号を出力するものである。D/A37の出力側
は、選択手段(例えば、セレクタ)38の第2の入力側
に接続されている。
The S / P 36 is a serial input / parallel output type 8-bit shift register which holds the signal on the input side and sequentially shifts one bit at a time when the control signal TCK applied to the clock terminal CK rises. Things. The 8-bit digital signal held in the S / P 36 is output in parallel. On the output side of the S / P 36, digital / analog conversion means (for example,
A digital / analog converter (hereinafter, referred to as “D / A”) 37 is connected. The D / A 37 converts an 8-bit digital signal supplied to the input side into a voltage and outputs an analog signal. An output side of the D / A 37 is connected to a second input side of the selection means (for example, a selector) 38.

【0032】セレクタ38は、第1及び第2の入力側に
与えられるアナログ信号を、モード信号MODに基づい
て切り替え、出力端子39に出力するもので、第1及び
第2の入力に対応する2つのアナログスイッチ(SW)
38a,38bで構成されている。アナログスイッチ3
8aの入力側は入力端子31に接続され、アナログスイ
ッチ38bの入力側がD/A37の出力側に接続されて
いる。アナログスイッチ38a,38bの出力側は、出
力端子39に共通接続されている。アナログスイッチ3
8a,38bは、モード信号MODが“L”の時、それ
ぞれオン、オフとなり、モード信号MODが“H”の時
に、それぞれオフ、オンとなるように設定されている。
The selector 38 switches an analog signal supplied to the first and second input sides based on the mode signal MOD and outputs the signal to an output terminal 39. The selector 38 corresponds to the first and second inputs. Analog switches (SW)
38a and 38b. Analog switch 3
The input side of 8a is connected to the input terminal 31, and the input side of the analog switch 38b is connected to the output side of the D / A 37. The output sides of the analog switches 38a and 38b are commonly connected to an output terminal 39. Analog switch 3
8a and 38b are set to be turned on and off, respectively, when the mode signal MOD is "L", and turned off and turned on, respectively, when the mode signal MOD is "H".

【0033】次に動作を説明する。通常モードの場合、
モード信号MODが“L”に設定され、セレクタ38は
第1の入力側、即ちアナログスイッチ38aがオンとな
る。これにより、入力端子31に入力されるアナログの
入力信号AIが、そのまま出力端子39から出力信号A
Oとして出力される。
Next, the operation will be described. In normal mode,
The mode signal MOD is set to “L”, and the first input side of the selector 38, that is, the analog switch 38a is turned on. As a result, the analog input signal AI input to the input terminal 31 is directly output from the output terminal 39 to the output signal A.
Output as O.

【0034】試験モードの場合、モード信号MODが
“H”に設定され、セレクタ38は第2の入力側、即ち
アナログスイッチ38bがオンとなる。これにより、D
/A37から出力されるアナログ信号が、出力端子39
から出力信号AOとして出力される。一方、入力端子3
1に入力されるアナログの入力信号AIは、A/D33
によって8ビットのディジタル信号に変換され、レジス
タ34の並列入力端子PIに与えられる。
In the test mode, the mode signal MOD is set to "H", and the second input of the selector 38, that is, the analog switch 38b is turned on. This gives D
/ A37 is output from an output terminal 39
Is output as an output signal AO. On the other hand, input terminal 3
The analog input signal AI inputted to the A / D 33
Is converted into an 8-bit digital signal, and supplied to the parallel input terminal PI of the register 34.

【0035】試験モードでは、入力端子31に接続され
る信号配線4のアナログ信号の状態を調べる入力試験
と、出力端子39に接続される信号配線4に試験用のア
ナログ信号を出力する出力試験が可能である。
In the test mode, an input test for checking the state of the analog signal on the signal wiring 4 connected to the input terminal 31 and an output test for outputting a test analog signal to the signal wiring 4 connected to the output terminal 39 are performed. It is possible.

【0036】入力試験の場合、まず、“H”のシフト信
号SFTが与えられると、A/D33から出力された8
ビットのディジタル信号が、レジスタ34に保持され
る。次に、シフト信号SFTが“H”から“L”に切り
替えられると、レジスタ34は、8ビットのディジタル
信号が初期値として保持され、直列に制御信号TDIが
入力される8ビットのシフトレジスタとなる。そして、
制御信号TCKの立ち上がりのタイミングに従って、制
御信号TDIが順次レジスタ34に保持されると共に、
このレジスタ34に保持されているディジタル信号が、
1ビットずつシフトされて順次出力端子35から制御信
号TDOとして出力される。従って、マクロセル30の
出力端子35から出力される制御信号TDOを、試験装
置1で解析することにより、入力端子31に接続される
信号配線4のアナログ信号の状態を試験することができ
る。
In the case of the input test, first, when the "H" shift signal SFT is supplied, the 8 output from the A / D 33 is output.
The bit digital signal is held in the register 34. Next, when the shift signal SFT is switched from “H” to “L”, the register 34 stores an 8-bit digital signal as an initial value, and an 8-bit shift register to which a control signal TDI is input in series. Become. And
According to the rising timing of the control signal TCK, the control signal TDI is sequentially held in the register 34,
The digital signal held in the register 34 is
The signals are shifted one bit at a time and are sequentially output from the output terminal 35 as the control signal TDO. Therefore, by analyzing the control signal TDO output from the output terminal 35 of the macro cell 30 with the test apparatus 1, the state of the analog signal on the signal wiring 4 connected to the input terminal 31 can be tested.

【0037】一方、出力試験の場合、シフト信号SFT
を“L”にした状態で、制御信号TCKに同期して、マ
クロセル30の入力端子32に制御信号TDIとして、
試験用のアナログ信号に対応する8ビットのディジタル
信号を入力する。ディジタル信号は、レジスタ34の中
を制御信号TCKに従って、順次1ビットずつシフトさ
れてS/P36に与えられ、このS/P36で8ビット
の並列のディジタル信号に変換される。S/P36から
並列に出力されるディジタル信号は、D/A37でアナ
ログ信号に変換され、セレクタ38を介して出力端子3
9からアナログの出力信号AOとして出力される。従っ
て、S/P36の出力信号が、制御信号TDIとして与
えられた8ビットのディジタル信号に一致したタイミン
グで、出力端子39から信号配線4に試験用のアナログ
信号が出力される。
On the other hand, in the case of the output test, the shift signal SFT
Is set to “L”, in synchronization with the control signal TCK, the control signal TDI is input to the input terminal 32 of the macro cell 30 as
An 8-bit digital signal corresponding to a test analog signal is input. The digital signal is sequentially shifted one bit at a time in accordance with the control signal TCK in the register 34 and applied to the S / P 36. The S / P 36 converts the digital signal into an 8-bit parallel digital signal. Digital signals output in parallel from the S / P 36 are converted to analog signals by the D / A 37, and output to the output terminal 3 via the selector 38.
9 is output as an analog output signal AO. Therefore, a test analog signal is output from the output terminal 39 to the signal wiring 4 at a timing when the output signal of the S / P 36 matches the 8-bit digital signal given as the control signal TDI.

【0038】以上のように、本実施形態のマクロセル3
0は、アナログ信号をディジタル信号に変換するA/D
33と、このディジタル信号を制御信号TDOとして直
列に順次転送するレジスタ34を有している。更に、制
御信号TDIとして直列に与えられるディジタル信号を
並列に変換するS/P36と、並列に変換されたディジ
タル信号をアナログ信号に変換するD/A37を有して
いる。これにより、信号配線4に試験用のアナログ信号
を出力すると共に、信号配線4上のアナログ信号の状態
を読み取ることができる。従って、アナログの信号配線
の試験が可能である。
As described above, the macro cell 3 of the present embodiment
0 is an A / D for converting an analog signal to a digital signal
33, and a register 34 for sequentially transferring the digital signal serially as a control signal TDO. Further, it has an S / P 36 for converting a digital signal provided in series as the control signal TDI into parallel, and a D / A 37 for converting the digital signal converted in parallel into an analog signal. Thus, the test analog signal can be output to the signal wiring 4 and the state of the analog signal on the signal wiring 4 can be read. Therefore, it is possible to test the analog signal wiring.

【0039】なお、本発明は、上記実施形態に限定され
ず、種々の変形が可能である。この変形例としては、例
えば、次のようなものがある。 (a) A/D33及びD/A37におけるディジタル
信号は、8ビットに限定されない。
Note that the present invention is not limited to the above embodiment, and various modifications are possible. For example, there are the following modifications. (A) The digital signal in the A / D 33 and the D / A 37 is not limited to 8 bits.

【0040】(b) セレクタ38は、アナログスイッ
チ38a,38bで構成しているが、モード信号MOD
で動作が制御される電圧増幅率1のバッファアンプ等を
用いても良い。
(B) The selector 38 is composed of analog switches 38a and 38b.
Alternatively, a buffer amplifier with a voltage amplification factor of 1 whose operation is controlled may be used.

【0041】[0041]

【発明の効果】以上詳細に説明したように、本発明によ
れば、内部回路または入出力端子のアナログ信号をディ
ジタル信号に変換するアナログ/ディジタル変換手段
と、このディジタル信号をクロック信号に従って順次シ
フトして出力するシフト手段を有している。更に、シフ
ト手段から出力されるディジタル信号をアナログ信号に
変換するディジタル/アナログ変換手段を有している。
これにより、アナログ用の入出力端子に接続される信号
配線の良否を試験することができる。
As described above in detail, according to the present invention, analog / digital conversion means for converting an analog signal of an internal circuit or an input / output terminal into a digital signal, and sequentially shifting the digital signal in accordance with a clock signal. And shifting means for outputting. Further, it has digital / analog conversion means for converting a digital signal output from the shift means into an analog signal.
This makes it possible to test the quality of the signal wiring connected to the analog input / output terminal.

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

【図1】本発明の実施形態を示すマクロセル30の構成
図である。
FIG. 1 is a configuration diagram of a macro cell 30 showing an embodiment of the present invention.

【図2】JTAG試験システムの概念を説明するための
構成図である。
FIG. 2 is a configuration diagram for explaining the concept of a JTAG test system.

【図3】図2中のIC10における従来のマクロセル2
0の構成図である。
FIG. 3 shows a conventional macro cell 2 in the IC 10 in FIG.
FIG.

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

1 試験装置 2 プリント基板 3 コネクタ 4 信号配線 10 IC 11 内部論理回路 12〜17 端子 18 TAPコントローラ 30 マクロセル 31,32 入力端子 33 A/D(アナログ/ディジタル変換器) 34 レジスタ 35,39 出力端子 36 S/P(直列/並列変換器) 37 D/A(ディジタル/アナログ変換器) 38 セレクタ DESCRIPTION OF SYMBOLS 1 Test apparatus 2 Printed circuit board 3 Connector 4 Signal wiring 10 IC 11 Internal logic circuit 12-17 Terminal 18 TAP controller 30 Macrocell 31, 32 Input terminal 33 A / D (analog / digital converter) 34 Register 35, 39 Output terminal 36 S / P (serial / parallel converter) 37 D / A (digital / analog converter) 38 selector

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G132 AA12 AB01 AC15 AK15 AK22 AK23 AL32 AL33 5B048 AA22 CC18 EE07 FF01  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G132 AA12 AB01 AC15 AK15 AK22 AK23 AL32 AL33 5B048 AA22 CC18 EE07 FF01

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プリント基板の信号配線を試験するため
に、該プリント基板に搭載されるデバイス中の内部回路
と入出力端子との間に設けられ、通常モード時には該内
部回路と該入出力端子とを接続し、試験モード時には該
内部回路または該入出力端子の信号を順次シフトして転
送するように接続されるバウンダリ・スキャン・レジス
タにおいて、 前記内部回路または前記入出力端子のアナログ信号をデ
ィジタル信号に変換するアナログ/ディジタル変換手段
と、 前段のバウンダリ・スキャン・レジスタからの信号と前
記アナログ/ディジタル変換手段で変換されたディジタ
ル信号とが与えられ、制御信号によって保持モードが指
定されたときに該ディジタル信号を保持し、該制御信号
によって転送モードが指定されたときには該保持したデ
ィジタル信号と該前段のバウンダリ・スキャン・レジス
タからの信号をクロック信号に従って順次シフトして出
力するシフト手段と、 前記シフト手段から順次出力される信号を並列データに
変換する直列/並列変換手段と、 前記直列/並列変換手段で変換された並列データをアナ
ログ信号に変換するディジタル/アナログ変換手段と、 前記通常モード時には前記内部回路または入出力端子の
アナログ信号を選択し、前記試験モード時には前記ディ
ジタル/アナログ変換手段で変換されたアナログ信号を
選択して前記入出力端子または内部回路に出力する選択
手段とを、 備えたことを特徴とするバウンダリ・スキャン・レジス
タ。
1. A test circuit for testing a signal wiring of a printed circuit board, which is provided between an internal circuit in a device mounted on the printed circuit board and an input / output terminal. In a normal mode, the internal circuit and the input / output terminal are provided. And a boundary scan register connected to sequentially shift and transfer the signal of the internal circuit or the input / output terminal in the test mode, wherein the analog signal of the internal circuit or the input / output terminal is digitally input. Analog / digital conversion means for converting the signal into a signal, a signal from a boundary scan register in the preceding stage and a digital signal converted by the analog / digital conversion means are provided, and when a holding mode is designated by a control signal, The digital signal is held, and when the transfer mode is designated by the control signal, the held data is held. Shift means for sequentially shifting and outputting the digital signal and the signal from the preceding boundary scan register according to a clock signal; serial / parallel conversion means for converting a signal sequentially output from the shift means into parallel data; Digital / analog conversion means for converting the parallel data converted by the serial / parallel conversion means into an analog signal; selecting the analog signal of the internal circuit or the input / output terminal in the normal mode; Selecting means for selecting an analog signal converted by the analog converting means and outputting the selected signal to the input / output terminal or an internal circuit.
JP2001130045A 2001-04-26 2001-04-26 Boundary scan register Abandoned JP2002323541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001130045A JP2002323541A (en) 2001-04-26 2001-04-26 Boundary scan register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001130045A JP2002323541A (en) 2001-04-26 2001-04-26 Boundary scan register

Publications (1)

Publication Number Publication Date
JP2002323541A true JP2002323541A (en) 2002-11-08

Family

ID=18978485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001130045A Abandoned JP2002323541A (en) 2001-04-26 2001-04-26 Boundary scan register

Country Status (1)

Country Link
JP (1) JP2002323541A (en)

Similar Documents

Publication Publication Date Title
US11448697B2 (en) Apparatus for device access port selection
CA2249088C (en) Method and apparatus for high-speed interconnect testing
US5872793A (en) Fast bist architecture with flexible standard interface
US6560739B1 (en) Mechanism for enabling compliance with the IEEE standard 1149.1 for boundary-scan designs and tests
US8516319B2 (en) TAPS and hierarchical TLM with shift register and state machines
KR100265138B1 (en) I/o toggle test method using jtag
US5781560A (en) System testing device and method using JTAG circuit for testing high-package density printed circuit boards
EP1595156B1 (en) Testing of integrated circuits
JP3610095B2 (en) Streamlined simultaneous test method and apparatus for electric circuit
GB2391358A (en) Method of testing and/or debugging a system on chip (SOC)
JPH06213964A (en) Expansion device of digital tester of automatic testing device
US20030126533A1 (en) Testing of circuit modules embedded in an integrated circuit
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
US5673274A (en) Test method for semiconductor device
JP2644378B2 (en) Diagnostic circuit
US5894548A (en) Semiconductor device having test circuit
US20050166109A1 (en) Enhanced JTAG interface
EP1817596A1 (en) Integrated circuit and a method for testing a multi-tap integrated circuit
US20020194563A1 (en) Accelerating scan test by re-using response data as stimulus data
JP3257425B2 (en) Test circuit and test method
JPH0763821A (en) Test circuit
CN114781304A (en) Method and system for controlling pin state of chip, chip and upper computer
JP3094983B2 (en) System logic test circuit and test method
JP2002323541A (en) Boundary scan register
JP2002323542A (en) Boundary scan register

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060825

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20070702