JP2008204371A - Logic verification support system - Google Patents

Logic verification support system Download PDF

Info

Publication number
JP2008204371A
JP2008204371A JP2007042496A JP2007042496A JP2008204371A JP 2008204371 A JP2008204371 A JP 2008204371A JP 2007042496 A JP2007042496 A JP 2007042496A JP 2007042496 A JP2007042496 A JP 2007042496A JP 2008204371 A JP2008204371 A JP 2008204371A
Authority
JP
Japan
Prior art keywords
state
verification
contradiction
transition
information
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
JP2007042496A
Other languages
Japanese (ja)
Inventor
Minoru Shoji
稔 庄司
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007042496A priority Critical patent/JP2008204371A/en
Publication of JP2008204371A publication Critical patent/JP2008204371A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a logic verification support system for detecting an inconsistent place in a state transition graph of a logic circuit, for storing a temporarily detected inconsistent place in a storage area, and for clearly describing even a state which should not exist as an operation as a verification item. <P>SOLUTION: This logic verification support system for preparing verification items for verifying a logic circuit has an inconsistency extraction means for, when transition conditions shown by state transition information showing transition from a transition source state to a transition destination state are included in the transition conditions of the other state transition information, extracting it as an inconsistent place for each state information showing the logic circuit in the operation of the logic circuit. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、論理回路の状態遷移グラフ中で矛盾する箇所を検出するのみでなく、一旦検出された矛盾箇所を記憶領域に保持しておき、動作として存在してはならない状態についても検証項目として明示的に記述する論理検証支援システムに関する。   The present invention not only detects inconsistent portions in the state transition graph of the logic circuit, but also stores the inconsistent portions once detected in the storage area, and also checks the states that should not exist as operations as verification items. It relates to a logic verification support system that is explicitly described.

従来の論理回路の論理検証方法では、図1に示すように、論理回路を検証する検証技術者2が自然言語で記載された仕様書1の内容を読んで理解して、論理回路への入力に対する動作の期待値を自然言語で記述した表形式で検証項目3を作成していた。図1中、A及びBは論理回路への入力データの種別を示し、(α)及び(β)は論理回路の処理内容を示している。   In the conventional logic circuit logic verification method, as shown in FIG. 1, a verification engineer 2 that verifies a logic circuit reads and understands the contents of the specification 1 written in a natural language, and inputs it to the logic circuit. The verification item 3 was created in a tabular form in which the expected value of the operation for the above was described in a natural language. In FIG. 1, A and B indicate types of input data to the logic circuit, and (α) and (β) indicate processing contents of the logic circuit.

例えば、検証技術者2は、仕様書1で「Aが入力されたら、(α)処理、Bが入力されたら、(β)処理」などの記述を理解し、「Aを回路の入力として論理シミュレーション」した場合、「(α)の処理が実施されたことを確認」し、「Bを回路の入力として論理シミュレーション」した場合、「(β)の処理が実施されたことを確認」する等を記述した検証項目の一覧を作成していた。
特開平8−110907号公報 特開平8−292884号公報
For example, the verification engineer 2 understands a description such as “(α) process when A is input, (β) process when B is input” in the specification 1, and “A is used as a circuit input. When “simulation” is performed, “confirmation that processing of (α) has been performed” is performed, and when “logic simulation is performed using B as a circuit input”, “confirmation that processing of (β) is performed” is performed. A list of verification items describing the above was created.
JP-A-8-110907 JP-A-8-29284

上述したような従来の論理回路の論理検証方法では、検証技術者2が経験に基づいて「どのような検証をすべきか」を判断して検証項目を手作業で書き出していた。このような場合、自然言語等で記載された文書による仕様書1が与えられると、検証技術者2は、例えば、AやBがあらゆる想定可能な順序で入力された場合を考慮した全組合せについて十分検討したか否かの判断が検証技術者2の経験に依存しており、検討が十分であったか否かの確認は容易ではなかった。その過程で、検証技術者2は経験に基づいて矛盾箇所を発見した場合、修正するための所定の手続きを行い、修正された仕様書1を再度チェックしていた。   In the conventional logic verification method of the logic circuit as described above, the verification engineer 2 determines “what verification should be performed” based on experience and writes the verification items manually. In such a case, given the specification 1 in a document written in a natural language or the like, the verification engineer 2 will, for example, consider all combinations that take into account the case where A and B are input in any possible order. Judgment as to whether or not sufficient consideration has been made depends on the experience of the verification engineer 2, and it was not easy to confirm whether or not the examination was sufficient. In the process, when the verification engineer 2 finds a contradiction based on experience, the verification engineer 2 performs a predetermined procedure for correction and checks the corrected specification 1 again.

その結果、このような経験に基づく矛盾の抽出及び検証項目の抽出では、検証すべき項目を抽出しきれないまま検証作業を完了させてしまい、論理回路の提供先で検証項目抜けなどに起因する論理障害が発生すると言った問題を招くこともあった。   As a result, in the extraction of contradiction based on such experience and the extraction of verification items, the verification work is completed without extracting the items to be verified, which is caused by the lack of verification items at the logic circuit provider. In some cases, a logic failure occurred.

よって、本発明の目的は、論理回路の状態遷移グラフ中で矛盾する箇所を検出するのみでなく、一旦検出された矛盾箇所を記憶領域に保持しておき、動作として存在してはならない状態についても検証項目として明示的に記述する論理検証支援システムを提供することである。   Therefore, the object of the present invention is not only to detect inconsistent portions in the state transition graph of the logic circuit, but also to keep the detected inconsistent portions in the storage area and should not exist as an operation. Is to provide a logic verification support system that is explicitly described as a verification item.

上記課題を解決するため、本発明は、論理回路を検証するための検証項目を作成する論理検証支援システムであって、前記論理回路の動作における該論理回路の状態を示す状態情報毎に、遷移元状態から遷移先状態の遷移を示す状態遷移情報によって示される遷移条件が他状態遷移情報の遷移条件に含まれる場合に矛盾箇所として抽出する矛盾抽出手段を有するように構成される。   In order to solve the above problems, the present invention provides a logic verification support system for creating a verification item for verifying a logic circuit, wherein a transition is made for each status information indicating the status of the logic circuit in the operation of the logic circuit. When the transition condition indicated by the state transition information indicating the transition from the original state to the transition destination state is included in the transition condition of the other state transition information, it is configured to have a contradiction extraction means for extracting as a contradiction part.

上記手段を機能としてコンピュータに実行させるためのプログラム、そのプログラムを記憶したコンピュータ読み取り可能な記憶媒体、及び、上記手段を機能としてコンピュータが処理する方法とすることもできる。   A program for causing a computer to execute the above means as a function, a computer-readable storage medium storing the program, and a method for the computer to process the above means as a function can be used.

本願発明は、論理回路の状態遷移グラフ中で矛盾する箇所を検出するのみでなく、一旦検出された矛盾箇所を記憶領域に保持しておき、動作として存在してはならない状態についても検証項目として明示的に記述することが可能となる。   The present invention not only detects the contradictory part in the state transition graph of the logic circuit, but also stores the contradictory part once detected in the storage area, and also verifies the state that should not exist as an operation. It can be described explicitly.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図2は、本発明の一実施例に係る論理検証システムの機能構成を示す図である。図2において、論理検証システム100は、仕様記述作成部10と、検出項目抽出部30と、テストデータ作成部80と、論理シミュレータ90とを有する。   FIG. 2 is a diagram illustrating a functional configuration of the logic verification system according to the embodiment of the present invention. In FIG. 2, the logic verification system 100 includes a specification description creation unit 10, a detection item extraction unit 30, a test data creation unit 80, and a logic simulator 90.

論理検証システム100は、1つのコンピュータ装置で実現されてもよいし、2又は3のコンピュータ装置で実現されてもよい。検出項目抽出部30の全体は、1つのコンピュータ装置で運用されることが望ましい。複数のコンピュータ装置で実現する場合には、各処理部10、30、80及び90で作成されたデータを外部記憶媒体に格納し、各処理部で必要に応じて読み込むようにすればよい。又は、複数のコンピュータ装置をネットワークなどで互いに接続可能な構成とすればよい。   The logic verification system 100 may be realized by one computer device, or may be realized by two or three computer devices. The entire detection item extraction unit 30 is preferably operated by one computer device. When implemented by a plurality of computer devices, the data created by the processing units 10, 30, 80 and 90 may be stored in an external storage medium and read by the processing units as necessary. Alternatively, a configuration is possible in which a plurality of computer devices can be connected to each other via a network or the like.

仕様書記述作成部10は、検証技術者2が論理回路仕様書又は規格書などに基づいて、所定の記述形式で論理回路への入力データ及び論理回路の機能(状態遷移など)を入力した内容から仕様記述データ10aを作成する。   The specification description creating unit 10 is a content that the verification engineer 2 inputs the input data to the logic circuit and the function (state transition, etc.) of the logic circuit in a predetermined description format based on the logic circuit specification or standard. To create specification description data 10a.

検証項目抽出部30は、仕様書記述作成部10によって作成された仕様記述データ10aを用いて検証項目を抽出して検証項目情報37aを作成する処理部であり、仕様記述解析部31と、状態遷移グラフ作成部32と、矛盾抽出部34と、検証項目作成部37とを有する。   The verification item extraction unit 30 is a processing unit that extracts verification items using the specification description data 10a created by the specification description creation unit 10 and creates verification item information 37a. It has a transition graph creation unit 32, a contradiction extraction unit 34, and a verification item creation unit 37.

仕様記述解析部31は、仕様記述データ10aを読み込んで解析し、仕様記述データ10aに基づいて状態リスト30aと入力データ30bとを生成して記憶領域に格納する。   The specification description analysis unit 31 reads and analyzes the specification description data 10a, generates a state list 30a and input data 30b based on the specification description data 10a, and stores them in the storage area.

