JP2011047826A - Semiconductor device and test method - Google Patents

Semiconductor device and test method Download PDF

Info

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
Application number
JP2009197269A
Other languages
Japanese (ja)
Inventor
Akiko Terao
晃子 寺尾
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2009197269A priority Critical patent/JP2011047826A/en
Publication of JP2011047826A publication Critical patent/JP2011047826A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor device capable of shortening a time necessary for competition evaluation, and achieving timing competition evaluation. <P>SOLUTION: This device includes a test master (110) wherein, when receiving access to an evaluation object macro (120) from a CPU (200) which is a host device, and detecting that the access is a competition evaluation start access determined beforehand, a command for competition evaluation is inputted into the evaluation object macro at a prescribed timing with respect to the access. The test master can vary an input timing of the command for competition evaluation into the evaluation object macro over a part or the whole of a time range from a starting point of time of operation of the evaluation object macro up to just before finish time with respect to the access. <P>COPYRIGHT: (C)2011,JPO&INPIT

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, Patent Document 1 uses a plurality of variable logic circuits (FPGAs) capable of rewriting arbitrary logic as test circuits for the purpose of shortening test time. In FIG. 6, the test circuit FPGAa / b / c (11-13) capable of executing the test contents is mounted, and the MUX (10) connects one of these and the semiconductor integrated circuit (17) to be tested to perform the test. I do. During the test execution, it is possible to ignore the program rewrite time by writing the test contents to the FPGA that is not executing the test via 14 or 15, and consequently the test time can be shortened. However, although the test time is shortened by rewriting the test program in parallel, the test program can be finely adjusted. However, timing competition evaluation is not described at all.

特開2005−3630号公報JP 2005-3630 A

以下に関連技術の分析を与える。   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.

本発明の一実施形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of this invention. 本発明の一実施形態のテストマスタの構成を示す図である。It is a figure which shows the structure of the test master of one Embodiment of this invention. 本発明の一実施形態のタイミング動作を示す図である。It is a figure which shows the timing operation | movement of one Embodiment of this invention. 本発明の一実施形態の動作手順を示す流れ図である。It is a flowchart which shows the operation | movement procedure of one Embodiment of this invention. 本発明の一実施例を説明する図である。It is a figure explaining one Example of this invention. 特許文献1の構成を示す図である。It is a figure which shows the structure of patent document 1. FIG.

本発明の実施形態について説明する。本発明において、半導体装置は、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 test apparatus 100 is configured with an FPGA and is connected to the CPU 200 via a bus 210. The test apparatus 100 includes a test master 110 that executes a test (referred to as “competition evaluation test”) for evaluating an access timing conflict condition, and an evaluation target macro 120 connected to the test master 110. The evaluation target macro 120 is a macro that realizes an original function of the FPGA product, such as a communication macro or a signal processing macro. In the embodiment shown in FIG. 1, the test master 110 is incorporated in the same FPGA as the evaluation target macro 120, but the present invention is not limited to such a configuration. For example, the test master 110 may be mounted on an FPGA different from the evaluation target macro 120 (preferably driven by a common clock).

テストマスタ110は、競合評価テストの実行時、CPU200からの評価対象マクロ120へのアクセス(コマンド)に対して、該アクセスに競合させるアクセス(コマンド)を生成して、評価対象マクロ120に与える。また、テストマスタ110は、CPU200に対して競合評価完了割り込みをかける。   When executing the competition evaluation test, the test master 110 generates an access (command) that causes the CPU 200 to compete with the access to the evaluation target macro 120 and gives it to the evaluation target macro 120. In addition, the test master 110 issues a competition evaluation completion interrupt to the CPU 200.

テストマスタ110は、CPU200からの評価対象マクロ120へのアクセス(コマンド)にぶつける評価用のアクセスを、タイミングをずらして生成する。   The test master 110 generates an access for evaluation to be hit against an access (command) to the evaluation target macro 120 from the CPU 200 at different timings.

評価対象マクロ120に対して競合タイミングをそれぞれ変化させた場合のそれぞれの動作結果をCPU200で解析することで、評価対象マクロ120の競合評価を可能としている。評価対象マクロ120がアクセス競合のタイミング如何によっては、アクセス性能が劣化し、所定の基準を満たさなくなる場合、本発明によって競合のタイミング条件を検出することができる。   The CPU 200 analyzes each operation result when the competition timing is changed with respect to the evaluation target macro 120, thereby enabling the evaluation evaluation of the evaluation target macro 120. When the evaluation target macro 120 has access performance deteriorated depending on the timing of access contention and does not satisfy a predetermined standard, the present invention can detect the timing condition of contention.

