JPH06124319A - Logical simulation device - Google Patents

Logical simulation device

Info

Publication number
JPH06124319A
JPH06124319A JP4275790A JP27579092A JPH06124319A JP H06124319 A JPH06124319 A JP H06124319A JP 4275790 A JP4275790 A JP 4275790A JP 27579092 A JP27579092 A JP 27579092A JP H06124319 A JPH06124319 A JP H06124319A
Authority
JP
Japan
Prior art keywords
timing
timing check
circuit
primitive
check
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
JP4275790A
Other languages
Japanese (ja)
Inventor
Norimichi Hasegawa
典道 長谷川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4275790A priority Critical patent/JPH06124319A/en
Publication of JPH06124319A publication Critical patent/JPH06124319A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To obtain the logical simulation device which can perform efficient timing verification. CONSTITUTION:A timing check primitive granting means 7 while writing a timing verification object element name, an input signal name, etc., in a timing check primitive information storage table 8 by referring to circuit information 6 obtained from a circuit storage means 2 and a timing check value definition file 6 outputs timing check primitive added circuit information 9 with an added timing check primitive to only a timing check object element which really requires a timing check. Therefore, the number of granted timing check primitives is minimized to perform the efficient timing verification.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は論理回路の各素子のタ
イミング検証を行いつつ前記論理回路の論理シミュレー
ションを行う論理シミュレーション装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation device for performing logic simulation of the logic circuit while verifying the timing of each element of the logic circuit.

【0002】[0002]

【従来の技術】論理回路設計において、その論理動作及
びタイミング検証のチェック手段として論理シミュレー
ション装置が多く用いられている。
2. Description of the Related Art In logic circuit design, a logic simulation device is often used as a means for checking the logic operation and timing verification.

【0003】図12は従来の論理シミュレーション装置
のタイミング検証動作を示すフローチャートである。以
下、同図を参照しつつその動作を説明する。
FIG. 12 is a flow chart showing the timing verification operation of the conventional logic simulation apparatus. The operation will be described below with reference to FIG.

【0004】まず、ステップS31で被シミュレーショ
ン回路である論理回路の入力端子に入力テストパターン
信号を入力し、各素子の入力値に対する出力値を計算す
ることにより、被シミュレーション回路の論理シミュレ
ーションを実行する。
First, in step S31, an input test pattern signal is input to an input terminal of a logic circuit which is a circuit to be simulated, and an output value corresponding to an input value of each element is calculated to execute a logic simulation of the circuit to be simulated. .

【0005】次いで、ステップS31で得られたシミュ
レーション結果に基づき、ステップS32で、論理シミ
ュレーション実行中に、被シミュレーション回路の各素
子の入出力信号におけるタイミング検証を行う。各素子
のタイミング検証は、各素子の入出力に接続され、入出
力信号変化をチェックするタイミングチェックプリミテ
ィブにより行われる。
Next, based on the simulation result obtained in step S31, in step S32, timing verification is performed on input / output signals of each element of the circuit to be simulated during execution of the logic simulation. The timing verification of each element is performed by a timing check primitive that is connected to the input / output of each element and checks the input / output signal change.

【0006】次に、ステップS33において、ステップ
S32のタイミング検証でタイミングエラーが発生した
と認識された場合、ステップS34に移り、ステップS
34で、タイミングエラーの種類、エラーが発生した時
刻、エラーが発生した素子等の、タイミングエラーの原
因究明の参考となるエラーメッセージリストを出力す
る。一方、ステップS33においてタイミングエラーが
発生しなかったと認識された場合、ステップS34に移
ることなくステップS35に移る。
Next, in step S33, if it is recognized in the timing verification of step S32 that a timing error has occurred, the process proceeds to step S34 and step S34.
At 34, an error message list for reference of the cause of the timing error, such as the type of timing error, the time at which the error occurred, the element at which the error occurred, is output. On the other hand, when it is recognized in step S33 that the timing error has not occurred, the process proceeds to step S35 without proceeding to step S34.

【0007】ステップS35において、被シミュレーシ
ョン回路の全素子のシミュレーションが終了したかのチ
ェックを行い、未だシミュレーションが完了していない
素子が存在すれば、ステップS31に戻り、以下、全素
子のシミュレーションが終了するまでステップS31〜
S5が繰り返される。
In step S35, it is checked whether or not the simulation of all the elements of the circuit to be simulated is completed. If there is an element for which the simulation is not completed yet, the process returns to step S31, and the simulation of all the elements is completed. Until step S31
S5 is repeated.

【0008】このようにして論理シミュレーション装置
によりタイミング検証が行われる。
In this way, the timing verification is performed by the logic simulation device.

【0009】[0009]