状態遷移グラフ作成部32は、状態リスト30aと入力データ30bとを用いて、状態を示す状態構造体32aと状態遷移を示すリンク構造体23bとを作成して、これら状態構造体32aとリンク構造体23bとに基づいて論理回路の機能を表す状態遷移グラフデータを作成する。また、状態遷移グラフ作成部32は、検証技術者2によって仕様記述データ10aが修正されることによって、使用されなくなった状態遷移部分について「使用しない」マーク(×)を付加して状態遷移グラフデータを更新する。   The state transition graph creation unit 32 creates a state structure 32a indicating a state and a link structure 23b indicating a state transition by using the state list 30a and the input data 30b, and the state structure 32a and the link structure. State transition graph data representing the function of the logic circuit is created based on the field 23b. In addition, the state transition graph creation unit 32 adds the “not used” mark (×) to the state transition portion that is no longer used by the specification engineer 2 correcting the specification description data 10a, and the state transition graph data. Update.

矛盾抽出部34は、仕様記述データ10aに基づく論理回路の状態遷移に矛盾がないかを解析する処理部であり、矛盾があった場合に矛盾情報構造体34aを作成する矛盾情報作成部35を有する。矛盾抽出部34は、状態遷移グラフ作成部32によって作成された状態遷移グラフデータ32aから論理的な矛盾がないかを解析し、矛盾を検出すると、仕様矛盾項目情報34aによって状態遷移の矛盾を示す仕様矛盾項目ファイル34fを作成して記憶領域に出力し、そして、検証技術者2に矛盾が存在することを通知する。   The contradiction extraction unit 34 is a processing unit that analyzes whether there is a contradiction in the state transition of the logic circuit based on the specification description data 10a, and the contradiction information creation unit 35 that creates the contradiction information structure 34a when there is a contradiction. Have. The contradiction extraction unit 34 analyzes whether there is a logical contradiction from the state transition graph data 32a created by the state transition graph creation unit 32, and if a contradiction is detected, the contradiction of the state transition is indicated by the specification contradiction item information 34a. A specification contradiction item file 34f is created and output to the storage area, and the verification engineer 2 is notified that a contradiction exists.

検証技術者2は、仕様矛盾項目ファイル34fを解析して、仕様記述作成部10を実行させて、仕様記述データ10aを修正して更新する。   The verification engineer 2 analyzes the specification contradiction item file 34f, causes the specification description creation unit 10 to execute, and corrects and updates the specification description data 10a.

検証項目作成部37は、検証すべき項目を示す検証項目構造体37aを作成して、検証項目構造体37aに基づいて処理の実行可否を明示的に記載した検証項目を検証項目ファイル37fに出力する処理部であって、矛盾部検証項目作成部38と、エッジ部検証項目作成部39とを有する。   The verification item creation unit 37 creates a verification item structure 37a indicating an item to be verified, and outputs a verification item that explicitly describes whether or not processing can be performed based on the verification item structure 37a to the verification item file 37f. And a contradiction part verification item creation part 38 and an edge part verification item creation part 39.

検証項目作成部37は、矛盾情報構造体34aを用いて、「使用しない」マーク(×)が付加された状態遷移部分に対して、処理の実行可否を明示的に表現した検証項目の作成の要否を判断し、作成要の場合に「使用しない」マーク(×)が付加された状態遷移部分を「処理を実行しない」と明示的に記載した検証項目として書き出すために「処理を実行しない」フラグ(黒丸)を矛盾情報構造体34aに設定する。処理の実行可否を明示的に表現した検証項目の作成が不要の場合、検証項目作成部37aは、「使用しない」マーク(×)に基づいて検証項目は作成しない。   The verification item creation unit 37 uses the contradiction information structure 34a to create a verification item that explicitly expresses whether or not the process can be executed for the state transition portion to which the “not used” mark (×) is added. In order to determine whether it is necessary or not and to write out the state transition part to which the “not used” mark (×) is added as a verification item that explicitly states “do not execute the process”, “do not execute the process” "Flag (black circle) is set in the contradiction information structure 34a. When it is not necessary to create a verification item that explicitly expresses whether or not the process can be executed, the verification item creation unit 37a does not create a verification item based on the “not used” mark (×).

また、検証項目作成部37は、「使用しない」マーク(×)が付されていない状態構造体32aに対して、状態構造体32aの内容に基づいて検証項目構造体37aを作成する。この場合、検証項目作成部37は、「処理を実行しない」フラグ(黒丸)を付加することはない。又は、「処理を実行する」フラグを付加してもよい。   Further, the verification item creation unit 37 creates a verification item structure 37a based on the contents of the state structure 32a for the state structure 32a without the “not used” mark (×). In this case, the verification item creation unit 37 does not add the “do not execute processing” flag (black circle). Alternatively, a flag “execute processing” may be added.

検証項目作成部37は、更に、矛盾部検証項目作成部38と、エッジ部検証項目作成部39とによって、夫々で検証項目構造体37aを作成し、その検証項目構造体37aに基づいて検証項目を検証項目ファイル37fへ出力させる。   The verification item creation unit 37 further creates a verification item structure 37a by each of the contradiction part verification item creation unit 38 and the edge part verification item creation unit 39, and the verification item structure 37a is used as a verification item. Are output to the verification item file 37f.

矛盾部検証項目作成部38は、矛盾情報構造体37aを用いて、矛盾する箇所の検証項目構造体37aを作成して、その検証項目構造体37aに基づいて検証項目を検証項目ファイル37fへ出力する。   The contradiction part verification item creation unit 38 creates the verification item structure 37a of the conflicting part using the contradiction information structure 37a, and outputs the verification item to the verification item file 37f based on the verification item structure 37a. To do.

エッジ部検証項目作成部39は、状態構造体32aを用いて、矛盾情報構造体37a以外について検証項目構造体37aを作成して、その検証項目構造体37aに基づいて検証項目を検証項目ファイル37fへ出力する。   The edge part verification item creation unit 39 creates a verification item structure 37a other than the contradiction information structure 37a by using the state structure 32a, and adds a verification item to the verification item file 37f based on the verification item structure 37a. Output to.

テストデータ作成部80は、検証項目抽出部30によって作成された検証項目情報37aを用いて、検証技術者2によるテストベンチ及びテストパターンの作成を支援する処理部であり、回路をシミュレーションするための種々のテストデータ80aとして記憶領域に出力する。   The test data creation unit 80 is a processing unit that supports creation of a test bench and a test pattern by the verification engineer 2 using the verification item information 37a created by the verification item extraction unit 30, and is used for simulating a circuit. Various test data 80a is output to the storage area.

論理シミュレータ90は、テストデータ作成部80によって作成されたテストデータ80aを読み込んで、設計された回路を検証するためのシミュレーションを実行する処理部である。   The logic simulator 90 is a processing unit that reads the test data 80a created by the test data creation unit 80 and executes a simulation for verifying the designed circuit.

論理検証支援システム100を実現する1乃至3のコンピュータ装置は、図3に示すようなハードウェア構成を有する。図3は、本発明の一実施例に係る論理検証支援システムを実現するコンピュータ装置のハードウェア構成を示す図である。   One to three computer apparatuses that implement the logic verification support system 100 have a hardware configuration as shown in FIG. FIG. 3 is a diagram illustrating a hardware configuration of a computer device that implements a logic verification support system according to an embodiment of the present invention.

図3において、論理検証支援システム100は、コンピュータによって制御される装置であって、CPU(Central Processing Unit)11と、メモリユニット12と、表示ユニット13と、出力ユニット14と、入力ユニット15と、通信ユニット16と、記憶装置17と、ドライバ18とで構成され、システムバスBに接続される。   In FIG. 3, a logic verification support system 100 is a device controlled by a computer, and includes a CPU (Central Processing Unit) 11, a memory unit 12, a display unit 13, an output unit 14, an input unit 15, The communication unit 16, the storage device 17, and the driver 18 are configured and connected to the system bus B.

CPU11は、メモリユニット12に格納されたプログラムに従って論理検証支援システム100を制御する。メモリユニット12は、RAM(Random Access Memory)及びROM(Read-Only Memory)等にて構成され、CPU11にて実行されるプログラム、CPU11での処理に必要なデータ、CPU11での処理にて得られたデータ等を格納する。また、メモリユニット12の一部の領域が、CPU11での処理に利用されるワークエリアとして割り付けられている。   The CPU 11 controls the logic verification support system 100 according to a program stored in the memory unit 12. The memory unit 12 includes a RAM (Random Access Memory), a ROM (Read-Only Memory), and the like, and is obtained by a program executed by the CPU 11, data necessary for processing by the CPU 11, and processing by the CPU 11. Stored data. A part of the memory unit 12 is allocated as a work area used for processing by the CPU 11.

表示ユニット13は、CPU11の制御のもとに必要な各種情報を表示する。出力ユニット14は、プリンタ等を有し、利用者からの指示に応じて各種情報を出力するために用いられる。入力ユニット15は、マウス、キーボード等を有し、論理検証支援システム100が処理を行なうための必要な各種情報を利用者が入力するために用いられる。   The display unit 13 displays various information required under the control of the CPU 11. The output unit 14 has a printer or the like, and is used for outputting various types of information in accordance with instructions from the user. The input unit 15 includes a mouse, a keyboard, and the like, and is used for a user to input various information necessary for the logic verification support system 100 to perform processing.

通信ユニット16は、論理検証支援システム100が例えばインターネット、LAN(Local Area Network)等のネットワークを介する通信の制御をするための装置である。   The communication unit 16 is a device for the logic verification support system 100 to control communication via a network such as the Internet or a LAN (Local Area Network).

記憶装置17は、例えば、ハードディスクユニットにて構成され、各種処理を実行するプログラム等のデータを格納する。   The storage device 17 is composed of, for example, a hard disk unit, and stores data such as programs for executing various processes.

