JP2001155043A - Timing check method for logic simulation and recording medium with recorded timing check method - Google Patents

Timing check method for logic simulation and recording medium with recorded timing check method

Info

Publication number
JP2001155043A
JP2001155043A JP33402699A JP33402699A JP2001155043A JP 2001155043 A JP2001155043 A JP 2001155043A JP 33402699 A JP33402699 A JP 33402699A JP 33402699 A JP33402699 A JP 33402699A JP 2001155043 A JP2001155043 A JP 2001155043A
Authority
JP
Japan
Prior art keywords
error
flag information
value
output
state value
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
JP33402699A
Other languages
Japanese (ja)
Inventor
Hiroshi Kikuchi
洋 菊地
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP33402699A priority Critical patent/JP2001155043A/en
Publication of JP2001155043A publication Critical patent/JP2001155043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To output only a true error by removing a pseudo timing check error in an event-driven type logic simulation. SOLUTION: When a timing error is discriminated in a timing check, flag information is added together with timing error information and written in a temporary file 11. A logical operation value is propagated as a state value with the flag information, and when the expected value of a verification pattern is a non-fixed value, the state value is scheduled as it is. When the expected value is not the non-fixed value, the flag information added to that state value is written in an error output flag file 13. When the logic simulation is finished, only the timing error information corresponding to the flag information written in the error output flag file 13 is extracted out of the temporary file 11, written in a result file 12 and outputted so that the pseudo error can be removed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、論理シミュレーシ
ョンにおけるタイミングチェック方法に関し、特に、エ
ラー結果への擬似的なタイミングエラーの混入を防止で
きるタイミングチェック方法及びタイミングチェック方
法を記録したコンピュータ読み取り可能な記録媒体に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timing check method in a logic simulation, and more particularly to a timing check method capable of preventing a pseudo timing error from being mixed into an error result, and a computer-readable recording recording the timing check method. Regarding the medium.

【0002】[0002]

【従来の技術】近年、LSIの大規模化に伴い、回路に
含まれるタイミングスペックを有する内部順序回路セル
(以後、回路内部セルと呼ぶ)の数も急速に増加しつつ
ある。これに伴い、論理シミュレーションにおいて検出
されるタイミングエラー数も増加し、同時にシミュレー
ションではエラーと判定されるが実動作では問題ない擬
似的なタイミングエラー(以後、疑似エラーと呼ぶ)の
混入数も増加している。このため、論理シミュレーショ
ンの実行後に、タイミングエラーレポートに提示された
エラーが疑似エラーか真のエラーかを判別する処理に多
大な時間を費やす状況になっている。レポートされたタ
イミングエラーが疑似エラーか真のエラーかを判別する
には、シミュレーション結果ファイルのエラー情報から
そのエラーが発生した回路内部セル名を参照してエラー
発生セルを把握し、再シミュレーションを実行してエラ
ー発生セルの周辺の信号変化情報を獲得し、得られた信
号変化情報からエラー発生セルの出力状態値の伝播経路
や動作状態を解析する作業を必要とする。論理シミュレ
ーションにおけるタイミングエラーを疑似エラーと判別
する判断基準は、 (1)エラーセルの出力状態値“X”が検証パタンが終
了するまでの間に回路の外部出力端子まで伝播しない。 (2)エラーセルの出力状態値“X”が回路の外部出力
端子まで伝播しても、出力期待値の状態値が不定値
“X”であって実動作において確定した状態値を期待し
ていない。の2通りである。回路設計者は、多数のタイ
ミングエラーのそれぞれのついて上述した判断プロセス
を経てエラーの真偽を判別しなければならないために、
多大な時間を要していた。
2. Description of the Related Art In recent years, with the increase in the scale of LSIs, the number of internal sequential circuit cells (hereinafter, referred to as circuit internal cells) having timing specifications included in circuits has been rapidly increasing. Along with this, the number of timing errors detected in the logic simulation also increases, and at the same time, the number of pseudo timing errors (hereinafter referred to as pseudo errors) which are determined to be errors in the simulation but do not cause any problem in actual operation increases. ing. For this reason, after execution of the logic simulation, a large amount of time is spent on the process of determining whether the error presented in the timing error report is a pseudo error or a true error. To determine whether the reported timing error is a pseudo error or a true error, refer to the cell name inside the circuit where the error occurred from the error information in the simulation result file, identify the cell in which the error occurred, and re-simulate Then, it is necessary to obtain signal change information around the error-occurring cell and analyze the propagation path and operation state of the output state value of the error-occurring cell from the obtained signal change information. The criteria for determining the timing error in the logic simulation as a pseudo error are as follows: (1) The output state value “X” of the error cell does not propagate to the external output terminal of the circuit until the verification pattern ends. (2) Even if the output state value “X” of the error cell propagates to the external output terminal of the circuit, the state value of the expected output value is an indefinite value “X” and the state value determined in actual operation is not expected. . There are two ways. Since the circuit designer must determine whether each of a number of timing errors is true or false through the above-described determination process,
It took a lot of time.

【0003】以下に、特開平6−4614号公報に記載
されたイベントドリブン方式の論理シミュレータをもと
にタイミングエラー情報のレポート手段を付加した論理
シミュレータによるタイミングチェック方法を従来例と
して、疑似エラーの混入について説明する。
A timing check method using a logic simulator to which timing error information reporting means is added based on an event driven logic simulator described in Japanese Patent Application Laid-Open No. 6-4614 will be described as a conventional example. The mixing will be described.

【0004】図7(a)は、イベントドリブン方式の論
理シミュレータの構成図であり、(b)は、論理シミュ
レーションで扱う状態値とその内容の対応図である。図
8は、従来のイベントドリブン方式の論理シミュレーシ
ョンの処理フロー図である。また、図9(a)は、シミ
ュレーション対象回路の回路図の一例であり、(b)
は、(a)の回路中のデータフリップフロップ(DF
F)の真理値およびセレクタの真理値を示す図であり、
(c)は、DFFの動作タイミングスペックを示す図で
ある。まず図7によりシミュレータの構成を説明した後
に、図8のシミュレーションフローを説明し、図9の回
路をシミュレーションしたときに疑似エラーが発生し、
エラーレポートに混入する様子について説明する。
FIG. 7A is a configuration diagram of an event-driven type logic simulator, and FIG. 7B is a diagram showing correspondence between status values handled in the logic simulation and their contents. FIG. 8 is a process flowchart of a conventional event-driven logic simulation. FIG. 9A is an example of a circuit diagram of a circuit to be simulated, and FIG.
Is a data flip-flop (DF) in the circuit of FIG.
F) is a diagram showing the truth value of the selector and the truth value of the selector,
(C) is a diagram showing operation timing specifications of the DFF. First, the configuration of the simulator is described with reference to FIG. 7, and then the simulation flow of FIG. 8 is described. When the circuit of FIG. 9 is simulated, a pseudo error occurs.
A description will be given of a state of being mixed in the error report.

【0005】図7(a)において、回路データ1には、
設計された回路の回路接続情報たとえば図9(a)の回
路図のシミュレータ用の表現が格納されている。検証パ
タン2には、回路データ1の動作検証用入力信号データ
が格納されている。ライブラリ3には、回路内部セルの
論理情報たとえば図9(b)のDFF、セレクタの真理
値情報などが格納されている。回路SDF4は、回路デ
ータ1に使用されている各セルの内部遅延値,タイミン
グスペック,セル間の配線遅延値などが定義された遅延
タイミング情報ファイルであり、図9(c)のDFFの
タイミングスペックはここに格納されている。シミュレ
ータ本体5は、回路データ1,検証パタン2,ライブラ
リ3,回路SDF4からデータを読み込み、タイミング
チェック,論理演算,状態値スケジュールを含む論理シ
ミュレーションを実行し、エラー情報を含む実行結果を
結果ファイル12に出力する。
In FIG. 7A, circuit data 1 includes:
The circuit connection information of the designed circuit, for example, an expression for the simulator of the circuit diagram of FIG. 9A is stored. The verification pattern 2 stores operation verification input signal data of the circuit data 1. The library 3 stores logic information of a circuit internal cell, for example, DFF of FIG. 9B, truth value information of a selector, and the like. The circuit SDF4 is a delay timing information file in which an internal delay value, a timing specification, a wiring delay value between cells, and the like of each cell used in the circuit data 1 are defined. The timing specification of the DFF shown in FIG. Is stored here. The simulator main body 5 reads data from the circuit data 1, the verification pattern 2, the library 3, and the circuit SDF 4, executes a logic simulation including a timing check, a logical operation, and a state value schedule, and outputs an execution result including error information to a result file 12. Output to

【0006】シミュレーションは、信号の変化であるイ
ベントを検出して処理を実行するイベントドリブン方式
で行われ、入力端子、出力端子、内部セルの入出力にお
いて可能な状態値は、図7(b)の通りである。“1”
はハイレベル,“0”はローレベルを示し、“Z”はハ
イインピーダンス状態を示し、“H”,“L”,“W”
はそれぞれ弱いプルアップ状態,弱いプルダウン状態,
弱いプルアップまたはプルダウンのいずれか不確定の状
態を示し、“X”はハイレベルまたはローレベルのいず
れかが不確定な状態を示す。
The simulation is performed in an event-driven system in which an event, which is a signal change, is detected and executed, and the possible state values at the input terminal, the output terminal, and the input / output of the internal cell are shown in FIG. It is as follows. “1”
Indicates a high level, "0" indicates a low level, "Z" indicates a high impedance state, "H", "L", "W".
Are weak pull-up state, weak pull-down state,
Either weak pull-up or pull-down indicates an uncertain state, and “X” indicates a state in which either the high level or the low level is indeterminate.

【0007】次に図8により従来のタイミングチェック
方法について説明する。ステップ181において、シミ
ュレータ本体5に回路データ1から入力されたシミュレ
ーション回路内のセルに対する、検証パタン2から入力
された入力イベントすなわち入力信号の変化を検出し、
ステップ182で入力イベントが回路内部セルのイベン
ト変化か又は入出力端子セルのイベント変化かを判別す
る。回路内部セルのイベント変化であればステップ18
3のタイミングチェックに進んで当該セルの入力イベン
ト時間差を抽出する。
Next, a conventional timing check method will be described with reference to FIG. In step 181, an input event input from the verification pattern 2, that is, a change in the input signal, for a cell in the simulation circuit input from the circuit data 1 to the simulator body 5 is detected,
In step 182, it is determined whether the input event is an event change in a circuit internal cell or an input / output terminal cell event change. Step 18 if the event change of the cell inside the circuit
The process proceeds to timing check 3 to extract the input event time difference of the cell.

【0008】抽出した入力イベント時間差が回路SDF
4内のタイミングスペックを満たしていない場合には、
ステップ184においてタイミングエラー有りと判定
し、ステップ186のタイミングエラー処理に進み、タ
イミングエラー発生時刻、回路内部セル名称、抽出した
入力イベント時間差、タイミングスペック等のタイミン
グエラー情報を一時記憶用ファイルであるテンポラリフ
ァイル11に書き込んだ後に、タイミングエラー発生を
示す出力状態値である不定値“X”をシミュレータ本体
5内の(図示していない)記憶部へ出力する。続いてス
テップ187に進んで遅延値を付加し、ステップ188
で出力状態値をスケジュールする。
The extracted input event time difference is calculated by the circuit SDF.
If the timing specifications in 4 are not met,
In step 184, it is determined that there is a timing error, and the process proceeds to timing error processing in step 186. The timing error information such as the timing error occurrence time, the circuit internal cell name, the extracted input event time difference, and the timing specification is temporarily stored as a temporary file. After writing to the file 11, an indefinite value "X" which is an output state value indicating occurrence of a timing error is output to a storage unit (not shown) in the simulator body 5. Then, the process proceeds to step 187, where a delay value is added.
Schedule output state values with.

【0009】ステップ183で抽出した入力イベント時
間差がタイミングスペックを満たしている場合には、ス
テップ184においてタイミングエラー無しと判定し、
ステップ185の演算処理に進む。ステップ185で
は、まず当該セルの入力状態値を入力し、次に入力状態
値とライブラリ3の論理情報とに基づいて論理演算を行
ない、演算結果の出力状態値をシミュレータ内の記憶部
へ出力する。ステップ187で回路SDF4の遅延タイ
ミング情報に基づいて遅延値を付加してステップ188
で出力状態値をスケジュールする。
If the input event time difference extracted in step 183 satisfies the timing specification, it is determined in step 184 that there is no timing error,
The operation proceeds to the arithmetic processing of step 185. In step 185, first, the input state value of the cell is input, a logical operation is performed based on the input state value and the logical information of the library 3, and the output state value of the operation result is output to the storage unit in the simulator. . At step 187, a delay value is added based on the delay timing information of the circuit SDF4, and at step 188
Schedule output state values with.

【0010】ステップ182において入力イベントが入
出力端子セルのイベント変化である場合には、ステップ
188に進み、状態値をそのままスケジュールする。
If it is determined in step 182 that the input event is an event change of an input / output terminal cell, the flow advances to step 188 to schedule the state value as it is.