【発明が解決しようとする課題】従来の論理シミュレー
ション装置は、論理回路の各素子の入出力にタイミング
チェックプリミティブを付与することにより、そのタイ
ミングエラーを検証していた。
The conventional logic simulation device verifies the timing error by adding a timing check primitive to the input / output of each element of the logic circuit.

【0010】このように画一的に論理回路の各素子にタ
イミングチェックプリミティブを付与するため、実際に
はタイミングチェックプリミティブを付与する必要がな
い素子に対しても、タイミングチェックプリミティブが
付与されてしまうという可能性が高いという問題点があ
った。
Since the timing check primitives are uniformly attached to the respective elements of the logic circuit as described above, the timing check primitives are attached even to the elements which do not actually need to be attached with the timing check primitives. There is a problem that there is a high possibility.

【0011】この発明は上記問題点を解決するためにな
されたもので、効率的なタイミング検証を行うことがで
きる論理シミュレーション装置を得ることを目的とす
る。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a logic simulation apparatus capable of performing efficient timing verification.

【0012】[0012]

【課題を解決するための手段】この発明にかかる論理シ
ミュレーション装置は、遅延機能を有する論理回路の各
素子のタイミング検証を行いつつ前記論理回路の論理シ
ミュレーションを行い、前記論理回路を構成する素子間
の接続関係を規定した回路情報を付与する回路情報付与
手段と、前記論理回路の各素子種別ごとの前記タイミン
グ検証の内容を規定したタイミングチェック定義ファイ
ルを付与するタイミングチェック定義ファイル付与手段
と、前記回路情報及びタイミングチェック値定義ファイ
ルに基づき、タイミング検証対象素子を認識し、該タイ
ミング検証対象素子に対しその入出力の信号変化を検出
するタイミングチェックプリミティブを付与してタイミ
ングチェックプリミティブ付き回路情報を出力するタイ
ミングチェックプリミティブ付与手段とを備え、前記タ
イミングチェックプリミティブ付与手段は、全く同一条
件で信号入力する2つ以上の同一種別の前記タイミング
検証対象素子が存在する場合、1つの前記タイミング検
証対象素子に対してのみタイミングチェックプリミティ
ブを付与し、前記論理回路にテストパターン信号を付与
するテストパターン信号付与手段と、前記テストパター
ン信号及びタイミングチェックプリミティブ付き回路情
報に基づき、前記タイミングチェックプリミティブが付
与された素子に対するタイミング検証を行いつつ、前記
論理回路の各素子の論理シミュレーションを行うシミュ
レーション実行手段とをさらに備える。
A logic simulation apparatus according to the present invention performs a logic simulation of the logic circuit while verifying the timing of each element of the logic circuit having a delay function, and between the elements forming the logic circuit. Circuit information assigning means for assigning circuit information defining the connection relationship, and timing check definition file assigning means for assigning a timing check definition file defining the content of the timing verification for each element type of the logic circuit, Recognize the timing verification target element based on the circuit information and the timing check value definition file, and add the timing check primitive for detecting the input / output signal change to the timing verification target element and output the circuit information with the timing check primitive. Timing check When there are two or more timing verification target elements of the same type that input signals under exactly the same conditions, the timing check primitive granting means includes only one timing verification target element. Test pattern signal applying means for applying a timing check primitive and applying a test pattern signal to the logic circuit, and timing verification for an element to which the timing check primitive is applied based on the test pattern signal and circuit information with the timing check primitive And a simulation executing means for performing a logic simulation of each element of the logic circuit.

【0013】[0013]

【作用】この発明におけるタイミングチェックプリミテ
ィブ付与手段は、全く同一条件で信号入力する2つ以上
の同一種別のタイミング検証対象素子が存在する場合、
1つのタイミング検証対象素子に対してのみタイミング
チェックプリミティブを付与するため、無意味なタイミ
ング検証対象素子へのタイミングチェックプリミティブ
付与が回避される。
In the present invention, the timing check primitive providing means, when there are two or more timing verification target elements of the same type which input signals under exactly the same conditions,
Since the timing check primitive is added only to one timing verification target element, meaningless timing check primitive allocation to the timing verification target element is avoided.

【0014】[0014]

【実施例】図2はこの発明の一実施例である論理シミュ
レーション装置のハード構成を示すブロック図である。
同図に示すように、論理シミュレーション装置はCPU
15,メモリ16等を内部に有するコンピュータ17、
コンピュータ17への情報入力手段としてのキーボード
13、コンピュータ17からの情報出力手段としてのC
RT12及びプリンタ14から構成されている。
2 is a block diagram showing the hardware structure of a logic simulation apparatus according to an embodiment of the present invention.
As shown in the figure, the logic simulation device is a CPU
15, a computer 17 having a memory 16 and the like therein,
A keyboard 13 as an information input means to the computer 17, and a C as an information output means from the computer 17.
It comprises an RT 12 and a printer 14.

