JP2022162860A - Operator, operation system, and method for testing - Google Patents

Operator, operation system, and method for testing Download PDF

Info

Publication number
JP2022162860A
JP2022162860A JP2021067900A JP2021067900A JP2022162860A JP 2022162860 A JP2022162860 A JP 2022162860A JP 2021067900 A JP2021067900 A JP 2021067900A JP 2021067900 A JP2021067900 A JP 2021067900A JP 2022162860 A JP2022162860 A JP 2022162860A
Authority
JP
Japan
Prior art keywords
user circuit
test
output
determination unit
unit
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.)
Pending
Application number
JP2021067900A
Other languages
Japanese (ja)
Inventor
康浩 池田
Yasuhiro Ikeda
忠信 鳥羽
Tadanobu Toba
健一 新保
Kenichi Shinpo
純之 荒田
Sumiyuki Arata
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Astemo Ltd
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 Hitachi Astemo Ltd filed Critical Hitachi Astemo Ltd
Priority to JP2021067900A priority Critical patent/JP2022162860A/en
Priority to PCT/JP2022/007046 priority patent/WO2022219926A1/en
Publication of JP2022162860A publication Critical patent/JP2022162860A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer

Abstract

To specify a place of generation of an abnormality in hardware by a small number of test patterns.SOLUTION: The operator includes: a user circuit as a test target; a test pattern applying unit for inputting a test input as an input which toggles a signal in a test part in the user circuit, into the user circuit; a determination unit for determining whether the user circuit has an abnormality, on the basis of the output of the user circuit; and an abnormality part determination unit for specifying a place of generation of an abnormality in the hardware in the user circuit on the basis of the determination by the determination unit.SELECTED DRAWING: Figure 1

Description

本発明は、演算装置、演算システム、およびテスト方法に関する。 The present invention relates to arithmetic devices, arithmetic systems, and test methods.

自動運転や先進運転支援システムを対象とした複眼カメラや電子制御装置は、大容量のセンシングデータの処理が必要であり、データ処理を担うデバイスとして書き換え可能な論理回路の活用が進んでいる。また、カーシェアなどのMaas(Mobility-as-a-Service)の普及に伴い、自動車の高稼働率化が求められ、FPGAを含むハード機器の診断だけでなく、不良要因の特定を短時間で行い、改修後早期に市場投入することが必要である。しかし、FPGAの大規模化により要素回路の組合せ数が大幅に増加し、不良要因特定のためのテストパタン数が増大してテスト時間が長くなる問題が知られている。特許文献1には、情報処理装置の論理検証方法であって、情報処理装置の論理検証の網羅性を管理するカバレッジ情報を参照してテストデータを生成するステップと、前記生成テストデータがテスト済みかどうかを判断し、テスト済みと判断された場合は、前記生成テストデータを妥当でないと判定し、生成テストデータがテスト済みでないと判断された場合は、前記生成テストデータを妥当であると判定するステップと、前記妥当であると判定された前記生成テストデータを用いて前記情報処理装置のシミュレータを用いて擬似テストを実行し、前記擬似テストによる期待値を生成するステップと、前記妥当であると判定された前記生成テストデータに関しカバレッジ情報を更新するステップと、前記生成テストデータを用いて情報処理装置に対し本テストを実行するステップと、前記情報処理装置に対して実行した本テストのテスト結果と前記期待値とを比較し、前記テスト結果が正常かどうかを判定するステップと、前記テスト結果の判定が正常の場合は、終了判定を行い、前記終了判定において終了条件を満たす場合は論理検証を終了し、終了条件を満たさない場合は前記各ステップを繰り返すことを特徴とする、方法が開示されている。 Compound-eye cameras and electronic control units for autonomous driving and advanced driver assistance systems need to process a large amount of sensing data, and the use of rewritable logic circuits is progressing as devices that handle data processing. In addition, with the spread of MaaS (Mobility-as-a-Service) such as car sharing, there is a demand for high operating rates of automobiles. It is necessary to carry out maintenance work and put it on the market as soon as possible after the renovation. However, there is a known problem that the number of combinations of element circuits increases significantly as the size of FPGA increases, and the number of test patterns for identifying failure factors increases, resulting in a longer test time. Patent Document 1 discloses a logic verification method for an information processing device, comprising steps of generating test data by referring to coverage information for managing completeness of logic verification of the information processing device; If it is determined that the test has been completed, the generated test data is determined to be invalid, and if it is determined that the generated test data has not been tested, the generated test data is determined to be valid. executing a pseudo test using the simulator of the information processing device using the generated test data determined to be valid to generate an expected value by the pseudo test; a step of updating coverage information with respect to the generated test data determined as; a step of executing a main test on an information processing device using the generated test data; and a main test executed on the information processing device. a step of comparing the result with the expected value to determine whether the test result is normal; performing a termination determination when the test result is determined to be normal; and logic when the termination condition is satisfied in the termination determination. A method is disclosed characterized by terminating the verification and repeating the above steps if the termination condition is not met.

特開2014-164646号公報JP 2014-164646 A

特許文献1に記載されている発明では、ハードウエア異常の発生個所の特定に多くのテストパタンが必要となる。 In the invention described in Patent Document 1, many test patterns are required to identify the location where the hardware abnormality occurs.

本発明の第1の態様による演算装置は、テスト対象であるユーザ回路と、前記ユーザ回路におけるテスト箇所の信号がトグルする入力であるテスト入力を前記ユーザ回路に入力するテストパタン印加部と、前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定する判定部と、前記判定部の判定に基づき前記ユーザ回路におけるハードウエア異常の発生個所を特定する異常個所判定部とを備える。
本発明の第2の態様による演算システムは、テスト対象であるユーザ回路と、前記ユーザ回路におけるテスト箇所の信号がトグルする入力であるテスト入力を前記ユーザ回路に入力するテストパタン印加部と、前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定する判定部と、前記判定部の判定に基づき前記ユーザ回路におけるハードウエア異常の発生個所を特定する異常個所判定部とを備える。
本発明の第3の態様によるテスト方法は、テスト対象であるユーザ回路、および前記ユーザ回路をテストするための入力であるテスト入力を前記ユーザ回路に印加するテストパタン印加部を備える演算装置が実行するテスト方法であって、前記テストパタン印加部が、前記ユーザ回路におけるテスト箇所の信号がトグルする前記テスト入力を入力することと、前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定することと、前記ユーザ回路におけるハードウエア異常の発生個所を特定することとを含む。
A computing device according to a first aspect of the present invention comprises a user circuit to be tested, a test pattern application unit for inputting a test input, which is an input toggling a signal at a test location in the user circuit, to the user circuit, and A determination unit that determines whether or not there is an abnormality in the user circuit based on the output of the user circuit, and an abnormal location determination unit that identifies a location of hardware abnormality in the user circuit based on the determination by the determination unit.
A computing system according to a second aspect of the present invention comprises a user circuit to be tested, a test pattern application section for inputting a test input, which is an input toggling a signal at a test location in the user circuit, to the user circuit, and A determination unit that determines whether or not there is an abnormality in the user circuit based on the output of the user circuit, and an abnormal location determination unit that identifies a location of hardware abnormality in the user circuit based on the determination by the determination unit.
A test method according to a third aspect of the present invention is executed by an arithmetic device comprising a user circuit to be tested and a test pattern applying unit for applying a test input, which is an input for testing the user circuit, to the user circuit. In the test method, the test pattern application unit inputs the test input that toggles the signal at the test location in the user circuit, and determines whether or not there is an abnormality in the user circuit based on the output of the user circuit. and identifying the location of the hardware failure in the user circuit.

本発明によれば、少ないテストパタンでハードウエア異常の発生個所を特定できる。 According to the present invention, it is possible to specify the location of the occurrence of the hardware abnormality with a small number of test patterns.