【0011】ステップ188でスケジュールされた状態
値は、演算結果としてテンポラリファイルに書き込まれ
る。ステップ189で検証パタン2に格納されたパタン
の終了が検出されるまで本処理を繰り返し、パタン終了
が検出されるとステップ190に進み、テンポラリファ
イル11に格納されているタイミングエラー情報を結果
ファイル12に書き込んで処理を終了する。次に、図9
(a)の回路内部セル名称がA1のDFF(A1),回
路内部セル名称がA2のDFF(A2),回路内部セル
名称がA3のDFF(A3),回路内部セル名称がA4
のセレクタ(A4)で構成された内部回路を例として、
図8の従来例のシミュレーションフローにおいてタイミ
ングエラーが発生した場合について、図10のタイミン
グ図を参照して説明する。DFF(A1),DFF(A
2),DFF(A3)のそれぞれは、図9(b)のよう
にクロック端子Cに加えられるクロック信号の立ち上が
りでデータを読み込んで出力する。セレクタ(A4)
は、セレクト端子Sに入力する信号が“0”のときに端
子Aの信号を選択出力し、セレクト端子Sに入力する信
号が“1”のときに端子Bの信号を出力する。それぞれ
のDFFのタイミングスペックは、図9(c)のよう
に、セットアップ時間が0.5ns、ホールド時間が
0.5nsであり、クロック信号は、ハイレベル幅、ロ
ーレベル幅がそれぞれ1nsであるものとする。また簡
単化のために、各回路内部セルの入力イベントに対する
出力変化の遅延値は同一であるものとする。
The status value scheduled in step 188 is written to a temporary file as a calculation result. This processing is repeated until the end of the pattern stored in the verification pattern 2 is detected in step 189, and when the end of the pattern is detected, the process proceeds to step 190, where the timing error information stored in the temporary file 11 is transferred to the result file 12 And ends the processing. Next, FIG.
(A) DFF (A1) having a circuit internal cell name of A1, DFF (A2) having a circuit internal cell name of A2, DFF (A3) having a circuit internal cell name of A3, and A4 having a circuit internal cell name of A4
As an example, an internal circuit composed of the selector (A4)
A case where a timing error occurs in the simulation flow of the conventional example of FIG. 8 will be described with reference to a timing chart of FIG. DFF (A1), DFF (A
2) and DFF (A3) read and output data at the rising edge of the clock signal applied to clock terminal C as shown in FIG. 9B. Selector (A4)
Selects and outputs the signal at terminal A when the signal input to select terminal S is "0", and outputs the signal at terminal B when the signal input to select terminal S is "1". As shown in FIG. 9C, the timing specification of each DFF has a setup time of 0.5 ns and a hold time of 0.5 ns, and the clock signal has a high-level width and a low-level width of 1 ns each. And For the sake of simplicity, it is assumed that the output change delay value with respect to the input event of each circuit internal cell is the same.

【0012】図10において、図9(a)の第1のデー
タ入力端子D1が29時刻(2.9ns)に変化し、時
刻T1(30時刻=3ns)に、ステップ181でクロ
ック入力端子CKの入力イベントを検出した場合、ステ
ップ182で入力イベントがDFF(A1),DFF
(A2),DFF(A3)のイベント変化であることを
判別し、ステップ183で各DFFのクロック端子Cの
信号変化とデータ端子Dの信号変化の時間差を抽出し、
タイミングスペックと比較し、ステップ184でDFF
(A1)のみにセットアップタイミングエラーが発生し
たと判定する。
In FIG. 10, the first data input terminal D1 in FIG. 9A changes at 29 time (2.9 ns), and at time T1 (30 time = 3 ns), at step 181 the clock input terminal CK is If an input event is detected, in step 182, the input event is DFF (A1), DFF
(A2), it is determined that there is an event change of the DFF (A3), and in step 183, the time difference between the signal change of the clock terminal C and the signal change of the data terminal D of each DFF is extracted.
Compare with the timing specification, and
It is determined that a setup timing error has occurred only in (A1).

【0013】DFF(A2)およびDFF(A3)は、
タイミングエラー無しと判定され、ステップ185で入
力状態値に基づいて論理演算され、出力状態値を出力す
る。
The DFF (A2) and the DFF (A3)
It is determined that there is no timing error, and a logical operation is performed based on the input state value in step 185, and the output state value is output.

【0014】ステップ184でタイミングエラー有りと
判定されたDFF(A1)については、ステップ186
に進んでエラー発生時刻、エラーが発生した回路内部セ
ル名称(A1)、エラー判定理由をタイミングエラー情
報としてテンポラリファイルに書き込んだ後に、DFF
(A1)の出力状態値として不定値“X”を出力する。
For the DFF (A1) determined to have a timing error in step 184, step 186
After writing the error occurrence time, the circuit internal cell name (A1) in which the error occurred, and the error determination reason as timing error information in the temporary file,
An undefined value “X” is output as the output state value of (A1).

【0015】図11は、テンポラリファイル11、結果
ファイル12の内容を示す図である。テンポラリファイ
ル11に書き込まれたタイミングエラー情報において、
(Time 30)はエラー時刻が3nsであることを
表し、A1(DFF)はエラーが発生した回路内部セル
がDFF(A1)であることを表し、(D−C=1(s
pec:5))はDFF(A1)のセットアップ時間ス
ペックが5単位時間(0.5ns)であるのに対してデ
ータ端子Dの信号変化からクロック端子Cの立ち上がり
までの時間が1単位時間(0.1ns)しかないという
理由でエラーと判定されたことを表している。
FIG. 11 is a diagram showing the contents of the temporary file 11 and the result file 12. In the timing error information written in the temporary file 11,
(Time 30) indicates that the error time is 3 ns, A1 (DFF) indicates that the circuit internal cell in which the error has occurred is DFF (A1), and (DC = 1 (s)
ped: 5)) is 5 unit times (0.5 ns) for the setup time specification of the DFF (A1), while the time from the signal change of the data terminal D to the rising of the clock terminal C is 1 unit time (0 ns). .1 ns).

【0016】続いて、ステップ187で遅延値を付加し
てステップ188で状態値をスケジュールする。ここま
でで、DFF(A1)の端子Qに“X”、DFF(A
2)の端子Qに“1”、DFF(A3)の端子Qに
“0”の状態値スケジュールがされたことになる。ステ
ップ189ではパタンが終了していないので、ステップ
181に戻りシミュレーションを継続する。ステップ1
88でスケジュールした各DFFの出力状態値がステッ
プ181でイベントとして検出され、ステップ182で
回路内部セルのセレクタ(A4)の端子Aに“X”、端
子Bに“1”、端子Sに“0”が入力されたと判定さ
れ、セレクタ(A4)にはタイミングスペックが存在し
ないためステップ183は省略、ステップ184はエラ
ー無しとなり、ステップ185の演算処理では、演算結
果の状態値を不定値“X”として状態値出力する。ステ
ップ187で遅延値を付加し、ステップ188で状態値
スケジュールを行なう。
Subsequently, a delay value is added in step 187, and a state value is scheduled in step 188. Up to this point, “X” is applied to the terminal Q of the DFF (A1),
This means that a state value schedule of “1” is set to the terminal Q of 2) and a state value of “0” is set to the terminal Q of the DFF (A3). In step 189, since the pattern has not been completed, the process returns to step 181 to continue the simulation. Step 1
The output state value of each DFF scheduled at 88 is detected as an event at step 181, and at step 182, "X" is applied to the terminal A, "1" is applied to the terminal B, and "0" is applied to the terminal S of the selector (A4) of the circuit internal cell. Is determined to have been input, and since there is no timing specification in the selector (A4), Step 183 is omitted, Step 184 has no error, and in the operation processing of Step 185, the state value of the operation result is set to the indefinite value “X”. And output the status value. At step 187, a delay value is added, and at step 188, a state value schedule is performed.

【0017】次に、出力端子セルN2に対する入力イベ
ントをステップ182で入出力端子セルの変化と判別
し、ステップ188で入力状態値をそのまま出力へスケ
ジュールする。同様に出力端子セルN1に対する入力イ
ベントについてもステップ182で入出力端子セルの変
化と判別し、ステップ188で入力状態値をそのまま出
力へスケジュールする。以上で、時刻T1におけるイベ
ントに対する処理が完了する。
Next, the input event to the output terminal cell N2 is determined to be a change in the input / output terminal cell in step 182, and the input state value is scheduled to be output as it is in step 188. Similarly, for an input event to the output terminal cell N1, it is determined in step 182 that the input / output terminal cell has changed, and in step 188, the input state value is scheduled for output as it is. Thus, the process for the event at the time T1 is completed.

【0018】同様にして、データ入力端子D3の49時
刻(4.9ns)の変化に対する時刻T2(50時刻=
5ns)での処理でDFF(A3)のタイミングエラー
を検出した場合にも、テンポラリファイル11に図11
の(Time 50)の項目のタイミングエラー情報が
書き込まれる。
Similarly, a time T2 (50 time = 50 time) with respect to a change of 49 time (4.9 ns) at the data input terminal D3.
5 ns), a temporary error is detected in the temporary file 11 even if a timing error of the DFF (A3) is detected.
(Time 50) is written.

【0019】データ入力端子D1の129時刻(12.
9ns)の変化に対する時刻T3(130時刻=13n
s)での処理も同様であり、DFF(A1)でタイミン
グエラーを検出し、テンポラリファイル11には(Ti
me 130)の項目のタイミングエラー情報が書き込
まれる。
129 time of the data input terminal D1 (12.
Time T3 (130 time = 13n) for a change of 9 ns
s), the timing error is detected by the DFF (A1), and (Ti) is stored in the temporary file 11.
The timing error information of the item of “me 130)” is written.

【0020】データ入力端子D3の149時刻(14.
9ns)の変化に対する時刻T4(150時刻=15n
s)での処理についても、DFF(A3)でのタイミン
グエラーを検出し、テンポラリファイル11には(Ti
me 150)の項目のタイミングエラー情報が書き込
まれる。
The time 149 at the data input terminal D3 (14.
9 ns) at the time T4 (150 time = 15n)
In the processing in s), the timing error in the DFF (A3) is detected, and (Ti
The timing error information of the item of “me 150)” is written.

【0021】ステップ189で検証パタンの終了を検出
すると、ステップ190においてテンポラリファイル1
1に書き込まれているタイミングエラー情報を結果ファ
イルに書き込み、処理を終了する。 図11に一連の処
理において生成されるテンポラリファイル11に記録さ
れたタイミングエラー情報および結果ファイル12に記
録されたタイミングエラー情報を示す。図8の従来例の
シミュレーションフローによれば、テンポラリファイル
11のタイミングエラー情報と結果ファイル12のタイ
ミングエラー情報とは同一となる。
When the end of the verification pattern is detected in step 189, the temporary file 1
The timing error information written in No. 1 is written in the result file, and the process is terminated. FIG. 11 shows the timing error information recorded in the temporary file 11 and the timing error information recorded in the result file 12 generated in a series of processing. According to the simulation flow of the conventional example in FIG. 8, the timing error information of the temporary file 11 and the timing error information of the result file 12 are the same.

【0022】ここで図10を参照してそれぞれのエラー
が真のエラーであるか又は疑似エラーであるかを吟味す
ると、時刻T1のエラーは出力端子N1の出力状態値の
期待値“1”に対して演算値が“X”であるので真のエ
ラーであり、時刻T2のエラーも出力端子N2の出力状
態値の期待値“1”に対して演算値が“X”であるので
真のエラーであるが、時刻T3のエラーおよび時刻T4
のエラーは実は疑似エラーに過ぎない。時刻T3のエラ
ーは、このエラーによる出力状態値“X”が、検証パタ
ンの終了に至るまでの間に出力端子N1に現れないの
で、先に上げた判断基準(1)に該当する疑似エラーで
あり、時刻T4のエラーは、出力端子N2の出力状態値
の期待値が“X”であるので、判断基準(2)に該当す
る疑似エラーである。
Referring to FIG. 10, whether each error is a true error or a pseudo error is examined, the error at time T1 becomes the expected value "1" of the output state value of output terminal N1. On the other hand, since the operation value is "X", this is a true error, and the error at time T2 is a true error because the operation value is "X" with respect to the expected value "1" of the output state value of the output terminal N2. But the error at time T3 and the time T4
Is actually a pseudo error. The error at time T3 is a pseudo error corresponding to the criterion (1) given above because the output state value “X” due to this error does not appear at the output terminal N1 until the end of the verification pattern. The error at time T4 is a pseudo error corresponding to the criterion (2) because the expected value of the output state value of the output terminal N2 is "X".

【0023】[0023]

【発明が解決しようとする課題】以上に説明したよう
に、従来例においては、最終的なタイミングエラー情報
を出力する結果ファイルには疑似エラーが混入する。こ
のために、論理シミュレーションの実行後に、レポート
されたタイミングエラーについて結果ファイルのタイミ
ングエラー情報からエラー発生セルを把握し、再シミュ
レーションを実行してエラー発生セルの周辺の信号変化
情報(図10に相当)を獲得し、出力状態値の伝播経路
や動作状態を解析することによって、疑似エラーか真の
エラーかを判別する必要があり、判別処理に多大な時間
を費やす状況になっている。
As described above, in the conventional example, a pseudo error is mixed in a result file for outputting final timing error information. For this reason, after the execution of the logic simulation, the cell in which the error has occurred is grasped from the timing error information in the result file with respect to the reported timing error, and the re-simulation is executed to obtain the signal change information around the error cell (corresponding to FIG. ) And analyzing the propagation path of the output state value and the operation state to determine whether the error is a pseudo error or a true error, and the determination process takes a lot of time.

【0024】本発明の目的は、テンポラリファイルから
結果ファイルにタイミングエラー情報を書き込むにあた
って、真のエラーのみを抽出して結果ファイルに書き込
むことのできるタイミングチェック方法を提供すること
である。
An object of the present invention is to provide a timing check method capable of extracting only true errors and writing the same in a result file when writing timing error information from a temporary file to a result file.

【0025】[0025]