【0015】図1はこの発明の一実施例である論理シミ
ュレーション装置の構成を示すブロック図である。同図
に示すように、被シミュレーション回路内である論理回
路を構成する素子間の接続関係を記述した回路情報1が
外部から回路情報記憶手段2に読み込まれる。
FIG. 1 is a block diagram showing the configuration of a logic simulation apparatus which is an embodiment of the present invention. As shown in the figure, the circuit information 1 describing the connection relationship between the elements forming the logic circuit in the simulated circuit is read into the circuit information storage means 2 from the outside.

【0016】この論理回路の例が図3中に示されてお
り、NANDゲート18の出力信号S18がDフリップ
フロップ20のD入力及びDフリップフロップ21のD
入力に付与される。また、NORゲート19の出力信号
S19がDフリップフロップ20のT入力及びDフリッ
プフロップ21のT入力に付与される。
An example of this logic circuit is shown in FIG. 3, where the output signal S18 of the NAND gate 18 is the D input of the D flip-flop 20 and the D input of the D flip-flop 21.
Assigned to input. Further, the output signal S19 of the NOR gate 19 is given to the T input of the D flip-flop 20 and the T input of the D flip-flop 21.

【0017】また、論理回路のうちシミュレーション対
象となる部分等を特定するシミュレーション条件情報3
と、素子種別単位で入出力信号のタンミング検証内容を
規定したタイミングチェック条件情報4がタイミングチ
ェック値定義ファイル作成手段5に付与される。タイミ
ングチェック値定義ファイル作成手段5は、シミュレー
ション条件情報3及びタイミングチェック条件情報4に
基づき、後に詳述するタイミングチェック値定義ファイ
ル6を作成する。
Further, the simulation condition information 3 for specifying a portion to be simulated in the logic circuit, etc.
Then, the timing check condition information 4 which defines the content of the input / output signal timing verification for each element type is given to the timing check value definition file creating means 5. The timing check value definition file creating means 5 creates a timing check value definition file 6, which will be described in detail later, based on the simulation condition information 3 and the timing check condition information 4.

【0018】(不用タイミングチェックプリミティブ消
去条件付き)タイミングチェックプリミティブ付与手段
7は、回路記憶手段2より得た回路情報1とタイミング
チェック値定義ファイル6とを参照して、タイミング検
証プリミティブ情報格納テーブル8に、タイミング検証
対象素子名及び入力信号名等を書き込みながら、真にタ
イミングチェックを必要とするタイミング検証対象素子
に対してのみタイミングチェックプリミティブを付与し
たタイミングチェックプリミティブ付き回路情報9を出
力する。
The timing check primitive assigning means 7 (with an unnecessary timing check primitive erasing condition) refers to the circuit information 1 and the timing check value definition file 6 obtained from the circuit storing means 2 and stores the timing verification primitive information storage table 8. While writing the timing verification target device name, the input signal name, etc., the circuit information 9 with the timing check primitive in which the timing check primitive is added only to the timing verification target device that truly needs the timing check is output.

【0019】(論理シミュレーション及び)タイミング
検証実行制御手段11は、タイミングチェックプリミテ
ィブ付き回路情報9及びテストパターン情報10に基づ
き、真にタイミング検証を行う必要のある素子に対して
のみタイミング検証を行いながら論理シミュレーション
を実行する。
The timing verification execution control means 11 (for logic simulation and) performs timing verification only on an element that needs to be truly verified based on the circuit information 9 with timing check primitive and the test pattern information 10. Perform a logical simulation.

【0020】タイミング検証としては例えば、検証する
素子がフリップフロップの場合、スパイクチェックの他
に、ハザードチェック(負のスパイクチェック)、リレ
ーションチェック(2線間のタイミングチェック)及び
コンディションチェック(素子または回路枠の2つの入
力ピンに指定した信号変化が起きたかのチェック)等が
ある。
As the timing verification, for example, when the element to be verified is a flip-flop, in addition to spike check, hazard check (negative spike check), relation check (timing check between two lines) and condition check (element or circuit). Check whether the specified signal change has occurred in the two input pins of the frame).

【0021】また、ループ回路を構成する素子に対して
は、スパイクチェック、ハザードチェックの他にレース
チェク及びオシレートチェック等のタイミング検証が行
える。
In addition to the spike check and the hazard check, timing verification such as race check and oscillator check can be performed on the elements constituting the loop circuit.