第1の実施の形態における演算装置の機能構成図Functional configuration diagram of the arithmetic unit in the first embodiment プログラマブルロジック部において実行されるテストの概念を示す図Diagram showing the concept of tests executed in the programmable logic unit 演算装置および事前算出装置のハードウエア構成図Hardware configuration diagram of arithmetic unit and pre-calculation unit テスト情報の一例を示す図Diagram showing an example of test information 事前算出装置によるユーザ回路の開発処理を示すフローチャートFlowchart showing user circuit development processing by advance calculation device テスト情報作成処理を示すフローチャートFlowchart showing test information creation processing 出力経路探索処理の詳細を示すフローチャートFlowchart showing details of output route search processing トグルパタン生成処理の詳細を示すフローチャートFlowchart showing details of toggle pattern generation processing テスト情報の作成処理の具体例を説明する図Diagram for explaining a specific example of test information creation processing テスト情報の作成処理の具体例を説明する図Diagram for explaining a specific example of test information creation processing 第2の実施の形態における演算装置の機能構成図Functional Configuration Diagram of Arithmetic Device in Second Embodiment 第3の実施の形態における演算装置の機能構成図Functional configuration diagram of an arithmetic unit according to the third embodiment

―第1の実施の形態―
以下、図1~図10を参照して、本発明に係る演算装置の第1の実施の形態を説明する。
-First Embodiment-
A first embodiment of an arithmetic device according to the present invention will be described below with reference to FIGS. 1 to 10. FIG.

図1は、第1の実施の形態における演算装置70の機能構成図である。演算装置70は、テスト対象の回路が含まれるプログラマブルロジック部100と、テストの実行を制御するテスト制御部300と、ハードウエア異常が発生した箇所を特定する異常個所判定部500とを備える。また演算装置70には、テスト情報400が格納される。テスト情報400は事前算出装置80により作成される。 FIG. 1 is a functional configuration diagram of an arithmetic device 70 according to the first embodiment. The arithmetic unit 70 includes a programmable logic unit 100 including a circuit to be tested, a test control unit 300 that controls test execution, and an error location determination unit 500 that specifies the location of hardware failure. Also, test information 400 is stored in the arithmetic unit 70 . Test information 400 is created by precomputer 80 .

図2は、プログラマブルロジック部100において実行されるテストの概念を示す図であり、このテストはBIST(Built-in Self Test)として広く知られている。すなわち、テストパタン印加部210からテストパタンをテスト対象である第2ユーザ回路222に印加し、その出力結果を判定部230で期待値と比較する。演算装置70の機能構成の詳細を説明する前にハードウエア構成を説明する。 FIG. 2 is a diagram showing the concept of a test executed in the programmable logic unit 100, and this test is widely known as BIST (Built-in Self Test). That is, the test pattern application unit 210 applies the test pattern to the second user circuit 222 to be tested, and the determination unit 230 compares the output result with the expected value. Before describing the details of the functional configuration of the arithmetic unit 70, the hardware configuration will be described.

図3は、演算装置70および事前算出装置80のハードウエア構成図である。演算装置70は、中央演算装置であるCPU71、読み出し専用の記憶装置であるROM72、および読み書き可能な記憶装置であるRAM73、不揮発性の記憶装置であるフラッシュメモリ74、書き換え可能な論理回路であるプログラマブルロジック部100、および出力部75を備える。CPU71がROM72に格納されるプログラムをRAM73に展開して実行することでテスト制御部300および異常個所判定部500を実現する。プログラマブルロジック部100は、たとえばFPGAである。 FIG. 3 is a hardware configuration diagram of the arithmetic device 70 and the pre-calculation device 80. As shown in FIG. The arithmetic unit 70 includes a CPU 71 that is a central processing unit, a ROM 72 that is a read-only storage device, a RAM 73 that is a readable and writable storage device, a flash memory 74 that is a nonvolatile storage device, and a programmable logic circuit that is a rewritable logic circuit. A logic unit 100 and an output unit 75 are provided. The CPU 71 develops the program stored in the ROM 72 in the RAM 73 and executes the program, thereby realizing the test control section 300 and the abnormal point determination section 500 . Programmable logic unit 100 is, for example, an FPGA.

ただし演算装置70は、CPU71、ROM72、およびRAM73の組み合わせの代わりに書き換え可能な論理回路であるFPGA(Field Programmable Gate Array)や特定用途向け集積回路であるASIC(Application Specific Integrated Circuit)を用いて後述する機能を実現してもよい。また演算装置70は、CPU71、ROM72、およびRAM73の組み合わせの代わりに、異なる構成の組み合わせ、たとえばCPU71、ROM72、RAM73とFPGAの組み合わせにより後述する機能を実現してもよい。またここでいうFPGAは、プログラマブルロジック部100であってもよい。テスト情報400は、フラッシュメモリ74に格納されてもよいしROM72に格納されてもよい。 However, the arithmetic unit 70 uses FPGA (Field Programmable Gate Array), which is a rewritable logic circuit, or ASIC (Application Specific Integrated Circuit), which is an application specific integrated circuit, instead of the combination of CPU 71, ROM 72, and RAM 73. You may implement the function to Further, arithmetic device 70 may realize functions described later by combining different configurations, for example, by combining CPU 71 , ROM 72 , RAM 73 and FPGA instead of combining CPU 71 , ROM 72 and RAM 73 . Also, the FPGA referred to here may be the programmable logic unit 100 . The test information 400 may be stored in the flash memory 74 or may be stored in the ROM 72 .

事前算出装置80は、前述のテスト情報400を作成する装置である。事前算出装置80は、CPU81と、ROM82と、RAM83と、不揮発性の記憶装置であるハードディスクドライブ(HDD)84とを備える。CPU81がROM82に格納されるプログラムをRAM83に展開して実行することで後述する機能を実現する。ただし事前算出装置80は、CPU81、ROM82、およびRAM83の組み合わせの代わりに書き換え可能な論理回路であるFPGAや特定用途向け集積回路であるASICを用いて後述する機能を実現してもよい。また事前算出装置80は、CPU81、ROM82、およびRAM83の組み合わせの代わりに、異なる構成の組み合わせ、たとえばCPU81、ROM82、RAM83とFPGAの組み合わせにより後述する機能を実現してもよい。図1に戻って説明を続ける。 The pre-calculation device 80 is a device that creates the test information 400 described above. The advance calculation device 80 includes a CPU 81, a ROM 82, a RAM 83, and a hard disk drive (HDD) 84, which is a non-volatile storage device. The CPU 81 develops the program stored in the ROM 82 in the RAM 83 and executes it, thereby realizing the functions described later. However, instead of the combination of the CPU 81, the ROM 82, and the RAM 83, the pre-calculation device 80 may implement functions described later by using FPGA, which is a rewritable logic circuit, or ASIC, which is an application-specific integrated circuit. Further, the pre-calculation device 80 may realize functions described later by combining different configurations, for example, by combining the CPU 81, the ROM 82, the RAM 83 and an FPGA, instead of the combination of the CPU 81, the ROM 82, and the RAM 83. Returning to FIG. 1, the description continues.

プログラマブルロジック部100には、テストパタン印加部210、第1ユーザ回路221、第2ユーザ回路222、第3ユーザ回路223、判定部230、第1セレクタ241、および第2セレクタ242が含まれる。本実施の形態では、第2ユーザ回路222がテストの対象となる。 The programmable logic section 100 includes a test pattern application section 210 , a first user circuit 221 , a second user circuit 222 , a third user circuit 223 , a determination section 230 , a first selector 241 and a second selector 242 . In this embodiment, the second user circuit 222 is to be tested.