論理検証支援システム100よって行われる回路設計方法での処理を実現するプログラムは、例えば、CD−ROM(Compact Disk Read-Only Memory)等の記憶媒体19によって論理検証支援システム100に提供される。即ち、プログラムが保存された記憶媒体19がドライバ18にセットされると、ドライバ18が記憶媒体19からプログラムを読み出し、その読み出されたプログラムがシステムバスBを介して記憶装置17にインストールされる。そして、プログラムが起動されると、記憶装置17にインストールされたプログラムに従ってCPU11がその処理を開始する。   A program that realizes processing in the circuit design method performed by the logic verification support system 100 is provided to the logic verification support system 100 by a storage medium 19 such as a CD-ROM (Compact Disk Read-Only Memory). That is, when the storage medium 19 storing the program is set in the driver 18, the driver 18 reads the program from the storage medium 19, and the read program is installed in the storage device 17 via the system bus B. . When the program is activated, the CPU 11 starts its processing according to the program installed in the storage device 17.

尚、プログラムを格納する媒体としてCD−ROMに限定するものではなく、コンピュータが読み取り可能な媒体であればよい。本発明に係る処理を実現するプログラムは、通信ユニット16によってネットワークを介してダウンロードし、記憶装置17にインストールするようにしても良い。また、論理検証支援システム100が外部との接続を行うUSB(Universal Serial Bus)等のインタフェースを有する場合には、USB接続によって外部記憶媒体からプログラムを読み込んでもよい。   The medium for storing the program is not limited to a CD-ROM, and any medium that can be read by a computer is acceptable. The program for realizing the processing according to the present invention may be downloaded via the network by the communication unit 16 and installed in the storage device 17. When the logic verification support system 100 has an interface such as a USB (Universal Serial Bus) for connecting to the outside, the program may be read from an external storage medium by USB connection.

次に、仕様記述作成部10が、検証技術者2が入力されたデータから作成する仕様記述データ10aの例について図4で説明する。図4は、仕様記述データの例を示す図である。   Next, an example of the specification description data 10a that the specification description creating unit 10 creates from the data input by the verification engineer 2 will be described with reference to FIG. FIG. 4 is a diagram illustrating an example of specification description data.

図4において、仕様記述データ10aは、入力データ定義部10a−2と、処理内容定義部10a−4とを有する。   In FIG. 4, the specification description data 10a includes an input data definition unit 10a-2 and a processing content definition unit 10a-4.

データ定義部10a−2には、入力データの有効範囲が示される。この場合、1バイトのデータ入力が成されることを示す「0x00」から「0xff」までを有効データの範囲として定義している。   The data definition unit 10a-2 shows the valid range of input data. In this case, “0x00” to “0xff” indicating that 1-byte data is input is defined as a valid data range.

また、特別な処理を実行する、或いは処理状態の遷移を行わせる入力(マーク)種別を定義し、特別な処理実行する状態の定義、開示条件、終了条件とその状態で入力できる値の制約で定義する。例えば、マークAは入力データ「0xfe」で定義され、マークBは入力データ「0xff」で定義されている。また、状態遷移定義では、「状態A」へと遷移するための開示条件がマークAであり、「状態A」から遷移するための終了条件がマークBであり、入力値制約はないことが定義されている。   Also, by defining the input (mark) type that executes special processing or causes processing state transition, the definition of the state for executing special processing, the disclosure condition, the end condition, and the restrictions on the values that can be input in that state Define. For example, the mark A is defined by the input data “0xfe”, and the mark B is defined by the input data “0xff”. Also, in the state transition definition, it is defined that the disclosure condition for transitioning to “state A” is mark A, the end condition for transitioning from “state A” is mark B, and there is no input value constraint Has been.

処理内容定義部10a−4には、入力データ定義部10a―2で定義される各データの入力時に実行すべき処理、入力データ定義部10a―2で定義される状態遷移定義で実行すべき処理が定義される。この場合、「通常処理」の欄では、初期状態から「入力データ定義部」で定義されたマーク又はマークにより遷移した状態のいずれにも合致しない場合の処理が存在することを示している。各処理の「:」の右には任意の値を複数個記載可能である。この場合、状態Aで処理(α)を実行し、マークBの入力によって処理(β)を実行することが定義されている。   The process content definition unit 10a-4 includes a process to be executed when each data defined by the input data definition unit 10a-2 is input, and a process to be executed by the state transition definition defined by the input data definition unit 10a-2. Is defined. In this case, the “normal processing” column indicates that there is a process when the initial state does not match either the mark defined by the “input data definition unit” or the state transitioned by the mark. A plurality of arbitrary values can be written to the right of “:” in each process. In this case, it is defined that the process (α) is executed in the state A and the process (β) is executed by inputting the mark B.

この時点では、このようにして作成された仕様書記述データ10aには、矛盾が含まれていてもよい。従って、検証技術者2は、思いつく項目を書き出すことができる。本実施例では、一般に、規格や仕様を理解する際、間違った解釈をすることが多い箇所に論理障害が多くなるため、論理検証支援システム100ではあえて矛盾した止揚を受付けて、以下に説明されるように、矛盾を指摘すると共に、論理検証の際に注意すべき点であるとして仕様書内のその矛盾した箇所の情報は全て保存される。   At this point, the specification description data 10a created in this way may contain inconsistencies. Therefore, the verification engineer 2 can write out items that can be conceived. In the present embodiment, in general, when comprehending a standard or specification, there are many logic faults at a place where misinterpretations are often made. Therefore, the logic verification support system 100 accepts contradictory declarations and is described below. In this way, the contradiction is pointed out, and all the information of the contradictory part in the specification is saved as a point to be noted in the logic verification.

仕様書記述データ10aは仕様書記述解析部31によって解析され、状態リスト31aと入力データリスト31bとに分けられて記憶領域に格納される。状態リスト31aには、状態遷移定義で定義される、例えば、初期状態としての「通常状態」、「状態A」などの状態名と、状態遷移するための条件(以下、状態遷移条件という)と、処理内容定義部で定義される内容とが含まれる。入力データリスト31bには、有効データと、マーク名と、マークとして認識される値とが含まれる。   The specification description data 10a is analyzed by the specification description analysis unit 31, and is divided into a state list 31a and an input data list 31b and stored in the storage area. In the state list 31a, for example, state names such as “normal state” and “state A” as initial states, and conditions for state transition (hereinafter referred to as state transition conditions) are defined in the state transition definition. , Content defined in the processing content definition section. The input data list 31b includes valid data, a mark name, and a value recognized as a mark.

そして、状態遷移グラフ作成部32によって状態構造体32a及びリンク構造体32bが作成される。図5は、状態遷移グラフ作成処理を説明するためのフローチャート図である。図5において、状態遷移グラフ作成部32は、状態リスト31aを参照して、状態毎にその状態を示す構造体を状態構造体32aとして記憶領域に作成する(ステップS131)。この場合、仕様修正などによって、既に状態構造体32aが作成されている場合、その存在している状態構造体32aを採用して別の記憶領域に格納する。   Then, the state transition graph creation unit 32 creates a state structure 32a and a link structure 32b. FIG. 5 is a flowchart for explaining the state transition graph creation processing. In FIG. 5, the state transition graph creating unit 32 refers to the state list 31a and creates a structure indicating the state for each state as a state structure 32a in the storage area (step S131). In this case, if the state structure 32a has already been created due to specification correction or the like, the existing state structure 32a is adopted and stored in another storage area.

状態遷移グラフ作成部32は、入力データリスト31bを参照して、状態への遷移条件毎に状態遷移を示す構造体をリンク構造体32bとして作成する(ステップS132)。遷移条件と、実行すべき処理を示す処理名とをリンク構造体32bに設定し、その遷移元と遷移先との状態構造体にポインタで接続する(ステップS133)。   The state transition graph creation unit 32 refers to the input data list 31b and creates a structure indicating a state transition for each state transition condition as a link structure 32b (step S132). The transition condition and the process name indicating the process to be executed are set in the link structure 32b, and the state structure of the transition source and the transition destination is connected with a pointer (step S133).

また、状態遷移グラフ作成部32は、仕様修正によって存在しなくなった状態構造体及びリンク構造体に「使用しない」マーク(×)を付加して、そのまま記憶領域に保存しておく(ステップS134)。存在しなくなった状態構造体は、前回から記憶領域に保存されている状態構造体32aと、今回採用した状態構造体32aとの差分で取得し、差分となった状態構造体32aに「使用しない」マーク(×)を付加して今回採用の状態構造体32aとして記憶領域に格納すればよい。存在しなくなったリンク構造体についても同様である。「使用しない」マーク(×)の付与は、状態構造体32a及びリンク構造体32b内の要素として備え、「使用しない」ことを示す情報を設定するようにすればよい。   In addition, the state transition graph creating unit 32 adds a “not used” mark (×) to the state structure and link structure that no longer exist due to the specification modification, and stores them in the storage area as they are (step S134). . The state structure that no longer exists is acquired by the difference between the state structure 32a stored in the storage area from the previous time and the state structure 32a adopted this time, and the difference is not used for the state structure 32a. "(X)" and a state structure 32a adopted this time may be stored in the storage area. The same applies to link structures that no longer exist. The “not used” mark (×) may be provided as an element in the state structure 32a and the link structure 32b, and information indicating “not used” may be set.

次に、矛盾抽出部34によって矛盾情報構造体34a及び使用矛盾項目ファイル34fが作成される。図6は、矛盾抽出処理を説明するためのフローチャート図である。   Next, the contradiction information structure 34 a and the use contradiction item file 34 f are created by the contradiction extraction unit 34. FIG. 6 is a flowchart for explaining the contradiction extraction process.

図6において、矛盾抽出部34は、記憶領域から状態遷移グラフ作成部32によって作成された状態構造体32aを順に1つ読み出して、入力データリスト31aを参照して、状態構造体32aに接続元として接続されたリンク構造体32bに対して、そのリンク構造体32bの遷移条件を含む遷移条件を持つリンク構造体32bが既に記憶領域に格納されているか否かを確認する(ステップS141)。例えば、遷移条件の「マークA以外(0xfe以外)」と「マークB(0xff)」とは互いに排他とはならない関係となるリンク構造体32b同士であるか否かを確認すればよい。   In FIG. 6, the contradiction extraction unit 34 sequentially reads one state structure 32 a created by the state transition graph creation unit 32 from the storage area, refers to the input data list 31 a, and connects the state structure 32 a to the connection source. As for the link structure 32b connected as, it is confirmed whether or not the link structure 32b having the transition condition including the transition condition of the link structure 32b is already stored in the storage area (step S141). For example, it is only necessary to check whether the transition conditions “other than mark A (other than 0xfe)” and “mark B (0xff)” are link structures 32b that are not mutually exclusive.