【0022】スパイクチェック、ハザードチェック及び
レースチェクのタイミング検証は、着目している回路部
分以外から当該回路部分に入る信号に対してチェックす
る機能であり、オシレートチェックはループ中に、入力
値に対し出力値が反転する素子(NANDゲート,NO
Rゲート等)が奇数個存在するような回路につき、当該
ループ中のすべての素子がアクティブ状態となった時エ
ラーとする機能である。
The spike check, the hazard check, and the timing check of the race check are the functions to check the signal entering the circuit portion other than the circuit portion of interest. The oscillating check is performed for the input value during the loop. An element whose output value is inverted (NAND gate, NO
This is a function that causes an error when all the elements in the loop are in an active state in a circuit in which an odd number of R gates) exist.

【0023】図4及び図5は、タイミングチェック値定
義ファイル6の記述内容の一部を示す説明図である。図
4及び図5に示すように、タイミングチェック値定義フ
ァイル6には、少くともタイミング検証対象素子種別、
タイミングエラー種別及び検証値が記述されている。こ
のように、タイミングチェック値定義ファイル6を定義
することにより、異なる種別のDフリップフロップDF
F及びRSフリップフロップRSFFにそれぞれに対
し、独立してタイミングエラー種別及び検証値を設定す
ることができる。
FIGS. 4 and 5 are explanatory views showing a part of the description contents of the timing check value definition file 6. As shown in FIG. 4 and FIG. 5, the timing check value definition file 6 includes at least the element type of the timing verification target,
The timing error type and verification value are described. By defining the timing check value definition file 6 in this way, different types of D flip-flops DF
The timing error type and the verification value can be set independently for each of the F and RS flip-flops RSFF.

【0024】また、図4及び図5に示すように、タイミ
ングチェック値定義ファイル6において、Dフリップフ
ロップDFFを2回定義すれば、図6に示すように、D
フリップフロップDFFに対して、2つのタイミングチ
ェックプリミティブ90A及び90Bを生成させること
もできる。
Further, as shown in FIGS. 4 and 5, if the D flip-flop DFF is defined twice in the timing check value definition file 6, as shown in FIG.
The flip-flop DFF can also be made to generate two timing check primitives 90A and 90B.

【0025】したがって、図4に示すようにタイミング
チェック値定義ファイル6の内容を記述することによ
り、タイミングチェックプリミティブ90AによりDフ
リップフロップDFFのセットアップタイミング検証が
行われると同時に、タイミングチェックプリミティブ9
0Bによりホールドチェック及びスパイクエラーのタイ
ミング検証が行われる。
Therefore, by describing the contents of the timing check value definition file 6 as shown in FIG. 4, the timing check primitive 90A verifies the setup timing of the D flip-flop DFF, and at the same time, the timing check primitive 9
Hold check and timing verification of spike error are performed by 0B.

【0026】また、図5に示すようにタイミングチェッ
ク値定義ファイル6の内容を記述すれば、フリップフロ
ップDFFに対し、タイミングチェックプリミティブ9
0Aにより検証値A1のセットアップタイミング検証が
行われると同時に、タイミングチェックプリミティブ9
0Bにより検証値A2のセットアップタイミング検証が
行われる。
If the contents of the timing check value definition file 6 are described as shown in FIG. 5, the timing check primitive 9 is sent to the flip-flop DFF.
At the same time as the setup timing verification of the verification value A1 is performed by 0A, the timing check primitive 9
The setup timing verification of the verification value A2 is performed by 0B.

【0027】図7は、図1で示した論理シミュレーショ
ン装置のタイミング検証動作を示すフローチャートであ
る。以下、図4を参照してその動作の説明を行う。
FIG. 7 is a flow chart showing the timing verification operation of the logic simulation apparatus shown in FIG. The operation will be described below with reference to FIG.

【0028】まず、ステップS1で、回路情報1が回路
情報記憶手段2に取り込まれる。そして、ステップS2
で、テストパターン情報10がタイミング検証実行制御
手段11に取り込まれる。
First, in step S1, the circuit information 1 is loaded into the circuit information storage means 2. And step S2
Then, the test pattern information 10 is fetched by the timing verification execution control means 11.

【0029】そして、ステップS3で、シミュレーショ
ン条件情報3がタイミングチェック値定義ファイル作成
手段5に取り込まれ、さらに、ステップS4で、タイミ
ングチェック条件情報4がタイミングチェック値定義フ
ァイル作成手段5に取り込まれる。
Then, in step S3, the simulation condition information 3 is loaded into the timing check value definition file creating means 5, and in step S4, the timing check condition information 4 is loaded into the timing check value definition file creating means 5.