第1セレクタ241は、テストパタン印加部210、第1ユーザ回路221、および第2ユーザ回路222を接続する。第1セレクタ241はたとえば、初期状態では第1ユーザ回路221と第2ユーザ回路222とを接続し、テスト制御部300から動作指令を受信すると、テストパタン印加部210と第2ユーザ回路222とを接続する。第2セレクタ242は、第2ユーザ回路222、判定部230、および第3ユーザ回路223を接続する。第2セレクタ242はたとえば、初期状態では第2ユーザ回路222と第3ユーザ回路223とを接続し、テスト制御部300から動作指令を受信すると、第2ユーザ回路222と判定部230とを接続する。 The first selector 241 connects the test pattern applying section 210 , the first user circuit 221 and the second user circuit 222 . For example, the first selector 241 connects the first user circuit 221 and the second user circuit 222 in an initial state, and upon receiving an operation command from the test control section 300, connects the test pattern applying section 210 and the second user circuit 222. Connecting. The second selector 242 connects the second user circuit 222 , the determination section 230 and the third user circuit 223 . For example, the second selector 242 connects the second user circuit 222 and the third user circuit 223 in an initial state, and connects the second user circuit 222 and the determination section 230 when an operation command is received from the test control section 300. .

テスト情報400には、入力情報410、期待値情報420、および異常個所特定情報430が含まれる。入力情報410は、テストパタンごとにユーザ回路220へ入力すべき信号の情報である。入力情報410は、テスト制御部300を介してテストパタン印加部210に伝達される。期待値情報420は、テストパタンごとにユーザ回路220から出力されることが記載される信号の情報である。期待値情報420は、テスト制御部300を介して判定部230に伝達される。異常個所特定情報430は、テストパタンと異常個所との組合せである。ここでいう異常個所とは、第2ユーザ回路222に含まれる構成である。 The test information 400 includes input information 410 , expected value information 420 , and abnormal location identification information 430 . The input information 410 is information on signals to be input to the user circuit 220 for each test pattern. The input information 410 is transmitted to the test pattern application unit 210 through the test control unit 300 . The expected value information 420 is signal information describing that it is output from the user circuit 220 for each test pattern. Expected value information 420 is transmitted to determination section 230 via test control section 300 . The abnormal location identification information 430 is a combination of test patterns and abnormal locations. The abnormal location here is a configuration included in the second user circuit 222 .

テスト制御部300は、テスト情報400を読み取り、テストパタン印加部210に入力情報410を出力し、判定部230に期待値情報420を出力する。テストパタン印加部210は、テスト制御部300から受信したテストパタンの情報に基づき第2ユーザ回路222に信号を出力する。テストパタン印加部210はたとえば、テストパタンのリストを先頭から順番に読み込み、100msごとに次々に信号を出力する。 The test control section 300 reads test information 400 , outputs input information 410 to the test pattern application section 210 , and outputs expected value information 420 to the determination section 230 . The test pattern application unit 210 outputs a signal to the second user circuit 222 based on the test pattern information received from the test control unit 300 . For example, the test pattern application unit 210 sequentially reads the list of test patterns from the top and outputs signals one after another every 100 ms.

判定部230は、テスト制御部300から受信した期待値情報420に基づき、第2ユーザ回路222の出力が期待値に合致するか否かを判断する。判定部230はたとえば期待値のリストを先頭から順番に読み込み、100msごとに次の出力がされることを前提に評価する。判定部230は、受信した信号が期待値と一致しない場合には、その期待値に対応するテストパタンの情報を異常個所判定部500に出力する。テストパタンの情報を受信した異常個所判定部500は、異常個所特定情報430を参照して異常箇所を特定する。 The determination unit 230 determines whether the output of the second user circuit 222 matches the expected value based on the expected value information 420 received from the test control unit 300 . The determination unit 230 reads, for example, the list of expected values in order from the top, and evaluates on the premise that the next output is made every 100 ms. If the received signal does not match the expected value, the determining section 230 outputs test pattern information corresponding to the expected value to the abnormal location determining section 500 . Upon receiving the information of the test pattern, the abnormal location determination unit 500 refers to the abnormal location identification information 430 to identify the abnormal location.

(テスト情報)
図4は、テスト情報400の一例を示す図である。テスト情報400は前述のとおり、入力情報410と、期待値情報420と、異常個所特定情報430とを含む。図4に示す例では、テスト対象である第2ユーザ回路222は入力が3以上あり、出力が2つであると想定している。図4に示す例では、テストパタンの名称はテスト箇所と数字「1」または「2」の組合せとしている。具体的には「パタンA1」は、箇所「A」に対するテストの「1」回目であり、「パタンA2」は、箇所「A」に対するテストの「2」回目である。図8では主に2つのテストパタンしか記載していないが、「パタンB1」、「パタンB2」、「パタンC1」など他にもテストパタンが含まれてよい。
(test information)
FIG. 4 is a diagram showing an example of test information 400. As shown in FIG. The test information 400 includes the input information 410, the expected value information 420, and the abnormal location identification information 430, as described above. In the example shown in FIG. 4, it is assumed that the second user circuit 222 to be tested has three or more inputs and two outputs. In the example shown in FIG. 4, the name of the test pattern is a combination of the test location and the number "1" or "2". Specifically, the "pattern A1" is the "1" test for the location "A", and the "pattern A2" is the "2" test for the location "A". Although only two test patterns are mainly described in FIG. 8, other test patterns such as "pattern B1", "pattern B2", and "pattern C1" may be included.

入力情報410には、テストパタンごとの第2ユーザ回路222への入力値が示されている。期待値情報420には、テストパタンごとの第2ユーザ回路222の出力値の期待値が示されている。異常個所特定情報430には、テストパタンごとの異常個所の情報が格納される。 The input information 410 indicates input values to the second user circuit 222 for each test pattern. The expected value information 420 indicates the expected output value of the second user circuit 222 for each test pattern. The abnormal location identification information 430 stores information on the abnormal location for each test pattern.

図4に例示するテスト情報400を使ったテストの一例を説明する。テストパタン印加部210は、たとえば入力情報410に記載されたテストパタンを上から順番に読み込み、指定された入力値を第2ユーザ回路222に対して100msごとに出力する。判定部230は期待値情報420を読み込み、100msごとに第2ユーザ回路222の出力が期待値情報420に記載された出力値と一致するか否かを100msごとに判断する。判定部230はたとえば、最初の100msは第2ユーザ回路222の出力がパタンA1の期待値と一致するか否かを判定し、次の100msは第2ユーザ回路222の出力がパタンA2の期待値と一致するか否かを判定する。 An example of a test using the test information 400 illustrated in FIG. 4 will be described. The test pattern application unit 210 reads, for example, the test patterns described in the input information 410 in order from the top, and outputs the specified input value to the second user circuit 222 every 100 ms. The determination unit 230 reads the expected value information 420 and determines every 100 ms whether or not the output of the second user circuit 222 matches the output value described in the expected value information 420 every 100 ms. For example, the determination unit 230 determines whether the output of the second user circuit 222 matches the expected value of the pattern A1 for the first 100 ms, and the output of the second user circuit 222 matches the expected value of the pattern A2 for the next 100 ms. It is determined whether or not it matches with

判定部230は、第2ユーザ回路222の出力と期待値とが一致しないと判断する場合には、たとえばそのテストパタンの名称を異常個所判定部500に出力する。判定部230はたとえば、テスト開始からの経過秒数、およびテストが期待値情報420に記載された上から順番に実行されるという情報により、現在テストが行われているテストパタンを特定できる。異常個所判定部500は、判定部230からテストパタンの名称を受信すると、異常個所特定情報430を参照してハードウエア故障が発生した個所を特定する。 When judging that the output of the second user circuit 222 and the expected value do not match, the judging section 230 outputs the name of the test pattern to the abnormal point judging section 500, for example. The determination unit 230 can identify the test pattern currently being tested, for example, based on the elapsed seconds from the start of the test and the information that the tests are executed in order from the top described in the expected value information 420 . Upon receiving the name of the test pattern from the determination unit 230, the abnormal location determination unit 500 refers to the abnormal location identification information 430 to identify the location where the hardware failure occurred.