ステップS141では、状態構造体32a及びリンク構造体32bには、仕様修正によって「使用しない」マーク(×)が付与されているものも含めて確認を行なう。   In step S141, the state structure 32a and the link structure 32b are checked including those to which “not used” mark (×) is given due to the specification correction.

同じ遷移条件が存在しない場合(ステップS142のNO)、矛盾抽出部34は、入力データリスト31aを参照して、状態構造体32aへのポインタと、その状態構造体に接続元として接続されたリンク構造体32bの遷移条件に設定する値と、関連するリンク構造体32bへのポインタとを記憶領域に格納する(ステップS143)。   When the same transition condition does not exist (NO in step S142), the contradiction extraction unit 34 refers to the input data list 31a and a pointer to the state structure 32a and a link connected to the state structure as a connection source The value set in the transition condition of the structure 32b and the pointer to the related link structure 32b are stored in the storage area (step S143).

一方、同じ遷移条件が存在する場合(ステップS142のYES)、矛盾抽出部34は、処理中の状態構造体32aへのポインタと、既にある値と関連したリンク構造体32bへのポインタと、著利中のリンク構造体32bへのポインタと、矛盾した値の集合とを示す矛盾情報構造体34aを作成して、図7に示すような矛盾情報保存部41に保存する(ステップS142−2)。また、矛盾抽出部34は、矛盾情報構造体34aへのポインタを図7に示すような矛盾情報保存部41に保存する(ステップS142−4)。   On the other hand, if the same transition condition exists (YES in step S142), the contradiction extraction unit 34 creates a pointer to the state structure 32a being processed, a pointer to the link structure 32b associated with an existing value, A contradiction information structure 34a indicating the pointer to the link structure 32b and the contradictory value set is created and saved in the contradiction information storage unit 41 as shown in FIG. 7 (step S142-2). . Further, the contradiction extraction unit 34 stores a pointer to the contradiction information structure 34a in the contradiction information storage unit 41 as shown in FIG. 7 (step S142-4).

図7を参照すると、矛盾情報保存部41には、ポインタ領域41aと、矛盾情報構造体34aと、矛盾した遷移条件を示す値集合41sとが保存される。ポインタ領域41aには、作成された矛盾情報構造体34aへのポインタが順次格納される。矛盾情報構造体34aは、矛盾するリンク構造体32bが存在する状態構造体32aへのポインタと、同じ値を持つリンク構造体32bの夫々のポインタと、入力データリスト31aを参照することによって同一の値となる遷移条件の記述を示す値集合41s等の要素で構成される。   Referring to FIG. 7, the contradiction information storage unit 41 stores a pointer area 41a, a contradiction information structure 34a, and a value set 41s indicating a contradictory transition condition. In the pointer area 41a, pointers to the created contradiction information structure 34a are sequentially stored. The contradiction information structure 34a is the same by referring to the pointer to the state structure 32a where the conflicting link structure 32b exists, the respective pointers of the link structure 32b having the same value, and the input data list 31a. It is composed of elements such as a value set 41s indicating a description of transition conditions as values.

例えば、遷移条件の記述「マークA以外」と遷移条件の記述「マークB」とは、入力データリスト31bを参照することによって、同じ値「0xff」となり、値集合41sには、「マークA以外」と「マークB」とが設定される。   For example, the transition condition description “other than mark A” and the transition condition description “mark B” have the same value “0xff” by referring to the input data list 31b, and the value set 41s includes “other than mark A”. "And" Mark B "are set.

矛盾情報保存部41で保存される矛盾情報構造体34aからポインタによって参照される状態構造体32aとリンク構造体32bとには、仕様修正によって「使用しない」マーク(×)が付加されている構造体が存在していてもよい。   A structure in which a “not used” mark (×) is added to the state structure 32a and the link structure 32b that are referenced by the pointer from the contradiction information structure 34a stored in the contradiction information storage unit 41 The body may be present.

図6に戻って、矛盾抽出部34は、状態構造体32aを全て処理したか否かを判断する(ステップS144)。全て処理していない場合、矛盾抽出部34は、ステップS141へ戻って、上記同様の処理を繰り返す。   Returning to FIG. 6, the contradiction extraction unit 34 determines whether or not all the state structures 32a have been processed (step S144). If not all have been processed, the contradiction extraction unit 34 returns to step S141 and repeats the same processing as described above.

一方、全て処理している場合、矛盾抽出部34は、矛盾情報保存部41に保存されている矛盾情報構造体34a夫々について仕様矛盾項目を作成し、仕様矛盾項目ファイル34fとして出力する(ステップS145)。そして、矛盾抽出部34は、仕様矛盾項目ファイル34fを検証技術者2へ通知して(ステップS146)、矛盾抽出処理を終了する。   On the other hand, when all the processing is performed, the contradiction extraction unit 34 creates a specification contradiction item for each of the contradiction information structures 34a stored in the contradiction information storage unit 41 and outputs it as a specification conflict item file 34f (step S145). ). Then, the contradiction extraction unit 34 notifies the verification engineer 2 of the specification contradiction item file 34f (step S146), and ends the contradiction extraction process.

状態遷移グラフ作成部32と矛盾抽出部34と処理による状態遷移グラフが作成される過程と仕様矛盾項目ファイル34fが作成される過程を図8で説明する。図8は、矛盾項目抽出までの過程を示す図である。   The process of creating the state transition graph by the state transition graph creation unit 32, the contradiction extraction unit 34, and the process and the process of creating the specification contradiction item file 34f will be described with reference to FIG. FIG. 8 is a diagram illustrating a process up to extraction of contradictory items.

図8において、状態遷移グラフ作成部32は、状態リスト31aを入力して、状態遷移グラフ50中の状態を作成する(ステップS11)。ここでは、「状態」として通常処理と状態Aとを示す状態構造体32aが作成される。   In FIG. 8, the state transition graph creation unit 32 receives the state list 31a and creates a state in the state transition graph 50 (step S11). Here, the state structure 32a indicating the normal process and the state A as the “state” is created.

状態遷移グラフ作成部32は、入力データリスト31bを参照して、仕様記述中の状態への遷移条件それぞれについて「状態遷移」を示すエッジを設定する(ステップS12)。「状態遷移」を示すエッジは、リンク構造体32bで示される。状態遷移グラフ51では、マークAに係る入力(マークAの入力及びマークA以外の入力)によって成される、通常処理状態と状態Aとの間の状態遷移、通常処理状態内での状態遷移、及び状態A内での状態遷移を追加した様子を示している。状態遷移グラフ52では、マークBに係る入力(マークBの入力)によって成される、通常処理状態内での状態遷移、及び状態A内での状態遷移を追加した様子を示している。   The state transition graph creating unit 32 refers to the input data list 31b and sets an edge indicating “state transition” for each transition condition to the state in the specification description (step S12). An edge indicating “state transition” is indicated by a link structure 32b. In the state transition graph 51, the state transition between the normal processing state and the state A, the state transition in the normal processing state, which is made by the input related to the mark A (the input of the mark A and the input other than the mark A), And a state in which state transitions in state A are added. The state transition graph 52 shows a state where a state transition in the normal processing state and a state transition in the state A, which are made by an input related to the mark B (an input of the mark B), are added.

次に、矛盾抽出部34は、状態遷移グラフ作成部32によって作成された状態遷移グラフ52上の各状態からの遷移について、遷移条件間に矛盾が無いかをチェックする(ステップS13)。状態遷移グラフ53では、状態遷移グラフ作成部32によって作成された状態遷移グラフ52内において矛盾のある遷移条件(エッジ)を点線で示している。矛盾のある遷移条件(エッジ)に係わる状態構造体32aとリンク構造体32bとが矛盾状態構造体34aで特定される。   Next, the contradiction extraction unit 34 checks whether there is a contradiction between the transition conditions for the transition from each state on the state transition graph 52 created by the state transition graph creation unit 32 (step S13). In the state transition graph 53, inconsistent transition conditions (edges) in the state transition graph 52 created by the state transition graph creating unit 32 are indicated by dotted lines. The state structure 32a and the link structure 32b related to the inconsistent transition condition (edge) are specified by the inconsistency state structure 34a.

そして、矛盾抽出部34は、矛盾点を所定形式のファイルに出力して、検証技術者2に通知し、論理検証支援システム100内にも保存する(ステップS14)。仕様矛盾項目ファイル34fは、例えば、矛盾点毎に、遷移元、遷移先、遷移条件の項目があり、それらに値が対応づけられている。   Then, the contradiction extraction unit 34 outputs the contradiction to a file in a predetermined format, notifies the verification engineer 2 and stores it in the logic verification support system 100 (step S14). The specification contradiction item file 34f includes, for example, items of transition source, transition destination, and transition condition for each contradiction point, and values are associated with them.

状態遷移グラフ53に示される矛盾58に対して、遷移元に「通常処理」状態が設定され、「通常処理」状態で2つのエッジ間で矛盾があったため遷移先に「通常処理」状態、「通常処理」状態のように繰り返して設定され、遷移条件にマークA以外、マークBのようにエッジ毎に値が設定される。更に、状態遷移グラフ53に示される矛盾59に対して、遷移元に「状態A」が設定され、「状態A」で2つのエッジ間で矛盾があったため遷移先に「状態A」、「状態A」のように繰り返して設定され、遷移条件にマークA以外、マークBのようにエッジ毎に値が設定される。   For the contradiction 58 shown in the state transition graph 53, the “normal processing” state is set as the transition source, and there is a contradiction between the two edges in the “normal processing” state. It is set repeatedly as in the “normal processing” state, and a value is set for each edge like mark B in addition to mark A in the transition condition. Furthermore, for the contradiction 59 shown in the state transition graph 53, “state A” is set as the transition source, and there is a contradiction between two edges in “state A”. A ”is repeatedly set, and a value is set for each edge like mark B in addition to mark A in the transition condition.

