JP2008226186A - Integrated circuit, test condition setting method therefor, and program - Google Patents
Integrated circuit, test condition setting method therefor, and program Download PDFInfo
- Publication number
- JP2008226186A JP2008226186A JP2007067469A JP2007067469A JP2008226186A JP 2008226186 A JP2008226186 A JP 2008226186A JP 2007067469 A JP2007067469 A JP 2007067469A JP 2007067469 A JP2007067469 A JP 2007067469A JP 2008226186 A JP2008226186 A JP 2008226186A
- Authority
- JP
- Japan
- Prior art keywords
- arithmetic processing
- register
- test condition
- test
- setting
- 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)
- Test And Diagnosis Of Digital Computers (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
本発明は集積回路に関し、特に、複数の演算処理モジュールを備えた集積回路及びそのテスト条件設定方法並びにプログラムに関する。 The present invention relates to an integrated circuit, and more particularly to an integrated circuit having a plurality of arithmetic processing modules, a test condition setting method thereof, and a program.
従来、特定の演算処理がモジュール化して組み込まれた集積回路は、ASICと呼ばれ、様々な電子機器に適用されている。 2. Description of the Related Art Conventionally, an integrated circuit in which specific arithmetic processing is incorporated in a modular form is called an ASIC and is applied to various electronic devices.
例えば、画像処理装置には、パターン発生、変倍、回転、編集などといった各画像処理がモジュール化されて組み込まれた集積回路が用いられている。 For example, an integrated circuit in which image processing such as pattern generation, scaling, rotation, and editing is modularized and incorporated is used in the image processing apparatus.
このような集積回路に対しては、テストを行って正常に動作することを確認する必要がある。 Such an integrated circuit needs to be tested to confirm that it operates normally.
図6に、従来のASIC200の構成を示す。
ASIC200は、入力端子1、レジスタI/F2、レジスタ群3、切り替え部4〜7、パターン発生モジュール8、変倍モジュール9、編集モジュール10及び出力端子0を有する。
入力端子1は、前段に接続された不図示の装置(CPUなど)から画像データが入力される端子である。レジスタI/F2は、前段に接続された不図示の装置から制御信号が入力されるI/Fである。レジスタ群3は、各切り替え部4〜7やモジュール8〜10を制御するためのコマンドが格納されている。切り替え部4〜7は、画像データのデータラインを切り替える。パターン発生モジュール8は、任意の画像パターンを発生させる処理を行う。変倍モジュール9は、画像の倍率を変換する処理を行う。編集モジュール10は、画像のトリミングや拡張などの処理を行う。出力端子0は、後段に接続された不図示の装置へ画像データを出力するための端子である。
FIG. 6 shows a configuration of a conventional ASIC 200.
The ASIC 200 includes an
The
通常動作の際には、前段の装置からレジスタI/F2を介して制御信号が入力され、それに応じてレジスタ31〜37の値が設定される。例えば、切り替え部4をD1−D2、切り替え部5をD3−D4、切り替え部6をD5−D6、切り替え部7をD7−D8としてデータラインを設定し、画像データに対してパターン発生、変倍、編集の各処理を施して出力端子0から出力する。
In the normal operation, a control signal is input from the preceding device via the register I / F2, and the values of the registers 31 to 37 are set accordingly. For example, the
テスト動作の際には、前段の装置からレジスタI/F2を介して制御信号が入力され、レジスタ31〜37に対して通常動作とは異なるテスト専用の設定がなされる。例えば、変倍モジュール9のみテストする場合には、切り替え部4をD1−T1、切り替え部5をT1−D4、切り替え部6をD5−T2、切り替え部7をT3−D8としてデータラインを設定し、変倍モジュールに処理条件(拡大・縮小、縦倍率、横倍率など)を設定する。各切り替え部4〜7と変倍モジュール9における処理条件とをレジスタ32、34〜37に設定した後に、入力端子1を介して画像データを入力すると、設定された処理条件で変倍モジュール9において変倍処理が施された画像データが出力端子0から出力される。
At the time of the test operation, a control signal is input from the preceding device via the register I /
このように、レジスタI/F2を介してレジスタ群3にテスト条件(データライン及び各モジュールでの処理条件)を設定することにより、任意のモジュールについてテストを行うことが可能である。
しかし、近年のASICには多種多様な機能モジュールが組み込まれているため、レジスタにはテスト条件として多数の値を設定しなければならない。テスト条件としてレジスタに設定する値に誤りがあると(例えば、画像処理ASICにおいて走査開始位置が走査終了位置よりも後に設定される値であったりすると)、正しいテスト結果が得られず、ASIC内のモジュールを正しく評価できないという問題があった。 However, since various types of functional modules are incorporated in recent ASICs, a large number of values must be set as test conditions in the register. If there is an error in the value set in the register as a test condition (for example, if the scan start position is set after the scan end position in the image processing ASIC), a correct test result cannot be obtained, and the ASIC There was a problem that the module of could not be evaluated correctly.
特許文献1には、選択された機能モジュール内部のレジスタのアドレスを自動的に生成する回路を設けたデータ処理装置が開示されているが、直接レジスタを設定するか間接的にレジスタを設定するのかの違いであり、テスト条件に合った設定を正しく行わなければモジュールを正しく評価できないことには変わりはない。
本発明はかかる問題に鑑みてなされたものであり、モジュールとして組み込まれた演算処理機能を容易にテストできる集積回路及びそのテスト条件設定方法並びにプログラムを提供することを目的とする。 The present invention has been made in view of such problems, and an object of the present invention is to provide an integrated circuit, a test condition setting method, and a program for easily testing an arithmetic processing function incorporated as a module.
上記目的を達成するため、本発明は、第1の態様として、複数の演算処理モジュールと、演算処理対象のデータを各演算処理モジュール入力するか否かを切り替えるための切り替え手段と、各演算処理モジュール及び切り替え手段の処理条件を設定する複数のレジスタとを備え、演算処理モジュールごとに演算処理を実行するか否かを選択可能な集積回路であって、演算処理モジュールの少なくとも一つを用いたテストを行う際のテスト条件が記憶されたテスト条件記憶手段を備え、外部装置からの指示に応じて各レジスタにテスト条件に応じたレジスタ値を設定するレジスタ設定手段を有することを特徴とする集積回路を提供するものである。 In order to achieve the above object, as a first aspect, the present invention provides a plurality of arithmetic processing modules, switching means for switching whether or not to input arithmetic processing target data to each arithmetic processing module, and each arithmetic processing An integrated circuit comprising a plurality of registers for setting processing conditions of the module and the switching means, and capable of selecting whether or not to execute arithmetic processing for each arithmetic processing module, using at least one of the arithmetic processing modules An integrated circuit comprising test condition storage means for storing test conditions for performing a test, and register setting means for setting register values corresponding to the test conditions in each register in accordance with an instruction from an external device A circuit is provided.
本発明の第1の態様においては、演算処理モジュールは、演算処理対象のデータに対して画像処理を行うことが好ましい。また、演算処理モジュールの少なくとも一つは、演算処理対象のデータを生成する機能を有することが好ましい。また、レジスタ設定手段は、各レジスタのbit情報を検出し、該bit情報をテスト条件とに基づいて、各レジスタにレジスタ値を設定することが好ましい。また、レジスタ設定手段は、外部装置からテストに用いる演算処理モジュールとテスト回数とを指示として取得することが好ましい。 In the first aspect of the present invention, the arithmetic processing module preferably performs image processing on the data to be arithmetic processed. Moreover, it is preferable that at least one of the arithmetic processing modules has a function of generating data to be arithmetic processed. The register setting means preferably detects bit information of each register and sets a register value in each register based on the bit information based on a test condition. Further, it is preferable that the register setting means obtains an arithmetic processing module used for a test and the number of tests as instructions from an external device.
また、上記目的を達成するため、本発明は、第2の態様として、複数の演算処理モジュールと、演算処理対象のデータを各演算処理モジュール入力するか否かを切り替えるための切り替え手段と、各演算処理モジュール及び切り替え手段の処理条件を設定する複数のレジスタと、演算処理モジュールの少なくとも一つを用いたテストを行う際のテスト条件が記憶されたテスト条件記憶手段とを備え、演算処理モジュールごとに演算処理を実行するか否かを選択可能であり、外部装置からの指示に応じて各レジスタにテスト条件に応じたレジスタ値を設定するレジスタ設定手段を有することを特徴とする集積回路のテスト条件設定方法であって、外部装置からの指示により、テスト条件記憶手段に記憶されているテスト条件に応じたレジスタ値を各レジスタに設定することを特徴とする集積回路のテスト条件設定方法を提供するものである。 In order to achieve the above object, as a second aspect, the present invention provides a plurality of arithmetic processing modules, switching means for switching whether or not to input arithmetic processing target data to each arithmetic processing module, Each arithmetic processing module includes a plurality of registers for setting processing conditions for the arithmetic processing module and the switching means, and test condition storage means for storing test conditions for performing a test using at least one of the arithmetic processing modules. Whether or not to perform the arithmetic processing is provided, and has a register setting means for setting a register value corresponding to the test condition in each register according to an instruction from an external device. A condition setting method, which is a register value corresponding to a test condition stored in a test condition storage unit according to an instruction from an external device. There is provided a test condition setting method for an integrated circuit, characterized in that set in the registers.
また、上記目的を達成するため、本発明は、第3の態様として、複数の演算処理モジュールと、演算処理対象のデータを各演算処理モジュール入力するか否かを切り替えるための切り替え手段と、各演算処理モジュール及び切り替え手段の処理条件を設定する複数のレジスタと、演算処理モジュールの少なくとも一つを用いたテストを行う際のテスト条件が記憶されたテスト条件記憶手段とを備え、演算処理モジュールごとに演算処理を実行するか否かを選択可能であり、外部装置からの指示に応じて各レジスタにテスト条件に応じたレジスタ値を設定するレジスタ設定手段を有することを特徴とする集積回路のテスト条件をコンピュータに設定させるテスト条件設定プログラムであって、外部装置からの指示に応じて、コンピュータがテスト条件記憶手段に記憶されているテスト条件に応じたレジスタ値を各レジスタに設定することを特徴とする集積回路のテスト条件設定プログラムを提供するものである。 In order to achieve the above object, as a third aspect, the present invention provides a plurality of arithmetic processing modules, switching means for switching whether or not to input arithmetic processing target data to each arithmetic processing module, Each arithmetic processing module includes a plurality of registers for setting processing conditions for the arithmetic processing module and the switching means, and test condition storage means for storing test conditions for performing a test using at least one of the arithmetic processing modules. Whether or not to perform the arithmetic processing is provided, and has a register setting means for setting a register value corresponding to the test condition in each register according to an instruction from an external device. A test condition setting program for causing a computer to set conditions, in which the computer performs a test in response to an instruction from an external device. The register values corresponding to the test conditions stored in the condition storage means is to provide a test condition setting program of the integrated circuit, characterized in that set in the registers.
本発明によれば、モジュールとして組み込まれた演算処理機能を容易にテストできる集積回路及びそのテスト条件設定方法並びにプログラムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the integrated circuit which can test easily the arithmetic processing function incorporated as a module, its test condition setting method, and a program can be provided.
本発明の好適な実施の形態にかかる集積回路について説明する。図1に、本実施形態に係るASICの構成を示す。ASIC100は、入力端子11、レジスタI/F12、UI13、レジスタ14〜20、切り替え部21〜24、パターン発生モジュール25、変倍モジュール26、編集モジュール27、レジスタ設定部28及び出力端子29を有する。UI13及びレジスタ設定部28を以外の各部は従来のASICと同様である。
An integrated circuit according to a preferred embodiment of the present invention will be described. FIG. 1 shows the configuration of the ASIC according to this embodiment. The ASIC 100 includes an
通常動作時には、従来のASICと同様に、前段の装置(CPUなど)からレジスタI/F12を介して制御信号が入力され、それに応じてレジスタ14〜20の値が設定される。レジスタ14〜20は設定された値に応じて各切り替え部21〜24及びモジュール25〜27を制御し、データラインと各モジュールにおける処理条件とを指定する。前段の装置から入力端子11を介して入力された画像データは、設定されたデータライン上の各モジュールにおいて処理がなされたのち、外部端子29から出力される。
At the time of normal operation, a control signal is input via the register I / F 12 from the preceding device (CPU or the like) as in the conventional ASIC, and the values of the
テスト動作時には、どのテストを何回行うのかといったテスト条件が制御信号としてUI13を介してレジスタ設定部28に入力される。入力された内容は、計数部281及び指示部282に保存される。なお、同一条件でのテストを繰り返すだけでなく、複数の条件でテストを行うように設定することも可能である。例えば、「条件A、条件B、条件Cで各1回ずつ」のような設定も可能である。
During the test operation, test conditions such as which test is performed how many times are input to the
また、実行するテストに関する設定内容(レジスタの値)は記憶部283から読み出され、レジスタ設定部28から各レジスタ14〜20に出力される。
The setting contents (register values) relating to the test to be executed are read from the storage unit 283 and output from the
各モジュールに対応するレジスタの設定値の一例を図2に示す。各レジスタの設定値はそれぞれ所定ビットのパラメータの組み合わせたものである。例えば、変倍モジュール26に関する設定は、主走査方向に縮小するか拡大するのかを示す「主走査変倍モード(縮/拡)」、副走査方向に縮小するのか拡大するのかを示す「副走査変倍モード(縮/拡)」、主走査方向の変倍率を示す「主走査変倍率」、副走査方向の変倍率を示す「副走査変倍率」の各パラメータを組み合わせることによって行われる。これらの値はテストの種類に応じた所定値である。
An example of register setting values corresponding to each module is shown in FIG. Each register set value is a combination of parameters of predetermined bits. For example, the setting relating to the
図3に、テスト動作の流れを示す。
レジスタ設定部28は、UI13を介して入力された制御信号に基づいて、テスト対象のモジュールとテスト回数とを認識する(ステップS1)。テスト対象モジュールとテスト回数とは指示部282及び計数部281にそれぞれ記憶される。
FIG. 3 shows the flow of the test operation.
The
前段の装置から入力端子を介して画像データを入力する。入力する画像の種類は任意である。例えば、ランダムデータやインクリメントデータなどを用いることができる。 Image data is input from the preceding apparatus via an input terminal. The type of image to be input is arbitrary. For example, random data or increment data can be used.
レジスタ設定部28は、レジスタの対応を判断する(ステップS3)。まず、レジスタ設定部28はモジュール25〜27のうちテスト対象として認識したものからbit情報を取得する(ステップS31)。そして、レジスタ設定部28は、記憶部283に記憶されているテーブルを用いて、取得したbit情報に対応する設定情報を取得する(ステップS32)。レジスタ設定部28は、記憶部283から取得した設定情報を基に、テスト対象のレジスタにあった値の設定方法を選択する(ステップS33)。
The
レジスタの設定方法を選択したのち、レジスタ設定部28は選択した設定情報に基づいてレジスタ14〜16の値を設定し、処理条件を定める(ステップS4)。
After selecting the register setting method, the
また、レジスタ設定部は、レジスタ17〜20の値を設定し、データラインを指定する(ステップS5)。図4に、データラインの一例を示す。図中に太線で示すのがデータラインである。ここでは、切り替え部21をD1−D2、切り替え部22をD3−T2、切り替え部23をT2−D6、切り替え部24をD7−D8としており、これにより、パターン発生モジュール25と編集モジュール27とがテスト対象のモジュールとして設定されたこととなる。
The register setting unit sets the values of the
データラインが指定されたらテスト動作を実行し、1回のテストが終わるごとにレジスタ設定部28でカウントアップする。カウント値が計数部281に記憶されている値に達したらテストを完了する(ステップS6/Yes、S7)。
計数部281に記憶されている値に達していなければ(ステップS6/No)、再びレジスタ設定及びデータライン設定を行ってテスト動作を実行し、カウント値が計数部281に記憶されている値に達するまで繰り返す。
When a data line is designated, a test operation is executed, and the
If the value stored in the counting unit 281 has not been reached (No in step S6), the register setting and the data line setting are performed again to execute the test operation, and the count value is changed to the value stored in the counting unit 281. Repeat until it reaches.
なお、図5に示すように、ASIC100内にテストに使用できるデータを生成する機能を備えたモジュール(この例ではパターン発生モジュール25)を含んでいる場合には、そのモジュールにおいて生成したデータを用いてASIC100をテストすることも可能である。図中にこの場合のデータラインを太線で示す。
As shown in FIG. 5, when the
このように、本実施形態に係る集積回路は、レジスタに対するテスト条件の設定をユーザによる手作業で行う必要がない。これにより、ヒューマンエラーに起因するテスト条件の設定不良を防止できる。 Thus, the integrated circuit according to the present embodiment does not require the user to manually set the test conditions for the register. Thereby, it is possible to prevent a test condition setting failure caused by a human error.
なお、上記実施形態は本発明の好適な実施の一例であり、本発明はこれに限定されることはない。
例えば、上記実施形態では、レジスタ設定部28がテスト動作のたびにレジスタ14〜20からbit情報を取得する構成を例としたが、bit情報を記憶部に記憶させておくようにしても良い。bit情報を記憶部に記憶させておけば、テスト実行時の工程数を減らせるため処理を高速でき、また回路構成も簡略化できる。ただし、bit情報をレジスタ14〜20から取得するようにした方が記憶部283の容量が小さくてすむため、記憶部283のサイズダウンを優先するのか、処理の高速化及び回路の簡略化を優先に応じてどちらの構成を選択するかを決定することが好ましい。
また、上記実施形態では画像処理用のASICを例に説明したが、画像処理用に限らずあらゆる演算処理用の集積回路に適用可能であることは言うまでもない。
このように、本発明は様々な変形が可能である。
In addition, the said embodiment is an example of suitable implementation of this invention, and this invention is not limited to this.
For example, in the above embodiment, the
In the above embodiment, the ASIC for image processing has been described as an example. However, it is needless to say that the present invention is applicable not only to image processing but also to any arithmetic processing integrated circuit.
As described above, the present invention can be variously modified.
11 入力端子
12 レジスタI/F
13 UI
14、15、16、17、18、19、20 レジスタ
21、22、23、24 切り替え部
25 パターン発生モジュール
26 変倍モジュール
27 編集モジュール
28 レジスタ設定部
29 出力端子
100 ASIC
11 Input terminal 12 Register I / F
13 UI
14, 15, 16, 17, 18, 19, 20
Claims (7)
前記演算処理モジュールの少なくとも一つを用いたテストを行う際のテスト条件が記憶されたテスト条件記憶手段を備え、外部装置からの指示に応じて前記各レジスタにテスト条件に応じたレジスタ値を設定するレジスタ設定手段を有することを特徴とする集積回路。 A plurality of arithmetic processing modules, a switching means for switching whether or not each arithmetic processing module inputs data to be processed, and a plurality of registers for setting processing conditions of the arithmetic processing modules and the switching means. An integrated circuit capable of selecting whether or not to execute arithmetic processing for each arithmetic processing module,
A test condition storage means for storing a test condition when performing a test using at least one of the arithmetic processing modules is set, and a register value corresponding to the test condition is set in each register according to an instruction from an external device An integrated circuit comprising register setting means.
前記外部装置からの指示により、前記テスト条件記憶手段に記憶されているテスト条件に応じたレジスタ値を前記各レジスタに設定することを特徴とする集積回路のテスト条件設定方法。 A plurality of arithmetic processing modules, a switching means for switching whether or not each arithmetic processing module inputs data to be processed, a plurality of registers for setting processing conditions for the arithmetic processing modules and the switching means, A test condition storage unit that stores test conditions when performing a test using at least one of the arithmetic processing modules, and can select whether to perform arithmetic processing for each arithmetic processing module; A test condition setting method for an integrated circuit comprising register setting means for setting a register value corresponding to a test condition in each register according to an instruction from an external device,
A test condition setting method for an integrated circuit, wherein a register value corresponding to a test condition stored in the test condition storage means is set in each register according to an instruction from the external device.
前記外部装置からの指示に応じて、前記コンピュータが前記テスト条件記憶手段に記憶されているテスト条件に応じたレジスタ値を前記各レジスタに設定することを特徴とする集積回路のテスト条件設定プログラム。 A plurality of arithmetic processing modules, a switching means for switching whether or not each arithmetic processing module inputs data to be processed, a plurality of registers for setting processing conditions for the arithmetic processing modules and the switching means, A test condition storage unit that stores test conditions when performing a test using at least one of the arithmetic processing modules, and can select whether to perform arithmetic processing for each arithmetic processing module; A test condition setting program for causing a computer to set a test condition for an integrated circuit, comprising register setting means for setting a register value corresponding to a test condition in each register according to an instruction from an external device,
In accordance with an instruction from the external device, the computer sets a register value corresponding to the test condition stored in the test condition storage means in each register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007067469A JP2008226186A (en) | 2007-03-15 | 2007-03-15 | Integrated circuit, test condition setting method therefor, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007067469A JP2008226186A (en) | 2007-03-15 | 2007-03-15 | Integrated circuit, test condition setting method therefor, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008226186A true JP2008226186A (en) | 2008-09-25 |
Family
ID=39844663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007067469A Withdrawn JP2008226186A (en) | 2007-03-15 | 2007-03-15 | Integrated circuit, test condition setting method therefor, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008226186A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019188172A1 (en) * | 2018-03-30 | 2019-10-03 | 株式会社デンソー | Information processing device |
-
2007
- 2007-03-15 JP JP2007067469A patent/JP2008226186A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019188172A1 (en) * | 2018-03-30 | 2019-10-03 | 株式会社デンソー | Information processing device |
JP2019179409A (en) * | 2018-03-30 | 2019-10-17 | 株式会社デンソー | Information processing apparatus |
JP7169081B2 (en) | 2018-03-30 | 2022-11-10 | 株式会社デンソー | Information processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6214824B2 (en) | Automatic test equipment | |
JP2010181573A (en) | Image processing apparatus, information processing apparatus, mobile terminal device, and image processing method | |
JP2008226186A (en) | Integrated circuit, test condition setting method therefor, and program | |
JP2009038117A (en) | Recipe generation system and recipe generation method | |
JPH09159726A (en) | Scan test apparatus | |
US11200007B2 (en) | Display method, display device, and printing device | |
KR20150087982A (en) | Method and appratus for processing image by thread | |
JP2005522954A (en) | Imaging device and timing generator | |
JP5325744B2 (en) | Image processing apparatus and image processing program | |
WO2020213129A1 (en) | Debugging assistance device, debugging assistance method and debugging assistance program | |
JP2009163285A (en) | Output port, microcomputer and data output method | |
JP2007323470A (en) | Connection method and connection device between devices | |
US9424040B2 (en) | LSI and LSI manufacturing method | |
JP3501730B2 (en) | Logic circuit observable device and logic circuit observable method | |
JP2008236129A (en) | Method for testing image processor, and image processor | |
JP2018073317A (en) | Graphical user interface processing device | |
JP2017045090A (en) | Semiconductor integrated circuit and electronic apparatus | |
JP2010185677A (en) | Device and method for measuring power supply current | |
JPH07322058A (en) | Picture processor | |
TW202321841A (en) | Control logic generation support device and control logic generation support method | |
JP2011065529A (en) | Semiconductor integrated device and control method thereof | |
JP4628464B2 (en) | Video editing device | |
JP4433144B2 (en) | Simulated failure test method and simulated failure test program | |
JP2006115367A (en) | Image processing analyzer | |
US8280529B2 (en) | Sequence control apparatus and test apparatus |
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: 20100601 |