(テスト情報の作成)
図5~図10を参照して事前算出装置80によるテスト情報400の作成処理および、その前提となるユーザ回路の開発処理を説明する。図5は、事前算出装置80によるユーザ回路の開発処理を示すフローチャートである。事前算出装置80は、以下に説明する開発処理により、少なくとも第2ユーザ回路222の開発を行う。なおこの開発処理は、後述する処理により得られるテスト情報400を利用している。以下に説明する各ステップの実行主体は、事前算出装置80のCPU81または開発者である。
(Creation of test information)
5 to 10, the process of creating test information 400 by pre-calculation device 80 and the process of developing a user circuit, which is the premise thereof, will be described. FIG. 5 is a flow chart showing the development processing of the user circuit by the pre-calculation device 80. As shown in FIG. The pre-computing device 80 develops at least the second user circuit 222 by the development process described below. Note that this development process uses the test information 400 obtained by the process described later. The execution subject of each step described below is the CPU 81 of the pre-calculation device 80 or a developer.

開発者はまずステップS1001においてユーザ回路の仕様を検討し、続くステップS1002において論理設計を行う。そして開発者は、ステップS1003において設計した論理の検証を行い、続くステップS1004において回路の最適化、すなわち論理合成を行う。なお以下では、ステップS1004において生成される情報を「論理情報A」と呼ぶ。さらに続くステップS1005において、論理合成した回路の配置および配線、すなわち配置配線を決定する。なお以下では、ステップS1005において生成される情報を「接続情報B」と呼ぶ。続くステップS1006では、ステップS1004およびステップS1005において生成した、論理情報Aおよび接続情報Bを出力する。出力したこれらの情報は、後述するテスト情報生成処理において利用される。 The developer first examines the specifications of the user circuit in step S1001, and then designs the logic in step S1002. The developer verifies the designed logic in step S1003, and optimizes the circuit, that is, performs logic synthesis in step S1004. Note that the information generated in step S1004 is hereinafter referred to as "logical information A". In the following step S1005, the layout and wiring of the logically synthesized circuit, that is, the layout and wiring are determined. The information generated in step S1005 is hereinafter referred to as "connection information B". In subsequent step S1006, logic information A and connection information B generated in steps S1004 and S1005 are output. These pieces of output information are used in test information generation processing, which will be described later.

続くステップS1007では、プログラマブルロジック部100に書き込むためのコンフィグレーションファイルを生成し、ステップS1008では実機であるプログラマブルロジック部100を用いて動作を検証する。続くステップS1009では後述するテスト情報生成処理により得られたテスト情報を取得し、ステップS1010においてテスト情報を演算装置70に格納する。以下では、図6~図10を参照してテスト情報400の作成処理を説明する。 In step S1007, a configuration file to be written to the programmable logic unit 100 is generated, and in step S1008, the operation is verified using the actual programmable logic unit 100. FIG. In subsequent step S1009, test information obtained by test information generation processing, which will be described later, is acquired, and in step S1010, the test information is stored in the arithmetic unit 70. FIG. The process of creating the test information 400 will be described below with reference to FIGS. 6 to 10. FIG.

図9および図10はテスト情報400の作成処理の具体例を説明する図である。図9の上部中央は第2ユーザ回路222の構成を示している。図9および図10は、以下に説明するフローチャートの具体的な処理を説明するために適宜参照されるが、先に例示する第2ユーザ回路222の構成を説明する。図9に示す第2ユーザ回路222は、ドットのハッチングで示すフリップフロップと、斜線のハッチングで示すルックアップテーブル(以下では、「LUT」とも記載する)とを複数有する。 9 and 10 are diagrams for explaining a specific example of the processing for creating the test information 400. FIG. The top center of FIG. 9 shows the configuration of the second user circuit 222 . FIGS. 9 and 10 will be referred to as needed to describe the specific processing of the flowcharts described below, and the configuration of the second user circuit 222 exemplified above will be described. The second user circuit 222 shown in FIG. 9 has a plurality of flip-flops hatched with dots and lookup tables (hereinafter also referred to as "LUTs") hatched with oblique lines.

具体的には第2ユーザ回路222は、第1フリップフロップF1~第8フリップフロップF8、および第1ルックアップテーブルL1~第5ルックアップテーブルL5を含む。第1フリップフロップF1~第6フリップフロップF6にはそれぞれ、第2ユーザ回路222の外部から入力される。第1フリップフロップF1および第2フリップフロップF2の出力が第1ルックアップテーブルL1に入力される。 Specifically, the second user circuit 222 includes first to eighth flip-flops F1 to F8 and first to fifth lookup tables L1 to L5. Inputs from the outside of the second user circuit 222 are input to the first to sixth flip-flops F1 to F6, respectively. The outputs of the first flip-flop F1 and the second flip-flop F2 are input to the first lookup table L1.

第3フリップフロップF3および第4フリップフロップF4の出力が第2ルックアップテーブルL2に入力される。第5フリップフロップF5および第6フリップフロップF6の出力が第3ルックアップテーブルL3に入力される。第7フリップフロップF7には第4ルックアップテーブルL4の出力が入力され、第7フリップフロップF7の出力が第2ユーザ回路222の第1の出力となる。第8フリップフロップF8には第5ルックアップテーブルL5の出力が入力され、第8フリップフロップF8の出力が第2ユーザ回路222の第2の出力となる。 The outputs of the third flip-flop F3 and the fourth flip-flop F4 are input to the second lookup table L2. The outputs of the fifth flip-flop F5 and the sixth flip-flop F6 are input to the third lookup table L3. The output of the fourth lookup table L4 is input to the seventh flip-flop F7, and the output of the seventh flip-flop F7 becomes the first output of the second user circuit 222. FIG. The output of the fifth lookup table L5 is input to the eighth flip-flop F8, and the output of the eighth flip-flop F8 becomes the second output of the second user circuit 222. FIG.

第1ルックアップテーブルL1は2入力2出力である。第1ルックアップテーブルL1は第1フリップフロップF1と第2フリップフロップF2から入力を受け、第4ルックアップテーブルL4および第5ルックアップテーブルL5に出力する。第2ルックアップテーブルL2は2入力1出力である。第2ルックアップテーブルL2は第3フリップフロップF3と第4フリップフロップF4から入力を受け、第5ルックアップテーブルL5に出力する。第3ルックアップテーブルL3は2入力1出力である。第3ルックアップテーブルL3は第5フリップフロップF5と第6フリップフロップF6から入力を受け、第5ルックアップテーブルL5に出力する。 The first lookup table L1 has two inputs and two outputs. The first lookup table L1 receives inputs from the first flip-flop F1 and the second flip-flop F2 and outputs to the fourth lookup table L4 and the fifth lookup table L5. The second lookup table L2 has two inputs and one output. The second lookup table L2 receives inputs from the third flip-flop F3 and the fourth flip-flop F4 and outputs to the fifth lookup table L5. The third lookup table L3 has two inputs and one output. The third lookup table L3 receives inputs from the fifth flip-flop F5 and the sixth flip-flop F6 and outputs to the fifth lookup table L5.

第4ルックアップテーブルL4は1入力1出力である。第4ルックアップテーブルL4は第1ルックアップテーブルL1から入力を受け、第7フリップフロップF7に出力する。第5ルックアップテーブルL5は3入力1出力である。第5ルックアップテーブルL5は第1ルックアップテーブルL1、第2ルックアップテーブルL2、および第3ルックアップテーブルL3から入力を受け、第8フリップフロップF8に出力する。 The fourth lookup table L4 has one input and one output. The fourth lookup table L4 receives input from the first lookup table L1 and outputs to the seventh flip-flop F7. The fifth lookup table L5 has 3 inputs and 1 output. The fifth lookup table L5 receives inputs from the first lookup table L1, the second lookup table L2, and the third lookup table L3 and outputs them to the eighth flip-flop F8.