このような仕様矛盾項目ファイル34fを参照して、検証技術者2は仕様記述データ10aを修正すると、仕様記述解析部31、状態遷移グラフ作成部32、矛盾抽出部35による上述した処理が実行され、修正されて使用しないことになった部分には、「使用しない」マーク(×)が付加される。   When the verification engineer 2 corrects the specification description data 10a with reference to such a specification contradiction item file 34f, the above-described processing by the specification description analysis unit 31, the state transition graph creation unit 32, and the contradiction extraction unit 35 is executed. A “not used” mark (×) is added to a portion that has been modified and is not used.

更に、論理検証支援システム100では、検証項目作成部37によって検証項目が記述される検証項目ファイル37fが作成される。図9は、検証項目作成処理を説明するためのフローチャート図である。図9において、検証項目作成部37は、図6のステップS143にて状態遷移グラフ作成部32によって記憶領域に格納されたポインタで関連付けられている状態構造体32aとリンク構造体32bとの組み合わせを順次取得する(ステップS151)。   Further, in the logic verification support system 100, the verification item creation unit 37 creates a verification item file 37f in which the verification items are described. FIG. 9 is a flowchart for explaining the verification item creation processing. In FIG. 9, the verification item creation unit 37 determines the combination of the state structure 32 a and the link structure 32 b that are associated with the pointer stored in the storage area by the state transition graph creation unit 32 in step S <b> 143 of FIG. 6. It acquires sequentially (step S151).

検証項目作成部37は、矛盾情報保存部41に格納されていて、リンク構造体32bに「使用しない」マーク(×)が付与されていて、他の遷移条件の一部でありその処理内容が相違し、かつ、同一の遷移条件を持つリンク構造体32bが存在しないことを確認する(ステップS152)。ステップS152の条件が成立する場合、検証項目作成部37は、処理の実行可否を明示的に記載することを示す「処理を実行しない」フラグの設定が必要であると判断する。一方、ステップS152の条件が成立しない場合、検証項目作成部37は、「処理を実行しない」フラグの設定は不要であると判断する。   The verification item creation unit 37 is stored in the contradiction information storage unit 41, the link structure 32b is given a “not used” mark (×), is a part of other transition conditions, and its processing content is It is confirmed that there is no link structure 32b that is different and has the same transition condition (step S152). When the condition of step S152 is satisfied, the verification item creation unit 37 determines that it is necessary to set a “do not execute process” flag indicating that the execution of the process is explicitly described. On the other hand, if the condition of step S152 is not satisfied, the verification item creation unit 37 determines that it is not necessary to set the “do not execute processing” flag.

ステップS152での確認によって「処理を実行しない」フラグの設定が必要か否かを判断する(ステップS153)。「処理を実行しない」フラグの設定が必要であると判断すると、そして、検証項目作成部37は、状態構造体32aと、「処理を実行しない」フラグを付与したリンク構造体32bとを格納して(ステップS153−4)、ステップS157へと進む。   Based on the confirmation in step S152, it is determined whether it is necessary to set a “do not execute processing” flag (step S153). If it is determined that it is necessary to set the “do not execute” flag, the verification item creation unit 37 stores the state structure 32 a and the link structure 32 b to which the “do not execute” flag is stored. (Step S153-4), the process proceeds to step S157.

一方、ステップS152での確認によって「処理を実行しない」フラグの設定が不要であると判断すると、検証項目作成部37は、ステップS152を満たさない場合であって、状態構造体32aに「使用しない」マーク(×)が設定されている組み合わせか否かを判断する(ステップS154)。状態構造体32aに「使用しない」マーク(×)が設定されている組み合わせの場合、検証項目作成部37は、検証項目構造体37aを作成することなく、ステップS157へと進む。   On the other hand, if it is determined by the confirmation in step S152 that the setting of the “do not execute processing” flag is unnecessary, the verification item creation unit 37 does not satisfy step S152, and the state structure 32a “not use”. It is determined whether or not the combination is set with a "" mark (x) (step S154). In the case of a combination in which the “not used” mark (×) is set in the state structure 32a, the verification item creation unit 37 proceeds to step S157 without creating the verification item structure 37a.

一方、ステップS154にて、状態構造体32aに「使用しない」マーク(×)が設定されていない組み合わせである場合、検証項目作成部37は、「処理を実行しない」フラグを付与することなく、状態構造体32aと、リンク構造体32bとを記憶領域に格納する(ステップS156)。   On the other hand, in the case of a combination in which the “not used” mark (×) is not set in the state structure 32a in step S154, the verification item creation unit 37 does not give the “do not execute processing” flag, The state structure 32a and the link structure 32b are stored in the storage area (step S156).

検証項目作成部37は、全ての組み合わせを処理したか否かを判断する(ステップS157)。全ての組み合わせを処理していない場合、検証項目作成部37は、ステップS151へ戻り、上記同様の処理を繰り返す。一方、全ての組み合わせを処理した場合、検証項目作成部37は、記憶領域内に格納された検証項目構造体37aに基づいて検証項目を記述し、検証項目ファイル37fへ出力する(ステップS158)。   The verification item creation unit 37 determines whether all combinations have been processed (step S157). If all the combinations have not been processed, the verification item creation unit 37 returns to step S151 and repeats the same processing as described above. On the other hand, when all the combinations have been processed, the verification item creation unit 37 describes the verification items based on the verification item structure 37a stored in the storage area and outputs the verification items to the verification item file 37f (step S158).

検証項目の記述するために、記憶領域から順に検証項目構造体37aを取得して、その検証項目構造体37aから状態構造体32aを取得して、その状態構造体32aに設定されている状態名を取得する。また、その検証項目構造体37aからリンク構造体32bを取得して、そのリンク構造体32bに設定されている遷移条件と「処理を実行しない」フラグの有無を取得する。取得した状態名と、遷移条件と、「処理を実行しない」フラグの有無とによって、「処理を実行しない」フラグ有りの場合、「状態名:遷移条件:処理実行が検出されたら論理障害」を意味するように記述し、「処理を実行しない」フラグ無しの場合、「状態名:遷移条件:処理実行が検出されなかったら論理障害」を意味するように記述して検証項目ファイル37fへ出力することによって、検証項目表が検証項目ファイル37f内に作成される。   In order to describe the verification item, the verification item structure 37a is acquired in order from the storage area, the state structure 32a is acquired from the verification item structure 37a, and the state name set in the state structure 32a To get. Further, the link structure 32b is acquired from the verification item structure 37a, and the transition condition set in the link structure 32b and the presence / absence of the “do not execute processing” flag are acquired. If there is a "do not execute" flag depending on the acquired state name, transition condition, and the presence or absence of the "do not execute" flag, "state name: transition condition: logical failure if process execution is detected" If there is no "do not execute process" flag, it is described to mean "state name: transition condition: logical failure if no process execution is detected" and output to the verification item file 37f As a result, the verification item table is created in the verification item file 37f.

検証項目作成部37によって行われる検証項目表作成処理について図10、図11及び図12で説明する。図10は、検証項目表作成処理の概要を説明するためのフローチャート図である。図10において、検証項目作成部37は、状態遷移グラフ作成部32によって作成された状態遷移グラフで示される処理毎に値を割り振る(ステップS201)。例えば、通常処理に対して「001」、処理(α)に対して「010」、処理(β)に対して「100」の値を割り振る。   Verification item table creation processing performed by the verification item creation unit 37 will be described with reference to FIGS. 10, 11, and 12. FIG. 10 is a flowchart for explaining an overview of the verification item table creation process. In FIG. 10, the verification item creation unit 37 assigns a value for each process indicated by the state transition graph created by the state transition graph creation unit 32 (step S201). For example, “001” is assigned to the normal process, “010” is assigned to the process (α), and “100” is assigned to the process (β).

そして、検証項目作成部37は、状態遷移グラフの未選択の「状態」を一つ選択し(ステップS202)、選択できたか否かを判断する(ステップS203)。未選択の「状態」がなく選択できなかった場合、検証項目作成処理を終了する。   Then, the verification item creation unit 37 selects one unselected “state” in the state transition graph (step S202), and determines whether or not it has been selected (step S203). If there is no unselected “state” and the selection cannot be made, the verification item creation process ends.

一方、未選択の「状態」があり選択できた場合、その選択した「状態」を状態構造体32aとして持つ、未選択の矛盾情報構造体34aを矛盾情報保存部41から取得し(ステップS204)、未選択の矛盾情報構造体34aを取得できたか否かを判断する(ステップS205)。未選択の矛盾情報構造体34aがなく取得できなかった場合、検証項目作成部37は、ステップS207へと進む。   On the other hand, when there is an unselected “state” and it can be selected, an unselected contradiction information structure 34a having the selected “state” as the state structure 32a is acquired from the contradiction information storage unit 41 (step S204). Then, it is determined whether or not the unselected contradiction information structure 34a has been acquired (step S205). If there is no unselected contradiction information structure 34a and cannot be acquired, the verification item creation unit 37 proceeds to step S207.

一方、未選択の矛盾情報構造体34aが存在して取得できた場合、検証項目作成部37は、矛盾部検証項目作成部38によって図11で説明される矛盾情報構造体34aを用いた検証項目作成処理を実行する(ステップS206)。   On the other hand, if an unselected contradiction information structure 34a exists and can be acquired, the verification item creation unit 37 uses the contradiction information structure 34a described in FIG. A creation process is executed (step S206).

そして、検証項目作成部37は、ステップS202で選択した「状態」を始点とするエッジで未選択のものから一つ選択し(ステップS207)、選択できたか否かを判断する(ステップS208)。エッジは、状態遷移グラフにおいて状態から他の状態又は自身への状態遷移部分を意味し、リンク構造体32bで示される部分である。未選択のエッジがなく選択できなかった場合、検証項目作成部37は、ステップS202へと戻り、上記同様の処理を繰り返す。   Then, the verification item creation unit 37 selects one of the unselected edges starting from the “state” selected in step S202 (step S207), and determines whether or not it has been selected (step S208). An edge means a state transition portion from a state to another state or itself in the state transition graph, and is a portion indicated by a link structure 32b. If there is no unselected edge and the selection cannot be made, the verification item creation unit 37 returns to step S202 and repeats the same processing as described above.