【0030】次に、ステップS5で、タイミングチェッ
ク値定義ファイル作成手段5は、シミュレーション条件
情報3及びタイミングチェック条件情報4に基づき、図
4及び図5で示した如く、素子種別単位でそれぞれタイ
ミングエラー種別及び検証値を独立して設定した記述内
容のタイミングチェック値定義ファイル6を生成し、タ
イミングチェックプリミティブ付与手段7に出力する。
Next, in step S5, the timing check value definition file creating means 5 uses the simulation condition information 3 and the timing check condition information 4 as shown in FIGS. The timing check value definition file 6 having the description content in which the type and the verification value are independently set is generated and output to the timing check primitive adding unit 7.

【0031】次に、ステップS6で、タイミングチェッ
クプリミティブ付与手段7は、回路情報1及びタイミン
グチェック値定義ファイル6に基づき、タイミング検証
対象素子を認識し、タイミングチェックプリミティブ情
報格納テーブル8を用いて、タイミングチェックプリミ
ティブの付与が不用と判断した素子を除いて、論理回路
の各タイミング検証対象素子にタイミングチェックプリ
ミティブを付与したタイミングチェックプリミティブ付
き回路情報9をタイミング検証実行制御手段11に出力
する。
Next, in step S6, the timing check primitive adding means 7 recognizes the timing verification target element based on the circuit information 1 and the timing check value definition file 6, and uses the timing check primitive information storage table 8 to The circuit information 9 with the timing check primitive in which the timing check primitive is added to each element of the timing verification target of the logic circuit is output to the timing verification execution control means 11 excluding the elements that are determined to be unnecessary to apply the timing check primitive.

【0032】そして、タイミング検証実行制御手段11
は、ステップS7で、タイミングチェックプリミティブ
付き回路情報9及びテストパターン情報10に基づき、
論理シミュレーションを実行し、ステップS8で、タイ
ミングチェックプリミティブ付き回路情報9及びテスト
パターン情報10に基づき、タイミング検証を実行す
る。
Then, the timing verification execution control means 11
At step S7, based on the circuit information 9 with the timing check primitive and the test pattern information 10,
The logic simulation is executed, and in step S8, the timing verification is executed based on the circuit information 9 with the timing check primitive and the test pattern information 10.

【0033】そして、ステップS9で論理シミュレーシ
ョンの終了を判定し、終了でない場合は再びステップS
7の論理シミュレーション、ステップS8のタイミング
検証を行う。また、ステップS9で論理シミュレーショ
ンの終了を判定すると処理を終了する。
Then, in step S9, it is determined whether or not the logic simulation has ended.
The logic simulation of step 7 and the timing verification of step S8 are performed. If it is determined in step S9 that the logic simulation has ended, the process ends.

【0034】図8は、図7のステップS6のタイミング
チェックプリミティブ付与手段7のタイミングチェック
プリミティブ付与動作の詳細を示すフローチャートであ
る。以下、同図を参照しつつタイミングチェックプリミ
ティブ付与手段7の動作説明を行う。
FIG. 8 is a flow chart showing details of the timing check primitive adding operation of the timing check primitive adding means 7 in step S6 of FIG. The operation of the timing check primitive adding means 7 will be described below with reference to FIG.

【0035】まず、ステップS10で、回路情報1か
ら、所定の規則にしたがって1つの素子を抽出する。
First, in step S10, one element is extracted from the circuit information 1 according to a predetermined rule.

【0036】そして、ステップS11において、タイミ
ングチェック値定義ファイル6のタイミング検証対象素
子種別を参照して、抽出素子(ステップS10で抽出さ
れた素子)がタイミング検証対象素子であるか否かを判
定する。
Then, in step S11, it is determined whether or not the extraction element (element extracted in step S10) is the timing verification target element by referring to the timing verification target element type of the timing check value definition file 6. .

【0037】ステップS11で、抽出素子がタイミング
検証対象素子でないと判定されると、ステップS12に
移行する。ステップS12で、すべての素子に対する抽
出処理の終了を判定し、終了でない場合はステップS1
0に戻る。また、ステップS12で、抽出処理の終了を
判定すると、本処理を終了する。
If it is determined in step S11 that the extraction element is not the timing verification target element, the process proceeds to step S12. In step S12, it is determined whether or not the extraction processing has been completed for all the elements. If not, step S1
Return to 0. If it is determined in step S12 that the extraction process has ended, this process ends.

【0038】ステップS11で、タイミング検証対象素
子であると判定されると、ステップS13に移行する。
ステップS13で、タイミングチェックプリミティブ情
報格納テーブル8に同一種の素子が既に登録されている
か否かを判定する。
When it is determined in step S11 that the element is a timing verification target element, the process proceeds to step S13.
In step S13, it is determined whether or not the same type of element is already registered in the timing check primitive information storage table 8.

