JP2011047826A - Semiconductor device and test method - Google Patents
Semiconductor device and test method Download PDFInfo
- Publication number
- JP2011047826A JP2011047826A JP2009197269A JP2009197269A JP2011047826A JP 2011047826 A JP2011047826 A JP 2011047826A JP 2009197269 A JP2009197269 A JP 2009197269A JP 2009197269 A JP2009197269 A JP 2009197269A JP 2011047826 A JP2011047826 A JP 2011047826A
- Authority
- JP
- Japan
- Prior art keywords
- test
- evaluation
- access
- contention
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
Description
本発明は、半導体装置のテスト技術に関し、特に、タイミング競合テストに好適な半導体装置とテスト方法に関する。 The present invention relates to a test technique for a semiconductor device, and more particularly to a semiconductor device and a test method suitable for a timing competition test.
FPGA(Field Programmable Gate Array)で実現されたマクロ等に対するアクセスのタイミング競合条件の評価を行う場合、一般に、シミュレーション等が用いられる。タイミング競合の評価は、典型的には、CPU等上位装置から評価対象マクロに対して発行されたアクセス要求(命令、コマンド)に対して、当該評価対象マクロにおいて共通資源等の競合が発生するように別のアクセス要求(命令、コマンド)を当該評価対象マクロに与え、当該評価対象マクロでのアクセス要求の実行状況を評価することで行われる。 In the case of evaluating an access timing conflict condition for a macro or the like realized by an FPGA (Field Programmable Gate Array), a simulation or the like is generally used. In the evaluation of timing conflict, typically, for an access request (instruction, command) issued from a higher-level device such as a CPU to an evaluation target macro, contention of a common resource or the like occurs in the evaluation target macro. This is performed by giving another access request (command, command) to the macro to be evaluated and evaluating the execution status of the access request in the macro to be evaluated.
なお、FPGAのテストに関して、例えば特許文献1には、テスト時間の短縮化を目的として、テスト回路として任意の論理を書き換え可能な可変論理回路(FPGA)を複数用いる。図6において、テスト内容を実行可能なテスト回路FPGAa/b/c(11−13)を搭載し、MUX(10)がこれらの1つとテスト対象である半導体集積回路(17)を接続し、テストを行う。テスト実行中に、テストを実行していないFPGAに14または15経由でテスト内容を書き込むことによりプログラム書き換え時間を無視することが可能になり、結果的にテスト時間の短縮を実現できる。しかしながら、テストプログラムの書き換えを並行に行うことでテスト時間が短縮された分、テストプログラムの微調整は可能になるが、タイミング競合評価については全く記載されていない。
Regarding FPGA testing, for example,
以下に関連技術の分析を与える。 The analysis of related technology is given below.
シミュレーションを用いてタイミング競合評価を行う場合、時間がかかる。このため、FPGAを用いたテスト装置でのタイミング競合評価の実現が望まれる。 When timing competition evaluation is performed using simulation, it takes time. For this reason, realization of timing competition evaluation in a test apparatus using FPGA is desired.
したがって本発明の目的は、シミュレーション等を用いた場合と較べて、評価に要する時間を短縮し、タイミング競合評価の実現を可能とする装置とテスト方法を提供することにある。 Therefore, an object of the present invention is to provide an apparatus and a test method that can reduce the time required for evaluation and realize timing competition evaluation as compared with the case where simulation or the like is used.
前記課題を解決するため本発明は概略以下の構成とされる。 In order to solve the above-mentioned problems, the present invention is generally configured as follows.
本発明によれば、上位装置から評価対象回路に対するアクセスを監視し、予め定められた競合評価開始アクセスの到来を検出すると、競合テスト用に予め記憶保持している所定の命令を、前記上位装置からの前記アクセスに対して所定のタイミング関係にて前記評価対象回路に投入するテスト回路を備えた半導体装置が提供される。 According to the present invention, when the access from the host device to the evaluation target circuit is monitored and the arrival of a predetermined competition evaluation start access is detected, a predetermined instruction stored and held in advance for a conflict test is transmitted to the host device. There is provided a semiconductor device including a test circuit that is input to the circuit to be evaluated at a predetermined timing with respect to the access from.
本発明によれば、前記テスト回路が、前記アクセスに対する前記評価対象回路の動作開始から終了直前までのタイミング区間の一部又は全範囲にわたって、前記評価対象回路に対する前記競合テスト用の命令の投入のタイミングを可変させる回路を備えている。 According to the present invention, the test circuit inputs the instruction for the contention test to the evaluation target circuit over a part or all of the timing interval from the start to the end of the operation of the evaluation target circuit for the access. A circuit for varying the timing is provided.
本発明によれば、シミュレーション等を用いた場合と較べて、評価に要する時間を短縮し、半導体装置のタイミング競合評価を可能としている。 According to the present invention, it is possible to reduce the time required for the evaluation and to evaluate the timing competition of the semiconductor device as compared with the case of using a simulation or the like.
本発明の実施形態について説明する。本発明において、半導体装置は、CPU等の上位装置から評価対象回路(評価対象)に対するアクセスを監視し、予め定められた競合評価開始アクセスの到来を検出すると、競合テスト用に予め記憶保持している所定の命令を、前記上位装置からの前記アクセスに対して所定のタイミング関係にて前記評価対象回路に投入するテスト回路(テストマスタ)を備え、これまで実現されていないタイミング競合評価を実現する。 An embodiment of the present invention will be described. In the present invention, the semiconductor device monitors the access to the evaluation target circuit (evaluation target) from a higher-level device such as a CPU, and stores and holds it in advance for a competition test when detecting the arrival of a predetermined competition evaluation start access. A test circuit (test master) that inputs a predetermined instruction to the evaluation target circuit in a predetermined timing relationship with respect to the access from the host device, and realizes timing competition evaluation that has not been realized so far .
図1は、本発明の一実施形態の半導体装置の構成を示す図である。テスト装置100は、FPGAで構成され、CPU200とバス210で接続される。テスト装置100は、アクセスのタイミング競合条件を評価するテスト(「競合評価テスト」という)を実行するテストマスタ110と、テストマスタ110と接続された評価対象マクロ120を備える。評価対象マクロ120は、例えば通信マクロ、信号処理マクロ等、FPGA製品本来の機能を実現するマクロである。図1に示した一実施形態では、テストマスタ110は、評価対象マクロ120と同一のFPGA内に組み込まれているが、本発明はかかる構成に制限されるものでない。例えばテストマスタ110を、評価対象マクロ120と異なるFPGAに搭載してもよいことは勿論である(好ましくは、共通のクロックで駆動される)。
FIG. 1 is a diagram showing a configuration of a semiconductor device according to an embodiment of the present invention. The
テストマスタ110は、競合評価テストの実行時、CPU200からの評価対象マクロ120へのアクセス(コマンド)に対して、該アクセスに競合させるアクセス(コマンド)を生成して、評価対象マクロ120に与える。また、テストマスタ110は、CPU200に対して競合評価完了割り込みをかける。
When executing the competition evaluation test, the
テストマスタ110は、CPU200からの評価対象マクロ120へのアクセス(コマンド)にぶつける評価用のアクセスを、タイミングをずらして生成する。
The
評価対象マクロ120に対して競合タイミングをそれぞれ変化させた場合のそれぞれの動作結果をCPU200で解析することで、評価対象マクロ120の競合評価を可能としている。評価対象マクロ120がアクセス競合のタイミング如何によっては、アクセス性能が劣化し、所定の基準を満たさなくなる場合、本発明によって競合のタイミング条件を検出することができる。
The
図2は、テストマスタ110の構成の一例を示す図である。図2を参照すると、テストマスタ110は、デコーダ111と、セレクタ112と、動作B命令記憶部113と、ウェイトプラス1(wait+1)手段114と、割り込み発生回路115を備えている。
FIG. 2 is a diagram illustrating an example of the configuration of the
デコーダ111は、CPU200からのバスアクセス130を入力する。CPU200から評価対象マクロ120に投入されるアクセス(コマンド、命令)は、CPU200からバスアクセス130として転送され、セレクタ112を介して、評価対象マクロ120に出力される。デコーダ111は、バスアクセス130として転送されるCPU200からのアクセスを入力してデコードする(監視する)。デコーダ111は、デコードの結果、競合評価開始アクセスを認識すると、競合評価開始アクセス116を、ウェイトプラス1(wait+1)手段114とセレクタ112に出力する。
The decoder 111 receives the
セレクタ112は、デコーダ111によるデコード結果(競合評価開始アクセス116)を、選択制御信号として入力し、競合評価開始アクセスの到来が検出された場合以外、CPU200からのバスアクセス130を選択し、そのまま評価対象マクロへのアクセス140として、評価対象マクロ120に出力する。
The selector 112 inputs the result of decoding by the decoder 111 (contention evaluation start access 116) as a selection control signal, selects the
セレクタ112は、CPU200から競合評価開始アクセスが到来した場合、競合評価開始アクセス116の活性化を受け、評価対象マクロ120の競合評価用に用いられる動作B命令を選択し、評価対象マクロへのアクセス140として、評価対象マクロ120に出力する。なお、CPU200からの評価対象マクロ120に対するアクセスを、便宜上、「動作A」といい、当該動作Aに対して、テストマスタ110によってタイミング競合テスト用に挿入されるアクセスを「動作B」という。そして、評価対象マクロ120に動作Bを実行させる命令を「動作B命令」という。
When a competition evaluation start access arrives from the
テストマスタ110にCPU200から競合評価開始アクセスが到来した場合、セレクタ112は、競合評価開始アクセスを選択してそのまま評価対象マクロ120に供給し、つづいて、当該競合評価開始アクセスをデコーダ111でデコーダした結果に基づき、ウェイトプラス1(wait+1)手段114で規定される所定のタイミングで、動作B命令が評価対象マクロ120に供給される。
When a competition evaluation start access arrives from the
動作B命令記憶部113には、この動作B命令が予め記憶されている。動作B命令記憶部113に記憶された動作B命令は、CPU200からの競合評価開始アクセスの到来時(競合評価開始アクセス116の活性化時)、ウェイトプラス1(wait+1)手段114で設定されたタイミングで読み出され、セレクタ112で選択される。
The operation B command storage unit 113 stores the operation B command in advance. The operation B instruction stored in the operation B instruction storage unit 113 is the timing set by the weight plus 1 (wait + 1) means 114 when the competition evaluation start access from the
ウェイトプラス1(wait+1)手段114(タイマカウンタ)は、CPU200から競合評価開始アクセスが到来すると(競合評価開始アクセス116の活性化時)、現在のウェイト(wait)に評価対象マクロ120のクロックの1クロックサイクル分の遅延を加算する(wait+1)。そして、競合評価開始アクセスの到来時点から、当該(wait+1)サイクルの遅延時間経過後に、セレクタ112(このとき、セレクタ112は動作B命令を選択する)を介して、動作B命令を評価対象マクロ120に与える。なお、テストマスタ110は、評価対象マクロ120のクロックを入力するか、あるいは、評価対象マクロ120のクロックとテストマスタ110のクロックとはFPGA内の共通の内部クロックとしてもよい。
When a contention evaluation start access arrives from the CPU 200 (when the contention evaluation start access 116 is activated), the wait plus 1 (wait + 1) means 114 (timer counter) sets the clock of the
割り込み発生回路115(カウンタ)は、競合評価開始アクセス到来から競合テスト期間n(評価対象マクロ120において動作A、及び、動作Bの実行が終了するまでの時間)が終了すると、CPU200に対して、競合評価完了割り込みを出力する。すなわち、割り込み発生回路115は、競合評価開始アクセス到来時点から、ウェイト(wait)時間、動作A、Bの実行時間を加算した時間(競合テスト期間)分のクロックサイクル数が経過したのち競合評価完了割り込みを出力する。割り込み発生回路115(カウンタ)は、例えば、競合評価開始アクセス到来から競合テスト期間分のクロックサイクル数をカウントするカウンタを備え、競合テスト期間分のクロックサイクル数をカウントした時点で、CPU200に対して、競合評価完了割り込みをかける。
When the competition test start period n (the time until the execution of the operation A and the operation B in the evaluation target macro 120) ends after the arrival of the competition evaluation start access, the interrupt generation circuit 115 (counter) Output a competition evaluation completion interrupt. That is, the interrupt
CPU200は、テストマスタ110からi回目の競合評価完了割り込みを受けると、評価対象マクロ120に対して、(i+1)回目(ただし、i+1≦n)の競合評価開始アクセス(動作A)を行う。ただし、(i+1)>nのとき、競合テストは終了する。
When the
図3は、本実施形態におけるタイミング競合評価を模式的に示す図である。図3には、評価対象マクロ120のクロックと、CPU200からのアクセス(動作A)のタイミングと、テストマスタ110からの競合アクセス(動作B)のタイミング、テストマスタ110で生成される競合評価完了割り込みのタイミングを、1回目、2回目、・・・n回目のそれぞれについて示している。
FIG. 3 is a diagram schematically showing timing competition evaluation in the present embodiment. 3 shows the clock of the
図3において、動作Aの一端(左端)は、CPU200からテストマスタ110を介して評価対象マクロ120に投入されたアクセスである動作Aのタイミングに対応する。一方、図3の動作Bの一端(左端)は、テストマスタ110からの動作B命令の評価対象マクロ120への投入タイミングに対応する。初期wait値(初期ウェイト値)は、CPU200の該競合評価開始アクセスがテストマスタ110に到来し、評価対象マクロ120に供給した後、評価対象マクロ120において該アクセスに対応する動作Aを開始するまでの時間である。
In FIG. 3, one end (left end) of the operation A corresponds to the timing of the operation A that is an access input from the
なお、図3では、簡単のため、動作Aと動作Bとが並列に表現されているが、必ずしも、動作Aと動作Bは並列動作しなくてもよい。動作Aと動作Bとが、評価対象マクロ120において共通の1つの資源に関して競合する場合、評価対象マクロ120内の不図示のアービタ回路、スケジューラ等の制御のもと、適宜、待機、あるいは時分割処理等、スケジューリング実行するようにしてもよいことは勿論である。また、評価対象マクロ120において、動作A、動作Bそれぞれのアクセス要求(命令)が投入された時点で、動作A、動作Bをただちに実行するようにしてもよいし、あるいは、しなくてもよい(例えば動作B命令の投入時、動作Aを実行中の場合、動作Bの実行を待機又はサスペンドするようにしてもよい)。あるいは、CPU200からのアクセス要求に対応した動作Aをテストマスタ110からの動作B命令に対応した動作Bに対して優先するようにしてもよいし、テスト仕様によっては、逆に動作Bを動作Aに優先するようにしてもよい。
In FIG. 3, for the sake of simplicity, the operation A and the operation B are represented in parallel, but the operation A and the operation B do not necessarily have to be performed in parallel. When operation A and operation B compete for one common resource in the
CPU200から1回目の競合評価開始アクセスが到来した後、テストマスタ110上に設定された、初期wait値経過後、動作B命令がセレクタ112を介して、評価対象マクロ120に投入される。評価対象マクロ120において、動作Aは、テストマスタ110に競合評価開始アクセスが到来した後、初期wait値後に実行されるため、1回目のテストでは、評価対象マクロ120において動作Aの実行開始と同時に、動作B命令が投入される。1回目のテストにおいて、競合評価開始アクセス到来後のウェイトプラス1(wait+1)手段114でのウェイト時間は、初期wait値となる。
After the first competition evaluation start access from the
競合評価開始アクセスの到来後、テストマスタ110に設定された競合テスト期間が経過するか、または、評価対象マクロ120から、動作Aの終了を示すバスアクセスがテストマスタ110に入力された場合、テストマスタ110は、CPU200に競合評価完了割り込みを出力する。
When the contention test period set in the
競合テスト期間の経過は、テストマスタ110の割り込み発生回路115で評価対象マクロのクロックサイクル数をカウントし、カウント値が所定値に達した場合、割り込み発生回路115は、CPU200に競合評価完了割り込みを出力する。あるいは、割り込み発生回路115で評価対象マクロのクロックサイクル数をカウント中に、評価対象マクロ120から、動作Aの終了を示すバスアクセスがテストマスタ110に入力された場合、割り込み発生回路115はクロックサイクルのカウント動作を停止し、CPU200に競合評価完了割り込みを出力する。あるいは、動作Aは動作Bよりも処理に要するクロックサイクル数が長いことを前提としている。あるいは、評価対象マクロ120から、動作Aと動作Bの両者の終了を示すバスアクセスがテストマスタ110に入力された場合、割り込み発生回路115はクロックサイクルのカウント動作を停止し、CPU200に競合評価完了割り込みを出力するようにしてもよい。
When the contention test period elapses, the interrupt
CPU200は、テストマスタ110から競合評価完了割り込みを受け付けると、評価対象マクロ120の動作Aと動作Bの結果を読み出し、評価対象マクロ120で動作A、動作Bが正しく行われたか否かをチェックする。評価対象マクロ120は、動作Aと動作Bの結果を、不図示の記憶部に保持しているものとする。
When the
動作Aと動作Bは、ともにRAM(ランダムアクセスメモリ)のような共通の資源にアクセスする調停済み(アクセス競合が調停された)の動作である。特に制限されないが、動作Aは比較的時間のかかるバスアクセス、動作Bは例えば単発のアクセスとする。 The operations A and B are operations that have been arbitrated (access contention has been arbitrated) for accessing a common resource such as a RAM (Random Access Memory). Although not particularly limited, the operation A is a bus access that takes a relatively long time, and the operation B is, for example, a single access.
2回目のテストでは、CPU200から競合評価開始アクセスが到来すると、テストマスタ110では、デコーダ111で競合評価開始アクセスの到来を検出し、ウェイトプラス1(wait+1)手段114により、ウェイト時間として、初期wait値に、評価対象マクロ120のクロックの1クロックサイクル分の時間を加算する。そして、動作B命令は、評価対象マクロ120において動作Aを開始してから、評価対象マクロ120の1クロックサイクル分遅延した時点で、テストマスタ110のセレクタ112を介して、評価対象マクロ120に投入される。テストマスタ110は、競合テスト期間が終了するか、動作Aの終了を示すバスアクセスが到来すると、CPU200に対して競合評価完了割り込みを出力する。CPU200は、テストマスタ110から競合評価完了割り込みを受けてから、評価対象マクロ120の動作Aと動作Bの結果を読み出し、評価対象マクロ120において動作A、動作Bが正しく行われたか否かをチェックする。
In the second test, when the competition evaluation start access arrives from the
CPU200から3回目の競合評価開始アクセスが到来すると、テストマスタ110では、デコーダ111競合評価開始アクセスの到来を検出し、ウェイトプラス1(wait+1)手段114により、ウェイト時間として、初期wait値に、評価対象マクロ120のクロックの2クロックサイクル分の時間を加算する。そして、動作B命令は、評価対象マクロ120において動作Aを開始してから、評価対象マクロ120の2クロックサイクル分遅延した時点で、テストマスタ110のセレクタ112を介して、評価対象マクロ120に投入される。テストマスタ110は、競合テスト期間が終了するか、動作Aの終了を示すバスアクセスが到来すると、CPU200に対して競合評価完了割り込みを出力する。CPU200はテストマスタ110から競合評価完了割り込みを受けると、評価対象マクロ120での動作A、動作Bの実行結果ビットを読み出し、評価対象マクロ120で動作A、動作Bが正しく行われたか否かをチェックする。
When the third competition evaluation start access arrives from the
CPUからn回目の競合評価開始アクセスが到来した後、テストマスタ110に設定した、初期ウェイト値+(n−1)クロックサイクル経過後、動作B命令が、セレクタ112を介して評価対象マクロ120に供給される。テストマスタ110は、競合テスト期間が終了するか、動作Aの終了を示すバスアクセスが到来すると、CPU200に対して競合評価完了割り込みを出力する。CPU200は、テストマスタ110から競合評価完了割り込みを受けると、評価対象マクロ120での動作A、動作Bの実行結果ビットを読み出し、評価対象マクロ120において、動作A、動作Bが正しく行われたか否かをチェックする。
After the nth competition evaluation start access arrives from the CPU, after the initial wait value + (n−1) clock cycles set in the
なお、テストマスタ110のウェイトプラス1(wait+1)手段114により、動作B命令の評価対象マクロ120への投入タイミングを1クロックサイクルずつ遅らせ、n回目のテストでは、動作Aの開始時点(初期wait値)から(n−1)クロックサイクル遅れて動作B命令の評価対象マクロ120へ投入される。
The wait plus 1 (wait + 1) means 114 of the
図3に示すように、動作Aの開始時点(競合評価開始アクセスの到来から初期wait値経過時点)からnクロックサイクルで動作Aが終了する。すなわち、上記実施形態では、動作Aの開始時点から終了直前の各クロックサイクルまでの全時間範囲で、動作B命令の投入時刻を1クロックサイクル単位に遅らせて、順次、競合評価を行っている。このようにすることで精度良く競合評価を行うとともに、競合評価に要する時間をシミュレーションによる場合と比較して特段に短縮している。なお、本実施例においては、動作B命令の投入時刻を最小分解能の1クロックサイクルでなく、2クロックサイクル単位、あるいはそれ以上の時間単位で遅らせるようにしてもよいことは勿論である。あるいは、動作Aの開始時点から終了直前の各クロックサイクルまでの時間範囲で、動作B命令の投入を、時間軸上、前から後ろでなく、後ろから前に変化させるようにしてもよい。 As shown in FIG. 3, the operation A ends in n clock cycles from the start point of the operation A (the time when the initial wait value has elapsed since the arrival of the competition evaluation start access). That is, in the above-described embodiment, the competition evaluation is sequentially performed by delaying the input time of the operation B instruction in units of one clock cycle in the entire time range from the start time of the operation A to each clock cycle immediately before the end. In this way, the competitive evaluation is performed with high accuracy, and the time required for the competitive evaluation is particularly shortened compared to the case of simulation. In this embodiment, it is needless to say that the operation B instruction input time may be delayed not in one clock cycle with the minimum resolution but in units of two clock cycles or more. Alternatively, in the time range from the start point of the operation A to each clock cycle immediately before the end, the input of the operation B instruction may be changed from the back to the front instead of the front to the back on the time axis.
図4は、本実施形態における評価対象マクロのタイミング競合評価の処理手順を示す流れ図である。なお、図4には、競合評価開始アクセステスト1回分の処理手順が示されており、図3のように、n回のテストを実行する場合、図4の処理がn回繰り返される。 FIG. 4 is a flowchart showing the processing procedure of the timing competition evaluation of the evaluation target macro in this embodiment. FIG. 4 shows a processing procedure for one competition evaluation start access test. When n tests are executed as shown in FIG. 3, the process of FIG. 4 is repeated n times.
図4を参照すると、テストマスタ110は、CPUから競合評価開始アクセスが到来する(ステップS1)。テストが一回目の場合(ステップS2のYES)、テストマスタ110は、初期wait値後に動作B命令を投入する(ステップS3)。一定時間(競合テスト期間)後、テストマスタ110が競合評価完了割り込みを発行する(ステップS4)。テストマスタ110が出力する競合評価完了割り込み後、CPU200が、動作A及び動作Bの実行結果ビットを読み出す(ステップS5)。テストマスタ110は、wait値に1クロックサイクル分の遅延を加算する(ステップS6)。つづいて2回目以降、ステップS1からの処理が実行される。テストマスタ110は、競合評価開始アクセス到来以外は、CPU200のデータをそのまま評価対象マクロに出力する。テストマスタ110は、競合評価開始アクセスが到来すると、該到来から動作A開始までの時間に合わせて設定された初期wait値の後、評価対象マクロで動作Aと動作Bの競合評価を実行する。競合評価開始アクセス到来後、テストマスタ110に設定された競合テスト期間が経過するか、又は、動作Aの終了を示すバスアクセスが到来することで、テストマスタ110はCPUに、競合評価完了割り込みを出力する。CPU200はこの割り込みを受けてから、動作Aと動作Bの結果を読み出し、結果の判定を行う。競合評価開始アクセスが到来する度に動作Bの実行を評価対象マクロの1クロックサイクル分遅らせて、競合評価が行なわれる。
Referring to FIG. 4, the
本発明によれば、関連技術等では、実現不可能とされたタイミング競合評価を可能とし、動作B命令の投入タイミングを制御することで、ランダムな競合評価開始にも対応可能である。 According to the present invention, it is possible to perform timing competition evaluation that cannot be realized by related technologies and the like, and it is possible to deal with random competition evaluation start by controlling the input timing of the operation B instruction.
次に本発明の一実施例として、図1の評価対象マクロ120を通信マクロとした場合について図5を参照して説明する。本実施例において、動作Aは、通信マクロの送信動作とする。CPU200から通信マクロ121に送信命令が来ると、通信マクロ121は、RAM122内のメッセージバッファレジスタの中から、送信候補となるメッセージを検索し、検索された送信候補のメッセージの中から送信メッセージを決定し、決定したメッセージを送信する。動作Aのほとんどの期間、通信マクロ121はRAM122にアクセスし、送信候補の検索を行う。動作Aの送信動作の結果は、通信マクロ121からのACK(肯定応答)等が送信されたか否かで判定する。
Next, as an embodiment of the present invention, a case where the
動作Bは、RAM122内の所定ビットを書き換える動作とする。動作BのRAM122に対するアクセスは、動作AによるRAM122の検索動作Aと、競合する。テストマスタ110が通信マクロ121に書換命令が来ると、通信マクロ121は、RAM122にアクセスする。動作Bによる書換結果の成否は、対象ビットが正しく書き換えられているか否かで判定することができる。
The operation B is an operation for rewriting a predetermined bit in the
本実施例では、動作Aのどの時点(評価対象マクロのクロックサイクル単位)で動作Bが割り込んでも、動作Aと動作Bがともに正常に終了するかを評価することができる。また、動作Aのどの時点(評価対象マクロのクロックサイクル単位)で動作Bが割り込むと、いずれかが異常終了するかも評価することができる。 In the present embodiment, it is possible to evaluate whether the operation A and the operation B both end normally even if the operation B interrupts at any point in time of the operation A (clock unit of the macro to be evaluated). Also, it can be evaluated whether the operation B interrupts when the operation B interrupts at any point in time of the operation A (clock unit of the macro to be evaluated).
なお、上記の特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。 It should be noted that the disclosures of the above patent documents are incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiments and the embodiments can be changed and adjusted based on the basic technical concept. Various combinations and selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.
2 テスト装置
10 マルチプレクサ(MUX)
11〜13 FPGA−a〜c
17 半導体集積回路
100 テスト装置(FPGA)
110 テストマスタ
111 デコーダ
112 セレクタ
113 動作B命令記憶部
114 ウェイトプラス1(wait+1)手段
115 割り込み発生回路(カウンタ)
116 競合評価開始アクセス
120 評価対象マクロ
121 通信マクロ
122 RAM
130 バスアクセス
140 テストマスタと評価対象マクロとのアクセス
150 競合評価完了割り込み
200 CPU
210 バス
2
11-13 FPGA-ac
17 Semiconductor integrated circuit
100 test equipment (FPGA)
110 Test Master 111 Decoder 112 Selector 113 Operation B
116 Competition evaluation start access
120 Macro to be evaluated 121
130
150 Competitive evaluation completion interrupt 200 CPU
210 bus
Claims (15)
前記テスト回路において、前記競合評価開始アクセスが到来してから前記ウェイト初期値経過時点で、前記競合テスト用の所定の命令を、前記評価対象回路に投入し、
2回目以降のテストでは、前記テスト回路において、前記競合テスト用の所定の命令を、前記競合評価開始アクセスが到来してから前記ウェイト初期値に単位時間ずつ遅らせたタイミングで前記評価対象回路に投入する、ことを特徴とする請求項1乃至5のいずれか1項に記載の半導体装置。 In the first test, after an initial wait time that is a predetermined time from the arrival of the contention evaluation start access to the test circuit, the operation for the access is executed in the evaluation target circuit.
In the test circuit, when the wait initial value has elapsed since the arrival of the competition evaluation start access, the predetermined instruction for the competition test is input to the evaluation target circuit,
In the second and subsequent tests, in the test circuit, the predetermined instruction for the contention test is input to the circuit to be evaluated at a timing delayed by unit time from the initial value of wait after the arrival of the contention evaluation start access. The semiconductor device according to claim 1, wherein the semiconductor device is a semiconductor device.
前記競合テスト用の所定の命令を記憶保持する記憶部と、
前記上位装置から前記評価対象回路に対するバスアクセスを第1の入力に受けるセレクタと、
前記記憶部に記憶保持された前記競合テスト用の所定の命令を所定のタイミングで前記セレクタの第2の入力に出力するタイマカウンタと、
を備え、
前記セレクタは、前記デコーダで前記競合評価開始アクセスの到来の検出結果を選択制御信号として入力し、前記デコーダにおいて競合評価開始アクセスの到来が検出されると、前記所定のタイミングで、前記第2の入力に供給される前記競合テスト用の所定の命令を、前記評価対象回路に供給する、ことを特徴とする請求項1乃至6のいずれか1項に記載の半導体装置。 A decoder that receives and decodes a bus access to the evaluation target circuit from the host device;
A storage unit for storing and holding the predetermined instruction for the competition test;
A selector that receives, as a first input, a bus access from the host device to the evaluation target circuit;
A timer counter that outputs a predetermined instruction for the contention test stored in the storage unit to a second input of the selector at a predetermined timing;
With
The selector inputs the arrival detection result of the contention evaluation start access by the decoder as a selection control signal, and when the arrival of the contention evaluation start access is detected by the decoder, at the predetermined timing, 7. The semiconductor device according to claim 1, wherein the predetermined instruction for the contention test supplied to the input is supplied to the circuit to be evaluated.
前記テスト回路が、予め定められた競合評価開始アクセスの到来を検出すると、競合テスト用に予め記憶保持している所定の命令を、前記上位装置からの前記アクセスに対して所定のタイミング関係にて前記評価対象回路に投入する、ことを特徴とするテスト方法。 The test circuit monitors access to the evaluation target circuit from the host device,
When the test circuit detects the arrival of a predetermined contention evaluation start access, a predetermined instruction stored and held in advance for a contention test is transmitted in a predetermined timing relationship with respect to the access from the host device. A test method characterized in that the test method is put into the circuit to be evaluated.
前記テスト回路において、前記競合評価開始アクセスが到来してから前記ウェイト初期値経過時点で、前記競合テスト用の所定の命令を、前記評価対象回路に投入し、
2回目以降のテストでは、前記テスト回路において、前記競合テスト用の所定の命令を、前記競合評価開始アクセスが到来してから前記ウェイト初期値に単位時間ずつ遅らせたタイミングで前記評価対象回路に投入する、ことを特徴とする請求項9乃至13のいずれか1項に記載のテスト方法。 In the first test, after an initial wait time that is a predetermined time from the arrival of the contention evaluation start access to the test circuit, the operation for the access is executed in the evaluation target circuit.
In the test circuit, when the wait initial value has elapsed since the arrival of the competition evaluation start access, the predetermined instruction for the competition test is input to the evaluation target circuit,
In the second and subsequent tests, in the test circuit, the predetermined instruction for the contention test is input to the circuit to be evaluated at a timing delayed by unit time from the initial value of wait after the arrival of the contention evaluation start access. The test method according to any one of claims 9 to 13, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009197269A JP2011047826A (en) | 2009-08-27 | 2009-08-27 | Semiconductor device and test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009197269A JP2011047826A (en) | 2009-08-27 | 2009-08-27 | Semiconductor device and test method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011047826A true JP2011047826A (en) | 2011-03-10 |
Family
ID=43834299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009197269A Withdrawn JP2011047826A (en) | 2009-08-27 | 2009-08-27 | Semiconductor device and test method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011047826A (en) |
-
2009
- 2009-08-27 JP JP2009197269A patent/JP2011047826A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8078781B2 (en) | Device having priority upgrade mechanism capabilities and a method for updating priorities | |
CN107544923B (en) | Apparatus, and associated method, for controlling access to a memory device | |
EP2434404B1 (en) | Method and arrangement for streaming data profiling | |
WO2007099613A1 (en) | Command selecting method and device, and command inputting method and device | |
JPH0784863A (en) | Information processor and semiconductor storage device suitable to the same | |
US7805557B2 (en) | Interrupt controller and method for handling interrupts | |
EP2423824A1 (en) | Data transfer device, method of transferring data, and image forming apparatus | |
WO2021041768A1 (en) | Daisy chain mode entry sequence | |
JP2009508215A (en) | Delayed arbitration of memory access requests | |
US20140026126A1 (en) | Methods and apparatuses for interconnect tracing | |
US7523240B2 (en) | Interrupt controller and interrupt control method | |
US7761280B2 (en) | Data processing apparatus simulation by generating anticipated timing information for bus data transfers | |
JP2011047826A (en) | Semiconductor device and test method | |
JP2010140239A (en) | Apparatus and method for shortening interrupt latency | |
JP2008134807A (en) | Access conflict generation system in access conflict test | |
US9323702B2 (en) | Increasing coverage of delays through arbitration logic | |
JP2015141717A (en) | speculative interrupt signaling | |
TWI286290B (en) | Status register update logic optimization | |
US11847461B2 (en) | Out-of-order input / output write | |
US20240160446A1 (en) | Predicting a Vector Length Associated with a Configuration Instruction | |
US9690727B2 (en) | System internal latency measurements in realtime applications | |
JP5334173B2 (en) | Data transfer system and retry control method | |
JP2007257462A (en) | Bus resetting system and method | |
JP5115758B2 (en) | Test circuit | |
JP3678656B2 (en) | Interface circuit, logic circuit verification method, logic device, information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20121106 |