図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 test master 110. Referring to FIG. 2, the test master 110 includes a decoder 111, a selector 112, an operation B instruction storage unit 113, wait plus 1 (wait + 1) means 114, and an interrupt generation circuit 115.

デコーダ111は、CPU200からのバスアクセス130を入力する。CPU200から評価対象マクロ120に投入されるアクセス(コマンド、命令)は、CPU200からバスアクセス130として転送され、セレクタ112を介して、評価対象マクロ120に出力される。デコーダ111は、バスアクセス130として転送されるCPU200からのアクセスを入力してデコードする(監視する)。デコーダ111は、デコードの結果、競合評価開始アクセスを認識すると、競合評価開始アクセス116を、ウェイトプラス1(wait+1)手段114とセレクタ112に出力する。   The decoder 111 receives the bus access 130 from the CPU 200. An access (command or instruction) input from the CPU 200 to the evaluation target macro 120 is transferred from the CPU 200 as the bus access 130 and is output to the evaluation target macro 120 via the selector 112. The decoder 111 inputs and decodes (monitors) the access from the CPU 200 transferred as the bus access 130. When the decoder 111 recognizes the competition evaluation start access as a result of the decoding, the decoder 111 outputs the competition evaluation start access 116 to the weight plus 1 (wait + 1) means 114 and the selector 112.

セレクタ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 bus access 130 from the CPU 200, and evaluates it as it is, except when the arrival of the contention evaluation start access is detected. As an access 140 to the target macro, it is output to the evaluation target macro 120.

セレクタ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 CPU 200, the selector 112 receives the activation of the competition evaluation start access 116, selects an operation B instruction used for the competition evaluation of the evaluation target macro 120, and accesses the evaluation target macro. 140 is output to the evaluation target macro 120. For convenience, access to the evaluation target macro 120 from the CPU 200 is referred to as “operation A”, and access inserted for the timing conflict test by the test master 110 with respect to the operation A is referred to as “operation B”. An instruction that causes the evaluation target macro 120 to execute the operation B is referred to as an “operation B instruction”.

テストマスタ110にCPU200から競合評価開始アクセスが到来した場合、セレクタ112は、競合評価開始アクセスを選択してそのまま評価対象マクロ120に供給し、つづいて、当該競合評価開始アクセスをデコーダ111でデコーダした結果に基づき、ウェイトプラス1(wait+1)手段114で規定される所定のタイミングで、動作B命令が評価対象マクロ120に供給される。   When a competition evaluation start access arrives from the CPU 200 to the test master 110, the selector 112 selects the competition evaluation start access and supplies it directly to the evaluation target macro 120. Subsequently, the decoder 111 decodes the competition evaluation start access. Based on the result, the operation B instruction is supplied to the macro 120 to be evaluated at a predetermined timing defined by the wait plus 1 means 114.

動作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 CPU 200 arrives (when the competition evaluation start access 116 is activated). And is selected by the selector 112.

ウェイトプラス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 evaluation target macro 120 to the current wait (wait). Add a delay corresponding to the clock cycle (wait + 1). Then, after the elapse of the delay time of the (wait + 1) cycle from the arrival of the competition evaluation start access, the operation B instruction is evaluated by the evaluation target macro 120 via the selector 112 (at this time, the selector 112 selects the operation B instruction). To give. Note that the test master 110 may input the clock of the evaluation target macro 120, or the clock of the evaluation target macro 120 and the clock of the test master 110 may be a common internal clock in the FPGA.

割り込み発生回路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 generation circuit 115 completes the contention evaluation after the number of clock cycles corresponding to the sum of the wait time and the execution time of the operations A and B (the contention test period) has elapsed from the arrival of the contention evaluation start access. Output an interrupt. The interrupt generation circuit 115 (counter) includes, for example, a counter that counts the number of clock cycles for the contention test period from the arrival of the contention evaluation start access. , Interrupt the competition evaluation completion.

