JPH0341565A - Method for verifying function of logical circuit - Google Patents

Method for verifying function of logical circuit

Info

Publication number
JPH0341565A
JPH0341565A JP1177507A JP17750789A JPH0341565A JP H0341565 A JPH0341565 A JP H0341565A JP 1177507 A JP1177507 A JP 1177507A JP 17750789 A JP17750789 A JP 17750789A JP H0341565 A JPH0341565 A JP H0341565A
Authority
JP
Japan
Prior art keywords
verification
state
execution state
function
verification execution
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
JP1177507A
Other languages
Japanese (ja)
Inventor
Shuji Miyasaka
修二 宮阪
Satoshi Igawa
井川 智
Kaoru Okazaki
岡崎 薫
Takafumi Nakashiba
中柴 孝文
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1177507A priority Critical patent/JPH0341565A/en
Publication of JPH0341565A publication Critical patent/JPH0341565A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To easily grasp an unverified state after executing simulation by inspecting whether a state requiring verification is generated in the simulation or not and displaying the unverified state after ending the simulation. CONSTITUTION:The function of a logical circuit is described by using function symbols stored in an inspection item registered function symbol library and registered in a function description registering means 12. A verification executing state storing means 15 sets up verification executing state flags for respective verification items to the OFF states and stores the set flags, and when a state requiring verification is generated, a verification executing state testing means 14 sets up a verification executing state flag to ON. An unverified item display means 16 verifys the verification executing state flag stored in the means 15 and displays the verification item whose verification executing state flag is ON. Consequently, the unverified state can easily be grasped.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、シミュレータを用いた論理回路の機能検証方
法に関し、特に、Ja能検証において入力検証バタンか
機能検証すべき検証項目の全てを検証したか否かを容易
に判定でき、かつまた機能検証すべき検証項目の中で検
証していない検証項目がある場合未検証の内容を容易に
把握できるような論理回路の機能検証方法である。
[Detailed Description of the Invention] Industrial Field of Application The present invention relates to a method for verifying the function of a logic circuit using a simulator, and in particular, in Ja function verification, whether or not all of the verification items to be functionally verified have been verified. This is a functional verification method for a logic circuit that can easily determine whether or not the function has been verified, and if there is a verification item that has not been verified among the verification items that should be functionally verified, the unverified content can be easily grasped.

従来の技術 近年、論理回路の機能検証方法は論理回路の機能を、論
理素子あるいは機能素子の接続関係を図的に表現する図
的言語、あるいはハードウェア記述言語と言われる高級
言語によって記述し、検証バタンを上記記述に入力する
ことによって、シミュレーションを実行するという方法
で行なわれており、シミュレーションの出力値と期待値
とが一致したか否かによって機能検証結果の合否を判定
するという方法で行なわれている。
BACKGROUND OF THE INVENTION In recent years, functional verification methods for logic circuits have been developed to describe the functions of logic circuits using a graphical language that graphically expresses the connections between logic elements or functional elements, or a high-level language called a hardware description language. This is done in a way that a simulation is executed by inputting a verification button into the above description, and the pass/fail of the functional verification result is determined based on whether the output value of the simulation matches the expected value. It is.

発明が解決しようとする課題 しかしながら、上記のような方法では、入力検証バタン
か論理回路の機能の検証すべき内容の全てを検証してい
るか否かは容易には判断がつかず、検証すべき内容の中
で検証していない内容がある場合でも人出力関係が期待
どうりになっていれは論理回路の全てが正しく機能設計
されていると言うような誤解が生しると言う課題を有し
ている。
Problems to be Solved by the Invention However, with the above method, it is not easy to judge whether all the contents of the input verification button or logic circuit functions that should be verified are verified. Even if some of the content has not been verified, the problem is that if the human output relationship is as expected, a misunderstanding may occur, such as thinking that all the logic circuits are functionally designed correctly. are doing.

本発明は、上記課題に鑑み、論理回路の機能の記述に際
して検証するべき状態があらかじめ登録されている機能
シンボルを用いて論理回路の機能を記述し、シミュレー
ション中に上記検証するべき状態が発生したか否かを検
査し、シミュレーション終了後に検証するべき状態の中
で未検証の状態を表示することによって、シミュレーシ
ョンに用いた検証バタンか検証するべき状態の全てを検
証したか否かを容易に判定でき、しかも未検証の箇所と
未検証の状態を容易に把握できる論理回路の機能検証方
法を提供するものである。
In view of the above problems, the present invention describes the function of a logic circuit using a function symbol in which a state to be verified is registered in advance when describing the function of a logic circuit, and when the state to be verified occurs during simulation. By checking whether or not the verification button used in the simulation and displaying unverified states among the states that should be verified after the simulation ends, it is easy to determine whether all of the verification buttons used in the simulation and the states that should be verified have been verified. The purpose of the present invention is to provide a method for verifying the function of a logic circuit, which can easily identify unverified parts and unverified states.

