JP3966453B2 - Semiconductor integrated circuit - Google Patents
Semiconductor integrated circuit Download PDFInfo
- Publication number
- JP3966453B2 JP3966453B2 JP2001500877A JP2001500877A JP3966453B2 JP 3966453 B2 JP3966453 B2 JP 3966453B2 JP 2001500877 A JP2001500877 A JP 2001500877A JP 2001500877 A JP2001500877 A JP 2001500877A JP 3966453 B2 JP3966453 B2 JP 3966453B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- input
- output
- test
- coupled
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318558—Addressing or selecting of subparts of the device under test
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318572—Input/Output interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/48—Arrangements in static stores specially adapted for testing by means external to the store, e.g. using direct memory access [DMA] or using auxiliary access paths
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318541—Scan latches or cell details
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318555—Control logic
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C29/18—Address generation devices; Devices for accessing memories, e.g. details of addressing circuits
- G11C29/30—Accessing single arrays
- G11C2029/3202—Scan chain
Description
技術分野
本発明は、半導体集積回路(IC:Integrated Circuit)におけるテスト技術に関し、特に複数の機能モジュールによって構成されるデータ処理装置、マイクロプロセッサ、シングルチップ・マイクロコンピュータのようなシステムLSI(Large Scale Integration)のテスト方式に適用して有効な技術に関する。
背景技術
半導体集積回路は、微細加工技術の発展により1つの半導体チップ上に搭載できる論理規模が次第に増加してきている。そのため、従来は複数のチップで実現していたマイクロプロセッサやシングルチップ・マイクロコンピュータのようなシステム的な機能を1つの半導体チップに搭載した半導体集積回路(以下、システムLSIとも称する)も提供されるようになって来ている。
中央処理装置(CPU)やリード・オンリ・メモリ(ROM)、ランダム・アクセス・メモリ(RAM)等さまざまな機能を有する回路を1つの半導体チップ上に搭載する場合、互いの結合の仕方を決めておいて機能毎に分けて設計するのが効率的である。そして、そのような所定の機能を有するように設計された回路ブロック(本明細書ではこれを機能モジュールと称する)をデータベース等に登録し、後に類似の半導体集積回路を開発する際に登録されている複数のモジュールの中から所望の機能を有するものを選択して組み合せることによって、所望の仕様を満たす半導体集積回路を得ることができる。そのため、上記のようなデータベースの利用は、開発期間を短縮する上で極めて有効である。
データプロセッサやシングルチップ・マイクロコンピュータなどの論理集積回路の開発においては、開発の最終段階で内部論理回路が期待どおりに論理機能動作するかを検証(故障検出)するためロジックテストが行なわれる。小規模な論理集積回路のテストは、テストパターンを入力して出力信号を期待値と比較する方法を適用できる。しかし、大規模な論理集積回路ではテストパターンが膨大になり故障検出率も低下する。そのため、システムLSIのような論理集積回路ではシフトスキャン方式のテスト機能を設けるようにしたものがある。
シフトスキャン方式のテスト回路は、論理回路を構成する複数のフリップフロップを直列形態に接続してシフトレジスタを構成可能にする。そして、テスト時、このシフトレジスタに入力ピンからテストデータをスキャンインして論理回路の内部に直接データを入れて動作させるとともに、ある時点でフリップフロップに保持されているデータを、シフトレジスタを利用して出力ピンにスキャンアウトさせることで、効率の良いテストを行なえるようにした技術である。
発明が解決しようとする課題
複数の機能モジュールからなる論理集積回路のテスト方法としては、各モジュールの入出力端子を外部端子に引き出して各モジュール毎にテストパターンを入力して検査する方法も考えられる。この方法は、一度作成したテストパターンを利用することができるという利点があるものの、端子数が大幅に増加し、ひいてはチップサイズが増大するという問題点がある。
また、各機能モジュール毎にシフトスキャン方式のテスト回路を設けて一度作成したテストパターンを別の半導体集積回路の開発のときに再利用することで開発期間の短縮を図ることも考えられる。しかしながら、複数の機能モジュールを組み合わせて半導体集積回路を開発する技術においては、テスト用のインターフェイス回路が半導体集積回路毎に異なる、すなわち半導体集積回路毎に異なる仕様のインターフェイス回路を設計していたため、スキャンパスも半導体集積回路毎に作成し直す必要があった。そのため、開発期間が充分に短縮されないという問題点があった。
本発明の目的は、複数の機能モジュールを使用して半導体集積回路を構成する場合の開発期間を短縮できるようにする技術を提供することにある。
この発明の他の目的は、外部端子数を増加させることなく各モジュールのテストを行なえる技術を提供することにある。
この発明の前記ならびにそのほかの目的と新規な特徴については、本明細書の記述および添付図面から明らかになるであろう。
発明の開示
本願において開示される発明のうち代表的なものの概要を説明すれば、下記のとおりである。
すなわち、複数の機能モジュールを使用してシステムLSIなどの半導体集積回路を構成する場合に、各機能モジュールにはシフトスキャンパスが組み込まれる。また、各機能モジュールには、通常動作時の入出力端子と別に上記シフトスキャンパスに接続されたテスト用入出力端子が設けられる。さらに、半導体集積回路には、複数の機能モジュールの通常動作時の入出力端子をバスに接続するためのバスインターフェイス回路と、このバスインターフェイス回路のバス側入出力端子と各機能モジュールのテスト用入出力端子とを切り換えて外部端子に接続させる外部インターフェイス切換え回路と、この外部インターフェイス回路の切り換え制御を行なうインターフェイス制御回路とが設けられ、それらが1つの半導体チップ上に形成される。
また、上記インターフェイス制御回路として、IEEE1149.1規格で規定されているJTAGインターフェイスの制御回路が利用され、この制御回路に対するコマンドの一つとして上記外部インターフェイス切換え回路を切換え制御するための切換えコマンドが設けられる。上記インターフェイス制御回路はこの切換えコマンドが入力された場合、上記インターフェイス切換え回路を制御するための制御信号を形成するようにしたものである。
上記バスインターフェイス回路は、半導体集積回路の仕様に応じて入出力信号のレベルを変換したりタイミングを設定したり通信プロトコルを制御するものである。従来の半導体集積回路においては、半導体集積回路毎に異なる仕様のテスト用のインターフェイス回路を設計していたが、上記した手段によれば、半導体集積回路毎に異なる仕様のテスト用のインターフェイス回路を設計する必要がなくなる。さらに、スキャンパスに関しても各機能モジュールのテスト動作時の入出力端子を上記外部インターフェイス切換え回路に接続するパスを設けるだけで良い。そのため、従来のシフトスキャン方式を組み込んだ半導体集積回路のように半導体集積回路毎にスキャンパスやテストパターンを作成し直す必要がなくなる。従って、半導体集積回路の開発期間を大幅に短縮することができる。
また、上記外部インターフェイス切換え回路が、テスト動作時には上記モジュールのテスト用の入出力端子を上記外部端子に接続するので、外部端子数を増加させることなく各モジュールのテストを行なえる。さらに、インターフェイス制御回路として、IEEE1149.1規格で規定されているJTAGインターフェイスの制御回路を利用すれば汎用性を高めることができ、半導体集積回路の設計はもちろんテストも容易になる。
また、本発明では、IEEE1149.1規格によるJTAGインターフェイスを例として開示するが、同様の機能を有する専用インターフェイス制御回路を使用してもよい。また、これらのインターフェイス制御回路を有せず、中央処理装置で処理可能なテスト用コマンドを設け、当該コマンドにより、又は制御レジスタ等との組合せにより同様のテスト機能を実現しても良い。
発明を実施するため最良の形態
以下、本発明の好適な実施例を図面に基づいて説明する。
図1は、本発明を適用した半導体集積回路の一例としてのシステムLSIの一実施例のブロック図で、公知の半導体集積回路の製造技術により単結晶シリコンのような1個の半導体チップ100上に構成される。
図1には、システムLSIの一例として、マイクロプロセッサもしくはシングルチップ・マイクロコンピュータに本発明を適用した場合の概略構成が示されている。
図1の符号110〜140は上記半導体チップ100上に形成され所望の機能を有するシステムを構成する機能モジュール、150はこれらのモジュールと上記半導体チップ100の外部に設けられた外部装置との間の信号の入出力を行なうバスインターフェイス回路、160は信号を入出力するための複数の外部端子である。この外部端子160には外部バスが接続される。
マイクロプロセッサもしくはシングルチップ・マイクロコンピュータを構成する機能モジュールとしては、プログラムの命令を解読して対応する処理や演算を実行する中央処理ユニット(CPUコア)の他に、プログラムや固定データを格納する読出し専用メモリROMと、CPUの作業領域やデータの一次格納領域を提供する随時読出し書込み可能なメモリRAMと、バスの使用権の管理等を行なうバスコントローラと、シリアルコミュニケーションインターフェイス,タイマー回路,DMA(ダイレクトメモリアクセス)コントローラ,デジタル・アナログ変換回路,アナログ・デジタル変換回路などの周辺回路モジュール(IP)がある。図1においては、110がCPUコアであり、IP120〜140が上記周辺回路モジュールである。
この実施例のシステムLSIにおいては、上記各機能モジュール110〜140およびバスインターフェイス回路150と外部端子160との間に、バスインターフェイス回路150のための本来の信号パス170と、上記各機能モジュール110〜140へ直接信号の入出力を可能にするための直結パス171と、上記各機能モジュールのために設けられたシフトスキャン用のスキャンパス172,173,174,175とを切り換える外部インターフェイス切換え回路180と、この外部インターフェイス切換え回路180の切り換え制御信号を形成するインターフェイス制御回路190が設けられている。上記スキャンパス172〜175は、それぞれテストデータを入力するためのテストデータ入力配線(スキャンインパス)及びテストデータを出力するためのテストデータ出力配線(スキャンアウトパス)を含む。
上記インターフェイス制御回路190は、図7で説明されるように、テストモード制御信号TCK,TRST,TMS及びテストデータ入力信号TDI、テストデータ出力信号TDOのための複数の外部端子195に結合される。上記制御回路190は、IEEE1149.1規格で規定されているJTAG(Joint Test Action Group)のインターフェイス制御回路が使用され、この制御回路に対するコマンドの一つとして上記外部インターフェイス切換え回路180を切り換えるための切換えコマンドが設けられている。インターフェイス制御回路190は、この切換えコマンドが上記外部端子195から入力されると上記外部インターフェイス切換え回路180に対するインターフェイス切換え制御信号INCを形成して制御するように構成されている。
なお、図1において、上記モジュールの他に、ユーザが要求する論理機能を有する論理回路(いわゆるユーザ論理回路)がモジュールとして搭載されることもある。また、各モジュール110〜140に設けられるスキャンパスは1本に限定されるものでなく、各モジュール毎に必要に応じた本数だけ設けられても良い。そして、複数本のスキャンパスが設けられた場合、上記外部インターフェイス切換え回路180はそれぞれのスキャンパスに対するインターフェイスの切換えを行なうことになる。外部端子160がスキャンパスの本数以上あれば、これらのスキャンパスを同時にテストすることができる。
図2は、図1に示されているシステムLSIを構成する一つ一つの機能モジュール110〜140をその論理構成に着目して模式的に示したものである。
図2に示されているように、各機能モジュール110〜140は、ラッチ回路もしくはフリップフロップを含み、ある時点での出力がそのときの入力信号のみでは決定されず入力信号と直前の内部状態によって決定される順序回路210と、ある時点での出力がそのときの入力信号のみで決定されるデコーダや演算器などの組合せ回路220とで構成される。図2において、符号FF1〜FFnが付されているのは、順序回路210の論理を構成するとともにスキャンパス用のシフトレジスタを構成可能なフリップフロップである。
図2には、フリップフロップFF1〜FFnがスキャンパス用のシフトレジスタを構成している様子が示されている。231はこのシフトレジスタに対するテストデータのスキャンインパス、232はこのシフトレジスタからのデータのスキャンアウトパス、240はモジュール110〜140の本来の入出力信号である。入出力信号240は組合せ回路220に対して入力されたり出力されることもあるが、一般にはクロック信号に同期して動作する順序回路210に対して入力され、また出力信号は一旦フリップフロップにラッチされてから所定のタイミングで出力されることが多い。上記スキャンインパス231及びスキャンアウトパス232は、図1のスキャンパス171〜175のいずれかを構成するものとみなされる。
図3には、上記フリップフロップFF1〜FFnの具体例が示されている。同図に示すように、各フリップフロップは、マスタラッチMLTとスレーブラッチSLTのダブルラッチ構成とされている。
このうちマスタラッチMLTは、2つのデータ入力端子301,303と、データ入力端子301へのデータラッチタイミングを与えるクロックCK1の入力端子302と、データ入力端子303へのデータラッチタイミングを与えるクロックCK2の入力端子304とを備える。マスタラッチMLTは、上記データ端子301に入力されるデータ信号Dおよびその反転信号とクロック端子302に入力されるクロック信号CK1とを入力とするNANDゲートG1,G2と、上記データ端子303に入力されるデータ信号SINおよびその反転信号とクロック端子304に入力されるクロック信号CK2とを入力とするNANDゲートG5,G6、これらのNANDゲートG1,G2,G5,G6の出力信号を入力とし互いに出力端子が他方のゲートの入力端子の一つに交差結合されたNANDゲートG3,G4とにより構成されている。
マスタラッチMLTの上記データ入力端子301には、内部論理回路を構成する前段の論理ゲートからの信号Dが入力され、データ入力端子303にはスキャンパスを構成する前段のフリップフロップからの信号SINが入力される。
一方、スレーブラッチSLTは、上記マスタラッチMLTの出力ノードN1,N2に接続された2つのデータ入力端子と、該データ入力端子のデータラッチタイミングを与えるクロック端子306と、1つのデータ出力端子305とを備える。そして、スレーブラッチSLTは、マスタラッチMLTの出力信号とクロック端子306に入力されるクロック信号CK3とを入力とするNANDゲートG7,G8と、これらのNANDゲートG7,G8の出力信号を入力とし互いに出力端子が他方のゲートの入力端子の一つに交差結合されたNANDゲートG9,G10とにより構成されている。
このスレーブラッチSLTの出力端子305は、内部論理回路を構成する後段の論理ゲートの入力端子と、スキャンパスを構成する後段のフリップフロップのデータ入力端子に共通に接続される。このように接続されていても、マスタラッチMLTに対してクロックCK1またはCK2のいずれかを適切なタイミングで与えることで、通常動作時にスキャンパス上の前段フリップフロップからの信号をマスタラッチMLTに取り込んでしまうのを回避することができる。
なお、図3に示されているフリップフロップにおいては、通常動作時の信号の出力端子Qとスキャンテスト時の信号の出力端子SOUTとを共通にしているが、別々に出力端子を設けるようにしてもよいことはいうまでもない。
図4(a)には、内部スキャンパスを構成するフリップフロップFFi(i=1〜n)にテストデータをスキャン入力させて内部論理回路に供給する場合の各クロック信号CK1〜CK3とデータ信号SINのタイミングが、図4(b)には内部論理回路内の論理ゲートの出力(データD)をフリップフロップFFiに取り込み、取り込んだデータをスキャン出力させる場合の各クロック信号CK1〜CK3とデータ信号Dのタイミングが、また図4(c)には通常動作時に前段の論理ゲートの出力をフリップフロップFFiに取り込んで次段の論理ゲートに出力させる場合の各クロック信号GK1〜CK3とデータ信号Dのタイミングが示されている。
スキャンパスよりフリップフロップへテストデータをスキャン入力する際には、図4(a)に示すように、先ずクロックCK2でスキャンインデータの入力端子303のデータSINをマスタラッチMLTへ取り込んでから、クロックCK3でマスタラッチMLTの保持データをスレーブラッチSLTへ転送する。これを繰り返すことで、テストデータがスキャンパス上のフリップフロップFF1〜FFnによって次々とシフトされて行く。
テストデータのスキャン入力が終了すると、そのデータが本来の論理回路に入力され、その出力が変化する。その出力Dを、図4(b)に示すように、クロックCK1でデータ入力端子301よりマスタラッチMLTへ取り込んでから、クロックCK3でマスタラッチMLTの保持データをスレーブラッチSLTへ転送する。これにより内部論理回路内の論理ゲートの出力をデータ入力端子301よりフリップフロップに取り込むことができる。
次に、再びクロックCK2とCK3を交互にフリップフロップFF1〜FFnに与えることで、フリップフロップFF1〜FFnに取り込まれたデータをスキャンパスに沿ってシフトさせる。これによって、スキャンインデータに基づく内部論理回路の動作結果をスキャンパスを介して外部端子へ出力させることができる。
一方、通常動作時には図4(c)に示すタイミングによるデータ入力端子Dのデータの取込みとマスタラッチMLTからスレーブラッチSLTへのデータ転送を繰り返すことで論理動作を行なわせることができる。
図5は、図1に示されている外部インターフェイス切換え回路180の具体例である。
この実施例の外部インターフェイス切換え回路180は、複数のセレクタによって構成されている。図5には2つの外部端子161,162に対応して4つのセレクタ411〜414が示されているが、セレクタの数は4個に限定されるものでない。図5に示されている外部端子161,162は入力と出力で端子を共有する端子であるため、各外部端子毎にそれぞれ2つずつセレクタが設けられているが、入力専用または出力専用の端子ではそれぞれ1つずつセレクタが設けられる。
セレクタ411は、テスト時、切換え制御信号INCに応答して、
(1)モジュール110(CPUコア)に結合されたスキャンアウトパス(テスト信号出力配線)402からのテスト結果出力信号(スキャンアウト信号)、
(2)各モジュール120(130、140)に結合されたスキャンアウトパス(テスト信号出力配線)408からのテスト結果出力信号(スキャンアウト信号)、又は、
(3)上記モジュール110に結合された信号用配線403からの出力信号及び上記モジュール110に結合された信号用配線404の内、上記バスインターフェイス回路150を介さない出力信号を、
選択的に、上記外部端子161へ結合させるために設けられる。
一方、セレクタ411は、通常動作時、上記バスインターフェイス回路150に結合される通常信号配線170からの通常出力信号を、上記外部端子161へ出力させるために設けられる。
セレクタ412は、テスト時、外部端子161から入力されるテスト入力信号を、
(4)スキャンイン信号として、モジュール110(CPUコア)に結合されたスキャンインパス(テスト信号入力配線)401、
(5)スキャンイン信号として、モジュール120(130、140)に結合されたスキャンインパス(テスト信号入力配線)407、
(6)テスト信号として、モジュール110に結合された信号用配線403及び上記モジュール110に結合された信号用配線404へ、選択的に、供給するために設けられる。
一方、上記セレクタ412は、通常動作時、外部端子161から入力される通常入力信号を上記バスインターフェイス回路150に結合される通常信号配線170へ入力するために設けられる。
したがって、セレクタ411及び412には、図5において図示されるように、複数の機能モジュールのスキャンインパス及びスキャンアウトパスが接続されても良く、また、一の機能モジュールのスキャンインパス及びスキャンアウトパスに接続されても良い。
セレクタ413及び414は、外部端子162のために設けられ、上記機能モジュール110及び120以外の機能モジュール130又は140に結合される。
図5には複雑さをさけるために図示されていないが、以下のようにされる。
すなわち、セレクタ413は、テスト時、
(7)モジュール130又は140に結合されたスキャンアウトパス(テスト信号出力配線)からのテスト結果出力信号(スキャンアウト信号)、
(8)上記モジュール110、120、130又は140に結合された信号用配線(403、406などに対応する通常信号用配線)から選択された出力信号、及び、上記モジュール110、120、130又は140に結合された信号用配線(404、405などに対応する信号配線)の内、上記バスインターフェイス回路150を介さない出力信号を、
選択的に、上記外部端子162へ出力させるために設けられる。
一方、セレクタ413は、通常動作時、上記バスインターフェイス回路150に結合される通常信号配線170からの通常出力信号を、上記外部端子162へ結合させるために設けられる。すなわち、この場合、セレクタ413は、実施例の半導体集積回路の通常動作モードにおける機能を満足するように、外部端子162に信号出力機能を割り当てる。したがって、外部端子162の接続先は、上記モジュール110、120、130及び140から選択された任意の機能モジュールとされる。
セレクタ414は、テスト時、外部端子162から入力されるテスト入力信号を、
(9)スキャンイン信号として、モジュール130又は140に結合されたスキャンインパス(テスト信号入力配線)へ、又は、
(10)テスト入力信号として、外部端子162から入力される通常入力信号を、上記モジュール110、120、130又は140に結合された信号用配線(403、406などに対応する信号用配線)、及び、上記モジュール110、120、130又は140に結合された信号用配線(404、405などに対応する信号配線)へ、
選択的に、供給するために設けられる。
一方、上記セレクタ414は、通常動作時、外部端子162から入力される通常信号を、上記バスインターフェイス回路150に結合される通常信号配線170へ供給するために設けられる。すなわち、この場合、セレクタ414は、実施例の半導体集積回路の通常動作モードにおける機能を満足するように、外部端子162に信号入力機能を割り当てる。したがって、外部端子の162の接続先は、上記モジュール110、120、130及び140から選択された任意の機能モジュールとされる。
なお、図5において、421はセレクタ411の出力信号を外部端子161へ供給する出力バッファ回路、422は外部端子161から入力された信号をセレクタ412へ供給する入力バッファ回路、423はセレクタ413の出力信号を外部端子162へ供給する出力バッファ回路、424は外部端子162から入力された信号をセレクタ414へ供給する入力バッファ回路である。
上記セレクタ411〜414は、JTAGインターフェイス制御回路190からの複数の切換え制御信号INCによってその切換え動作が制御される。セレクタ411〜414による切換え動作によって、図6(a)〜(e)に示すような5つの入出力モードを達成することができる。以下各モードについて説明する。
(a)モジュール110(CPUコア)および周辺モジュール120の入出力端子を、バスインターフェイス回路150を介して外部端子161,162に接続する通常動作モード。このモードは、セレクタ411〜414の通常動作によって達成される。
(b)モジュール110(CPUコア)の入出力端子を、直接外部端子161,162に接続して入出力を行なって当該モジュールの機能をテストする単独CPUテストモード。このモードは、セレクタ411〜414の前記(3),(6),(8)及び(10)などの動作によって達成される。
(c)周辺モジュール120(130,140)の入出力端子を、直接外部端子161(162)に接続して入出力を行なって当該モジュールの機能をテストする単独周辺モジュールテストモード。このモードは、セレクタ413及び414の前記(8)及び(10)の動作によって達成される。
(d)モジュール110(CPUコア)のスキャンパス401,402を、直接外部端子161に接続してテスト信号のスキャンインおよびスキャンアウトを行なうCPUシフトスキャンテストモード。このモードは、セレクタ411及び412の前記(1)及び(5)の動作によって達成される。
(e)周辺モジュール120(130,140)のスキャンパス407,408を、直接外部端子161,162に接続してテスト信号のスキャンインおよびスキャンアウトを行なう周辺モジュールシフトスキャンテストモード。このモードは、セレクタ411〜414の前記(2),(5),(7)及び(9)の動作によって達成される。
図7は、図1に示されているJTAGインターフェイス制御回路190の具体例を示す。
JTAGインターフェイス制御回路190は、IEEE1149.1規格で規定されている内部シフトスキャンテストやバウンダリスキャンテスト回路のためのインターフェイスを達成する制御回路である。上記制御回路190は外部からシリアルに入力されるテストデータやコマンドの取り込み及びチップ内のモジュールからのテスト結果データのシリアル出力のためのTAP(Test Access Port)とされるコマンド・データ入出力回路510と、該入出力回路510を制御するTAPコントローラ520と、コマンド・データ入出力回路510により取り込まれた命令(コマンド)を解読し上記命令に対応するテスト制御を行なうテスト制御部530とから構成される。
TAPコントローラ520は、3つの専用外部端子501〜503に接続され、これらの端子501〜503から、テストモードを指定するためのテストモードセレクト信号TMS、テスト用クロックTCK、非同期リセット信号TRSTをそれぞれ入力可能に構成されている。TAPコントローラ520は、これらの信号TMS,TCK及びTRSTの信号レベルに基づいてコマンド・データ入出力回路510内のレジスタ511〜515やマルチプレクサ516を制御する制御信号5201を形成する。特に制限されるものでないが、TAPコントローラ520はテストモードセレクト信号TMSのパルスが1つ入るたびにテストモードの切り換えを行うように構成されている。
コマンド・データ入出力回路510は、入力ポート用端子504からのテストデータを出力ポート用端子505へシフトするときに使用するバイパスレジスタ511、入出力データのシリアル/パラレル変換を行なうシフトレジスタ512、内部のテスト方法を制御するコマンドが格納されるインストラクションレジスタ(SDIR)513、チップ固有の製造識別番号を設定するためのデバイスIDレジスタ(IDCODE)514、各モジュールへ特定の信号を伝える場合に使用するデータレジスタ(SDDR)515、バイパスレジスタ511とシフトレジスタ512のパスの切り換えを行なうマルチプレクサ516(MUX)等により構成されている。
また、コマンド・データ入出力回路510には、コマンドまたはデータTDIの入力端子504とテスト結果データTDOの出力端子505が設けられており、入力されたテストデータTDIは上記シフトレジスタ512を介して各レジスタ513〜515へ供給される。また、コマンド・データ入出力回路510内の上記レジスタ513〜515には信号線540を介してチップ内の各モジュールからの値を格納することができるように構成されている。
JTAG規格では、上記インストラクションレジスタ513に設定される命令として、幾つかの必須命令が用意されているが、その他にオプション命令を何個か設けることができるようにされている。この実施例では、そのオプション命令の一つとして上記外部インターフェイス切換え回路180を切換え制御するための切換えコマンドが設けられる。この切換えコマンドがデータ入力端子504よりコマンド・データ入出力回路510に入力されると、インストラクションレジスタ513に格納され、コマンドデコーダ531がこのコマンドをデコードする。テストモード判定回路532は、コマンドデータ531のデコード結果よりテストモードの種類とどのモジュールのテストが実行されるのかを判定し、例えば、外部インターフェイス切換え回路180の切換え制御信号INGを出力する。
テスト制御部530は、上記コマンドデコーダ531およびテストモード判定回路532の他に、他の半導体集積回路との信号のやり取りをテストするためのバウンダリスキャンパスを制御するバウンダリスキャン制御回路533と、シフトスキャンテストの際にスキャンパスを構成する前記フリップフロップ(図3)のスキャン用クロック信号CK2,CK3およびモニタ信号の取込みを行なわせるクロック信号CK1等、テスト用のクロック信号および制御信号を生成するテスト回路534が設けられている。
図1の実施例では説明しなかったが、このバウンダリスキャン制御回路533の制御機能を使用したバウンダリスキャンテストを行なう機能を半導体集積回路に持たせる場合には、例えば外部インターフェイス切換え回路180内にバウンダリスキャンパスを構成するシフトレジスタが設けられる。
図8は上述した実施例の変形例を示すもので、JTAGインターフェイス制御回路190をモジュール110(CPUコア)内に一体に設けたものである。このように構成することにより、一旦かかるインターフェイス制御回路内蔵モジュールを設計すれば、それをデータベース等に登録しておくことにより、他のシステムLSIを開発する際にこのモジュールを使用することでインターフェイス制御回路を設計する手間も省くことができる。インターフェイス制御回路を一体に設けておくモジュールはCPUコアに限定されず、任意の周辺モジュールであってもよい。特にシステムLSIを開発する際に使用される頻度が高いモジュールが最も望ましい。
図9は、本発明を適用したシステムLSIの他の実施例を示す。この実施例は、モジュール内部のスキャンパス(401,402)の他に、モジュール周りの信号すなわち外部端子を介してモジュールに入出力される信号(403,404)およびモジュール間の信号(803)をラッチするフリップフロップ801を設け、これらを直列形態に接続してテスト信号をスキャンインしたりモニタ信号をスキャンアウトするスキャンパス(802)を設け、このスキャンパスも外部インターフェイス切換え回路180で切り換える他の信号パスと切り換えることができるようにしたものである。
なお、このモジュール周りの信号のスキャンパスの制御は、図7に示されているバウンダリスキャン制御回路533の機能を用いて行なうようにすることも可能である。モジュール内部のスキャンパスは、そのスキャンパスを構成するフリップフロップよりも後段の論理ゲートの出力信号をモニタすることができないが、図9のようにモジュール周りの信号をモニタ可能なスキャンパスを設けることにより、より確実なテストを行なうことができる。本実施例と図1の実施例と組み合わせて適用する場合、図9の信号パス403,404上の信号をラッチするフリップフロップは省略して純粋なモジュール間の信号のみモニタするフリップフロップからなるスキャンパスを設けるようにしてもよい。
以上本発明者によってなされた発明を実施例に基づき具体的に説明したが、本発明は上記実施例に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。例えば上記実施例ではシフトスキャンテストの際のスキャンインデータを外部端子160から外部インターフェイス切換え回路180を介して各スキャンパスに入れるようにしているが、チップ内部にランダムパターン発生回路のようなテスト信号を発生する回路を設けてそこから各スキャンパスにテスト信号を入れるように構成することも可能である。
また、インターフェイス制御回路として、IEEE1149.1規格によるJTAGインターフェイスに代わり、専用のインターフェイス制御回路を用いて外部インターフェイス切換え回路の制御等を行うことも可能である。更に、インターフェイス制御回路を有する代わりに、中央処理装置が実行可能なテスト用コマンドを予め組み込んでおき、当該コマンドの実行により又は制御レジスタ等との組み合わせにより、中央処理装置又は、テスト用の制御回路が、外部インターフェイス切換え回路の制御等を行うことも可能である。
産業上の利用可能性
以上の説明では主として本発明者によってなされた発明をその背景となったマイクロプロセッサないしはシングルチップ・マイクロコンピュータを例にとって説明したが、この発明はそれに限定されず、複数のモジュールを内蔵するLSIに広く利用することができる。
発明の効果
本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。
すなわち、本発明に従うと、複数の機能モジュールを使用してシステムLSIを構成する場合の開発期間を短縮することができる。また、外部インターフェイス切換え回路が、テスト動作時には上記モジュールのテスト用の入出力端子を外部端子に接続するので、外部端子数を増加させることなく各モジュールのテストを行なえる。
【図面の簡単な説明】
図1は、本発明を適用して好適な半導体集積回路の一実施例のブロック図である。
図2は、半導体集積回路を構成する機能モジュールの概略構成を示す概念図である。
図3は、シフトスキャン方式のテスト用シフトレジスタを構成可能なフリップフロップの具体例を示す論理構成図である。
図4は、シフトスキャン用のフリップフロップの動作タイミングを示すタイミングチャートである。
図5は、外部インターフェイス切換え回路の構成と機能モジュールとの関係を表わす概略構成図である。
図6は、本発明を適用した半導体集積回路における信号パスの切換え状態を示す説明図である。
図7は、JTAGインターフェイス制御回路の構成例を示すブロック図である。
図8は、本発明の他の実施例を示すブロック図である。
図9は、本発明を適用した半導体集積回路における機能モジュール間の信号の観測方法の一例を示す説明図である。Technical field
The present invention relates to a test technique in a semiconductor integrated circuit (IC), and more particularly, to a data processing apparatus constituted by a plurality of functional modules, a microprocessor, and a system LSI (Large Scale Integration) such as a single-chip microcomputer. The present invention relates to a technique that is effective when applied to a test method.
Background art
Semiconductor integrated circuits have gradually increased in logical scale that can be mounted on one semiconductor chip due to the development of microfabrication technology. Therefore, there is also provided a semiconductor integrated circuit (hereinafter also referred to as a system LSI) in which system functions such as a microprocessor and a single chip microcomputer that have been conventionally realized by a plurality of chips are mounted on one semiconductor chip. It ’s coming.
When a circuit having various functions such as a central processing unit (CPU), a read only memory (ROM), and a random access memory (RAM) is mounted on one semiconductor chip, the way of coupling to each other is determined. It is efficient to design each function separately. Then, a circuit block designed to have such a predetermined function (referred to as a functional module in this specification) is registered in a database or the like, and is registered when a similar semiconductor integrated circuit is developed later. A semiconductor integrated circuit satisfying a desired specification can be obtained by selecting and combining modules having a desired function from a plurality of modules. Therefore, the use of the database as described above is extremely effective for shortening the development period.
In the development of a logic integrated circuit such as a data processor or a single chip microcomputer, a logic test is performed at the final stage of development in order to verify (failure detection) whether the internal logic circuit operates as expected. For testing a small-scale logic integrated circuit, a method of inputting a test pattern and comparing an output signal with an expected value can be applied. However, in a large-scale logic integrated circuit, the test pattern becomes enormous and the failure detection rate decreases. For this reason, some logic integrated circuits such as system LSIs are provided with a shift scan test function.
The shift scan type test circuit connects a plurality of flip-flops constituting a logic circuit in a serial form so that a shift register can be configured. At the time of testing, test data is scanned into the shift register from the input pin, and the data is directly inserted into the logic circuit to operate, and the data held in the flip-flop at a certain point is used by the shift register. This technology enables efficient testing by scanning out the output pin.
Problems to be solved by the invention
As a method for testing a logic integrated circuit composed of a plurality of functional modules, a method of inspecting by inputting an input / output terminal of each module to an external terminal and inputting a test pattern for each module can be considered. Although this method has an advantage that a test pattern created once can be used, there is a problem in that the number of terminals is greatly increased, and consequently the chip size is increased.
It is also conceivable to shorten the development period by providing a test circuit of a shift scan method for each functional module and reusing the test pattern once created when developing another semiconductor integrated circuit. However, in the technology for developing a semiconductor integrated circuit by combining a plurality of functional modules, the test interface circuit is different for each semiconductor integrated circuit, that is, an interface circuit having a different specification for each semiconductor integrated circuit is designed. Campus had to be recreated for each semiconductor integrated circuit. Therefore, there has been a problem that the development period is not sufficiently shortened.
An object of the present invention is to provide a technique capable of shortening the development period when a semiconductor integrated circuit is configured using a plurality of functional modules.
Another object of the present invention is to provide a technique capable of testing each module without increasing the number of external terminals.
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
Disclosure of the invention
Outlines of representative ones of the inventions disclosed in the present application will be described as follows.
That is, when a semiconductor integrated circuit such as a system LSI is configured using a plurality of functional modules, a shift scan path is incorporated in each functional module. Each functional module is provided with a test input / output terminal connected to the shift scan path separately from the input / output terminal during normal operation. Further, the semiconductor integrated circuit includes a bus interface circuit for connecting input / output terminals of a plurality of functional modules during normal operation to the bus, a bus-side input / output terminal of the bus interface circuit, and a test input for each functional module. An external interface switching circuit for switching the output terminal to connect to the external terminal and an interface control circuit for performing switching control of the external interface circuit are provided, and these are formed on one semiconductor chip.
As the interface control circuit, a JTAG interface control circuit defined by the IEEE 1149.1 standard is used, and a switching command for switching the external interface switching circuit is provided as one of the commands to the control circuit. It is done. The interface control circuit generates a control signal for controlling the interface switching circuit when this switching command is input.
The bus interface circuit converts the level of input / output signals, sets the timing, and controls the communication protocol according to the specifications of the semiconductor integrated circuit. In conventional semiconductor integrated circuits, test interface circuits with different specifications are designed for each semiconductor integrated circuit. However, according to the above means, test interface circuits with different specifications are designed for each semiconductor integrated circuit. There is no need to do it. Further, with respect to the scan path, it is only necessary to provide a path for connecting the input / output terminals during the test operation of each functional module to the external interface switching circuit. Therefore, there is no need to recreate a scan path or a test pattern for each semiconductor integrated circuit as in a semiconductor integrated circuit incorporating a conventional shift scan method. Therefore, the development period of the semiconductor integrated circuit can be greatly shortened.
Further, since the external interface switching circuit connects the test input / output terminals of the module to the external terminals during the test operation, each module can be tested without increasing the number of external terminals. Furthermore, if a JTAG interface control circuit defined by the IEEE 1149.1 standard is used as the interface control circuit, versatility can be enhanced, and the test of the semiconductor integrated circuit can be easily made.
In the present invention, a JTAG interface according to the IEEE 1149.1 standard is disclosed as an example, but a dedicated interface control circuit having a similar function may be used. Further, a test command that can be processed by the central processing unit without providing these interface control circuits may be provided, and the same test function may be realized by the command or in combination with a control register or the like.
BEST MODE FOR CARRYING OUT THE INVENTION
Preferred embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram of an embodiment of a system LSI as an example of a semiconductor integrated circuit to which the present invention is applied. On a
FIG. 1 shows a schematic configuration when the present invention is applied to a microprocessor or a single chip microcomputer as an example of a system LSI.
Functional modules that make up a microprocessor or single-chip microcomputer include a central processing unit (CPU core) that decodes program instructions and executes the corresponding processes and operations, as well as reads that store programs and fixed data Dedicated memory ROM, memory RAM that can be read and written as needed to provide the work area of the CPU and the primary storage area of data, a bus controller that manages bus usage rights, serial communication interface, timer circuit, DMA (direct There are peripheral circuit modules (IP) such as a (memory access) controller, a digital / analog conversion circuit, and an analog / digital conversion circuit. In FIG. 1, 110 is a CPU core, and
In the system LSI of this embodiment, the
The
In FIG. 1, in addition to the module, a logic circuit (so-called user logic circuit) having a logic function requested by a user may be mounted as a module. Further, the number of scan paths provided in each of the
FIG. 2 schematically shows each of the
As shown in FIG. 2, each of the
FIG. 2 shows a state in which the flip-flops FF1 to FFn constitute a scan path shift register. 231 is a scan-in path for test data to the shift register, 232 is a scan-out path for data from the shift register, and 240 is an original input / output signal of the
FIG. 3 shows a specific example of the flip-flops FF1 to FFn. As shown in the figure, each flip-flop has a double latch configuration of a master latch MLT and a slave latch SLT.
Among them, the master latch MLT has two
The
On the other hand, the slave latch SLT includes two data input terminals connected to the output nodes N1 and N2 of the master latch MLT, a
The
In the flip-flop shown in FIG. 3, the output terminal Q for signals during normal operation and the output terminal SOUT for signals during a scan test are shared, but separate output terminals should be provided. It goes without saying.
FIG. 4A shows the clock signals CK1 to CK3 and the data signal SIN when the test data is scan-inputted to the flip-flops FFi (i = 1 to n) constituting the internal scan path and supplied to the internal logic circuit. In FIG. 4B, the clock signal CK1 to CK3 and the data signal D when the output (data D) of the logic gate in the internal logic circuit is fetched into the flip-flop FFi and the fetched data are scanned and output are shown in FIG. FIG. 4C shows the timing of the clock signals GK1 to CK3 and the data signal D when the output of the preceding logic gate is taken into the flip-flop FFi and output to the next logic gate in normal operation. It is shown.
When the test data is scan-inputted from the scan path to the flip-flop, as shown in FIG. 4A, first, the data SIN of the scan-in
When the scan input of the test data is completed, the data is input to the original logic circuit, and the output changes. As shown in FIG. 4B, the output D is taken into the master latch MLT from the
Next, the clocks CK2 and CK3 are alternately supplied to the flip-flops FF1 to FFn, thereby shifting the data taken in the flip-flops FF1 to FFn along the scan path. As a result, the operation result of the internal logic circuit based on the scan-in data can be output to the external terminal via the scan path.
On the other hand, during normal operation, logical operation can be performed by repeatedly taking in data at the data input terminal D at the timing shown in FIG. 4C and transferring data from the master latch MLT to the slave latch SLT.
FIG. 5 is a specific example of the external
The external
In the test, the
(1) a test result output signal (scanout signal) from a scanout path (test signal output wiring) 402 coupled to the module 110 (CPU core);
(2) a test result output signal (scanout signal) from a scanout path (test signal output wiring) 408 coupled to each module 120 (130, 140), or
(3) An output signal from the
Optionally, it is provided for coupling to the
On the other hand, the
The
(4) As a scan-in signal, a scan-in path (test signal input wiring) 401 coupled to the module 110 (CPU core),
(5) As a scan-in signal, a scan-in path (test signal input wiring) 407 coupled to the module 120 (130, 140),
(6) Provided as a test signal to selectively supply the
On the other hand, the
Therefore, the
The
Although not shown in FIG. 5 to avoid complexity, the following is done.
That is, the
(7) a test result output signal (scanout signal) from a scanout path (test signal output wiring) coupled to the
(8) The output signal selected from the signal wiring (normal signal wiring corresponding to 403, 406, etc.) coupled to the
Optionally, it is provided for outputting to the
On the other hand, the
The
(9) As a scan-in signal, to a scan-in path (test signal input wiring) coupled to the
(10) As a test input signal, a normal input signal input from the
Optionally provided for feeding.
On the other hand, the
In FIG. 5, 421 is an output buffer circuit for supplying the output signal of the
The
(A) A normal operation mode in which the input / output terminals of the module 110 (CPU core) and the
(B) A single CPU test mode in which the input / output terminals of the module 110 (CPU core) are directly connected to the
(C) A single peripheral module test mode in which the input / output terminals of the peripheral module 120 (130, 140) are directly connected to the external terminal 161 (162) to perform input / output to test the function of the module. This mode is achieved by the operations (8) and (10) of the
(D) CPU shift scan test mode in which scan
(E) Peripheral module shift scan test mode in which the
FIG. 7 shows a specific example of the JTAG
The JTAG
The TAP controller 520 is connected to three dedicated
The command / data input /
Further, the command / data input /
In the JTAG standard, some essential instructions are prepared as instructions set in the
In addition to the
Although not described in the embodiment of FIG. 1, when the semiconductor integrated circuit has a function of performing a boundary scan test using the control function of the boundary
FIG. 8 shows a modification of the above-described embodiment, in which a JTAG
FIG. 9 shows another embodiment of a system LSI to which the present invention is applied. In this embodiment, in addition to the scan paths (401, 402) inside the module, signals around the module, that is, signals (403, 404) input / output to / from the module via external terminals and signals (803) between the modules are displayed. A flip-
Note that the scan path control of the signals around the module can be performed by using the function of the boundary
The invention made by the present inventor has been specifically described based on the embodiments. However, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Nor. For example, in the above embodiment, the scan-in data at the time of the shift scan test is input from the
As an interface control circuit, it is also possible to control an external interface switching circuit using a dedicated interface control circuit instead of the JTAG interface according to the IEEE 1149.1 standard. Further, instead of having an interface control circuit, a test command that can be executed by the central processing unit is incorporated in advance, and the central processing unit or the test control circuit is executed by executing the command or in combination with a control register or the like. However, it is also possible to control the external interface switching circuit.
Industrial applicability
In the above description, the invention made mainly by the present inventor has been explained by taking the microprocessor or single chip microcomputer as the background as an example. However, the present invention is not limited to this and is widely applied to LSIs incorporating a plurality of modules. Can be used.
The invention's effect
The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.
That is, according to the present invention, the development period when a system LSI is configured using a plurality of functional modules can be shortened. In addition, since the external interface switching circuit connects the test input / output terminals of the module to the external terminals during the test operation, each module can be tested without increasing the number of external terminals.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of a preferred semiconductor integrated circuit to which the present invention is applied.
FIG. 2 is a conceptual diagram showing a schematic configuration of functional modules constituting the semiconductor integrated circuit.
FIG. 3 is a logical configuration diagram illustrating a specific example of a flip-flop capable of configuring a shift scan type test shift register.
FIG. 4 is a timing chart showing the operation timing of the shift scan flip-flop.
FIG. 5 is a schematic configuration diagram showing the relationship between the configuration of the external interface switching circuit and the functional modules.
FIG. 6 is an explanatory diagram showing a signal path switching state in a semiconductor integrated circuit to which the present invention is applied.
FIG. 7 is a block diagram illustrating a configuration example of the JTAG interface control circuit.
FIG. 8 is a block diagram showing another embodiment of the present invention.
FIG. 9 is an explanatory diagram showing an example of a method for observing signals between functional modules in a semiconductor integrated circuit to which the present invention is applied.
Claims (4)
上記テスト端子に結合され、上記コマンドに応答して制御信号を供給するテスト制御回路と、
テストデータ入力端子、テストデータ出力端子及び複数の信号端子とを有する機能モジュールと、
上記複数の信号端子に結合される入力を有するバスインターフェイス回路と、
上記テストデータ入力端子に結合される出力と上記バスインターフェイス回路に結合される出力とを有する第1セレクタと、上記テストデータ出力端子に結合される入力と上記バスインターフェイス回路に結合される入力とを有する第2セレクタと、を含む切換え回路と、
上記第1セレクタの入力と上記第2セレクタの出力とに結合された外部端子と、を含み、
上記第1セレクタは、上記制御信号に応答して、上記外部端子を上記テストデータ入力端子に結合される出力へ接続し、
上記第2セレクタは、上記制御信号に応答して、上記テストデータ出力端子に結合される入力を上記外部端子へ接続する
半導体集積回路。A test terminal to which commands are supplied serially;
A test control circuit coupled to the test terminal for supplying a control signal in response to the command;
A functional module having a test data input terminal, a test data output terminal, and a plurality of signal terminals;
A bus interface circuit having an input coupled to the plurality of signal terminals;
A first selector having an output coupled to the test data input terminal and an output coupled to the bus interface circuit; an input coupled to the test data output terminal; and an input coupled to the bus interface circuit. A switching circuit including a second selector,
An external terminal coupled to the input of the first selector and the output of the second selector,
The first selector is responsive to the control signal to connect the external terminal to an output coupled to the test data input terminal;
Said second selector, a semiconductor integrated circuit connected in response to the control signal, the input that will be coupled to the test data output terminal to the external terminals.
上記テスト端子に結合され、上記コマンドに応答して制御信号を供給するテスト制御回路と、
第1テストデータ入力端子、第1テストデータ出力端子及び複数の第1信号端子とを有する第1機能モジュールと、
第2テストデータ入力端子、第2テストデータ出力端子及び複数の第2信号端子とを有する第2機能モジュールと、
上記複数の第1信号端子に結合される第1入力と上記複数の第2信号端子に結合される第2入力を有するバスインターフェイス回路と、
上記第1テストデータ入力端子に結合される第1出力と上記バスインターフェイス回路の第1入力に結合される第2出力とを有する第1セレクタと、上記第1テストデータ出力端子に結合される第1入力と上記バスインターフェイス回路の第1出力に結合される第2入力とを有する第2セレクタと、上記第2テストデータ入力端子に結合される第3出力と上記バスインターフェイス回路の第2入力に結合される第4出力とを有する第3セレクタと、上記第2テストデータ出力端子に結合される第3入力と上記バスインターフェイス回路の第2出力に結合される第4入力とを有する第4セレクタと、を含む切換え回路と、
上記第1セレクタの入力と上記第2セレクタの出力とに結合された第1外部端子と、
上記第3セレクタの入力と上記第4セレクタの出力とに結合された第2外部端子と、を含み、
上記第1セレクタは、上記制御信号に応答して、上記第1外部端子を上記第1出力へ接続し、
上記第2セレクタは、上記制御信号に応答して、上記第1入力を上記第1外部端子へ接続し、
上記第3セレクタは、上記制御信号に応答して、上記第2外部端子を上記第3出力へ接続し、
上記第4セレクタは、上記制御信号に応答して、上記第3入力を上記第2外部端子へ接続する、
半導体集積回路。A test terminal to which commands are supplied serially;
A test control circuit coupled to the test terminal for supplying a control signal in response to the command;
A first functional module having a first test data input terminal, a first test data output terminal, and a plurality of first signal terminals;
A second functional module having a second test data input terminal, a second test data output terminal, and a plurality of second signal terminals;
A bus interface circuit having a first input coupled to the plurality of first signal terminals and a second input coupled to the plurality of second signal terminals;
A first selector having a first output coupled to the first test data input terminal and a second output coupled to a first input of the bus interface circuit; and a first selector coupled to the first test data output terminal. A second selector having one input and a second input coupled to the first output of the bus interface circuit; a third output coupled to the second test data input terminal; and a second input of the bus interface circuit. A fourth selector having a fourth output coupled, a third input coupled to the second test data output terminal, and a fourth input coupled to the second output of the bus interface circuit; A switching circuit including:
A first external terminal coupled to the input of the first selector and the output of the second selector;
A second external terminal coupled to the input of the third selector and the output of the fourth selector,
In response to the control signal, the first selector connects the first external terminal to the first output,
In response to the control signal, the second selector connects the first input to the first external terminal,
In response to the control signal, the third selector connects the second external terminal to the third output,
The fourth selector connects the third input to the second external terminal in response to the control signal.
Semiconductor integrated circuit.
第2テストデータ入力端子、第2テストデータ出力端子及び複数の第2信号端子とを有する第2機能モジュールと、
上記複数の第1信号端子に結合される第1入力と上記複数の第2信号端子に結合される第2入力を有するバスインターフェイス回路と、
外部端子と、
上記第1テストデータ入力端子及び第1テストデータ出力端子を上記外部端子へ結合する第1モードと、上記第2テストデータ入力端子及び上記第2テストデータ出力端子を上記外部端子へ結合する第2モードと、上記複数の第1信号端子を上記外部端子へ結合する第3モードと、上記複数の第2信号端子を上記外部端子へ結合する第4モードと、上記バスインターフェイス回路の出力を上記外部端子へ結合する第5モードと、を有する切換え回路と、
を含む半導体集積回路。A first functional module having a first test data input terminal, a first test data output terminal, and a plurality of first signal terminals;
A second functional module having a second test data input terminal, a second test data output terminal, and a plurality of second signal terminals;
A bus interface circuit having a first input coupled to the plurality of first signal terminals and a second input coupled to the plurality of second signal terminals;
An external terminal,
A first mode for coupling the first test data input terminal and the first test data output terminal to the external terminal; and a second mode for coupling the second test data input terminal and the second test data output terminal to the external terminal. A mode, a third mode for coupling the plurality of first signal terminals to the external terminal, a fourth mode for coupling the plurality of second signal terminals to the external terminal, and an output of the bus interface circuit for the external A switching circuit having a fifth mode coupled to the terminal;
A semiconductor integrated circuit.
上記テスト端子に結合され、上記コマンドに応答して制御信号を供給するテスト制御回路と、をさらに含み、
上記切換え回路は、上記制御信号にしたがって上記第1乃至第5モードを制御される、
請求項3に記載の半導体集積回路。A test terminal to which commands are supplied serially;
A test control circuit coupled to the test terminal and providing a control signal in response to the command;
The switching circuit is controlled in the first to fifth modes according to the control signal .
The semiconductor integrated circuit according to claim 3 .
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP1999/002755 WO2000073809A1 (en) | 1999-05-26 | 1999-05-26 | Semiconductor integrated circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP3966453B2 true JP3966453B2 (en) | 2007-08-29 |
Family
ID=14235789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001500877A Expired - Fee Related JP3966453B2 (en) | 1999-05-26 | 1999-05-26 | Semiconductor integrated circuit |
Country Status (4)
Country | Link |
---|---|
US (1) | US7013415B1 (en) |
JP (1) | JP3966453B2 (en) |
TW (1) | TW476123B (en) |
WO (1) | WO2000073809A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2105752A1 (en) | 2008-03-28 | 2009-09-30 | Fujitsu Limited | Scan control method, scan control circuit and apparatus |
KR101016733B1 (en) * | 2008-03-28 | 2011-02-25 | 후지쯔 가부시끼가이샤 | Scan control method, scan control circuit and apparatus |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW484016B (en) * | 1999-07-28 | 2002-04-21 | Hitachi Ltd | Semiconductor integrated circuit and recording medium |
DE10162310A1 (en) * | 2001-12-19 | 2003-07-03 | Philips Intellectual Property | Method for signal transmission e.g. for small computers in credit card format, signal transmission takes place via smart card controller |
JP2005283206A (en) * | 2004-03-29 | 2005-10-13 | Nec Micro Systems Ltd | Semiconductor device and its test method |
GB0420442D0 (en) * | 2004-09-14 | 2004-10-20 | Ignios Ltd | Debug in a multicore architecture |
US9038070B2 (en) | 2004-09-14 | 2015-05-19 | Synopsys, Inc. | Debug in a multicore architecture |
US7610526B2 (en) * | 2005-01-24 | 2009-10-27 | Hewlett-Packard Development Company, L.P. | On-chip circuitry for bus validation |
GB0526448D0 (en) * | 2005-12-23 | 2006-02-08 | Advanced Risc Mach Ltd | Diagnostic mode switching |
JP5329743B2 (en) * | 2006-01-12 | 2013-10-30 | ルネサスエレクトロニクス株式会社 | Semiconductor integrated circuit device |
JP2008089545A (en) * | 2006-10-05 | 2008-04-17 | Matsushita Electric Ind Co Ltd | Analyzer |
US7949918B2 (en) * | 2008-07-24 | 2011-05-24 | International Business Machines Corporation | Asynchronous communication using standard boundary architecture cells |
US7890824B2 (en) * | 2008-07-24 | 2011-02-15 | International Business Machines Corporation | Asynchronous communication apparatus using JTAG test data registers |
US8074132B2 (en) * | 2008-10-28 | 2011-12-06 | Broadcom Corporation | Protecting data on integrated circuit |
CN102043124B (en) * | 2009-10-12 | 2013-07-17 | 炬力集成电路设计有限公司 | Integrated circuit with scan chains |
US8578224B2 (en) * | 2011-12-31 | 2013-11-05 | Texas Instruments Incorporated | High density flip-flop with asynchronous reset |
EP2748622B1 (en) * | 2012-05-10 | 2016-08-10 | Telefonaktiebolaget LM Ericsson (publ) | Method for testing a multi-chip system or a single chip and system thereof |
US9500700B1 (en) * | 2013-11-15 | 2016-11-22 | Xilinx, Inc. | Circuits for and methods of testing the operation of an input/output port |
US9810739B2 (en) * | 2015-10-27 | 2017-11-07 | Andes Technology Corporation | Electronic system, system diagnostic circuit and operation method thereof |
JP6782134B2 (en) * | 2016-09-26 | 2020-11-11 | ラピスセミコンダクタ株式会社 | Scan circuits, collective scan circuits, semiconductor devices, and semiconductor device inspection methods |
Family Cites Families (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4698588A (en) * | 1985-10-23 | 1987-10-06 | Texas Instruments Incorporated | Transparent shift register latch for isolating peripheral ports during scan testing of a logic circuit |
JPS63241372A (en) * | 1987-03-27 | 1988-10-06 | Mitsubishi Electric Corp | Logic circuit |
US4860290A (en) * | 1987-06-02 | 1989-08-22 | Texas Instruments Incorporated | Logic circuit having individually testable logic modules |
JPH01112180A (en) * | 1987-10-26 | 1989-04-28 | Matsushita Electric Ind Co Ltd | Self-test circuit |
JP2628195B2 (en) | 1988-08-05 | 1997-07-09 | アルプス電気株式会社 | Recording device |
DE68921269T2 (en) * | 1988-09-07 | 1995-06-22 | Texas Instruments Inc | Integrated test circuit. |
US5029166A (en) | 1989-05-31 | 1991-07-02 | At&T Bell Laboratories | Method and apparatus for testing circuit boards |
JP2676169B2 (en) * | 1989-12-27 | 1997-11-12 | 三菱電機株式会社 | Scan path circuit |
JP2627464B2 (en) * | 1990-03-29 | 1997-07-09 | 三菱電機株式会社 | Integrated circuit device |
JP3100605B2 (en) * | 1990-05-09 | 2000-10-16 | 日本電信電話株式会社 | LSI block division test method |
JPH04328475A (en) * | 1991-04-30 | 1992-11-17 | Toshiba Corp | Semiconductor device with testing circuit |
US5412260A (en) * | 1991-05-03 | 1995-05-02 | Lattice Semiconductor Corporation | Multiplexed control pins for in-system programming and boundary scan state machines in a high density programmable logic device |
JPH06509643A (en) * | 1991-08-08 | 1994-10-27 | シーメンス アクチエンゲゼルシヤフト | Method for testing integrated circuits having at least one logic circuit and testable integrated circuits |
JP2741119B2 (en) * | 1991-09-17 | 1998-04-15 | 三菱電機株式会社 | Bypass scan path and integrated circuit device using the same |
JPH0627200A (en) | 1992-07-08 | 1994-02-04 | Hitachi Ltd | Semiconductor integrated circuit device |
JPH0682529A (en) * | 1992-09-01 | 1994-03-22 | Mitsubishi Electric Corp | Semiconductor integrated circuit and designing method of test pattern therefor |
JPH0694800A (en) * | 1992-09-11 | 1994-04-08 | Sanyo Electric Co Ltd | Test circuit |
JP3247937B2 (en) * | 1992-09-24 | 2002-01-21 | 株式会社日立製作所 | Logic integrated circuit |
TW253031B (en) * | 1993-12-27 | 1995-08-01 | At & T Corp | |
JP2658894B2 (en) * | 1994-08-04 | 1997-09-30 | 日本電気株式会社 | Scan path circuit |
US5592493A (en) * | 1994-09-13 | 1997-01-07 | Motorola Inc. | Serial scan chain architecture for a data processing system and method of operation |
JPH08286942A (en) * | 1995-04-10 | 1996-11-01 | Matsushita Electron Corp | Semiconductor circuit device |
CN1089441C (en) * | 1995-06-07 | 2002-08-21 | 三星电子株式会社 | Method and apparatus for testing a megacell in an ASIC using JTAG |
JPH09243709A (en) * | 1996-03-07 | 1997-09-19 | Fujitsu Ten Ltd | Lsi testing circuit |
JP3961607B2 (en) * | 1997-03-04 | 2007-08-22 | 株式会社東芝 | Integrated circuit device test circuit and test method |
JPH1183956A (en) * | 1997-06-30 | 1999-03-26 | Texas Instr Inc <Ti> | Integrated circuit |
JPH1138088A (en) * | 1997-07-15 | 1999-02-12 | Fujitsu Ltd | Testing method for semiconductor integrated circuit device and semiconductor integrated circuit device |
US6408413B1 (en) * | 1998-02-18 | 2002-06-18 | Texas Instruments Incorporated | Hierarchical access of test access ports in embedded core integrated circuits |
US6405335B1 (en) * | 1998-02-25 | 2002-06-11 | Texas Instruments Incorporated | Position independent testing of circuits |
US6115763A (en) * | 1998-03-05 | 2000-09-05 | International Business Machines Corporation | Multi-core chip providing external core access with regular operation function interface and predetermined service operation services interface comprising core interface units and masters interface unit |
US6425100B1 (en) * | 1998-04-24 | 2002-07-23 | Texas Instruments Incorporated | Snoopy test access port architecture for electronic circuits including embedded core with built-in test access port |
US6425101B1 (en) * | 1998-10-30 | 2002-07-23 | Infineon Technologies North America Corp. | Programmable JTAG network architecture to support proprietary debug protocol |
US6266793B1 (en) * | 1999-02-26 | 2001-07-24 | Intel Corporation | JTAG boundary scan cell with enhanced testability feature |
-
1999
- 1999-05-26 WO PCT/JP1999/002755 patent/WO2000073809A1/en active Application Filing
- 1999-05-26 JP JP2001500877A patent/JP3966453B2/en not_active Expired - Fee Related
- 1999-05-26 US US09/979,333 patent/US7013415B1/en not_active Expired - Fee Related
- 1999-06-10 TW TW088109717A patent/TW476123B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2105752A1 (en) | 2008-03-28 | 2009-09-30 | Fujitsu Limited | Scan control method, scan control circuit and apparatus |
KR101016733B1 (en) * | 2008-03-28 | 2011-02-25 | 후지쯔 가부시끼가이샤 | Scan control method, scan control circuit and apparatus |
Also Published As
Publication number | Publication date |
---|---|
US7013415B1 (en) | 2006-03-14 |
TW476123B (en) | 2002-02-11 |
WO2000073809A1 (en) | 2000-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3966453B2 (en) | Semiconductor integrated circuit | |
US9547042B2 (en) | IR enabled gating of TAP and WSP shift, capture, transfer | |
US9222975B2 (en) | IC core DDR separate test controller, selector, scan router circuitry | |
US8412992B2 (en) | IR output of mode-1 and ATC enable; ATC gating of shift-1 | |
US9116207B2 (en) | IC gating selection on first/second and deselection on second/third counts | |
US6311302B1 (en) | Method and arrangement for hierarchical control of multiple test access port control modules | |
JP2004500712A (en) | Hierarchical test circuit structure for chip with many circuit blocks | |
US6334198B1 (en) | Method and arrangement for controlling multiply-activated test access port control modules | |
JP2742740B2 (en) | Bypass scan path and integrated circuit device using the same | |
US20030046625A1 (en) | Method and apparatus for efficient control of multiple tap controllers | |
US7404129B2 (en) | TAP IR control with TAP/WSP or WSP DR control | |
JP2002373086A (en) | Semiconductor integrated circuit | |
JP3094983B2 (en) | System logic test circuit and test method | |
JPH0763821A (en) | Test circuit | |
JP3265270B2 (en) | AC measurement circuit using boundary scan test function | |
KR20030027989A (en) | Chip testing apparatus | |
JPS63193238A (en) | Address scanning system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040227 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20050315 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070327 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070423 |
|
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: 20070524 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070524 |
|
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: 20110608 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110608 Year of fee payment: 4 |
|
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: 20110608 Year of fee payment: 4 |
|
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: 20120608 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120608 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130608 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130608 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140608 Year of fee payment: 7 |
|
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 |