【課題を解決するための手段】本発明の第1の発明の論
理シミュレータにおけるタイミングチェック方法は、回
路内部セルおよび入出力端子セルのタイミングチェック
と論理演算および期待値との照合機能を有する論理シミ
ュレータにおけるタイミングチェック方法において、タ
イミングチェックでタイミングエラーと判定されたとき
にエラー情報と一対一に対応したフラグ情報を付加して
第1の記憶手段に記憶しフラグ情報付き不定値を状態値
として出力するフラグ情報付きタイミングエラー処理ス
テップと、状態値を入力し該状態値がフラグ情報付きで
あるときには該フラグ情報を伝搬させながら回路内部セ
ルの論理演算を実行し演算結果の状態値を出力するフラ
グ情報付き演算処理ステップと、出力端子セルの出力状
態値に前記フラグ情報が付加されていて且つ検証パタン
の出力期待値が不定値ではない場合に前記フラグ情報を
第2の記憶手段に記憶する疑似エラー消去処理ステップ
と、論理シミュレーション実行完了後に、前記第1の記
憶手段に記憶されているエラー情報から前記第2の記憶
手段に記憶されているフラグ情報に対応するエラー情報
のみを抽出してエラー結果ファイルを作成するエラー抽
出/結果ファイル作成処理ステップとを有している。
According to a first aspect of the present invention, there is provided a timing check method in a logic simulator, comprising: a logic simulator having a function of checking timing of a circuit internal cell and an input / output terminal cell, and performing a logical operation and a comparison with an expected value; In the timing check method described above, when it is determined that a timing error has occurred in the timing check, flag information corresponding to the error information on a one-to-one basis is added and stored in the first storage means, and an undefined value with flag information is output as a state value. A timing error processing step with flag information, and flag information for inputting a state value and performing a logical operation on a circuit internal cell while propagating the flag information when the state value has flag information, and outputting a state value of the operation result Operation processing step, and the flag is added to the output state value of the output terminal cell. A pseudo error erasure processing step of storing the flag information in the second storage means when the information is added and the output expected value of the verification pattern is not an indefinite value; Error extraction / result file creation processing step of extracting only error information corresponding to the flag information stored in the second storage means from the error information stored in the means and creating an error result file. ing.

【0026】第2の発明の論理シミュレータにおけるタ
イミングチェック方法は、イベントの入力を検出するイ
ベント検出ステップと、イベント入力対象が回路内部セ
ルか入出力端子セルかを判定する対象判定ステップと、
前記対象判定ステップで対象が回路内部セルと判定され
たときに前記回路内部セルのタイミングチェックを実行
するタイミングチェックステップと、タイミングチェッ
クのエラーの有無を判定するエラー判定ステップと、前
記エラー判定ステップでタイミングエラーが有るときに
該タイミングエラーのエラー情報と一対一に対応したフ
ラグ情報を付加してテンポラリファイルに格納した後に
フラグ情報付き不定値を状態値として出力するフラグ情
報付きタイミングエラー処理ステップと、前記エラー判
定ステップでタイミングエラーが無いと判定されたとき
に状態値を入力し該状態値がフラグ情報付きであるとき
には該フラグ情報を伝搬させながら回路内部セルの論理
演算を実行し演算結果の状態値を出力するフラグ情報付
き演算処理ステップと、前記フラグ情報付きタイミング
エラー処理ステップ又は前記フラグ情報付き演算処理付
きタイミングエラー処理ステップで出力された回路内部
セルの状態値にセル種類固有の遅延値を付加する遅延付
加処理ステップと、前記対象判定ステップで対象が入出
力端子セルと判定されたときに対象セルの出力状態値に
前記フラグ情報が付加されていて且つ検証パタンの出力
期待値が不定値ではない場合に前記フラグ情報をエラー
出力ファイルに書き込む疑似エラー消去処理ステップ
と、前記遅延付加処理ステップ又は前記疑似エラー消去
処理ステップによって出力された状態値をスケジュール
する状態値スケジュールステップと、検証パタンの終了
を判定し終了してないならば前記イベント検出ステップ
に戻り終了ならば次ステップに進むパタン終了判定ステ
ップと、前記テンポラリファイルに格納されている前記
フラグ情報が付加されたエラー情報から前記エラー出力
フラグファイルに書き込み登録されたフラグ情報に対応
するエラー情報のみを抽出して結果ファイルに出力する
エラー抽出/結果ファイル作成処理ステップとを有して
いる。第2の発明において、前記フラグ情報付き演算処
理ステップが、内部回路セルへの入力状態値を入力する
第1のサブステップと、前記入力状態値にフラグ情報が
付加されているか判定する第2のサブステップと、フラ
グ情報が付加済のときには該フラグ情報を記憶する第3
のサブステップと、前記第2のサブステップでフラグ情
報が付加されていないと判定されたとき又は前記第3の
サブステップに続いて前記回路内部セルの論理演算機能
に基づき論理演算を実行する第4のサブステップと、前
記論理演算の結果で前記回路内部セルの出力状態値が不
定値であるかを判定する第5のサブステップと、前記第
5のサブステップにおいて出力状態値が不定値であると
判定されたときに前記第3のサブステップにおいて記憶
した前記フラグ情報を前記出力状態値に付加する第6の
サブステップと、前記第5のサブステップで出力状態値
が不定値でないとき又は前記第6のサブステップに続い
て出力状態値を出力する第7のサブステップとを有する
構成としてもよい。
A timing check method in a logic simulator according to a second aspect of the present invention includes an event detecting step of detecting an event input, a target determining step of determining whether an event input target is a circuit internal cell or an input / output terminal cell,
A timing check step of performing a timing check of the circuit internal cell when the target is determined to be a circuit internal cell in the target determination step; an error determining step of determining whether there is an error in the timing check; and A timing error processing step with flag information for outputting an undefined value with flag information as a status value after adding a flag information corresponding to the error information of the timing error in a one-to-one manner and storing it in a temporary file when there is a timing error; When it is determined in the error determination step that there is no timing error, a state value is input, and when the state value has flag information, a logic operation is performed on a circuit internal cell while propagating the flag information, and a state of the operation result is obtained. Operation step with flag information to output a value A delay addition processing step of adding a delay value specific to a cell type to a state value of a circuit internal cell output in the timing error processing step with flag information or the timing error processing step with arithmetic processing with flag information; When the flag information is added to the output state value of the target cell when the target is determined as the input / output terminal cell in the determination step, and the output expected value of the verification pattern is not an undefined value, the flag information is output as an error. A pseudo error erasure processing step for writing to a file; a state value scheduling step for scheduling the state value output by the delay addition processing step or the pseudo error erasure processing step; When the process returns to the event detection step and ends, the process proceeds to the next step. Ending judgment step, extracting only error information corresponding to the flag information written and registered in the error output flag file from the error information added with the flag information stored in the temporary file and outputting the extracted error information to a result file Error extraction / result file creation processing step. In the second invention, the arithmetic processing step with flag information includes a first sub-step of inputting an input state value to an internal circuit cell, and a second step of determining whether flag information is added to the input state value. A third step of storing the flag information when the flag information has been added;
A sub-step of executing a logical operation based on a logical operation function of the circuit internal cell when it is determined that the flag information is not added in the second sub-step or after the third sub-step. A fourth sub-step, a fifth sub-step of determining whether an output state value of the circuit internal cell is an indefinite value based on a result of the logical operation, and an output state value having an indefinite value in the fifth sub-step. A sixth sub-step of adding the flag information stored in the third sub-step to the output state value when it is determined that the output state value is not an indefinite value in the fifth sub-step; or A seventh sub-step of outputting an output state value following the sixth sub-step may be adopted.

【0027】第3の発明の論理シミュレータにおけるタ
イミングチェック方法は、第2の発明におけるフラグ演
算処理ステップを、エラー判定ステップでタイミングエ
ラーが無いと判定されたときに状態値を入力し該状態値
がフラグ情報付きであるときには該フラグ情報を伝搬さ
せながら回路内部セルの論理演算を実行し演算結果の状
態値が不定値であるときには前記回路内部セルの名称と
前記フラグ情報とを記憶してから前記演算結果の状態値
を出力するフラグ情報付き演算処理ステップに置き換
え、また、状態値スケジュールステップを、遅延付加処
理ステップ又は疑似エラー消去処理ステップによって出
力された状態値をスケジュールするとともにフラグ情報
付き演算処理ステップで記憶された回路内部セルの名称
とフラグ情報とを前記テンポラリファイルに書き込む状
態値スケジュールステップに置き換えたものである。第
3の発明において、フラグ情報付き演算処理ステップ
が、内部回路セルへの入力状態値を入力する第1のサブ
ステップと、前記入力状態値にフラグ情報が付加されて
いるか判定する第2のサブステップと、フラグ情報が付
加済のときには該フラグ情報を記憶する第3のサブステ
ップと、前記第2のサブステップでフラグ情報が付加さ
れていないと判定されたとき又は前記第3のサブステッ
プに続いて前記回路内部セルの論理演算機能に基づき論
理演算を実行する第4のサブステップと、前記論理演算
の結果で前記回路内部セルの出力状態値が不定値である
かを判定する第5のサブステップと、前記第5のサブス
テップにおいて出力状態値が不定値であると判定された
ときに前記第3のサブステップにおいて記憶した前記フ
ラグ情報を前記出力状態値に付加する第6のサブステッ
プと、出力状態値が不定値と判定された前記回路内部セ
ルの名称と前記フラグ情報とを記憶する第7のサブステ
ップと、前記第5のサブステップで出力状態値が不定値
でないとき又は前記第6のサブステップに続いて出力状
態値を出力する第8のサブステップとを有して構成して
もよい。
According to a third aspect of the present invention, there is provided a timing check method for a logic simulator, comprising the steps of: inputting a status value to the flag calculation processing step in the second invention when it is determined in the error determination step that there is no timing error; When the flag information is included, the logic operation of the circuit internal cell is performed while propagating the flag information, and when the state value of the operation result is an indefinite value, the name of the circuit internal cell and the flag information are stored and then the An operation processing step with flag information for outputting a state value of an operation result is replaced.In addition, the state value scheduling step schedules the state value output in the delay addition processing step or the pseudo error elimination processing step and performs the operation processing with flag information. The name and flag information of the circuit internal cell stored in the step It is replaced with a state value schedule step of writing to a temporary file. In the third aspect, the arithmetic processing step with flag information includes a first sub-step of inputting an input state value to an internal circuit cell, and a second sub-step of determining whether flag information is added to the input state value. Step, a third sub-step for storing the flag information when the flag information has been added, and when the flag information is determined not to be added in the second sub-step or when the third sub-step is performed. A fourth sub-step of performing a logical operation based on a logical operation function of the circuit internal cell; and a fifth step of determining whether an output state value of the circuit internal cell is an indefinite value based on a result of the logical operation. And outputting the flag information stored in the third sub-step when the output state value is determined to be indefinite in the sub-step and the fifth sub-step. A sixth sub-step of adding the state value to the state value, a seventh sub-step of storing the name of the circuit internal cell whose output state value is determined to be an indefinite value, and the flag information, and a fifth sub-step. When the output state value is not an indefinite value, an eighth sub-step of outputting the output state value following the sixth sub-step may be provided.

【0028】また、第1,第2の発明において、前記疑
似エラー消去処理ステップが、イベント対象が出力端子
セルであるかを判定する第1のサブステップと、前記第
1のサブステップで出力端子セルと判定されたときに該
出力端子セルの出力状態値にフラグ情報が付加されてい
るか否かを判定する第2のサブステップと、前記第2の
サブステップでフラグ情報が付加されていれば前記出力
状態値に対する期待値が不定値であるかを判定する第3
のサブステップと、前記第3のサブステップで前記期待
値が不定値ではないと判定されたときに前記出力状態値
に付加されたフラグ情報を前記エラー出力フラグに書き
込み登録する第4のサブステップとを有して構成しても
よい。
In the first and second inventions, the pseudo error erasure processing step includes a first sub-step for determining whether an event target is an output terminal cell, and an output terminal for the first sub-step. A second sub-step of determining whether or not flag information is added to the output state value of the output terminal cell when it is determined that the cell is a cell; and if the flag information is added in the second sub-step, A third step of determining whether an expected value for the output state value is an indefinite value
And a fourth sub-step of writing and registering the flag information added to the output state value in the error output flag when it is determined in the third sub-step that the expected value is not an undefined value. And may be configured to include:

【0029】また、第4の発明のタイミングチェック方
法を記録したコンピュータ読み取り可能な記録媒体は、
イベントの入力を検出するイベント検出しイベント入力
対象が回路内部セルか入出力端子セルかを判定する第1
のプログラムと、前記対象判定ステップで対象が回路内
部セルと判定されたときに前記回路内部セルのタイミン
グチェックを実行しタイミングチェックのエラーの有無
を判定する第2のプログラムと、前記タイミングチェッ
クでタイミングエラーが有るときに該タイミングエラー
のエラー情報と一対一に対応したフラグ情報を付加して
テンポラリファイルに格納した後にフラグ情報付き不定
値を状態値として出力する第3のプログラムと、前記タ
イミングチェックでタイミングエラーが無いと判定され
たときに状態値を入力し該状態値がフラグ情報付きであ
るときには該フラグ情報を伝搬させながら回路内部セル
の論理演算を実行し演算結果の状態値を出力する第4の
プログラムと、出力された回路内部セルの状態値にセル
種類固有の遅延値を付加する第5のプログラムと、イベ
ント入力対象が入出力端子セルと判定されたときに対象
セルの出力状態値に前記フラグ情報が付加されていて且
つ検証パタンの出力期待値が不定値ではない場合に前記
フラグ情報をエラー出力ファイルに書き込む第6のプロ
グラムと、出力された状態値をスケジュールした後に検
証パタンの終了を判定し検証パタンが終了していないな
らば前記第1のプログラムへ接続し検証パタンが終了な
らば前記テンポラリファイルに格納されている前記フラ
グ情報が付加されたエラー情報から前記エラー出力フラ
グファイルに書き込み登録されたフラグ情報に対応する
エラー情報のみを抽出して結果ファイルに出力する第7
のプログラムとを有している。
A computer-readable recording medium on which the timing check method of the fourth invention is recorded,
First event detection for detecting an event input and determination of whether the event input target is a circuit internal cell or an input / output terminal cell
A second program for performing a timing check of the circuit internal cell when the target is determined to be a circuit internal cell in the target determining step, and determining whether there is an error in the timing check; A third program that, when there is an error, adds flag information one-to-one with the error information of the timing error and stores it in a temporary file, and then outputs an indefinite value with flag information as a status value; When it is determined that there is no timing error, a state value is input, and when the state value has flag information, a logic operation of the circuit internal cell is performed while propagating the flag information, and a state value of the operation result is output. 4 and the cell type specific delay value in the output circuit internal cell state value The fifth program to be added, and when the flag information is added to the output state value of the target cell when the event input target is determined to be an input / output terminal cell, and the expected output value of the verification pattern is not an indefinite value A sixth program for writing the flag information to an error output file, and judging the end of the verification pattern after scheduling the output state values. If the verification pattern has not been ended, connect to the first program for verification. If the pattern is completed, only the error information corresponding to the flag information written and registered in the error output flag file is extracted from the error information added with the flag information stored in the temporary file and output to the result file. Seventh
Program.

【0030】第5の発明のタイミングチェック方法を記
録したコンピュータ読み取り可能な記録媒体は、第4の
発明における第4のプログラムを、タイミングエラーが
無いと判定されたときに状態値を入力し該状態値がフラ
グ情報付きであるときには該フラグ情報を伝搬させなが
ら回路内部セルの論理演算を実行し演算結果の状態値が
不定値であるときには前記回路内部セルの名称と前記フ
ラグ情報とを記憶してから前記演算結果の状態値を出力
する第4のプログラムに置き換え、また、第7のプログ
ラムを、出力された状態値をスケジュールするとともに
前記フラグ情報付き演算処理ステップで記憶された回路
内部セルの名称とフラグ情報とを前記テンポラリファイ
ルに書き込んだ後に検証パタンの終了を判定し検証パタ
ンが終了していないならば前記第1のプログラムへ接続
し検証パタンが終了ならば前記テンポラリファイルに格
納されている前記フラグ情報が付加されたエラー情報か
ら前記エラー出力フラグファイルに書き込み登録された
フラグ情報に対応するエラー情報のみを抽出して結果フ
ァイルに出力する第7のプログラムに置き換えたもので
ある。
A computer-readable recording medium on which the timing check method according to the fifth invention is recorded is characterized in that the fourth program according to the fourth invention is provided by inputting a state value when it is determined that there is no timing error. When the value has the flag information, the logic operation of the circuit internal cell is performed while propagating the flag information. When the state value of the operation result is an indefinite value, the name of the circuit internal cell and the flag information are stored. And a fourth program which outputs the state value of the operation result from the fourth program. The seventh program schedules the output state value and stores the name of the circuit internal cell stored in the operation step with flag information. And the flag information are written to the temporary file, and then the end of the verification pattern is determined. Then, if the connection to the first program is made and the verification pattern is completed, an error corresponding to the flag information written and registered in the error output flag file from the error information added with the flag information stored in the temporary file is registered. It is replaced with a seventh program that extracts only information and outputs it to a result file.

【0031】[0031]

【発明の実施の形態】本発明では、タイミングチェック
においてタイミングエラーと判定された場合に、タイミ
ングエラー情報と共に個々のタイミングエラーに対応す
る特定の符号であるフラグ情報を付加してテンポラリフ
ァイルに書き込むとともに、演算ステップ以降にはフラ
グ情報付きの状態値を伝搬して出力状態値をスケジュー
ルし、出力端子セルにフラグ情報付きの状態値が伝播さ
れた際に、疑似エラー消去処理を行って真のエラーのフ
ラグ情報を抽出し、テンポラリファイルに記録されたタ
イミングエラー情報のうち真のエラーと判定されたフラ
グ情報を有するエラー情報のみを選別して結果ファイル
に書き込むことにより、疑似エラーを排除したタイミン
グエラー情報を得ることができる。
According to the present invention, when a timing error is determined in a timing check, flag information which is a specific code corresponding to each timing error is added to the temporary file together with the timing error information. After the operation step, the state value with the flag information is propagated to schedule the output state value. When the state value with the flag information is propagated to the output terminal cell, the pseudo error erasure processing is performed and the true error is performed. Timing information that excludes pseudo-errors by extracting only the error information having the flag information determined to be a true error from the timing error information recorded in the temporary file and writing it to the result file. Information can be obtained.

【0032】図1は本発明の論理シミュレーションにお
けるタイミングチェック方法の一実施形態の処理フロー
図である。ここで、図1の論理シミュレーションを実行
する論理シミュレータの全体構成は、図7(a)の従来
例の構成と同様である。図2は、本実施の形態における
入力端子、出力端子、内部セルの入出力において可能な
状態値と内容との対応を示す図であるが、図7(b)の
従来例にフラグ情報付き不定値を表す“X(1)”〜
“X(n)”が付加されている。以下に図1の処理フロ
ーについて説明する。
FIG. 1 is a processing flowchart of an embodiment of a timing check method in a logic simulation according to the present invention. Here, the overall configuration of the logic simulator that executes the logic simulation of FIG. 1 is the same as the configuration of the conventional example of FIG. 7A. FIG. 2 is a diagram showing the correspondence between the state values and the contents that can be input and output to and from the input terminal, the output terminal, and the internal cell in the present embodiment. In the conventional example of FIG. “X (1)” representing a value
“X (n)” is added. Hereinafter, the processing flow of FIG. 1 will be described.

【0033】イベント検出ステップ101において、シ
ミュレータ本体5に回路データ1から入力されたシミュ
レーション回路内のセルに対する、検証パタン2から入
力された入力イベントを検出し、対象判定ステップ10
2で入力イベントが回路内部セルのイベント変化か又は
入出力端子セルのイベント変化かを判別する。回路内部
セルのイベント変化であればタイミングチェックステッ
プ103のタイミングチェックに進んで当該セルの入力
イベント時間差を抽出する。
In an event detection step 101, an input event input from the verification pattern 2 is detected for a cell in the simulation circuit input from the circuit data 1 to the simulator body 5, and an object determination step 10
In step 2, it is determined whether the input event is an event change in a circuit internal cell or an input / output terminal cell event change. If the event changes in a cell inside the circuit, the process proceeds to the timing check of the timing check step 103 to extract the input event time difference of the cell.

【0034】抽出した入力イベント時間差がタイミング
スペックを満たしていない場合には、エラー判定ステッ
プ104においてタイミングエラー有りと判定し、フラ
グ情報付きタイミングエラー処理ステップ106に進
み、サブステップ121でエラーに特定の符号(ここで
はエラー発生順の一連番号とする)およびタイミングエ
ラー発生時刻、回路内部セル名称、抽出した入力イベン
ト時間差、タイミングスペック等のタイミングエラー情
報を一時記憶用ファイルであるテンポラリファイル11
に書き込んだ後に、サブステップ122でフラグ情報付
き不定値“X(n)”を出力状態値としてシミュレータ
本体5内の記憶部へ出力する。次に遅延付加処理ステッ
プ107に進んで遅延値を付加し、状態値スケジュール
ステップ108で出力状態値をスケジュールする。
If the extracted input event time difference does not satisfy the timing specifications, it is determined that there is a timing error in the error determination step 104, the process proceeds to the timing error processing step with flag information step 106, and in the sub-step 121, an error is specified. A temporary file 11 as a temporary storage file stores a code (here, a serial number in the order of error occurrence), a timing error occurrence time, a circuit internal cell name, an extracted input event time difference, timing specification and other timing error information.
After that, in the sub-step 122, the undefined value “X (n)” with the flag information is output to the storage unit in the simulator body 5 as the output state value. Next, the process proceeds to a delay addition processing step 107 to add a delay value, and an output state value is scheduled in a state value scheduling step 108.

【0035】タイミングチェックステップ103で抽出
した入力イベント時間差がタイミングスペックを満たし
ている場合には、エラー判定ステップ104においてタ
イミングエラー無しと判定し、フラグ情報付き演算処理
ステップ105に進む。
If the input event time difference extracted in the timing check step 103 satisfies the timing specification, it is determined in the error determination step 104 that there is no timing error, and the flow proceeds to the arithmetic processing step 105 with flag information.

【0036】図3はフラグ情報付き演算処理105の詳
細フロー図である。まずサブステップ131において対
象セルの入力状態値を入力し、次にサブステップ132
でフラグ情報が既に付加されているかを判定する。入力
状態値がフラグ情報付きである場合にはサブステップ1
33に進みフラグ情報をシミュレータ本体5内の記憶部
に記憶してサブステップ134に進む。サブステップ1
32で入力状態値のいずれにもフラグ情報が付加されて
いないと判定された場合にもサブステップ134に進
む。サブステップ134では、入力状態値とライブラリ
3の論理情報とに基づいて論理演算を行ない出力状態値
を求める。サブステップ135で出力状態値が不定値か
否かを判定し、不定値である場合にはステップ136に
進み、出力状態値にサブステップ133で記憶したフラ
グ情報を読み出して出力状態値に付加し、サブステップ
137に進んで出力状態値を出力する。サブステップ1
35で出力状態値が不定値ではないと判定された場合に
は、サブステップ137に進み出力状態値を出力する。
以上のフラグ情報付き演算処理ステップ105の後に、
遅延付加処理ステップ107に進む。
FIG. 3 is a detailed flowchart of the arithmetic processing with flag information 105. First, in step 131, the input state value of the target cell is input.
It is determined whether flag information has already been added. If the input state value has flag information, sub-step 1
The program proceeds to 33, where the flag information is stored in the storage section in the simulator body 5, and the procedure proceeds to sub-step 134. Substep 1
If it is determined in S32 that no flag information is added to any of the input state values, the process proceeds to substep 134. In sub-step 134, a logical operation is performed based on the input state value and the logic information of library 3 to obtain an output state value. At sub-step 135, it is determined whether or not the output state value is an undefined value. If the output state value is undefined, the process proceeds to step 136, at which the flag information stored at sub-step 133 is read out and added to the output state value. , The sub-step 137 is performed to output the output state value. Substep 1
If it is determined at 35 that the output state value is not an indefinite value, the process proceeds to sub-step 137 to output the output state value.
After the above-described arithmetic processing step 105 with flag information,
The process proceeds to the delay addition processing step 107.

【0037】遅延付加処理ステップ107では回路SD
F4の遅延タイミング情報に基づいて遅延値を付加して
状態値スケジュールステップ108で出力状態値をスケ
ジュールする。
In the delay adding processing step 107, the circuit SD
A delay value is added based on the delay timing information of F4, and an output state value is scheduled in a state value scheduling step 108.

【0038】対象判定ステップ102において入力イベ
ントが入出力端子セルのイベント変化である場合には、
疑似エラー消去処理ステップ111に進む。図4は、疑
似エラー消去処理ステップ111の詳細フロー図であ
る。まずサブステップ141で、イベント対象が出力端
子セルか否かを判定する。出力端子であればサブステッ
プ142に進み出力端子の出力状態値にフラグ情報が付
加されているか否かを判定する。サブステップ142で
フラグ情報が付加されていればサブステップ143に進
み、出力端子の出力状態値の期待値が不定値“X”であ
るか否かを判定する。サブステップ141で出力端子で
はないと判定されたとき、サブステップ142で出力状
態値にフラグ情報が付加されていないと判定されたと
き、およびサブステップ143で期待値が不定値“X”
であるときには、疑似エラー消去処理を完了して状態値
スケジュールステップ108に進む。サブステップ14
3で期待値が不定値“X”ではないときには、この出力
端子のフラグ情報付き状態値は真のエラーを示している
ので、サブステップ144に進んでフラグ情報をエラー
出力フラグファイル13に書き込んだ後に疑似エラー消
去処理を完了して状態値スケジュールステップ108に
進む。
If the input event is an event change of the input / output terminal cell in the object determination step 102,
The process proceeds to the pseudo error erasure processing step 111. FIG. 4 is a detailed flowchart of the pseudo error erasure processing step 111. First, in sub-step 141, it is determined whether or not the event target is an output terminal cell. If it is an output terminal, the flow advances to sub-step 142 to determine whether or not flag information is added to the output state value of the output terminal. If the flag information is added in the sub-step 142, the process proceeds to the sub-step 143, and it is determined whether or not the expected value of the output state value of the output terminal is the indefinite value “X”. When it is determined in substep 141 that the terminal is not an output terminal, when it is determined in substep 142 that flag information is not added to the output state value, and when the expected value is indefinite value “X” in substep 143.
If, the pseudo error erasing process is completed and the process proceeds to the status value scheduling step 108. Sub-step 14
When the expected value is not the undefined value “X” in 3, since the status value with flag information of this output terminal indicates a true error, the process proceeds to sub-step 144 and the flag information is written to the error output flag file 13. Thereafter, the pseudo error erasing process is completed, and the process proceeds to the state value scheduling step 108.

【0039】状態値スケジュールステップ108でスケ
ジュールされた状態値は、演算結果としてテンポラリフ
ァイル11に書き込まれる。パタン終了判定ステップ1
09で検証パタン2に格納されたパタンが終了が検出さ
れるまで本処理を繰り返し、パタン終了が検出されると
エラー抽出/結果ファイル作成処理ステップ110に進
み、テンポラリファイル11に格納されているタイミン
グエラー情報のうちのエラー出力フラグファイル13に
書き込まれたフラグ情報に対応するタイミングエラー情
報のみを抽出し、真のタイミングエラー情報として結果
ファイル12に書き込んで処理を終了する。
The status value scheduled in the status value scheduling step 108 is written to the temporary file 11 as a calculation result. Pattern end judgment step 1
This processing is repeated until the end of the pattern stored in the verification pattern 2 is detected in step 09, and when the end of the pattern is detected, the process proceeds to the error extraction / result file creation processing step 110, and the timing stored in the temporary file 11 Only the timing error information corresponding to the flag information written in the error output flag file 13 out of the error information is extracted, written in the result file 12 as true timing error information, and the process ends.

【0040】本実施の形態においては、シミュレーショ
ン回路内部セルにタイミングエラーが発生しても、その
回路内部セルが出力するタイミングエラー状態値“X”
が外部出力端子にまで伝搬しない場合と、伝搬しても検
証パタンの期待値が不定値“X”であった場合には、そ
のタイミングエラーを自動的に疑似エラーと判断して結
果ファイルに書き込まないようにしたので、疑似エラー
の混入を防止でき、疑似エラー解析工数を大幅に削減す
ることができる。次に、図1のシミュレーションフロー
においてタイミングエラーが発生した場合について、従
来例の説明と同様に、図9(a)の内部回路を例とし
て、従来例と同様に図10のタイミング図を参照して説
明する。DFF(A1),DFF(A2),DFF(A
3)の機能、タイミングスペックについても従来例と同
じく図9(b),(c)に示したものとする。
In this embodiment, even if a timing error occurs in a cell inside the simulation circuit, the timing error state value “X” output from the cell inside the circuit is output.
Is not propagated to the external output terminal, or if the expected value of the verification pattern is an undefined value “X” even if it propagates, the timing error is automatically determined as a pseudo error and written to the result file. Since no pseudo error is included, the pseudo error can be prevented from being mixed, and the number of steps of the pseudo error analysis can be greatly reduced. Next, in the case where a timing error has occurred in the simulation flow of FIG. 1, similarly to the description of the conventional example, the internal circuit of FIG. Will be explained. DFF (A1), DFF (A2), DFF (A
The functions and timing specifications of 3) are also shown in FIGS. 9B and 9C as in the conventional example.

【0041】図10において、図9(a)の第1のデー
タ入力端子D1が29時刻(2.9ns)に変化し、時
刻T1(30時刻=3ns)に、イベント検出ステップ
101でクロック入力端子CKの入力イベントを検出し
た場合、対象判定ステップ102で入力イベントがDF
F(A1),DFF(A2),DFF(A3)のイベン
ト変化であることを判別し、タイミングチェックステッ
プ103で各DFFのクロック端子Cの信号変化とデー
タ端子Dの信号変化の時間差を抽出し、タイミングスペ
ックと比較し、エラー判定ステップ104でDFF(A
1)のみにセットアップタイミングエラーが発生したと
判定する。
In FIG. 10, the first data input terminal D1 in FIG. 9A changes at 29 time (2.9 ns), and at time T1 (30 time = 3 ns), the clock input terminal at the event detection step 101 is detected. If an input event of CK is detected, the input event is
F (A1), DFF (A2), and DFF (A3) are determined to be event changes, and in a timing check step 103, a time difference between a signal change of the clock terminal C of each DFF and a signal change of the data terminal D is extracted. , DFF (A
It is determined that a setup timing error has occurred only in 1).

【0042】DFF(A2)およびDFF(A3)につ
いてはタイミングエラー無しと判定されてフラグ情報付
き演算処理ステップ105に進み、フラグ情報付き演算
処理ステップ105内のサブステップ131で入力状態
値を入力し、サブステップ132でフラグ情報付きか否
かを判別し、フラグ情報付きの状態値ではないのでサブ
ステップ134に移り論理演算を行なう。DFF(A
2)の演算状態値が“1”で、DFF(A3)の演算状
態値が“0”との演算結果を得て、サブステップ135
で当該演算状態値は不定値“X”であるか否かを判定す
るが、不定値“X”ではないのでサブステップ137に
進んで演算結果を出力状態値として出力する。
As for DFF (A2) and DFF (A3), it is determined that there is no timing error, and the flow advances to the arithmetic processing step with flag information 105, where the input state value is input in the sub-step 131 in the arithmetic processing step with flag information 105. In sub-step 132, it is determined whether or not flag information is included. Since the state value is not flag information-added, the flow proceeds to sub-step 134 to perform a logical operation. DFF (A
The calculation result that the calculation state value of 2) is “1” and the calculation state value of DFF (A3) is “0” is obtained, and sub-step 135
Then, it is determined whether or not the operation state value is an indefinite value "X". However, since the operation state value is not the indefinite value "X", the process proceeds to substep 137 to output the operation result as an output state value.

【0043】これに対して、エラー判定ステップ104
でタイミングエラー有りと判定されたDFF(A1)に
ついては、フラグ情報付きタイミングエラー処理ステッ
プ106のサブステップ121でエラー情報フラグ(0
1)を付加し、これとともにエラー発生時刻、エラーが
発生した回路内部セル名称(A1)、エラー判定理由を
タイミングエラー情報としてテンポラリファイル11に
書き込んだ後に、DFF(A1)の出力状態値としてフ
ラグ情報付き不定値“X(01)”を出力する。図5
は、テンポラリファイル11、エラー出力フラグファイ
ル13、結果ファイル12の内容を示す図である。テン
ポラリファイル11に書き込まれたタイミングエラー情
報に注目すると、フラグ情報を表す(01)が付加され
た点が従来例の図11におけるタイミングエラー情報と
は異なっている。
On the other hand, error determination step 104
For the DFF (A1) determined to have a timing error in the sub-step 121 of the timing error processing step 106 with flag information, the error information flag (0
1), the error occurrence time, the name of the cell in the circuit in which the error occurred (A1), and the reason for the error determination are written in the temporary file 11 as timing error information, and then the flag is set as the output state value of the DFF (A1). It outputs an undefined value “X (01)” with information. FIG.
3 is a diagram showing the contents of a temporary file 11, an error output flag file 13, and a result file 12. FIG. Paying attention to the timing error information written in the temporary file 11, it differs from the timing error information in FIG. 11 of the conventional example in that (01) indicating the flag information is added.

【0044】続いて、遅延付加処理ステップ107で遅
延値を付加して状態値スケジュールステップ108で状
態値をスケジュールする。ここまでの処理で、DFF
(A1)の端子Qに“X(01)”、DFF(A2)の
端子Qに“1”、DFF(A3)の端子Qに“0”の状
態値スケジュールがされたことになる。パタン終了判定
ステップ109ではパタンが終了していないので、イベ
ント検出ステップ101に戻りシミュレーションを継続
する。状態値スケジュールステップ108でスケジュー
ルした各DFFの出力状態値がイベント検出ステップ1
01でイベントとして検出され、対象判定ステップ10
2で回路内部セルのイベントと判定されるが、セレクタ
(A4)にはタイミングスペックが存在しないためタイ
ミングチェックステップ103は省略、エラー判定ステ
ップ104はエラー無しとなり、フラグ情報付き演算処
理ステップ105に進む。フラグ付き演算処理では、サ
ブステップ131でセレクタ(A4)の端子Aに“X
(01)”、端子Bに“1”、端子Sに“0”の入力状
態値が入力され、サブステップ132では端子Aの入力
状態値にフラグ情報(01)が付加されているのでこれ
を記憶する。サブステップ134で論理演算を行い、演
算結果の状態値を不定値“X”とし、サブステップ13
5では出力状態値が不定値であるのでサブステップ13
5に進み、サブステップ133で記憶したフラグ情報
(01)を読み出し、出力状態値に付加して“X(0
1)”として状態値出力する。続いて遅延付加処理ステ
ップ107で遅延値を付加し、状態値スケジュールステ
ップ108で状態値スケジュールを行なう。
Subsequently, a delay value is added in a delay addition processing step 107, and a state value is scheduled in a state value scheduling step 108. By the processing so far, DFF
This means that the status value schedule of “X (01)” at the terminal Q of (A1), “1” at the terminal Q of the DFF (A2), and “0” at the terminal Q of the DFF (A3). Since the pattern has not ended in the pattern end determination step 109, the process returns to the event detection step 101 and the simulation is continued. The output state value of each DFF scheduled in the state value scheduling step 108 is the event detection step 1
01 is detected as an event, and the target determination step 10
Although the event is determined as an event of a circuit internal cell in step 2, the timing check step 103 is omitted because there is no timing specification in the selector (A4), the error determination step 104 has no error, and the process proceeds to the arithmetic processing step 105 with flag information. . In the arithmetic processing with the flag, in sub-step 131, “X” is input to the terminal A of the selector (A4).
(01) ", the input state value of" 1 "is input to the terminal B, and the input state value of" 0 "is input to the terminal S. In the sub-step 132, the flag information (01) is added to the input state value of the terminal A. In sub-step 134, a logical operation is performed, and the state value of the operation result is set to an indefinite value “X”.
In step 5, since the output state value is an indefinite value,
5, the flag information (01) stored in the sub-step 133 is read out, added to the output state value, and "X (0
1) The state value is output as "". Subsequently, a delay value is added in a delay addition processing step 107, and a state value schedule is performed in a state value scheduling step 108.

【0045】次に、出力端子セルN2に対する入力イベ
ントを対象判定ステップ102で入出力端子セルの変化
と判別し、疑似エラー消去処理ステップ111に進む。
疑似エラー消去処理ステップ111では、サブステップ
141では出力端子セルの変化と判定され、サブステッ
プ142では状態値が0でありフラグ情報は付いていな
いので状態値スケジュールステップ108で状態値をス
ケジュールする。入出力端子セルについては論理演算は
行なわず、入力状態値をそのまま出力へスケジュールす
る処理となる。
Next, the input event to the output terminal cell N2 is determined as a change in the input / output terminal cell in the target determination step 102, and the process proceeds to the pseudo error erasure processing step 111.
In the pseudo error erasure processing step 111, it is determined in step 141 that the output terminal cell has changed. In step 142, the state value is 0 and no flag information is attached, so the state value is scheduled in the state value scheduling step 108. The logical operation is not performed on the input / output terminal cells, and the input state value is scheduled to be output as it is.

【0046】ここまでの処理で、セレクタ(A4)の出
力端子Qには“X(01)”の状態値がスケジュールさ
れたことになり、パタン終了判定ステップ109に進む
がパタン終了ではないので、イベント検出ステップ10
1に戻って出力端子セルN1に入力状態値“X(0
1)”が入力されたことを検出する。対象判定ステップ
102で入力イベントが入出力端子セルの変化と判定
し、疑似エラー消去処理ステップ111内のサブステッ
プ141で出力端子セルの変化と判定する。ステップ1
42に進み、状態値がフラグ情報付きであるので、ステ
ップ143に進んで検証パタンに格納された期待値が不
定値“X”であるかを判別し、期待値が不定値“X”で
はないので、ステップ144で当該フラグ情報である
(01)を図5に示すようにエラー出力フラグファイル
13に書き込み、状態値スケジュールステップ108で
状態値をスケジュールする。以上で、時刻T1における
イベントに対する処理が完了する。データ入力端子D3
の49時刻(4.9ns)の変化に対して、時刻T2
(50時刻=5ns)での処理でDFF(A3)のタイ
ミングエラーを検出した場合にも、時刻T1での処理と
同様にして、テンポラリファイル11には、図5に示す
ように、フラグ情報(02)を付加した(Time 5
0)の項目のタイミングエラー情報が書き込まれ、エラ
ー出力フラグファイル13には、フラグ情報(02)が
書き込まれる。
By the processing up to this point, the state value of "X (01)" has been scheduled at the output terminal Q of the selector (A4), and the flow proceeds to the pattern end determination step 109. Event detection step 10
1, the input state value “X (0
1) It is detected that "" is input. In the object determination step 102, the input event is determined to be a change in the input / output terminal cell, and in the sub-step 141 in the pseudo error erasure processing step 111, it is determined to be a change in the output terminal cell. Step 1
Proceeding to 42, the status value is accompanied by flag information, so the flow proceeds to step 143 to determine whether the expected value stored in the verification pattern is the undefined value "X", and the expected value is not the undefined value "X". Therefore, in step 144, the flag information (01) is written in the error output flag file 13 as shown in FIG. 5, and the state value is scheduled in the state value scheduling step 108. Thus, the process for the event at the time T1 is completed. Data input terminal D3
At the time 49 (4.9 ns), the time T2
Even when a timing error of DFF (A3) is detected in the process at (50 time = 5 ns), the flag information (temporary file 11) is stored in the temporary file 11 as shown in FIG. 02) (Time 5
The timing error information of the item (0) is written, and the flag information (02) is written in the error output flag file 13.

【0047】データ入力端子D1の129時刻(12.
9ns)の変化に対する時刻T3(130時刻=13n
s)での処理においては、同様にDFF(A1)でタイ
ミングエラーを検出し、テンポラリファイル11にはフ
ラグ情報(03)を付加された(Time 130)の
項目のタイミングエラー情報が書き込まれる。この場合
には、DFF(A1)の端子Qには状態値“X(0
3)”が出力されるが、セレクタ(A4)についてのフ
ラグ情報付き演算処理ステップ105内の図3のサブス
テップ134における論理演算で演算結果の状態値が
“0”になり、サブステップ135で状態値は不定値で
はないと判定され、サブステップ137で状態値出力を
行ない、遅延付加処理ステップ107で遅延値を付加し
て状態値スケジュールステップ108で状態値スケジュ
ールを行なう。セレクタ(A4)の端子Qに出力状態値
“0”がスケジュールされたことにより、イベント検出
ステップ101に戻ったときに出力端子セルN1に
“0”が入力されたことを検出し、対象判定ステップ1
02で入出力端子セルの変化と判定して、疑似エラー消
去処理ステップ111に進んで図4のサブステップ14
1で出力端子セルの変化と判定され、ステップ142で
は状態値は“0”であってフラグ情報は付いていないた
め、状態値スケジュールステップ108に進み、状態値
がスケジュールされる。このようにして、実際には疑似
エラーである時刻T3のタイミングエラーについては、
図4のサブステップ144を通らないので、フラグ情報
(03)はエラー出力フラグファイル13には書き込ま
れない。データ入力端子D3の149時刻(14.9n
s)の変化に対する時刻T4(150時刻=15ns)
での処理については、DFF(A3)でのタイミングエ
ラーを検出し、テンポラリファイル11には(Time
150)の項目のタイミングエラー情報が書き込まれ
る。DFF(A3)の端子Qには出力状態値“X(0
3)”が出力され、イベント検出ステップ101で出力
端子セルN2のイベント検出が検出され、ステップ02
で入出力端子セルの変化と判定される。この場合には、
続く疑似エラー消去処理ステップ111内のサブステッ
プ141で出力端子セルの変化と判定され、サブステッ
プ142で状態値がフラグ情報付きであると判定される
が、サブステップ143で状態値“X(03)”に対応
する検証パタン中の期待値が不定値“X”であるので、
状態値スケジュールステップ108に進んで状態値スケ
ジュールを行なう。この場合においても、実際には疑似
エラーである時刻T4のタイミングエラーについては、
図4のサブステップ144を通らないので、フラグ情報
(04)はエラー出力フラグファイル13には書き込ま
れない。検証パタンの終了に到達するとパタン終了判定
ステップ109でパタンの終了を判定し、エラー抽出/
結果ファイル作成処理ステップ110において、テンポ
ラリファイル11に書き込まれているタイミングエラー
情報の中から、エラー出力フラグファイル13に書き込
まれているフラグ情報に対応するタイミングエラー情報
のみを抽出して結果ファイル12に書き込んで処理を終
了する。
129 time of the data input terminal D1 (12.
Time T3 (130 time = 13n) for a change of 9 ns
In the process of s), similarly, a timing error is detected by the DFF (A1), and the timing error information of the item (Time 130) to which the flag information (03) is added is written in the temporary file 11. In this case, the state value “X (0)
3) is output, but the state value of the operation result becomes “0” in the logical operation in the sub-step 134 of FIG. 3 in the operation processing step 105 with the flag information for the selector (A4), and the sub-step 135 It is determined that the state value is not an indefinite value, the state value is output in substep 137, the delay value is added in delay addition processing step 107, and the state value schedule is performed in state value schedule step 108. The selector (A4) Since the output state value “0” is scheduled at the terminal Q, when returning to the event detection step 101, it is detected that “0” is input to the output terminal cell N1, and the object determination step 1
02, it is determined that the input / output terminal cell has changed.
In step 142, it is determined that the output terminal cell has changed. In step 142, since the state value is "0" and no flag information is attached, the process proceeds to the state value scheduling step 108, where the state value is scheduled. Thus, for the timing error at time T3, which is actually a pseudo error,
The flag information (03) is not written in the error output flag file 13 because it does not pass through the sub-step 144 of FIG. 4. 149 time of data input terminal D3 (14.9n
Time T4 for change in s) (150 time = 15 ns)
As for the processing in, a timing error in the DFF (A3) is detected, and (Time
The timing error information of the item 150) is written. The terminal Q of the DFF (A3) has an output state value “X (0
3) is output, and in the event detection step 101, the event detection of the output terminal cell N2 is detected.
Is determined as a change in the input / output terminal cell. In this case,
Subsequent sub-step 141 in pseudo error erasure processing step 111 determines that the output terminal cell has changed, and sub-step 142 determines that the state value has flag information. However, in sub-step 143, state value “X (03) )), The expected value in the verification pattern is an indefinite value “X”.
Proceeding to state value schedule step 108, a state value schedule is performed. Also in this case, regarding the timing error at time T4, which is actually a pseudo error,
The flag information (04) is not written in the error output flag file 13 because it does not pass through the sub-step 144 of FIG. 4. When the end of the verification pattern is reached, the end of the pattern is determined in a pattern end determination step 109, and error extraction /
In the result file creation processing step 110, only the timing error information corresponding to the flag information written in the error output flag file 13 is extracted from the timing error information written in the temporary file 11, and Write it and end the process.

【0048】一連の処理において生成されるテンポラリ
ファイル11、エラー出力フラグファイル13、結果フ
ァイル12の内容を図5に示す。時刻T3およびT4に
おけるタイミングエラーは、疑似エラー消去処理ステッ
プ111において疑似エラーと認識されて除去されるの
で、結果ファイル12に記録されたタイミングエラーは
すべてが真のエラーである。本実施の形態によれば、こ
のように、論理シミュレーションにおいて発生したタイ
ミングエラーを自動的に疑似エラーか否かを判別し、結
果ファイルに反映させることによりタイミングエラー解
析工数を大幅に削減する事ができ、開発期間の短縮が可
能となる。回路内部セル数が2000セル程度で構成さ
れた回路のシミュレーションにおいては、従来は100
程度のタイミング疑似エラーが検出されていて疑似エラ
ーの判定には1エラーあたり平均的に2時間程度費やす
ことになるので、本発明の適用により200時間程度の
設計時間を削減することが可能となる。
FIG. 5 shows the contents of the temporary file 11, the error output flag file 13, and the result file 12 generated in a series of processing. The timing errors at times T3 and T4 are recognized as pseudo errors in the pseudo error erasure processing step 111 and are removed, so that all the timing errors recorded in the result file 12 are true errors. According to the present embodiment, as described above, it is possible to significantly reduce timing error analysis man-hours by automatically determining whether or not a timing error generated in a logic simulation is a pseudo error and reflecting it in a result file. Development time can be shortened. In a simulation of a circuit in which the number of cells in the circuit is about 2,000 cells, 100
Since the timing pseudo error of the order is detected and the judgment of the pseudo error requires about two hours per error on average, the design time of about 200 hours can be reduced by applying the present invention. .

【0049】図6は、本発明の第2の実施形態のフラグ
情報付き演算処理のフロー図である。先の実施形態で
は、図1のフラグ情報付き演算処理ステップ105が図
3のサブステップ131〜137により構成されていた
が、本実施の形態においては、図3のフラグ情報付き演
算処理105におけるサブステップ136の次にサブス
テップ161を追加し、サブステップ136で出力状態
値にフラグ情報が付加された回路内部セル名とそのフラ
グ情報とを時刻とともにシミュレータ本体の記憶部に記
憶してからサブステップ137に進むように変更したフ
ラグ情報付き演算処理105aに置き換えた点が異な
る。サブステップ161が追加されたことに伴って、状
態値スケジュールステップ108で状態値をスケジュー
ルするとともにシミュレータ本体の記憶部に記憶されて
いたフラグ情報付き回路内部セル名とそのフラグ情報と
を時刻とともにテンポラリファイル11に格納する。パ
タンが終了した後に、エラー抽出/結果ファイル作成処
理ステップ110でエラー出力ファイル13に記録され
たフラグ情報に対応するタイミングエラー情報とともに
フラグ情報が付加された回路内部セル名とそのフラグ情
報とを結果ファイル12に出力することにより、フラグ
情報の付加された状態値がどの回路内部セルを伝播した
のかという情報を容易に得る事が可能になる。例えば、
時刻T1(=30時刻)のエラーに対しては、これまで
のフラグ情報(01)とDFF(A1)のタイミングエ
ラー情報に加えて、このエラーが要因となって次の処理
ループでセレクタ(A4)の出力状態値が不定値“X
(01)”となったことが結果ファイル12に記録され
る。このような、エラーによって影響を受けた状態値が
回路内部セルにどのように伝播したかを示す情報は、検
出された真のタイミングエラーの解析および回路修正に
おいて非常に有効な情報である。従来は、状態値の伝播
経路の解析には、トレースバックというシミュレータに
搭載されている機能を用いていたが、この機能を用いる
には、シミュレーション実行時に予め出力端子及びトレ
ースバック開始時刻を設定しなければならず、再シミュ
レーションの実行が実質的に必要であった。本実施形態
を適用することにより、再シミュレーションが不要とな
るので、設計効率を向上させることができる。
FIG. 6 is a flowchart of an arithmetic operation with flag information according to the second embodiment of the present invention. In the previous embodiment, the arithmetic processing step 105 with the flag information in FIG. 1 is constituted by the sub-steps 131 to 137 in FIG. 3, but in the present embodiment, the sub-processing in the arithmetic processing with the flag information 105 in FIG. Sub-step 161 is added after step 136. The sub-step 136 stores the circuit internal cell name in which the flag information is added to the output state value and the flag information together with the time in the storage unit of the simulator body. 137 is replaced by a calculation process 105a with flag information changed to proceed to 137. With the addition of the sub-step 161, the state value is scheduled in the state value scheduling step 108, and the internal cell name with the flag information and the flag information stored in the storage unit of the simulator body are temporarily stored together with the time. Store in file 11. After the pattern is completed, the name of the circuit internal cell to which the flag information is added and the flag information together with the timing error information corresponding to the flag information recorded in the error output file 13 in the error extraction / result file creation processing step 110 are obtained. By outputting to the file 12, it is possible to easily obtain information as to which circuit internal cell the state value to which the flag information has been added has propagated. For example,
For the error at the time T1 (= 30 time), in addition to the previous flag information (01) and the timing error information of the DFF (A1), this error causes the selector (A4) in the next processing loop. ) Is an indefinite value “X
(01) "is recorded in the result file 12. Such information indicating how the state value affected by the error has propagated to the circuit internal cell is the true information detected. This is very useful information for timing error analysis and circuit correction.Conventionally, the analysis of the propagation path of the state value uses the function of the simulator called traceback. In this case, the output terminal and the traceback start time must be set in advance when the simulation is executed, and the execution of the resimulation is substantially required. Thus, the design efficiency can be improved.

【0050】[0050]

【発明の効果】以上のように、本発明の第1の実施形態
によれば、論理シミュレーションにおいて発生したタイ
ミングエラーを自動的に疑似エラーか否かを判別し、結
果ファイルに反映させることによりタイミングエラー解
析工数を大幅に削減する事ができ、開発期間の短縮が可
能となる。
As described above, according to the first embodiment of the present invention, the timing error generated in the logic simulation is automatically determined as to whether it is a pseudo error, and the timing error is reflected in the result file. Error analysis man-hours can be greatly reduced, and the development period can be shortened.

【0051】回路内部セル数が2000セル程度で構成
された回路のシミュレーションにおいては、従来は10
0程度のタイミング疑似エラーが検出されていて疑似エ
ラーの判定には1エラーあたり平均的に2時間程度費や
すことになるので、本発明の適用により200時間程度
の設計時間を削減することが可能となる。
In a simulation of a circuit in which the number of cells in the circuit is about 2,000, conventionally,
Since a timing pseudo error of about 0 is detected and the pseudo error determination requires about 2 hours per error on average, it is possible to reduce the design time of about 200 hours by applying the present invention. Become.

【0052】これに加えて、第2の実施形態において
は、タイミングエラーが発生した際に状態値“X”がど
のように回路内部セルに伝播されたかについての情報を
容易に得ることができるので、タイミング設計の不具合
を修正する目的でのエラー解析用追加シミュレーション
をも不要とすることができ、設計効率をさらに向上でき
るという効果が生じる。
In addition, in the second embodiment, information about how the state value "X" is propagated to the circuit internal cells when a timing error occurs can be easily obtained. Further, an additional simulation for error analysis for the purpose of correcting a defect in the timing design can be omitted, and the effect that the design efficiency can be further improved is produced.

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

【図1】本発明の論理シミュレーションにおけるタイミ
ングチェック方法の一実施形態の処理フロー図である。
FIG. 1 is a processing flowchart of an embodiment of a timing check method in a logic simulation according to the present invention.

【図2】入力端子、出力端子、内部セルの入出力におい
て可能な状態値と内容との対応を示す図
FIG. 2 is a diagram showing correspondences between state values and contents that are possible in input / output of input terminals, output terminals, and internal cells.

【図3】フラグ情報付き演算処理の詳細フロー図であ
る。
FIG. 3 is a detailed flowchart of an arithmetic operation with flag information.

【図4】疑似エラー消去処理の詳細フロー図である。FIG. 4 is a detailed flowchart of a pseudo error erasing process.

【図5】本発明の第1の実施形態におけるテンポラリフ
ァイル、エラー出力フラグファイル、結果ファイルの内
容を示す図である。
FIG. 5 is a diagram showing contents of a temporary file, an error output flag file, and a result file according to the first embodiment of the present invention.

【図6】本発明の第2の実施形態のフラグ情報付き演算
処理のフロー図である。
FIG. 6 is a flowchart of an arithmetic operation with flag information according to the second embodiment of the present invention.

【図7】(a)は、イベントドリブン方式の論理シミュ
レータの構成図であり、(b)は、論理シミュレーショ
ンで扱う状態値とその内容の対応図である。
FIG. 7A is a configuration diagram of an event-driven logic simulator, and FIG. 7B is a correspondence diagram of state values handled in the logic simulation and their contents.

【図8】従来のイベントドリブン方式の論理シミュレー
ションの処理フロー図である。
FIG. 8 is a processing flowchart of a conventional event-driven logic simulation.

【図9】a)は、シミュレーション対象回路の回路図の
一例であり、(b)は、(a)の回路中のデータフリッ
プフロップ(DFF)の真理値およびセレクタの真理値
を示す図であり、(c)は、DFFの動作タイミングス
ペックを示す図である。
9A is an example of a circuit diagram of a circuit to be simulated, and FIG. 9B is a diagram showing a truth value of a data flip-flop (DFF) and a truth value of a selector in the circuit of FIG. 9A. (C) is a diagram showing operation timing specifications of the DFF.

【図10】図9(a)の回路のシミュレーション結果の
タイミング図である。
FIG. 10 is a timing chart of a simulation result of the circuit of FIG.

【図11】従来例におけるテンポラリファイル、結果フ
ァイルの内容を示す図である。
FIG. 11 is a diagram showing the contents of a temporary file and a result file in a conventional example.

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

1 回路データ 2 検証パタン 3 ライブラリ 4 回路SDF 5 シミュレータ本体 11 テンポラリファイル 12 結果ファイル 13 エラー出力フラグファイル 1 Circuit Data 2 Verification Pattern 3 Library 4 Circuit SDF 5 Simulator Body 11 Temporary File 12 Result File 13 Error Output Flag File

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 回路内部セルおよび入出力端子セルのタ
イミングチェックと論理演算および期待値との照合機能
を有する論理シミュレータにおけるタイミングチェック
方法において、 タイミングチェックでタイミングエラーと判定されたと
きにエラー情報と一対一に対応したフラグ情報を付加し
て第1の記憶手段に記憶しフラグ情報付き不定値を状態
値として出力するフラグ情報付きタイミングエラー処理
ステップと、 状態値を入力し該状態値がフラグ情報付きであるときに
は該フラグ情報を伝搬させながら回路内部セルの論理演
算を実行し演算結果の状態値を出力するフラグ情報付き
演算処理ステップと、 出力端子セルの出力状態値に前記フラグ情報が付加され
ていて且つ検証パタンの出力期待値が不定値ではない場
合に前記フラグ情報を第2の記憶手段に記憶する疑似エ
ラー消去処理ステップと、 論理シミュレーション実行完了後に、前記第1の記憶手
段に記憶されているエラー情報から前記第2の記憶手段
に記憶されているフラグ情報に対応するエラー情報のみ
を抽出してエラー結果ファイルを作成するエラー抽出/
結果ファイル作成処理ステップとを有することを特徴と
する論理シミュレータにおけるタイミングチェック方
法。
1. A timing check method in a logic simulator having a function of checking a timing of a circuit internal cell and an input / output terminal cell and comparing a logical operation and an expected value, wherein when a timing error is determined in the timing check, error information is output. A timing error processing step with flag information for adding flag information corresponding to one to one and storing the flag information in the first storage means and outputting an undefined value with flag information as a state value; When the flag information is provided, the flag information is added to the output state value of the output terminal cell, and the flag information is added to the output state value of the output terminal cell. The flag information if the output expected value of the verification pattern is not an indefinite value A pseudo error erasure processing step stored in the second storage means; and after completion of the execution of the logic simulation, the error information stored in the first storage means corresponds to the flag information stored in the second storage means. Extraction / extract only error information to create error result file
A timing check method in a logic simulator, comprising a result file creation processing step.
【請求項2】 イベントの入力を検出するイベント検出
ステップと、 イベント入力対象が回路内部セルか入出力端子セルかを
判定する対象判定ステップと、 前記対象判定ステップで対象が回路内部セルと判定され
たときに前記回路内部セルのタイミングチェックを実行
するタイミングチェックステップと、 タイミングチェックのエラーの有無を判定するエラー判
定ステップと、 前記エラー判定ステップでタイミングエラーが有るとき
に該タイミングエラーのエラー情報と一対一に対応した
フラグ情報を付加してテンポラリファイルに格納した後
にフラグ情報付き不定値を状態値として出力するフラグ
情報付きタイミングエラー処理ステップと、 前記エラー判定ステップでタイミングエラーが無いと判
定されたときに状態値を入力し該状態値がフラグ情報付
きであるときには該フラグ情報を伝搬させながら回路内
部セルの論理演算を実行し演算結果の状態値を出力する
フラグ情報付き演算処理ステップと、 前記フラグ情報付きタイミングエラー処理ステップ又は
前記フラグ情報付き演算処理付きタイミングエラー処理
ステップで出力された回路内部セルの状態値にセル種類
固有の遅延値を付加する遅延付加処理ステップと、 前記対象判定ステップで対象が入出力端子セルと判定さ
れたときに対象セルの出力状態値に前記フラグ情報が付
加されていて且つ検証パタンの出力期待値が不定値では
ない場合に前記フラグ情報をエラー出力ファイルに書き
込む疑似エラー消去処理ステップと、 前記遅延付加処理ステップ又は前記疑似エラー消去処理
ステップによって出力された状態値をスケジュールする
状態値スケジュールステップと、 検証パタンの終了を判定し終了してないならば前記イベ
ント検出ステップに戻り終了ならば次ステップに進むパ
タン終了判定ステップと、 前記テンポラリファイルに格納されている前記フラグ情
報が付加されたエラー情報から前記エラー出力フラグフ
ァイルに書き込み登録されたフラグ情報に対応するエラ
ー情報のみを抽出して結果ファイルに出力するエラー抽
出/結果ファイル作成処理ステップとを有することを特
徴とする論理シミュレータにおけるタイミングチェック
方法。
2. An event detection step of detecting an input of an event; a target determination step of determining whether an event input target is a circuit internal cell or an input / output terminal cell; and the target determination step determines that the target is a circuit internal cell. A timing check step of performing a timing check of the circuit internal cell when the error occurs, an error determination step of determining whether there is an error in the timing check, and error information of the timing error when there is a timing error in the error determination step. A timing error processing step with flag information that outputs an indefinite value with flag information as a state value after adding the flag information corresponding to one-to-one and storing it in a temporary file, and it is determined that there is no timing error in the error determination step When the state value is entered, the state value When flag information is included, an arithmetic processing step with flag information for executing a logical operation of the circuit internal cell while propagating the flag information and outputting a state value of the operation result; and the timing error processing step with flag information or the flag information A delay addition processing step of adding a delay value specific to the cell type to the state value of the circuit internal cell output in the timing error processing step with the operation processing; and a case where the target is determined to be an input / output terminal cell in the target determination step. A pseudo error erasure processing step of writing the flag information to an error output file when the flag information is added to the output state value of the target cell and the output expected value of the verification pattern is not an indefinite value; Or the status value output by the pseudo error erasure processing step. A state value scheduling step for judging, a pattern end determination step for determining the end of the verification pattern and returning to the event detection step if not completed and proceeding to the next step if completed, and the flag stored in the temporary file An error extraction / result file creation processing step of extracting only error information corresponding to the flag information written and registered in the error output flag file from the error information to which the information is added and outputting the extracted error information to a result file. Checking method in a logic simulator.
【請求項3】 前記フラグ情報付き演算処理ステップ
が、 内部回路セルへの入力状態値を入力する第1のサブステ
ップと、 前記入力状態値にフラグ情報が付加されているか判定す
る第2のサブステップと、 フラグ情報が付加済のときには該フラグ情報を記憶する
第3のサブステップと、 前記第2のサブステップでフラグ情報が付加されていな
いと判定されたとき又は前記第3のサブステップに続い
て前記回路内部セルの論理演算機能に基づき論理演算を
実行する第4のサブステップと、 前記論理演算の結果で前記回路内部セルの出力状態値が
不定値であるかを判定する第5のサブステップと、 前記第5のサブステップにおいて出力状態値が不定値で
あると判定されたときに前記第3のサブステップにおい
て記憶した前記フラグ情報を前記出力状態値に付加する
第6のサブステップと、 前記第5のサブステップで出力状態値が不定値でないと
き又は前記第6のサブステップに続いて出力状態値を出
力する第7のサブステップとを有する請求項2記載の論
理シミュレータにおけるタイミングチェック方法。
3. An arithmetic processing step with flag information includes: a first sub-step of inputting an input state value to an internal circuit cell; and a second sub-step of determining whether flag information is added to the input state value. A third sub-step of storing the flag information when the flag information has been added; and a step of determining whether the flag information has not been added in the second sub-step or the third sub-step. A fourth sub-step of executing a logical operation based on a logical operation function of the circuit internal cell; and a fifth step of determining whether an output state value of the circuit internal cell is an indefinite value based on a result of the logical operation. Sub-step; and when the output state value is determined to be indefinite in the fifth sub-step, the flag information stored in the third sub-step is output to the output section. A sixth sub-step of adding an output state value to the force state value, and a seventh sub-step of outputting an output state value when the output state value is not an indefinite value in the fifth sub-step or after the sixth sub-step. 3. The timing check method in the logic simulator according to claim 2, comprising:
【請求項4】 イベントの入力を検出するイベント検出
ステップと、 イベント入力対象が回路内部セルか入出力端子セルかを
判定する対象判定ステップと、 前記対象判定ステップで対象が回路内部セルと判定され
たときに前記回路内部セルのタイミングチェックを実行
するタイミングチェックステップと、 タイミングチェックのエラーの有無を判定するエラー判
定ステップと、 前記エラー判定ステップでタイミングエラーが有るとき
に該タイミングエラーのエラー情報と一対一に対応した
フラグ情報を付加してテンポラリファイルに格納した後
にフラグ情報付き不定値を状態値として出力するフラグ
情報付きタイミングエラー処理ステップと、 前記エラー判定ステップでタイミングエラーが無いと判
定されたときに状態値を入力し該状態値がフラグ情報付
きであるときには該フラグ情報を伝搬させながら回路内
部セルの論理演算を実行し演算結果の状態値が不定値で
あるときには前記回路内部セルの名称と前記フラグ情報
とを記憶してから前記演算結果の状態値を出力するフラ
グ情報付き演算処理ステップと、 前記フラグ情報付きタイミングエラー処理ステップ又は
前記フラグ情報付き演算処理付きタイミングエラー処理
ステップで出力された回路内部セルの状態値にセル種類
固有の遅延値を付加する遅延付加処理ステップと、 前記対象判定ステップで対象が入出力端子セルと判定さ
れたときに対象セルの出力状態値に前記フラグ情報が付
加されていて且つ検証パタンの出力期待値が不定値では
ない場合に前記フラグ情報をエラー出力ファイルに書き
込む疑似エラー消去処理ステップと、 前記遅延付加処理ステップ又は前記疑似エラー消去処理
ステップによって出力された状態値をスケジュールする
とともに前記フラグ情報付き演算処理ステップで記憶さ
れた回路内部セルの名称とフラグ情報とを前記テンポラ
リファイルに書き込む状態値スケジュールステップと、 検証パタンの終了を判定し終了してないならば前記イベ
ント検出ステップに戻り終了ならば次ステップに進むパ
タン終了判定ステップと、 前記テンポラリファイルに格納されている前記フラグ情
報が付加されたエラー情報から前記エラー出力フラグフ
ァイルに書き込み登録されたフラグ情報に対応するエラ
ー情報のみを抽出して結果ファイルに出力するエラー抽
出/結果ファイル作成処理ステップとを有することを特
徴とする論理シミュレータにおけるタイミングチェック
方法。
4. An event detecting step of detecting an event input; a target determining step of determining whether an event input target is a circuit internal cell or an input / output terminal cell; and the target determining step determines that the target is a circuit internal cell. A timing check step of performing a timing check of the circuit internal cell when the error occurs, an error determination step of determining whether there is an error in the timing check, and error information of the timing error when there is a timing error in the error determination step. A timing error processing step with flag information that outputs an indefinite value with flag information as a state value after adding the flag information corresponding to one-to-one and storing it in a temporary file, and it is determined that there is no timing error in the error determination step When the state value is entered, the state value When the flag information is included, the logic operation of the circuit internal cell is performed while propagating the flag information, and when the state value of the operation result is an indefinite value, the name of the circuit internal cell and the flag information are stored and then the An operation processing step with flag information for outputting the state value of the operation result; a cell type specific to the state value of the circuit internal cell output in the timing error processing step with flag information or the timing error processing step with operation processing with flag information A delay addition processing step of adding a delay value to the output state value of the target cell when the target is determined to be an input / output terminal cell in the target determination step; A pseudo error erasure processing step of writing the flag information to an error output file when the value is not an undefined value. The temporary file schedules the state values output in the delay adding processing step or the pseudo error erasing processing step, and stores the names of the circuit internal cells and the flag information stored in the arithmetic processing step with flag information in the temporary file. A status value scheduling step for writing to the following; a pattern end determination step for determining the end of the verification pattern and returning to the event detection step if not completed and proceeding to the next step if completed; and the flag stored in the temporary file An error extraction / result file creation processing step of extracting only error information corresponding to the flag information written and registered in the error output flag file from the error information to which the information is added and outputting the extracted error information to a result file. Logic simulator Lee timing check method.
【請求項5】 前記フラグ情報付き演算処理ステップ
が、 内部回路セルへの入力状態値を入力する第1のサブステ
ップと、 前記入力状態値にフラグ情報が付加されているか判定す
る第2のサブステップと、 フラグ情報が付加済のときには該フラグ情報を記憶する
第3のサブステップと、 前記第2のサブステップでフラグ情報が付加されていな
いと判定されたとき又は前記第3のサブステップに続い
て前記回路内部セルの論理演算機能に基づき論理演算を
実行する第4のサブステップと、 前記論理演算の結果で前記回路内部セルの出力状態値が
不定値であるかを判定する第5のサブステップと、 前記第5のサブステップにおいて出力状態値が不定値で
あると判定されたときに前記第3のサブステップにおい
て記憶した前記フラグ情報を前記出力状態値に付加する
第6のサブステップと、 出力状態値が不定値と判定された前記回路内部セルの名
称と前記フラグ情報とを記憶する第7のサブステップ
と、 前記第5のサブステップで出力状態値が不定値でないと
き又は前記第6のサブステップに続いて出力状態値を出
力する第8のサブステップとを有する請求項4記載の論
理シミュレータにおけるタイミングチェック方法。
5. The arithmetic processing step with flag information includes: a first sub-step of inputting an input state value to an internal circuit cell; and a second sub-step of determining whether flag information is added to the input state value. A third sub-step of storing the flag information when the flag information has been added; and a step of determining whether the flag information has not been added in the second sub-step or the third sub-step. A fourth sub-step of executing a logical operation based on a logical operation function of the circuit internal cell; and a fifth step of determining whether an output state value of the circuit internal cell is an indefinite value based on a result of the logical operation. Sub-step; and when the output state value is determined to be indefinite in the fifth sub-step, the flag information stored in the third sub-step is output to the output section. A sixth sub-step of adding to the force state value, a seventh sub-step of storing the name of the circuit internal cell whose output state value has been determined to be indefinite, and the flag information, and a fifth sub-step. 5. The method according to claim 4, further comprising: when the output state value is not an indefinite value, or after the sixth sub-step, outputting an output state value.
【請求項6】 前記疑似エラー消去処理ステップが、 イベント対象が出力端子セルであるかを判定する第1の
サブステップと、 前記第1のサブステップで出力端子セルと判定されたと
きに該出力端子セルの出力状態値にフラグ情報が付加さ
れているか否かを判定する第2のサブステップと、 前記第2のサブステップでフラグ情報が付加されていれ
ば前記出力状態値に対する期待値が不定値であるかを判
定する第3のサブステップと、 前記第3のサブステップで前記期待値が不定値ではない
と判定されたときに前記出力状態値に付加されたフラグ
情報を前記エラー出力フラグに書き込み登録する第4の
サブステップとを有する請求項2,3,4,5記載の論
理シミュレータにおけるタイミングチェック方法。
6. The pseudo error erasure processing step includes: a first sub-step for determining whether an event target is an output terminal cell; and an output when the event is determined to be an output terminal cell in the first sub-step. A second sub-step of determining whether or not flag information has been added to the output state value of the terminal cell; and if the flag information has been added in the second sub-step, the expected value for the output state value is undefined. A third sub-step of determining whether the expected value is not an indefinite value in the third sub-step. 4. A timing check method in a logic simulator according to claim 2, further comprising: a fourth sub-step of writing and registering the timing.
【請求項7】 イベントの入力を検出するイベント検出
しイベント入力対象が回路内部セルか入出力端子セルか
を判定する第1のプログラムと、 前記対象判定ステップで対象が回路内部セルと判定され
たときに前記回路内部セルのタイミングチェックを実行
しタイミングチェックのエラーの有無を判定する第2の
プログラムと、 前記タイミングチェックでタイミングエラーが有るとき
に該タイミングエラーのエラー情報と一対一に対応した
フラグ情報を付加してテンポラリファイルに格納した後
にフラグ情報付き不定値を状態値として出力する第3の
プログラムと、 前記タイミングチェックでタイミングエラーが無いと判
定されたときに状態値を入力し該状態値がフラグ情報付
きであるときには該フラグ情報を伝搬させながら回路内
部セルの論理演算を実行し演算結果の状態値を出力する
第4のプログラムと、 出力された回路内部セルの状態値にセル種類固有の遅延
値を付加する第5のプログラムと、 イベント入力対象が入出力端子セルと判定されたときに
対象セルの出力状態値に前記フラグ情報が付加されてい
て且つ検証パタンの出力期待値が不定値ではない場合に
前記フラグ情報をエラー出力ファイルに書き込む第6の
プログラムと、 出力された状態値をスケジュールした後に検証パタンの
終了を判定し検証パタンが終了していないならば前記第
1のプログラムへ接続し検証パタンが終了ならば前記テ
ンポラリファイルに格納されている前記フラグ情報が付
加されたエラー情報から前記エラー出力フラグファイル
に書き込み登録されたフラグ情報に対応するエラー情報
のみを抽出して結果ファイルに出力する第7のプログラ
ムとを有することを特徴とするタイミングチェック方法
を記録したコンピュータ読み取り可能な記録媒体。
7. A first program for detecting an event to detect an input of an event and determining whether an event input target is a circuit internal cell or an input / output terminal cell, and the target determining step determines that the target is a circuit internal cell. A second program for executing a timing check of the circuit internal cell and determining whether there is an error in the timing check; and a flag corresponding to the error information of the timing error in a one-to-one correspondence when there is a timing error in the timing check. A third program for outputting an indefinite value with flag information as a status value after storing the information in a temporary file after adding information, and inputting a status value when it is determined that there is no timing error in the timing check. Is provided with the flag information, while transmitting the flag information, A fourth program that executes a logical operation and outputs a state value of the operation result, a fifth program that adds a cell type-specific delay value to the output circuit internal cell state value, A sixth program for writing the flag information to an error output file when the flag information is added to the output state value of the target cell when the terminal cell is determined and the expected output value of the verification pattern is not an undefined value; After the output state value is scheduled, the end of the verification pattern is determined. If the verification pattern is not completed, the program is connected to the first program. If the verification pattern is completed, the program is stored in the temporary file. From the error information with the flag information added, only the error information corresponding to the flag information written and registered in the error output flag file is read. Out by computer-readable recording medium recording a timing check method characterized by having a seventh program that outputs the result file.
【請求項8】 イベントの入力を検出するイベント検出
しイベント入力対象が回路内部セルか入出力端子セルか
を判定する第1のプログラムと、 前記対象判定ステップで対象が回路内部セルと判定され
たときに前記回路内部セルのタイミングチェックを実行
しタイミングチェックのエラーの有無を判定する第2の
プログラムと、 前記タイミングチェックでタイミングエラーが有るとき
に該タイミングエラーのエラー情報と一対一に対応した
フラグ情報を付加してテンポラリファイルに格納した後
にフラグ情報付き不定値を状態値として出力する第3の
プログラムと、 タイミングエラーが無いと判定されたときに状態値を入
力し該状態値がフラグ情報付きであるときには該フラグ
情報を伝搬させながら回路内部セルの論理演算を実行し
演算結果の状態値が不定値であるときには前記回路内部
セルの名称と前記フラグ情報とを記憶してから前記演算
結果の状態値を出力する第4のプログラムと、 出力された回路内部セルの状態値にセル種類固有の遅延
値を付加する第5のプログラムと、 イベント入力対象が入出力端子セルと判定されたときに
対象セルの出力状態値に前記フラグ情報が付加されてい
て且つ検証パタンの出力期待値が不定値ではない場合に
前記フラグ情報をエラー出力ファイルに書き込む第6の
プログラムと、 出力された状態値をスケジュールするとともに前記フラ
グ情報付き演算処理ステップで記憶された回路内部セル
の名称とフラグ情報とを前記テンポラリファイルに書き
込んだ後に検証パタンの終了を判定し検証パタンが終了
していないならば前記第1のプログラムへ接続し検証パ
タンが終了ならば前記テンポラリファイルに格納されて
いる前記フラグ情報が付加されたエラー情報から前記エ
ラー出力フラグファイルに書き込み登録されたフラグ情
報に対応するエラー情報のみを抽出して結果ファイルに
出力する第7のプログラムとを有することを特徴とする
タイミングチェック方法を記録したコンピュータ読み取
り可能な記録媒体。
8. A first program for detecting an event to detect an input of an event and determining whether an event input target is a circuit internal cell or an input / output terminal cell, and the target determining step determines that the target is a circuit internal cell. A second program for executing a timing check of the circuit internal cell and determining whether there is an error in the timing check; and a flag corresponding to the error information of the timing error in a one-to-one correspondence when there is a timing error in the timing check. A third program that outputs an undefined value with flag information as a status value after storing the information in a temporary file with information added, and a status value is input when it is determined that there is no timing error, and the status value is added with flag information. , The logic operation of the circuit internal cell is executed while propagating the flag information, and the operation result is obtained. A fourth program for storing the name of the circuit internal cell and the flag information when the state value is an indefinite value, and then outputting the state value of the operation result; A fifth program for adding a delay value specific to the cell type; and when the flag information is added to the output state value of the target cell when the event input target is determined to be an input / output terminal cell, and the output expectation of the verification pattern is expected. A sixth program for writing the flag information to an error output file when the value is not an indefinite value; and a name and a flag of a circuit internal cell stored in the arithmetic processing step with the flag information while scheduling the output state value. After the information is written to the temporary file, the end of the verification pattern is determined. If the verification pattern is not completed, the first program When the verification pattern is completed, only the error information corresponding to the flag information written and registered in the error output flag file is extracted from the error information added with the flag information stored in the temporary file, and the result is obtained. A computer-readable recording medium recording a timing check method, comprising: a seventh program for outputting to a file.
JP33402699A 1999-11-25 1999-11-25 Timing check method for logic simulation and recording medium with recorded timing check method Pending JP2001155043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33402699A JP2001155043A (en) 1999-11-25 1999-11-25 Timing check method for logic simulation and recording medium with recorded timing check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33402699A JP2001155043A (en) 1999-11-25 1999-11-25 Timing check method for logic simulation and recording medium with recorded timing check method

Publications (1)

Publication Number Publication Date
JP2001155043A true JP2001155043A (en) 2001-06-08

Family

ID=18272681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33402699A Pending JP2001155043A (en) 1999-11-25 1999-11-25 Timing check method for logic simulation and recording medium with recorded timing check method

Country Status (1)

Country Link
JP (1) JP2001155043A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242856A (en) * 2005-03-04 2006-09-14 Yokogawa Electric Corp Device and method for tester simulation
JP2010176486A (en) * 2009-01-30 2010-08-12 Fujitsu Ltd Verification support program and verification support device
JP2012154947A (en) * 2006-02-17 2012-08-16 Mentor Graphics Corp Multi-stage test response compactor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242856A (en) * 2005-03-04 2006-09-14 Yokogawa Electric Corp Device and method for tester simulation
JP2012154947A (en) * 2006-02-17 2012-08-16 Mentor Graphics Corp Multi-stage test response compactor
US8914694B2 (en) 2006-02-17 2014-12-16 Mentor Graphics Corporation On-chip comparison and response collection tools and techniques
US9250287B2 (en) 2006-02-17 2016-02-02 Mentor Graphics Corporation On-chip comparison and response collection tools and techniques
US9778316B2 (en) 2006-02-17 2017-10-03 Mentor Graphics Corporation Multi-stage test response compactors
US10120024B2 (en) 2006-02-17 2018-11-06 Mentor Graphics Corporation Multi-stage test response compactors
JP2010176486A (en) * 2009-01-30 2010-08-12 Fujitsu Ltd Verification support program and verification support device

Similar Documents

Publication Publication Date Title
US7603636B2 (en) Assertion generating system, program thereof, circuit verifying system, and assertion generating method
US7587690B1 (en) Method and system for global coverage analysis
JPH04148882A (en) Indicating fault position of logic integrated circuit
US6339837B1 (en) Hybrid method for design verification
US7823101B2 (en) Device, method, and storage for verification scenario generation, and verification device
US8453082B2 (en) Soft error verification in hardware designs
CN117094269B (en) Verification method, verification device, electronic equipment and readable storage medium
US20090070619A1 (en) Multi-cycle path information verification method and multi-cycle path information verification device
JP5024185B2 (en) Circuit operation verification method and apparatus
US7617466B2 (en) Circuit conjunctive normal form generating method, circuit conjunctive normal form generating device, hazard check method and hazard check device
JP5292164B2 (en) Failure diagnosis method and failure diagnosis system
JP2001155043A (en) Timing check method for logic simulation and recording medium with recorded timing check method
CN117350208A (en) Method and apparatus for checking performance of sequential logic element
CN113868046A (en) Function verification method and system of PAD control unit and related components
Sharma et al. An automation methodology for amelioration of SpyGlassCDC abstract view generation process
JP2008107872A (en) Semiconductor integrated circuit
US20020126581A1 (en) Method of analyzing clock skew between signals
JP2914257B2 (en) How to determine conflict behavior
CN115616387B (en) Control signal calibration method and system based on chip
US20050177357A1 (en) Static timing model for combinatorial gates having clock signal input
JP3123982B2 (en) Logic simulation method
JP5145167B2 (en) Clock domain check method, clock domain check program, and recording medium
JP2000305977A (en) Method for verifying logical data, logic verification system for executing the verification method and recording medium recording program for executing the verification method
JP2990813B2 (en) Failure simulation method
CN117435483A (en) Form tool-based simulation verification excitation generation method, device, medium and terminal

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040119

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040120