課題を解決するための手段 上記課題を解決するために本発明の論理回路の機能検証
方法は、シミュレータを備えた論理回路の機能検証方法
において、検証するべき状態があらかしめ検証項目とし
て登録されている機能シンボル・を登録した検証項目登
録済み機能シンボルライブラリと、検証項目登録済み機
能シンボルライブラリ中の機能シンボルを用いて論理回
路の機能を記述し登録する機能記述登録手段と、シQ 
1レ一シヨン実行時に登録された検証するべき状態が発
生した場合、状態ごとに設定される検証実行状態フラグ
をオンにセットする検証実行状態検査手段と、検証実行
状態フラグの状態を記憶する検証実行状態記憶手段と、
シミュレーション終了後に検証実行状態記憶手段の検証
実行状態フラグがオフである検証項目を表示する未検証
項目表示手段とを備えたものである。
Means for Solving the Problems In order to solve the above problems, the present invention provides a method for verifying functions of a logic circuit that includes a simulator, in which a state to be verified is registered as a preliminary verification item. a function symbol library with verification items registered in which function symbols are registered; a function description registration means for describing and registering the function of a logic circuit using the function symbols in the function symbol library with verification items registered;
When a registered state to be verified occurs during execution of one revolution, a verification execution state check means that turns on a verification execution state flag set for each state, and a verification means that stores the state of the verification execution state flag. Execution state storage means;
and unverified item display means for displaying verification items for which the verification execution state flag of the verification execution state storage means is off after the simulation ends.

作用 本発明は上記した構成によって、まず、検証するべき状
態があらかじめ検証項目として登録されている機能シン
ボルを登録した検証項目登録済み機能シンボルライブラ
リ中の機能シンボルを用いて論理回路の機能を記述し機
能記述登録手段に登録する。検証実行状態記憶手段では
、各検証項目に対して項目に該当する状態が発生した場
合にオン状態にセットされる検証実行状態フラグをオフ
状態にセットし記憶し、機能記述登録手段の機能の記述
をシミュレータに入力しシミュレーションを実行する。
Operation With the above-described configuration, the present invention first describes the function of a logic circuit using function symbols in a verification item registered functional symbol library in which functional symbols whose states to be verified are registered in advance as verification items are registered. Register in the function description registration means. The verification execution state storage means sets and stores the verification execution state flag, which is set to the on state when a state corresponding to the item occurs for each verification item, to the off state, and stores the function description in the function description registration means. Input into the simulator and run the simulation.

検証実行状態検査手段では、機能シンボルの状態をシミ
ュレータから入力し、機能シンボルの状態と機能シンボ
ルに対する検証するべき状態とを比較し、検証するべき
状態が発生した場合、検証実行状態フラグをオンにし、
検証実行状態記憶手段で検証実行状態フラグの状態を記
憶する。未検証項目表示手段では、検証実行状態記憶手
段で記憶されている検証実行状態フラグを検査し、検証
実行状態フラグがオフである検証項目を表示することに
よってシミュレーションに用いた検証バタンか検証する
べき状態の全てを検証したか否かを容易に判定でき、し
かも未検証の状態を容易に把握することができる。
The verification execution state checking means inputs the state of the functional symbol from the simulator, compares the state of the functional symbol with the state to be verified for the functional symbol, and turns on the verification execution state flag when a state to be verified occurs. ,
The state of the verification execution state flag is stored in the verification execution state storage means. The unverified item display means checks the verification execution state flag stored in the verification execution state storage means, and displays verification items whose verification execution state flags are off, thereby verifying whether the verification button used in the simulation is correct or not. It is possible to easily determine whether or not all states have been verified, and it is also possible to easily grasp unverified states.

実施例 以下、本発明の一実施例の論理回路の機能検証方法につ
いて、図面を参照しながら説明する。
Embodiment Hereinafter, a method for verifying the function of a logic circuit according to an embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明の第1の実施例における論理回路の機
能検証方法の構成図である。
FIG. 1 is a block diagram of a method for verifying functions of a logic circuit according to a first embodiment of the present invention.