【0039】ステップS13でNOと判定されるとステ
ップS14に移行する。ステップS14で、抽出素子の
素子名、入力ピン及び入力信号値をタイミングチェック
プリミティブ情報格納テーブル8に登録する。
If NO is determined in step S13, the process proceeds to step S14. In step S14, the element name of the extraction element, the input pin, and the input signal value are registered in the timing check primitive information storage table 8.

【0040】例えば、図3で示した回路で、Dフリップ
フロップ21が抽出素子の場合、図9に示すように、抽
出素子名(DFF・21)、入力ピン名(D入力,T入
力)及び信号名(S18,S19)を登録する。
For example, in the circuit shown in FIG. 3, when the D flip-flop 21 is the extraction element, as shown in FIG. 9, the extraction element name (DFF21), the input pin name (D input, T input) and The signal name (S18, S19) is registered.

【0041】ステップS14後、ステップS15で、タ
イミング検証対象素子である抽出素子にタイミングチェ
ックプリミティブを付与する。そして、ステップS12
の抽出終了判定処理に移行する。
After step S14, in step S15, a timing check primitive is added to the extraction element which is the timing verification target element. Then, step S12
To the extraction end determination processing of.

【0042】一方、ステップS13でYESと判定され
るとステップS16に移行する。ステップS16で、同
一種の素子の入力ピンに入力されている信号がすべて同
一か否かの判定を行う。
On the other hand, if YES is determined in step S13, the process proceeds to step S16. In step S16, it is determined whether or not the signals input to the input pins of the same type of element are all the same.

【0043】例えば、図3で示した回路で、Dフリップ
フロップ20が抽出素子で、タイミングチェックプリミ
ティブ情報格納テーブル8が図9で示すような内容であ
る場合を考える。この場合、Dフリップフロップ20
は、既にテーブル8に登録済みのDフリップフロップ2
1と同一種の素子であり、かつD入力にNANDゲート
18の出力信号S18を取り込み、T入力にNORゲー
ト19の出力信号S19を取り込む、すなわち、同一入
力ピンに同一信号が入力されているため、ステップS1
6の判定はYESとなる。
For example, consider a case where the D flip-flop 20 is an extraction element and the timing check primitive information storage table 8 has the contents shown in FIG. 9 in the circuit shown in FIG. In this case, the D flip-flop 20
Is a D flip-flop 2 already registered in Table 8.
Since it is the same kind of element as 1, and the output signal S18 of the NAND gate 18 is taken in at the D input and the output signal S19 of the NOR gate 19 is taken in at the T input, that is, the same signal is input to the same input pin. , Step S1
The determination of 6 is YES.

【0044】ステップS16でYESと判定されると、
ステップS14の登録処理、ステップS15のタイミン
グチェックプリミティブ付与処理を経ることなく、直ち
にステップS12の抽出終了判定処理に移行する。つま
り、全く同一条件で信号入力する2つ以上の同一種別の
タイミング検証対象素子が存在する場合、最初の抽出素
子のみタイミングチェックプリミティブが付与され、以
降の抽出素子にはタイミングチェックプリミティブが付
与されない。
If YES is determined in step S16,
Immediately after the registration process of step S14 and the timing check primitive adding process of step S15, the extraction end determination process of step S12 is performed. That is, when there are two or more timing verification target elements of the same type that input signals under exactly the same conditions, only the first extraction element is provided with the timing check primitive, and the subsequent extraction elements are not provided with the timing check primitive.

【0045】ステップS16でNOと判定されると、ス
テップS14の登録処理、ステップS15のタイミング
チェックプリミティブ付与処理を経て、ステップS12
の抽出処理終了判定処理に移行する。
If NO is determined in step S16, the registration process of step S14, the timing check primitive adding process of step S15, and the step S12 are performed.
The process shifts to the extraction process end determination process.

【0046】このように、タイミングチェックプリミテ
ィブ付与手段7は、抽出素子がタイミング検証対象素子
種別であっても、既に、同一入力ピンに同一入力信号を
取り込む同一種の素子にタイミングチェックプリミティ
ブが付与されている場合、その抽出素子へのタイミング
チェックプリミティブの付与は行わない。
As described above, the timing check primitive assigning means 7 assigns the timing check primitive to the element of the same type that already receives the same input signal to the same input pin even if the extraction element is the element type of the timing verification target. If so, the timing check primitive is not added to the extraction element.