CPU200は、テストマスタ110からi回目の競合評価完了割り込みを受けると、評価対象マクロ120に対して、(i+1)回目(ただし、i+1≦n)の競合評価開始アクセス(動作A)を行う。ただし、(i+1)>nのとき、競合テストは終了する。   When the CPU 200 receives the i-th competition evaluation completion interrupt from the test master 110, the CPU 200 performs (i + 1) -th (where i + 1 ≦ n) competition evaluation start access (operation A) for the evaluation target macro 120. However, the competition test ends when (i + 1)> n.

図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 evaluation target macro 120, the timing of access from the CPU 200 (operation A), the timing of contention access from the test master 110 (operation B), and the contention evaluation completion interrupt generated by the test master 110. Are shown for each of the first, second,... N times.

図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 CPU 200 to the evaluation target macro 120 via the test master 110. On the other hand, one end (left end) of the operation B in FIG. 3 corresponds to the input timing of the operation B instruction from the test master 110 to the evaluation target macro 120. The initial wait value (initial weight value) is obtained until the operation 200 corresponding to the access is started in the evaluation target macro 120 after the contention evaluation start access of the CPU 200 arrives at the test master 110 and is supplied to the evaluation target macro 120. Is the time.

なお、図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 evaluation target macro 120, standby or time division is appropriately performed under the control of an arbiter circuit (not shown) in the evaluation target macro 120, a scheduler, and the like. Of course, scheduling such as processing may be executed. Further, in the macro 120 to be evaluated, when the access requests (commands) for the operations A and B are input, the operations A and B may be executed immediately or may not be executed. (For example, if the operation A is being executed when the operation B instruction is input, the execution of the operation B may be waited or suspended). Alternatively, the operation A corresponding to the access request from the CPU 200 may be prioritized over the operation B corresponding to the operation B command from the test master 110, or the operation B may be reversed to the operation A depending on the test specification. May be prioritized.

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 CPU 200 has arrived, the operation B instruction is input to the evaluation target macro 120 via the selector 112 after the initial wait value set on the test master 110 has elapsed. In the evaluation target macro 120, the operation A is executed after the initial wait value after the competition evaluation start access has arrived at the test master 110. Therefore, in the first test, the operation A is simultaneously executed in the evaluation target macro 120. , The operation B command is input. In the first test, the wait time in the wait plus 1 (wait + 1) means 114 after the arrival of the competition evaluation start access becomes the initial wait value.

競合評価開始アクセスの到来後、テストマスタ110に設定された競合テスト期間が経過するか、または、評価対象マクロ120から、動作Aの終了を示すバスアクセスがテストマスタ110に入力された場合、テストマスタ110は、CPU200に競合評価完了割り込みを出力する。   When the contention test period set in the test master 110 elapses after the arrival of the contention evaluation start access or when the bus access indicating the end of the operation A is input from the evaluation target macro 120 to the test master 110 The master 110 outputs a competition evaluation completion interrupt to the CPU 200.

競合テスト期間の経過は、テストマスタ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 generation circuit 115 of the test master 110 counts the number of clock cycles of the macro to be evaluated. When the count value reaches a predetermined value, the interrupt generation circuit 115 sends a contention evaluation completion interrupt to the CPU 200. Output. Alternatively, if the bus generation indicating the end of the operation A is input from the evaluation target macro 120 to the test master 110 while the interrupt generation circuit 115 is counting the number of clock cycles of the evaluation target macro, the interrupt generation circuit 115 sets the clock cycle. And the competition evaluation completion interrupt is output to the CPU 200. Alternatively, it is assumed that the operation A requires a longer number of clock cycles than the operation B. Alternatively, when a bus access indicating the end of both operation A and operation B is input from the evaluation target macro 120 to the test master 110, the interrupt generation circuit 115 stops the clock cycle counting operation and the CPU 200 completes the competition evaluation. An interrupt may be output.

CPU200は、テストマスタ110から競合評価完了割り込みを受け付けると、評価対象マクロ120の動作Aと動作Bの結果を読み出し、評価対象マクロ120で動作A、動作Bが正しく行われたか否かをチェックする。評価対象マクロ120は、動作Aと動作Bの結果を、不図示の記憶部に保持しているものとする。   When the CPU 200 receives a competition evaluation completion interrupt from the test master 110, the CPU 200 reads the results of the operation A and the operation B of the evaluation target macro 120 and checks whether the operation A and the operation B are correctly performed in the evaluation target macro 120. . Assume that the evaluation target macro 120 holds the results of the operations A and B in a storage unit (not shown).