第1図において、11は検証するべき状態があらかじめ
検証項目として登録されている機能シンボルを登録した
検証項目登録済み機能シンボルライブラリ、12は被検
証論理回路の機能を検証項目登録済み機能シンボルライ
ブラリ中の機能シンボルを用いて記述し登録する機能記
述登録手段、13は機能記述を入力しシミュレーション
を実行するシミュレータ、14は検証項目登録手段に登
録された任意の機能シンボルに対する検証すべき状態、
シミュレーション実行時における該当する機能シンボル
の状態とを比較し検証すべき状態が発生したか否かを検
査し検証すべき状態が発生した場合、状態ごとに設定さ
れる検証実行状態フラグをオンにセットする検証実行状
態検査手段、15は検証実行状態フラグの状態を記憶す
る検証実行状態記憶手段、16はシミュレーション終了
後に、検証実行状態記憶手段の検証実行状態フラグがオ
フである検証項目を表示する未検証項目表示手段である
In FIG. 1, reference numeral 11 indicates a verification item registered functional symbol library in which functional symbols whose states to be verified are registered in advance as verification items are registered, and 12 indicates a verification item registered functional symbol library in which functions of the logic circuit to be verified are registered. 13 is a simulator that inputs the functional description and executes the simulation; 14 is a state to be verified for any functional symbol registered in the verification item registration means;
Compare the state of the corresponding function symbol during simulation execution to check whether a state to be verified has occurred, and if a state to be verified has occurred, set the verification execution state flag set for each state to on. 15 is a verification execution state storage means for storing the state of the verification execution state flag; 16 is a verification execution state storage means for displaying the verification items for which the verification execution state flag of the verification execution state storage means is OFF after the simulation is finished; This is a verification item display means.

以上のように構成された論理回路の機能検証方法につい
て、以下、第1図、第2図、第3図、第4図、第5図、
第6図及び第7図を用いてその動作を説明する。
The functional verification method for the logic circuit configured as described above will be explained below in Figs. 1, 2, 3, 4, and 5.
The operation will be explained using FIGS. 6 and 7.

まず、第2図は機能記述登録手段12に対する機能記述
の登録例である。 31.33はフリップフロップ、3
2は加算器、34は定数倍器である。検証項目登録済み
機能シンボルライブラリll中の機能シンボルを用いた
図的言語によって論理回路の機能が記述され登録されて
いる。第3図ばあらかしめ登録されている検証項目の一
例として第2図中のシンボル1に対する検証項目である
First, FIG. 2 shows an example of registering a function description in the function description registration means 12. 31.33 is a flip-flop, 3
2 is an adder, and 34 is a constant multiplier. The functions of the logic circuit are described and registered in a graphical language using functional symbols in the verification item registered functional symbol library II. FIG. 3 shows a verification item for symbol 1 in FIG. 2 as an example of a verification item that is registered.

第3図の様に登録された検証すべき状態を定義した記述
は、検証実行状態記憶手段15に入力され、検証実行状
態記憶手段15では、検証するべき各状態に対して検証
するべき状態が発生した場合にオン状態にセットされる
検証実行状態フラグを設け、検証実行状態フラグの状態
を初期状態としてオフに設定し記憶する。例えば、第3
図に対する検証実行状態記憶手段15の初期状態として
は第4図に示す様な状態である。
The description defining the states to be verified registered as shown in FIG. A verification execution state flag is provided which is set to an on state when the verification execution state flag occurs, and the state of the verification execution state flag is set to off as an initial state and is stored. For example, the third
The initial state of the verification execution state storage means 15 for the figure is as shown in FIG.

機能記述登録手段12に第2図のように登録された機能
記述は、シミュレータ13に入力され、シミュレーショ
ンが実行される。検証実行状態検査手段14では、機能
シンボルのシミュレーション実行時の状態を逐次シミュ
レータから取り込み、検証実行状態フラグがオフである
ところの検証項目と比較し検証すべき状態の発生の有無
を検出する。
The functional description registered in the functional description registration means 12 as shown in FIG. 2 is input to the simulator 13, and a simulation is executed. The verification execution state checking means 14 sequentially fetches the state of the functional symbol at the time of simulation execution from the simulator, and compares it with verification items for which the verification execution state flag is off to detect whether a state to be verified has occurred.

検証すべき状態が発生した場合、該当する検証実行状態
フラグをオンにセットし検証実行状態記憶手段15で検
証実行状態フラグの状態を記憶する。
When a state to be verified occurs, the corresponding verification execution state flag is set on, and the state of the verification execution state flag is stored in the verification execution state storage means 15.

例えば、第3図に対するシミュレーション実行時の誤動
作検出手段14の動作としては、初期状態では検証実行
状態フラグは全てオフであるので、第3図中の全ての状
態と比較し、一致したものについては検証実行状態フラ
グをオンに設定する。検証実行状態記憶手段15では検
証実行状態フラグを記憶する。例えば、初期状態から1
回目のTERlとTER2のイベント発生時に、TER
1が11TER2が0の場合検証実行状態記憶手段15
の状態としては第5図に示す様な状態となる。
For example, regarding the operation of the malfunction detection means 14 when executing the simulation for FIG. 3, since all the verification execution state flags are off in the initial state, it is compared with all the states in FIG. 3, and those that match are detected. Set the verification execution status flag to on. The verification execution state storage means 15 stores a verification execution state flag. For example, from the initial state 1
When the TER1 and TER2 events occur, TER
1 is 11 When TER2 is 0 Verification execution state storage means 15
The state is as shown in FIG.