一方、未選択エッジを選択できた場合、検証項目作成部37は、エッジ部検証項目作成部39によって図12で説明されるステップS207で選択したエッジに対する検証項目作成処理を実行して(ステップS209)、検証項目作成部37は、ステップS202へと戻り、上記同様の処理を繰り返す。ステップS209では、矛盾のないエッジに対して検証項目が作成される。   On the other hand, if an unselected edge can be selected, the verification item creation unit 37 executes verification item creation processing for the edge selected in step S207 described in FIG. 12 by the edge part verification item creation unit 39 (step S209). ) The verification item creation unit 37 returns to step S202 and repeats the same processing as described above. In step S209, verification items are created for edges with no contradiction.

図11は、図10のステップS206における矛盾部検証項目作成部による矛盾情報構造体を用いた検証項目作成処理を説明するためのフローチャート図である。図11において、矛盾部検証項目作成部38は、矛盾情報構造体34aからポイントされるリンク構造体32bから順に未選択のリンク構造体(A)を選択し、その選択したリンク構造体(A)と同一の状態を遷移元として持つリンク構造体(B)からその遷移条件がリンク構造体(A)の遷移条件を含む未選択のものを1つ選択して(ステップS221)、選択できたか否かを判断する(ステップS222)。リンク構造体(A)の遷移条件とリンク構造体(B)の遷移条件とが一致する場合も「遷移条件を含む」とする。   FIG. 11 is a flowchart for explaining verification item creation processing using the contradiction information structure by the contradiction portion verification item creation unit in step S206 of FIG. In FIG. 11, the contradiction part verification item creation unit 38 selects an unselected link structure (A) in order from the link structure 32b pointed to by the contradiction information structure 34a, and the selected link structure (A). Whether one of the transition structures having the same state as the transition source (B) whose transition condition includes the transition condition of the link structure (A) is selected from the link structure (B) (step S221). Is determined (step S222). Even when the transition condition of the link structure (A) matches the transition condition of the link structure (B), the transition condition is included.

未処理のリンク構造体(B)が存在し選択できた場合、矛盾部検証項目作成部38は、リンク構造体(A)について、その処理に割り振られた値と、それと矛盾するリンク構造体(B)の処理に割り振られた値の論理積を計算する(ステップS223)。   When an unprocessed link structure (B) exists and can be selected, the contradiction part verification item creation unit 38, for the link structure (A), a value assigned to the process and a link structure ( The logical product of the values assigned to the process of B) is calculated (step S223).

例えば、後述される図13に示される状態遷移グラフ61内の点線で示されるエッジ61pが矛盾情報構造体34aからポイントされるリンク構造体32bで示される矛盾となる遷移状態の1つである。状態Aからの状態遷移を示すエッジ61pは、「状態Aの時、マークBが入力されたら処理(β)を実行する」ことを示し、処理(β)を実行するため値「100」が割り振られている。エッジ61pには値「100」を反転させて値「011」を取得する。   For example, an edge 61p indicated by a dotted line in a state transition graph 61 shown in FIG. 13 described later is one of the inconsistent transition states indicated by the link structure 32b pointed from the contradiction information structure 34a. The edge 61p indicating the state transition from the state A indicates that “the process (β) is executed when the mark B is input in the state A”, and the value “100” is assigned to execute the process (β). It is. The value “011” is obtained by inverting the value “100” at the edge 61p.

一方、同一の状態Aからの他の状態遷移を示すエッジ61qは、「状態Aの時、A以外のマーク(マークB)が入力されたら処理(α)を実行する」ことを示し、処理(β)を実行するため値「010」が割り振られている。   On the other hand, an edge 61q indicating another state transition from the same state A indicates that “when state A is entered, a process (α) is executed when a mark (mark B) other than A is input”. The value “010” is assigned to execute β).

従って、値「011」と値「010」との論理積は、「010」となり非0(ゼロ)の値となる。その場合、検証項目の記述対象として考慮する。   Accordingly, the logical product of the value “011” and the value “010” is “010”, which is a non-zero value. In that case, it considers as a description object of a verification item.

矛盾部検証項目作成部38は、論理積の値が非0(ゼロ)であるか否かを判断する(ステップS224)。論理積の値が非0(ゼロ)である場合、矛盾部検証項目作成部38は、「使用しない」マーク(×)が付加されていないリンク構造体(エッジ)である、又は、「使用しない」マーク(×)及び「処理を実行しない」フラグ(黒丸)が付加されているリンク構造体(エッジ)である場合に、検証項目構造体37aを作成して記憶領域に保存し(ステップS225)、ステップS221へと進み、上記同様の処理を繰り返す。一方、論理積の値が0(ゼロ)である場合、矛盾部検証項目作成部38は、ステップS221へと進み、上記同様の処理を繰り返す。   The contradiction part verification item creation part 38 determines whether or not the value of the logical product is non-zero (zero) (step S224). When the logical product value is non-zero (zero), the contradiction part verification item creation unit 38 is a link structure (edge) to which the “not used” mark (×) is not added, or “not used”. In the case where the link structure (edge) is added with the “mark” (×) and the “do not execute” flag (black circle), the verification item structure 37a is created and stored in the storage area (step S225). Then, the process proceeds to step S221, and the same processing as described above is repeated. On the other hand, if the value of the logical product is 0 (zero), the contradiction part verification item creation part 38 proceeds to step S221 and repeats the same processing as described above.

検証項目構造体37aは、ポインタで関連付けられている状態構造体32aとリンク構造体32bとの組み合わせを特定する要素で構成される。例えば、検証項目構造体37aには、状態構造体32aへのポインタと、リンク構造体32bへのポインタなどが設定される。   The verification item structure 37a includes elements that specify a combination of the state structure 32a and the link structure 32b that are associated with each other by a pointer. For example, a pointer to the state structure 32a and a pointer to the link structure 32b are set in the verification item structure 37a.

一方、ステップS226において、矛盾部検証項目作成部38は、未処理のリンク構造体(B)が存在せず選択できなかった場合、記憶領域に保存されている検証項目構造体37aに基づいて検証項目を記述して検証項目ファイル37fに出力し(ステップS226)、矛盾情報構造体を用いた検証項目作成処理を終了する。検証項目の記述後、記憶領域に保存されている検証項目構造体37aを削除しておく。   On the other hand, in step S226, if the unprocessed link structure (B) does not exist and cannot be selected, the contradiction part verification item creation unit 38 verifies based on the verification item structure 37a stored in the storage area. The items are described and output to the verification item file 37f (step S226), and the verification item creation process using the contradiction information structure is terminated. After the verification item is described, the verification item structure 37a stored in the storage area is deleted.

ステップS226において、検証項目は、例えば下記の記述形式で書き出される。( )内に検証項目構造体37fから取得した値が書き込まれる。   In step S226, the verification item is written in the following description format, for example. A value acquired from the verification item structure 37f is written in ().

「処理を実行しない」フラグが付加されていない場合、『(状態名)時、(遷移条件)入力、(処理内容)すること』と記述する。一方、「処理を実行しない」フラグが付加されている場合、『(状態名)時、(遷移条件)入力、(処理内容)しないこと』と記述する。このように記述することによって、元々矛盾すると判断された状態遷移グラフ中のエッジに対して、処理していることを確認するのか、処理してはいけないことを確認するのかを明示的に検査項目として示すことができる。   When the “do not execute process” flag is not added, “input (transition condition) and (process content) when (state name)” is described. On the other hand, when the “do not execute processing” flag is added, “input (transition condition) when (state name), (do not process)” is described. By describing in this way, it is explicitly checked whether to check whether it is processed or not to be processed for the edge in the state transition graph that was originally determined to be inconsistent Can be shown as

図12は、図10のステップS209におけるエッジ部検証項目作成部39による矛盾のないエッジに対する検証項目作成処理を説明するためのフローチャート図である。図12において、エッジ部検証項目作成部39は、図10のステップS202で選択した「状態」を示す状態構造体32aと、ステップS207で選択した「エッジ」を示すリンク構造体32bとに基づいて、検証項目構造体37fを作成して記憶領域に格納する(ステップS241)。   FIG. 12 is a flowchart for explaining verification item creation processing for consistent edges by the edge portion verification item creation unit 39 in step S209 of FIG. In FIG. 12, the edge verification item creation unit 39 is based on the state structure 32a indicating the “state” selected in step S202 of FIG. 10 and the link structure 32b indicating the “edge” selected in step S207. Then, the verification item structure 37f is created and stored in the storage area (step S241).

エッジ部検証項目作成部39は、記憶領域に保存されている検証項目構造体37aに基づいて検証項目を記述して検証項目ファイル37fに出力し(ステップS243)、矛盾のないエッジに対する検証項目作成処理を終了する。   The edge verification item creation unit 39 describes the verification items based on the verification item structure 37a stored in the storage area and outputs the verification items to the verification item file 37f (step S243). End the process.

ステップS243において、検証項目は、例えば『(状態名)時、(遷移条件)入力、(処理内容)すること』の記述形式で書き出される。( )内に検証項目構造体37fから取得した値が書き込まれる。   In step S243, the verification item is written in a description format, for example, “when (state name), (transition condition) input, (processing content)”. A value acquired from the verification item structure 37f is written in ().