図6はテスト情報作成処理を示すフローチャートである。図6に示す処理の実行主体はCPU71である。テスト情報作成処理では、まずステップS1021において論理情報Aおよび接続情報Bを取得する。続くステップS1022ではCPU71は、接続情報Bを用いて出力経路探索処理を行う。出力経路探索処理の詳細は後述する。続くステップS1023ではCPU71は、未処理の経路を処理対象に選択する。続くステップS1024ではCPU71は、処理対象の経路を対象としてトグルパタン生成処理を行う。トグルパタン生成処理の詳細は後述する。 FIG. 6 is a flowchart showing test information creation processing. The CPU 71 executes the processing shown in FIG. In the test information creation process, first, logic information A and connection information B are obtained in step S1021. In subsequent step S1022, the CPU 71 uses the connection information B to perform output route search processing. Details of the output route search processing will be described later. In subsequent step S1023, the CPU 71 selects an unprocessed route as a processing target. In subsequent step S1024, the CPU 71 performs toggle pattern generation processing for the route to be processed. The details of the toggle pattern generation process will be described later.

続くステップS1025ではCPU71は、全ての経路を処理したか否かを判断し、全ての経路を処理したと判断する場合はステップS1025に進み、未処理の経路が存在すると判断する場合はステップS1023に戻る。最後のステップS1026ではCPU71はトグルパタン生成処理において作成したテスト情報400を出力して図6に示す処理を終了する。 In subsequent step S1025, the CPU 71 determines whether or not all routes have been processed. If it is determined that all routes have been processed, the process proceeds to step S1025. return. In the final step S1026, the CPU 71 outputs the test information 400 created in the toggle pattern generation process, and terminates the process shown in FIG.

図7は、出力経路探索処理の詳細を示すフローチャートである。まずステップS1201ではCPU71は、未処理の出力ピンを選択する。出力ピンとは、テスト対象のユーザ回路における出力であり図9に示す第2ユーザ回路222における「出力1」と「出力2」である。初回にステップS1201が実行された際には、「出力1」および「出力2」のいずれかが選択され、2回目に実行された際には1回目に選択されなかった方が選択される。以下では、本ステップにおいて選択した出力ピンを「選択ピン」と呼ぶ。 FIG. 7 is a flowchart showing details of the output route search process. First, in step S1201, the CPU 71 selects an unprocessed output pin. The output pins are the outputs of the user circuit under test, which are "output 1" and "output 2" in the second user circuit 222 shown in FIG. When step S1201 is executed for the first time, either "output 1" or "output 2" is selected, and when it is executed for the second time, the one that was not selected in the first time is selected. The output pin selected in this step is hereinafter referred to as a "selected pin".

続くステップS1202ではCPU71は、選択ピンに接続されている論理ブロックを上流に向かって抽出する。ここでいう「上流」とは、ユーザ回路への入力側であり、図9に示す例における図示左側である。続くステップS1203ではCPU71は、全ての入力端に至るまでの経路と論理ブロックを記録する。たとえば図9に示す例では第5ルックアップテーブルL5は入力が3つあるので、「出力2」から上流側に向かうと経路が3つに分岐しているが、その全てについて入力まで辿る。 In subsequent step S1202, the CPU 71 extracts the logic block connected to the selection pin toward the upstream. The "upstream" here is the input side to the user circuit, which is the left side in the example shown in FIG. In subsequent step S1203, the CPU 71 records the paths and logic blocks to all input terminals. For example, in the example shown in FIG. 9, the fifth lookup table L5 has three inputs, so the route branches into three when going upstream from "output 2", but all of them are traced to the input.

続くステップS1204ではCPU71は、全ての出力ピンを選択したか否かを判断する。CPU71は、全ての出力ピンを選択したと判断する場合は図7に示す処理を終了し、選択していない出力ピンが存在すると判断する場合はステップS1201に戻る。以上が図7の説明である。この出力経路探索処理により、図9に示す例では第1の経路220Aと、第2の経路220Bとが探索される。 In subsequent step S1204, the CPU 71 determines whether or not all output pins have been selected. If the CPU 71 determines that all the output pins have been selected, it ends the processing shown in FIG. The above is the description of FIG. Through this output route search process, the first route 220A and the second route 220B are searched for in the example shown in FIG.

図8は、図6のステップS1024におけるトグルパタン生成処理の詳細を示すフローチャートである。なお本処理が実行される直前に図6のステップS1023において処理対象の経路が選択されている。まずステップS1301ではCPU71は、処理対象の経路に含まれる全てのルックアップテーブル(LUT)の出力を特定する。たとえば図9に示す例において「出力1」が選択されている場合にはLUTの出力は、第4ルックアップテーブルL4の出力1つと、第1ルックアップテーブルL1の出力1つの合計2つが特定される。 FIG. 8 is a flowchart showing details of the toggle pattern generation process in step S1024 of FIG. Note that the route to be processed is selected in step S1023 of FIG. 6 immediately before this process is executed. First, in step S1301, the CPU 71 identifies outputs of all lookup tables (LUTs) included in the path to be processed. For example, in the example shown in FIG. 9, when "output 1" is selected, two LUT outputs are identified: one output from the fourth lookup table L4 and one output from the first lookup table L1. be.

続くステップS1302ではCPU71は、ステップS1301において特定した出力のうち、未処理であるLUTの出力の1つを処理対象に選択する。続くステップS1303ではCPU71は、選択した出力が属するLUTのメモリ情報を読み込む。メモリ情報とは、ルックアップテーブルにおける入力値と出力値の対応表である。続くステップS1304ではCPU71は、選択した出力の値をトグルさせるLUTへの入力値を特定する。続くステップS1305ではCPU71は、特定したLUTへの入力値に対応するユーザ回路の入力値を特定して記録する。なお、本ステップにおいて特定して記録した入力値が入力情報410に用いられる。 In subsequent step S1302, the CPU 71 selects one of the unprocessed outputs of the LUT among the outputs identified in step S1301 as a processing target. In subsequent step S1303, the CPU 71 reads the memory information of the LUT to which the selected output belongs. Memory information is a correspondence table of input values and output values in a lookup table. In the subsequent step S1304, the CPU 71 identifies the input value to the LUT that toggles the selected output value. In subsequent step S1305, the CPU 71 identifies and records the input value of the user circuit corresponding to the identified input value to the LUT. Note that the input value specified and recorded in this step is used for the input information 410 .

ステップS1303~S1306の具体例を説明する。たとえば図10の上部に示すように第4ルックアップテーブルL4の出力を処理対象に選択した場合に、ステップS1303ではCPU71は図示するようなメモリ情報を読み込む。ステップS1304ではCPU71は、選択した出力をトグルさせる第4ルックアップテーブルL4への入力値として、「0」と「1」を特定する。続くステップS1305ではCPU71は、第4ルックアップテーブルL4への入力値が「0」と「1」となる第2ユーザ回路222への入力を特定する。 A specific example of steps S1303 to S1306 will be described. For example, when the output of the fourth lookup table L4 is selected for processing as shown in the upper part of FIG. 10, the CPU 71 reads memory information as shown in step S1303. In step S1304, the CPU 71 specifies "0" and "1" as input values to the fourth lookup table L4 that toggles the selected output. In subsequent step S1305, the CPU 71 identifies the inputs to the second user circuit 222 whose input values to the fourth lookup table L4 are "0" and "1".