次のTER1とTER2のイベント発生時では、TER
1とTER2の状態を検査し、第5図中の検証実行状態
フラグがオフである状態と比較し、一致したものについ
ては検証実行状態フラグをオンに設定する。検証実行状
態記憶手段15では検証実行状態フラグの状態を記憶す
る。未検証項目表示手段16では、シミュレーション終
了後、検証実行状態記憶手段15に記憶されている検証
実行状態フラグの状態を検査し検証実行状態フラグがオ
フであるところの検証項目を表示する。例えば、シくニ
レ−ジョン終了時の検証実行状態記憶手段15の状態が
第6図に示すような状態であれば未検証項目表示手段1
6では第7図のように表示される。
When the next TER1 and TER2 events occur, TER
The states of TER1 and TER2 are checked and compared with the state in which the verification execution state flag in FIG. 5 is OFF, and if they match, the verification execution state flag is set to ON. The verification execution state storage means 15 stores the state of the verification execution state flag. After the simulation ends, the unverified item display means 16 checks the state of the verification execution state flag stored in the verification execution state storage means 15 and displays the verification items for which the verification execution state flag is off. For example, if the state of the verification execution state storage means 15 at the end of the verification is as shown in FIG. 6, the unverified item display means 1
6, it is displayed as shown in FIG.

この様な動作が機能記述登録手段12に登録された全て
のシンボルに対して行われる。
Such operations are performed for all symbols registered in the functional description registration means 12.

以上のように本発明の第1の実施例によれば、被検証論
理回路の機能を検証項目登録済み機能シンボルライブラ
リ中の機能シンボルを用いて記述することによって、シ
ミュレーション実行時に検証するべき状態が発生したか
否かが全ての機能シンボルに対して検査され、シミュレ
ーション実行後に上記入力バタンによって検証されなか
った状態が表示されるため、シミュレーション実行後に
、検証されなかった状態を容易に把握できる。
As described above, according to the first embodiment of the present invention, by describing the function of the logic circuit to be verified using the functional symbols in the verification item registered functional symbol library, the state to be verified during simulation execution can be determined. All functional symbols are checked to see if the occurrence has occurred, and the unverified states are displayed by the input button after the simulation is executed, so it is easy to understand the unverified states after the simulation is executed.

以下、本発明の第2の実施例の論理回路の機能検証方法
について図面を参照しながら説明する。
Hereinafter, a method for verifying the function of a logic circuit according to a second embodiment of the present invention will be described with reference to the drawings.

第8図は、本発明の第2の実施例における論理回路の機
能検証方法の構成図である。
FIG. 8 is a block diagram of a method for verifying functions of a logic circuit according to a second embodiment of the present invention.

第8図において、21は検証するべき状態があらかじめ
検証項目として登録されている機能シンボル群を記憶し
ている検証項目登録済み機能シンボルライブラリ、22
は被検証論理回路の機能を検証項目登録済み機能シンボ
ルライブラリ中の機能シンボルを用いて記述し登録する
機能記述登録手段、23は機能記述を入力しシミュレー
ションを実行するシミュレータ、24は検証項目登録手
段に登録された任意の機能シンボルに対する検証すべき
状態とシミュレーション実行時における該当する機能シ
ンボルの状態とを比較し検証すべき状態が発生したか否
かを検証し、検証すべき状態が発生した場合、状態ごと
に設定されるい検証実行状態フラグをオンにセットする
検証実行状態検査手段、25は検証実行状態フラグの状
態を記憶する検証実行状態記憶手段、26はシミュレー
ション終了後に、検証実行状態記憶手段の検証実行状態
フラグがオフである検証項目を表示する未検証項目表示
手段で、以上は第1図の構成と同様なものである。第1
図の構成と異なるのは機能記述登録手段に記述された検
証項目登録済み機能シンボルのなかで検証状態の検査を
行なう機能シンボルを指定する検証実行状態検査範囲指
定手段27を設けた点である。
In FIG. 8, reference numeral 21 denotes a verification item registered functional symbol library 22 that stores a group of functional symbols in which states to be verified are registered in advance as verification items.
23 is a function description registration means for describing and registering the function of the logic circuit to be verified using function symbols in a function symbol library with verification item registration; 23 is a simulator for inputting the function description and executing a simulation; 24 is a verification item registration means The state to be verified for any functional symbol registered in is compared with the state of the corresponding functional symbol at the time of simulation execution to verify whether the state to be verified has occurred, and if the state to be verified has occurred. , verification execution state checking means for setting on a verification execution state flag that is set for each state; 25, verification execution state storage means for storing the state of the verification execution state flag; 26, verification execution state storage means for storing the state of the verification execution state flag after the simulation ends. This is an unverified item display means for displaying verification items whose verification execution status flags are off, and the configuration described above is similar to that of FIG. 1. 1st
The configuration differs from the one shown in the figure in that a verification execution state inspection range designating means 27 is provided for designating a functional symbol whose verification state is to be tested among the verification item registered functional symbols written in the functional description registration means.