図13は、矛盾を含む状態遷移グラフから作成される検証項目の記述例を示す図である。図13において、状態遷移グラフ61は、図8の状態遷移グラフ53に含まれる矛盾58及び59が検証技術者2によって修正された状態を示している。従って、状態遷移グラフ61において、矛盾58として検出されたエッジ61mと、矛盾59として検出されたエッジ61pとには「使用しない」マーク(×)が付与されている。また、検証技術者2によって、エッジ61aが追加されている。更に、検証項目作成部37によって「処理を実行しない」フラグ(黒丸)が矛盾59として検出されたエッジ61pに付与されている。   FIG. 13 is a diagram illustrating a description example of verification items created from the state transition graph including contradiction. In FIG. 13, a state transition graph 61 shows a state in which the contradictions 58 and 59 included in the state transition graph 53 of FIG. 8 are corrected by the verification engineer 2. Therefore, in the state transition graph 61, the “not used” mark (×) is given to the edge 61m detected as the contradiction 58 and the edge 61p detected as the contradiction 59. In addition, an edge 61 a is added by the verification engineer 2. Further, the “do not execute processing” flag (black circle) is given to the edge 61 p detected as the contradiction 59 by the verification item creation unit 37.

このような状態遷移グラフ61に基づく検証項目は、検証項目ファイル37fに書き出され、例えば、エッジ61aに対して検証項目『通常処理時、マークA以外かつマークB以外入力、通常処理を実行すること』が記述され、エッジ61nに対して検証項目『通常処理時、マークB入力、処理(β)を実行すること』が記述され、エッジ61cに対して検証項目『マークA入力、処理(α)を実行し、状態Aに遷移すること』が記述され、エッジ61qに対して検証項目『状態A時、マークA以外入力、処理(α)を実行すること』が記述され、エッジ61pに対して検証項目『状態A時、マークB入力、処理(β)を実行しないこと』が記述され、エッジ61eに対して検証項目『状態A時、マークA入力、処理(α)を実行し、通常処理状態に遷移すること』が記述される。   Such verification items based on the state transition graph 61 are written in the verification item file 37f. For example, the verification item “input other than mark A and other than mark B during normal processing and normal processing is executed for the edge 61a. ”Is described, the verification item“ execute mark B input and processing (β) during normal processing ”is described for the edge 61n, and the verification item“ mark A input and processing (α) is performed for the edge 61c. ) And transition to the state A ”is described, and the verification item“ execution of input other than the mark A in state A, processing (α) ”is described for the edge 61q. The verification item “in the state A, the mark B input and processing (β) is not executed” is described, and the verification item “in the state A, the mark A input and the processing (α) is executed. Processing "Transition to state" is described.

ここで、エッジ61pは検証技術者2よる修正によって使用しないことになっているが、『状態A時、マークB入力、処理(β)を実行しないこと』と記述されることによって明示的に示されることにより、より確実な検証を行なうことができる。   Here, the edge 61p is not used due to the modification by the verification engineer 2, but it is explicitly indicated by the description that “the mark B is input and the process (β) is not executed in the state A”. As a result, more reliable verification can be performed.

上述したように、本実施例では、一般的に、規格や使用を理解する際、間違った解釈をすることが多い箇所に論理障害が多くなるため、論理検証支援システム100ではあえて矛盾した仕様を受け付けて、矛盾を指摘すると共に、論理検証の際に注意すべき点であるとしてその矛盾した箇所の情報を全て保存する。   As described above, in this embodiment, in general, when understanding the standard and use, logic faults increase in places that are often misinterpreted. Therefore, the logic verification support system 100 has inconsistent specifications. Accept and point out the contradiction, and save all the information of the contradicted part as a point to be noted in the logic verification.

指摘を受けた検証技術者2により最終的に矛盾のない仕様書記述データ10aを得た場合であっても、それまでに保存しておいた矛盾内容と、状態遷移グラフを生成するために元になる状態構造体32aとリンク構造体32bと矛盾情報構造体34aとを用いて、検証項目を記述する。   Even when the specification description data 10a finally having no contradiction is obtained by the verification engineer 2 who has received the indication, in order to generate the state transition graph and the content of the contradiction previously saved, The verification item is described using the state structure 32a, the link structure 32b, and the contradiction information structure 34a.

検証技術者は、検証項目ファイル37fに基づいて論理検証用のテストパターンを作成し、テストパターンを含むテストデータ80aが出力される。テストデータ80aを用いて論理シミュレーションを実行し、その実行結果からそれぞれの検証項目に従って期待された動作と一致したかを確認する。   The verification engineer creates a test pattern for logic verification based on the verification item file 37f and outputs test data 80a including the test pattern. A logic simulation is executed using the test data 80a, and it is confirmed from the execution result whether the expected operation is consistent with each verification item.

上述した実施例において、使用記述解析方法(Parserの実現方法)、状態遷移グラフの生成については、例えば、「C−データ構造とプログラム−」、Leendert Ammerral、オーム社、1990年、及び、"Lex & Yacc"、J.R.Levine、Oreilly Associates Inc.、1992年を参照すればよい。   In the embodiment described above, for example, “C-data structure and program”, Leendert Ammerral, Ohm, 1990, and “Lex” are used for the usage description analysis method (Parser implementation method) and the state transition graph generation. & Yacc ", JRLevine, Oreilly Associates Inc., 1992.

以上の説明に関し、更に以下の項を開示する。
(付記1)
論理回路を検証するための検証項目を作成する論理検証支援システムであって、
前記論理回路の動作における該論理回路の状態を示す状態情報毎に、遷移元状態から遷移先状態の遷移を示す状態遷移情報によって示される遷移条件が他状態遷移情報の遷移条件に含まれる場合に矛盾箇所として抽出する矛盾抽出手段を有することを特徴とする論理検証支援システム。
(付記2)
前記矛盾抽出手段は、前記矛盾箇所となった前記状態情報と前記状態遷移情報とを矛盾情報を用いて矛盾項目を作成して検証技術者へ通知することを特徴とする付記1記載の論理検証支援システム。
(付記3)
前記矛盾抽出手段は、前記矛盾箇所となった前記状態情報と前記状態遷移情報とを矛盾項目情報として矛盾情報保存領域に保存することを特徴とする付記1又は2記載の論理検証支援システム。
(付記4)
前記矛盾抽出手段によって抽出された前記矛盾箇所を含めて前記状態情報と前記状態遷移情報とを用いて検証項目を作成する検証項目作成手段を有することを特徴とする付記1記載の論理検証支援システム。
(付記5)
前記論理回路の動作を規定する仕様記述データに従って、状態遷移グラフ作成に係る前記状態情報と前記遷移条件情報とを作成すると共に、該仕様記述データの修正によって使用しなくなった状態情報と遷移条件情報とに使用しないマークを付加して削除することなく保存する状態遷移グラフ作成手段を有することを特徴とする付記4項記載の論理検証支援システム。
(付記6)
前記検証項目作成手段は、前記使用しないマークが付加されている前記状態遷移情報で示される処理を実行しないと判断した場合、該状態遷移情報に処理を実行しないフラグを付加することを特徴とする付記5記載の論理検証支援システム。
(付記7)
前記検証項目作成手段は、前記使用しないマーク及び前記処理を実行しないフラグが付加されている状態遷移情報に対して、該状態遷移情報で示される処理が実行されないことを明示的に示す検証項目を作成することを特徴とする付記6記載の論理検証支援システム。
(付記8)
前記検証項目作成手段は、
前記矛盾箇所に係る前記状態情報と前記状態遷移情報とを用いて該矛盾箇所に関して検証すべき第一検証項目を作成する第一検証項目作成手段と、
前記矛盾が検出されない前記状態情報と前記状態遷移情報とを用いて検証すべき第二検証項目を作成する第二検証項目作成手段とを有することを特徴とする付記4乃至8のいずれか一項記載の論理検証支援システム。
(付記9)
コンピュータが論理回路を検証するための検証項目を作成する論理検証支援方法であって、該コンピュータに、
前記論理回路の動作における該論理回路の状態を示す状態情報毎に、遷移元状態から遷移先状態の遷移を示す状態遷移情報によって示される遷移条件が他状態遷移情報の遷移条件に含まれる場合に矛盾箇所として抽出する矛盾抽出手順を実行させることを特徴とする論理検証支援方法。
(付記10)
論理回路を検証するための検証項目を作成する論理検証支援処理をコンピュータに実行させるプログラムであって、該コンピュータに、
前記論理回路の動作における該論理回路の状態を示す状態情報毎に、遷移元状態から遷移先状態の遷移を示す状態遷移情報によって示される遷移条件が他状態遷移情報の遷移条件に含まれる場合に矛盾箇所として抽出する矛盾抽出手順を実行させることを特徴とする論理検証支援方法。
Regarding the above description, the following items are further disclosed.
(Appendix 1)
A logic verification support system for creating a verification item for verifying a logic circuit,
When the transition condition indicated by the state transition information indicating the transition from the transition source state to the transition destination state is included in the transition condition of the other state transition information for each state information indicating the state of the logic circuit in the operation of the logic circuit A logic verification support system having a contradiction extraction means for extracting as a contradiction portion.
(Appendix 2)
The logic verification according to appendix 1, wherein the contradiction extraction means creates a contradiction item using the contradiction information and notifies the verification engineer the state information and the state transition information that have become the contradiction part. Support system.
(Appendix 3)
3. The logic verification support system according to appendix 1 or 2, wherein the contradiction extraction unit stores the state information and the state transition information as the contradiction portion in a contradiction information storage area as contradiction item information.
(Appendix 4)
The logic verification support system according to claim 1, further comprising verification item creation means for creating a verification item using the state information and the state transition information including the contradiction part extracted by the contradiction extraction means. .
(Appendix 5)
In accordance with the specification description data that defines the operation of the logic circuit, the state information and the transition condition information related to the creation of the state transition graph are created, and the state information and the transition condition information that are no longer used due to the modification of the specification description data The logic verification support system according to claim 4, further comprising state transition graph creation means for adding a mark that is not used to and storing the mark without deleting it.
(Appendix 6)
The verification item creation means adds a flag that does not execute the process to the state transition information when it is determined that the process indicated by the state transition information to which the unused mark is added is not executed. The logic verification support system according to appendix 5.
(Appendix 7)
The verification item creation means includes a verification item that explicitly indicates that the process indicated by the state transition information is not executed for the state transition information to which the unused mark and the flag that does not execute the process are added. The logic verification support system according to appendix 6, which is created.
(Appendix 8)
The verification item creation means includes:
First verification item creating means for creating a first verification item to be verified with respect to the contradictory portion using the state information and the state transition information relating to the contradictory portion;
Any one of appendixes 4 to 8, further comprising second verification item creating means for creating a second verification item to be verified using the state information and the state transition information in which the contradiction is not detected. The described logic verification support system.
(Appendix 9)
A logic verification support method for creating a verification item for a computer to verify a logic circuit, the computer comprising:
When the transition condition indicated by the state transition information indicating the transition from the transition source state to the transition destination state is included in the transition condition of the other state transition information for each state information indicating the state of the logic circuit in the operation of the logic circuit A logic verification support method characterized by executing a contradiction extraction procedure for extracting as a contradiction portion.
(Appendix 10)
A program for causing a computer to execute a logic verification support process for creating a verification item for verifying a logic circuit,
When the transition condition indicated by the state transition information indicating the transition from the transition source state to the transition destination state is included in the transition condition of the other state transition information for each state information indicating the state of the logic circuit in the operation of the logic circuit A logic verification support method characterized by executing a contradiction extraction procedure for extracting as a contradiction portion.