動作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 CPU 200, the test master 110 detects the arrival of the competition evaluation start access by the decoder 111, and the wait plus 1 (wait + 1) means 114 uses the initial wait as the wait time. The time corresponding to one clock cycle of the clock of the evaluation target macro 120 is added to the value. Then, the operation B instruction is input to the evaluation target macro 120 via the selector 112 of the test master 110 when the evaluation target macro 120 starts the operation A and is delayed by one clock cycle. Is done. The test master 110 outputs a competition evaluation completion interrupt to the CPU 200 when the competition test period ends or when a bus access indicating the end of the operation A arrives. After receiving the competition evaluation completion interrupt from the test master 110, the CPU 200 reads the results of the operation A and the operation B of the evaluation target macro 120 and checks whether the operation A and the operation B are correctly performed in the evaluation target macro 120. To do.

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 200, the test master 110 detects the arrival of the decoder 111 competition evaluation start access, and the weight plus 1 (wait + 1) means 114 evaluates the initial wait value as the wait time. The time corresponding to two clock cycles of the clock of the target macro 120 is added. Then, the operation B instruction is input to the evaluation target macro 120 via the selector 112 of the test master 110 when the evaluation target macro 120 starts the operation A and is delayed by two clock cycles. Is done. The test master 110 outputs a competition evaluation completion interrupt to the CPU 200 when the competition test period ends or when a bus access indicating the end of the operation A arrives. When the CPU 200 receives a competition evaluation completion interrupt from the test master 110, the CPU 200 reads out the execution result bits of the operation A and the operation B in the evaluation target macro 120, and determines whether the operation A and the operation B are correctly performed in the evaluation target macro 120. To check.

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 test master 110, the operation B instruction is sent to the evaluation target macro 120 via the selector 112. Supplied. The test master 110 outputs a competition evaluation completion interrupt to the CPU 200 when the competition test period ends or when a bus access indicating the end of the operation A arrives. When receiving the competition evaluation completion interrupt from the test master 110, the CPU 200 reads the execution result bits of the operation A and the operation B in the evaluation target macro 120, and whether or not the operation A and the operation B are correctly performed in the evaluation target macro 120. To check.

なお、テストマスタ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 test master 110 delays the input timing of the operation B instruction to the evaluation target macro 120 by one clock cycle. In the nth test, the start time of the operation A (initial wait value) ) To (n−1) clock cycles later than the evaluation target macro 120 of the operation B instruction.

図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 test master 110 receives a competition evaluation start access from the CPU (step S1). If the test is the first time (YES in step S2), the test master 110 inputs an operation B command after the initial wait value (step S3). After a certain time (competition test period), the test master 110 issues a competition evaluation completion interrupt (step S4). After the competition evaluation completion interrupt output from the test master 110, the CPU 200 reads out the execution result bits of the operation A and the operation B (step S5). The test master 110 adds a delay for one clock cycle to the wait value (step S6). Subsequently, the process from step S1 is executed for the second and subsequent times. The test master 110 outputs the data of the CPU 200 as it is to the evaluation target macro except for the arrival of the competition evaluation start access. When the competition evaluation start access arrives, the test master 110 executes the competition evaluation of the operation A and the operation B with the evaluation target macro after the initial wait value set in accordance with the time from the arrival until the operation A starts. After the contention evaluation start access arrives, the contention test period set in the test master 110 elapses, or when the bus access indicating the end of the operation A arrives, the test master 110 sends a contention evaluation completion interrupt to the CPU. Output. After receiving this interrupt, the CPU 200 reads out the results of the operations A and B and determines the results. Each time a competition evaluation start access arrives, execution of operation B is delayed by one clock cycle of the macro to be evaluated, and competition evaluation is performed.

本発明によれば、関連技術等では、実現不可能とされたタイミング競合評価を可能とし、動作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 evaluation target macro 120 of FIG. 1 is a communication macro will be described with reference to FIG. In this embodiment, the operation A is a communication macro transmission operation. When a transmission command is received from the CPU 200 to the communication macro 121, the communication macro 121 searches a message buffer register in the RAM 122 for a message as a transmission candidate, and determines a transmission message from the retrieved transmission candidate messages. And send the determined message. During most of the operation A, the communication macro 121 accesses the RAM 122 and searches for transmission candidates. The result of the operation A transmission operation is determined by whether or not an ACK (acknowledgment) from the communication macro 121 is transmitted.

動作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 RAM 122. The access to the RAM 122 in the operation B conflicts with the search operation A in the RAM 122 by the operation A. When the test master 110 receives a rewrite command to the communication macro 121, the communication macro 121 accesses the RAM 122. The success or failure of the rewrite result by the operation B can be determined by whether or not the target bit is correctly rewritten.

本実施例では、動作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 Test equipment 10 Multiplexer (MUX)
11-13 FPGA-ac
17 Semiconductor integrated circuit
100 test equipment (FPGA)
110 Test Master 111 Decoder 112 Selector 113 Operation B Instruction Storage Unit 114 Wait Plus 1 (Wait + 1) Means 115 Interrupt Generation Circuit (Counter)
116 Competition evaluation start access
120 Macro to be evaluated 121 Communication macro 122 RAM
130 Bus access 140 Access between test master and evaluation target macro
150 Competitive evaluation completion interrupt 200 CPU
210 bus

Claims (15)

上位装置から評価対象回路に対するアクセスを監視し、予め定められた競合評価開始アクセスの到来を検出すると、競合テスト用に予め記憶保持している所定の命令を、前記上位装置からの前記アクセスに対して所定のタイミング関係にて前記評価対象回路に投入するテスト回路を備えたことを特徴とする半導体装置。   When access to the evaluation target circuit from the host device is monitored and the arrival of a predetermined contention evaluation start access is detected, a predetermined instruction stored and held in advance for a conflict test is applied to the access from the host device. And a test circuit that is inserted into the circuit to be evaluated at a predetermined timing. 前記テスト回路が、前記アクセスに対する前記評価対象回路の動作開始から終了直前までのタイミング区間の一部又は全範囲にわたって、前記評価対象回路に対する前記競合テスト用の命令の投入のタイミングを可変させる回路を備えたことを特徴とする請求項1記載の半導体装置。   A circuit in which the test circuit varies the timing of input of 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; The semiconductor device according to claim 1, further comprising: 前記テスト回路は、前記競合評価開始アクセスの到来後、競合テスト期間に対応する所定のクロックサイクル数のカウントを開始し、前記競合評価開始アクセスの到来後、前記競合テスト期間分クロックサイクル数をカウントした時点で、前記上位装置に対して競合評価完了割り込みを通知する割り込み回路を備えたことを特徴とする請求項2記載の半導体装置。   The test circuit starts counting a predetermined number of clock cycles corresponding to the contention test period after the arrival of the contention evaluation start access, and counts the number of clock cycles for the contention test period after the arrival of the contention evaluation start access. 3. The semiconductor device according to claim 2, further comprising an interrupt circuit for notifying the higher-level device of a competition evaluation completion interrupt at the time. 前記テスト回路は、前記競合評価開始アクセスの到来後、競合テスト期間に対応する所定のクロックサイクル数のカウントを開始し、前記競合評価開始アクセスの到来後、前記競合テスト期間分クロックサイクル数をカウントした時点で、又は、前記評価対象回路から前記アクセスに対応する動作終了の通知を受けた場合に、前記上位装置に対して競合評価完了割り込みを通知する、ことを特徴とする請求項2記載の半導体装置。   The test circuit starts counting a predetermined number of clock cycles corresponding to the contention test period after the arrival of the contention evaluation start access, and counts the number of clock cycles for the contention test period after the arrival of the contention evaluation start access. 3. The competitive evaluation completion interrupt is notified to the higher-level device at the time when the notification is received or when the operation completion corresponding to the access is received from the evaluation target circuit. Semiconductor device. 前記テスト回路から前記競合評価完了割り込みを受け付けた前記上位装置は、前記評価対象回路から、前記上位装置からの前記アクセスに対応する動作結果と前記競合テスト用の所定の命令の動作結果とを読み出して競合評価を行う、ことを特徴とする請求項3又は4記載の半導体装置。   The host device that has received the competition evaluation completion interrupt from the test circuit reads out the operation result corresponding to the access from the host device and the operation result of the predetermined instruction for the competition test from the evaluation target circuit. 5. The semiconductor device according to claim 3, wherein competition evaluation is performed. 1回目のテストでは、前記テスト回路に前記競合評価開始アクセスが到来してから予め定められた時間であるウェイト初期値経過後、前記アクセスに対する動作が前記評価対象回路で実行され、
前記テスト回路において、前記競合評価開始アクセスが到来してから前記ウェイト初期値経過時点で、前記競合テスト用の所定の命令を、前記評価対象回路に投入し、
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.
前記評価対象回路と前記評価対象回路の競合評価を行う前記テスト回路が、同一あるいは異なるFPGA(Field Programmable Gate Array)チップ上に搭載され、同一クロック上で動作することを特徴とする請求項1乃至7のいずれか1項に記載の半導体装置。   2. The test circuit that performs competition evaluation between the evaluation target circuit and the evaluation target circuit is mounted on the same or different FPGA (Field Programmable Gate Array) chip and operates on the same clock. 8. The semiconductor device according to any one of 7 above. テスト回路が、上位装置から評価対象回路に対するアクセスを監視し、
前記テスト回路が、予め定められた競合評価開始アクセスの到来を検出すると、競合テスト用に予め記憶保持している所定の命令を、前記上位装置からの前記アクセスに対して所定のタイミング関係にて前記評価対象回路に投入する、ことを特徴とするテスト方法。
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.
前記テスト回路が、前記アクセスに対する前記評価対象回路の動作開始から終了直前までのタイミング区間の一部又は全範囲にわたって、前記評価対象回路に対する前記競合テスト用の命令の投入のタイミングを可変させる、ことを特徴とする請求項9記載のテスト方法。   The test circuit varies the timing of input of 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. The test method according to claim 9. 前記テスト回路は、前記競合評価開始アクセスの到来後、競合テスト期間に対応する所定のクロックサイクル数のカウントを開始し、前記競合評価開始アクセスの到来後、前記競合テスト期間分クロックサイクル数をカウントした時点で、前記上位装置に競合評価完了割り込みを通知する、ことを特徴とする請求項10記載のテスト方法。   The test circuit starts counting a predetermined number of clock cycles corresponding to the contention test period after the arrival of the contention evaluation start access, and counts the number of clock cycles for the contention test period after the arrival of the contention evaluation start access. 11. The test method according to claim 10, wherein a competition evaluation completion interrupt is notified to the higher-level device at the point of time. 前記テスト回路は、前記競合評価開始アクセスの到来後、競合テスト期間に対応する所定のクロックサイクル数のカウントを開始し、前記競合評価開始アクセスの到来後、前記競合テスト期間分クロックサイクル数をカウントした時点で、又は、前記評価対象回路から前記アクセスに対応する動作終了の通知を受けた場合に、前記上位装置に競合評価完了割り込みを通知する、ことを特徴とする請求項10記載のテスト方法。   The test circuit starts counting a predetermined number of clock cycles corresponding to the contention test period after the arrival of the contention evaluation start access, and counts the number of clock cycles for the contention test period after the arrival of the contention evaluation start access. 11. The test method according to claim 10, wherein a competition evaluation completion interrupt is notified to the higher-level device at the time of being received, or when an operation end notification corresponding to the access is received from the evaluation target circuit. . 前記テスト回路からの前記競合評価完了割り込みを受け付けた前記上位装置は、前記評価対象回路から、前記上位装置からの前記アクセスに対応する動作結果と前記競合テスト用の所定の命令の動作結果とを読み出し、競合評価を行う、ことを特徴とする請求項11又は12記載のテスト方法。   The host device that has received the contention evaluation completion interrupt from the test circuit receives an operation result corresponding to the access from the host device and an operation result of the predetermined instruction for the contention test from the evaluation target circuit. The test method according to claim 11, wherein reading and competition evaluation are performed. 1回目のテストでは、前記テスト回路に前記競合評価開始アクセスが到来してから予め定められた時間であるウェイト初期値経過後、前記アクセスに対する動作が前記評価対象回路で実行され、
前記テスト回路において、前記競合評価開始アクセスが到来してから前記ウェイト初期値経過時点で、前記競合テスト用の所定の命令を、前記評価対象回路に投入し、
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:
前記評価対象回路と前記評価対象回路の競合評価を行う前記テスト回路が、同一あるいは異なるFPGA(Field Programmable Gate Array)チップ上に搭載され、同一クロックで動作することを特徴とする請求項9乃至14のいずれか1項に記載のテスト方法。   15. The test circuit that performs competitive evaluation between the evaluation target circuit and the evaluation target circuit is mounted on the same or different FPGA (Field Programmable Gate Array) chip and operates with the same clock. The test method according to any one of the above.
JP2009197269A 2009-08-27 2009-08-27 Semiconductor device and test method Withdrawn JP2011047826A (en)

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)

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