以上のように構成された論理回路の機能検証方法につい
て、以下、第8図、第9図及び第10図を用いてその動
作を説明する。
The operation of the method for verifying the function of the logic circuit configured as described above will be described below with reference to FIGS. 8, 9, and 10.

まず、第9図は機能記述登録手段22に対する機能記述
の登録例である。31.33はフリップフロップ、32
は加算器、34は定数倍器である。検証項目登録済み機
能シンボルライブラリ21中の機能シンボルを用いた図
的言語によって論理回路の機能が記述され登録されてい
る。第1O図は機能記述登録手段22に対する検証実行
状態検査範囲指定手段27の指定例であって、第9図中
のシンボル1が指定されている。第10図の構成は第9
図と同一である。
First, FIG. 9 shows an example of registering a function description in the function description registration means 22. 31.33 is a flip-flop, 32
is an adder, and 34 is a constant multiplier. Functions of logic circuits are described and registered in a graphical language using functional symbols in the verification item registered functional symbol library 21. FIG. 1O shows an example of designation of the verification execution state inspection range designation means 27 for the function description registration means 22, in which symbol 1 in FIG. 9 is designated. The configuration in Figure 10 is
Same as figure.

第10図のように点線で囲んだ指定されたシンボルに対
してのみ検証すべき状態を定義した記述は検証実行状態
記憶手段25に入力され、検証実行状態記憶手段25で
は検証するべき各状態に対して検証するべき状態が発生
した場合にオン状態にセットされ・る検証実行状態フラ
グを設け、検証実行状態フラグの状態を初期状態として
オフに設定し記憶する。機能記述登録手段22に第9図
のように登録された機能記述はシミュレータ23に入力
されシミュレーションが実行される。検証実行状態検査
手段24では、機能シンボルのシミュレーション実行時
の状態を逐次シミュレータから取り込み、検証すべき状
態と比較し検証すべき状態の発生の有無を検出する。検
証すべき状態が発生した場合、該当する検証実行状態フ
ラグをオンにセントし検証実行状態記憶手段25で検証
実行状態フラグの状態を記憶する。未検証項目表示手段
26では、シミュレーション終了後、検証実行状態記憶
手段25に記憶されている検証実行状態フラグの状態を
検査し検証実行状態フラグがオフであるところの検証項
目を表示する。
As shown in FIG. 10, the description that defines the states to be verified only for the designated symbol surrounded by the dotted line is input to the verification execution state storage means 25, and the verification execution state storage means 25 stores each state to be verified. A verification execution state flag is provided which is set to an on state when a state to be verified occurs, and the state of the verification execution state flag is set to off as an initial state and is stored. The functional description registered in the functional description registration means 22 as shown in FIG. 9 is input to the simulator 23 and a simulation is executed. The verification execution state checking means 24 sequentially fetches the state of the functional symbol at the time of simulation execution from the simulator, compares it with the state to be verified, and detects whether the state to be verified has occurred. When a state to be verified occurs, the corresponding verification execution state flag is turned on and the state of the verification execution state flag is stored in the verification execution state storage means 25. After the simulation ends, the unverified item display means 26 checks the state of the verification execution state flag stored in the verification execution state storage means 25 and displays the verification items for which the verification execution state flag is off.

以上のように本発明の第2の実施例によれば、被検証論
理回路の機能を検証項目登録済み機能シンボルライブラ
リ中の機能シンボルを用いて記述することと、機能記述
中の検証するべき状態の発生の有無を検査したい範囲を
指定することによって、シミュレーション実行時に検証
するべき状態が発生したか否かが指定した範囲に対して
のみ検査され、シミュレーション実行後に検証されなか
った状態が表示されるため、機能記述中の特定の範囲に
対してシミュレーション実行後に入力バタンによって検
証されなかった状態を容易に把握できる。
As described above, according to the second embodiment of the present invention, the function of the logic circuit to be verified is described using the function symbol in the function symbol library with verification item registration, and the state to be verified in the function description By specifying the range in which you want to check whether or not the occurrence of a condition has occurred, only the specified range will be checked to see if the condition to be verified has occurred during simulation execution, and any conditions that were not verified will be displayed after simulation execution. Therefore, it is possible to easily grasp the state that has not been verified by pressing the input button after the simulation is executed for a specific range in the function description.

発明の効果 以上のように本発明は、検証するべき状態があらかじめ
検証項目として登録されている機能シンボルを登録した
検証項目登録済み機能シンボルライブラリと、検証項目
登録済み機能シンボルライブラリ中の機能シンボルを用
いて論理回路の機能を記述し登録する機能記述登録手段
と、シミュレーション実行時に登録された検証するべき
状態が発生した場合、状態ごとに設定される検証実行状
態フラグをオンにセットする検証実行状態検査手段と、
検証実行状態フラグの状態を記憶する検証実行状態記憶
手段と、シミュレーション終了後に検証実行状態記憶手
段の検証実行状態フラグがオフである検証項目を表示す
る未検証項目表示手段とを設けることにより、検証項目
登録済み機能シンボルライブラリ中の機能シンボルを用
いて論理回路の機能を記述し、シミュレーション中に検
証するべき状態が発生したかを検査し、シミュレーショ
ン終了後に検証されなかった状態を表示することによっ
て、シミュレーション実行後にシ兆ニレージョン人カバ
タンによって検証されなかった状態を容易に把握できる
Effects of the Invention As described above, the present invention provides a verification item registered function symbol library in which function symbols whose states to be verified are registered in advance as verification items, and a function symbol library in the verification item registered function symbol library are provided. a function description registration means that describes and registers the function of a logic circuit using the simulator, and a verification execution state that sets a verification execution state flag set for each state to ON when a registered state to be verified occurs during simulation execution. inspection means,
By providing a verification execution state storage means for storing the state of the verification execution state flag, and an unverified item display means for displaying verification items for which the verification execution state flag of the verification execution state storage means is off after the simulation ends, verification can be performed. By describing the function of the logic circuit using the function symbols in the item registered function symbol library, checking whether a state that should be verified has occurred during the simulation, and displaying the state that was not verified after the simulation is completed, After running the simulation, it is possible to easily understand the state that was not verified by the Shicho Nirejon Kabatan.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の第一の実施例における論理回路の機能
検証方法の構成図、第2図は検証項目登録済み機能シン
ボルライブラリ中のシンボルを用いた機能の記述の機能
記述登録手段への登録例を示したブロック図、第3図は
機能シンボルであるところの加算器に対するあらかじめ
登録されている検証項目の一例を示した説明図、第4図
は検証実行状態記憶手段の加算器に対する検証実行状態
フラグの初期状態の一例を示した説明図、第5図は検証
実行状態記憶手段の加算器に対する検証実行状態フラグ
のシミュレーション実行中の状態の一例を示した説明図
、第6図は検証実行状態記憶手段の加算器に対する検証
実行状態フラグのシミュレーション実行後の状態の一例
を示した説明図、第7図は未検証項目表示手段に表示さ
れる未検証内容の表示例を示した説明図、第8図は本発
明の第二の実施例における論理回路の機能検証方法の構
成図、第9図は検証項目登録済み機能シンボルライブラ
リ中のシンボルを用いた機能の記述の機能記述登録手段
への登録例を示したブロック図、第1O図は機能記述登
録手段に対する検証実行状態検査範囲指定手段の指定例
を示したブロック図である。 11・・・・・・検証項目登録済み機能シンボルライブ
ラリ、12・・・・・・機能記述登録手段、13・・・
・・・シミュレータ、14・・・・・・検証実行状態検
査手段、15・・・・・・検証実行状態記憶手段、16
・・・・・・未検証項目表示手段、21・・・・・・検
証項目登録済み機能シンボルライブラリ、22・・・・
・・機能記述登録手段、23・・・・・・シミュレータ
、24・・・・・・検証実行状態検査手段、25・・・
・・・検証実行状態記憶手段、26・・・・・・未検証
項目表示手段、27・・・・・・検証実行状態検査範囲
指定手段、31.33・・・・・・フリップフロップ、
32・・・・・・加算器、34・・・・・・定数倍。
FIG. 1 is a block diagram of the functional verification method for a logic circuit in the first embodiment of the present invention, and FIG. 2 is a diagram showing how a function description using symbols in the verification item registered function symbol library is sent to the function description registration means. A block diagram showing an example of registration, Fig. 3 is an explanatory diagram showing an example of pre-registered verification items for an adder, which is a functional symbol, and Fig. 4 shows a verification of the adder in the verification execution state storage means. FIG. 5 is an explanatory diagram showing an example of the initial state of the execution state flag, FIG. 5 is an explanatory diagram showing an example of the state of the verification execution state flag for the adder of the verification execution state storage means during simulation execution, and FIG. 6 is the verification diagram. An explanatory diagram showing an example of the state of the verification execution state flag for the adder of the execution state storage means after simulation execution, and FIG. 7 is an explanatory diagram showing an example of display of unverified contents displayed on the unverified item display means , FIG. 8 is a block diagram of a method for verifying functions of a logic circuit according to the second embodiment of the present invention, and FIG. 9 is a diagram showing a function description registering means for describing functions using symbols in the function symbol library with verification items registered. FIG. 1O is a block diagram showing an example of specification of the verification execution state inspection range specification means for the function description registration means. 11... Verification item registered function symbol library, 12... Function description registration means, 13...
...Simulator, 14...Verification execution state inspection means, 15...Verification execution state storage means, 16
...Unverified item display means, 21... Verification item registered function symbol library, 22...
... Function description registration means, 23 ... Simulator, 24 ... Verification execution state inspection means, 25 ...
... Verification execution state storage means, 26 ... Unverified item display means, 27 ... Verification execution state inspection range designation means, 31.33 ... Flip-flop,
32...Adder, 34...Constant multiplier.

Claims (2)

【特許請求の範囲】[Claims] (1)シミュレータを備えた論理回路の機能検証方法に
おいて、検証するべき状態があらかじめ検証項目として
登録されている機能シンボルを登録した検証項目登録済
み機能シンボルライブラリと、前記検証項目登録済み機
能シンボルライブラリ中の機能シンボルを用いて論理回
路の機能を記述し登録する機能記述登録手段と、前記登
録された検証するべき状態がシミュレーション実行時に
発生した場合、前記状態ごとに設定される検証実行状態
フラグをオンにセットする検証実行状態検査手段と、前
記検証実行状態フラグの状態を記憶する検証実行状態記
憶手段と、前記検証実行状態記憶手段の検査実行状態フ
ラグがオフである検証項目を表示する未検証項目表示手
段とを備え、前記検証項目登録済み機能シンボルライブ
ラリ中の機能シンボルを用いて論理回路の機能を記述し
て前記機能記述登録手段に登録し、前記検証実行状態記
憶手段において論理回路の機能の記述に用いられている
機能シンボルの検証項目に対する検証実行状態フラグを
オフ状態にセットし記憶し、前記機能記述登録手段の機
能の記述をシミュレータに入力しシミュレーションを実
行し、前記検証実行状態検査手段においてシミュレーシ
ョン実行時の機能シンボルの状態と前記機能シンボルに
対する検証するべき状態とを比較し、検証するべき状態
が発生した場合、検証実行状態フラグをオンにして前記
検証実行状態記憶手段で検証実行状態フラグの状態を記
憶し、前記未検証項目表示手段において前記検証実行状
態記憶手段で記憶されている検証実行状態フラグを検査
し検証実行状態フラグがオフである検証項目を表示する
ことを特徴とする論理回路の機能検証方法。
(1) In a functional verification method for a logic circuit equipped with a simulator, a verification item registered functional symbol library in which functional symbols whose states to be verified are registered in advance as verification items is registered, and the verification item registered functional symbol library a function description registration means for describing and registering a function of a logic circuit using a function symbol inside; and a verification execution state flag set for each state when the registered state to be verified occurs during simulation execution; a verification execution state checking means for setting the verification execution state flag to ON; a verification execution state storage means for storing the state of the verification execution state flag; and an unverified checker for displaying verification items for which the verification execution state flag of the verification execution state storage means is OFF. item display means, describes the function of the logic circuit using the function symbol in the verification item registered function symbol library and registers it in the function description registration means, and displays the function of the logic circuit in the verification execution state storage means. The verification execution state flag for the verification item of the functional symbol used in the description is set to an off state and stored, the function description of the function description registration means is input to the simulator to execute the simulation, and the verification execution state check is performed. The means compares the state of the functional symbol at the time of simulation execution with the state to be verified for the functional symbol, and if a state to be verified occurs, turns on the verification execution state flag and executes verification in the verification execution state storage means. A state of a status flag is stored, and the verification execution status flag stored in the verification execution status storage means is checked in the unverified item display means to display verification items whose verification execution status flag is OFF. Functional verification method for logic circuits.
(2)シミュレータを備えた論理回路の機能検証方法に
おいて、検証するべき状態があらかじめ検証項目として
登録されている機能シンボルを登録した検証項目登録済
み機能シンボルライブラリと、前記検証項目登録済み機
能シンボルライブラリ中の機能シンボルを用いて論理回
路の機能を記述し登録する機能記述登録手段と、前記機
能記述中の任意の機能シンボルに対して検証実行状態を
検査するか否かを指定する検証実行状態検査範囲指定手
段と、前記登録された検証するべき状態がシミュレーシ
ョン実行時に発生した場合、前記状態ごとに設定される
検証実行状態フラグをオンにセットする検証実行状態検
査手段と、前記検証実行状態フラグの状態を記憶する検
証実行状態記憶手段と、前記検証実行状態記憶手段の検
証実行状態フラグがオフである検証項目を表示する未検
証項目表示手段とを備え、前記検証項目登録済み機能シ
ンボルライブラリ中の機能シンボルを用いて論理回路の
機能を記述して前記機能記述登録手段に登録し、前記機
能記述登録手段に登録された機能シンボルの中で検証実
行状態を検査する機能シンボルを前記検証実行状態検査
範囲指定手段によって指定し前記検証実行状態記憶手段
において前記検証実行状態検査範囲指定手段によって指
定されている機能シンボルの検証項目に対する検証実行
状態フラグをオフ状態にセットして記憶し、前記機能記
述登録手段の機能の記述をシミュレータに入力しシミュ
レーションを実行し、前記検証実行状態検査手段におい
てシミュレーション実行時の前記検証実行状態検査範囲
指定手段によって指定された機能シンボルの状態と前記
機能シンボルに対する検証するべき状態とを比較し、検
証するべき状態が発生した場合、検証実行状態フラグを
オンにし前記検証実行状態記憶手段で検証実行状態フラ
グの状態を記憶し、前記未検証項目表示手段において前
記検証実行状態記憶手段で記憶されている検証実行状態
フラグを検査し、検証実行状態フラグがオフである検証
項目を表示することを特徴とする論理回路の機能検証方
法。
(2) In a functional verification method for a logic circuit equipped with a simulator, a verification item registered functional symbol library in which functional symbols whose states to be verified are registered in advance as verification items is registered, and the verification item registered functional symbol library a function description registration means for describing and registering the function of a logic circuit using function symbols in the function description; and a verification execution state check for specifying whether or not to check the verification execution state for any function symbol in the function description. a range specifying means; a verification execution state checking means for setting on a verification execution state flag set for each state when the registered state to be verified occurs during simulation execution; A verification execution state storage means for storing a state, and an unverified item display means for displaying a verification item for which a verification execution state flag of the verification execution state storage means is OFF, Functions of a logic circuit are described using function symbols and registered in the function description registration means, and among the function symbols registered in the function description registration means, a function symbol whose verification execution state is to be checked is checked for the verification execution state. The verification execution state flag for the verification item of the function symbol specified by the range specification means and specified by the verification execution state inspection range specification means in the verification execution state storage means is set to an off state and stored, and the function description registration is performed. A description of the function of the means is input to a simulator and a simulation is executed, and the verification execution state checking means determines the state of the functional symbol specified by the verification execution state inspection range specifying means at the time of simulation execution and what should be verified for the functional symbol. If a state to be verified occurs, the verification execution state flag is turned on, the verification execution state storage means stores the state of the verification execution state flag, and the unverified item display means displays the verification execution state. 1. A method for functionally verifying a logic circuit, comprising: inspecting a verification execution state flag stored in a storage means; and displaying verification items for which the verification execution state flag is off.
JP1177507A 1989-07-10 1989-07-10 Method for verifying function of logical circuit Pending JPH0341565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1177507A JPH0341565A (en) 1989-07-10 1989-07-10 Method for verifying function of logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1177507A JPH0341565A (en) 1989-07-10 1989-07-10 Method for verifying function of logical circuit

Publications (1)

Publication Number Publication Date
JPH0341565A true JPH0341565A (en) 1991-02-22

Family

ID=16032117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1177507A Pending JPH0341565A (en) 1989-07-10 1989-07-10 Method for verifying function of logical circuit

Country Status (1)

Country Link
JP (1) JPH0341565A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123136A (en) * 1986-11-13 1988-05-26 Nec Corp Logical simulator
JPS63131238A (en) * 1986-11-20 1988-06-03 Nec Corp Logic simulator
JPS63133235A (en) * 1986-11-26 1988-06-06 Nec Corp Logical simulator
JPS6426243A (en) * 1987-02-25 1989-01-27 Nec Corp Hardware logical simulator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123136A (en) * 1986-11-13 1988-05-26 Nec Corp Logical simulator
JPS63131238A (en) * 1986-11-20 1988-06-03 Nec Corp Logic simulator
JPS63133235A (en) * 1986-11-26 1988-06-06 Nec Corp Logical simulator
JPS6426243A (en) * 1987-02-25 1989-01-27 Nec Corp Hardware logical simulator

Similar Documents

Publication Publication Date Title
CN108509336A (en) A kind of operating system canonical form chemical examination card and test method
JPH0341565A (en) Method for verifying function of logical circuit
JPH0561931A (en) Simulation device
JP2563584B2 (en) Logic circuit function verification method
Safarpour et al. Failure triage: The neglected debugging problem
Saifan et al. Using formal methods for test case generation according to transition-based coverage criteria
JP3028589B2 (en) Error detection control method for logic circuit verification device
JPH0719267B2 (en) Logic circuit function verification method
JP3212157B2 (en) Logic circuit verification device
JPH10232795A (en) Software component combination test method
JP2563583B2 (en) Logic circuit function verification method
JP2525393B2 (en) Logic simulation test coverage method
JPH0244269A (en) System for analyzing trouble of lsi
JPS63254567A (en) Display device for designing and inspecting logic circuit
Bhuvaneswary et al. FIVE STAGE PIPELINED MIPS PROCESSOR VERIFICATION SEQUENCE MODULE USING UVM
JPH02114383A (en) Method for improving simulation accuracy
JP2005227958A (en) Simulation analysis system, accelerator device and emulator device
CN114282699A (en) Approval process simulation operation method, system, terminal and medium
JPH05324756A (en) Display system for logic simulation result
JPS63300330A (en) Debugging method for firmware
JPH0221279A (en) Validation of logic circuit
JPH0676016A (en) Logical simulation method
Koochakzadeh A Measurement, Detection, and Visualization Framework for Software Test Redundancy
JPH07105256A (en) Logic simulation system
JPS6160146A (en) Check system of microprogram