この特定のためにCPU71は、まず、第4ルックアップテーブルL4の上流に存在する第1ルックアップテーブルL1のメモリ情報を読み込む。次にCPU71は、出力の「0」に対応する「入力1」および「入力2」の値と、出力の「1」に対応する「入力1」および「入力2」の値とを特定して記録する。なおこの場合に、第1ルックアップテーブルL1の出力が「0」および「1」となる入力値は複数存在するが、CPU71はいずれを選択してもよい。また、図9に示す第2ユーザ回路222では「入力1」~「入力6」の6つの入力があり、ここで示した説明の範囲では「入力3」~「入力6」の値が特定されていないが、これらの値は任意である。 For this identification, the CPU 71 first reads the memory information of the first lookup table L1 existing upstream of the fourth lookup table L4. Next, the CPU 71 specifies the values of "input 1" and "input 2" corresponding to the output "0" and the values of "input 1" and "input 2" corresponding to the output "1". Record. Note that in this case, there are a plurality of input values that cause the output of the first lookup table L1 to be "0" and "1", but the CPU 71 may select any of them. In addition, the second user circuit 222 shown in FIG. 9 has six inputs "input 1" to "input 6", and the values of "input 3" to "input 6" are specified within the scope of the description given here. not specified, these values are arbitrary.

さらに、後述するようにループ処理により次は第1ルックアップテーブルL1の出力を処理対象に選択した場合には、図10に示す例では入力値の組合せが第4ルックアップテーブルL4の出力をトグルする場合と同一になる可能性がある。しかし本実施の形態では入力値の組合せが重複することを許容し、処理の簡潔さを優先する。以上がステップS1303~S1305の具体例の説明である。 Furthermore, as will be described later, when the output of the first lookup table L1 is selected as the next processing target by loop processing, in the example shown in FIG. 10, the combination of input values toggles the output of the fourth lookup table L4. may be the same as if However, in this embodiment, overlapping combinations of input values are allowed, and simplicity of processing is prioritized. The above is a description of a specific example of steps S1303 to S1305.

続くステップS1306ではCPU71は、ステップS1305において特定したユーザ回路の入力値に対応するユーザ回路の出力値を特定して記録する。なお、本ステップにおいて特定して記録した出力値が期待値情報420に用いられる。続くステップS1307ではCPU71は、ステップS1304において特定した入力値、ステップS1306において特定した出力値、ステップS1302において選択した処理対象の出力が属するルックアップテーブルの名称、の組合せをテスト情報400の一部として記録する。 In subsequent step S1306, the CPU 71 identifies and records the output value of the user circuit corresponding to the input value of the user circuit identified in step S1305. Note that the output value specified and recorded in this step is used for the expected value information 420 . In the subsequent step S1307, the CPU 71 stores the combination of the input value specified in step S1304, the output value specified in step S1306, and the name of the lookup table to which the output to be processed selected in step S1302 belongs as part of the test information 400. Record.

ステップS1307では具体的には、ステップS1304において特定した入力値と任意の名称との組合せを入力情報410の新たなレコードとする。また、ステップS1306において特定した出力値と前述の任意の名称との組合せを期待値情報420の新たなレコードとする。さらに、前述の任意の名称とステップS1302において選択した処理対象の出力が属するルックアップテーブルの名称との組合せを異常個所特定情報430の新たなレコードとする。 Specifically, in step S1307, the combination of the input value specified in step S1304 and an arbitrary name is set as a new record of the input information 410. FIG. Also, the combination of the output value identified in step S1306 and the above arbitrary name is set as a new record of the expected value information 420. FIG. Furthermore, a combination of the arbitrary name described above and the name of the lookup table to which the output to be processed selected in step S1302 belongs is used as a new record of the abnormal location identification information 430 .

続くステップS1307ではCPU71は、ステップS1301において特定した全ての出力を処理対象として選択したか否かを判断する。CPU71は、全ての出力を処理対象として選択したと判断する場合は図8の処理を終了し、未選択の出力が存在すると判断する場合はステップS1302に戻る。 In subsequent step S1307, the CPU 71 determines whether or not all the outputs identified in step S1301 have been selected as processing targets. If the CPU 71 determines that all outputs have been selected as processing targets, it ends the processing of FIG.

(1)演算装置70は、テスト対象である第2ユーザ回路222と、第2ユーザ回路222におけるテスト箇所の信号がトグルする入力であるテスト入力をユーザ回路に入力するテストパタン印加部210と、第2ユーザ回路222の出力に基づき第2ユーザ回路222の異常の有無を判定する判定部230と、判定部230の判定に基づき第2ユーザ回路222におけるハードウエア異常の発生個所を特定する異常個所判定部500とを備える。そのため、少ないテストパタンでハードウエア異常の発生個所を特定できる。 (1) The arithmetic unit 70 includes a second user circuit 222 to be tested, a test pattern application unit 210 for inputting a test input, which is an input toggling a signal at a test location in the second user circuit 222, to the user circuit, A judgment unit 230 for judging whether or not there is an abnormality in the second user circuit 222 based on the output of the second user circuit 222; and a determination unit 500 . Therefore, it is possible to identify the location of the hardware abnormality with a small number of test patterns.

(2)判定部230は、ユーザ回路の出力における変化の有無に基づきユーザ回路の異常の有無を判定する。そのため、判定部230は出力が「0」または「1」に固定される縮退を検出できる。 (2) The determination unit 230 determines whether there is an abnormality in the user circuit based on whether there is a change in the output of the user circuit. Therefore, the determination unit 230 can detect degeneracy in which the output is fixed to "0" or "1".

(3)テスト箇所とは、ユーザ回路に含まれるルックアップテーブルのそれぞれの出力である。 (3) A test point is each output of a lookup table contained in the user circuit.

(変形例1)
上述した第1の実施の形態では、プログラマブルロジック部100には第1ユーザ回路221、第2ユーザ回路222、および第3ユーザ回路223の3つのユーザ回路が含まれ、このうち第2ユーザ回路222のみがテストの対象となった。しかしユーザ回路の全体をテスト対象としてもよい。この場合には、図2における第1ユーザ回路221がユーザ回路への入力信号回路に置き換わり、図2における第3ユーザ回路223がユーザ回路への出力信号回路に置き換わる。
(Modification 1)
In the first embodiment described above, the programmable logic unit 100 includes three user circuits, the first user circuit 221, the second user circuit 222, and the third user circuit 223. Of these, the second user circuit 222 only were tested. However, the entire user circuit may be tested. In this case, the first user circuit 221 in FIG. 2 replaces the input signal circuit to the user circuit, and the third user circuit 223 in FIG. 2 replaces the output signal circuit to the user circuit.

(変形例2)
上述した第1の実施の形態では、プログラマブルロジック部100にはテストパタン印加部210、判定部230、第1セレクタ241、および第2セレクタ242が含まれた。しかしこれらはテスト以外では不要のためプログラマブルロジック部100に常時配されなくてもよい。その場合には、たとえば部分再構成によりテストパタン印加部210、判定部230、第1セレクタ241、および第2セレクタ242をプログラマブルロジック部100に構成する再構成部およびテストパタン印加部210、判定部230、第1セレクタ241、および第2セレクタ242の回路情報を格納する回路記憶部が演算装置70にさらに含まれる。
(Modification 2)
In the first embodiment described above, the programmable logic section 100 includes the test pattern application section 210 , the determination section 230 , the first selector 241 and the second selector 242 . However, since these are unnecessary except for testing, they need not always be arranged in the programmable logic section 100 . In that case, for example, the test pattern application unit 210, the determination unit 230, the first selector 241, and the second selector 242 are configured in the programmable logic unit 100 by partial reconfiguration, the test pattern application unit 210, and the determination unit. 230 , first selector 241 , and second selector 242 .

(変形例3)
上述した第1の実施の形態では、判定部230はルックアップテーブルの出力が固定される不具合、いわゆる0/1縮退を検出した。しかし判定部230は、0/1縮退に加えて信号の変化が規定よりも遅い故障である遅延故障をさらに検出してもよい。期待値情報420には出力ごとの期待値が含まれているので、期待値がトグルする際の遅れ、具体的には無駄時間および時定数の少なくとも一方を評価する。
(Modification 3)
In the above-described first embodiment, the determination unit 230 detects the defect that the output of the lookup table is fixed, that is, the so-called 0/1 degeneracy. However, in addition to the 0/1 degeneracy, the determination unit 230 may further detect a delay fault, which is a fault in which a signal change is slower than specified. Since the expected value information 420 includes the expected value for each output, the delay when the expected value toggles, specifically at least one of the dead time and the time constant, is evaluated.

本変形例によれば演算装置70は次の作用効果を奏する。
(4)判定部230は、ユーザ回路の出力における変化の遅れに基づきユーザ回路の異常の有無を判定する。そのため判定部230は、遅延故障を検出できる。
According to this modified example, the arithmetic unit 70 has the following effects.
(4) The determination unit 230 determines whether or not there is an abnormality in the user circuit based on the delay in change in the output of the user circuit. Therefore, the determination unit 230 can detect delay faults.

(変形例4)
上述した実施の形態では、図1に示す構成の全体を演算装置70として説明した。しかし図1に示す構成は2以上のハードウエアにより実現されてもよい。たとえば、プログラマブルロジック部100と、テスト制御部300と、異常個所判定部500とが、それぞれ別のハードウエア、たとえばECUやマイコンの一部として構成されてもよい。この場合には、図1に示す構成は演算システムと呼ぶことができる。
(Modification 4)
In the embodiment described above, the entire configuration shown in FIG. However, the configuration shown in FIG. 1 may be implemented by two or more pieces of hardware. For example, the programmable logic unit 100, the test control unit 300, and the abnormal location determination unit 500 may be configured as separate pieces of hardware such as an ECU or a microcomputer. In this case, the configuration shown in FIG. 1 can be called an arithmetic system.

(変形例5)
上述した第1の実施の形態では、トグルパタン生成処理において入力値の組合せが重複することを許容し、処理の簡潔さを優先した。しかし処理の簡潔さよりも入力値の総数が減少するようにトグルパタンを生成してもよい。
(Modification 5)
In the above-described first embodiment, overlapping combinations of input values are allowed in the toggle pattern generation processing, and simplicity of processing is prioritized. However, a toggle pattern may be generated so that the total number of input values is reduced rather than simplicity of processing.

―第2の実施の形態―
図11を参照して、演算装置の第2の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。本実施の形態では、主に、異常個所判定部の判定結果を送信する点で、第1の実施の形態と異なる。
-Second Embodiment-
A second embodiment of the arithmetic device will be described with reference to FIG. In the following description, the same components as those in the first embodiment are assigned the same reference numerals, and differences are mainly described. Points that are not particularly described are the same as those in the first embodiment. The present embodiment is different from the first embodiment mainly in that the determination result of the abnormal location determination unit is transmitted.

図11は、第2の実施の形態における演算装置70Aの機能構成図である。演算装置70Aは第1の実施の形態における演算装置70の構成に加えて、異常診断結果を演算装置70Aの外部、たとえばサーバーやデータセンタに通知する送信部700をさらに有する。送信部700はたとえば、4Gや5Gに対応する無線通信モジュールである。 FIG. 11 is a functional configuration diagram of an arithmetic unit 70A according to the second embodiment. In addition to the configuration of the arithmetic device 70 in the first embodiment, the arithmetic device 70A further has a transmission unit 700 that notifies the outside of the arithmetic device 70A, such as a server or data center, of the abnormality diagnosis result. Transmitter 700 is, for example, a wireless communication module compatible with 4G and 5G.

上述した第2の実施の形態によれば、次の作用効果が得られる。
(5)演算装置70Aは、異常個所判定部500の判定結果を送信する送信部700を備える。そのため、異常箇所の通知をサーバーやデータセンタに通知でき、ログやデータ解析を行うことで、異常しやすい箇所の特定や設計へのフィードバックや、メンテナンスの容易化を実現することができる。
According to the second embodiment described above, the following effects are obtained.
(5) Arithmetic device 70A includes transmission section 700 that transmits the determination result of abnormal location determination section 500 . Therefore, it is possible to notify the server or data center of abnormal locations, and by analyzing logs and data, it is possible to identify areas that are prone to abnormalities, provide feedback to design, and facilitate maintenance.

―第3の実施の形態―
図12を参照して、演算装置の第3の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。本実施の形態では、主に、演算装置が車両に設置され車両の乗員に異常を報知する点で、第1の実施の形態と異なる。
-Third Embodiment-
A third embodiment of the arithmetic device will be described with reference to FIG. In the following description, the same components as those in the first embodiment are assigned the same reference numerals, and differences are mainly described. Points that are not particularly described are the same as those in the first embodiment. The present embodiment is different from the first embodiment mainly in that an arithmetic device is installed in a vehicle and notifies an occupant of the vehicle of an abnormality.

図12は、第3の実施の形態における演算装置70Bの機能構成図である。演算装置70Bは第1の実施の形態における演算装置70の構成に加えて、演算装置70Bが搭載される車両のドライバに判定結果を通知する通知部800をさらに有する。通知部800は、音声により通知するスピーカーでもよいし、光により通知するライトでもよいし、映像により通知する画像表示装置でもよい。通知部800は、異常個所判定部500の判定結果に基づき音声、光、および映像の少なくとも1つを用いて車両のドライバに判定結果を通知する。 FIG. 12 is a functional configuration diagram of an arithmetic unit 70B in the third embodiment. In addition to the configuration of the arithmetic device 70 in the first embodiment, the arithmetic device 70B further has a notification unit 800 that notifies the driver of the vehicle in which the arithmetic device 70B is mounted of the determination result. The notification unit 800 may be a speaker for notification by sound, a light for notification by light, or an image display device for notification by video. The notification unit 800 notifies the driver of the vehicle of the determination result based on the determination result of the abnormal location determination unit 500 using at least one of sound, light, and video.

上述した第3の実施の形態によれば、次の作用効果が得られる。
(6)電子制御装置70Bは、異常個所判定部500の判定結果を車両の乗員に通知する通知部800を備える。そのため、自動車の運用中におけるリアルタイムなドライバへの通知が可能となり、安全制御や注意喚起が可能になる。
According to the third embodiment described above, the following effects are obtained.
(6) The electronic control unit 70B includes a notification unit 800 that notifies the vehicle occupant of the determination result of the abnormal location determination unit 500 . Therefore, it is possible to notify the driver in real time while the vehicle is in operation, enabling safety control and alerting.

上述した各実施の形態および変形例において、機能ブロックの構成は一例に過ぎない。別々の機能ブロックとして示したいくつかの機能構成を一体に構成してもよいし、1つの機能ブロック図で表した構成を2以上の機能に分割してもよい。また各機能ブロックが有する機能の一部を他の機能ブロックが備える構成としてもよい。 In each of the embodiments and modifications described above, the configuration of the functional blocks is merely an example. Some functional configurations shown as separate functional blocks may be configured integrally, or a configuration represented by one functional block diagram may be divided into two or more functions. Further, a configuration may be adopted in which part of the functions of each functional block is provided in another functional block.

上述した各実施の形態および変形例は、それぞれ組み合わせてもよい。上記では、種々の実施の形態および変形例を説明したが、本発明はこれらの内容に限定されるものではない。本発明の技術的思想の範囲内で考えられるその他の態様も本発明の範囲内に含まれる。 Each of the embodiments and modifications described above may be combined. Although various embodiments and modifications have been described above, the present invention is not limited to these contents. Other aspects conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention.

70、70A、70B…演算装置
80…事前算出装置
100…プログラマブルロジック部
210…テストパタン印加部
222…第2ユーザ回路
230…判定部
300…テスト制御部
400…テスト情報
410…入力情報
420…期待値情報
430…異常個所特定情報
500…異常個所判定部
700…送信部
800…通知部
70, 70A, 70B...Arithmetic device 80...Pre-calculation device 100...Programmable logic unit 210...Test pattern applying unit 222...Second user circuit 230...Judging unit 300...Test control unit 400...Test information 410...Input information 420...Expectation Value information 430 Abnormal location identification information 500 Abnormal location determination unit 700 Transmission unit 800 Notification unit

Claims (8)

テスト対象であるユーザ回路と、
前記ユーザ回路におけるテスト箇所の信号がトグルする入力であるテスト入力を前記ユーザ回路に入力するテストパタン印加部と、
前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定する判定部と、
前記判定部の判定に基づき前記ユーザ回路におけるハードウエア異常の発生個所を特定する異常個所判定部とを備える、演算装置。
a user circuit under test;
a test pattern application unit for inputting a test input, which is an input toggling a signal at a test location in the user circuit, to the user circuit;
a determination unit that determines whether or not there is an abnormality in the user circuit based on the output of the user circuit;
An arithmetic device, comprising: an error location determination unit that specifies a location of occurrence of a hardware error in the user circuit based on determination by the determination unit.
請求項1に記載の演算装置において、
前記判定部は、前記ユーザ回路の出力における変化の有無に基づき前記ユーザ回路の異常の有無を判定する、演算装置。
The arithmetic device according to claim 1,
The determination unit determines whether or not there is an abnormality in the user circuit based on whether or not there is a change in the output of the user circuit.
請求項1に記載の演算装置において、
前記判定部は、前記ユーザ回路の出力における変化の遅れに基づき前記ユーザ回路の異常の有無を判定する、演算装置。
The arithmetic device according to claim 1,
The determination unit determines whether or not there is an abnormality in the user circuit based on a delay in change in the output of the user circuit.
請求項1に記載の演算装置において、
前記テスト箇所とは、前記ユーザ回路に含まれるルックアップテーブルのそれぞれの出力である、演算装置。
The arithmetic device according to claim 1,
The arithmetic unit, wherein the test points are respective outputs of a lookup table included in the user circuit.
請求項1に記載の演算装置において、
前記異常個所判定部の判定結果を送信する送信部をさらに備える、演算装置。
The arithmetic device according to claim 1,
A computing device, further comprising a transmission unit that transmits a determination result of the abnormal location determination unit.
請求項1に記載の演算装置において、
前記演算装置は車両に搭載され、
前記異常個所判定部の判定結果を前記車両の乗員に通知する通知部をさらに備える、電子制御装置。
The arithmetic device according to claim 1,
The computing device is mounted on a vehicle,
The electronic control device further comprising a notification unit that notifies an occupant of the vehicle of the determination result of the abnormal location determination unit.
テスト対象であるユーザ回路と、
前記ユーザ回路におけるテスト箇所の信号がトグルする入力であるテスト入力を前記ユーザ回路に入力するテストパタン印加部と、
前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定する判定部と、
前記判定部の判定に基づき前記ユーザ回路におけるハードウエア異常の発生個所を特定する異常個所判定部とを備える、演算システム。
a user circuit under test;
a test pattern application unit for inputting a test input, which is an input toggling a signal at a test location in the user circuit, to the user circuit;
a determination unit that determines whether or not there is an abnormality in the user circuit based on the output of the user circuit;
An arithmetic system, comprising: an error location determination unit that identifies a location of hardware failure in the user circuit based on determination by the determination unit.
テスト対象であるユーザ回路、および前記ユーザ回路をテストするための入力であるテスト入力を前記ユーザ回路に印加するテストパタン印加部を備える演算装置が実行するテスト方法であって、
前記テストパタン印加部が、前記ユーザ回路におけるテスト箇所の信号がトグルする前記テスト入力を入力することと、
前記ユーザ回路の出力に基づき前記ユーザ回路の異常の有無を判定することと、
前記ユーザ回路におけるハードウエア異常の発生個所を特定することとを含む、テスト方法。
A test method executed by an arithmetic device comprising a user circuit to be tested and a test pattern application unit that applies a test input for testing the user circuit to the user circuit,
the test pattern application unit inputs the test input that toggles a signal at a test location in the user circuit;
Determining whether or not there is an abnormality in the user circuit based on the output of the user circuit;
and identifying a location where a hardware anomaly occurs in the user circuit.
JP2021067900A 2021-04-13 2021-04-13 Operator, operation system, and method for testing Pending JP2022162860A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021067900A JP2022162860A (en) 2021-04-13 2021-04-13 Operator, operation system, and method for testing
PCT/JP2022/007046 WO2022219926A1 (en) 2021-04-13 2022-02-21 Computation device, computation system, and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021067900A JP2022162860A (en) 2021-04-13 2021-04-13 Operator, operation system, and method for testing

Publications (1)

Publication Number Publication Date
JP2022162860A true JP2022162860A (en) 2022-10-25

Family

ID=83639615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021067900A Pending JP2022162860A (en) 2021-04-13 2021-04-13 Operator, operation system, and method for testing

Country Status (2)

Country Link
JP (1) JP2022162860A (en)
WO (1) WO2022219926A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7483165B1 (en) 2023-05-16 2024-05-14 三菱電機株式会社 Integrated circuit test system, integrated circuit test device, integrated circuit test method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0717006Y2 (en) * 1987-05-19 1995-04-19 日産自動車株式会社 Self-diagnosis device for speed meter unit
US5748497A (en) * 1994-10-31 1998-05-05 Texas Instruments Incorporated System and method for improving fault coverage of an electric circuit
JPH11142476A (en) * 1997-11-05 1999-05-28 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit and its inspection method
JP2002149731A (en) * 2000-11-13 2002-05-24 New Industry Research Organization Method for rectifying logic circuit
JP2003084036A (en) * 2001-09-10 2003-03-19 Nec Corp Diagnosis system and diagnosing method
JP2014063236A (en) * 2012-09-19 2014-04-10 Fujitsu Ltd Designing support program, designing support method and designing support apparatus
JP6446937B2 (en) * 2014-09-18 2019-01-09 日本電気株式会社 Logic analysis terminal, logic analysis system, delay correction method, and program
JP7272919B2 (en) * 2019-09-20 2023-05-12 ローム株式会社 self-diagnostic circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7483165B1 (en) 2023-05-16 2024-05-14 三菱電機株式会社 Integrated circuit test system, integrated circuit test device, integrated circuit test method, and program

Also Published As

Publication number Publication date
WO2022219926A1 (en) 2022-10-20

Similar Documents

Publication Publication Date Title
US9739833B2 (en) Scan chain for memory sequential test
CN105302113B (en) A kind of configurableization and expansible automotive diagnostic system and diagnostic method
CN111008152B (en) Kernel module compatibility influence domain analysis method, system and medium based on function dependency graph
US11293980B2 (en) Customer-transparent logic redundancy for improved yield
CN114139475A (en) Chip verification method, system, device and storage medium
JP4654203B2 (en) Method for creating HDL description file for digital system and resulting system
US7308631B2 (en) Wrapper serial scan chain functional segmentation
WO2022219926A1 (en) Computation device, computation system, and test method
KR101704338B1 (en) Appratus and method of generating test case for real time system
US20090212818A1 (en) Integrated circuit design method for improved testability
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN116257437A (en) ADAS system defect verification method and device based on real vehicle data reinjection
US11960385B2 (en) Automatic generation of integrated test procedures using system test procedures
JP4549701B2 (en) Semiconductor circuit device and scan test method for semiconductor circuit
US11017141B2 (en) Method for troubleshooting the program logic of a system of distributed progammable gate arrays
CN112651199B (en) Quality Verification Platform and Quality Verification Method
JP2000284945A (en) Digital equipment and developing method therefor
US7437635B1 (en) Testing hard-wired IP interface signals using a soft scan chain
WO2022102220A1 (en) Calculation device and test method
US6711728B1 (en) Function synthesizing method and apparatus, and recording medium on which program of said method is recorded
JP7228374B2 (en) Simulation system and simulation method
Larsson et al. Graceful Degradation of Reconfigurable Scan Networks
US7234120B1 (en) Fault isolation in a programmable logic device
US10331833B2 (en) Optimized generation of overall netlist and bit stream
CN117725869A (en) Assertion development method, chip verification method, device, equipment and medium