従来の検証項目作成方法を説明するための図である。It is a figure for demonstrating the conventional verification item creation method. 本発明の一実施例に係る論理検証システムの機能構成を示す図である。It is a figure which shows the function structure of the logic verification system which concerns on one Example of this invention. 本発明の一実施例に係る論理検証支援システムを実現するコンピュータ装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the computer apparatus which implement | achieves the logic verification assistance system which concerns on one Example of this invention. 仕様記述データの例を示す図である。It is a figure which shows the example of specification description data. 状態遷移グラフ作成処理を説明するためのフローチャート図である。It is a flowchart figure for demonstrating a state transition graph creation process. 矛盾抽出処理を説明するためのフローチャート図である。It is a flowchart for demonstrating a contradiction extraction process. 矛盾情報保存部の例を示す図である。It is a figure which shows the example of a contradiction information storage part. 矛盾項目抽出までの過程を示す図である。It is a figure which shows the process until contradictory item extraction. 検証項目作成処理を説明するためのフローチャート図である。It is a flowchart figure for demonstrating a verification item creation process. 検証項目表作成処理の概要を説明するためのフローチャート図である。It is a flowchart figure for demonstrating the outline | summary of a verification item table | surface preparation process. 図10のステップS206における矛盾部検証項目作成部による矛盾情報構造体を用いた検証項目作成処理を説明するためのフローチャート図である。FIG. 11 is a flowchart for explaining verification item creation processing using a contradiction information structure by a contradiction portion verification item creation unit in step S206 of FIG. 図10のステップS209におけるエッジ部検証項目作成部39による矛盾のないエッジに対する検証項目作成処理を説明するためのフローチャート図である。FIG. 11 is a flowchart for explaining a verification item creation process for edges with no contradiction by the edge verification item creation unit 39 in step S209 of FIG. 10. 矛盾を含む状態遷移グラフから作成される検証項目の記述例を示す図である。It is a figure which shows the example of a description of the verification item produced from the state transition graph containing a contradiction.

符号の説明Explanation of symbols

2 検証技術者
10 仕様記述作成部
10a 仕様記述データ
11 CPU
12 メモリユニット
13 表示ユニット
14 出力ユニット
15 入力ユニット
16 通信ユニット
17 記憶装置
18 ドライバ
19 記憶媒体
20 LSI
30 検証項目抽出部
31 仕様記述解析部
31a 状態リスト
31b 入力データリスト
32 状態遷移グラフ作成部
32a 状態構造体
32b リンク構造体
34 矛盾抽出部
34f 仕様矛盾項目ファイル
35 矛盾情報作成部
37 検証項目作成部
37a 検証項目構造体
37f 検証項目ファイル
38 矛盾部検証項目作成部
39 エッジ部検証項目作成部
80 テストデータ作成部
80a テストデータ
90 論理シミュレータ
2 Verification Engineer 10 Specification Description Creation Unit 10a Specification Description Data 11 CPU
12 memory unit 13 display unit 14 output unit 15 input unit 16 communication unit 17 storage device 18 driver 19 storage medium 20 LSI
DESCRIPTION OF SYMBOLS 30 Verification item extraction part 31 Specification description analysis part 31a State list 31b Input data list 32 State transition graph creation part 32a State structure 32b Link structure 34 Contradiction extraction part 34f Specification contradiction item file 35 Contradiction information creation part 37 Verification item creation part 37a Verification item structure 37f Verification item file 38 Contradictory part verification item creation part 39 Edge part verification item creation part 80 Test data creation part 80a Test data 90 Logic simulator

Claims (5)

論理回路を検証するための検証項目を作成する論理検証支援システムであって、
前記論理回路の動作における該論理回路の状態を示す状態情報毎に、遷移元状態から遷移先状態の遷移を示す状態遷移情報によって示される遷移条件が他状態遷移情報の遷移条件に含まれる場合に矛盾箇所として抽出する矛盾抽出手段を有することを特徴とする論理検証支援システム。
A logic verification support system for creating a verification item for verifying a logic circuit,
When the transition condition indicated by the state transition information indicating the transition from the transition source state to the transition destination state is included in the transition condition of the other state transition information for each state information indicating the state of the logic circuit in the operation of the logic circuit A logic verification support system having a contradiction extraction means for extracting as a contradiction portion.
前記矛盾抽出手段は、前記矛盾箇所となった前記状態情報と前記状態遷移情報とを矛盾情報を用いて矛盾項目を作成して検証技術者へ通知することを特徴とする請求項1記載の論理検証支援システム。   The logic according to claim 1, wherein the contradiction extraction unit creates a contradiction item using the contradiction information for the state information and the state transition information which are the contradiction part, and notifies a verification engineer of the logic. Verification support system. 前記矛盾抽出手段によって抽出された前記矛盾箇所を含めて前記状態情報と前記状態遷移情報とを用いて検証項目を作成する検証項目作成手段を有することを特徴とする請求項1記載の論理検証支援システム。   2. The logic verification support according to claim 1, further comprising verification item creation means for creating a verification item using the state information and the state transition information including the inconsistency extracted by the contradiction extraction means. system. 前記論理回路の動作を規定する仕様記述データに従って、状態遷移グラフ作成に係る前記状態情報と前記遷移条件情報とを作成すると共に、該仕様記述データの修正によって使用しなくなった状態情報と遷移条件情報とに使用しないマークを付加して削除することなく保存する状態遷移グラフ作成手段を有することを特徴とする請求項3項記載の論理検証支援システム。   According to the specification description data defining the operation of the logic circuit, the state information and the transition condition information relating to the state transition graph creation are created, and the state information and the transition condition information that are no longer used due to the modification of the specification description data 4. The logic verification support system according to claim 3, further comprising state transition graph creation means for adding and saving a mark that is not used for the data without deleting it. 前記検証項目作成手段は、前記使用しないマークが付加されている前記状態遷移情報で示される処理を実行しないと判断した場合、該状態遷移情報に処理を実行しないフラグを付加することを特徴とする請求項4記載の論理検証支援システム。   The verification item creation means adds a flag that does not execute processing to the state transition information when it is determined that the processing indicated by the state transition information to which the unused mark is added is not executed. The logic verification support system according to claim 4.
JP2007042496A 2007-02-22 2007-02-22 Logic verification support system Withdrawn JP2008204371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007042496A JP2008204371A (en) 2007-02-22 2007-02-22 Logic verification support system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007042496A JP2008204371A (en) 2007-02-22 2007-02-22 Logic verification support system

Publications (1)

Publication Number Publication Date
JP2008204371A true JP2008204371A (en) 2008-09-04

Family

ID=39781780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007042496A Withdrawn JP2008204371A (en) 2007-02-22 2007-02-22 Logic verification support system

Country Status (1)

Country Link
JP (1) JP2008204371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013206033A (en) * 2012-03-28 2013-10-07 Fujitsu Semiconductor Ltd Information processing apparatus, information processing method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013206033A (en) * 2012-03-28 2013-10-07 Fujitsu Semiconductor Ltd Information processing apparatus, information processing method and program

Similar Documents

Publication Publication Date Title
JP2007323573A (en) Functional test script generator
KR20010098414A (en) Mechanism for automated, generic application damage detection and repair in strongly encapsulated applications
US7408556B2 (en) System and method for using device dependent fonts in a graphical display interface
JP2003006255A (en) Hdl automatic correction device and hdl automatic correction program and computer readable storage medium recording the program therefor
US20100037209A1 (en) Source program review program, source program review method, and source program review device
US8707270B2 (en) Method and system for configurable pessimistic static XSL output validation
US20060206808A1 (en) System, method, and computer program product for transformation of markup-language objects
JP2006106865A (en) Logic circuit design verifying device and method and program
US20050193360A1 (en) Circuit design support system, circuit design support method, and program
JP2006350420A (en) Device for testing rule file for layout verification and test method and test program
US20060123028A1 (en) Method and apparatus for defining and instrumenting reusable Java server page code snippets for website testing and production
JP2008204371A (en) Logic verification support system
US8423913B1 (en) Methods and apparatus to display style-related information
JP2005276040A (en) Degrade confirming examining method and system, and program for the same
JP7050587B2 (en) Violation dependency detector and violation dependency detector
JP2009157649A (en) Instruction check program, instruction check method, instruction check apparatus, and i/o simulator
JP3941336B2 (en) Logic circuit verification device
US20150199183A1 (en) Program analysis apparatus and program analysis method
US6789234B2 (en) Method and system for a timing based logic entry
CN110709814A (en) Program code generation device and program code generation program
JP2009181180A (en) Inspection program, inspection method, and inspection device of program creating tool
JPH10312313A (en) Method for inspecting computer program of c language and program storage medium
JP5899711B2 (en) Data flow verification support apparatus and data flow verification support method
JP2001222565A (en) System and method for verifying hardware description
JP2009276911A (en) Software asset reuse support program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080729

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091006

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20101201