【0047】例えば、図3で示す回路は、Dフリップフ
ロップ20とDフリップフロップ21とは同じDフリッ
プフロップでかつ同一入力ピンに同一入力信号を取り込
んでいる。したがって、Dフリップフロップがタイミン
グ検証対象素子種別であっても、図10に示すように、
一方のDフリップフロップ21のみ(Dフリップフロッ
プ20のみでもよい)にタイミングチェックプリミティ
ブ23が付与され、図11に示すように、Dフリップフ
ロップ20及び21それぞれにタイミングチェックプリ
ミティブ22及び23が付与されることはない。
For example, in the circuit shown in FIG. 3, the D flip-flop 20 and the D flip-flop 21 are the same D flip-flop and the same input signal is taken in at the same input pin. Therefore, even if the D flip-flop is a timing verification target element type, as shown in FIG.
The timing check primitive 23 is provided only to one D flip-flop 21 (or only the D flip-flop 20), and the timing check primitives 22 and 23 are provided to the D flip-flops 20 and 21, respectively, as shown in FIG. There is no such thing.

【0048】その結果、真に付与する必要がある素子に
のみタイミングチェックプリミティブを付与することに
より、タイミングチェックプリミティブを付与する数を
必要最小限に抑えることができるため、タイミング検証
に要する時間も短縮され、効率的なタイミング検証が行
える。
As a result, since the number of timing check primitives to be added can be suppressed to the necessary minimum by adding the timing check primitives only to the elements that really need to be added, the time required for the timing verification is also shortened. Therefore, efficient timing verification can be performed.

【0049】[0049]

【発明の効果】以上説明したように、この発明よれば、
タイミングチェックプリミティブ付与手段により、全く
同一条件で信号入力する2つ以上の同一種別のタイミン
グ検証対象素子が存在する場合、1つのタイミング検証
対象素子に対してのみタイミングチェックプリミティブ
が付与されるため、無意味なタイミング検証対象素子へ
のタイミングチェックプリミティブ付与が回避され、タ
イミング検証を効率的に行うことができる。
As described above, according to the present invention,
When there are two or more timing verification target elements of the same type that input signals under exactly the same conditions by the timing check primitive granting means, the timing check primitive is added only to one timing verification target element. The timing check primitive is not added to the meaningful timing verification target element, and the timing verification can be efficiently performed.

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

【図1】この発明の一実施例である論理シミュレーショ
ン装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a logic simulation apparatus that is an embodiment of the present invention.

【図2】図1で示した論理シミュレーション装置のハー
ド構成を示すブロック図である。
FIG. 2 is a block diagram showing a hardware configuration of the logic simulation apparatus shown in FIG.

【図3】実施例の動作説明用の回路図である。FIG. 3 is a circuit diagram for explaining the operation of the embodiment.

【図4】図1で示したタイミングチェック値定義ファイ
ルを示す説明図である。
4 is an explanatory diagram showing a timing check value definition file shown in FIG. 1. FIG.

【図5】図1で示したタイミングチェック値定義ファイ
ルを示す説明図である。
5 is an explanatory diagram showing a timing check value definition file shown in FIG. 1. FIG.

【図6】タイミングチェックプリミティブの概念を示す
回路図である。
FIG. 6 is a circuit diagram showing the concept of a timing check primitive.

【図7】図1で示した論理シミュレーション装置のタイ
ミング検証動作を示すフローチャートである。
7 is a flowchart showing a timing verification operation of the logic simulation apparatus shown in FIG.

【図8】図1で示した論理シミュレーション装置のタイ
ミングチェックプリミティブ付与動作を説明するフロー
チャートである。
8 is a flowchart illustrating a timing check primitive adding operation of the logic simulation apparatus shown in FIG.

【図9】図1で示したタイミングチェックプリミティブ
情報格納テーブルを示す説明図である。
9 is an explanatory diagram showing a timing check primitive information storage table shown in FIG. 1. FIG.

【図10】本実施例の効果を示す回路図である。FIG. 10 is a circuit diagram showing an effect of this embodiment.

【図11】本実施例の効果を示す回路図である。FIG. 11 is a circuit diagram showing an effect of this embodiment.

【図12】従来の論理シミュレーション装置のタイミン
グ検証動作を示すフローチャートである。
FIG. 12 is a flowchart showing a timing verification operation of the conventional logic simulation apparatus.

【符号の説明】[Explanation of symbols]

1 回路情報 2 回路情報記憶手段 3 シミュレーション条件情報 4 タイミングチェック条件情報 5 タイミングチェック値定義ファイル作成手段 6 タイミングチェック値定義ファイル 7 タイミングチェックプリミティブ付与手段 8 タイミングチェックプリミティブ情報格納テーブ
ル 9 タイミングチェックプリミティブ付き回路情報 10 テストパターン情報 11 タイミング検証実行制御手段
DESCRIPTION OF SYMBOLS 1 circuit information 2 circuit information storage means 3 simulation condition information 4 timing check condition information 5 timing check value definition file creation means 6 timing check value definition file 7 timing check primitive assigning means 8 timing check primitive information storage table 9 circuit with timing check primitive Information 10 Test pattern information 11 Timing verification execution control means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 遅延機能を有する論理回路の各素子のタ
イミング検証を行いつつ前記論理回路の論理シミュレー
ションを行う論理シミュレーション装置であって、 前記論理回路を構成する素子間の接続関係を規定した回
路情報を付与する回路情報付与手段と、 前記論理回路の各素子種別ごとの前記タイミング検証の
内容を規定したタイミングチェック定義ファイルを付与
するタイミングチェック定義ファイル付与手段と、 前記回路情報及びタイミングチェック値定義ファイルに
基づき、タイミング検証対象素子を認識し、該タイミン
グ検証対象素子に対しその入出力の信号変化を検出する
タイミングチェックプリミティブを付与してタイミング
チェックプリミティブ付き回路情報を出力するタイミン
グチェックプリミティブ付与手段とを備え、前記タイミ
ングチェックプリミティブ付与手段は、全く同一条件で
信号入力する2つ以上の同一種別の前記タイミング検証
対象素子が存在する場合、1つの前記タイミング検証対
象素子に対してのみタイミングチェックプリミティブを
付与し、 前記論理回路にテストパターン信号を付与するテストパ
ターン信号付与手段と、 前記テストパターン信号及びタイミングチェックプリミ
ティブ付き回路情報に基づき、前記タイミングチェック
プリミティブが付与された素子に対するタイミング検証
を行いつつ、前記論理回路の各素子の論理シミュレーシ
ョンを行うシミュレーション実行手段とをさらに備える
論理シミュレーション装置。
1. A logic simulation apparatus for performing logic simulation of the logic circuit while verifying the timing of each element of the logic circuit having a delay function, wherein the circuit defines a connection relation between the elements forming the logic circuit. Circuit information giving means for giving information, timing check definition file giving means for giving a timing check definition file defining the contents of the timing verification for each element type of the logic circuit, the circuit information and timing check value definition Timing check primitive adding means for recognizing a timing verification target element based on a file, adding a timing check primitive for detecting a signal change of its input / output to the timing verification target element, and outputting circuit information with a timing check primitive. Equipped with When there are two or more timing verification target elements of the same type that input signals under exactly the same conditions, the timing check primitive granting means adds a timing check primitive only to one timing verification target element. A test pattern signal applying means for applying a test pattern signal to the logic circuit, and the logic while performing timing verification on the element to which the timing check primitive is applied based on the test pattern signal and circuit information with a timing check primitive. A logic simulation device further comprising a simulation executing means for performing logic simulation of each element of a circuit.
JP4275790A 1992-10-14 1992-10-14 Logical simulation device Pending JPH06124319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4275790A JPH06124319A (en) 1992-10-14 1992-10-14 Logical simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4275790A JPH06124319A (en) 1992-10-14 1992-10-14 Logical simulation device

Publications (1)

Publication Number Publication Date
JPH06124319A true JPH06124319A (en) 1994-05-06

Family

ID=17560451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4275790A Pending JPH06124319A (en) 1992-10-14 1992-10-14 Logical simulation device

Country Status (1)

Country Link
JP (1) JPH06124319A (en)

Similar Documents

Publication Publication Date Title
US6487704B1 (en) System and method for identifying finite state machines and verifying circuit designs
JPH02252066A (en) Simulation device
JP2000132416A (en) Semiconductor integrated circuit design verifying device
JP2000268080A5 (en)
JP2788820B2 (en) Simulation equipment
US10929584B1 (en) Environmental modification testing for design correctness with formal verification
CN115599618B (en) Register dynamic change-allocation verification method and device, storage medium and processor
JPH0561931A (en) Simulation device
JPH06124319A (en) Logical simulation device
US20060048082A1 (en) Test-cases for functional verification of system-level interconnect
US6041168A (en) High-speed delay verification apparatus and method therefor
US20020013688A1 (en) Back annotation apparatus for carrying out a simulation based on the extraction result in regard to parasitic elements
US6973422B1 (en) Method and apparatus for modeling and circuits with asynchronous behavior
JP2557128B2 (en) Scan flip-flop initialization method
JP2837469B2 (en) IC test equipment
JP2785708B2 (en) Logic simulation method
JPH09128431A (en) Type verifying system
CN117033193A (en) Verification method, system and storage medium of bus synchronous bridge
JP2729061B2 (en) Zero-delay operation processing method for simulation equipment
JPH06259495A (en) Logic simulation system
JP2990813B2 (en) Failure simulation method
JPH03138774A (en) Logic simulation system
JPH02105943A (en) Simulation system
JPS61127227A (en) Logical module
JPH06215060A (en) Logical simulation device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees