JP2001013214A - Circuit and device for observing internal signal - Google Patents

Circuit and device for observing internal signal

Info

Publication number
JP2001013214A
JP2001013214A JP11180977A JP18097799A JP2001013214A JP 2001013214 A JP2001013214 A JP 2001013214A JP 11180977 A JP11180977 A JP 11180977A JP 18097799 A JP18097799 A JP 18097799A JP 2001013214 A JP2001013214 A JP 2001013214A
Authority
JP
Japan
Prior art keywords
signal
output
observation
shift register
circuit
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
JP11180977A
Other languages
Japanese (ja)
Other versions
JP4489870B2 (en
Inventor
Tatsuya Kimijima
達也 君島
Yoshinori Nabeta
芳則 鍋田
Mitsuhiro Kitsuta
光弘 橘田
Kazuo Chiba
一雄 千葉
Hiroyuki Yamamoto
浩幸 山元
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18097799A priority Critical patent/JP4489870B2/en
Publication of JP2001013214A publication Critical patent/JP2001013214A/en
Application granted granted Critical
Publication of JP4489870B2 publication Critical patent/JP4489870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a circuit to reduce the number of input terminals for specifying internal signal observation points and to select observation output. SOLUTION: This circuit is provided with both a shift register 2 to be mounted in a semiconductor, which is an object of signal observation, and to store aerial input from the outside to specify a selected location of the object of observation and a selector 4 to selectively output a group of signals of the object of observation by decoding if necessary on the basis of a plurality of signals from the shift register 2. In addition, a TAP controller to be mounted in the semiconductor is used as the shift register.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、LSI等の複数
要素搭載回路のテスト、検証、デバックに関するもので
ある。
[0001] 1. Field of the Invention [0002] The present invention relates to testing, verification, and debugging of a multi-element mounted circuit such as an LSI.

【0002】[0002]

【従来の技術】図11は、第1の従来例として、特開昭
64−41257号公報に開示されている内部回路観測
部の構成を示す図である。これは入力端子15と出力端
子16を持つ論理回路の内部信号19を、選択回路20
を使って選択し、選択信号18で指定した信号を選択回
路の出力17から取り出して観測するものである。
2. Description of the Related Art FIG. 11 is a diagram showing a configuration of an internal circuit observation unit disclosed in Japanese Patent Application Laid-Open No. Sho 64-41257 as a first conventional example. This means that the internal signal 19 of the logic circuit having the input terminal 15 and the output terminal 16 is
, And the signal designated by the selection signal 18 is taken out from the output 17 of the selection circuit and observed.

【0003】同様に図12は、第2の従来例として、特
開平2−310482号公報に開示されている内部回路
観測部の構成を示す図である。これは観測したいLIS
等の内部の信号をセレクタ回路21経由でセレクタ回路
24へ入力し、これらの信号のうち観測したい信号を、
デコード回路25へ入力されている選択信号23によっ
て切替えセレクタ回路24から出力されるセレクタ回路
出力22から取り出して観測するものである。
[0003] Similarly, FIG. 12 is a diagram showing a configuration of an internal circuit observation unit disclosed in Japanese Patent Application Laid-Open No. 2-310482 as a second conventional example. This is the LIS we want to observe
And the like are input to the selector circuit 24 via the selector circuit 21, and the signals to be observed among these signals are
This is extracted from the selector circuit output 22 output from the switching selector circuit 24 by the selection signal 23 input to the decoding circuit 25 and observed.

【0004】従来の内部信号の観測方法は上記のように
構成されているので、観測対象を切替えるために切替え
信号を入力する必要があり、この切替え信号に対しても
LSIの端子を使ってしまい、限られた端子数内で任意
の要素部分を観測するには制限があるという課題があっ
た。
Since the conventional method of observing an internal signal is configured as described above, it is necessary to input a switching signal to switch the observation target, and the LSI terminal is also used for this switching signal. However, there is a problem that there is a limitation in observing an arbitrary element portion within a limited number of terminals.

【0005】この発明は、かかる課題を解決するために
なされたもので、内部信号の観測のために必要とする信
号の端子を減らして、かつ任意の要素部分を観測する方
法を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and has as its object to obtain a method of reducing the number of signal terminals required for observing an internal signal and observing an arbitrary element portion. And

【0006】[0006]

【課題を解決するための手段】この発明に係る内部信号
観測回路は、信号観測対象の半導体内に搭載されて、観
測対象の選択箇所を指定する外部からのシリアル入力を
記憶するシフトレジスタと、このシフトレジスタからの
複数信号に基づき、必要によりデコードして観測対象の
信号群から選択出力するセレクタとを備えた。
An internal signal observing circuit according to the present invention is mounted in a semiconductor for observing a signal and stores a serial input from the outside for designating a selected portion of the observing object. A selector that decodes, if necessary, based on the plurality of signals from the shift register, and selectively outputs the signals from a group of signals to be observed.

【0007】また更に、シフトレジスタとして、半導体
内に搭載されるTAPコントローラを使用するようにし
た。
Further, a TAP controller mounted in a semiconductor is used as the shift register.

【0008】この発明に係る内部信号観測方法は、観測
対象を指定する外部からのシリアル入力を記憶するシフ
トレジスタと、このシフトレジスタからの複数信号に基
づき上記観測対象の信号群から選択出力するセレクタと
を備えて、セレクタにより選択された観測対象に対し
て、選択された期間に、同一の時系列変化信号パターン
を所定回繰り返すようにした。
According to the internal signal observing method of the present invention, a shift register for storing an external serial input for designating an observation object and a selector for selectively outputting the signal group of the observation object based on a plurality of signals from the shift register. With respect to the observation target selected by the selector, the same time-series change signal pattern is repeated a predetermined number of times during the selected period.

【0009】[0009]

【発明の実施の形態】実施の形態1.図1はこの発明の
実施の形態1における内部信号観測装置の構成図であ
る。図において、1はこの発明で内部信号を観測しよう
とする対象のLSIである。2は新規な要素である選択
信号をシリアルに入力するためのシフトレジスタであ
る。3はパラレルに再現された観測信号選択コードを、
実際の内部信号の1ビットづつに対応した選択信号に変
換するためのデコード回路である。シフトレジスタ2か
ら出力される信号が、すでに内部信号の1ビットごとに
対応した選択信号になっている場合は、特にこの回路を
必要としない。4は選択信号に対応して実際の内部信号
を切替えるセレクタ回路であり、5は対象となるLSI
本来の論理回路である。セレクタ回路4の入力は予め決
めておいたこの論理回路5内部の配線に接続されてい
る。26はセレクタ回路の出力で選択された観測信号を
出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a configuration diagram of an internal signal observation device according to Embodiment 1 of the present invention. In the figure, reference numeral 1 denotes an LSI whose internal signal is to be observed in the present invention. Reference numeral 2 denotes a shift register for serially inputting a selection signal as a new element. 3 is an observation signal selection code reproduced in parallel,
This is a decoding circuit for converting an actual internal signal into a selection signal corresponding to each bit. When the signal output from the shift register 2 is already a selection signal corresponding to each bit of the internal signal, this circuit is not particularly necessary. Reference numeral 4 denotes a selector circuit for switching an actual internal signal in response to a selection signal. Reference numeral 5 denotes a target LSI.
This is the original logic circuit. The input of the selector circuit 4 is connected to a predetermined wiring inside the logic circuit 5. 26 outputs the observation signal selected by the output of the selector circuit.

【0010】次に、この装置の動作を説明する。外部か
らのシリアル入力端子7から、シフトレジスタ2のクロ
ック6に同期して内部信号選択コードを1ビットづつ入
力する。1ビットづつ入力された内部信号選択コード
は、デコード回路3において、対象となるLSIに設定
した内部信号1つ1つに対応した内部信号の選択信号に
デコードされる。逆にいえば、所望の選択信号に順にな
るようにシリアル信号列を設定して入力していく。この
信号はセレクタ回路4に入力され、この信号に従って、
予めセレクタ回路に入力されている対象論理回路5の内
部信号を選択して、選択された信号が観測信号出力26
から出力される。
Next, the operation of this device will be described. An internal signal selection code is input bit by bit from an external serial input terminal 7 in synchronization with the clock 6 of the shift register 2. The internal signal selection code input bit by bit is decoded by the decoding circuit 3 into a selection signal of an internal signal corresponding to each of the internal signals set in the target LSI. Conversely, a serial signal sequence is set and input in order of a desired selection signal. This signal is input to the selector circuit 4, and according to this signal,
An internal signal of the target logic circuit 5 previously input to the selector circuit is selected, and the selected signal is output to the observation signal output 26.
Output from

【0011】このように、図1に示す内部信号の選択信
号をシリアル入力し、シフトレジスタでデコードするよ
うにしたので、選択信号のための信号線を、シフトクロ
ックと選択信号のシリアル入力の2つに減らすことがで
きる。しかし、ここでいうクロック6は、LSI論理回
路5の動作を進めるクロックとは異なり、セレクタ回路
4の選択で切換が必要なときのみ入力をするものであ
る。この切換クロック6の入力は、以降の実施の形態に
おいても同様である。
As described above, since the selection signal of the internal signal shown in FIG. 1 is serially input and decoded by the shift register, the signal line for the selection signal is connected to two lines of the shift clock and the serial input of the selection signal. Can be reduced to one. However, unlike the clock that advances the operation of the LSI logic circuit 5, the clock 6 is input only when switching by the selection of the selector circuit 4 is necessary. The input of the switching clock 6 is the same in the following embodiments.

【0012】実施の形態2.シフトレジスタとして特別
の要素を用いて、選択信号として別のものを用意しない
ですむようにした場合を説明する。図2は、実施の形態
1のシフトレジスタ2を、IEEE 1194.1 J
TAG準処のTAPコントローラ11とセル10(レジ
スタ群)に置換えたものである。シフトレジスタ2にク
ロックに同期して1ビットづつ切替え信号を入力する代
りに、JTAGの仕様にしたがってTAPコントローラ
11を制御してセル10に選択信号をセットする。
Embodiment 2 FIG. A case will be described in which a special element is used as a shift register and another signal need not be prepared as a selection signal. FIG. 2 shows a shift register 2 according to the first embodiment, which is based on IEEE 1194.1 J.
The TAG controller is replaced with a TAP controller 11 and a cell 10 (register group). Instead of inputting the switching signal one bit at a time to the shift register 2 in synchronization with the clock, the TAP controller 11 is controlled according to the JTAG specification to set the selection signal in the cell 10.

【0013】まず、JTAGそのものの構成と動作につ
いて説明する。図3は、図2のTAPコントローラの動
作を説明するための詳細構成図である。また図4は図3
のTAPコントローラの状態遷移図である。図3におい
て、TAPコントローラへの入出力の5信号は以下の通
りである。 TCLK…クロック(ステートマシンの動作クロック、
データのシフトクロックとなる) TMS…ステートマシンのコントロール TDI…データの入力(シリアル) TDO…データの出力(シリアル) nTRST…リセット(オプション) TAPコントローラ11とセル10は、詳細にはTAP
コントローラ・コア111と、インストラクションレジ
スタ112と、各種のデータレジスタ113などで構成
されており、TAPコントローラ・コア111のステー
トマシンを使い、インストラクションレジスタ112、
各種データレジスタ113にデータをセットしたり読み
出したりする。インストラクションレジスタ112はセ
ットされる命令に従って、データレジスタ113の選
択、および、動作をコントロールする。また、入力デー
タを次に伝えるために、バイパスレジスタがある。
First, the configuration and operation of JTAG itself will be described. FIG. 3 is a detailed configuration diagram for explaining the operation of the TAP controller of FIG. FIG. 4 is FIG.
3 is a state transition diagram of the TAP controller of FIG. In FIG. 3, the five signals input / output to / from the TAP controller are as follows. TCLK clock (operation clock of the state machine,
TMS: Control of state machine TDI: Data input (serial) TDO: Data output (serial) nTRST: Reset (optional) The TAP controller 11 and cell 10 are TAP in detail.
The TAP controller 111 includes a controller core 111, an instruction register 112, various data registers 113, and the like.
Data is set in or read from various data registers 113. The instruction register 112 controls selection and operation of the data register 113 in accordance with the set instruction. In addition, there is a bypass register for transmitting the input data next.

【0014】次に上述構成のTAPコントローラ11自
体の動作を説明する。まず、リセットであるが、リセッ
トはnTRST端子をLowにすることによってもでき
るが、nTRST端子はオプションのため、TMS=1
でTCLKに5クロック以上のクロックを加える。そう
すると、TEST_LOGIC_RESETの状態に移
行する。即ち、図4の状態遷移図において、任意の状態
からTMS=1の矢印をたどって5コマ移動すると、こ
のTEST_LOGIC_RESET 131になる。
TEST_LOGIC_RESET 131の状態にな
ったら、実際にTMSをクロックごとにコントロールし
て任意の状態に移ることができる。状態遷移の経路とし
ては大きく2つあり、図4のSELECT_DR_SC
AN 132と、SELECT_IR_SCAN 13
3の左右の列である。右側がインストラクションレジス
タへ命令をセットする動作で、左側がインストラクショ
ンレジスタの命令に従って、各データレジスタへデータ
をセットする動作である。ここではセットとしたが、レ
ジスタに保持されているデータのセットと同時に実はシ
フト動作により出力される。
Next, the operation of the TAP controller 11 having the above configuration will be described. First, a reset can be performed by setting the nTRST terminal to Low. However, since the nTRST terminal is optional, TMS = 1
To add 5 or more clocks to TCLK. Then, the state shifts to the TEST_LOGIC_RESET state. That is, in the state transition diagram of FIG. 4, if the user moves five frames from an arbitrary state by following the arrow of TMS = 1, the TEST_LOGIC_RESET 131 is obtained.
When the state of TEST_LOGIC_RESET 131 is reached, the TMS can be actually controlled for each clock and the state can be shifted to an arbitrary state. There are mainly two state transition paths, and SELECT_DR_SC in FIG.
AN 132 and SELECT_IR_SCAN 13
3 are left and right columns. The right side is an operation of setting an instruction in the instruction register, and the left side is an operation of setting data in each data register in accordance with the instruction of the instruction register. Here, the data is set, but the data is actually output by a shift operation at the same time as the data held in the register.

【0015】このデータの出し入れをする状態がそれぞ
れ図4のSHIFT_IRとSHIFT_DRで、それ
ぞれインストラクションレジスタ、データレジスタのデ
ータを1クロックごとにシフトする。シフトするデータ
はTDIから入力し、TDOから出力される。また、上
記の各レジスタと接続される信号によるデータのやり取
りは、CAPTURE_IR/DRフェーズ、UPDA
TE_IR/DRフェーズで行われ、その動作は図5の
SAMPLE/PRELOADモード、または図6のE
XTESTモードのキャプチャ・フェーズ(A)、シフ
ト及びアップデータ・フェーズ(B)で示される。この
ように、インストラクションレジスタにセットされた命
令、SAMPLE/PRELOAD、または、EXTE
STの違いによって異なる。本実施の形態においてはJ
TAGで標準とされている目的のための実行を行うデー
タレジスタに対して、標準の目的以外の定義をする。従
がって、このための命令も独自に定義する。図2のセル
10は、このようにデータ・レジスタ113で詳細が示
される。
SHIFT_IR and SHIFT_DR shown in FIG. 4 shift the data in the instruction register and the data register, respectively, every clock. The data to be shifted is input from TDI and output from TDO. Data exchange by signals connected to the above registers is performed in the CAPTURE_IR / DR phase, UPDA
The operation is performed in the TE_IR / DR phase, and the operation is performed in the SAMPLE / PRELOAD mode in FIG.
This is shown in the XTEST mode capture phase (A), shift and update phase (B). Thus, the instruction set in the instruction register, SAMPLE / PRELOAD, or EXTE
It depends on the ST. In the present embodiment, J
A definition other than the standard purpose is defined for the data register performing the purpose defined by the TAG. Therefore, the command for this is also defined uniquely. The cell 10 of FIG. 2 is thus shown in detail in the data register 113.

【0016】本実施の形態に対する適用は即ち以下の通
りとなる。インストラクション・レジスタ112に、追
加したセル10としてのデータ・レジスタの1つを指定
するインストラクションを書き込み、このデータ・レジ
スタ(セル10)に選択信号を書き込む。すると、この
セル10からの並列出力がデコード回路3に伝えられ
て、以後は実施の形態1と同様に動作する。なお、TD
Iから入力された選択信号は、SHIFT_DR動作に
おいて、TAPのJTAG 5信号の1つであるTCL
Kに同期して1ビットづつデータレジスタ(セル10)
にセットされる。セットができたらUPDATE_DR
動作において、セットされた信号がデータレジスタ(セ
ル10)からデコード回路3へ与えられる。
The application to this embodiment is as follows. An instruction for designating one of the data registers as the added cell 10 is written in the instruction register 112, and a selection signal is written in the data register (cell 10). Then, the parallel output from the cell 10 is transmitted to the decode circuit 3, and thereafter, the same operation as in the first embodiment is performed. Note that TD
In the SHIFT_DR operation, the selection signal input from I is one of the TAP JTAG 5 signals TCL
Data register (cell 10) bit by bit in synchronization with K
Is set to UPDATE_DR when set
In operation, a set signal is applied from the data register (cell 10) to the decode circuit 3.

【0017】TAPコントローラは、状態遷移をたどっ
て移動するステートマシンになっているので、この状態
をIEEE 1194.1 JATGの制御方法にした
がって制御することにより、セル10(データ・レジス
タ113)に値を設定して、その値でコード回路3に内
部信号選択コードを送ることができる。TAPコントロ
ーラを内部に埋め込むことでシリアル入力を別に準備す
る必要がなくなる。その他の部分は実施の形態1と同様
にして、セレクタ回路4の出力26から内部信号を取出
すことができる。この構成は実施の形態1の構成と比較
して、選択信号を入力するための信号線が多く、また、
設定手順も複雑であるが、対象となるLSIがバウンダ
リスキャンテストなどをサポートするために、もともと
JTAG信号12を持っている場合には、TAPコント
ローラに選択信号を入力するための機能を付加するだけ
で、JTAG信号線12自体は共用して、実質的に選択
信号入力のために新たなシリアル入力端子7を設ける必
要がない。
Since the TAP controller is a state machine that moves following a state transition, by controlling this state in accordance with the control method of IEEE 1194.1 JATG, the value is stored in the cell 10 (data register 113). Is set, and the internal signal selection code can be sent to the code circuit 3 with that value. By embedding a TAP controller inside, there is no need to separately prepare a serial input. Other parts can extract internal signals from the output 26 of the selector circuit 4 in the same manner as in the first embodiment. This configuration has more signal lines for inputting a selection signal than the configuration of the first embodiment.
Although the setting procedure is complicated, if the target LSI originally has the JTAG signal 12 in order to support a boundary scan test or the like, only a function for inputting a selection signal to the TAP controller is added. Thus, the JTAG signal line 12 itself is shared, and it is not necessary to substantially provide a new serial input terminal 7 for inputting a selection signal.

【0018】上記の構成は、入力信号端子数を少なくす
るものである。一方、図1、図2のいずれの構成におい
ても、出力端子はセレクタ回路4で選択された出力端子
26の1本のみである。通常は、試験項目毎に内部の対
象部分が異なり、対応して試験の時系列パターンが異な
る。しかし、発想を変えて、内部対象部分のみを切換え
て、時系列試験パターンを同一とし、かつ外部の観測装
置で切換えた内部対象を縦軸に表示し、横軸に時系列パ
ターンを表示すれば、同一時系列試験パターンに対する
内部の内部対象部分の並列表示が出来ることになる。具
体的には、図1または図2の構成で、時系列試験パター
ンを1回終える毎に、セレクタ回路4の選択する内部対
象を順切り替え、同じ入力の時系列試験パターンを何度
も実行する。当然セレクタ回路の選択毎にリセットを与
え、内部状態をクリアする。
The above configuration reduces the number of input signal terminals. On the other hand, in each of the configurations of FIGS. 1 and 2, there is only one output terminal 26 selected by the selector circuit 4. Usually, the internal target portion differs for each test item, and the time series pattern of the test differs correspondingly. However, if the idea is changed, only the internal object part is switched, the time series test pattern is made the same, and the internal object switched by the external observation device is displayed on the vertical axis, and the time series pattern is displayed on the horizontal axis. Thus, the parallel display of the internal target portion for the same time series test pattern can be performed. Specifically, in the configuration of FIG. 1 or FIG. 2, every time the time series test pattern is completed once, the internal target selected by the selector circuit 4 is sequentially switched, and the time series test pattern of the same input is executed many times. . As a matter of course, a reset is applied every time the selector circuit is selected, and the internal state is cleared.

【0019】外部では、この出力結果を記憶しておい
て、たとえば縦軸にそれぞれの出力を入力パターンが重
なり合うように合成すれば、あたかも同時に内部信号を
取出して観測したかのように表示できる。内部状態を記
憶するフリップフロップの状態を一定の値に初期化でき
れば、論理回路の動作には再現性があるので、この同一
時系列試験パターンの繰返し印加は有効である。一般的
に、リセットにより内部状態を一定の値に初期化できる
ように設計されているのが普通だが、初期化の必要がな
く初期化されない部分が有ったとしても、その部分の期
待は特定する必要がないので、依然としてこの方法は有
効である。
On the outside, this output result is stored and, for example, if the outputs are combined so that the input patterns overlap on the vertical axis, it is possible to display as if the internal signal was taken out and observed at the same time. If the state of the flip-flop that stores the internal state can be initialized to a constant value, the operation of the logic circuit has reproducibility, so that repeated application of the same time series test pattern is effective. In general, it is usually designed so that the internal state can be initialized to a certain value by reset, but even if there is a part that does not need to be initialized and is not initialized, the expectation of that part is specified This method is still effective because there is no need to do this.

【0020】図7は、観測信号の出力端子の数よりも多
くの内部信号を、あたかも同時に出力したかのように波
形を、外部の記憶機能を持つ表示装置で表示した例を示
す図である。これはリセット信号と、それに続く対象L
SI 1への時系列変化信号パターンを同じにして、内
部信号の選択を切換えながらその観測信号を記録し、さ
らに入力信号に対応づけて並列に並べて表示したもので
ある。図7において、(A)の入力A、入力B(B)の
出力A、出力Bは、一般的なLSIの動作入力信号であ
る図1等における対象LSIの入出力信号9の例を示し
ている。一方、図7(C)は観測対象となるLSIの論
理回路5からセレクタ回路4に出力される信号であり、
かつ図7の例ではセレクタ回路の出力26に得られる、
リセットに同期して切り換えられる論理回路5の選択後
の出力である。図7(C)では、リセットに同期して1
回目と2回目の出力26を示している。従って本実施の
形態では、リセットを同期信号として同一入力パターン
を与えて外部観測を行えば、図7(C)の内部観測波形
が得られて、論理回路5の内部における動作関係を知る
ことができる。
FIG. 7 is a diagram showing an example in which waveforms are displayed on a display device having an external storage function, as if more internal signals than the number of observation signal output terminals were output simultaneously. . This is the reset signal followed by the target L
With the same time-series change signal pattern for SI1, the observation signal is recorded while switching the selection of the internal signal, and further displayed in parallel in association with the input signal. In FIG. 7, an input A of FIG. 7A, an output A of the input B (B), and an output B of the input B are examples of input / output signals 9 of the target LSI in FIG. I have. On the other hand, FIG. 7C shows a signal output from the logic circuit 5 of the LSI to be observed to the selector circuit 4,
And in the example of FIG. 7, it is obtained at the output 26 of the selector circuit.
This is the selected output of the logic circuit 5 that is switched in synchronization with the reset. In FIG. 7C, 1 is synchronized with the reset.
The second and second outputs 26 are shown. Therefore, in the present embodiment, if the same input pattern is given using reset as a synchronization signal and external observation is performed, an internal observation waveform shown in FIG. 7C is obtained, and the operation relationship inside the logic circuit 5 can be known. it can.

【0021】図8は、セレクタ回路4で選択した内部信
号の出力をシフトレジスタ28で受け、このレジスタに
一旦記憶した後、シフトクロックに同期して1ビットづ
つ出力するようにしたものである。出力する信号が複数
ある場合にはシステムクロックを出力ビット数倍したシ
フトクロックを入力する。
FIG. 8 shows a configuration in which the output of the internal signal selected by the selector circuit 4 is received by a shift register 28, stored once in this register, and then output one bit at a time in synchronization with a shift clock. When there are a plurality of signals to be output, a shift clock obtained by multiplying the system clock by the number of output bits is input.

【0022】図の構成は、複数のセレクタ回路4の出力
を出力用のシフトレジスタ28に一旦記憶し、さらに、
シフトクロック端子13から入力されるシフトクロック
に同期して1ビットづつ取出して、観測信号出力のため
の信号線を少なくするようにしたものである。この場
合、システムクロックごとにすべてのセレクタ回路4の
出力信号を観測するためにはシステムクロックよりも出
力ビット数倍以上高いクロックを出力用シフトレジスタ
28のシフトクロックとして与えなくてはならない。分
周期14はこの作用を行うもので、シフトクロックをビ
ット数以上で分周したクロックをシステムクロックとし
て対象となる論理回路に加えれば出力用シフトレジスタ
28のシフトクロックのための信号線とシステムクロッ
クの信号線を共有できるので、信号線の数を減らすこと
ができる。
In the configuration shown in the figure, outputs of a plurality of selector circuits 4 are temporarily stored in an output shift register 28, and
The bit is taken out one bit at a time in synchronization with the shift clock input from the shift clock terminal 13 to reduce the number of signal lines for outputting the observation signal. In this case, in order to observe the output signals of all the selector circuits 4 for each system clock, a clock higher than the system clock by several times the number of output bits must be given as the shift clock of the output shift register 28. The dividing cycle 14 performs this function. If a clock obtained by dividing the shift clock by more than the number of bits is added to the target logic circuit as a system clock, a signal line for the shift clock of the output shift register 28 and the system clock , The number of signal lines can be reduced.

【0023】実施の形態3.実施の形態2で、さらに出
力側のデータ制御も行わせる場合を説明する。図9
(A)は、図8のシフトレジスタ28の代りに、IEE
E 1194.1JTAG準拠のTAPコントローラ1
1によって制御されるセル14を設けた構成である。こ
の場合は、観測する内部信号の選択出力が一旦セル14
に記憶され、TAPコントローラを制御してJTAGの
出力端子TDOから外部へ出力される。このように、観
測信号出力用の端子の代りにJTAG信号の出力TDO
を使うことができるので、さらに内部信号観測のために
使用する端子の数を減らすことができる。この場合、や
はりTAPコントローラに出力用のセル14を制御する
ための機能を追加する必要がある。
Embodiment 3 FIG. In the second embodiment, a case where data control on the output side is further performed will be described. FIG.
8A shows an example in which the shift register 28 shown in FIG.
E 1194.1 JTAG compliant TAP controller 1
This is a configuration in which a cell 14 controlled by the control unit 1 is provided. In this case, the selection output of the internal signal to be observed is temporarily
And outputs the data from the output terminal TDO of the JTAG to the outside by controlling the TAP controller. Thus, the output TDO of the JTAG signal is used instead of the terminal for outputting the observation signal.
Can be used, so that the number of terminals used for internal signal observation can be further reduced. In this case, it is necessary to add a function for controlling the output cell 14 to the TAP controller.

【0024】図9(B)はTAPコントローラの動作を
説明するタイミングチャートである。なお、セル14
は、図3で詳細構成を示したTAPコントローラ11の
データ・レジスタ113の一部として設定したセル10
の代わりに、または同様に追加したデータ・レジスタで
ある。図9(a)は、被測定対象である論理回路5のシ
ステムクロックを表し、このシステムクロックの変化に
同期して、論理回路5の内部信号は図9(b)または
(c)に示されるように変化する。これらの信号はシス
テムクロックが変化するまでの間に図3に示されるTA
Pコントローラ11を制御して、セル14にキャプチャ
ーする。即ちセル10へセットするのと逆の動作をす
る。また、これらTAPコントローラ11の制御は、既
に述べたようにJTAGのTAP信号12を使って内部
のステートマシンを動作させることによって行う。こう
すれば、観測出力をJTAG信号を制御することでJT
AG信号端子から出力することができるので、特別に内
部信号の観測出力のための端子を新たに設ける必要がな
い。
FIG. 9B is a timing chart for explaining the operation of the TAP controller. The cell 14
Is a cell 10 set as a part of the data register 113 of the TAP controller 11 whose detailed configuration is shown in FIG.
, Or similarly added data registers. FIG. 9A shows the system clock of the logic circuit 5 to be measured, and the internal signal of the logic circuit 5 is shown in FIG. 9B or 9C in synchronization with the change of the system clock. To change. These signals are applied to the TA shown in FIG. 3 until the system clock changes.
The P controller 11 is controlled to capture in the cell 14. That is, the operation opposite to the operation of setting the cell 10 is performed. The control of the TAP controller 11 is performed by operating the internal state machine using the TAP signal 12 of JTAG as described above. In this way, the observation output is controlled by the JTAG signal,
Since the signal can be output from the AG signal terminal, there is no need to newly provide a terminal for observing and outputting the internal signal.

【0025】同じく図10は、JTAGのクロック信号
TCKをシステムクロックと同期させた場合の構成図で
ある。図は、セレクタ回路4の観測出力が1ビットの場
合を示している。複数のビットがある場合にはシステム
クロックはJTAGのクロックをビット数倍以上に分周
する。図10における観測信号出力用のセルは、特別な
セルで、Shift/DRと同時に、観測信号入力をキ
ャプチャーする。
FIG. 10 is a block diagram showing the case where the JTAG clock signal TCK is synchronized with the system clock. The figure shows a case where the observation output of the selector circuit 4 is 1 bit. When there are a plurality of bits, the system clock divides the frequency of the JTAG clock by a bit number or more. The observation signal output cell in FIG. 10 is a special cell that captures the observation signal input simultaneously with Shift / DR.

【0026】図の構成は、さらにIEEE 1194.
1 JTAGのクロックTCLKとシステムクロックを
同期させて、早いクロックで動作させているときでもJ
TAGの信号を使って内部信号を出力できるようにした
ものである。一般にLSIを構成する素子の最高のクロ
ック動作周波数は共通である。従がって、このクロック
で内部信号を観測するためにTAPコントローラ11を
動作させると、内部対象部分の動作用に多くのクロック
を使ってしまい、結果として論理回路の最高クロック周
波数は、JTAGを使って内部信号を1回取出すのに必
要なクロック数分の1になってしまう。この実施の形態
では、このような不具合を解決するために、JTAGの
使用を一部拡張して、Shift/DRを実行すると同
時にデータをキャプチャーする特別なセルを使う。こう
すれば、TAPコントローラ11のステートマシンをS
hift/DRのフェーズに保つことができ、あたかも
図8で示した単純なシフトレジスタの状態となり、JT
AGのクロック信号TCKに一つのクロックを加える毎
に一つの観測出力信号を出力できる。こうして、観測信
号出力をキャプチャーさせることにより、JTAGの操
作に起因するシステムクロック周波数の低下を低減する
ことができる。
The configuration shown in the figure further includes IEEE 1194.
1 Synchronize the JTAG clock TCLK with the system clock so that J
An internal signal can be output using a TAG signal. In general, the highest clock operating frequency of the elements constituting the LSI is common. Therefore, when the TAP controller 11 is operated to observe the internal signal with this clock, many clocks are used for the operation of the internal target portion, and as a result, the maximum clock frequency of the logic circuit becomes JTAG. The number of clocks required to take out the internal signal once is reduced to one-fourth. In this embodiment, in order to solve such a problem, the use of JTAG is partially extended to use a special cell that simultaneously executes Shift / DR and captures data. In this case, the state machine of the TAP controller 11 is set to S
high / DR phase, as if the state of the simple shift register shown in FIG.
Each time one clock is added to the AG clock signal TCK, one observation output signal can be output. In this way, by capturing the observation signal output, it is possible to reduce a decrease in the system clock frequency due to the operation of the JTAG.

【0027】[0027]

【発明の効果】以上のように本発明は、内部にシフトレ
ジスタ相当とセレクタとを備えたので端子数を少なくし
て多くの内部動作を観察できる効果がある。
As described above, according to the present invention, since a shift register and a selector are provided inside, the number of terminals can be reduced and many internal operations can be observed.

【0028】また更に、JTAGのTAPコントローラ
を内部観測用にも転用するようにしたので、観測のため
の端子数を更に減らせる効果がある。
Further, since the JTAG TAP controller is used for internal observation, the number of terminals for observation can be further reduced.

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

【図1】 本発明の実施の形態1における内部信号観測
装置の構成図である。
FIG. 1 is a configuration diagram of an internal signal observation device according to Embodiment 1 of the present invention.

【図2】 本発明の実施の形態2におけるJTAGのT
APコントローラを用いた構成図である。
FIG. 2 shows T of JTAG according to the second embodiment of the present invention.
FIG. 3 is a configuration diagram using an AP controller.

【図3】 TAPコントローラの動作を説明するための
詳細構成図である。
FIG. 3 is a detailed configuration diagram for explaining the operation of the TAP controller.

【図4】 TAPコントローラの動作を説明するための
状態遷移図である。
FIG. 4 is a state transition diagram for explaining the operation of the TAP controller.

【図5】 TAPコントローラのSAMPLE/PRE
LOADモード動作説明図である。
FIG. 5 SAMPLE / PRE of TAP controller
FIG. 9 is an explanatory diagram of a LOAD mode operation.

【図6】 TAPコントローラのEXTESTモード動
作説明図である。
FIG. 6 is an explanatory diagram of an EXTEST mode operation of the TAP controller.

【図7】 実施の形態2における同一の時系列変化信号
パターンを与えた入出力信号図である。
FIG. 7 is an input / output signal diagram provided with the same time-series change signal pattern in the second embodiment.

【図8】 実施の形態2における他の内部信号観測装置
の構成図である。
FIG. 8 is a configuration diagram of another internal signal observation device according to the second embodiment.

【図9】 実施の形態3における内部信号観測装置の構
成図である。
FIG. 9 is a configuration diagram of an internal signal observation device according to a third embodiment.

【図10】 実施の形態3における他の内部信号観測装
置の構成図である。
FIG. 10 is a configuration diagram of another internal signal observation device according to the third embodiment.

【図11】 第1の従来例における内部回路観測部の構
成図である。
FIG. 11 is a configuration diagram of an internal circuit observation unit in the first conventional example.

【図12】 第2の従来例における内部回路観測部の構
成図である。
FIG. 12 is a configuration diagram of an internal circuit observation unit in a second conventional example.

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

1 内部信号の観測対象となるLSI、2 シフトレジ
スタ、3 デコード回路、4 セレクタ回路、5 観測
対象となるLSIの論理回路、6 シフトレジスタ2の
クロック、7 シフトレジスタ2のシリアル入力、9
対象LSIの入出力信号、10 選択信号設定用のセ
ル、11 TAPコントローラ、12 TAP 5信
号、13 システムクロック入力、14 クロック分周
回路、15制御回路入力、16 制御回路出力、17
選択回路出力、18 選択信号入力、19 内部信号、
20 選択回路、21 セレクタ回路入力、22 セレ
クタ回路出力、23 選択信号入力、24 セレクタ回
路、25 デコード回路、26 セレクタ回路の出力、
27 シフトレジスタの出力、28 観測信号出力用シ
フトレジスタ、111 TAPコントローラ・コア、1
12 インストラクション・レジスタ、113 データ
・レジスタ、114 セレクタ。
1 LSI for observing internal signal, 2 shift register, 3 decoding circuit, 4 selector circuit, 5 logic circuit for LSI to be observed, 6 clock of shift register 2, 7 serial input of shift register 2, 9
Target LSI input / output signals, 10 selection signal setting cells, 11 TAP controller, 12 TAP 5 signals, 13 system clock input, 14 clock frequency divider, 15 control circuit input, 16 control circuit output, 17
Selection circuit output, 18 selection signal input, 19 internal signal,
20 selection circuit, 21 selector circuit input, 22 selector circuit output, 23 selection signal input, 24 selector circuit, 25 decoding circuit, 26 output of selector circuit,
27 shift register output, 28 observation signal output shift register, 111 TAP controller core, 1
12 instruction register, 113 data register, 114 selector.

フロントページの続き (72)発明者 橘田 光弘 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 千葉 一雄 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 山元 浩幸 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 Fターム(参考) 2G032 AA04 AK15 Continued on the front page (72) Inventor Mitsuhiro Tachibada 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation (72) Inventor Kazuo Chiba 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Co., Ltd. In-company (72) Inventor Hiroyuki Yamamoto 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation F-term (reference) 2G032 AA04 AK15

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 信号観測対象の半導体内に搭載されて、 上記観測対象の選択箇所を指定する外部からのシリアル
入力を記憶するシフトレジスタと、 上記シフトレジスタからの複数信号に基づき、必要によ
りデコードして上記観測対象の信号群から選択出力する
セレクタとを備えた、ことを特徴とする内部信号観測回
路。
1. A shift register which is mounted in a semiconductor of a signal observation target and stores an external serial input for designating a selected portion of the observation target, and decodes as necessary based on a plurality of signals from the shift register. And a selector for selectively outputting the selected signal from the group of signals to be observed.
【請求項2】 シフトレジスタとして、上記半導体内に
搭載されるTAPコントローラを使用することを特徴と
する請求項1記載の内部信号観測回路。
2. The internal signal observation circuit according to claim 1, wherein a TAP controller mounted in the semiconductor is used as the shift register.
【請求項3】 観測対象を指定する外部からのシリアル
入力を記憶するシフトレジスタと、該シフトレジスタか
らの複数信号に基づき上記観測対象の信号群から選択出
力するセレクタとを備えて、 上記セレクタにより選択された観測対象に対して、選択
された期間に、同一の時系列変化信号パターンを所定回
繰り返すようにしたことを特徴とする内部信号観測方
法。
3. A shift register for storing an external serial input for designating an observation target, and a selector for selectively outputting the signal group of the observation target based on a plurality of signals from the shift register. An internal signal observation method characterized in that the same time-series change signal pattern is repeated a predetermined number of times for a selected observation target during a selected period.
JP18097799A 1999-06-28 1999-06-28 Internal signal observation method Expired - Fee Related JP4489870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18097799A JP4489870B2 (en) 1999-06-28 1999-06-28 Internal signal observation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18097799A JP4489870B2 (en) 1999-06-28 1999-06-28 Internal signal observation method

Publications (2)

Publication Number Publication Date
JP2001013214A true JP2001013214A (en) 2001-01-19
JP4489870B2 JP4489870B2 (en) 2010-06-23

Family

ID=16092598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18097799A Expired - Fee Related JP4489870B2 (en) 1999-06-28 1999-06-28 Internal signal observation method

Country Status (1)

Country Link
JP (1) JP4489870B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271496A (en) * 2006-03-31 2007-10-18 Renesas Technology Corp Semiconductor device manufacturing method and semiconductor device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999024841A1 (en) * 1997-11-07 1999-05-20 Atmel Corporation Boundary scan system with address dependent instructions
JP2000131389A (en) * 1998-10-28 2000-05-12 Hitachi Ltd System for controlling module test in ic chip

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0458172A (en) * 1990-06-27 1992-02-25 Hitachi Ltd Logic circuit with logic testing function
JPH05206279A (en) * 1992-01-24 1993-08-13 Shikoku Nippon Denki Software Kk Logic lsi circuit
JP2783243B2 (en) * 1996-02-06 1998-08-06 日本電気株式会社 Method and apparatus for detecting failure of CMOS integrated circuit
JPH1173440A (en) * 1997-08-28 1999-03-16 Mitsubishi Electric Corp Emulation device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999024841A1 (en) * 1997-11-07 1999-05-20 Atmel Corporation Boundary scan system with address dependent instructions
JP2000131389A (en) * 1998-10-28 2000-05-12 Hitachi Ltd System for controlling module test in ic chip

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271496A (en) * 2006-03-31 2007-10-18 Renesas Technology Corp Semiconductor device manufacturing method and semiconductor device
JP4726679B2 (en) * 2006-03-31 2011-07-20 ルネサスエレクトロニクス株式会社 Semiconductor test method and semiconductor device

Also Published As

Publication number Publication date
JP4489870B2 (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US7941720B2 (en) Scan test circuit and scan test control method
CN107305237A (en) Bilateral scanning chain structure and its manufacture method
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
JPH03252569A (en) Register circuit for scan pass
US5434624A (en) Apparatus for producing a multi-scene video signal
JP2638281B2 (en) Scan path circuit
JP2001013214A (en) Circuit and device for observing internal signal
US5062110A (en) Logic circuit testing apparatus
JPH0787040B2 (en) Shift register
KR100313202B1 (en) Test circuit for macro
JP2006058242A (en) Integrated circuit
JP2006073917A (en) Integrated circuit
KR100313524B1 (en) Debugging circuit for chip
US20210063485A1 (en) Test access port circuit capable of increasing transmission throughput
KR960015560B1 (en) Apparatus for inputting 2-test data input to integrated circuit in a boundary-scan architecture
JP2003344502A (en) Semiconductor integrated circuit and its failure analyzing method
JPH05142298A (en) Testing circuit of logic circuit system
JPH0915299A (en) Boundary scan circuit and integrated circuit using it
JP3339574B2 (en) Test circuits for integrated circuits
KR100797107B1 (en) Register scan cell for debugging processor
JP2526293B2 (en) Scan circuit access device
KR100261439B1 (en) Multiple boundary scan circuit
JPH11264854A (en) Semiconductor integrated circuit and method for testing it
JPH0519024A (en) Method for testing integrated circuit
JPH02287734A (en) Scan path circuit

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040512

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20041018

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091006

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091112

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: 20100330

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100401

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 3

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: 20130409

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees