JP2002373086A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JP2002373086A
JP2002373086A JP2001178876A JP2001178876A JP2002373086A JP 2002373086 A JP2002373086 A JP 2002373086A JP 2001178876 A JP2001178876 A JP 2001178876A JP 2001178876 A JP2001178876 A JP 2001178876A JP 2002373086 A JP2002373086 A JP 2002373086A
Authority
JP
Japan
Prior art keywords
circuit
jtag
terminal
processor
semiconductor integrated
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
JP2001178876A
Other languages
Japanese (ja)
Other versions
JP4401039B2 (en
Inventor
Miho Kosaka
美保 高坂
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 JP2001178876A priority Critical patent/JP4401039B2/en
Publication of JP2002373086A publication Critical patent/JP2002373086A/en
Application granted granted Critical
Publication of JP4401039B2 publication Critical patent/JP4401039B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problems of increase in the number of clocks, increase in external terminals, etc., needed for TAP controller control and data setting when a processor is debugged. SOLUTION: In a semiconductor integrated circuit including a plurality of processors, increase in external terminals and the number of clocks is prevented and a fast on-chip debugging can be realized by diverting a TRST terminal of a JTAG test access port as a select terminal of a selector circuit, inserting an inverter between the TRST terminal and one processor to be a selector function, using a first control circuit including a counter and a decoder instead of the selector circuit and using a TMS terminal instead of the TRST terminal to be a second control circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は複数のプロセッサ
やロジックブロック等の内部回路を内蔵した半導体集積
回路に関し、特に、ソフトウェアのデバッグを支援する
デバッグ回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit having internal circuits such as a plurality of processors and logic blocks, and more particularly to a debug circuit for supporting software debugging.

【0002】[0002]

【従来の技術】半導体集積回路に内蔵されたプロセッサ
のデバッグには、通常、JTAGのテストアクセスポー
ト(TCK、TMS、TDI、TDO、TRST)、お
よびその他の端子を用いて、半導体集積回路外部より、
プロセッサの内部、または外部のJTAG回路(IEE
E1149.1準拠のTAPコントローラ等を含む回
路)等のデバッグ支援回路を制御することにより行う方
法が用いられている。
2. Description of the Related Art For debugging a processor built in a semiconductor integrated circuit, a test access port (TCK, TMS, TDI, TDO, TRST) of JTAG and other terminals are usually used to debug from outside the semiconductor integrated circuit. ,
JTAG circuit inside or outside the processor (IEEE
A method is used in which a debug support circuit such as a TAP controller compliant with E1149.1 is controlled.

【0003】従来例1.図5は従来のプロセッサを内蔵
した半導体集積回路を示すブロック図であり、図におい
て、1−1,1−2はプロセッサ、2−1,2−2はJ
TAG回路である。ここで、プロセッサ1−1および1
−2は、それぞれ複数のJTAGスキャンレジスタ(図
示せず)を含んだJTAG回路2−1および2−2を有
し、これらはJTAGテストアクセスポート(TCK、
TMS、TDI、TDO、TRST)を介して外部と信
号のやり取りを行うことができる。
Conventional example 1. FIG. 5 is a block diagram showing a conventional semiconductor integrated circuit incorporating a processor. In the figure, 1-1 and 1-2 are processors, and 2-1 and 2-2 are J.
It is a TAG circuit. Here, processors 1-1 and 1
-2 have JTAG circuits 2-1 and 2-2 each including a plurality of JTAG scan registers (not shown), and these JTAG circuits have JTAG test access ports (TCK,
Signals can be exchanged with the outside via TMS, TDI, TDO, TRST).

【0004】このようなプロセッサを内蔵した半導体集
積回路においては、TDI端子およびTDO端子に対し
てJTAG回路2−1,2−2は直列に接続し、JTA
Gスキャンレジスタが一連につながった構成で当該プロ
セッサ1−1,1−2のデバッグを行うのが一般的であ
る。
In a semiconductor integrated circuit incorporating such a processor, the JTAG circuits 2-1 and 2-2 are connected in series to the TDI terminal and the TDO terminal, and
Generally, the processors 1-1 and 1-2 are debugged in a configuration in which the G scan registers are connected in series.

【0005】次に動作について説明する。プロセッサ1
−1,1−2の直列接続により連鎖したJTAGスキャ
ンレジスタ数に対応し、所定のクロックがTCK端子よ
り入力され、JTAG回路2−1,2−2がアクティブ
状態となりTDI端子よりテストパターンが入力され、
2つのプロセッサ1−1,1−2のデバッグが一度に行
われる。その後、同様に所定のクロックがTCK端子よ
り入力され、デバッグ結果がTDO端子より外部に出力
される。このように、複数のプロセッサのJTAGスキ
ャンレジスタを直列に接続するのが従来のJTAGオン
チップデバッグの通常方法である。
Next, the operation will be described. Processor 1
A predetermined clock is input from the TCK terminal corresponding to the number of JTAG scan registers chained by serial connection of -1 and 1-2, the JTAG circuits 2-1 and 2-2 become active, and a test pattern is input from the TDI terminal. And
Debugging of the two processors 1-1 and 1-2 is performed at a time. Thereafter, a predetermined clock is similarly input from the TCK terminal, and a debug result is output to the outside from the TDO terminal. As described above, connecting the JTAG scan registers of a plurality of processors in series is a conventional method of the conventional JTAG on-chip debugging.

【0006】従来例2.あるいはまた、JTAGテスト
端子(TAP)とプロセッサ間にセレクタを挿入するこ
とにより、選択されたプロセッサのみをデバッグする方
法もある。図6はそのような従来のプロセッサを内蔵し
た半導体集積回路のブロック図を示すものであり、図に
おいて、1−1,1−2はプロセッサ、2−1,2−2
はJTAG回路、60はセレクタ回路である。従来例1
に対する相違点は、外部セレクト端子(SEL)を設け
このセレクト端子により制御されるセレクタ回路60が
挿入されたことにある。
Conventional example 2. Alternatively, there is a method of debugging only the selected processor by inserting a selector between the JTAG test terminal (TAP) and the processor. FIG. 6 is a block diagram of a semiconductor integrated circuit incorporating such a conventional processor, in which 1-1 and 1-2 are processors, 2-1 and 2-2.
Is a JTAG circuit, and 60 is a selector circuit. Conventional example 1
The difference is that an external select terminal (SEL) is provided and a selector circuit 60 controlled by this select terminal is inserted.

【0007】次に動作について説明する。外部セレクト
端子より入力されるSEL信号にしたがい、セレクタ回
路60がプロセッサ1−1,1−2の一方に含まれるJ
TAG回路の制御を行うが、例えば、一方のプロセッサ
1−1のJTAG回路2−1を制御中は、他方のプロセ
ッサ1−2側ではテストロジックリセット状態を保持す
るなどしてJTAG回路2−2を動作させないように制
御する。これにより、デバッグ対象とするプロセッサ1
−1,1−2のいずれか一方を選択し、デバッグを行う
ことを可能にしている。
Next, the operation will be described. In accordance with the SEL signal input from the external select terminal, the selector circuit 60 determines whether the J included in one of the processors 1-1 and 1-2 includes
The TAG circuit is controlled. For example, while the JTAG circuit 2-1 of one processor 1-1 is being controlled, the JTAG circuit 2-2 is held on the other processor 1-2 by holding a test logic reset state. Is controlled not to operate. Thereby, the processor 1 to be debugged
-1 and 1-2 are selected to enable debugging.

【0008】[0008]

【発明が解決しようとする課題】従来の半導体集積回路
は以上のように構成されているので、従来例1では、図
5に示すように、プロセッサ1−1,1−2のJTAG
スキャンレジスタがJTAG回路2−1,2−2を介し
て直列に接続されているため、プロセッサ1−1,1−
2の各々のTAPコントローラの命令レジスタへの命令
設定や、データレジスタへのデータ設定に要するシフト
クロック数が増加してしまい、このため、半導体集積回
路外部のデバッガ制御装置による、プロセッサの制御
や、プロセッサの内蔵メモリ、外部メモリへのデータダ
ウンロードにかかる時間が増大するといった課題があっ
た。
Since the conventional semiconductor integrated circuit is configured as described above, in the conventional example 1, as shown in FIG. 5, the JTAG of the processors 1-1 and 1-2 is used.
Since the scan registers are connected in series via the JTAG circuits 2-1 and 2-2, the processors 1-1 and 1--1
2, the number of shift clocks required to set an instruction in the instruction register of each TAP controller and to set data in the data register increases, so that the debugger control device outside the semiconductor integrated circuit controls the processor, There has been a problem that the time required for downloading data to the internal memory and the external memory of the processor increases.

【0009】また、複数のプロセッサの種類が異なる場
合、外部デバッガプログラムにより複数のプロセッサの
TAPコントローラを同時に制御するのが困難であると
いった課題があった。
Further, when the types of the plurality of processors are different, there is a problem that it is difficult to simultaneously control the TAP controllers of the plurality of processors by the external debugger program.

【0010】さらに、図6のように、従来例2では、外
部端子を設けることで半導体集積回路の製造コストが増
大するといった課題があった。
Further, as shown in FIG. 6, in the conventional example 2, there is a problem that the provision of the external terminals increases the manufacturing cost of the semiconductor integrated circuit.

【0011】この発明は上記のような課題を解決するた
めになされたもので、複数のプロセッサやロジックブロ
ック等の内部回路を搭載したLSIのJTAGオンチッ
プデバッグを、外部端子を増加させることなく容易に
し、さらに内部回路の制御、メモリへのデータダウンロ
ード時間の短縮を実現できる半導体集積回路を得ること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and makes it easy to perform JTAG on-chip debugging of an LSI on which an internal circuit such as a plurality of processors and logic blocks is mounted without increasing external terminals. It is another object of the present invention to provide a semiconductor integrated circuit capable of realizing control of an internal circuit and reduction of time for downloading data to a memory.

【0012】[0012]

【課題を解決するための手段】この発明に係る半導体集
積回路は、各々がJTAG回路を備えた第1および第2
の内部回路と接続し、JTAG回路とともにデバッグ支
援回路を構成するセレクタ回路と、このセレクタ回路と
接続し外部端子を構成するJTAGテストアクセスポー
トとを備え、デバッグ支援回路を用いた第1および第2
の内部回路のオンチップデバッグ時に、デバッグ対象と
なる内部回路を選択するためのセレクタ回路のセレクト
端子として、JTAGテストアクセスポートのTRST
端子を用いるものである。
SUMMARY OF THE INVENTION A semiconductor integrated circuit according to the present invention has first and second circuits each having a JTAG circuit.
And a JTAG test access port connected to the selector circuit and forming an external terminal. The first and second circuits use the debug support circuit.
As a select terminal of a selector circuit for selecting an internal circuit to be debugged at the time of on-chip debugging of the internal circuit, the TRST of the JTAG test access port is used.
A terminal is used.

【0013】この発明に係る半導体集積回路は、各々が
JTAG回路を備えた第1および第2の内部回路と、こ
れに接続し外部端子を構成するJTAGテストアクセス
ポートと、これのTRST端子と第1および第2の内部
回路のいずれか一方との間に設けられるインバータ回路
とを備え、JTAG回路およびインバータにより構成さ
れるデバッグ支援回路により、第1および第2の内部回
路のいずれか一方のデバッグを実行するものである。
A semiconductor integrated circuit according to the present invention includes a first and a second internal circuit each having a JTAG circuit, a JTAG test access port connected thereto and forming an external terminal, and a TRST terminal and a JTAG test access port. An inverter circuit provided between one of the first and second internal circuits, and a debug support circuit comprising a JTAG circuit and an inverter for debugging one of the first and second internal circuits. Is to execute.

【0014】この発明に係る半導体集積回路は、各々が
JTAG回路を備えた複数の内部回路と、これに接続し
外部端子を構成するJTAGテストアクセスポートと、
これのTRST端子およびTCK端子と接続しカウンタ
を含む機能ブロックを構成する第1の制御回路とを備
え、JTAG回路および第1の制御回路により構成され
るデバッグ支援回路は、TRST端子およびTCK端子
を介してTRST信号およびTCK信号をそれぞれ入力
し、機能ブロックにより複数の内部回路のうちいずれか
1つのデバッグを実行するものである。
A semiconductor integrated circuit according to the present invention includes a plurality of internal circuits each having a JTAG circuit, a JTAG test access port connected to the plurality of internal circuits to form an external terminal,
A first control circuit connected to the TRST terminal and the TCK terminal to form a functional block including a counter. The debug support circuit configured by the JTAG circuit and the first control circuit has a TRST terminal and a TCK terminal. The TRST signal and the TCK signal are input via the CPU, respectively, and any one of the plurality of internal circuits is debugged by a functional block.

【0015】この発明に係る半導体集積回路は、各々が
JTAG回路を備えた複数の内部回路と、これに接続し
外部端子を構成するJTAGテストアクセスポートと、
このJTAGテストアクセスポートのTMS端子および
TCK端子と接続しカウンタを含む機能ブロックを構成
する第2の制御回路とを備え、JTAG回路および第2
の制御回路により構成されるデバッグ支援回路は、TM
S端子およびTCK端子を介してTMS信号およびTC
K信号をそれぞれ入力し、機能ブロックにより複数の内
部回路のうちいずれか1つのデバッグを実行するもので
ある。
A semiconductor integrated circuit according to the present invention comprises: a plurality of internal circuits each having a JTAG circuit; a JTAG test access port connected to the internal circuit to form an external terminal;
A second control circuit which is connected to the TMS terminal and the TCK terminal of the JTAG test access port and constitutes a functional block including a counter; and a JTAG circuit and a second control circuit.
The debug support circuit constituted by the control circuit of TM
TMS signal and TC via S terminal and TCK terminal
A K signal is input, and any one of a plurality of internal circuits is debugged by a functional block.

【0016】[0016]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1は、この発明の実施の形態1による
半導体集積回路のブロック図であり、図において、1−
1,1−2はプロセッサ(内部回路)であり、2−1,
2−2はJTAG回路、10はJTAGテストアクセス
ポートTRST端子を制御端子として用いるセレクタ回
路である。ここで、JTAG回路2−1,2−2とセレ
クタ回路10がデバッグ支援回路を構成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram of a semiconductor integrated circuit according to a first embodiment of the present invention.
Reference numerals 1 and 1-2 denote processors (internal circuits).
Reference numeral 2-2 denotes a JTAG circuit, and reference numeral 10 denotes a selector circuit that uses a JTAG test access port TRST terminal as a control terminal. Here, the JTAG circuits 2-1 and 2-2 and the selector circuit 10 constitute a debug support circuit.

【0017】次に動作について説明する。図1において
は、セレクタ回路10により、外部より印加されるTR
ST信号がHIGHレベルのとき、プロセッサ1−1側
のTRST信号sig1はHIGHレベルに、プロセッ
サ1−2側のTRST信号sig2はLOWレベルにな
る。この時、プロセッサ1−2はテストロジックリセッ
ト状態である。
Next, the operation will be described. In FIG. 1, the TR applied from the outside by the selector circuit 10 is shown.
When the ST signal is at the HIGH level, the TRST signal sig1 on the processor 1-1 side becomes HIGH level, and the TRST signal sig2 on the processor 1-2 side becomes LOW level. At this time, the processor 1-2 is in the test logic reset state.

【0018】また、外部より印加されるTRST信号が
LOWレベルのときは、セレクタ回路10により、プロ
セッサ1−1側のTRST信号sig1はLOWレベ
ル、プロセッサ1−2側のTRST信号sig2はHI
GHレベルになる。この時、プロセッサ1−1はテスト
ロジックリセット状態である。
When the externally applied TRST signal is at the LOW level, the selector circuit 10 sets the TRST signal sig1 of the processor 1-1 to the LOW level and sets the TRST signal sig2 of the processor 1-2 to the HI level.
GH level. At this time, the processor 1-1 is in a test logic reset state.

【0019】プロセッサ1−1のデバッグであるが、ま
ず外部印加のTRST信号をLOWレベルにし、プロセ
ッサ1−1のJTAG回路2−1をリセットする(テス
トロジックリセット)。次に、外部TRST信号をHI
GHレベルにして、プロセッサ1−1のJTAG回路2
−1をテストロジックリセット状態を解除し、JTAG
テストアクセスポート(TCK,TMS,TDI,TD
O)を用いてプロセッサ1−1のデバッグを行う。な
お、プロセッサ1−1のデバッグ中は、プロセッサ1−
2のJTAG回路2−2はテストロジックリセット状態
で動作しない。
In debugging the processor 1-1, first, the TRST signal applied from the outside is set to the LOW level, and the JTAG circuit 2-1 of the processor 1-1 is reset (test logic reset). Next, the external TRST signal is set to HI
Set to GH level, JTAG circuit 2 of processor 1-1
-1 is released from the test logic reset state, and JTAG
Test access ports (TCK, TMS, TDI, TD
O) is used to debug the processor 1-1. During debugging of the processor 1-1, the processor 1-
2 does not operate in the test logic reset state.

【0020】一方、プロセッサ1−2のデバッグは、ま
ず外部TRST信号をLOWレベルにし、プロセッサ1
−2のJTAG回路2−2をリセットする(テストロジ
ックリセット)。次に、外部TRST信号をHIGHレ
ベルにして、プロセッサ1−2のJTAG回路2−2を
テストロジックリセット状態を解除し、JTAGテスト
アクセスポート(TCK,TMS,TDI,TDO)を
用いてプロセッサ1−1のデバッグを行う。なお、プロ
セッサ1−2のデバッグ中は、プロセッサ1−1のJT
AG回路2−1はテストロジックリセット状態で動作し
ない。
On the other hand, when debugging the processor 1-2, first, the external TRST signal is set to the LOW level,
-2 JTAG circuit 2-2 is reset (test logic reset). Next, the external TRST signal is set to the HIGH level, the JTAG circuit 2-2 of the processor 1-2 is released from the test logic reset state, and the processor 1-JTAG test access port (TCK, TMS, TDI, TDO) is used. Perform debugging of 1. During the debugging of the processor 1-2, the JT of the processor 1-1 is executed.
The AG circuit 2-1 does not operate in the test logic reset state.

【0021】このように、JTAGテストアクセスポー
トのうちTRST端子をセレクト端子として用いること
により、外部端子を追加せずにデバッグ対象のプロセッ
サをプロセッサ1−1,1−2から選択することで、T
APコントローラの制御やデータの設定に要するクロッ
ク数を増大させずに、プロセッサの高速なデバッグが容
易に可能となる。
As described above, by using the TRST terminal of the JTAG test access port as a select terminal, a processor to be debugged can be selected from the processors 1-1 and 1-2 without adding an external terminal, thereby achieving a T
High-speed debugging of the processor can be easily performed without increasing the number of clocks required for controlling the AP controller and setting data.

【0022】以上のように、この実施の形態1によれ
ば、2つのプロセッサすなわちプロセッサ1−1,1−
2を内蔵した半導体集積回路のデバッグ支援回路を用い
たオンチップデバッグにおいて、外部端子を追加するこ
となく、選択したいずれか一方のプロセッサをデバッグ
することが可能となり、これにより、クロック数の増大
を防止して高速なオンチップデバッグが実現できるとい
う効果が得られる。
As described above, according to the first embodiment, two processors, that is, processors 1-1 and 1-
In the on-chip debugging using the debug support circuit of the semiconductor integrated circuit incorporating the semiconductor device 2, it is possible to debug one of the selected processors without adding an external terminal, thereby increasing the number of clocks. Thus, an effect is obtained that high-speed on-chip debugging can be realized.

【0023】実施の形態2.図2は、この発明の実施の
形態2による半導体集積回路のブロック図であり、図に
おいて、1−1,1−2はプロセッサ、2−1,2−2
はJTAG回路、20はインバータである。ここで、J
TAG回路2−1,2−2とインバータ20がデバッグ
支援回路を構成する。
Embodiment 2 FIG. FIG. 2 is a block diagram of a semiconductor integrated circuit according to a second embodiment of the present invention, where 1-1 and 1-2 are processors, 2-1 and 2-2.
Is a JTAG circuit, and 20 is an inverter. Where J
The TAG circuits 2-1 and 2-2 and the inverter 20 form a debug support circuit.

【0024】次に動作について説明する。図2において
は、インバータ20により、外部より印加されるTRS
T信号がHIGHレベルのとき、プロセッサ1−1側の
TRST信号sig1はHIGHレベルに、プロセッサ
1−2側のTRST信号sig2はLOWレベルにな
る。この時、プロセッサ1−2はテストロジックリセッ
ト状態である。
Next, the operation will be described. In FIG. 2, TRS applied from outside by inverter 20
When the T signal is at the HIGH level, the TRST signal sig1 on the processor 1-1 side becomes HIGH level, and the TRST signal sig2 on the processor 1-2 side becomes LOW level. At this time, the processor 1-2 is in the test logic reset state.

【0025】また、外部より印加されるTRST信号が
LOWレベルのときは、インバータ20により、プロセ
ッサ1−1側のTRST信号sig1はLOWレベル、
プロセッサ1−2側のTRST信号sig2はHIGH
レベルになる。この時、プロセッサ1−1はテストロジ
ックリセット状態である。
When the externally applied TRST signal is at a low level, the inverter 20 causes the TRST signal sig1 on the processor 1-1 side to be at a low level.
The TRST signal sig2 of the processor 1-2 is HIGH.
Become a level. At this time, the processor 1-1 is in a test logic reset state.

【0026】プロセッサ1−1のデバッグは、先ず外部
TRST信号をLOWレベルにし、プロセッサ1−1の
JTAG回路2−1をリセットする(テストロジックリ
セット)。次に、外部TRST信号をHIGHレベルに
して、プロセッサ1−1のJTAG回路2−1をテスト
ロジックリセット状態を解除し、JTAGテストアクセ
スポート(TCK,TMS,TDI,TDO)を用いて
プロセッサ1−1のデバッグを行う。なお、プロセッサ
1−1のデバッグ中は、プロセッサ1−2のJTAG回
路2−2はテストロジックリセット状態で動作しない。
To debug the processor 1-1, first, the external TRST signal is set to the LOW level, and the JTAG circuit 2-1 of the processor 1-1 is reset (test logic reset). Next, the external TRST signal is set to a high level, the JTAG circuit 2-1 of the processor 1-1 is released from the test logic reset state, and the processor 1-JTAG test access port (TCK, TMS, TDI, TDO) is used. Perform debugging of 1. During debugging of the processor 1-1, the JTAG circuit 2-2 of the processor 1-2 does not operate in the test logic reset state.

【0027】一方、プロセッサ1−2のデバッグは、ま
ず外部TRST信号(インバータ20の出力信号)をL
OWレベルにし、プロセッサ1−2のJTAG回路2−
2をリセットする(テストロジックリセット)。次に、
外部TRST信号(インバータ20の出力信号)をHI
GHレベルにして、プロセッサ1−2のJTAG回路2
−2をテストロジックリセット状態を解除して、JTA
Gテストアクセスポート(TCK,TMS,TDI,T
DO)を用いてプロセッサ1−2のデバッグを行う。な
お、プロセッサ1−2のデバッグ中は、プロセッサ1−
1のJTAG回路2−1はテストロジックリセット状態
で動作しない。
On the other hand, when debugging the processor 1-2, first, the external TRST signal (the output signal of the inverter 20) is set to L level.
OW level, JTAG circuit 2- of processor 1-2
2 (test logic reset). next,
The external TRST signal (output signal of the inverter 20) is set to HI
GH level, JTAG circuit 2 of processor 1-2
-2 is released from the test logic reset state and JTA
G test access port (TCK, TMS, TDI, T
DO) is used to debug the processor 1-2. During debugging of the processor 1-2, the processor 1-
The JTAG circuit 2-1 does not operate in the test logic reset state.

【0028】以上のように、この実施の形態2によれ
ば、JTAGテストアクセスポートのTRST端子とプ
ロセッサ1−1,1−2の間にインバータ20を挿入す
ることにより、上記実施の形態1と同様に、外部端子の
追加を伴うことなく、クロック数の増大を防止して高速
なオンチップデバッグが実現できるという効果が得られ
る。
As described above, according to the second embodiment, by inserting the inverter 20 between the TRST terminal of the JTAG test access port and the processors 1-1 and 1-2, the second embodiment differs from the first embodiment. Similarly, it is possible to achieve an effect that high-speed on-chip debugging can be realized by preventing an increase in the number of clocks without adding an external terminal.

【0029】実施の形態3.図3は、この発明の実施の
形態3による半導体集積回路のブロック図であり、図に
おいて、1−1〜1−Nはそれぞれプロセッサ(Nは自
然数)、2−1〜2−NはJTAG回路、30は第1の
制御回路、300はカウンタ、301はリセット付きデ
コーダ、302および31−1〜31−N(Nは自然
数)はそれぞれANDゲート、320はORゲートであ
る。この実施の形態3の半導体集積回路は、プロセッサ
1−1〜プロセッサ1−Nと、JTAGテストアクセス
ポートと、JTAGテストアクセスポートとプロセッサ
1−1〜1−N間に挿入され、TRST信号とTCK信
号を入力とする第1の制御回路30から構成される。さ
らに、第1の制御回路30は、カウンタ300、デコー
ダ301、ANDゲート302および31−1〜31−
N、ORゲート320で構成される。
Embodiment 3 FIG. 3 is a block diagram of a semiconductor integrated circuit according to a third embodiment of the present invention. In the figure, 1-1 to 1-N represent processors (N is a natural number), and 2-1 to 2-N represent JTAG circuits. , 30 is a first control circuit, 300 is a counter, 301 is a decoder with reset, 302 and 31-1 to 31-N (N is a natural number) are AND gates, and 320 is an OR gate. The semiconductor integrated circuit according to the third embodiment includes a processor 1-1 to a processor 1-N, a JTAG test access port, and a TTAG signal inserted between the JTAG test access port and the processors 1-1 to 1-N. The first control circuit 30 receives a signal as an input. Further, the first control circuit 30 includes a counter 300, a decoder 301, an AND gate 302, and 31-1 to 31-31.
N, OR gate 320.

【0030】次に動作について説明する。図3におい
て、カウンタ300は、外部TRST信号がLOWレベ
ルの間、TCK(クロック)信号のサイクル数をカウン
トする。カウンタ300の出力を入力したデコーダ30
1は、TRST信号がHIGHレベルに遷移すると、カ
ウンタ300の出力に相当するビット番号の信号にのみ
HIGHレベルを出力し、その他の信号には、LOWレ
ベルを出力する。この時、HIGHレベルのTRST信
号を入力したプロセッサ1−n(1≦n≦N、Nは自然
数)のみJTAGテストロジックリセット状態が解除さ
れる。一方、その他のプロセッサは、テストロジックリ
セット状態を保持する。
Next, the operation will be described. In FIG. 3, the counter 300 counts the number of cycles of the TCK (clock) signal while the external TRST signal is at the LOW level. Decoder 30 which receives the output of counter 300
When the TRST signal transits to a high level, the signal 1 outputs a high level only to a signal having a bit number corresponding to the output of the counter 300, and outputs a low level to other signals. At this time, the JTAG test logic reset state is released only for the processor 1-n (1 ≦ n ≦ N, where N is a natural number) to which the HIGH level TRST signal is input. On the other hand, the other processors hold the test logic reset state.

【0031】そして、プロセッサ1−nをデバッグする
場合、まず外部TRST信号をLOWレベルにする。こ
の時、デコーダ301の出力信号(sig1〜sig
N)は全てLOWレベルであり、全てのプロセッサ1−
1〜1−Nはテストロジックリセット状態である。ま
た、TRST信号がLOWレベルである間、TCK信号
をnサイクル印加する。カウンタ300は、印加された
TCK信号のサイクル数をカウントしデコーダ301へ
nを出力する。
Then, when debugging the processor 1-n, first, the external TRST signal is set to the LOW level. At this time, the output signals of the decoder 301 (sig1 to sig
N) are all LOW levels and all processors 1-
1 to 1-N are test logic reset states. While the TRST signal is at the LOW level, the TCK signal is applied for n cycles. The counter 300 counts the number of cycles of the applied TCK signal and outputs n to the decoder 301.

【0032】次に外部TRST信号を、HIGHレベル
にする。デコーダ301はTRST信号がHIGHレベ
ルになると、nビット目の信号signにのみHIGH
レベルを、その他の信号にはLOWレベルを出力する。
Next, the external TRST signal is set to HIGH level. When the TRST signal becomes HIGH, the decoder 301 outputs only HIGH to the signal sign of the n-th bit.
Level and LOW level for other signals.

【0033】その結果、プロセッサ1−nにのみTRS
T端子のHIGHレベルが伝搬され、テストロジックリ
セット状態が解除される。これにより、プロセッサ1−
nのみテストアクセスポートより制御可能となり、デバ
ッグ可能となる。一方、その他のプロセッサに入力する
TRST信号は、LOWレベルのままでテストロジック
リセット状態を保持する。
As a result, the TRS is provided only to the processor 1-n.
The HIGH level of the T terminal is propagated, and the test logic reset state is released. Thereby, the processor 1-
Only n can be controlled from the test access port and can be debugged. On the other hand, the TRST signal input to the other processors keeps the test logic reset state while keeping the LOW level.

【0034】このように、上記実施の形態1で述べたセ
レクタ回路10の代わりに、カウンタ300とデコーダ
301を備えた第1の制御回路30を挿入することによ
り、2つ以上のプロセッサ1−1〜1−Nの中からデバ
ッグ対象となるプロセッサを任意に1つ選択することが
容易に可能となる。
As described above, by inserting the first control circuit 30 having the counter 300 and the decoder 301 in place of the selector circuit 10 described in the first embodiment, two or more processors 1-1 can be provided. It is easy to arbitrarily select one processor to be debugged from .about.1-N.

【0035】以上のように、この実施の形態3によれ
ば、複数のプロセッサすなわちプロセッサ1−1〜1−
Nから1つのプロセッサ、例えばn番目のプロセッサ1
−nを選択することができ、したがって、上記実施の形
態1と同様に、外部端子の増大を伴わず、クロック数の
増大を防止して高速なオンチップデバッグが実現できる
という効果が得られる。
As described above, according to the third embodiment, a plurality of processors, that is, processors 1-1 to 1-1-1.
One processor from N, for example, n-th processor 1
−n can be selected, and therefore, as in the first embodiment, the effect is obtained that the number of clocks is prevented from increasing and the high-speed on-chip debugging can be realized without increasing the number of external terminals.

【0036】実施の形態4.図4は、この発明の実施の
形態4による半導体集積回路のブロック図であり、図に
おいて、1−1〜1−Nはそれぞれプロセッサ(Nは自
然数)、2−1〜2−NはJTAG回路、40は第2の
制御回路、400は制御回路、401はカウンタ、40
2はデコーダ、41−1〜41−Nおよび430はそれ
ぞれORゲート、42−1〜42−NはそれぞれAND
ゲート、440はANDゲート、441〜445はレジ
スタである。ここで、制御回路400はANDゲート4
40とTMS信号をシフトイン入力、TCK信号をクロ
ック入力とするレジスタ441〜445で構成され、さ
らに、第2の制御回路40はこの制御回路400、カウ
ンタ401、デコーダ402、ORゲート41−1〜4
1−N,430およびANDゲート42−1〜42−N
から構成される。
Embodiment 4 FIG. 4 is a block diagram of a semiconductor integrated circuit according to a fourth embodiment of the present invention. In the figure, 1-1 to 1-N represent processors (N is a natural number), and 2-1 to 2-N represent JTAG circuits. , 40 are a second control circuit, 400 is a control circuit, 401 is a counter, 40
2 is a decoder, 41-1 to 41-N and 430 are OR gates, respectively, and 42-1 to 42-N are ANDs, respectively.
Gates 440 are AND gates, and 441 to 445 are registers. Here, the control circuit 400 is connected to the AND gate 4
The second control circuit 40 includes a control circuit 400, a counter 401, a decoder 402, and OR gates 41-1 to 440. The register 441 receives the TMS signal as a shift-in input and the TCK signal as a clock input. 4
1-N, 430 and AND gates 42-1 to 42-N
Consists of

【0037】次に動作について説明する。図4におい
て、制御回路400は、外部TMS信号より5サイクル
以上HIGHレベルの信号が印加されると、外部TMS
信号がHIGHレベルの間、カウンタ401へTCK信
号(クロック)を伝搬する。カウンタ401は入力され
たTCK信号のサイクル数をカウントし、その出力をデ
コーダ402へ入力する。デコーダ402はカウンタ4
01の出力に相当するビット番号の信号にのみHIGH
レベルを出力し、その他の信号はLOWレベルを出力す
る。
Next, the operation will be described. In FIG. 4, when a HIGH level signal is applied for 5 cycles or more from the external TMS signal, the control circuit 400
While the signal is at the HIGH level, the TCK signal (clock) is transmitted to the counter 401. The counter 401 counts the number of cycles of the input TCK signal and inputs the output to the decoder 402. The decoder 402 has a counter 4
HIGH only for the signal of the bit number corresponding to the output of 01
Level, and other signals output LOW level.

【0038】この時、デコーダ402の出力信号を入力
するORゲート(41−1〜41−N)のうち、HIG
Hレベルの信号を入力したORゲートのみが活性化され
る。活性化されたORゲートにつながるプロセッサにの
み外部TMS信号が伝搬される。その他のプロセッサ
は、TMS信号がHIGHレベルに保持される。その結
果、外部TMS信号が伝搬するプロセッサは、JTAG
テストロジックリセット状態が解除される。その他のプ
ロセッサは、テストロジックリセット状態のままであ
る。
At this time, among the OR gates (41-1 to 41-N) for inputting the output signal of the decoder 402, the HIG
Only the OR gate to which the H-level signal is input is activated. The external TMS signal is propagated only to the processor connected to the activated OR gate. In other processors, the TMS signal is held at the HIGH level. As a result, the processor through which the external TMS signal propagates is JTAG
The test logic reset state is released. Other processors remain in the test logic reset state.

【0039】n番目のプロセッサ1−n(1≦n≦N、
nは自然数)をデバッグする場合、外部TMS信号をH
IGHレベルにした状態でTCK信号(クロック)を5
サイクル印加する。この時、全てのプロセッサ1−1〜
1−Nはテストロジックリセット状態におかれる。
The n-th processor 1-n (1 ≦ n ≦ N,
When n is a natural number, the external TMS signal is set to H
When the TCK signal (clock) is set to 5
Apply cycles. At this time, all the processors 1-1 to 1-1
1-N are in a test logic reset state.

【0040】次に、TMS信号をHIGHレベルに保持
したまま、クロックのTCK信号をnサイクル印加す
る。カウンタ401は、印加されたTCK信号のサイク
ル数をカウントしデコーダ402への出力をnとする。
Next, while the TMS signal is held at the HIGH level, the clock TCK signal is applied for n cycles. The counter 401 counts the number of cycles of the applied TCK signal and sets the output to the decoder 402 to n.

【0041】デコーダ402は、nビット目の信号si
gnのみHIGHレベルを、その他の信号にはLOWレ
ベルを出力する。その結果、ORゲート41−nのみが
活性化され、プロセッサ1−nにTMS信号が伝搬す
る。プロセッサ1−nは、TMS信号がHIGHレベル
からLOWレベルに遷移したのと同時に(立ち下がりエ
ッジ)、テストロジックリセット状態が解除され、テス
トアクセスポートより制御可能となり、すなわちデバッ
グ可能となる。一方、その他のプロセッサの入力するT
MS信号は、HIGHレベルのままで、テストロジック
リセット状態を保持する。
The decoder 402 outputs the signal si of the n-th bit.
Only gn outputs a HIGH level, and other signals output a LOW level. As a result, only the OR gate 41-n is activated, and the TMS signal propagates to the processor 1-n. At the same time as the transition of the TMS signal from the HIGH level to the LOW level (falling edge), the processor 1-n is released from the test logic reset state and can be controlled from the test access port, that is, can be debugged. On the other hand, T
The MS signal keeps the test logic reset state while keeping the HIGH level.

【0042】このように、上記実施の形態3のTRST
端子の代わりに、TMS端子を用いることで、2つ以上
のプロセッサ1−1〜1−Nの中からデバッグ対象のプ
ロセッサ1−nを1つ選択することが可能となる。
As described above, the TRST of the third embodiment is used.
By using a TMS terminal instead of a terminal, it becomes possible to select one processor 1-n to be debugged from two or more processors 1-1 to 1-N.

【0043】以上のように、この実施の形態4によれ
ば、複数のプロセッサ1−1〜1−Nから1つのプロセ
ッサ1−nを選択することができ、上記実施の形態1と
同様に、外部端子の増大を伴わず、クロック数の増大を
防止して高速なオンチップデバッグが容易に実現できる
という効果が得られる。
As described above, according to the fourth embodiment, one processor 1-n can be selected from a plurality of processors 1-1 to 1-N. An effect is obtained that high-speed on-chip debugging can be easily realized by preventing an increase in the number of clocks without increasing the number of external terminals.

【0044】なお、上記実施の形態1〜4においては、
複数のプロセッサを例にとり、説明を行ったが、代わり
にロジックブロックを用いた場合においても同様なこと
が当てはまり、また、複数のプロセッサはロジックブロ
ックを混載しても同様な効果が実現できる。
In the first to fourth embodiments,
Although the description has been made by taking a plurality of processors as an example, the same applies to a case where a logic block is used instead, and the same effect can be realized even if a plurality of processors are mixed with a logic block.

【0045】[0045]

【発明の効果】以上のように、この発明によれば、各々
がJTAG回路を備えた第1および第2の内部回路と接
続し、JTAG回路とともにデバッグ支援回路を構成す
るセレクタ回路と、これに接続し外部端子を構成するJ
TAGテストアクセスポートとを備え、デバッグ支援回
路を用いた第1および第2の内部回路のデバッグ時に、
デバッグ対象となる内部回路を選択するためのセレクタ
回路のセレクト端子として、JTAGテストアクセスポ
ートのTRST端子を用いて構成したので、外部端子を
追加せずにデバッグ対象のプロセッサを選択することが
でき、これにより、TAPコントローラの制御やデータ
の設定に要するクロック数を増大させずに、内部回路の
高速なデバッグが容易に実現できるという効果がある。
As described above, according to the present invention, the selector circuit which is connected to the first and second internal circuits each having the JTAG circuit and constitutes the debug support circuit together with the JTAG circuit, and J to connect and form an external terminal
A TAG test access port, and when debugging the first and second internal circuits using the debug support circuit,
Since the TRST terminal of the JTAG test access port is used as the select terminal of the selector circuit for selecting the internal circuit to be debugged, the processor to be debugged can be selected without adding an external terminal. Thus, there is an effect that high-speed debugging of an internal circuit can be easily realized without increasing the number of clocks required for controlling the TAP controller and setting data.

【0046】この発明によれば、各々がJTAG回路を
備えた第1および第2の内部回路と、これに接続し外部
端子を構成するJTAGテストアクセスポートと、この
TRST端子と第1および第2の内部回路のいずれか一
方との間に設けられるインバータ回路とを備え、JTA
G回路およびインバータにより構成されるデバッグ支援
回路により、第1および第2の内部回路のいずれか一方
のデバッグを実行するように構成したので、同様に、外
部端子を追加せずにデバッグ対象のプロセッサを選択す
ることができ、TAPコントローラの制御やデータの設
定に要するクロック数を増大させず、内部回路の高速な
デバッグが容易に実現できるという効果がある。
According to the present invention, the first and second internal circuits each having a JTAG circuit, the JTAG test access port connected thereto and forming an external terminal, the TRST terminal and the first and second internal circuits are provided. And an inverter circuit provided between one of the internal circuits.
Since the debug support circuit constituted by the G circuit and the inverter is configured to execute debugging of one of the first and second internal circuits, similarly, the processor to be debugged without adding external terminals Can be selected, and there is an effect that high-speed debugging of the internal circuit can be easily realized without increasing the number of clocks required for controlling the TAP controller and setting data.

【0047】この発明によれば、各々がJTAG回路を
備えた複数の内部回路と、これに接続し外部端子を構成
するJTAGテストアクセスポートと、このTRST端
子およびTCK端子と接続しカウンタを含む機能ブロッ
クを構成する第1の制御回路とを備え、JTAG回路お
よび第1の制御回路により構成されるデバッグ支援回路
は、TRST端子およびTCK端子を介してTRST信
号およびTCK信号をそれぞれ入力し、機能ブロックに
より複数の内部回路のうちいずれか1つのデバッグを実
行するように構成したので、同様に、外部端子を追加せ
ずにデバッグ対象のプロセッサを選択することができ、
TAPコントローラの制御やデータの設定に要するクロ
ック数を増大させず、内部回路の高速なデバッグが容易
に実現できるという効果がある。
According to the present invention, a plurality of internal circuits each having a JTAG circuit, a JTAG test access port connected to the internal circuit to form an external terminal, and a function including a counter connected to the TRST terminal and the TCK terminal. A debug control circuit comprising a JTAG circuit and a first control circuit, which inputs a TRST signal and a TCK signal via a TRST terminal and a TCK terminal, respectively. Is configured to execute debugging of any one of a plurality of internal circuits, and similarly, a processor to be debugged can be selected without adding an external terminal,
There is an effect that high-speed debugging of an internal circuit can be easily realized without increasing the number of clocks required for controlling the TAP controller and setting data.

【0048】この発明によれば、各々がJTAG回路を
備えた複数の内部回路と、これに接続し外部端子を構成
するJTAGテストアクセスポートと、このTMS端子
およびTCK端子と接続しカウンタを含む機能ブロック
を構成する第2の制御回路とを備え、JTAG回路およ
び第2の制御回路により構成されるデバッグ支援回路
は、TMS端子およびTCK端子を介してTMS信号お
よびTCK信号をそれぞれ入力し、機能ブロックにより
複数の内部回路のうちいずれか1つのデバッグを実行す
るように構成したので、同様に、外部端子を追加せずに
デバッグ対象のプロセッサを選択することができ、TA
Pコントローラの制御やデータの設定に要するクロック
数を増大させず、内部回路の高速なデバッグが容易に実
現できるという効果がある。
According to the present invention, a plurality of internal circuits each having a JTAG circuit, a JTAG test access port connected thereto to form an external terminal, and a function including a counter connected to the TMS terminal and the TCK terminal. A debug control circuit comprising a JTAG circuit and a second control circuit, for inputting a TMS signal and a TCK signal via a TMS terminal and a TCK terminal, respectively; Is configured to execute debugging of any one of a plurality of internal circuits, and similarly, a processor to be debugged can be selected without adding an external terminal.
There is an effect that high-speed debugging of an internal circuit can be easily realized without increasing the number of clocks required for controlling the P controller and setting data.

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

【図1】 この発明の実施の形態1による半導体集積回
路のブロック図である。
FIG. 1 is a block diagram of a semiconductor integrated circuit according to a first embodiment of the present invention.

【図2】 この発明の実施の形態2による半導体集積回
路のブロック図である。
FIG. 2 is a block diagram of a semiconductor integrated circuit according to a second embodiment of the present invention.

【図3】 この発明の実施の形態3による半導体集積回
路のブロック図である。
FIG. 3 is a block diagram of a semiconductor integrated circuit according to a third embodiment of the present invention.

【図4】 この発明の実施の形態4による半導体集積回
路のブロック図である。
FIG. 4 is a block diagram of a semiconductor integrated circuit according to a fourth embodiment of the present invention.

【図5】 従来例1による半導体集積回路のブロック図
である。
FIG. 5 is a block diagram of a semiconductor integrated circuit according to Conventional Example 1.

【図6】 従来例2による半導体集積回路のブロック図
である。
FIG. 6 is a block diagram of a semiconductor integrated circuit according to Conventional Example 2.

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

1−1〜1−N プロセッサ(内部回路)、2−1〜2
−N JTAG回路、10,60 セレクタ回路、20
インバータ、30 第1の制御回路、40第2の制御
回路、31−1〜31−N,42−1〜42−N,30
2,440ANDゲート、41−1〜41−N,32
0,430 ORゲート、300,401 カウンタ、
301,402 デコーダ、320,400 制御回
路、441〜445 レジスタ。
1-1 to 1-N processor (internal circuit), 2-1 to 2
−N JTAG circuit, 10, 60 selector circuit, 20
Inverter, 30 first control circuit, 40 second control circuit, 31-1 to 31-N, 42-1 to 42-N, 30
2,440 AND gate, 41-1 to 41-N, 32
0,430 OR gate, 300,401 counter,
301, 402 decoder, 320, 400 control circuit, 441 to 445 register.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 11/28 G06F 15/78 510K 15/78 510 G01R 31/28 G H01L 21/822 H01L 27/04 T 27/04 Fターム(参考) 2G132 AA14 AC00 AG01 AG08 AG12 AK07 AL09 5B042 GA11 GA32 GC01 HH01 5B048 AA20 DD08 DD10 FF06 5B062 AA02 JJ08 5F038 DF04 DT02 DT06 DT15 EZ20──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06F 11/28 G06F 15/78 510K 15/78 510 G01R 31/28 G H01L 21/822 H01L 27/04 T 27/04 F term (reference) 2G132 AA14 AC00 AG01 AG08 AG12 AK07 AL09 5B042 GA11 GA32 GC01 HH01 5B048 AA20 DD08 DD10 FF06 5B062 AA02 JJ08 5F038 DF04 DT02 DT06 DT15 EZ20

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 各々がJTAG回路を備えた第1および
第2の内部回路と、これら第1および第2の内部回路と
接続し上記JTAG回路とともにデバッグ支援回路を構
成するセレクタ回路と、このセレクタ回路と接続し外部
端子を構成するJTAGテストアクセスポートとを備え
た半導体集積回路において、 上記デバッグ支援回路を用いた上記第1および第2の内
部回路のデバッグ時に、デバッグ対象となる上記内部回
路を選択するための上記セレクタ回路のセレクト端子と
して、上記JTAGテストアクセスポートのTRST端
子を用いることを特徴とする半導体集積回路。
1. A first and a second internal circuit each including a JTAG circuit, a selector circuit connected to the first and the second internal circuit to constitute a debug support circuit together with the JTAG circuit, and a selector circuit A semiconductor integrated circuit having a JTAG test access port connected to a circuit and forming an external terminal, wherein when debugging the first and second internal circuits using the debug support circuit, the internal circuit to be debugged is A semiconductor integrated circuit, wherein a TRST terminal of the JTAG test access port is used as a select terminal of the selector circuit for selecting.
【請求項2】 各々がJTAG回路を備えた第1および
第2の内部回路と、これら第1および第2の内部回路と
接続し外部端子を構成するJTAGテストアクセスポー
トと、このJTAGテストアクセスポートのTRST端
子と上記第1および第2の内部回路のいずれか一方との
間に設けられるインバータ回路とを備えた半導体集積回
路において、 上記JTAG回路およびインバータにより構成されるデ
バッグ支援回路により、上記第1および第2の内部回路
のいずれか一方のデバッグを実行することを特徴とする
半導体集積回路。
2. A first and a second internal circuit each including a JTAG circuit; a JTAG test access port connected to the first and the second internal circuit to form an external terminal; and a JTAG test access port. A semiconductor integrated circuit having an inverter circuit provided between the TRST terminal of the first and second internal circuits, and a debug support circuit comprising the JTAG circuit and an inverter. A semiconductor integrated circuit for executing debugging of one of the first and second internal circuits.
【請求項3】 各々がJTAG回路を備えた複数の内部
回路と、これら第1および第2の内部回路と接続し外部
端子を構成するJTAGテストアクセスポートと、この
JTAGテストアクセスポートのTRST端子およびT
CK端子と接続しカウンタを含む機能ブロックを構成す
る第1の制御回路とを備えた半導体集積回路において、 上記JTAG回路および第1の制御回路により構成され
るデバッグ支援回路は、上記TRST端子およびTCK
端子を介してTRST信号およびTCK信号をそれぞれ
入力し、上記機能ブロックにより上記複数の内部回路の
うちいずれか1つのデバッグを実行することを特徴とす
る半導体集積回路。
3. A plurality of internal circuits each including a JTAG circuit; a JTAG test access port connected to the first and second internal circuits to form an external terminal; a TRST terminal of the JTAG test access port; T
In a semiconductor integrated circuit having a first control circuit connected to a CK terminal and forming a functional block including a counter, the debug support circuit formed by the JTAG circuit and the first control circuit includes a TRST terminal and a TCK.
A semiconductor integrated circuit, wherein a TRST signal and a TCK signal are input via terminals, respectively, and any one of the plurality of internal circuits is debugged by the functional block.
【請求項4】 各々がJTAG回路を備えた複数の内部
回路と、これら第1および第2の内部回路と接続し外部
端子を構成するJTAGテストアクセスポートと、この
JTAGテストアクセスポートのTMS端子およびTC
K端子と接続しカウンタを含む機能ブロックを構成する
第2の制御回路とを備えた半導体集積回路において、 上記JTAG回路および第2の制御回路により構成され
るデバッグ支援回路は、上記TMS端子およびTCK端
子を介してTMS信号およびTCK信号をそれぞれ入力
し、上記機能ブロックにより上記複数の内部回路のうち
いずれか1つのデバッグを実行することを特徴とする半
導体集積回路。
4. A plurality of internal circuits each including a JTAG circuit; a JTAG test access port connected to the first and second internal circuits to form an external terminal; a TMS terminal of the JTAG test access port; TC
A semiconductor integrated circuit comprising a second control circuit connected to a K terminal and forming a functional block including a counter, wherein the debug support circuit formed by the JTAG circuit and the second control circuit includes the TMS terminal and the TCK A semiconductor integrated circuit, wherein a TMS signal and a TCK signal are input via terminals, respectively, and any one of the plurality of internal circuits is debugged by the functional block.
JP2001178876A 2001-06-13 2001-06-13 Semiconductor integrated circuit Expired - Fee Related JP4401039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001178876A JP4401039B2 (en) 2001-06-13 2001-06-13 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001178876A JP4401039B2 (en) 2001-06-13 2001-06-13 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2002373086A true JP2002373086A (en) 2002-12-26
JP4401039B2 JP4401039B2 (en) 2010-01-20

Family

ID=19019506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001178876A Expired - Fee Related JP4401039B2 (en) 2001-06-13 2001-06-13 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP4401039B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005227276A (en) * 2004-02-10 2005-08-25 Samsung Electronics Co Ltd Semiconductor integrated circuit for supporting co-debugging function and semiconductor integrated circuit test system
JP2005527918A (en) * 2002-05-29 2005-09-15 フリースケール セミコンダクター インコーポレイテッド Method and apparatus for accessing multiple TAPs via a single TAP (test access port)
KR100565685B1 (en) 2004-07-23 2006-03-30 엘지전자 주식회사 JTAG used Trace32 and Multi-ICE
KR100698860B1 (en) * 2005-02-09 2007-03-26 후지쯔 가부시끼가이샤 Divice and method for jtag test
JP2008304986A (en) * 2007-06-05 2008-12-18 Nec Electronics Corp Semiconductor integrated circuit
US7506228B2 (en) 2006-02-14 2009-03-17 Atmel Corporation Measuring the internal clock speed of an integrated circuit
WO2011091750A1 (en) * 2010-01-27 2011-08-04 华为技术有限公司 Method for scanning boundary inside single board,device and single board thereof
US8015462B2 (en) 2007-05-11 2011-09-06 Renesas Electronics Corporation Test circuit
CN116454069A (en) * 2023-06-14 2023-07-18 深圳中安辰鸿技术有限公司 Semiconductor chip and HTOL, delay and overall test method thereof

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005527918A (en) * 2002-05-29 2005-09-15 フリースケール セミコンダクター インコーポレイテッド Method and apparatus for accessing multiple TAPs via a single TAP (test access port)
JP2011069840A (en) * 2002-05-29 2011-04-07 Freescale Semiconductor Inc Method for accessing two or more taps through single tap (test access port), and integrated circuit
JP2005227276A (en) * 2004-02-10 2005-08-25 Samsung Electronics Co Ltd Semiconductor integrated circuit for supporting co-debugging function and semiconductor integrated circuit test system
US8055946B2 (en) 2004-02-10 2011-11-08 Samsung Electronics Co., Ltd. Semiconductor IC incorporating a co-debugging function and test system
KR100565685B1 (en) 2004-07-23 2006-03-30 엘지전자 주식회사 JTAG used Trace32 and Multi-ICE
US7613968B2 (en) 2005-02-09 2009-11-03 Fujitsu Microelectronics Limited Device and method for JTAG test
KR100698860B1 (en) * 2005-02-09 2007-03-26 후지쯔 가부시끼가이샤 Divice and method for jtag test
US7506228B2 (en) 2006-02-14 2009-03-17 Atmel Corporation Measuring the internal clock speed of an integrated circuit
US8015462B2 (en) 2007-05-11 2011-09-06 Renesas Electronics Corporation Test circuit
JP2008304986A (en) * 2007-06-05 2008-12-18 Nec Electronics Corp Semiconductor integrated circuit
WO2011091750A1 (en) * 2010-01-27 2011-08-04 华为技术有限公司 Method for scanning boundary inside single board,device and single board thereof
CN116454069A (en) * 2023-06-14 2023-07-18 深圳中安辰鸿技术有限公司 Semiconductor chip and HTOL, delay and overall test method thereof
CN116454069B (en) * 2023-06-14 2023-09-15 深圳中安辰鸿技术有限公司 Semiconductor chip and HTOL, delay and overall test method thereof

Also Published As

Publication number Publication date
JP4401039B2 (en) 2010-01-20

Similar Documents

Publication Publication Date Title
EP1872146B1 (en) Simultaneous core testing in multi-core integrated circuits
US6378090B1 (en) Hierarchical test access port architecture for electronic circuits including embedded core having built-in test access port
US6625784B1 (en) Semiconductor integrated circuit device, method of testing the same, database for design of the same and method of designing the same
US6425100B1 (en) Snoopy test access port architecture for electronic circuits including embedded core with built-in test access port
US6101457A (en) Test access port
US6311302B1 (en) Method and arrangement for hierarchical control of multiple test access port control modules
JP5138201B2 (en) Shift register not using timing conflict boundary scan register by two-phase clock control
US20020040458A1 (en) Hierarchical test circuit structure for chips with multiple circuit blocks
US6381717B1 (en) Snoopy test access port architecture for electronic circuits including embedded core having test access port with instruction driven wake-up
US7181705B2 (en) Hierarchical test circuit structure for chips with multiple circuit blocks
US11041905B2 (en) Combinatorial serial and parallel test access port selection in a JTAG interface
US7013415B1 (en) IC with internal interface switch for testability
US6611932B2 (en) Method and apparatus for controlling and observing data in a logic block-based ASIC
US6334198B1 (en) Method and arrangement for controlling multiply-activated test access port control modules
US7058868B2 (en) Scan testing mode control of gated clock signals for memory devices
US7447962B2 (en) JTAG interface using existing I/O bus
JP2002373086A (en) Semiconductor integrated circuit
JPH11352188A (en) Semiconductor device
US20030046625A1 (en) Method and apparatus for efficient control of multiple tap controllers
JP3987585B2 (en) Core test control
JP2018190751A (en) Semiconductor device and semiconductor device test method
EP1061375B1 (en) Semiconductor device including macros and its testing method
JPH0763821A (en) Test circuit
JP4176944B2 (en) Semiconductor integrated circuit and recording medium
US20050028059A1 (en) Processor interface for test access port

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060123

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20071101

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090804

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090928

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees